HNHacker News
TopNewBestAskShowJobs

jamsinclair

18 karma · joined October 8, 2017

submissionscomments
jamsinclair··on We replaced Node.js with Bun for 5x throughput
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.

jamsinclair··on Ode to Jump 'n Bump (1998 video game)
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.
jamsinclair··on Ode to Jump 'n Bump (1998 video game)
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.

jamsinclair··on Why Tokyo Works
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.
jamsinclair··on MusicKit JS
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.
jamsinclair··on Encoding your WiFi access point password into a QR code
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...