Work in progress: 82,651 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #1146

A

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.

Visit the blog
91mentions?
5recommend?
59HN people?
2007–2026first – last linked?
Links on Hacker News per year · peak 16 in 2011

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.

The author on HN?

a1k0n · 1,974 karma · member since 2007

the obfuscated C donut guy. https://www.a1k0n.net/

From their public HN profile, which links to this site.

Most-linked posts?

  1. Donut math: how donut.c works (2011)
    18 people · 19 mentions · first linked 2018-07-13
  2. Donut math: How donut.c works
    6 people · 6 mentions · first linked 2012-10-01
  3. Fast indoor 2D localization using ceiling lights
    4 people · 4 mentions · first linked 2021-01-25
  4. Playing Fasttracker2 .XM files in JavaScript
    3 people · 3 mentions · first linked 2015-11-09
  5. Playing Fasttracker 2 .XM files in JavaScript
    2 people · 4 mentions · first linked 2018-04-05
  6. Embellished Donut in Obfucsated C
    2 people · 3 mentions · first linked 2011-07-09
  7. 3D rendering on an Arduboy
    2 people · 2 mentions · first linked 2017-02-02
  8. /2006/09/15/obfuscated-c-donut.html
    2 people · 2 mentions · first linked 2023-08-29
  9. How the Winning Tron Bot Works
    2 people · 2 mentions · first linked 2011-08-02
  10. ASCII animated donut in obfuscated C
    2 people · 2 mentions · first linked 2011-07-09

What Hacker News says?

  1. 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”
  2. Submitted Pure Silicon Demo Coding: No CPU, No Memory, Just 4k Gates as a story · 415 points

    HN discussion
  3. next, 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”
  4. Submitted Yahoo Logo ASCII Animation in 462 bytes of C (2011) as a story · 247 points

    HN discussion
  5. Not 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”
  6. Submitted Donut math - How donut.c works as a story · 237 points

    HN discussion
  7. That'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”
  8. Submitted Interesting C code as a story · 225 points

    HN discussion
  9. The 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”
  10. Submitted Fast line-following robots as a story · 207 points

    HN discussion
  11. you 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”
  12. Submitted Donut math: How donut.c works as a story · 204 points

    HN discussion
  13. I'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”
  14. Submitted From ASCII to ASIC: Porting donut.c to a tiny slice of silicon as a story · 162 points

    HN discussion
  15. Thanks. :) 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”
  16. Submitted Google AI Challenge: Winner post-mortem and source code as a story · 146 points

    HN discussion
  17. huhtenberg · 2011-07-09Recommends
    http://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”
  18. Submitted Playing Fasttracker2 .XM files in JavaScript as a story · 138 points

    HN discussion
  19. Wow, 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”
  20. Submitted Donut.c Without a Math Library as a story · 135 points

    HN discussion
  21. The 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”
  22. Submitted Donut math: how donut.c works (2011) as a story · 121 points

    HN discussion
  23. Cool. 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”
  24. Submitted How the Winning Tron Bot Works as a story · 113 points

    HN discussion
  25. Fast 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”
  26. Submitted ASCII animated donut in obfuscated C as a story · 81 points

    HN discussion
  27. Haha. 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”
  28. Submitted JavaScript XM Player as a story · 65 points

    HN discussion
  29. 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”
  30. Submitted Lisp REPL in Vendetta Online as a story · 55 points

    HN discussion

Search all of HN for a1k0n.net

Linked by the same people?