HNHacker News
TopNewBestAskShowJobs

unwind

12,395 karma · joined March 23, 2009

Bearded hacker from Sweden. Learned M68k assembly on the Amiga in the late 80s. Compiling C on a 7 MHz CPU was slow. Working as a contracting software developer since almost 10 years, enjoying visiting various parts of the software world.

I hang out a lot on Stack Overflow: http://stackoverflow.com/users/28169/unwind, mainly answering questions about C. I love C.

submissionscomments
unwind··on Raleigh Vektar Restoration (2020)
Meta: I think the word "Bike" in the title would be helpful, for those few not into 80s kids' things.
unwind··on CAPTCHAs don't prove you're human – they prove you're American
Fire hydrants don't exist, they're just part of that cool media-pushed picture of some mythological place where things are ... weird and different.
unwind··on Fixing the Portobello Police Station Clock
Big Clive (a Youtuber from Scotland) often reverse-engineers circuits, resulting in him drawong the schematic in purple sign marker, often while commenting on the virtues (or lack thereof) of the design.

I was just starting to think "doesn't Big Clive visit Edinburgh periodically?" and then OP's suggestion scrolled into view. :)

Sounds like a great video idea for him, really.

unwind··on What Sun got wrong
Awesome, thanks!
unwind··on What Sun got wrong
* [...] some bumpf [...]*

Uh, as in "excessive paperwork", like brochures/leaflets [1] about the new products? Not a native speaker, had a parse error I'm just trying to resolve ...

[1]: https://www.reddit.com/r/EnglishLearning/comments/1hlbxv7/co...

unwind··on Recreating Voodoo Graphics and a Late-1990s Gaming PC on an FPGA
Do note that this very cool project does not run on the "default" MiSTer hardware. This board is $250 from AMD.
unwind··on Don't let anyone take away your big box of cables
I like your idea of a wild night out!

Note to others: that tester board looks fairly passive, i.e. I don't see (mention of) a microcontroller to talk to the chip that high-powered cables must have. So I guess it's somewhat limited in the number of things it can check?

unwind··on Creativity is the new moat
Meta: isn't it still 2026 pretty much globally? When did we switch from only labelling older articles with their year?
unwind··on A Stupid Idea for AI Alignment We Came with by Looking at Specification Gaming
Meta: the loss of the word "up" from the title also does not help in its parsing.
unwind··on Open Battery Information
Very cool, even though it's limited to Makita LXR at this point.

I think the home page is LLM-aided, the design looks very familiar and wording like

[...] no software to install, nothing to set up. Plug in an Arduino, flash the firmware [...]

gives me pause. I am an actual embedded software engineer, and I would not classify finding, wiring (with resistors!) and flashing a microcontroller board as "nothing to set up".

unwind··on Building an interactive instrument for a one-of-a-kind festival
As someone without musical ear but a healthy respect for makers of instruments of all kinds, this was a great article!

I tend to think that the bar for building e.g. a small synth is like those by mitxela [1], with a tiny microcontroller running C on the metal.

Then the author here uses multi-threaded Python to schedule notes and do millisecond-length powering of 30+ solenoids and make thousands of people feel it's a proper instrument?! Wow!

[1]: https://mitxela.com/projects/silly_synth

unwind··on WebFPGA
Presumably small FPGA boards, like the $47 one in the linked article

Small boards have less I/O pins than larger boards typically, and small/cheap FPGA chips on small boards are also more limited than larger, more expensive parts.

Edit: precise price.

unwind··on A Badass Way to Connect Programs Togther What Is OSC?
Cool! Couldn't see an obvious publishing date, but the Github repo and comments imply this lacks a "(2015)" tag.

Edit: syntax.

unwind··on How does IKEA come up with names for its products?
I'm firmly in camp dad joke, but since Ü is a German letter that is not part of the Swedish alphabet, may I suggest you learn how to say RÄKSMÖRGÅS and update the joke?

The patched version might even work on some Swedish-speakers if you nail the pronounciation! :)

unwind··on How does IKEA come up with names for its products?
To reiterate on another comment that would make no sense to Swedish speakers. Å is a distinct letter, with a different and unique vowel sound. It is in no way "a slightly different kind of A".

Your suggestion sounds a bit like spelling Apple like AIILE and using the circles to form a cool infinity symbol. Or something.

