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
    G

    Greg Lehey

    lemis.com · Personal blog · on HN since 2008

    Greg Lehey, a longtime BSD developer who hosts Unix history documents, the Lions Commentary and writing on porting software.

    Visit blogHN submissions
    HistoryOpen Source & LinuxRetro Computing
    What HN says

    HN links it for the Lions' Commentary on UNIX 6th Edition, the ancient Unix source license, and the history of the BSD daemon logo.

    Stats for nerds
    40HN people shared it
    26linked in comments
    353story points
    Jan 2026last shared
    2010people per year2026

    Top posts on HN

    1. 1
      Hacking ls -l
      1 person · 199 points · first shared 2012 · 88 comments on HN
    2. 2
      A Commentary on the Sixth Edition of the Unix Operating System (1977)
      10 people · 101 points · first shared 2010 · 19 comments on HN
    3. 3
      Commentary on the Sixth Edition Unix Operating System
      12 people · 21 points · first shared 2011 · 1 comments on HN
    4. 4
      Lisp's 'car' doesn't mean 'Contents of the Address Register', as many think
      1 person · 13 points · first shared 2009 · 3 comments on HN
    5. 5
      A Commentary on the Unix Operating System (Version 6, UNSW '77) [pdf]
      4 people · 4 points · first shared 2010 · 2 comments on HN
    6. 6
      The average intelligence of computer users
      3 people · 3 points · first shared 2010 · Discussion on HN
    7. 7
      Porting Unix Software (2005)
      1 person · 3 points · first shared 2019 · Discussion on HN
    8. 8
      Cups
      1 person · 2 points · first shared 2020 · Discussion on HN
    9. 9
      How the Internet will be different 20 years from now, in 2034
      1 person · 2 points · first shared 2014 · Discussion on HN
    10. 10
      No fun any more
      1 person · 2 points · first shared 2011 · Discussion on HN

    What HN people wrote when they linked it

    • black_knightApr 2015

      Emacs is the only officially supported interactive Agda environment, as other people have noted.

      However, I have written a lot of Agda code in other editors (acme and vim). It is certainly feasable to do! In fact I find that it improves my code quality not to use the interactive features. When in interactive mode, I blindly chase the goal trying to get the correct type, and often end up going long detours. When I am on my own I get a better overview of the situation, and can often see the shortest path.

      That said, I wish they would continue to support agda interactive mode on the command line, as it is nice to be able to evaluate expressions in context of a hole.

      Writing unicode is a breeze with XCompose, in any UTF8-enabled editor. I found a nice XCompose file based on the Plan 9 keyboard file, by Pmarin. It can be downloaded from «Greg 'Groggy' Lehey»'s site:

      http://www.lemis.com/grog/programs/XCompose

    • walterbellMay 2015

      (1) Lions on Unix (PDF and source), http://www.lemis.com/grog/Documentation/Lions/index.php

      http://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th_Edition,_with_Source_Code

      "Lions' Commentary on UNIX 6th Edition, with Source Code by John Lions (1976) contains the complete source code of the 6th Edition Unix kernel plus a commentary. It is commonly referred to as the Lions book. Despite its age, it is still considered an excellent commentary on simple but high quality code."

      (2) Harper's dictionary of classical literature and antiquities (1898), 1750 pages, https://archive.org/details/harpersdictiona00peckgoog

      (3) Oxford English Dictionary (1888), 15000 searchable page scans in a Windows app, https://archive.org/details/oed11_201407

    • rstFeb 2019

      Of possible (mostly historical) interest at this point, a similar commentary on a fairly early version of the original Unix kernel, by an Australian cs prof named John Lions -- which was very widely circulated among CS students in the '80s, despite this being technically in violation of AT&T's copyright on the book.

      It's availble online here:
      http://www.lemis.com/grog/Documentation/Lions/index.php

      Note that the code is written in a very archaic dialect of C, and for hardware that didn't support paging in any form (just swapping). Nevertheless, it was an important introduction for a lot of people at the time, not just to the basics of OS implementation details, but also, how to find your way around a nontrivial sized codebase.

    • ludwigvanNov 2010

      This led me to the already mentioned APUE book, written by Stevens. I was saddened by his loss at a yound age of 48. http://www.salon.com/technology/feature/2000/09/01/rich_stevens

      That article led me to this:

      http://www.salon.com/technology/feature/1999/11/30/lions/index.html which is another fantastic read.

      You can read about Lions' efforts here: Lions' Commentary on UNIX 6th Edition, with Source Code http://en.wikipedia.org/wiki/Lions_Commentary_on_UNIX_6th_Edition,_with_Source_Code

      http://tinyurl.com/2k9rwr (If the link above doesn't work)

      The commentary is available as a PDF file here: http://www.lemis.com/grog/Documentation/Lions/book.pdf

    • AnimatsOct 2014

      Yes, there is.

      John Lion's "A commentary on the Sixth Edition UNIX Operating System", goes through the PDP-11 UNIX kernel line by line.

      http://www.lemis.com/grog/Documentation/Lions/book.pdf

      Page 37, Section 7.13, "newproc":

      1906: Call "xswap" (4368) to copy the data segments into the disk swap area. Because the second parameter is zero, the main memory area will not be released.

      1907: Mark the new process as "swapped out".

      1908: Return the current process to its normal state.

    • spijdarJan 2026

      If your argument is that Caldera might not actually have the rights to UNIX in the first place to grant the license, that's fair.

      But the license they provided (http://www.lemis.com/grog/UNIX/ancient-source-all.pdf) explicitly names versions 1, 2, 3, 4, 5, 6, and 7 of UNIX for the 16-bit PDP-11. Yes, these versions originated at AT&T (Bell Labs) but are distinct legally from SysIII and SysV UNIX, also from AT&T, which are explicitly not covered by the Caldera license.

    Related

    Lundukelunduke.substack.com91 people

    The computers used to do 3D animation for Final Fantasy VII in 1996

    Lunduke
    Personal · last shared 2026
    Aphyraphyr.com551 people

    Hexing the technical interview (2017)

    Aphyr
    Personal · last shared 2026
    Matt Palmerhezmatt.org/~mpalmer21 people

    How I tripped over the Debian weak keys vulnerability

    Matt Palmer
    Personal · last shared 2025
    Matthew Garrettmjg59.dreamwidth.org306 people

    I stayed in a hotel with Android lightswitches and it was as bad as you'd think

    Matthew Garrett
    Personal · last shared 2026
    Chris Siebenmannutcc.utoronto.ca/~cks388 people

    Go is Google's language, not ours

    Chris Siebenmann
    Personal · last shared 2026
    Rudd-Orudd-o.com17 people

    How ZFS continues to be better than Btrfs.

    Rudd-O
    Personal · last shared 2026
    Dustyclouddustycloud.org72 people

    Racket Is an Acceptable Python

    Dustycloud
    Personal · last shared 2026
    Eric S. Raymondcatb.org/~esr667 people

    The Art of Unix Programming

    Eric S. Raymond
    Personal · last shared 2026