Aaron Starling
banner
shipmeto.space
Aaron Starling
@shipmeto.space
Software Engineer. I can turn any topic into an expensive hobby.
PDF is a valid game engine
I made a Doom source port that runs within a PDF file.

PDFs support Javascript, so Emscripten is used to compile Doom to asm.js, which is then run within the PDF engine. Input/output is done by manipulating text input fields.

doompdf.pages.dev/doom.pdf

github.com/ading2210/do...
January 13, 2025 at 9:32 PM
I’m more of an is-string guy myself.
Javascript has the most lazy developers😅😅This is pretty odd
January 9, 2025 at 3:29 AM
Did you know CSS is on the path to support Functions and Mixins?

Forget debating whether HTML is a programming language, it’s time to tackle the growing beast that is CSS.

github.com/w3c/csswg-dr...
January 8, 2025 at 4:47 PM
Me when I’m preparing dinner.
So glad to have you around Spice!
January 7, 2025 at 9:17 PM
Not only is it more performant but we also get bounds checking with the at() method!

Very easy way to make your code less error prone and cleaner with a simple switch from length-1.
You can now use arr.at(-1) to get the last element of an array in JavaScript. This beats arr[arr.length-1]. But I think the index of the last element should be -0 😁
January 7, 2025 at 8:39 PM