Daniel Hooper @danielchooper.bsky.social · 09/02/2026I wrote a UI library in C that can lay out 95000 items at 60fps. The library is 566 lines of C, and the application-specific ui code is 998 lines. Works on mac, windows, and linux. 270
Daniel Hooper @danielchooper.bsky.social · 01/07/2025Ok, here's the new way I recommend to do type safe generics in C. It's cleaner compared to my old function-pointer-cast approach, avoids the undefined behavior everyone is so paranoid about, and doesn't require typeof() 161
Daniel Hooper @danielchooper.bsky.social · 01/07/2025Hacked together a weird spiral Mario game prototype 040
Daniel Hooper @danielchooper.bsky.social · 30/06/2025New Post: How I Write Type Safe Generic Data Structures in C danielchasehooper.com/posts/typech... 1193
Daniel Hooper @danielchooper.bsky.social · 04/06/2025I like this comment in the source of /usr/bin/dtruss. It provides context with a "Hey dorks, don't mess with my code" kind of energy. 010
Daniel Hooper @danielchooper.bsky.social · 21/05/2025Not a good sign when fixing a bug requires editing a file with this at the top 040
Daniel Hooper @danielchooper.bsky.social · 15/05/2025This was written by a filmmaker about color science, but it applies just as well to the software industry's dependency problem 010
Daniel Hooper @danielchooper.bsky.social · 14/05/2025Github needs this notification option Tired of getting pinged every time a random person adds their two cents to a Github issue I follow. 030
Daniel Hooper @danielchooper.bsky.social · 11/04/2025TIL that CRT "pixels" can have only a portion illuminated, unlike LCD pixels. (Seen on the top and bottom edge of this 'P') 030
Daniel Hooper @danielchooper.bsky.social · 11/04/2025Today I bought an old TV for visual reference. Played Balatro to see how the game's CRT emulation compared to a real Cathode Ray Tube. Sadly details aren't legible on a 13" TV, and the emulation's scanline/phosphor pattern isn't realistic, but it nails the chromatic aberration. 130
Daniel Hooper @danielchooper.bsky.social · 14/03/2025My article titles keep getting longer. I don't know what to make of this. 020
Daniel Hooper @danielchooper.bsky.social · 13/03/2025I'd guess that 93.732% of JavaScript devs don't know about bitmasks. I used them to speed up my sudoku generator. 190
Daniel Hooper @danielchooper.bsky.social · 13/03/2025I designed a new sudoku variant in which every cell has a different shape. Try it here: danielchasehooper.com/posts/cracke... 592
Daniel Hooper @danielchooper.bsky.social · 07/02/2025Thanks to everyone that got it to the front page of hacker news news.ycombinator.com/item?id=4295... 040
Daniel Hooper @danielchooper.bsky.social · 06/02/2025TIL: Perlin Noise was invented as recently as 1983, and its inventor, Ken Perlin, is still alive. Feels like something that could’ve been invented centuries ago by some French dude. 070
Daniel Hooper @danielchooper.bsky.social · 04/02/2025I'm publishing a blog post tomorrow that I've been working on over several months. The post has a built in shader editor. I made an animated Rick with it lol 020
Daniel Hooper @danielchooper.bsky.social · 08/11/2024How I made a 3D Modeler in C. Link to full video in replies 120
Daniel Hooper @danielchooper.bsky.social · 08/11/2024My quake map loader / viewer written from scratch, in C 010