[-] 5C5C5C@programming.dev 1 points 30 minutes ago

I don't agree with the previous poster. There's nothing wrong with diving in and figuring things out as you go, especially if that's a way that you commonly like to learn. Everyone has different learning styles, and Rust can fit all those styles.

The main thing to understand is you shouldn't let compilation errors discourage you. You will get a lot of compilation errors. And I mean A LOT. That's okay, it's normal, and it doesn't mean you're dumb or that Rust is an excessively difficult language. It generally just means that there's some new piece of the language for you to learn before you can take your next step.

When you run into compilation errors, just read the error message carefully and see if you can understand what the problem is. Often the error itself will tell you how to fix it, but you should take the opportunity to understand why the fix is necessary. In every case there's a reason that the language is putting limitations on what you're doing. It's to protect you from bad habits that other languages used to let you get away with. So understand what's bad about what you were doing and you'll rapidly grow as a developer.

If you can't figure out what's wrong from the compilation error alone, that's when it makes sense to turn to the book. The error messages will generally include a reference code which you can use to get more details on the nature of the error. Googling that will lead you to online discussions and maybe entries in the Rust book. Otherwise there isn't a real need to read through the book from front to back unless that's a way you like to learn.

[-] 5C5C5C@programming.dev 176 points 3 months ago* (last edited 3 months ago)

Countries ranked in descending order by number of school shootings from 2009-2018:

  • United States: 288
  • Mexico: 8
  • South Africa: 6
  • Afghanistan: 3
  • Brazil, Canada, France: 2
  • Azerbaijan, China, Estonia, Germany, Greece, Hungary, Kenya, Russia, Turkey: 1

One of these is not like the others. This isn't exactly a fact of life in other parts of the world.

Source

[-] 5C5C5C@programming.dev 81 points 3 months ago

Some might not realize that this is necessary to avoid the Australian sandworms. She was just trying to share her culture with us, and we gave her so much grief for it, smh.

[-] 5C5C5C@programming.dev 58 points 3 months ago

People keep saying he's getting worse, but to me he just seems like the same old narcissistic racist asshole that he's always been 🤷‍♂️

Maybe his "charisma", if you can call it that, is faltering a bit, but he may just be off balance from the sudden storm of twists over the past month.

[-] 5C5C5C@programming.dev 110 points 3 months ago

If she loves Jewish people so much then why doesn't she marry 'em?? 🤪

Oh wait...

[-] 5C5C5C@programming.dev 55 points 3 months ago

Nothing is ever better in every conceivable way than the current state of the art.

Probabilistically, sure, but it's not impossible that there has been some piece of knowledge or understanding that's been missing, and that massive breakthroughs are possible once the process is figured out.

I think a fair modern example is LED light bulbs. They are better in every conceivable way than incandescent or fluorescent lightbulbs: they last longer, use less energy, shine brighter, use less toxic materials, and are easy to mass produce. But there were several decades where much of the industry believed that LEDs would never be very useful as a light source because we could only produce red and green, and it was generally believed that a blue LED would be impossible to produce.

Then one guy decided it would be his life mission to invent the blue LED, and the sonuvabitch did it. Now LEDs are the only sensible thing to use to produce light.

It's always possible for this kind of breakthrough to happen, especially in material science where the complexity of how molecules interplay is nearly incomprehensible.

[-] 5C5C5C@programming.dev 57 points 4 months ago

Maybe someone that expresses a little authentic human joy is exactly what the American public needs right now.

[-] 5C5C5C@programming.dev 62 points 4 months ago

It's well established that she has an excellent relationship with her kids-by-marriage, and even became close friends with their bio-mom while attending the kids' extra-curricular activities together.

And my personal favorite part: the kids refer to her as Momala, because step-mom just didn't feel right to them.

[-] 5C5C5C@programming.dev 57 points 8 months ago

Funny how the headline makes it sound like a Rust specific problem, as if the Rust language is unsafe or the core team was incompetent, but then other affected language standard libraries include

  • Erlang (documentation update)
  • Go (documentation update)
  • Haskell (patch available)
  • Java (won’t fix)
  • Node.js (patch will be available)
  • PHP (patch will be available)
  • Python (documentation update)
  • Ruby (documentation update)

So actually this is a vulnerability that originates in Windows, and Rust and Haskell are the only languages that are actually protecting users from it as of right now, with Node.js and PHP to follow.

[-] 5C5C5C@programming.dev 61 points 8 months ago

You're making a logical fallacy called affirming the consequent where you're assuming that just because the backdoor was caught under these particular conditions, these are the only conditions under which it would've been caught.

Suppose the bad actor had not been sloppy; it would still be entirely possible that the backdoor gets identified and fixed during a security audit performed by an enterprise grade Linux distribution.

In this case it was caught especially early because the bad actor did not cover their tracks very well, but now that that has occurred, it cannot necessarily be proven one way or the other whether the backdoor would have been caught by other means.

[-] 5C5C5C@programming.dev 101 points 8 months ago

At least he spared us from Oz becoming a senator. Even with the personality change, he isn't nearly as bad as that grifter. Now hopefully someone can primary him when his seat is available, or better yet maybe someone can convince him to step aside since he's no longer the person he used to be.

[-] 5C5C5C@programming.dev 101 points 8 months ago* (last edited 8 months ago)

By all credible accounts the systemic issues at Boeing predate this CEO by probably 2 decades. Dave Calhoun seems to specialize in "troubled companies", i.e. he has never been anything more than a professional scape goat.

Edit: I didn't do enough research, he hasn't really been CEO at many places, just upper positions like director and board member. Still, the companies he specializes in seem to be the ones with reputations to cannibalize for money by cutting quality and screwing consumers, like GE.

view more: next ›

5C5C5C

joined 1 year ago