Email or username:

Password:

Forgot your password?
Top-level
Jason Sando

@thomasfuchs YIKES

I've built embedded apps that run 24/7 on Chromium and would say it works great 95% of the time. And the 5% it doesn't you will have no chance to figure out where in the 35 MILLION LINES OF EXTRA CODE YOU DIDN"T NEED is the problem.

9 comments
Linh Pham

@thomasfuchs @jasonsando

I hope the hardware doesn't have an FDIV-like bug layered on top of that

srslypascal

@qlp @thomasfuchs @jasonsando

Actually, node <21.2.0 uses a base64 library that crashes the process with an illegal instruction (caused by a flawed AVX support detection routine) if you're
1. running it on certain Skylake CPUs, and
2. have enabled kernel mitigations for the "gather data sampling" vulnerability.

The fix has not yet been backported to node's 18.x branch.

And Electron <27 contains an *additional* similar bug in node's simdutf because they don't use the latest node 18.x release.

@qlp @thomasfuchs @jasonsando

Actually, node <21.2.0 uses a base64 library that crashes the process with an illegal instruction (caused by a flawed AVX support detection routine) if you're
1. running it on certain Skylake CPUs, and
2. have enabled kernel mitigations for the "gather data sampling" vulnerability.

𝖆𝖒𝖆𝖗𝖔𝖐 πŸ‡¨πŸ‡ΏπŸ‡ͺπŸ‡Ί

@thomasfuchs
πŸ˜ƒ What's also surprisingly funny and dumb: divison by 0 results in "Infinity" in #JavaScript πŸ˜„ (AFAIK this is also connected to the exclusive usage of floating point numbers because the standard says so 🀦). Same division problem exists in more languages with weak types.
@jasonsando

𝖆𝖒𝖆𝖗𝖔𝖐 πŸ‡¨πŸ‡ΏπŸ‡ͺπŸ‡Ί

@Razemix
Exactly! Couldn't remember the name, I knew it was some forgettable alphanumeric code πŸ˜ƒ I've read the docs very briefly 1 yr ago, the infinity nonsense is there. I don't know what's behind it, but mathematically it's utter nonsense, division by zero is undefined and nothing else.
@thomasfuchs @jasonsando

Jargoggles

@jasonsando @thomasfuchs
"Works 95% of the time" is good enough for space travel, right?

Kent Borg

@jasonsando @thomasfuchs I just realized (I am dim sometimes): the same era that is ruthless about deleting "dead code" (I'm not allowed to leave anything for future use, no "unfinished basements" for computer people like me) is the SAME era that that thinks "programming"=="web", with all that waste of CPU cycles, RAM, storage, bandwidth…

Go Up