revisiting some of my pre-AI blog posts

first up is my sokoban solver

currently trying to hillclimb my way to a SOTA solver with the latest models πŸ§—
0
0
5
333
really glad y'all like this one

I'll go decompile some more of my fav games!
0
0
8
237
I spent a few days decompiling my favorite childhood game, Fast Food Tycoon 2, and figuring out:

β€£ world rendering
β€£ sprite animations/character movement
β€£ light mechanics

so much to dig through and discover the dev team were on fire here: healeycodes.com/decompiling-fa…
1
1
15
836
Replying to @healeycodes
pizzeria pipeline!
1
0
0
93
Replying to @healeycodes
plus how the game AI scores your pizza designs!
0
0
0
50
the stronger the searcher, the more dangerous metadata about the existence of an answer becomes

in security: "just a rumour of a bug is enough to find an exploit these days"

in chess: Carlsen would be MUCH stronger with just one bit per game: "this position is critical"
0
0
1
194
I wrote about the performance of LLM tokenizers

like most things you want to go fast, it's better to use compact contiguous state instead of complex data structures!

healeycodes.com/what-makes-llm…
0
1
15
650
I wanted to write a blog post titled (provocatively) "We Could Have Had Coding Agents in 2019"

I used the GPT‑2 XL weights (no post-training) and backported several later agent-design breakthroughs (action/observation loops, filesystem tools, etc.)
1
0
9
441
Replying to @healeycodes
but GPT-2 can't reliably emit JSON, or call tools in a meaningful way.

the only hint of agency came from leaning into text completion: Programmer β†’ ACTION, Computer β†’ observation, etc.

to get it to fix tests, the examples were so close to the answer that it was kinda useless
2
0
2
193
Replying to @healeycodes
however, I haven't given up and have high hopes for "We Could Have Had Coding Agents in 2Μ΄0Μ΄1Μ΄9Μ΄ 2021"
0
0
3
95
I added πšπšŽπšπšŽπš› to the typescript compiler

but along the way, I realised that what I want is different syntax for πšžπšœπš’πš—πš

I just want to be able to write:

πšžπšœπš’πš—πš πšŠπš πšŠπš’πš πšœπšŽπš–πšŠ.πšŠπšŒπššπšžπš’πš›πšŽ()

but you can't

↧

healeycodes.com/adding-defer-t…
0
1
13
954
two sum in lisp is actually really cute
3
0
7
364
new post!

I wrote a tiny compiler that lowers simple kernel loops into explicit data-parallel code (lanes! masks!)

ofc I made up a language to make the input/output code easier to read
1
0
4
633
quickjs is GOATed

delightful API surface

I was able to hack together a tiny runtime and event loop v quickly with it
1
1
24
1,670
Replying to @healeycodes
healeycodes.com/building-a-run…

hope you've been enjoying the C posts
0
0
2
228
I built a tiny shell with C so I could learn more about syscalls and pipes

great fun

I found C to be quite suited for the task (fork, execvp) ... until I had to manage some string lifetime stuff πŸ₯²
2
4
49
3,787
Replying to @healeycodes
read my notes and code snippets and thoughts
healeycodes.com/building-a-she…
0
0
6
301
glad y'all like this one 🫑
0
0
18
821