My frustrations with Rust. Why is this the most loved language?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    1w ago 77%

    Even though most of the specifics you point to are wrong, it's a good point overall:

    Rust, being #1, should be better than all other languages. The fact that it's just decent makes it seem overhyped, and all the downvotes on haters make it look like a cult.

    Back when it was small, the cult-like following was OK. But now that the language is becoming more mainstream I think the Rust evangelizers need to tone it down a bit or they risk pushing people away.

    On your point, TypeScript is a decent language too. There can be two good things.

    5
  • My frustrations with Rust. Why is this the most loved language?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    1w ago 100%

    In OP's defense I have heard this said unironically by several engineers at my last job.

    "Rust is going to replace JavaScript thanks to webassembly, so we should be moving all of our code to that."

    "Our client should be in the same language as our backend, just like in GWT"

    3
  • My frustrations with Rust. Why is this the most loved language?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    1w ago 100%

    Did you inline all those types just to make it ugly? Normally each of those subtypes would have been in a separate typedef, each with documentation.

    2
  • Sometimes, it's backwards
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    2w ago 100%

    Apologies for the tangent:

    I know we're just having fun, but in the future consider adding the word "some" to statements about groups. It's just one word, but it adds a lot of nuance and doesn't make the joke less funny.

    That 90's brand of humor of "X group does Y" has led many in my generation to think in absolutes and to get polarized as a result. I'd really appreciate your help to work against that for future generations.

    Totally optional. Thank you

    1
  • Women in STEM
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    4w ago 99%

    We should always add a mental asterisk to the names of male researchers who discovered things while women were oppressed.

    That said, this meme is playing loose and fast with the specifics, which undermines that important message.


    Just picking the first one:

    Payne's work was her Ph.D. thesis and Russell did not tell her not to publish it, her advisor did. The advisor told her not to rock the boat in her thesis. This is good advice that even Einstein was given. Payne, badass, declined.

    When Russell later reproduced her research, he cited her thesis as the "most important research" he'd seen on the subject.

    The real snub with Payne is that her title was "Technical Advisor" for 20 years despite being well regarded as a full time professor. It wasn't until the 50's she was recognized as a professor, when she was also made chair of the department.

    Source: https://www.amnh.org/learn-teach/curriculum-collections/cosmic-horizons-book/cecilia-payne-profile

    145
  • Amazon's Monopoly of the tech industry is ruining the US economy
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    4w ago 60%

    Did 39 people really believe this enough to upvote this? This is easily proven false. Amazon is convoluted because it's old as heck and they hire subpar engineers. Like me. I used to work on the team that made the search page. It sucks because most of us were fresh out of college and had never made a website in our lives.

    2
  • Amazon's Monopoly of the tech industry is ruining the US economy
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    4w ago 83%

    Have you tried buying from aliexpress? It's the same products as on Amazon, but directly from the supplier. Imagine Amazon, but everything's 50% off.

    Source: I'm cheap as heck and buy random trash from them

    8
  • Generative AI is reportedly tripling carbon dioxide emissions from data centers
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    1mo ago 59%

    God damnit not this swill again. It's not even close to triple, it's like 15%. Read. The. Reports.

    For real. Why does this misinformation keep spreading? I have the actual real numbers right in front of me now.

    And it's the same as what MIT Technology Review reported and what Google reported publicly.

    The EU's CSRD requires most of these companies to disclose their carbon emissions. So just go look it up, ya taints.

    8
  • Why I Prefer Exceptions to Error Values
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    1mo ago 100%

    I see your concern, but in practice that's not what happens in languages like Java and Python with exceptions. Not checking for exceptions is a choice because everyone knows you need to check in your top-level functions. Forgetting to catch is a problem that only hits newbies.

    2
  • Why I Prefer Exceptions to Error Values
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    1mo ago 100%

    But the entire point of Rust and Result is... to force you to make a choice of what should happen

    Checked exceptions also force you to handle it and take way less boilerplate.

    3
  • tech
    Tech 1mo ago
    Jump
    Google insists it's easy to add Rust code to your firmware • The Register
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    1mo ago 100%

    Nit: One engineer at a company saying something is not the same as that whole company saying something. I wish they would just say "Google employee insists..."

    9
  • Which protocol or open standard do you like or wish was more popular?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    2mo ago 96%

    Zigbee or really any Bluetooth alternative.

    Bluetooth is a poorly engineered protocol. It jumps around the spectrum while transmitting, which makes it difficult and power intensive for bluetooth receivers to track.

    25
  • memes
    Memes 2mo ago
    Jump
    Costs Less? When That Happened?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKE
    kersplomp
    2mo ago 100%

    Yes. Supplier markup is 50% above cost, so set up a price watch and wait for it to go on clearance. You'll get it 50% off.

    I got mine new at Best Buy last year when they were clearing out M1 stock.

    5
  • thehackernews.com

    "Google has announced plans to store Maps Timeline data locally on users' devices instead of their Google account effective December 1, 2024." "The development is part of a series of changes the company has enacted in response to allegations that it misled consumers and illegally tracked their movements despite turning off Location History from the account settings by taking advantage of the non-obvious Web & App Activity setting."

    42
    6