Top all-time · #1146
Andy Sloane
Personal blog · a1k0n.net · on HN as a1k0nprogramminggames
Andy Sloane's personal blog at a1k0n.net covers programming and games. Since 2007, 59 different Hacker News readers have linked it 91 times, most often “Donut math: how donut.c works (2011)”. It is still writing: the last post was on 2025-12-19, and you can follow it by feed.
Too few sampled comments (29) to say how often HN recommends it.?
Why HN links it
HN readers link a1k0n.net mostly for 'Donut math', an explanation of how the spinning ASCII donut C program works. Google AI contest postmortems, an Arduboy 3D rendering post and an indoor localization post also come up.
- Recommended for · 5 comments
- The donut.c explanation breaks down everything the code does; called "very interesting" and "don't miss"; recommended for Google AI contest research; "highest a
Summarised by Claude from a sample of 29 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Donut math: how donut.c works (2011)18 people · 19 mentions · first linked 2018-07-13
- Donut math: How donut.c works6 people · 6 mentions · first linked 2012-10-01
- Fast indoor 2D localization using ceiling lights4 people · 4 mentions · first linked 2021-01-25
- Playing Fasttracker2 .XM files in JavaScript3 people · 3 mentions · first linked 2015-11-09
- Playing Fasttracker 2 .XM files in JavaScript2 people · 4 mentions · first linked 2018-04-05
- Embellished Donut in Obfucsated C2 people · 3 mentions · first linked 2011-07-09
- 3D rendering on an Arduboy2 people · 2 mentions · first linked 2017-02-02
- /2006/09/15/obfuscated-c-donut.html2 people · 2 mentions · first linked 2023-08-29
- How the Winning Tron Bot Works2 people · 2 mentions · first linked 2011-08-02
- ASCII animated donut in obfuscated C2 people · 2 mentions · first linked 2011-07-09
What Hacker News says?
Similarly: http://www.a1k0n.net/2011/07/20/donut-math.html
Comment linking /2011/07/20/donut-math.html
on “This page is a truly naked, brutalist HTML quine”Submitted Pure Silicon Demo Coding: No CPU, No Memory, Just 4k Gates as a story · 415 points
HN discussionnext, adapt https://www.a1k0n.net/2011/07/20/donut-math.html
Comment linking /2011/07/20/donut-math.html
on “I keep making things out of checkboxes”Submitted Yahoo Logo ASCII Animation in 462 bytes of C (2011) as a story · 247 points
HN discussionNot a bad chiptune either: http://www.a1k0n.net/code/jsxm/#Ghidorah_-_Toilet_story_5.xm
Comment linking /code/jsxm/
on “ARRIS Cable Modem Has a Backdoor in the Backdoor”Submitted Donut math - How donut.c works as a story · 237 points
HN discussionThat's a bit of a hat tip to donut.c: https://www.a1k0n.net/2011/07/20/donut-math.html
Comment linking /2011/07/20/donut-math.html
on “Twenty Eighth International Obfuscated C Code Contest”Submitted Interesting C code as a story · 225 points
HN discussionThe quintessential example is donut.c. I was amazed when I first came across it. https://www.a1k0n.net/2006/09/15/obfuscated-c-donut.html
Comment linking /2006/09/15/obfuscated-c-donut.html
on “Making a Python interpreter in 1024 bytes”Submitted Fast line-following robots as a story · 207 points
HN discussionyou may enjoy this article, where the author of a really clever bit of obfuscated C breaks down everything the code is doing. https://www.a1k0n.net/2011/07/20/donut-math.html
Comment linking /2011/07/20/donut-math.html
on “A random dungeon generator in C, small enough to fit on a business card”Submitted Donut math: How donut.c works as a story · 204 points
HN discussionI've written several raytracers and rasterizers that are smaller than 200 lines of C++, though quite likely they're worse pedagogically than Jacco's (slashdotted, but available at https://web.archive.org/web/20220615174927/https://jacco.omp... ) tutorial, and they also don't illustrate useful optimizations. Hopefully, what mine lack in cluefulness and performance they make up in breadth, diversity, and brevity: they…
Comment linking /2011/07/20/donut-math.html
on “GPU ray tracing tutorial – 10 articles”Submitted From ASCII to ASIC: Porting donut.c to a tiny slice of silicon as a story · 162 points
HN discussionThanks. :) I'm most proud of my IOCCC 2006 winner (the IOCCC organizers announced the winners, but not the actual entries, then disappeared from the planet): http://a1k0n.net/2006/09/20/obfuscated-c-donut-2.html
Comment linking /2006/09/20/obfuscated-c-donut-2.html
on “Interesting C code”Submitted Google AI Challenge: Winner post-mortem and source code as a story · 146 points
HN discussionhttp://a1k0n.net/2006/09/15/obfuscated-c-donut.html Jesus Christ. I love you, dude. Your site must have the highest awesomeness-per-bit ratio on the Internet :)
Comment linking /2006/09/15/obfuscated-c-donut.html
on “Interesting C code”Submitted Playing Fasttracker2 .XM files in JavaScript as a story · 138 points
HN discussionWow, really the best email address spam protection method [0]: _=0;k;main(){while(_<641){for(k=0;"##K#8(38D-##C]L5870.X7\\M_b;90\\" "MC-M/NZGB6Q,I0VGB6a0FbN<VG.6Q\\bNb7^@`X=N@`XQaOVX:^]NX=:Z8PY]B`:>P" "NY8^$#SM):XA"[_/6]-35>>_++%6&1;k++);putchar(k[" _/\\\n,`)('<-"]);}} [0] - bottom of OP's homepage https://www.a1k0n.net/
Comment linking /
on “Fast line-following robots”Submitted Donut.c Without a Math Library as a story · 135 points
HN discussionThe canvases are just some javascript code which draw to the 2d context after a requestAnimationFrame(): https://www.a1k0n.net/js/steering.js Sure, that sounds good!
Comment linking /js/steering.js
on “Fast line-following robots”Submitted Donut math: how donut.c works (2011) as a story · 121 points
HN discussionCool. But yours outputs 16-bit signed audio whereas by default /dev/dsp outputs 8kHz 8-bit unsigned audio, so it sounds a little bit different. Also, http://www.bemmu.com/music/index.html beat you to it and http://wurstcaptures.untergrund.net/music/ also does URL-formulas :). (As an aside, bemmu's is creating a 16-bit signed .WAV data from 8-bit signed functions, so it isn't doing it quite right either. Why not just…
Comment linking /code/audiogen.html
on “Algorithmic symphonies from one line of code”Submitted How the Winning Tron Bot Works as a story · 113 points
HN discussionFast Tracker 2 in javascript: https://www.a1k0n.net/2015/11/09/javascript-ft2-player.html
Comment linking /2015/11/09/javascript-ft2-player.html
on “Impulse Tracker source code now available on GitHub”Submitted ASCII animated donut in obfuscated C as a story · 81 points
HN discussionHaha. It didn't say that before, because he hadn't officially won yet. It's actually been propagated from Tron: http://a1k0n.net/2010/03/04/google-ai-postmortem.html
Comment linking /2010/03/04/google-ai-postmortem.html
on “Winner of 2011 Google AI Challenge Describes Released Code”- of · 2015-11-19
Submitted JavaScript XM Player as a story · 65 points
HN discussion His expression of surprise is a reference to the winners post-mortem last round. http://www.a1k0n.net/blah/
Comment linking /blah/
on “Lisp developer walks away with Google AI contest”Submitted Lisp REPL in Vendetta Online as a story · 55 points
HN discussion