News for hackers. Stuff that matters.

zellyn

When I tried this with a 6502 (Apple II), it did not work. It was just too underpowered for enough modern algorithms to kick in. It might also be an LLm-driving skill issue of course!

https://github.com/zellyn/8fish

Re:“I just chose words carefully” on Sunday August 30, 2026 @07:58PM (#49504094)
I remember reading Project Gutenberg email updates from Michael S. Hart in the mid to late 90s that were famously formatted like this.

It’s not too hard if you try, once you get in the groove :-)

Re:Fences, Not Sandboxes on Monday August 24, 2026 @07:34PM (#49427271)
Disclaimer: I work at an AI lab [edit: but speak for myself :-)]

The value proposition is an average of 270 commits a day, for $4000/month, and the dramatic improvements to the game Yegge described. Even supposing 2/3 of them are burned on the scaffolding, 90 commits/day (assuming they’re of mostly good quality) would cost multiple engineers, one of which would cost much more than $48k/year.

As another comment said, the ultimate proof will be in the pudding. But I don’t think the value proposition claimed is complicated.

Re:The mathematical beauty of hyperbezier curves on Saturday August 15, 2026 @09:02PM (#49315827)
re: the control points having areas where the curve is unresponsive. IIUC, whereas the control points of a Bezier have direct meaning, this is an attempt at a sensible/usable mapping of synthetic control points to the curve? Which presumably means it could be made much better with some work/exploration? Or did I misunderstand that part?
Re:NP-Overrated on Thursday August 13, 2026 @08:46PM (#49293521)
Yeah, I found hundreds surprising (although not on reflection).
Re:NP-Overrated on Thursday August 13, 2026 @05:46PM (#49292265)
The one that comes to mind is how big your hash maps have to get before all the clever algorithms beat linear scan, and it's surprisingly large on modern computers: linear memory access is _very_ predictable.

The Roc and Zig folks probably have actual numbers.

Anyone know if they’re using the native camera resolution for the zoomed part or doing sensor fusion to get better quality than either alone?
Drone defense? :-)
Re:Dithered QR Codes on Sunday August 09, 2026 @11:22AM (#49232268)
I always think of Russ Cox’s blog posts as canonical here: https://research.swtch.com/qart
Re:Steel Bank Common Lisp version 2.6.7 on Tuesday July 28, 2026 @06:39PM (#49090940)
When I learned (Common) Lisp at Georgia Tech in the summer of 1995, we were encouraged to make as many functions as possible purely functional, and if mutation was needed, to try to hide it within the bounds of a function.

So while Lisp may not be purely functional, the culture hewed that way.

Re:Spatial languages: Writing code in 2D on Saturday July 25, 2026 @12:18PM (#49048885)
I find it endlessly fun that one of the best environments for playing with befunge is written for the zmachine.
Re:The case for MUDs in modern times on Friday July 24, 2026 @08:51PM (#49043430)
I thought it would be fun to do a modern reimplementation of LambdaMoo, but someone already did it in Rust! https://github.com/timbran-project/moor
Re:Which streaming service was that on again on Wednesday July 22, 2026 @01:32PM (#49010370)
Any suggestions on which of these are usable? justwatch.com used to be amazing, but it's increasingly getting enshittified: they seem to be intentionally making their presentation _less_ clear so they can show ads for "similar content available on…" :-(
In my experience, during the phase where you scale up and move from interpreted to compiled code with microservices, someone inevitably benchmarks protobuf vs JSON, and protos come out ahead.

Also, using it as a schema doesn’t totally suck. There are others but proto is… fine.

I have lots of opinions, but don’t feel like spinning up to a full rant here :-)

Re:The Apple Disk II Controller Card on Wednesday July 01, 2026 @05:48PM (#48753583)
For those who don't know, the Disk II Controller Card is considered by some to be the invention that best demonstrates Woz's genius.

It's also a great early example of the massive win you can get by replacing hardware with software (and "software" -- in the form of a state transition table encoded in a small ROM).

It's also one of the reasons there were so many fascinating and weird copy protections for Apple II software: since so much of the behavior was in software on the computer, it was malleable. (Since it uses the CPU for tight timing loops, the Apple II couldn't really do much else while using the disk.) The write-ups by 4am on IA are fun reading if you're into this kind of thing: https://archive.org/details/apple_ii_library_4am

There are some fun projects to record disks at the level of magnetic flux transitions. I'm mostly familiar with https://applesaucefdc.com by the amazing John Keoni Morris, which came with a new file format too, and some lovely UI software.

Strong +1 to Simon Tatham's puzzle collection. One note: the main iOS app is a little wonky in places. I've been using Kyle Swarmer's "Puzzles Reloaded" app, which is a little nicer in places.
Re:Show HN: Are You in the Weights? on Thursday June 18, 2026 @08:39PM (#48593548)
Heh. That's what I get for having a weird name and having been on the internet since like 1993… https://www.intheweights.com/p/zellyn
Ah, interesting. Yeah, I looked at Skulpt a bit, and it looks really nice, although not as compatible as pyiodide, especially for python3. I did consider using it as a fallback if wasm is disabled.
Came here to say this. How can you write an entire article about Chesterton’s Fence without mentioning Chesterton’s Fence?!
My kid was using trinket at school, and the fact that Python 2 was free but Python 3 was paid was so weird and annoying that I created trifling.org (disclaimer: hosted on a tiny Linux box in my laundry room over WiFi, on residential internet!)

It was the first thing I coded entirely with Claude, and absolutely blew me away. (Mostly, it turns out other people already did all the hard parts -- the inspiration was running across a reddit post where someone said they wired together pyiodide and the Ace editor in a few hundred lines of javascript).

This was my first experience of "if you know what you're doing, LLMs can build things well and incredibly quickly". I think MVP took one evening, and then two more rewrites pushed it out to a week or so. (One after I realized fully offline was a worthwhile idea, the second after I realized the backend could be a dumb key/value store with only prefix iteration.)

As mentioned, it's local-first: everything should work perfectly offline after loading it once. Saving is limited to my kid’s school domain at the moment, but it’s super simple to host: just compile the Go binary and put it behind Caddy or something.

Code (which I literally have not read) is at https://github.com/zellyn/trifling

[Edit: p.s. try the avatar editor!]

Oh stop being silly. Yes, the programming language is technically irrelevant in that they’re all Turing complete.

In reality, the programming language tells you all kinds of subtle things: probabilities about the way the software will feel to use, how stable it’s likely to be, how fast, what the author is likely to focus on.

I found one of the best jobs of my life in 2015 by asking “who’s doing interesting things in Atlanta in Go?” Not because I was uncompromisingly settled on Go, but because in 2015, using Go (often) connoted a certain approach, a certain type of engineering, a certain constellation of values.

So please stop pretending the whole gestalt of programming languages and their communities don’t deeply affect the resulting software.

(I say this with no unkindness intended, mostly to all of hackernews)

I once tried to fully analyze the amazing NTSC emulation used in OpenEmulator. I went down a rabbit hole that involved losing motivation several lessons in to a signal processing class on YouTube, but for those interested, I did at least pull quite a lot of it apart here: https://observablehq.com/@zellyn/apple-ii-ntsc-emulation-ope...

I also ported it to JavaScript (linked from above page)

Re:What was your "Oh Shit" moment with GenAI? on Friday June 05, 2026 @08:17PM (#48420038)
I had that keyboard! I actually really like the piano-ish touch. I remember being sad though, when I realized they’d crammed all the sounds into I think 16MB (or was it 8?) and realizing how bad that was even by the late 90s! I think I still have mine in the garage somewhere… good times!
Re:Retro-Tech Parenting on Thursday June 04, 2026 @02:08PM (#48402355)
My kids (12-year-old boy, 7-year-old girl) recently got Tin Can phones, as did several of their friends, and absolutely love them.

One note: you can authorize regular phone numbers for them to be able to call, but only if you pay the subscription ($10/month I think? We didn't do this...)

I know I could build the same thing out of esp32's but it would be a big hassle, and I'd have to build one for all their friends too!

Re:Nobody cracks open a programming book anymore on Tuesday May 26, 2026 @11:58AM (#48281516)
It's not just AI.

I grew up with borrowed ZX Spectrum manuals that detailed the Z80 assembly language, (a clone of) a Red Book that came with the (clone of a) Apple II computer that had assembly listings, and fold-out circuit-board diagrams for the whole computer. I taught myself C++ from the manual that came with Borland Turbo C++ and the Waite Group C book. I laughed out loud at footnotes in the Camel book, which I read from the start through to where it becomes a reference. I read Sedgewick's Algorithms cover to cover for fun when I found it in a local library as a teenager. I borrowed the ancient "build a flight simulator" book from a friend in high school.

I've bought books by Kleppmann, Julia Evans, and Hillel Wayne's in-progress book on proofs. I owned the gang of four design patterns book (although I won't pretend -- like everyone else -- to have done more than skim a few patterns!)

And yet.

For many, many years now every time I've wondered into a bookstore, and meandered over to the fondly-remembered computer books section with a sense of nostalgia, I've just been deeply disappointed and sad. If you're lucky, you'll find one or two books that look worth reading, and the rest is just the product of some giant publishing machine whose sole purpose seems to be to fleece unsuspecting neophytes of their money by pushing on them hastily written books on whatever the current fad is. Often when you look at the publication date and compare it to the release date of the software, it's obvious you couldn't write a _good_ book that fast.

And they're all huge. The C Programming Language, Javascript: the good parts, and The Go Programming Language are just about the only three examples I know of where concision was considered a virtue. Most are just fluffy as hell, which is offensive to the kind of mind that wants to learn a programming language.

Add to that the observation in the article that paper books for programming languages are inherently weird.

So yeah, nobody cracks open a programming book anymore, but there are lots of compelling reasons beside AI, reasons that make you grateful if AI can save you from having to wade through an ocean of dreck.

I can imagine a heavily curated shelf of programming books, and it would be a thing of beauty, a collection of potent fireworks shot into the dark of the unknown. But, like, who would go to Barnes and Noble or whatever and actually see it, and actually buy something?

Re:Rumors of my death are slightly exaggerated on Friday May 08, 2026 @03:50PM (#48067855)
Thanks, this just reminded me to order some Klein Bottles. I realized right after I hit "Finish" that I should have included in the note a big thank you for both the Cuckoo's Egg (reading it and learning about unix systems and teletypes and worms made me feel like I was part of some secret nerdy club in the early 90s… although tbh getting my parents to drop me off every month at the Chattanooga BBS get-together brunch was probably enough nerd cred for the rest of my life!) but also for making Klein bottles and using robots to fetch them and everything: it makes me happy just knowing that the kind-hearted, perhaps slightly off-kilter, counter-cultural nerdery that is part of what drew me into computing is still alive in the world!
Re:Talkie: a 13B vintage language model from 1930 on Monday April 27, 2026 @08:16PM (#47928930)
As we learn how to train smarter models on less data, it’ll become more and more interesting to see whether models like this can invent post-1930 math, science, etc. and make predictions.
https://imgur.com/a/fssIujT

Happy to share source if you like, but it was nothing complicated: - ask aistudio.google.com to draw a bunch of dragons - trace one to svg - make the bracelet a little smaller

Thanks for this! It's really fun. My older kid now has a vanilla sliderule bracelet. The younger is getting a smaller bracelet of the same design, but with dragons on it :-)

Older »