Twitter algorithm open-sourced… Is Elon playing 5D chess?

Поделиться
HTML-код
  • Опубликовано: 2 апр 2023
  • Take a look inside the Twitter algorithm now that it has been released as open-source code. Why would Elon Musk would make a decision like this from a strategic business perspective?
    #programming #tech #TheCodeReport
    💬 Chat with Me on Discord
    / discord
    🔗 Resources
    The Algorithm github.com/twitter/the-algorithm
    Twitter Eng Blog / twitter-recommendation...
    Elon want's GPT-5 stopped • Elon wants GPT-5 stopp...
    🔥 Get More Content - Upgrade to PRO
    Upgrade at fireship.io/pro
    Use code YT25 for 25% off PRO access
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
    🔖 Topics Covered
    - Is Twitter open-source?
    - Controversial code inside twitter algorithm
    - Elon Musk strategy to dominate the news media
    - Twitter written with Scala and Java
  • НаукаНаука

Комментарии • 1,6 тыс.

  • @lucastavares5103
    @lucastavares5103 Год назад +7120

    Surely this is one of the most interesting things to happen in the last couple of days. Seeing an actual code used by a billion dollar company is pretty cool

    • @alexradu1921
      @alexradu1921 Год назад +153

      *in the last couple of years

    • @logon-oe6un
      @logon-oe6un Год назад +292

      "Couple" really says a lot. Truly one of the decades of this year.

    • @karazakiakuno4645
      @karazakiakuno4645 Год назад +253

      @@logon-oe6un Decades...of a year?
      Edit: "decades of this year" refers to the quote "There are decades where nothing happens; and there are weeks where decades happen"
      Credits: Portal Team (Down in the replies)
      I originally thought they had accidentally excahnged the words but it was just a idiom 😅

    • @eyesc
      @eyesc Год назад +73

      Now let’s see if Mark Zuckerberg copies Elon on this move…

    • @rabbirt
      @rabbirt Год назад +18

      This video has 0 comments, yet I am looking at hundreds. Weird! Anyway that code is CLEAN

  • @difusleas
    @difusleas Год назад +2673

    I love this series because I'm almost never in the loop when it comes to programming news, because I quite literally do not read the news haha

    • @Flappy9
      @Flappy9 Год назад +32

      You dropped this 👑🍠

    • @abz4852
      @abz4852 Год назад +68

      @@nicocesar no

    • @nicocesar
      @nicocesar Год назад +25

      @@abz4852 🤣that was the joke

    • @quazar-omega
      @quazar-omega Год назад +4

      ​@@Flappy9 a... sweet potato?

    • @ringishpil
      @ringishpil Год назад

      haha

  • @mikkelens
    @mikkelens Год назад +226

    elon musk: *falls down the stairs*
    tech bros: "masterful gambit sir"

    • @viktorstojanovic9007
      @viktorstojanovic9007 Год назад +52

      "Such a smart move by Elon"🤡

    • @densepixel
      @densepixel Год назад +15

      If they don't take you seriously they underestimate you, drunken master - Tech Bro GPTing a conclusion they don't understand.

    • @jasonhymes3382
      @jasonhymes3382 Год назад +19

      Any day now, Elon Musk is going to be poor. Any day. Soon. It will happen. He's made too many mistakes. Just give it a few more years. Once the decade is over Elon is finished I tell you

    • @PinguiniAlfredo
      @PinguiniAlfredo Год назад +9

      Interchangable with Putin and Trump supporters

    • @DrakeRing
      @DrakeRing Год назад +21

      @@jasonhymes3382 Yea, he is definitely going down. I have done a course on Facebook articles and Reddit posts, and the people clearly say so!

  • @JayPrakash-th4rd
    @JayPrakash-th4rd Год назад +3872

    Make Fireship's production process open source !!!

    • @TankFFZ
      @TankFFZ Год назад +172

      He already did… did you miss last weekends upload?

    • @priyankgupta
      @priyankgupta Год назад +13

      @@TankFFZ could you link it here pls. I genuinely dont know what you're talking about

    • @jackstarsky3268
      @jackstarsky3268 Год назад +40

      @@TankFFZ He was way ahead than Elon Musk

    • @puneetsharma1437
      @puneetsharma1437 Год назад +4

      @@TankFFZ where

    • @swimmyJones
      @swimmyJones Год назад +16

      @@priyankgupta I assumed it was a joke referencing the April Fools episode but I could be wrong

  • @sleepyguy4237
    @sleepyguy4237 Год назад +817

    Whether Twitter improves or burns, I'm happy on whatever outcome it is.

    • @alexxans1154
      @alexxans1154 Год назад +86

      when you are at rock bottom you can only go up

    • @bjh3612
      @bjh3612 Год назад +115

      ​@@alexxans1154 when you're at rock bottom pull out a pickaxe and keep digging.

    • @ithinkimhipster502
      @ithinkimhipster502 Год назад +7

      @@bjh3612 hahaha that's too fucking funny

    • @inanis6707
      @inanis6707 Год назад +25

      @@alexxans1154 not true, there are gltiches to break bedrock these days

    • @gamingcow7796
      @gamingcow7796 Год назад +2

      @Hmmmm isaac fan moment
      edit: tou should also grab a mega mush and maybe crown of light

  • @sveeryee
    @sveeryee Год назад +768

    If twitter implemented a 'news article' section where you could make articles inside twitter, click a tweet and have it expand into a full article they could probably keep more users on site, maybe adding sidebar ads while you have the article open. could replace news websites all together, and share revenue with the author directly

    • @Liam-vb3xo
      @Liam-vb3xo Год назад +47

      you'd have to, ya know, actually have advertisers to do that though.

    • @sveeryee
      @sveeryee Год назад

      @@Liam-vb3xo NordVPN and black rifle coffee baby woo!
      But yea having major advertisers pull out tanks their revenue for sure. I do believe tho that with a sizeable userbase, and assuming they lower ad costs, there would incentive for buisnesses to advertise there regardless, its free real estate . Big companies might not return tho yea

    • @fonfonanime
      @fonfonanime Год назад +7

      I feel like twitter "moments" was close to this but they got rid of that now

    • @earlye
      @earlye Год назад +32

      @@Liam-vb3xo Chicken and egg thing? I think if you could entice journalists (e.g., by sharing ad revenue) you could enter a growth spiral. Good content will draw eyeballs which will in turn draw advertisers.

    • @dallassegno
      @dallassegno Год назад

      better get on it

  • @49riddickful
    @49riddickful Год назад +590

    I love the fact we can study this code which was implemented by a billion dollar company and may many coding experts for years (supposedly). Gives a nice insight to what was under the hood. Also clarifies certain things ALOT

    • @SharatS
      @SharatS Год назад +13

      There are lots of huge open-source projects though, with code written by people with bigger brains than you or I. The Linus kernel, for one has been under development for decades.

    • @SahilP2648
      @SahilP2648 Год назад +5

      @@SharatS oh and it's better than 99% of the projects out there

    • @scottyrohowetz8024
      @scottyrohowetz8024 Год назад +1

      @Andy Miller I've seen different people talking about this Bernard, he must be very amazing for people to talk this good about him.

    • @michealolmez3269
      @michealolmez3269 Год назад

      @andymillerh Honestly I really need help learning to trade. Seeing my portfolio low makes me very sad. Please let me know how to reach him easily. I'm interested.

    • @michealolmez3269
      @michealolmez3269 Год назад

      Bernard Wong daily trading signal is the best I have ever used and I would also assure anyone seeing this to give it a try.

  • @Vivek2062
    @Vivek2062 Год назад +1400

    IMO this is absolutely nuts to see the best implemented practices by a billion dollar company, it literally inspires and demotivates me at the same time looking at this code.

    • @trapfethen
      @trapfethen Год назад +304

      Keep in mind they had linters that would block the build process, and strict code review processes. Most of that code is the 2nd or 3rd rework to get past those hurdles. That's how you keep a codebase clean at any scale. Hard constraints.

    • @Vivek2062
      @Vivek2062 Год назад +25

      @@trapfethen thanks for the info!

    • @lystic9392
      @lystic9392 Год назад +11

      I'm not a programmer but why would it demotivate you?

    • @binaryum
      @binaryum Год назад

      It looks like shitty code tbh.

    • @overlord3481
      @overlord3481 Год назад +225

      @@lystic9392 because the code's complexity seems daunting and leads him to doubt his own skill in porgramming.

  • @quantuminfinity4260
    @quantuminfinity4260 Год назад +146

    One thing that somewhat contradicts the idea of sticking it to the establish news is charging $1000 a month to businesses who are smaller then the top 10,000 and would be much more susceptible to being easily impersonated. The larger companies who would pay this would not even come close to flinching.

    • @Liam-vb3xo
      @Liam-vb3xo Год назад +32

      thats how I feel about making the checkmark just a 8 dollar subscription, its no longer verifying credentials, its verifying payment to twitter.

    • @untzuntz3000
      @untzuntz3000 Год назад +22

      ​@@Liam-vb3xo yeah, making bots and troll farming expensive.

    • @AveN7ers
      @AveN7ers Год назад

      ​@@untzuntz3000it makes scammers look legitimate. They'd pay $8 if they think they can make more

    • @tuckerbugeater
      @tuckerbugeater Год назад +1

      @@untzuntz3000 It's establishing a number to what people are willing to pay for their blockchain id.

    • @AWriterWandering
      @AWriterWandering Год назад +1

      @@untzuntz3000 bot farm stand like a decent gross if they can impersonate major sources. It’s all a margins game for these scammers.

  • @kartoffelbreip1974
    @kartoffelbreip1974 Год назад +306

    Its so amazing to be able to have a look into one of those huge social media platforms. Thats crazy. 😮 😊

    • @TippyHippy
      @TippyHippy Год назад +4

      l put my hamster in a sock and slammed it against the furniture.

    • @kartoffelbreip1974
      @kartoffelbreip1974 Год назад +1

      @@TippyHippy whoa why'd u do that?

    • @ko-Daegu
      @ko-Daegu Год назад +3

      The issue is that an ML Algo is usless being only opened sourced without the data used to train the model
      So open sourcing a software engineer product like a normal web app is cool and works
      Open sourcing a model Algo only is 50% open source the data used or at least share some Bayes share the model
      Other than that we can’t tell how they classify stuff
      This is a 100% marketing tactic

    • @kartoffelbreip1974
      @kartoffelbreip1974 Год назад

      @@ko-Daegu yea i know. I still find it very interesting to see.

    • @03e-210a
      @03e-210a Год назад

      @@ko-Daegu How is it useless? You described it yourself. They just put out half of their data to open source, but it is still useless? What?

  • @ulisesavila2879
    @ulisesavila2879 Год назад +39

    Here in mexico we have a sayin called "Dar atole con el dedo" which basically meaning to "spoon you" with the least amount of things to let you believe that there is change.

    • @ulisesavila2879
      @ulisesavila2879 Год назад +7

      @@FinP-nf3vp to Elon releasing Twitter 's algorithm.

    • @ulisesavila2879
      @ulisesavila2879 Год назад +11

      @@FinP-nf3vp I do not think that this is the kind of transparency we should be getting. Third party code doesn't have a meaning until this third party tells you what it does or you as an individual goes to parse it.
      This is like dumping code that is no longer needed. Specially after Elon saying that non Blu check users are not going to appear in the For you tab, rendering the algorithm for non paying users useless.
      I would prefer to get things related for privacy, to me this feels more like PR move.

    • @ulisesavila2879
      @ulisesavila2879 Год назад

      @@FinP-nf3vp I am not sure. Elon is focused on making Twitter print money to get some of the one that he spent on it. I personally do not have information to give the direction that Twitter will follow.

    • @promptcraft
      @promptcraft Год назад +2

      @@FinP-nf3vp dont believe the hype- he easily couldve transitioned twitter to another algorithm full of gpt 4 bots and open sourced the old repo for strategy

    • @almicc
      @almicc Год назад

      @@promptcraft you really overestimate the ability of ai programming, try using it and you'll find yourself spending more time trying to coerce the answer you want out of it, and then still have to debug it anyway. You still have to describe the entire algorithm in text, which at that point ai programming turns into just a higher level programming language, which you still have to actually review the "lower" high level stuff it writes to make sure it did so correctly. you're pretty much coming up with a more complex method of doing something that a simpler solution achieves, he could literally just release the code they actually use and *not* spend time and money to come up with something entirely different for... whatever purpose that achieves.

  • @ehsansayyad
    @ehsansayyad Год назад +159

    The question is whether they are going to use the public repo for production, or is it just a frozen clone of the internal code base.

    • @azaih
      @azaih Год назад +34

      Too high of a security risk imo, need some delay before updating

    • @varshard0
      @varshard0 Год назад +5

      @@azaih They can do it like most of the open source project by having some selected maintainers be the one who decide whether they want to accept the change and deploy them or not.

    • @azaih
      @azaih Год назад +15

      @@varshard0 I mean if they are making live changes, then if they accidentally introduce a bug it would be exploited almost instantly. Whereas, if they have their production code updated at time intervals that will give them a chance to catch anything prior.

    • @pronpalunpo1066
      @pronpalunpo1066 Год назад +2

      @@azaih When Twitter updates of course there will be a maintenance downtime due to its size, most user of open source use the releases not the development branch i think

    • @ko-Daegu
      @ko-Daegu Год назад

      @@azaih
      The issue is that an ML Algo is usless being only opened sourced without the data used to train the model
      So open sourcing a software engineer product like a normal web app is cool and works
      Open sourcing a model Algo only is 50% open source the data used or at least share some Bayes share the model
      Other than that we can’t tell how they classify stuff
      This is a 100% marketing tactic

  • @gradientO
    @gradientO Год назад +5

    0:33 the doge bird lmao

  • @anggoran7398
    @anggoran7398 Год назад +33

    We need a full explanation or discussion about this repository

    • @Gigusx
      @Gigusx Год назад +3

      No worries there'll be a lot of people covering this :D The repo already has got 44k stars.

    • @anggoran7398
      @anggoran7398 Год назад +1

      @@promptcraft well I think it helps newbie like me to know a glance of how big tech company do algorithms, cause the internet is dominated by deprecated basic CRUD apps that are created either for online courses or portfolios

    • @petrurk6835
      @petrurk6835 Год назад

      no we don't, it would take a lot to explain all that, for what is at the core a sorting algorithm

  • @WolfPhoenix0
    @WolfPhoenix0 Год назад +87

    There's a famous saying among software engineers which says "There are only two hard things in Computer Science: cache invalidation and naming things."
    The Twitter engineers certainly ran into the latter with those extremely long and verbose names. 😂

    • @thomasreese2816
      @thomasreese2816 Год назад +12

      You forgot off by 1 errors...

    • @snoowwe
      @snoowwe Год назад +45

      extremely long and verbose names over cryptic and undecypherable names is mandatory at my company. Of cource, clear and concise is best but it's not always possible.

    • @ZM-dm3jg
      @ZM-dm3jg Год назад +2

      Naming things is one or the hardest problems in human cognition and we don't understan't how it is that the brain is able to do it.

    • @RobKohr
      @RobKohr Год назад +1

      @@thomasreese2816 He was one off because he use < instead of

    • @wlockuz4467
      @wlockuz4467 Год назад +10

      Thats just Java convention lol

  • @iamfarruh4eg56
    @iamfarruh4eg56 Год назад +1

    1:19 man, that's such a familiar scrolling experience

  • @sanjeev.rao3791
    @sanjeev.rao3791 Год назад +26

    The points raised in this video are probably better suited to an April Fools video since Twitter now has the gold checkmark for news organisations

    • @Liam-vb3xo
      @Liam-vb3xo Год назад +1

      do they? when did they add gold checkmarks?

    • @sanjeev.rao3791
      @sanjeev.rao3791 Год назад +1

      @@Liam-vb3xo I think they announced it earlier this week

    • @MonkeeSage
      @MonkeeSage Год назад +1

      The gold checkmark was announced in like December and the $1000 fee was announced around the end of January. It's meant for organizations in general, not targeted at news organizations. I don't think it's in conflict with the idea that twitter could be trying to cater to freelance journalists.

  • @rohitdoestech
    @rohitdoestech Год назад +237

    this such bold move wonder if it'll actually work in twitters favour

    • @TheSiprianus
      @TheSiprianus Год назад +109

      Whether it's going down or become an actual free speech platform, either way I still prefer this than the previous state of twitter.

    • @LeoMessiEnjoyer
      @LeoMessiEnjoyer Год назад +12

      Once they pay creators, It'll be bigger than most Media companies like WSJ or CNN

    • @kkounal974
      @kkounal974 Год назад +23

      My biggest concern is that this isn't even open core, it's only a part of it that's open source.
      So what guarantee is there that people who contribute don't just get taken advantage of and any changes the community decides to make don't just get shadow clapped behind the curtains the moment it's conductive to business?
      Also even the concept of working for free and an unknown and always in the air part of the fruits of that work ending up in Elon's pockets. Why? What did he do?
      So maybe a bit cynical but I don't think expropriation is possible and this is just a cheap trick to get free labour. Exploiting people is literally the trade of billionaires after all.

    • @shirwd
      @shirwd Год назад +2

      Definitely wasn't made by accident :/

    • @Aliens1337
      @Aliens1337 Год назад

      @Nana Pour "I am charging every one for Twitter blue and paywall people to get rid of bots" - Elon
      Nah Elon, botters will just pay and now they are more powerful and trusted because they are "verified" by Twitter. Elon knows that this move won't get rid of bots, he actually is making them more powerful. He is just lying to stupid people who takes everything he says as "genius". In subscription-based MMOs, $15/month does not stop an army of bots because they are still making profits. Twitter bots will not care at all about paying for Twitter Blue. They will actually happily pay for them because now they get to be ranked higher, become more visible and are more trusted by real people with that little blue checkmark. Get ready for an increase in scams, propagandas and disinformation on Twitter.

  • @DynoStorm
    @DynoStorm Год назад +3

    0:44 lmao XD

  • @prime_comando
    @prime_comando Год назад +364

    DAMN bro. You just consistently keep shipping absolute bangers and top notch content. I worry if you can keep this up. I also love that you pack it densely with entertainment versus extending a potential 4.5min video to 11min. Doing this way actually entices me to bell icon all your videos and watch each without using playback speed to 1.75x.
    Great theory and I hadn't thought of it yet but you're absolutely right. Elon isn't a dumbass a knows Twitter is not worth 44bn, but he's told us all already, with the consistent growth of LLM and output, the Internet will be flooded with misinformation and just straight up bad info. So we will need a verified and true open source of truth for the Internet moving forward--privacy in a sense by being open. Privacy is ever increasing.

    • @n3y
      @n3y Год назад +22

      for someone who postures about fighting misinformation so often, he sure does lie and misinform quite a lot

    • @ajfalo-fi3721
      @ajfalo-fi3721 Год назад +4

      @@n3y why do you think so?

    • @MarshmallowBoy
      @MarshmallowBoy Год назад +1

      @@n3y why do you think so as AJFA Lo-fi has said

    • @n3y
      @n3y Год назад

      ​@@ajfalo-fi3721 covid misinformation
      lying about matters regarding trans people, calling it "propaganda"
      bootlicking russia

    • @r34ct4
      @r34ct4 Год назад +2

      ​@Ney Yeah why do you think so as Marsh Boy and AJFA said?

  • @brucewayne2480
    @brucewayne2480 Год назад +62

    But the problem is , if the code is open sourced how do you ensure that is the same code running on production ?
    Some pipeline with other private repos can exist

    • @Azoraqua
      @Azoraqua Год назад +1

      Beyond a bit of concurrency and scamming, not much that can happen. What matters is brand identity, there could be a million identical clones but without the actual company behind it and its thriving community, it doesn't matter much.

    • @tombrandis2866
      @tombrandis2866 Год назад +4

      I think that this code is only server code I expect, which can't be changed by just anyone

    • @brucewayne2480
      @brucewayne2480 Год назад +47

      @@tombrandis2866 I'm talking about transparency , putting your code on github dosen't mean you're open sourced because maybe you put just some lines or filtred some lines , removed some middlewares ...
      And the code running in production could be different

    • @TwitchCronos100
      @TwitchCronos100 Год назад

      @@brucewayne2480 Oh yeah, they spent all this time just making some BS code up, all the hours and wasted money just to trick peope into thinking this was their actual code, oh so evil they are. Stop being so paranoid, schizo.

    • @_VeritasVosLiberabit_
      @_VeritasVosLiberabit_ Год назад +15

      Don't worry too much about it, because a person or an entity will come and test this open source code against the real Twitter to find out if it behaves similar or not, but doing something like this will require tons of data.

  • @alexsantee
    @alexsantee Год назад +112

    One thing I fear about open sourcing the algorithm like this is the bot problem that many social media have. In theory bots could use this data to train in how to boost their content and make real people content not even show up in the front page. Let's hope that the defense techniques can still make it usable

    • @conelord1984
      @conelord1984 Год назад +27

      The best defense technique against bots is charging.

    • @AlexRetsam
      @AlexRetsam Год назад

      Yeah, reach of unverified accounts will be crushed.
      We will be relegated to the howling maelstrom of porn scams, crypto giveaways, and the New York Times

    • @promptcraft
      @promptcraft Год назад +22

      its not the actual code being run in production, he open sourced the old code for strategic manipulation of the masses with gpt 4 bots

    • @kazedcat
      @kazedcat Год назад +5

      ​@@promptcraft Prove to me your not a bot.

    • @promptcraft
      @promptcraft Год назад +6

      @@kazedcat prove to me youre not a simp

  • @cverde1234
    @cverde1234 Год назад +68

    Next week we'll get this code report: "An AI learns twitter code and . . . "
    Damn, it keeps getting crazier

    • @BenPanna
      @BenPanna Год назад

      it's under Elon right now that's the most craziet 🤣🤣

    • @porgi2436
      @porgi2436 Год назад

      Ohh you gave me an idea. Maybe i will get to train ai on the Twitter source code and it will create best tweets to be promoted. Maybe it will work

  • @CatholicWeeb
    @CatholicWeeb Год назад +193

    It's a very good idea, also it's quite interesting to see how Twitter works. Glad to get to see how these big social media apps work.

    • @SuperTort0ise
      @SuperTort0ise Год назад +3

      I am too, but more importantly your @ is so good

    • @johnnyvishnevskiy8090
      @johnnyvishnevskiy8090 Год назад +1

      If you can actually understand all of the current code in the repository, kudos to you. If you don't, then you really don't understand how they work.

    • @glauberbispo8922
      @glauberbispo8922 Год назад

      @@johnnyvishnevskiy8090 i mean, they didn't open the whole code after all, it would be interest to see how they wrote the code to run with milions of people using at the same time

    • @promptcraft
      @promptcraft Год назад +4

      its not the actual code being run in production, he open sourced the old code for strategic manipulation of the masses with gpt 4 bots

    • @SahilP2648
      @SahilP2648 Год назад

      Well the issue is that after looking at the source code many users are going to game the system. It would have been much better if the code just used like 99% ML with 1% to deal with political biases. Because right now a lot of crap is checked to promote or demote a user. Imho something like YT's algorithm needs to be implemented so something completely from scratch and bias-free (with some checks for politics and misinformation).

  • @Boomkop3
    @Boomkop3 Год назад +5

    Before watching this: Did someone miss that the source code was release on april 1th?

  • @MrRaja
    @MrRaja Год назад +5

    Now we can use gpt-4 to analyze the code and find a way to generate extremely viral content.

  • @theMelvinShow
    @theMelvinShow Год назад +47

    I always thought these companies have super sophisticated and complex functions and whatnot using every trick in the book of the programming language but then there's stuff called "EnableAdvertiserBrandSafetySettingsFeatureHydratorParam" that just declares 2 variables
    Then again ML algorithm with 1 billion nodes, god damn

    • @HappyGick
      @HappyGick Год назад +39

      That's kind of exactly how people should code. EnableAdvertiserBrandSafetySettingsFeatureHydratorParam is a name that describes exactly what that piece of code does. It's a good name.

    • @GenesisAkaG
      @GenesisAkaG Год назад +11

      In the end, it is a large corporate codebase in Java. You're bound to find these OOP-WTFs, whether it is by questionable dogma or because some production tool spits them out.

    • @astroid-ws4py
      @astroid-ws4py Год назад +3

      That's an OK name for functions, It is not like math where we use just f to describe a function, In real code you need to give them names that indicate what the function does.

    • @robinspanier7017
      @robinspanier7017 Год назад +6

      its a bit long but its good. try to rename your data to 3 word letters and then try to so some analysis on this. your brain will melt before one line is written.
      readable code makes it thinkable!

    • @luizeduardo9833
      @luizeduardo9833 Год назад +1

      Tbh it isnt the worse name, that would be something along the lines of "MethodX"
      But there is a differencr between a name and a fully qualified name
      Usually you want things separated by context

  • @JohnSmith-qy1wm
    @JohnSmith-qy1wm Год назад +79

    That's an interesting read on why, but it has a whole bunch of assumptions built into it. My thought is maybe this is just a way to get some 3rd party work in to help alleviate the stress caused by firing so many engineers.
    Or, if using the same ultimate conclusion you had, it could be that exposing how the algorithm works convinces folks to try to game it better, which gets more activity and advertising revenue from the platform. On second thought, maybe this makes more sense and the first theory I had might just be a possible welcome side effect.

    • @evancombs5159
      @evancombs5159 Год назад +19

      This has been his announced plan from the very beginning. Has nothing to do with firing excess developers.

    • @Glitch-txs
      @Glitch-txs Год назад +5

      Not sure, the actual code doesn't seem to be thaaat "open source" but rather something that was made public and that's it. If you look into the repo there's not even a history record

    • @DarkNexarius
      @DarkNexarius Год назад +3

      @@Glitch-txs Making the code public is open source. What do you expect? What does a code history have to do with open source?

    • @Glitch-txs
      @Glitch-txs Год назад +3

      @@DarkNexarius to me open source means that anyone can contribute, but it's just a piece of what it actually is (I mean, like missing deps, etc). Might be wrong tho

    • @DarkNexarius
      @DarkNexarius Год назад +2

      @@Glitch-txs Open source just means the source(code) is open as in everyone can look at it. That's it.
      Contributing is something else entirely.

  • @hoteny
    @hoteny Год назад +9

    How do we truly know what they open source is really what they use?

    • @meepk633
      @meepk633 Год назад

      We don't. People have blind faith in an explicitly partisan big tech CEO who has already killed news stories on behalf of ideologically aligned governments. It's utter lunacy. "I'm epic doge man I like may mays" has somehow disabled millions of otherwise functioning brains.

    • @lucaspereira5388
      @lucaspereira5388 Год назад +2

      We don't

  • @Ulvens
    @Ulvens Год назад +1

    Very interesting. Thanks for the quick breakdown.

  • @NaudVanDalen
    @NaudVanDalen Год назад +1

    Me: "I could make Twitter."
    Me: watches this video.
    Me: "I couldn't make Twitter."

  • @MUSTAFK
    @MUSTAFK Год назад +6

    Very interesting indeed to see. I hope youtube someday releases their algo to see what makes a video go viral

    • @Liam-vb3xo
      @Liam-vb3xo Год назад +1

      that would be cool, i doubt it'd happen tho.

    • @MUSTAFK
      @MUSTAFK Год назад

      @@Liam-vb3xo Yeah probably not :(

  • @NexusGamingRadical
    @NexusGamingRadical Год назад +21

    GPT-4 is gonna slurp that data up.

    • @user-yj3mf1dk7b
      @user-yj3mf1dk7b Год назад +4

      @@hyperadapted first it needs to give working algos without errors.

    • @Samuel-wl4fw
      @Samuel-wl4fw Год назад

      @@hyperadapted it just takes significantly longer time if it first start to error and it's debugging skills are sometimes okay but sometimes it just makes up stuff or reaches a dead end.

  • @NaudVanDalen
    @NaudVanDalen Год назад +1

    1:24 That's a long file name, but I have some longer function names.

  • @shamaldesilva9533
    @shamaldesilva9533 Год назад +2

    Man these thumbnails be dapper 😮

  • @84Chadd
    @84Chadd Год назад +25

    How can we ever be certain that that's the whole algorithm?
    Couldn't that code could just a piece that's called by another piece for the algorithm?

    • @SmirkInvestigator
      @SmirkInvestigator Год назад

      There should be an external call somewhere in the code. I’m sure a module could be replaced with an external call in an external build process

    • @Liam-vb3xo
      @Liam-vb3xo Год назад +3

      @@SmirkInvestigator any external references couldve been removed before releasing this chunk of code, so its hard to say.

    • @rumfordc
      @rumfordc Год назад +1

      by reading the code and comparing it to what you see on twitter.

    • @wlockuz4467
      @wlockuz4467 Год назад +1

      @@rumfordc That would be a very flaky test

    • @wlockuz4467
      @wlockuz4467 Год назад

      Truth is you can't tell, but it doesn't matter for PR. After this move a lof the companies will see Twitter as more "transparent".

  • @ducodarling
    @ducodarling Год назад +8

    Elon Musk: Pets a dog in public
    The Internet: *OMFG its really a 38D chess move SO genius!*

    • @midamida915
      @midamida915 Год назад

      Literally thats exactly what happens

  • @kucingoyen1
    @kucingoyen1 Год назад +1

    Everyone: He's playing 5D chess!!
    Elon: I don't know what I'm doing

  • @newf_gg1230
    @newf_gg1230 Год назад

    Nice overview. Thank you.

  • @Eclipse_co5mic
    @Eclipse_co5mic Год назад +9

    Its really interesting to see that twitter actually creates some sort of bubbles for you.

    • @DarkNexarius
      @DarkNexarius Год назад +7

      Every social media company does this otherwise you would get totally unrelated / not interesting stuff for you on the website.

    • @kazedcat
      @kazedcat Год назад +1

      ​@@DarkNexarius They could spice it up with a few totally random posts. This prevents a solid non permeable bubble.

    • @Herkan97
      @Herkan97 Год назад

      @@DarkNexarius Yes, just go to a private tab in a browser for the front page of RUclips and you might notice a huge difference, I certainly have the few times I've done it.
      Not a bubble I want to be in, filled with music videos, MrBeast and similar crap, late night talk shows and other irrelevant stuff.
      If I go on social media and I don't get an accurate enough bubble, there's no point going to a social media, as I'd just be met with a bunch of crap I don't want. What's the point of looking at stuff I don't want to look at, so I can say that I've looked at stuff I didn't want to look at?
      When I want to look at stuff I normally don't want to look at, I seek it out and it probably won't be on Twitter most of the time.

  • @M4rt1nX
    @M4rt1nX Год назад +6

    Dude, your editing skills!!! I'm here for it.

  • @shad0wburn3d
    @shad0wburn3d Год назад

    where is the code posted at?

  • @automateddude
    @automateddude Год назад +1

    Whether I check twitter or any other news, I have been checking code reports by fireship since a month, its interesting!!!

  • @gamedev8567
    @gamedev8567 Год назад +4

    And yet, OpenAI is still closed AI

    • @almicc
      @almicc Год назад

      what do you mean by that? how is it "closed AI?"

    • @gamedev8567
      @gamedev8567 Год назад +1

      @@almicc Because their models are not open sourced. Meaning their models have closed access.

  • @redpillsatori3020
    @redpillsatori3020 Год назад +9

    Seems suspicious that this "source" code was released on April Fool's Day. Could just be one, huge prank on the part of Elon

    • @almicc
      @almicc Год назад

      maybe it is real and the april first was still intentional as a joke in itself. you have to realize that even though it's april 1st, not literally everything that happens is fake. there was a big security breach that happened on april 1st this year, imagine if security teams just ignored it or doubted it because of the date.

  • @mariotolf8616
    @mariotolf8616 Год назад

    Can someone explain to me at at 1:04 which part of the production code is missing?

  • @pllasma
    @pllasma Год назад

    lol those fadeout endings, but they need to have an impact phrase in 2x ^^

  • @rafaelmramblas
    @rafaelmramblas Год назад +3

    There's like 0 guarantee that those weird things like targeting republicans and democrats are indeed removed in prod, and actually there's no guarantee that this is the real code running in prod.

  • @srspanksalot4501
    @srspanksalot4501 Год назад +3

    Hopefully his intention is to listen to the complaints about the code. Imo it would be better for him to turn Twitter into a nonprofit and fully open source it aside from security stuff and start accepting commits.

  • @gonzalodelcastillo8830
    @gonzalodelcastillo8830 Год назад

    Great video! I hope you can present a Scala 3 intro for the masses.

  • @acryliq
    @acryliq Год назад

    Congrats on 2M subscribers. I remember when you "only" had about 300K. Nice job, man!

  • @user-fj3gl8wc7s
    @user-fj3gl8wc7s Год назад +3

    guys, now we can see how bad it actually is

  • @supercellodude
    @supercellodude Год назад +5

    How can we know whether or not this programming is implemented on Twitter's servers?

    • @honkhonk8009
      @honkhonk8009 Год назад +4

      Because it would be impossible to keep up the facade.
      Poeple would find small inconsistencies from the sites behaviour and the source code updated.
      Lets also not forget how much money your gonna be burning from updating 2 code bases for no reason.

    • @Primarycolours-
      @Primarycolours- Год назад

      Literally available on on their github page. And if you are able to absorb what's written on the code base you wouldn't doubt it. Better yet find some unknown problems to be solve.

    • @rumfordc
      @rumfordc Год назад

      by reading and understanding the published code and comparing its behavior to what you see on a Twitter timeline

  • @TheAlistrawberry
    @TheAlistrawberry Год назад

    @fireship what is your vscode editor font ?

    • @TheAlistrawberry
      @TheAlistrawberry Год назад

      I do not think it is Firo Code ... as specified in the description @Fireship

  • @phanvanhoa
    @phanvanhoa Год назад

    How do we know which branch it run on anyway

  • @GayBrain
    @GayBrain Год назад +3

    He turned the Twitter icon into Kabosu to avoid his racketeering lawsuit LMAO

  • @handsanitizer2457
    @handsanitizer2457 Год назад +3

    He knows he has tons of ball huggers. That will submit prs and fix the code, free work so i get it. Though the issue is people exploiting it, but the pro is people finding those security exploits and patching them. So it could work out either way.

  • @cherubin7th
    @cherubin7th Год назад +3

    Elon video already? We must be back in the AI winter...

  • @manyandokaine923
    @manyandokaine923 Год назад

    I love how you are uploading so frequently as of late ❤

  • @Reverendhero
    @Reverendhero Год назад

    I really like the part of the algorithm that fills the for you page with street fights and people dying

  • @jonnyglatt
    @jonnyglatt Год назад +3

    I don’t think this makes their service any more transparent, since we have no idea if this code is actually in production.

    • @jmanpolo5611
      @jmanpolo5611 Год назад

      It most likely is it at least had been in the very very near past.. a large company like Twitter would take ages to rewrite all of this code... And paying a team of engineers to write this for a hoax also does not sound plausible.

  • @gpcureton
    @gpcureton Год назад +3

    "Is he playing 5D chess?"
    Is this a bit?

    • @Ethorbit
      @Ethorbit Год назад

      He is.

    • @mikoi7472
      @mikoi7472 Год назад +3

      @@Ethorbit You're on some heavy as fuck copium. The dude has to be sued into completing the Twitter acquisition deal.

  • @CrimeBeanus
    @CrimeBeanus Год назад

    that pic of elon dunking on the zuck is hella cursed lmao

  • @VaibhavShewale
    @VaibhavShewale Год назад +1

    well that was some bold move

  • @phatakom
    @phatakom Год назад +3

    I thought that was an April Fools tweet 😮

  • @kimura317
    @kimura317 Год назад +15

    Twitter was already the trusted place to seek journalists prior to the acquisition, partly because of the legacy checkmarks. We've seen what happens when you compensate creators according to popularity here on RUclips.

    • @dallassegno
      @dallassegno Год назад +1

      if advertising dollars (left/jay media) are not the equity, then those biases can be easily mitigated.

    • @tijtij
      @tijtij Год назад +3

      @@dallassegno I know I will regret asking and I have a pretty good hunch, but what is "jay media"?

    • @MarioGoatse
      @MarioGoatse Год назад +2

      @@tijtij You already know lol. Why even ask? It’s exactly what you feared it would mean.

    • @Samuel-wl4fw
      @Samuel-wl4fw Год назад

      no it was a liberal shitshow, still is. Okay for artsits, cringe af for it's "shistorms". The fact you can only show(or could, haven't used it long) sort by best comments and not newest makes it a echo chamber with no equal.

    • @kimura317
      @kimura317 Год назад

      ​@@dallassegno yeah man what is "jay media"

  • @keithmofley8275
    @keithmofley8275 Год назад

    I believe that was a pretty spot on assessment of the situation, not that I know enough to really say

  • @LePhenixGD
    @LePhenixGD Год назад +1

    0:10 Damn it's Mr Ligma and Mr Johnson

  • @snkeze9
    @snkeze9 Год назад +41

    That Trump and Kamala bit never stops being funny 🤣🤣🤣🤣

  • @greyowlaudio
    @greyowlaudio Год назад +26

    After listening in to his Spaces conversations, I... do not think he's all that smart with regards to code. Still very happy to be able to see the code as open-source though and it's fantastic for the public that Twitter is taking that initiative!

    • @MouseGoat
      @MouseGoat Год назад +1

      "regards to code" ? its not Elon that coding Twitter lol no made that code, and making it open-source means he has to do even less as everyone can make improvements to it now.

    • @greyowlaudio
      @greyowlaudio Год назад

      @@MouseGoat If a CEO does not understand how his own product works and has not, over the course of several months, worked with his team to get a fielding for it, how do you think that's going to go?
      Major chunks of Twitter's source code were also leaked and up on github for several months before Musk 'made it public'. Everyone is definitely making improvements to it-for their own platforms.

    • @Slashx92
      @Slashx92 Год назад +1

      @@MouseGoat there's a difference between a CEO that doesn't understand code and owns it, delegating responsibilities and new definitions to the experts. And there's Elon who's been bitching about the "crazy stack" twitter has and how it should be rewritten because it "shouldn't be that complicated", and shaming his own teams because he thinks how the app works while firing anyone who corrects him.
      He doesn't only not understand code, but he acts like he does. And tbh, monetizing publications inside twitter is the first decent idea since Elon took over. Everything else from him has been "the stack this, the code that, the latency this, the request that" while knowing jack shit what all of that means

  • @DesTr069
    @DesTr069 Год назад +1

    Still can't believe that "auhtor_is_elon" was an actual thing used in production code, lmao

  • @cryptoafc7655
    @cryptoafc7655 Год назад

    you just got an extra sub. nice logic

  • @isaacandrewdixon
    @isaacandrewdixon Год назад +5

    Twitter algo downranking posts about Ukraine

  • @swapode
    @swapode Год назад +51

    Yeah, I'm sure what we've witnessed over the last few months is a series of calculated steps in a 5D chess game, everything will fall into place once Elon invents time travel.

    • @DrakeRing
      @DrakeRing Год назад

      What is this, Attack on Titan?

    • @BenPanna
      @BenPanna Год назад

      Elon god's hand

    • @MouseGoat
      @MouseGoat Год назад

      im hosntly unsure why people thing it was not calculated, he came out with this exact plan before he even started.
      And yet people are like "omg hes doing what he said he would" and "Elon you ruining Twitter... by not alowing misinformation and Twitter lossing more money than they earn, and becuse everone is moving of the platform... even tho thats not whats happing and most users on there ware just bots"
      But like sure whatever, haters be haters, stay salty :D

    • @gamingoverlord8854
      @gamingoverlord8854 Год назад +1

      Someone's been playing 4d chess with time traveling on steam

  • @murderbunnies
    @murderbunnies Год назад +1

    Elon isn't playing 5D chess. The way he's running shit into the ground, he's barely playing Candyland.

  • @TheBrunoRM
    @TheBrunoRM Год назад

    4:15 bro I swear a hear a discord notification sound there

  • @_EDM115
    @_EDM115 Год назад +3

    April's fool - delayed

  • @Johnny1864
    @Johnny1864 Год назад +51

    Feel like you're a bigger Elon believer than most 😂

    • @duke605
      @duke605 Год назад +5

      Yup. Dude actually thought Elon released the code 🤦🏼‍♂️ didn't even bother to do the research and see that it was actually a disgruntled former employee.
      Elon could fall down the stairs and these tech bros would be like "masterfully done Elon. 👏🏻👏🏻👏🏻"

  • @chrismuga
    @chrismuga Год назад +1

    This is what I was hoping the Primeagen’s video would be.
    Funny but still informative. Thanks.

  • @vijaykrishna7231
    @vijaykrishna7231 Год назад

    Congrats to your 2mil subs

  • @chrisklugh
    @chrisklugh Год назад +3

    I have my own ideas on what the 'best social media site would look like', and a part of that is making it open sourced. Another big part would be to do something similar to how Torrents work in that your own content you wish to share is held on your own computers. You give permissions to people you want to see your page and nobody else can have access without it. Long story there for sure, but its nice to see Twitter adding open source. Might even inspire me to get an account with them if they keep up with good work!

  • @nkugwamarkwilliam8878
    @nkugwamarkwilliam8878 Год назад +15

    I sometimes think some people are over-praised to a point that miscalculations they make are taken as genius moves

    • @almicc
      @almicc Год назад +1

      open-sourcing code is never a miscalculation, the notion that the actual implementation of software is supposed to be kept secret is backwards for human progress and technological advancement. It's like coming up with a way to cook food but never allowing anyone to see the process. Imagine if the only way to figure out how to cook any kind of food was by trial and error, and sharing that method was prohibited because Big Corp B can bankrupt you. If everyone has access to a recipe, no one can corner the market and do whatever they please with that recipe. Trade secrets are pure anti-competitive and selfish in nature, that is severely limiting the ability of others to improve and criticize it.

  • @akshaypendyala
    @akshaypendyala Год назад

    The image at the end is going to give me nightmares

  • @dieshimitigert6758
    @dieshimitigert6758 Год назад

    Thsi is my source of tech news!!! Thanks fireship :D

  • @maciejzettt
    @maciejzettt Год назад +9

    Until we're certain it IS the production code, it's only SOME code released by Twitter under Musk. Who knows whether they will ever implement any community-sourced changes.

    • @ttrss
      @ttrss Год назад +5

      "the linux of social media" this video is a big miss imo

  • @JellySword8
    @JellySword8 Год назад +143

    I've never cared for or used twitter in the past but honestly if does move in the direction he's speculating it to then it sounds like something that could end up being awesome

    • @mrgyani
      @mrgyani Год назад

      Thats nonsense. Probably more of a sarcasm. Twitter has lost rep, advertisers, revenue and users. Has fired 70% of the staff ruthlessly. Elon keeps implementing weird rules & policies, and the website is buggy and has had several issues since the takeover.
      Its an absolute disaster and I cannot wait to move away as soon as an alternative arrives..

    • @CottonInDerTube
      @CottonInDerTube Год назад +1

      Until you get banned for not told reason.
      I prefer a page that 1st warns me, and 2nd tells me what i am doing wrong.
      Otherwise its a pre-const-waste-of-time.

    • @JellySword8
      @JellySword8 Год назад +2

      @@CottonInDerTube Sounds totally unrelated

    • @tamnker8465
      @tamnker8465 Год назад

      @@CottonInDerTube I'm assuming the reason companies don't tell you any of this is that it allows for even the slightest bit of a legal handhold, which they do NOT want to give to the huge amount of people they probably ban each day.

    • @DEZK90
      @DEZK90 Год назад

      Sorry but what direction? Make people pay to boost anything will just allow bots and scammers to pay 8 dollars a month for a greater return.
      Open Sourcing some part of the code vs. Mastodon with all Open Source and Self hosting/full control?
      Since Elon took over there was one report after the other of shit going down on twitter...

  • @NaudVanDalen
    @NaudVanDalen Год назад

    0:23 Mastodon kinda looks like Pokemon GO.

  • @pixelstriko1642
    @pixelstriko1642 Год назад +1

    I'm just happy because this might get more people into Scala, a very good programming language.

  • @AveN7ers
    @AveN7ers Год назад +15

    "Designed to uplift independent creators ... Laying the groundwork to become the most trusted name in news." 😂 You my sir are a comedic genius.

  • @Skyvastern
    @Skyvastern Год назад +16

    That's an interesting move by him. However, how do we know that the one in production is exactly same as this open-sourced code?

    • @Liam-vb3xo
      @Liam-vb3xo Год назад

      was the idea directly thought of by him or was it the other staff working at twitter?

    • @devluz
      @devluz Год назад

      Yeah I wanted to comment the same. With linux we download the source code and build the binary. We have proof that we can trust the software. With services like Twitter the code doesn't need to mean anything. Even worse because they haven't published the full source code we can't even create a full build and compare if the public Twitter behaves the same as our locally built one ... I wouldn't really call this transparent.

    • @AlexRetsam
      @AlexRetsam Год назад

      ​@@Liam-vb3xoMusk did have this as a goal before the purchase.

    • @MonkeeSage
      @MonkeeSage Год назад

      We don't, but we get to see how it actually works on a technical level and what kind of data they care about for ranking in general. They might turn the knobs to different values and probably have a few we don't know about, but we get insight into a large portion of a codebase of a billion dollar social media company.

  • @giotto_4503
    @giotto_4503 Год назад +2

    3:30 That's a stupid assumption. Not everyone can just open up a wall of source code and read through it, most especially a Twitter user.

  • @oguz-kagan
    @oguz-kagan Год назад

    thanks. great content.

  • @brianhogg358
    @brianhogg358 Год назад +6

    I’m unsure how open sourcing the recommendation engine will in any way position Twitter to become the Linux of social media. Are we expecting a bunch of people to drop it into their Wordpress comment section? For Mastodon to implement it? It’s just a fragment.

  • @mtsurov
    @mtsurov Год назад +4

    Didn't the code get leaked first ?

    • @honkhonk8009
      @honkhonk8009 Год назад +2

      No. That was something else way back I think.
      Elon has been talking about open sourcing it for awhile ever since he was forced to buy it.

    • @nguyenhanh9479
      @nguyenhanh9479 Год назад +3

      a fraction of a fraction of code. wouldn't do jack sh*t tbh.

    • @mtsurov
      @mtsurov Год назад

      Appreciate the clarification

  • @brucewayne2480
    @brucewayne2480 Год назад

    Wow ! How how much time does it take to understand the code base ?

    • @sa1t938
      @sa1t938 Год назад

      depends on how familiar you are with whats its using and recommendation algorithms in general. In short, just go take a look at it

  • @fullmetaltheorist
    @fullmetaltheorist Год назад +2

    Mark my words scammers will now have an easy way to promote their scams.

  • @user-ef8bf5xk9b
    @user-ef8bf5xk9b Год назад +7

    Every huge social media website should be at least this transparent if not more...

    • @tuckerbugeater
      @tuckerbugeater Год назад

      They'll soon be connected by blockchain id. You won't need to worry about keep secrets online.

  • @robert_2866
    @robert_2866 Год назад +9

    I do like this approch, as big media do provide good value on news but lack in credibility of the source. More source of a news is a plus.

  • @mateocucurull9598
    @mateocucurull9598 Год назад

    It seems as a good idea to check it to start a new mass's control project!

  • @rifaldhiaw
    @rifaldhiaw Год назад

    Just realized fireship hit 2M subscriber 🥳