the-algorithm icon indicating copy to clipboard operation
the-algorithm copied to clipboard

author_is_elon

Open enzo-js opened this issue 3 years ago • 76 comments

the problem is his tweets suck. stop recommending them. https://github.com/twitter/the-algorithm/blob/7f90d0ca342b928b479b512ec51ac2c3821f5922/home-mixer/server/src/main/scala/com/twitter/home_mixer/functional_component/decorator/HomeTweetTypePredicates.scala#L225

enzo-js avatar Mar 31 '23 19:03 enzo-js

On another note, from a purely software engineering perspective, this is basically hardcoding! As in if you design a system to do a specific feature for a specific user! What happens if Twitter was sold to another owner? It should have been configurable at least.

If twitter was sold to another owner then they can edit that line of code if they like. Hardcoding isn't always bad. Decisions have to be written down somewhere, it's just a choice of writing it inside the main program or in a separate config file. Either way someone will have to edit it if they want to change the decision. The most important thing is to make sure its kept with version control in git or similar.

Curious, did you write this code or know who wrote it?

fadyanwar avatar Apr 02 '23 09:04 fadyanwar

Curious, did you write this code or know who wrote it?

No, I'm nothing to do with Twitter.

bdsl avatar Apr 02 '23 10:04 bdsl

Rewrite the algorithm to lisp lang and you will see how elon's twitters will stop appearing, lol it's funny because it won't work

SantiiRepair avatar Apr 02 '23 15:04 SantiiRepair

Can anyone teach me how to find out this commit hash? As I don’t see the whole history of the codebase.

am5a03 avatar Apr 02 '23 18:04 am5a03

Can anyone teach me how to find out this commit hash? As I don’t see the whole history of the codebase.

@am5a03 what commit hash are you looking for? I don't know the codebase but I might be able to help with git and github.

bdsl avatar Apr 02 '23 19:04 bdsl

Can anyone teach me how to find out this commit hash? As I don’t see the whole history of the codebase.

It's because they removed the commit for it. You can find it here: https://github.com/twitter/the-algorithm/blob/7f90d0ca342b928b479b512ec51ac2c3821f5922/home-mixer/server/src/main/scala/com/twitter/home_mixer/functional_component/decorator/HomeTweetTypePredicates.scala#L225

I had to dig back to find the link from someone else.

datgreatkhan avatar Apr 02 '23 23:04 datgreatkhan

I wasn't into open-source much but this is too interesting to not be

debarati10 avatar Apr 03 '23 05:04 debarati10

yoo, can we get weekly high score lists if ya'll tracking metrics for author_is_power_user ??? just a high score list for power users who tweeted the most?? I bet that could be hilarious

Though may incentivize people trying to game it by spamming tweets, which actually then would probably result in them losing followers/being blocked... Maybe this could actually be a net good after all? Bait the social climbers into losing their following lol

shyla-marie avatar Apr 03 '23 21:04 shyla-marie

i just love it

joeyyjacobs avatar Apr 03 '23 23:04 joeyyjacobs

this is one of the pr ever

timelessnesses avatar Apr 04 '23 03:04 timelessnesses

this is one of the pr ever

timelessnesses avatar Apr 04 '23 03:04 timelessnesses

not completed

ghost avatar Apr 05 '23 05:04 ghost

That's it. That's the tweet.

AstroAntics avatar Apr 27 '23 04:04 AstroAntics

Who the heck is maintaining this? What kind of process means you just go around closing issues with out documenting WHY they are being closed?

Good grief :*(

e-lisa avatar Apr 27 '23 16:04 e-lisa

Who the heck is maintaining this? What kind of process means you just go around closing issues with out documenting WHY they are being closed?

Good grief :*(

I think it's abandoned

couldbejake avatar Apr 27 '23 16:04 couldbejake

Diabolical.

atumas-bananamilk avatar Feb 25 '25 22:02 atumas-bananamilk