r/programming • • Mar 27 '23

Twitter Source Code Leaked on GitHub

https://www.cyberkendra.com/2023/03/twitter-source-code-leaked-on-github.html
8.0k Upvotes

717 comments sorted by

View all comments

977

u/SickOrphan Mar 27 '23

Didn't Elon say he was going to open source some parts of twitter soon?

502

u/geek_noob Mar 27 '23

Yes, musk on the tweet says Twitter will open source all code used to recommend tweets on March 31st.

397

u/rentar42 Mar 27 '23

I bet he'll be using this as an excuse not to follow through somehow.

224

u/DrewTNaylor Mar 27 '23

"Well it's already on GitHub, that means it's open source, right?" - him, not understanding open source licenses (hypothetically and as a joke, for legal reasons [I don't want to be sued]).

42

u/Zarathustra30 Mar 27 '23

I thought the point of "open-sourcing" Twitter wasn't collaboration, but auditing. AFAIK, that doesn't require a traditional open-source license.

5

u/ItsPumpkinninny Mar 27 '23

Trust me… It’s being audited right now.

→ More replies (1)
→ More replies (1)
→ More replies (7)

70

u/[deleted] Mar 27 '23

[removed] — view removed comment

20

u/Fantastic_Telephone Mar 27 '23

This reminds me of many dictators who are cheered by their populace

→ More replies (1)

6

u/Captain_Cowboy Mar 27 '23

Listen, it's a beautiful plan, and we're going to release it in just two weeks. Just the greatest. You'll see.

→ More replies (2)
→ More replies (5)

86

u/mpbh Mar 27 '23

I'm super excited to see this. I've worked on recommendation systems before and they are a fickle beast, and quite hard to measure efficacy without a metric fuckton of users.

If normalized discounted cumulative gain means anything to you, I feel your pain.

111

u/myringotomy Mar 27 '23

Whatever Elon releases will not be anything like what twitter is actually using.

Presuming of course that he releases anything at all. The man is a habitual liar and a troll.

→ More replies (13)
→ More replies (3)
→ More replies (3)

206

u/recursive-analogy Mar 27 '23

I think he's going to share the algorithm that turns $44 billion into ~$20 billion.

60

u/CactusOnFire Mar 27 '23

It's too complicated of an algorithm to share.

This is some cutting-edge, industry leading incompetence.

6

u/thesolitaire Mar 27 '23

I have a proprietary implementation that I'll let anyone use for free! Just send me your $44 billion, and you'll receive your $20 billion posthaste!

→ More replies (1)

5

u/jarfil Mar 27 '23 edited Dec 02 '23

CENSORED

→ More replies (1)
→ More replies (4)

12

u/lafeber Mar 27 '23

"...The code stack is extremely brittle for no good reason.

Will ultimately need a complete rewrite."

(source)

0

u/[deleted] Mar 27 '23

[deleted]

7

u/badmonkey0001 Mar 27 '23

That 'extremely brittle' code ran the service for a decade with basically 100% uptime.

Twitter had enough downtime in the early years that their downtime page became somewhat famous (the "fail whale"). Back when they were in SF's SOMA district, their tech neighbors would print out the fail whale and leave it taped to their door with crass notes to make fun of them (I worked in SOMA back then and saw it myself).

0

u/[deleted] Mar 27 '23

[deleted]

→ More replies (5)
→ More replies (13)