News for hackers. Stuff that matters.
Re:DB48X: High Performance Scientific Calculator, Reinvented by roflmaostc on Monday November 04, 2024 @12:32PM (#42043912)
somehow doesn't work on my Ubuntu Firefox 131.0.3 but works on my Arch 132.0.
Re:DB48X: High Performance Scientific Calculator, Reinvented by Aardwolf on Monday November 04, 2024 @02:23PM (#42045122)
Same, shows JavaScript error:

"Uncaught ReferenceError: SharedArrayBuffer is not defined at db48x.js:615:40"

Both in Chrome and Firefox (both are up to date to versions way beyond where SharedArrayBuffer should have been introduced)

I think they should either use ArrayBuffer, or use https instead of http, apparently SharedArrayBuffer has security restrictions

Re:DB48X: High Performance Scientific Calculator, Reinvented by c3d on Wednesday November 06, 2024 @06:28PM (#42071191)
SharedArrayBuffer is necessary to run multiple threads with EmScripten.
Re:DB48X: High Performance Scientific Calculator, Reinvented by thought_alarm on Monday November 04, 2024 @03:01PM (#42045471)
Re:DB48X: High Performance Scientific Calculator, Reinvented by grantmnz on Monday November 04, 2024 @02:50PM (#42045392)
Apparently, for security reasons, your server needs to add certain headers if you want to use SharedArrayBuffers.

https://hacks.mozilla.org/2020/07/safely-reviving-shared-mem...

Re:DB48X: High Performance Scientific Calculator, Reinvented by c3d on Wednesday November 06, 2024 @06:28PM (#42071192)
This is done on that page, though on some browsers it requires an explicit page reload. This works with Mozilla 132.0, just tested on Fedora 41.
Re:DB48X: High Performance Scientific Calculator, Reinvented by c3d on Wednesday November 06, 2024 @06:28PM (#42071193)
This works with Firefox 132.0, tested on Fedora 41 right now.