Increasing Entropy #7

Discoveries of the week, software ateliers, rethinking everything, beautiful photos, Linux in the browser, and a few thoughts on random topics.

Build the Workshop Before the Software Factory, a 20-minute talk by Armin Ronacher, the developer of Pi.

One quote from a slide caught my attention:

Starting got fast, finishing and maintaining did not

I’ve heard this phrase a lot.

Interestingly enough, it’s the complete opposite for me. I struggle with starting greenfield projects and I don’t like many of the choices AI makes at the beginning. If I ask AI to do a lot at the beginning, like the game examples in the previous issue, I end up with code I don’t like and don’t understand.

To be honest, the result usually looks great from the user’s perspective though.

My experience tells me that starting a project and laying out the initial architecture and code organization is extremely important and has a big influence on the project’s future. That was true when we were writing code by hand and I believe it’s still true in the AI era.

AI agents tend to repeat patterns we already have in the repo. If you have crappy tests where each example takes 100 lines of repetitive or boilerplate code, all new tests written by AI will look the same.

Later, however, when we have good examples of code and architecture in the repo, good examples of tests, configured linters and a few skills that emerged along the way, I trust an agent to make bigger and bigger changes. Adding new features and maintaining the code start taking less and less time.

I’ve taken the quote out of context just to share my thoughts; I think Armin actually talks about similar things.

Bad ideas that aren’t bad anymore. A great reflection on how AI changes how we write code and how our previous experience and intuition may no longer be relevant.

I’ve already shared many articles about this and the main message is that we must rethink everything, every part of our processes. Does this contradict what I said above about greenfield projects?

Playing to win inspires you to be brave about doing things differently and changing processes.

Wizard Zines are on sale today. Julia Evans’s curiosity is inspiring and she is the best at explaining everything.

The future of social media is websites: SocialSpec.

Everything Is Outdated. A fun little game where you have to update everything on a developer machine on time.

Mecha Comet, a beautiful handheld computer with Linux, funded on Kickstarter.

A few photos from the ASML headquarters. Isn’t it beautiful?

An ASML lab crowded with vacuum chambers, equipment racks, and tangles of blue, yellow, and grey cables hanging from overhead cable trays.

Photo from Alastair Philip Wiper’s post

A real Linux kernel compiled to WebAssembly runs in the browser: unkernel. There are so many things to discover and think about:

https://github.com/pithings/unkernel

I understand that Linux kernel is compiled to WebAssembly and we run it in browser.

  1. How does the initial desktop environment work? It seems it’s made on React.js. So it’s not a process from kernel perspective so how does it syscall the kernel?
  2. When I start a wayland app, e.g. a browser, how does it work? It seems it runs wland as a kernel process. Is it a WM? What and how it sends pixels to browser? Do we render pixels on an html canvas later? What is kwbox I see in the process list?
  3. How does networking work at all? I understand there could be a special driver that runs requests through the browser and browser does fetch or something, but what about UDP traffic, needed for e.g. DNS requests?

From the actual thread.

Turns out, you can trigger Apple’s Taptic Engine very frequently, even 4,000 times per second.

People have made it synthesize sounds:

Language Models Can Rewrite Their Own Weights. Remember when big models were rewriting the weights of smaller models? Turns out a model can effectively do this to itself. Is it recursive self-improvement yet? I’m curious what AI labs are seeing in their own experiments.

The Last Boring Slide