You are viewing archived messages.
Go here to search the history.

🕰️ 2025-04-12 13:05:41

...

Tom Larkworthy 2025-05-19 20:32:41

I am writing a computational blog post and I want the windows arranged a certain way. Jumpgate supports injecting the window configuration but I have to keep specifying it and its annoying when iterating. So I added form population via URL parameters so now I just need a web link to have a specific export preconfigured. That is the next step in exporting everything repeatably, by building up a list of exports as a list of links to Jumpgate.

The other thing heavier usage of Jumpgate showed was the git checkout step was slow, over 30 seconds, bottlenecked by the necessary git CORS proxy, so I made my own isomorphic-git proxy. Its super easy to setup on CloudFlare and in reduced my checkout to 3s! The instructions are making their way upstream if browser interaction with git interests you.

Still, the git checkout step is not scaling well. Every notebook is 1-2Mb, and they all get downloaded before I can push a new version. I experimented with merging empty repositories, that works for unseen files, but not for updates to existing files (merge conflict between unrelated histories). git sparse checkout should be the answer, but not supported by isomorphic git ;'( Other ideas welcome. There have been several failed attempts to add sparse checkouts to isomorphic git, so its not an easy feature.

Kartik Agaram 2025-05-21 19:55:59

Literate Programming with a little bit of spatiality.

snake-centers.png

Kartik Agaram 2025-05-22 15:09:02

First draft of a complete running program. I automatically "tangle" the code from the markup to check that I didn't forget to include something.

The picture is blurry, but in practice I can zoom in and out using mouse wheel or pinch gesture.

The editing experience is terrible. All the lines are absolutely positioned and not integrated with the markup. But code is read more than it's written 😛

snake-centers3.png

Konrad Hinsen 2025-05-22 16:05:05

Looks promising! I do believe that it is important to start designing for the reader. Otherwise, as a developer, you will inevitable optimize for the developer side.

How would you handle bigger code? By growing the canvas, or by introducing pages?

Kartik Agaram 2025-05-22 17:16:14

It's hypertext, so I could have links. I'm imagining links closing some outer levels of detail and opening inner ones.

All this is influenced by reading Christopher Alexander on "the fundamental unfolding process".

Konrad Hinsen 2025-05-23 06:23:37

Ohhh, I should read that. Is that in one of his books? Or some article?

Kartik Agaram 2025-05-23 12:15:39

It's "The Nature of Order". Volume 2 of 4 😅

Konrad Hinsen 2025-05-23 12:52:44

Ouch... The Nature of Order is on my reading list for retirement, as I don't expect to find time before. But retirement is still many years in the future!

Kartik Agaram 2025-05-23 13:03:11

It's surprising short given the length, because of the number of pictures. But then I spend 6 months thinking about a chapter.

Kartik Agaram 2025-05-23 13:19:18

Anyways, no deferred life plans for me. And starting isn't a commitment to finishing either.