Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Linus Åkesson

    linusakesson.net · Personal blog · on HN since 2008

    Linus Åkesson writes about programming, Unix internals, music and retro hardware, including The TTY Demystified and Kernighan's Lever.

    Visit blogRSSHN submissions
    ProgrammingOpen Source & LinuxRetro Computing
    What HN says

    Commenters recommend The TTY Demystified as a long but necessary read, and call Kernighan's Lever the best breakdown of that quote.

    Stats for nerds
    290HN people shared it
    202linked in comments
    6.7Kstory points
    Feb 2026last shared
    2019people per year2026

    Top posts on HN

    1. 1
      The TTY demystified (2008)
      38 people · 935 points · first shared 2011 · 46 comments on HN
    2. 2
      The TTY demystified
      26 people · 852 points · first shared 2009 · 40 comments on HN
    3. 3
      A Mind Is Born (2017)
      33 people · 630 points · first shared 2017 · 64 comments on HN
    4. 4
      The Commodordion
      6 people · 519 points · first shared 2022 · 65 comments on HN
    5. 5
      /dev/zero has infinite electrons and /dev/null has an infinite appetite for them
      13 people · 506 points · first shared 2011 · 23 comments on HN
    6. 6
      8-bit Boléro
      2 people · 340 points · first shared 2025 · 46 comments on HN
    7. 7
      Safe VSP – 30 year old Commodore 64 bug demystified (2013)
      9 people · 266 points · first shared 2014 · 22 comments on HN
    8. 8
      Nine – seemingly impossible C64 demo
      2 people · 253 points · first shared 2025 · 62 comments on HN
    9. 9
      The sixtyforgan: Commodore 64 equipped with a spring reverb
      4 people · 215 points · first shared 2021 · 46 comments on HN
    10. 10
      Assembly Routine for Realtime Decoding of Floppy Data
      12 people · 206 points · first shared 2013 · 11 comments on HN

    What HN people wrote when they linked it

    • jayFellowsSep 2022

      > One Dark Pro Darker

      Oh, nice. Will be testing out this one.

      > [...] I just randomly pick on ones in a while

      Oh, interesting. Do you find that it takes a period of time after switching before your eyes become accustomed to the change (from a quick-code-readability perspective)?

      > Some themes work better with one language than the other.

      Yeah, this is the most annoying part for me.

      ---

      I remember reading a post a long time ago praising the benefits of not using syntax highlighting while coding (I'm not sure, but it may have been this one: https://www.linusakesson.net/programming/syntaxhighlighting/). Not sure if I could ever get used to not having syntax highlighting, but so much of what I like/dislike about themes revolves around syntax highlighting... perhaps it's worth testing for a period of time with syntax highlighting disabling (I assume this is even possible?).

    • amiga386Nov 2024

      For anybody wondering "why couldn't they just...", there is a lot of complexity in TTYs and PTYs. The kernel is even involved in line discipline and job control. Those Ctrl+Z or Ctrl+C keys you press? The kernel gets involved.

      It may seem strange that there's a process signal for window-size changes, but that's what was needed back in 1985. There's a similar dance with the Amiga's console.device, but both Unix and Amiga TTYs are better than Windows' terminals where there was no such thing as a PTY until Windows 10, you had to make direct API calls, and even now it's still pretty slow: https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/

      This page is a great overview pf the Unix TTY/PTY subsystem: https://www.linusakesson.net/programming/tty/

    • verytrivialNov 2025

      Another worthy mention in this space is Linus Åkesson's dialog language[1]. From its description:

      Dialog is a domain-specific language for creating works of interactive fiction. It is heavily inspired by Inform 7 (Graham Nelson et al. 2006) and Prolog (Alain Colmerauer et al. 1972). An optimizing compiler, dialogc, translates high-level Dialog code into Z-code, a platform-independent runtime format originally created by Infocom in 1979. Development seems dormant at the moment, but it feels more like Inform 7 'done right' to me. If my brain was a little bigger and calmer I'd be all over it. It has excellent documentation too. Very portable -- I compiled it locally under Termux on my phone with nothing but Clang.

      [1] https://www.linusakesson.net/dialog/index.php

    • pdkl95Jul 2019

      You might be interested in lft's talk[1] - "Poems For Bugs" - about why people are still writing very impressive demos for the C64 and other highly limited platforms. Instead of thinking about programming as functions and objects that divide the problem into simple mostly-independent modules. It's more like trying to write a highly-constrained poem of asm instructions that fit together in incredibly clever ways[2].

      [1] https://www.linusakesson.net/programming/poems-for-bugs/index.php

      [2] e.g. https://www.linusakesson.net/scene/a-mind-is-born/index.php

      edit:

      I love the Zachtronics games "Shenzhen I/O" (easier) and "TIS-100" (MUCH harder/esoteric). They are a great (and fun) way to try asm/microcontroller programming.

    • twicMar 2020

      There's an amazing demo called 'A Mind Is Born':

      https://www.youtube.com/watch?v=sWblpsLZ-O8

      Amazing principally because the whole thing is 256 bytes:

      https://linusakesson.net/scene/a-mind-is-born/

      I never meet anyone who has even heard of the demoscene, let alone come seen this particular work.

      I was at a film festival watching a programme of short films, one of which was the well-made AI-box escape romp 'Watch Room':

      https://www.youtube.com/watch?v=th5uJNB7VU8

      And similarly found my interface with my seat disrupted by the closing credits using the music from 'A Mind Is Born'. This being a festival, the director was there, so i could tell him how much i appreciated the reference!

    • janvdbergDec 2022

      This is great! I’ve been remotely logging into systems for all of my adult life and last week I went on a bit of a bender because I realized didn’t really grasp how these things actually work.

      I am not sure I do now (specifically how SSH ties in to this).

      But at least I now know more about terminals, shells, rawmode and ptms/ptx and more.

      This link right here fits right in with the following ones:

      [0] https://biriukov.dev/docs/fd-pipe-session-terminal/4-terminals-and-pseudoterminals/

      [1] https://www.sobyte.net/post/2022-05/tty/

      [2] http://www.linusakesson.net/programming/tty/index.php

    Related

    Julia Evansxn--rpa.cc16 people

    Everything you ever wanted to know about terminals

    Julia Evans
    Personal · last shared 2026
    Dan Luudanluu.com1.2k people

    We only hire the trendiest

    Dan Luu
    Personal · last shared 2026
    David Givencowlark.com94 people

    Live coding a vi for CP/M from scratch

    David Given
    Personal · last shared 2026
    Vidar Holenvidarholen.net68 people

    Useless Use of "dd" (2015)

    Vidar Holen
    Personal · last shared 2025
    Sergey Bratuscs.dartmouth.edu/~sergey27 people

    Remote Code Execution Through Intel CPU Bugs (2008) [pdf]

    Sergey Bratus
    Personal · last shared 2021
    Chris Wellonsnullprogram.com295 people

    Why Aren't There C Conferences?

    Chris Wellons
    Personal · last shared 2026
    Nibble Stewnibblestew.blogspot.com74 people

    Apple of 2019 is the Linux of 2000

    Nibble Stew
    Personal · last shared 2026
    Random ASCIIrandomascii.wordpress.com274 people

    There are only four billion floats, so test them all (2014)

    Random ASCII
    Personal · last shared 2026