home tags events about rss login

Things happen.

zev honked 05 Nov 2026 02:21 -0800

New pair of hands around the house.

(kid0 is upon us.)

tiny baby hand grasping adult finger

zev honked 18 Oct 2026 22:49 -0700

At 50F outside, the new double-pane windows read 6F warmer than the crummy old single-pane ones. Not bad, I guess? (Though I'm not planning on having the one remaining single-pane still around when it gets significantly colder to be able to compare then, alas.)

thermal image of two windows, one reading 57.4F and the other 51.4F

zev honked back 14 Oct 2026 13:20 -0700
in reply to: https://universeodon.com/users/mathew/statuses/117440992635232330

@mathew @rk

Upon execution, the binary will call real script interpreter (systemwide, bundled or embeded), and fork a child process to pipe script code to the interpreter to execute.

Ah, but that seems like cheating. My bashc hack generates equivalent C code that calls fork, execve, etc. directly itself; /bin/bash doesn't enter the picture at runtime and the source code isn't present in the executable.

zev honked back 14 Oct 2026 03:00 -0700
in reply to: https://mastodon.well.com/users/rk/statuses/117436638264938447

@rk A while back I started toying with implementing the inverse: https://codeberg.org/zevweiss/bashc

I didn't take it terribly far, but getting to the point of being able to bootstrap a shell-to-native-code compiler was fun:

$ cat compiler.sh
./bash --compile /dev/stdout /dev/stdin | gcc -xc - -xnone libbashc.o
$ ./bash compiler.sh < compiler.sh
$ mv a.out shtoelf
$ echo '/bin/echo hello world' | ./shtoelf
$ ./a.out
hello world

zev honked 25 Sep 2026 16:30 -0700

So, so, so tired of reviewing LLM-generated PRs whose authors don't seem to have reviewed them themselves.

Your name is on this; if you're going to claim it's your code, at least take some damn responsibility for it.

Sigh.

zev honked 01 Sep 2026 15:50 -0700

A new stapler isn't usually cause for great excitement, but when the old one is that bad (on the left here, utter garbage, not recommended)...it kind of is!

In a dozen or so tests so far, the DeWalt has managed to jam or double-fire a total of zero times, which is about a dozen or so better than the Arrow.

crappy Arrow stapler and so-far decent DeWalt one