Stuff I’ve Read #7

Sun 20 November 2022, tagged: Read

Stuff that I have found interesting over a few weeks of avoiding work.

Dev

Writing a compiler Part 1

Looks like it will be an interesting series

https://m-peko.github.io/craft-cpp/posts/writing-a-compiler-part-1/

Rob Pikes 5 Rules of Programming

Great rules to live by, learning when to break these takes a long time.

https://users.ece.utexas.edu/~adnan/pike.html

Debug Linux Dumps from MSVC

Fascinating idea

https://devblogs.microsoft.com/cppblog/blizzard-diablo-iv-debugs-linux-core-dumps-from-visual-studio/ and now it’s been ported to macOS as well https://devblogs.microsoft.com/cppblog/microsoft-office-team-uses-remote-macos-debugging-capability-in-visual-studio/

TinyGrad

Small deep learning framework in Python

https://github.com/geohot/tinygrad

WebUI

Another tool linking application code to a HTML UI. The python bindings interested me.

https://webui.me/

GNU Make Standard Library

Wow, this looks super useful but I hope I never need to write another raw makefile again.

https://github.com/jgrahamc/gmsl

Textualize

Pretty nifty library to make nice UIs in the Terminal.

https://github.com/Textualize/textual

Tech

MikeOS

MikeOS is an operating system for x86 PCs, written in assembly language. It is a learning tool to show how simple 16-bit, real-mode OSes work, with well-commented code and extensive documentation

https://mikeos.sourceforge.net/

Motorola Power Stack

Looks pretty sweet!

https://www.wolfeden.org/unix-museum/motorola/powerstack.html

Write Your Own Git

Interesting to see a simple git implementation. Well worth reading or maybe even implementing?

https://wyag.thb.lt/

Write your own editor in C

Another very interesting step by step tutorial.

https://viewsourcecode.org/snaptoken/kilo/01.setup.html

ChibiCC - “hobby” C11 compiler

I look forward to the book

https://github.com/rui314/chibicc

ZFS Boot Menu for Linux

Much to the annoyance of Linux zealots there are other OSes that deliver interesting tech that Linux can learn from.

https://zfsbootmenu.org/

Chartist JS: Useful JS Chart Library

https://gionkunz.github.io/chartist-js/

TinyWM

50 lines of C to make a very minimal Window Manager for X. Nice.

http://incise.org/tinywm.html

BSD-XFCE

macOS like interface for FreeBSD

https://github.com/Wamphyre/BSD-XFCE

Human

The asterisk sound in Windows

Fun story of digital archaeology.

https://devblogs.microsoft.com/oldnewthing/20221108-36/?p=107367

Phantom Forests: Why Ambitious Tree Planting Projects Are Failing

Often humans are dumb, well-intentioned but dumb. The opportunity cost here is massive though. That good will may well be lost.

https://e360.yale.edu/features/phantom-forests-tree-planting-climate-change

EOL