34 Followers
61 Following
142 Posts
HPC C++ team lead, works at DOE but opinions my own
An evaluation of risks associated with relying on Fortran for mission critical codes for the next 15 years

https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-UR-23-23992

Fortran Discourse
floating point: NaN and infinity
Well, if today is any indication there’s one thing SpaceX can do that NASA definitely can’t: Have a massive and much-hyped spacecraft blow up spectacularly after launch and then the camera pans to everyone applauding wildly and saying, “Wow, what a great test, we learned so much!” instead of “Wow, how dangerous and irresponsible, NASA has lost its touch, we can’t trust them, maybe should give all its money to some upstart company.”
To make it easier to learn how to use #FluxFramework we started a new "cheat sheet" with commands that might be handy! 👉 https://flux-framework.org/cheat-sheet/. Click any to copy paste! 🪩 And if you'd like to contribute or request additions, please let us know! https://github.com/flux-framework/cheat-sheet
Flux Cheat Sheet

I think it's interesting to talk about floating point's "safe zone" (things you can do with floating point that are Completely 100% Fine Actually) because I think sometimes folks see that floating point is weird and kind of... overreact and treat it as a Magical Thing that could unexpectedly break at any time.
“there are only 2^64 floating point numbers, of course they’re weird, it’s a miracle that it even works at all” was such a big a-ha moment for me the first time someone pointed this out to me

trying to figure out a title for this "how your CPU represents integers and floating point numbers" zine

so far the best idea is "inside the machine: integers and floating point" but that's not great

is there a site like https://float.exposed for utf-8? Like where you paste in a UTF-8 string and see how it's broken up into Unicode code points?
Float Exposed

Floating point format explorer – binary representations of common floating point formats.

dude fuuuuuuck javascript. been using it for a course project and, after using strongly-typed langs pretty much my entire life, I can confidently say: this language blows!

the other day I had an issue where not all of my vertices were getting to the GPU (webgl moment), despite the code looking fine compared to the working objects I had. as it turned out, I was passing an argument list instead of a vec3 for some vertices, but instead of putting up a huge "hey GENIUS, pass a vec3 here" error like literally any reasonable language, the page continued to render with absolutely 0 indication as to where the fault might be