unwind··on Classic Amiga titles, free to download
Wow this is really cool!

Epic to see that it has "No Man's Land" [0] and really really weird feeling to read the readme. No idea why it's listed as a "17 Bit" title though, perhaps they distributed it at some point but they certainly were not involved in creating it. Source: I wrote it. Fun times.

Edit: formatting.

[0]: https://amigafreeware.downer.tech/17bit/17bit/1423

unwind··on Ported my C game to WASM, here's every bug that I hit
Nah I'm still against repeating the type name all over the place, and the cast adds nothing good imnsho.
unwind··on Ported my C game to WASM, here's every bug that I hit
Meta: a space is missing in the title.

Since this is one of the bugs, I always recommemd writing

    game->boardPieces = swAlloc(sizeof(ThingHandle*) * row * column);
Like this instead:

    game->boardPieces = swAlloc(sizeof *game->boardPieces * row * column);
It's not 100% better, but it cuts out a few tokens which helps readability and moves the significant asterix further left where I think it's easier to spot.
unwind··on Mechanical Pencil: An illustrated celebration of the engineering around us
Meta: confusing typo in title. Mods , please fix penciN -> penciL. Thanks.
unwind··on Fc, a lossless compressor for floating-point streams
Can you elaborate on how it detects and signals if it runs out of output buffer space? I couldn't see how the amount of available space was even communicated to `fc_enc()`.

Also there some "C icks" (to me, I'm very picky and used to know the standard awfully well from answering many SO questions) that you might want to look into. The two I remember now are the casting of `void` pointers from allocation functions, and (worse) the assumption that "all bits zero" is how a NULL pointer is represented.

unwind··on Pinocchio is weirder than you remembered
Probably [1], from 2025.

[1]: https://www.penguin.co.uk/books/31374/pinocchio-by-collodi-c...

unwind··on How I leared what a decoupling capacitor is for, the hard way
Meta; typo in title, should be "learNEd".
unwind··on Tempest vs. Tempest: The Making and Remaking of Atari's Iconic Video Game
This is fantastic, thank you for doing this. I hadn't thought of the poor Jaguar in ages! Heh.

Found a tiny typo, this sentence from quite early (page 17):

Notice how apparently wasteful this file format is: some of the triplets contain only byte.

I think the word "one" is missing before the final "byte".

unwind··on Fixing a 20-year-old bug in Enlightenment E16
Fun post! Very happy to see a 20-something year old find and fix bugs in an X11 wm from before they were born. Gives me hope.

There was some kind of editing snafu though, the loop header in the big (first) code block reads:

    for (i = 0; i < 10; i++, nuke_count++)
But the references to it in the text, and updated versions in the patches, show it as just

    for (;;)
That was confusing me a bit.
unwind··on Rice Theory: Why Eastern Cultures Are More Cooperative (2014)
How about "R, G, B Mars" [1], then?

[1]: https://en.wikipedia.org/wiki/Mars_trilogy

unwind··on Animated Knots
As a ultra noob in the art of knotting, I liked this when I stumbled over it a few weeks back. I agree that for newbies it would be even more instructive with smoother flows, I guess they're held back by the animations being photos and not, well, animations.

I also have read their backstory/naming thing [1] several times but I still don't quite get it. I first thought they were related to the historical Grog, but that was a misunderstanding. I think.

[1]: https://www.animatedknots.com/grog-story

unwind··on Minichord: A pocket-sized musical instrument
Meta: This is a very messy title, it should just be "The minichord: a pocket-sized musical instrument" or something like that. We have the github info in the auto-generated blurb right after the title, after all. Thanks.
unwind··on MicroPythonOS graphical operating system delivers Android-like user experience
Reasonably, that language is MicroPython [1] which is the special pared-down version of Python for memory-constrained embedded targets.

[1]: https://micropython.org/

unwind··on Defeating a 40-year-old copy protection dongle
Just a few months back I worked in embedded development on a project and there was a physical dongle to unlock the compiler, which was surprising during on-boarding as I've spent years doing commercial embedded work relying on GCC. :)
unwind··on Declassifying JUMPSEAT: an American pioneer in space
“The historical significance of JUMPSEAT cannot be understated,” said Dr. James Outzen, NRO director of the Center for the Study of National Reconnaissance.

I'm no native speaker but that is backwards, right? Shouldn't it be overstated if it was a success?

Page 1 of 34Next →