dwcnnnghm
Joined 9 years ago
Joined 9 years ago
From Rob Pike’s blog: https://commandcenter.blogspot.com/2020/01/utf-8-turned-20-y...
With length, I find that most of my use cases are division into equal parts as opposed to scaling. The imperial system was designed for this (frequently using base 12) [1]. I understand that this may be due to my framing.
I agree with the sibling comment about temperature granularity. Fahrenheit set 0 degrees to the coldest temperature in his hometown, then used freezing water and body temperature as reference points. 100 degrees is about body temperature, and around as hot as ambient temperature gets for many people.
[0] Useless trivia: an acre is one chain (66’) by one furlong (660’) and was supposed to be the amount a field a single ox could plow in a day. Neither of the latter two measures are commonly used anymore but a mile was redefined from 5000’ to 5280’ to make it an even 8 furlongs.
[1] Apparently this is the reason that the French failed twice to establish Metric Time
[0]https://apps.apple.com/lv/app/72-seasons/id1059622777
[1]https://play.google.com/store/apps/details?id=jp.co.heibonsh...
[2]https://www.kurashikata.com/72seasons/
[3]https://apps.apple.com/id/app/72-seasons-nara/id1163139998
[4]https://play.google.com/store/apps/details?id=jp.co.heibonsh...
---
My interest in neatroff is mostly the code itself. A tiny and opinionated project with readable source that still achieves quite a lot (all that I need anyways). But it's definitely not for everyone! The author doesn't use a windowing system, for example, and instead uses the framebuffer for pdf viewing and editing (both custom implementations). It is ISC, by the way. It's included in the bottom of the readme.
You should at least check out the neateqn guide for examples of math typesetting (even output in Computer Modern). But the original guide, as well as the others will show many more and different examples. These aren't groff guides. You might be surprised.
The authors of eqn wrote a paper about it: "Typesetting Mathematics" by Brian Kernighan and Lorinda Cherry. Kernighan also wrote two manuals (one in 1976 with a revision in 1992, and one in 2007 with updates for the Plan 9 version). [5].
[0] utf8 was developed by Ken Thompson and Rob Pike during the creation of Plan9. The entire OS is compatible. Story here: http://doc.cat-v.org/bell_labs/utf-8_history
[1] http://man.cat-v.org/plan_9/1/eqn
[2] https://github.com/aligrudi/neatroff
[3] PDF manual for neatroff: http://litcave.rudi.ir/neatroff.pdf
[4] https://n-t-roff.github.io/heirloom/doctools.html
[5] These (and more) can be found here: http://www.kohala.com/start/troff/troff.html
[0] The Dream Machine by Waldrop
For the next level up here's Ken (in a very interesting conversation with Brian Kernighan about the history of Unix) describing McIlroy:
> McIlroy keeps coming up. He's the smartest of all of us and the least remembered (or written down)... McIlroy sat there and wrote ---on a piece of paper, now, not on a computer--- TMG [a proprietary yacc-like program] written in TMG... And then! He now has TMG written in TMG, he decided to give his piece of paper to his piece of paper and write down what came out (the code). Which he did. And then he came over to my editor and he typed in his code, assembled it, and (I won't say without error, but with so few errors you'd be astonished) he came up with a TMG compiler, on the PDP-7, written in TMG. And it's the most basic, bare, impressive self-compilation I've ever seen in my life.
This story, by the way, leads into how Ken created B (and how that was eventually improved by Dennis Ritchie into C).
The post links to Harper's hosted scan of the original printing but it's a little difficult to read. There is a copy meant for screens [2] (under the title Authority and American Usage, subtitled or "Politics and the English Language" Is Redundant, as it was published in his collection of essays Consider the Lobster[3]).
[0] https://news.ycombinator.com/item?id=23581841
[1] https://en.wikipedia.org/wiki/Garner%27s_Modern_English_Usag...
[2] https://github.com/borges-paradise/DFW/blob/master/dfw-autho...