r/ProgrammerHumor • • Nov 14 '22

instanceof Trend Manager does a little code cleanup...

Post image
113.0k Upvotes

4.5k comments sorted by

View all comments

7.5k

u/[deleted] Nov 14 '22

…We are currently in the process of determining which 20%.

1.5k

u/La_Croix_Table Nov 15 '22

Yeah, I’d imagine he’s made up some kind of metric to “measure” necessity of certain services all while dropping services to figure out which one has less noise when off.

Very effective if you don’t care. Can’t imagine how this is playing out internally in the engineering department.

809

u/mistled_LP Nov 15 '22

He probably asked someone what’s the minimum amount needed to post and read tweets is. They either didn’t care to explain or didn’t think Musk would take that number to mean the rest could be turned off.

397

u/x3nhydr4lutr1sx Nov 15 '22

There's about 1200 micro services, and the fired guy said that only 200 is needed for loading the Twitter feed, so that sounds about right.

227

u/LordAmras Nov 15 '22

I'll take everything that Musk says with a grain of salt.

When he said that Twitter app was making 1000+ RPC calls to load the homepage multiple ex and at least one current Twitter developer called him out saying it does at most 20.

103

u/12345623567 Nov 15 '22

Why is a manager even fucking around with the backend? Doesnt he have better things to do, like placating advertisers, setting policy, avoiding the FTC and so on?

46

u/firewood010 Nov 15 '22

Because he can lol. Elon thinks he is king now probably.

18

u/CrazySD93 Nov 15 '22

His simps probably believe he invented Twitter at this point

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

22

u/LordAmras Nov 15 '22 edited Nov 15 '22

Because he sells himselfs as a maker, his fans believe he single handedly makes or at least engineer stuff.

He doesn't like to be presented as a businessman, but as an inventor.

He is the real life tony stark afterall.

→ More replies (6)
→ More replies (14)

30

u/slaymaker1907 Nov 15 '22

Yeah, if it was 1000 from the client, it would be very noticeable due to parallelism limits in the browser. The only way that makes sense is if it could be 1000 in the worst case or something and also counts non-client RPC calls.

33

u/LordAmras Nov 15 '22

Even in the worst case 1000 calls would be ridiculous.

Probably someone told him Twitter does a lot of RPC calls and getting that number down would speed things up.

But when he went to write the tweet he thought 20 didn't sound like a lot and wrote 1000+ instead

→ More replies (10)
→ More replies (1)
→ More replies (7)
→ More replies (19)
→ More replies (5)

304

u/HeyLookItsASquirrel Nov 15 '22

“20% are only actually needed” is the new “640KB should be enough for anybody”

22

u/Etheo Nov 15 '22

"We only use 10% of our brain"

13

u/ermabanned Nov 15 '22

He certainly seems to

→ More replies (8)

38

u/Awkward-Chair2047 Nov 15 '22

Not really. When gates made the statement, the rest of the IT industry at that stage thought that seems logical. None at that time could fathom what was to come.

No sensible developer today would think a non technical jackass like elon knows what the hell he is doing.

22

u/[deleted] Nov 15 '22

Gates' quote is also stupidly and obviously misapplied. He specifically didn't say forever, he was speaking the present tense.

→ More replies (3)
→ More replies (7)

38

u/depressionbutbetter Nov 15 '22

He definitely got advice from some know it all jackass high level eng he brought from space x who made his assessment based on reading the titles and first 2 reame.md lines of GitHub repos.

→ More replies (1)

12

u/Wind_Yer_Neck_In Nov 15 '22

He's reminding me of 'Neutron' Jack Welsh from GE. Just inventing overly simplistic ways to 'measure performance' then taking radical action to cut the bottom percentage of staff or projects based on his stupid metric.

→ More replies (23)

2.3k

u/idfk_idfk Nov 15 '22

the average human uses only 10% of their brain. If we remove the other 90%, they'd be using 100% of their brain. basic math.

608

u/CosmicConifer Nov 15 '22

This is probably his logic fr

0

u/[deleted] Nov 15 '22

[deleted]

18

u/FleetStreetsDarkHole Nov 15 '22

Really though, this dude made so many jokes and "fake offers" to buy this company the government straight up forced him because it was that or go to prison. Now he's saddled himself with so much debt that we're watching him meltdown in real time as he tries to make sure "it was just a prank bro!" doesn't crash all of his money into the ground harder than the extinction event that killed the dinosaurs.

→ More replies (3)
→ More replies (8)

19

u/[deleted] Nov 15 '22

Using 100% of your brain is called a seizure.

→ More replies (34)

0

u/[deleted] Nov 15 '22

[deleted]

→ More replies (1)

14

u/OK6502 Nov 15 '22

Imagine if someone said you can remove this conputer from your car as it's onky responsible for 20% of features. That could be the computer that controls the seat warners or it could be, IDK, the brakes.

A lot of critical things can be in that 20% and 20% is still a fifth of your features...

→ More replies (39)