• xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    341
    ·
    11 months ago

    Elon Musk loves to speak confidently about shit he knows nothing about. This leads to him being a confident speaker on every topic… I just wish we could figure out a way to shut him up.

      • Bonehead@kbin.social
        link
        fedilink
        arrow-up
        174
        arrow-down
        3
        ·
        11 months ago

        The rockets are fine. SpaceX has a team specifically designed to distract Musk and keep him away from the actual work on the rockets. Tesla didn’t have that though. That’s how we ended up with that lame presentation with the weird “S3XY” acromin. That was really the point I realized that he was just an idiot frat boy with too much money. He really is his own worst enemy.

      • hemmes@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        11 months ago

        Maybe I’m out of the loop - what’s he been saying about software?

        • Ephera@lemmy.ml
          link
          fedilink
          arrow-up
          54
          ·
          11 months ago

          One example that stuck with me is that he said some shit along the lines of 80% of Twitter’s microservices being superfluous and he’ll be shutting them off.

          Yes, the dev teams just spent 4/5 of their time building shit no one asked for. It just annoys me so much, because anyone with basic reasoning should be able to work out that this cannot possibly be the case, but it’s easy to give it the benefit of the doubt.

          Well, except that many, many Twitter outages followed.

          • MajorHavoc@programming.dev
            link
            fedilink
            arrow-up
            21
            ·
            edit-2
            11 months ago

            Well, except that many, many Twitter outages followed.

            Yeah. As a software dev, it was pretty awkward explaining this to colleagues who rely on Twitter/X.

            “It sounds like you think Twitter is a software company and that Elon is utterly unqualified to run a software company. That can’t possibly be true, right?”

            …Then we end up doing the “Concerned Padme” meme…

        • Squibbles@lemmy.ca
          link
          fedilink
          arrow-up
          41
          ·
          11 months ago

          When he took over twitter there was a bunch of stuff he was spouting about things like Twitter’s stack needing a full rewrite and such. Going so far as to fire the engineer that challenged him on it during a live spaces thing if I recall correctly.

          • floofloof@lemmy.ca
            link
            fedilink
            English
            arrow-up
            15
            ·
            edit-2
            11 months ago

            He also seems to have the idea that the best developer is the one who produces the most code. That shows a pretty major lack of understanding of how software development works. Sometimes the best day is when you produce negative amounts of code.

          • hemmes@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            11 months ago

            Oh. This post’s image has him talking types in January and the “obligatory” image above has someone saying he’s been talking software in December, so I thought maybe Musk has been spewing about software for a few weeks or something.

            • Squibbles@lemmy.ca
              link
              fedilink
              arrow-up
              14
              ·
              11 months ago

              December from '22 not '23. The image was from a few months after he took over twitter and was still going on about that stuff and how it was doing all these useless things that needed to be removed or rewritten. I just remembered another one about how he was going on about a single request to twitter causing thousands of RPCs or something? I think that’s not really unheard of in a microservices infrastructure and it’s not like they’d be synchronous. There’s probably tons of calls that go to things like tracking, analytics, or cross DC sharing I would imagine for such a large and high volume service like twitter.

      • aberrate_junior_beatnik@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        11 months ago

        If reacting to something always makes it more likely to occur, you have just made reacting to things Elon Musk says more likely to occur.

        • squirmy_wormy@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          edit-2
          11 months ago

          The irony isn’t lost on me, but it’s not always. It’s just a good way to handle attention seeking people that you don’t want to seek attention anymore.

    • derpgon@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      11 months ago

      Well, looking at ChatGPT and other LLMs, they also lie confidently. Maybe there is a correlation and Elon is just a poor AI.

    • LillyPip@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      Oh, thanks for pointing that out.

      I was formulating an angry rebuttal in my head, then saw your comment and realised I hadn’t noticed the username. Of course it’s Musk. That’s rebuttal enough.

  • Thorry84@feddit.nl
    link
    fedilink
    arrow-up
    260
    arrow-down
    1
    ·
    11 months ago

    Yes the compiler/interpreter can figure it out on the fly, that’s what we mean by untyped languages. And as stated both have their merits and their faults.

    Elon doesn’t know what the words mean and just chimes in with his AI future BS.

    • Blue_Morpho@lemmy.world
      link
      fedilink
      arrow-up
      71
      ·
      11 months ago

      And as stated both have their merits and their faults.

      Yes! Just because a compiler could guess the type doesn’t mean it should. Elon didn’t understand the meme at all.

    • janAkali@lemmy.one
      link
      fedilink
      English
      arrow-up
      52
      arrow-down
      4
      ·
      edit-2
      11 months ago

      Yes the compiler/interpreter can figure it out on the fly, that’s what we mean by untyped languages.

      Are there untyped languages? You probably meant ‘dynamically typed languages’.

      But even statically typed languages can figure out most types for you from the context - it’s called ‘type inference’.

      • nul@programming.dev
        link
        fedilink
        arrow-up
        70
        ·
        11 months ago

        Most of my code is untyped. First I type it, then I realize it’s all wrong and use backspace to untype it.

      • Thorry84@feddit.nl
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        11 months ago

        Well that would depend on the definition and what you exactly mean by untyped.

        The untyped part is usually referring to the way the programmer interacts with the language, for example not setting a type for variables and parameters. But then there is the question of is the programmer ever allowed to explicitly set the type. And further more, if the programmer explicitly set the type, does this mean the type can’t change at a later point? And another question could be, can the programmer check or enforce what type a variable or parameter is? And the question, if there is only one type of data in the language, would that be a typed or untyped language? But I would consider these to be details and all fall under the untyped umbrella, with untyped just meaning not-typed.

        Then there’s the question of the technical implementation of the language. Defining a language is one thing, actually having it run on a real system is another. Usually technical systems at some point require explicit types. Something somewhere needs instructions on how to handle the data and this usually leads to some kind of typing instructions being added along with the data. But depending on how many abstraction layers there are, this can soon become a very pedantic discussion. I feel what matters is the design, definition and intend of a language. The actual technical implementation isn’t what matters in my opinion.

        I feel like there are so many programming languages and technical systems at this point, every variation and exception exists. And if you can think of one that doesn’t exist, expect a follow up comment of somebody pointing out it does exist after all, or them having started a project to make it exist in the near future.

        • Poutinetown@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          Would you say OCaml or any ml family language would be untyped since they have type inference?

          • Thorry84@feddit.nl
            link
            fedilink
            arrow-up
            3
            ·
            11 months ago

            From what I know about those I would consider those to be typed languages. Even if the programmer doesn’t explicitly assign the types, he needs to be aware of them and take into account what type something will be. I am familiar with F# and it’s strongly typed for example.

    • hemmes@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      11 months ago

      Even in untyped can’t you explicitly set your type either with declarations or wrapping the value in quotes for a string or something?

      • cucumber_sandwich@lemmy.world
        link
        fedilink
        arrow-up
        23
        ·
        11 months ago

        Programming term. Variables in programming languages can hold different types of data, such as whole numbers, floating point numbers or strings of characters (“text”). Untyped languages figure out on the fly what can and cannot be done to the content of a variable, while typed languages strictly keep track of the type of content (not the value) to catch bugs and improve performance, for example.

      • RagingRobot@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        11 months ago

        By typed they mean declairing a type for your variables.

        In some languages, variables needs to be told what kind of data they can hold. That’s it’s type. For instance a number without decimals would be an integer type. While text might be a string type or a list of character types.

        Other languages don’t require types and sometimes don’t even support them. They will just infer the type from the data that’s in the variable.

        If you see Elon Musk please explain this to him.

      • jtk@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Might be able to call assembly untyped. Everything beyond that I think would be called either statically or dynamically typed, maybe weakly typed?

    • Tja@programming.dev
      link
      fedilink
      arrow-up
      73
      arrow-down
      3
      ·
      11 months ago

      I was one of those. In my defense, 2012-2015(ish) he really was doing cool things. Tesla and Space X were super innovative and brought optimism. Then a time traveler stepped on a bug, the whole Thailand pedophile fiasco happened and it went downhill from there. Now we have yokes, dumb turn signals and the whole cybertruck, not to mention removing ultrasound sensors to save a few cents and the whole Twitter debacle. At least space X is still somehow unfucked?

      In case it helps… I’m sorry.

      • SpaceCowboy@lemmy.ca
        link
        fedilink
        arrow-up
        23
        ·
        11 months ago

        I think the problem was he started to believe his own hype that he was a super-genius that knew everything about everything.

        I mean I don’t know the nitty gritty details of building an electric car or building rockets. But neither does Elon Musk. Which would be fine except that he tries to talk about these things like he does understand all of the details. Nobody knows everything about everything, it’s only an idiot that tries to act like he does.

        But then he tries talking like he’s an expert in a field I am familiar with and it’s like… there’s points people could make on this subject, but that’s not one of them.

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          9
          ·
          11 months ago

          Same. Can’t judge about auto industry or rocket science, but I know a thing or two about software. And… Yeah, everything he’s said about Twitter internals (and sw dev in general) is brain dead.

      • Got_Bent@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        11 months ago

        If it’s a Netflix adaptation, then wouldn’t it be an overly drawn out true crime documentary?

        • MrMcGasion@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          11 months ago

          We could always start a theory that Elon is the Zodiac Killer. He probably doesn’t deserve that level of notoriety, but it would make for an overly drawn out crime documentary. Just bring in some “experts” off of Ancient Aliens, along with the phrase “could it be” so you have some standing when you’re inevitably sued for slander.

          • Passerby6497@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            11 months ago

            How can we start a rumor that ElMu is the Zodiac Killer when everyone knows that Rafael “Ted” Cruz was the Zodiac Killer?

    • molave@reddthat.com
      link
      fedilink
      arrow-up
      9
      ·
      11 months ago

      At least around 2015 when SpaceX landed a rocket for the first time, it really does look like he’s the real life Tony Stark. People change, sometimes for the worse.

    • EnderMB@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      11 months ago

      That one line in Star Trek Discovery is more hilarious by the day. I have no fucking idea what the writers were thinking.

    • dangblingus@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      It didn’t hurt that he was in Iron Man 2. Pepper for some reason is bending over backwards to be deferential to him in the early Monte Carlo scene.

    • Marxism-Fennekinism@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      edit-2
      11 months ago

      Well, Tony Stark is a fictional character in a fictional universe, so real science or how the real world works in general don’t need to apply to him and he only needs to conjure up some cool sounding tech words for the audience and the plot will do the rest. So Elon Musk is indeed like Tony Stark, only issue is he is also indeed the real life version so has no plot to back him up and all the rules of real life still apply.

    • bane_killgrind@lemmy.ml
      link
      fedilink
      English
      arrow-up
      36
      arrow-down
      7
      ·
      11 months ago

      Musk wants Twitter to fail. He bid on it for a laugh and when his bid was accepted he tried to get out of it.

      They made him buy it and he’s been butthurt ever since. He wants everyone involved to suffer, because then the decision to hold him accountable was a bad decision.

      He doesn’t give a fuck about people, or technology, or even the money he sunk on it. So it looks like he’s shaving his eyebrows to spite his face. It doesn’t hurt, so he doesn’t care.

      • mindbleach@sh.itjust.works
        link
        fedilink
        arrow-up
        24
        arrow-down
        1
        ·
        11 months ago

        4D chess isn’t real. Sometimes, rich and powerful people do dumb things. Sometimes they’re not very smart and have a visible personality disorder. Searching for an underlying clever motive is an exercise in your intelligence - not theirs.

      • CileTheSane@lemmy.ca
        link
        fedilink
        arrow-up
        19
        arrow-down
        1
        ·
        11 months ago

        He’s not hurting the people who made him buy it.

        If he really wanted to be rid of it he could have instead done nothing. Put someone in charge with the impossible task of “make this profitable in 5 years” and then shut it down after 5 years because “it’s not profitable”.

        Showing his ass to the world and ruining future potential for investment by looking like an incompetent idiot is not a “secretly intelligent move”.

        • bane_killgrind@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          Sure he’s not hurting them, but he’ll still keep riding the pony into the ground, because he owns it, he’ll do what he wants. He’s not making intelligent moves, because his choices aren’t reasoned they are just whims.

      • paholg@lemm.ee
        link
        fedilink
        English
        arrow-up
        13
        ·
        11 months ago

        What? The people who made him buy it got paid already. I’m sure they’re laughing every time they see it drop in value.

        • johannesvanderwhales@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          11 months ago

          They’re probably doubly laughing because he fired them for supposed incompetence, yet Elon tanking the price is evidence that they were doing a much better job. You could very well see a suit for wrongful termination in the future.

  • QaspR@lemmy.world
    link
    fedilink
    arrow-up
    105
    ·
    edit-2
    11 months ago

    Clearly this man has never read a book on type theory or compiler construction.

  • Skates@feddit.nl
    link
    fedilink
    arrow-up
    93
    arrow-down
    6
    ·
    11 months ago

    I constantly feel the need to argue with this dumb fuck and his 99% wrong opinions. I usually have to take a step back, remember it’s not worth it, and then move on. It would be a great help if I had a Firefox add-on that precedes all of musk’s tweets with "retard weighing in: ", just as a reminder that he’s also allowed a point of view, despite his mental issues.

  • barsoap@lemm.ee
    link
    fedilink
    arrow-up
    65
    ·
    edit-2
    11 months ago

    For the curious, this is about as easy as it gets for proper type inference. You could leave out the one or other thing (most prominently, polymorphism), but that kind of stuff would hardly qualify as even a toy example.

    I won’t claim that J. Random Hacker will have issues understanding it – it’s a neatly tied bundle of necessary complexity without any distracting parts (like efficiency), if you sit down with the thing (ideally starting the whole series from the beginning) you’ll be able to grok it (and have learned a lot). However, understanding HM isn’t the same as being able to extend it, which includes proving soundness of the system, that kind of stuff is a specialised field within a specialised field within academia with more open questions than answered ones. The reason Rust doesn’t have HKTs? Because their interaction with lifetimes is insufficiently understood. Those kinds of questions can easily start 20+ years of research only to be answered with “yep that’s inherently unsound/uncomputable/whatever”.

    Oh, EDIT, forgot: AI-enabled typing is obviously a completely braindead idea. I don’t need a second lazy, impatient, hubristic idiot looking at my code, I need something to catch mistakes. Something deterministic, rule-based, pure unerring logic. Which is exactly what type systems are and do.

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      11 months ago

      AI-enabled typing is obviously a completely braindead idea.

      I agree. However, and I know I’m practically reading tea leaves here, but I read that last line as a suggestion that AI would replace programming outright.

    • dangblingus@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      4
      ·
      11 months ago

      Apparently he thought the conversation was about whether or not a compiler can understand a type at compile time. The answer is yes. Yes they can. But I’d love to see Elon struggle through the description of why he thinks it’s “easy” and why what he said is relevant.

      • merc@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        whether or not a compiler can understand a type at compile time

        In many / most(?) compiled languages that’s because the type is specified at compile time. With interpreted languages that’s often not the case, and in that case determining the type can be extremely hard.

    • hemmes@lemmy.world
      link
      fedilink
      English
      arrow-up
      26
      ·
      edit-2
      11 months ago

      Actually on second thought, let’s just give him a marble notebook and crayons and tell him that’s JavaScript.

      • Kata1yst@kbin.social
        link
        fedilink
        arrow-up
        7
        ·
        11 months ago

        A notebook and crayons? I think you’d just get back stick figure-esque drawings of cybertrucks with notes like “bulletproof” and “anti-gas attack”.

        Just like the poor Tesla design team.

    • petersr@lemmy.world
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      11 months ago

      Well, according to the first biography about him, he was coding quite a lot in Zip2 and perhaps also some in early PayPal. Bit the code was supposedly hastily written and very bad.

      • MajorHavoc@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        11 months ago

        Neat! To save others a search, “Post Production - Ground Control” turned up for my search.

        Edit: If I ever worked on a Sega CD game, I would wear that as a badge of pride. It wasn’t a good game system, but it was an interesting era in the history of gaming.