News for hackers. Stuff that matters.
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by verdverm on Saturday April 01, 2023 @10:47AM (#35400705)
How do you infer that is what is happening?

This comment would seem to contradict

https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92...

Re:Twitter scrubbing Elon, Republican, Democrat code referen... by goodSteveramos on Saturday April 01, 2023 @10:48AM (#35400721)
Well at the top it says that the commit is not part of any branch. So presumably this commit was removed from master and its history rewritten to exclude it from the commit tree.

Edit: see reply from verdverm

Re:Twitter scrubbing Elon, Republican, Democrat code referen... by verdverm on Saturday April 01, 2023 @10:52AM (#35400751)
It says that about every file in the repo

It seems more like source available than Twitter developing as open source

Re:Twitter scrubbing Elon, Republican, Democrat code referen... by just3ws on Saturday April 01, 2023 @10:55AM (#35400773)
Looking at that I am still wondering how it got there. That isn't something that just happens, someone wrote that code and that means someone put some thought into it. I am not saying it can't possibly be irrelevant but it isn't nothing either.
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by gilleain on Saturday April 01, 2023 @10:52AM (#35400752)
Force push : not just for Jedi.
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by vishnugupta on Saturday April 01, 2023 @10:55AM (#35400777)
That comment seems to be authored by a PR firm and approved by legal.
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by goodSteveramos on Saturday April 01, 2023 @10:47AM (#35400706)
Great find. What was this code replaced with?
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by gonzo41 on Saturday April 01, 2023 @10:51AM (#35400743)
Good god, streisand effect much!

But this will probably work with Trump getting changed, that will suck the oxygen out of everything sadly for the next few weeks.

Re:Twitter scrubbing Elon, Republican, Democrat code referen... by ben_w on Saturday April 01, 2023 @10:53AM (#35400758)
Anyone know what the DarkRequest thing is all about?
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by kthejoker2 on Saturday April 01, 2023 @11:24AM (#35400998)
Dark launching is the term for releasing new features to specific users or groups for testing feedback (performance, csat, usability, etc) - back in the day of shipped software it was just called "feature flags."

It's a standard part of zero planned downtime product development.

See LaunchDarkly for a commercial provider of dark launching services.

Re:Twitter scrubbing Elon, Republican, Democrat code referen... by ben_w on Saturday April 01, 2023 @11:28AM (#35401033)
Thanks :)

(We still call them feature flags at my place).

Re:Twitter scrubbing Elon, Republican, Democrat code referen... by xwdv on Saturday April 01, 2023 @10:54AM (#35400766)
Assuming you had no software engineering skills or background, what prompt could you use for GPT-4 to scrub this code out?
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by fsociety on Saturday April 01, 2023 @10:57AM (#35400794)
This is a peak Silicon Valley moment. Mike Judge should come back and do a sequel where Gavin Belson buys a social media company.
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by precompute on Saturday April 01, 2023 @12:43PM (#35401698)
Idiocracy prequel!
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by jitl on Saturday April 01, 2023 @10:59AM (#35400811)
Doesn’t GitHub implementation details allows anyone to view commits to a repo’s fork as though they are part of the original repo? I can’t find a reference to this but I remember some pranks using it before.
Re:Twitter scrubbing Elon, Republican, Democrat code referen... by whamlastxmas on Saturday April 01, 2023 @11:00AM (#35400825)
This code was used for analytics. Not for filtering or presentation. I don’t see why it matters