ElwoodBlues · M
it's just a skill issue if 6,855 flights all over the world get canceled because someone dereferenced the wrong pointer
My understanding is that the null pointer that was dereferenced by the crowdstrike kernel mode driver was in a file of updated code interpreted by the driver to recognize malware. Only the whole file was zeros!
They didn't do any sanity checks on the file before loading it into the kernel and executing!!
Anyway, back to C++. Somewhere at the back of some bookshelf I have a book called "Effective C++." It's got 55 examples of how the naive way of writing this or that code snippet doesn't do what you intend, plus the right way to write the snippet. There's also at least 1 sequel with many more such items.
After a while, I realized that the whole book is a list of bugs and workarounds!! C++ is full of garden paths or slippery slopes or whatever you want to call them, where the apparently sensible way to write the code is also the WRONG way to write the code!! There's gotta be a better way!!
deadgerbil · 26-30, M
Turns out stop oil was behind it. No flights, no CO2, and the learning tower of pizza rights itself
View 4 more replies »
Elessar · 31-35, M
@deadgerbil Finally everyone will have no other hobbies beyond cycling in the woods!
deadgerbil · 26-30, M
@Elessar *walking
Unless you think rubber and metal production is sin free. It's time to walk lil bro
Unless you think rubber and metal production is sin free. It's time to walk lil bro
Elessar · 31-35, M
@deadgerbil Wait I can't boast with my friends about the distance I traveled anymore because the Garmin servers where I upload the GPS track will be down too
PicturesOfABetterTomorrow · 41-45, M
Here is a wrinkle though. It doesn't matter as long as companies all over the world are still using 50 year old software it doesn't matter if whatever the coding language fad of the day is.
Heck a few years back I worked for the second largest cable company in Canada and their customer database was from 1976 running on a virtual machine on windows.
Heck a few years back I worked for the second largest cable company in Canada and their customer database was from 1976 running on a virtual machine on windows.
Elessar · 31-35, M
@PicturesOfABetterTomorrow It would matter to them because a disaster like CrowdStrike's literally ends up costing them billions (and reputation/trust)
Problem is, as always, "it won't happen to us", or "a rewrite would hurt this trimester's performance"
Problem is, as always, "it won't happen to us", or "a rewrite would hurt this trimester's performance"
PicturesOfABetterTomorrow · 41-45, M
@Elessar Also both in the public sector and private the mentality is what is in the budget for this quarter. Whether it will cost more a year later or 5 is not even part of the discussion.
I would argue the bigger problem with the CrowdStrike fiasco is that one company has so much power all it takes to take down the world is them hiring one incompetent employee.
1 company should lever be in a position to brick 8 million computers globally in the first place.
I would argue the bigger problem with the CrowdStrike fiasco is that one company has so much power all it takes to take down the world is them hiring one incompetent employee.
1 company should lever be in a position to brick 8 million computers globally in the first place.
GlitterEater · 36-40, F
I'm pretty sure the entire banking industry relies on COBOL
eMortal · M
But you know what?! C++ doesn't kill people. People kill people. You can't take away our right!! 😁
basilfawlty89 · 36-40, M
Rust is what's up.
basilfawlty89 · 36-40, M
@Elessar on the front-end with web dev, most of my compilers are rust based now. Turbopack for example.
Elessar · 31-35, M
@basilfawlty89 I'm not 100% sure if it's the case but iirc you can write frontend code in rust and compile it to wasm.
Idk how it manipulates the DOM (maybe there's a library wrapping all the usual JS/browser APIs?) or if it's only used to write bits of "hot" / high performance code, called by the usual JS/TS
Idk how it manipulates the DOM (maybe there's a library wrapping all the usual JS/browser APIs?) or if it's only used to write bits of "hot" / high performance code, called by the usual JS/TS
basilfawlty89 · 36-40, M
@Elessar you can yeah. And they do have dull stack stuff like Hugo. Generally though, I prefer Rust for my tooling and backend, with Typescript and React on the front-end.
DDonde · 31-35, M
So that's what it was
This comment is hidden.
Show Comment











