Pride and Programming

Lena in halftone

It is a truth universally acknowledged, that a software developer in possession of a good, if not best, practice, must be in want of an AI agent.

Ah! What a curious notion it is to entrust the delicate art of coding to an artificial agent. I, who have long been known for my indolence and disdain for exertion, thought this might be the perfect arrangement:

Let the machine do the work while I sip tea and contemplate the futility of human endeavor.

Read More

Python in Browser

Snakes around Jupiter

When I first heard about python interpreter in browser via PyScript in 2022, I was like: that’s coooool… but why???

It feels like the opposite of Node.js: Node.js brings javascript to server, and PyScript brings python into browser. While the async nature of javascript makes it solid for backend development, I couldn’t see a good reason for bringing python into frontend on client side. Data and machine learning are use cases where python really shines to my experience, and they seem to have very minimal overlaps with frontend or browser.

However, it turned out that I totally missed the potential of this work. Talented developers have put efforts into this direction for years, and made JupyterLite, a full static Jupyter distribution that runs in browser. This great work has inspired me and made me see what could be achieved.

Read More