Better HN
topnewbestaskshowjobs
Log inSign up

jamsinclair

18 karma · joined Oct 8, 2017 (9y ago) · 8 submissions

Submissions

comment 7mo ago · link · parent

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.

2.

Show HN: Jump 'n Bump DOS classic rebuilt for the browser with Gamepad API(jumpnbump.net ↗)

2 points · by jamsinclair · 8mo ago · discuss

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

5.

Ode to Jump 'n Bump (1998 video game)(jamie.tokyo ↗)

2 points · by jamsinclair · 2y ago · 3 comments

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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...