jamsinclair
Re:We replaced Node.js with Bun for 5x throughput
on Monday April 06, 2026 @12:35AM (#47657049)
The bun build creates a large self-contained executable with no optimisations. Almost like a large electron build.
Deno also provides the same functionality, but with a smaller optimized binary.
Appreciate Bun helping creating healthy competition. I feel like Deno falls under most people's radar often. More security options, faster than Node, built on web standards.
Re:Ode to Jump 'n Bump (1998 video game)
on Friday January 05, 2024 @05:09AM (#38877461)
I know other people have had success compiling the source to WebAssembly with pretty good success, but it's harder to customise in the ways that I wanted.
Re:Ode to Jump 'n Bump (1998 video game)
on Friday January 05, 2024 @05:07AM (#38877450)
Thanks! Great question, the port is quite primitive. It was mostly manual work of copying each function and manually massaging it to JavaScript. TypeScript did a lot of heavy lifting alerting me to various issues and allowed safe refactors.
From there it was adding additional glue code to ensure it worked in the web context and canvas rendering.
Ode to Jump 'n Bump (1998 video game)
Re:Why Tokyo Works
on Saturday November 06, 2021 @08:42PM (#29135315)
As a local, I can assure you many Japanese do jaywalk in Tokyo. Perhaps it's slightly less frequent and considerate compared to other countries.
Re:MusicKit JS
on Saturday February 22, 2020 @07:25PM (#22394273)
A 99 USD commercial web API. This one, and their other endpoints, require being part of paid Apple Developer program. I understand, but it's frustrating if you're wanting to play around or use in free open source.
Re:Encoding your WiFi access point password into a QR code
on Sunday December 29, 2019 @05:00AM (#21905101)
For those concerned about entering your network info into an online qr tool, some time ago I attempted a minimal JS and transparent site for generating these codes (https://github.com/jamsinclair/wifiqr).
Or I suppose just use the cli tools, as mentioned, for extra safety...