04 Jan 26

30 Dec 25

A tool for making web games into “apps” — likely wraps tauri or similar. Seems neat.

by eli 1 month ago

30 Nov 24

In practice, the only thing that makes web experiences good is caring about the user experience — specifically, the experience of folks at the margins. Technologies come and go, but what always makes the difference is giving a toss about the user.

by eli 1 year ago

02 Sep 24

React dot JS, or simply “reaked”, is a not inconsiderable amount of JavaScript, written by some self-styled engineers, to help a website called Facebook undermine democracy, foment genocide, and do whatever else is needed to sell virtual advertising space…

React is useful for making complex interfaces like Facebook’s or for making otherwise simple interfaces, and their underlying codebases, complex like Facebook’s. Rendering the text “hello world” without React requires one text editor and exactly 11 bytes of code. Doing the same with React, via the popular “create-react-app” command line interface, requires over 200MB of Node modules. The continual maintenance and expert calibration needed to run a React application has created a thriving job market.

by eli 1 year ago

05 Aug 24

For years now, though, I’ve been using Tachometer for most browser-based benchmarks. It’s featured in this blog a few times, although I’ve never written specifically about it. Tachometer doesn’t make benchmarking totally foolproof, but it does automate a lot of the trickiest bits. What I like best is that it:

by eli 1 year ago

23 Aug 23

This is a tutorial about writing a broughlike (a small roguelike game similar to 868-HACK or Cinco Paus) from scratch in JavaScript.

by eli 2 years ago saved 2 times

29 Jul 23

In this book, you won’t just see how to use regex in a regex testing tool like regexpal or regex101. You’ll also see how they works in JavaScript. This is what many courses and tutorials tailored for regex in JavaScript lack. As you see how they work using a regex tester, you’ll also see how they work in JavaScript.

by eli 2 years ago

01 Jul 23

So you have a demo in JS. It’s pretty. It’s perfect. It’s 3k in a 1k competition. Well, damn.You start with the obvious and run it through a minifier and you shorten all your variable names to a single character, you get it to 2500 bytes. Great, that’s progress, but you’ve still got 1476 bytes to go. You merge some functions together, fold a couple loops into each other, and soon you’re at 2200 bytes. Long way to go.Rule

by eli 2 years ago

28 Apr 23

If you’re writing anything more complicated than a brief command-line script, reading this should help you write higher-performance, more-secure applications. This document is written with Node.js servers in mind, but the concepts apply to complex Node.js applications as well. Where OS-specific details vary, this document is Linux-centric.

Honestly? I’m saving this because it is a good bit of documentation writing more than it is useful to me as reference.

by eli 2 years ago

23 Apr 23

Pixelbox takes inspiration from fantasy consoles like PICO8 and game creation frameworks like Unity3D.

by eli 2 years ago