Developer blog / lab notebook

Notes from
the workbench.

Build logs, technical deep dives, experiments that worked, experiments that absolutely did not, and the occasional cat-approved engineering decision. Written by KernelGhost-gif while exploring systems, AI and developer tools.

Linux & systemsAI experimentsOpen sourceUnfiltered debugging
KernelGhost-gif profile picture
3 NOTES
kernelghost@android:~ / desktop-session
$ udroid-mate-x11
→ starting dbus session
→ mate-session
✓ desktop ready (in testing)
FEATURED / ANDROID × LINUX

A full Linux desktop in an Android workflow.

What it takes to bring Ubuntu MATE into Termux:X11: the package choices, session startup, D-Bus, panel layout and the small integration details that matter more than the install command.

READ THE NOTE ↘
FIELD NOTE / 002

A boot sequence is not the same thing as a bootable system.

Reading the startup configuration, tracing inittab to rcS, and separating what the repository describes from what has actually been boot-tested.

READ THE NOTE ↘
FIELD NOTE / 003

Building AI from the small pieces up.

Why tiny models are useful teachers: tokenization, tensors, training loops, loss curves and the value of understanding every moving part.

READ THE NOTE ↘
No notes found. Try a different search. The bug is probably in the search term.
FIELD NOTE 00105 DEC 2026
ANDROID / LINUX
8 MIN READ

A full Linux desktop in an Android workflow.

Running a Linux command in a terminal is one thing. Getting a complete desktop session to start reliably, draw its panels, manage windows and behave like a desktop is a different kind of engineering problem.

The Noble MATE work in the udroid-download project uses Ubuntu's full MATE desktop environment rather than only a minimal core package. That choice makes the desktop experience more complete, but it also means more integration work: session configuration, D-Bus, launch scripts, desktop services and panel defaults all need to agree.

Make the session start deliberately

The launcher is a wrapper rather than a magic command. It prepares the environment and starts the desktop session through dbus-run-session and mate-session. Caja is started with --no-default-window --force-desktop so the desktop process is explicitly part of the session.

Configuration matters too. The dconf setup uses the MATE session schema path [org/mate/desktop/session] and the familiar layout. That is the sort of tiny mismatch that can turn a seemingly correct install into a confusing desktop experience.

Don't stop at “the packages installed”

A successful package installation does not prove that a desktop session works. The project uses a Termux:MATE smoke test and screenshot checks to catch obvious failures such as a black or empty desktop. Those checks are useful as a first gate, but a screenshot still needs a human visual inspection to confirm that panels, launchers and the desktop layout are actually right.

The useful lesson: test the experience at the layer where the user meets it. “Installed” is not the same as “usable”.
FIELD NOTE 00205 DEC 2026
SYSTEMS / LINUX
6 MIN READ

A boot sequence is not the same thing as a bootable system.

Operating-system projects invite impressive diagrams. Kernel, root filesystem, init, shell, graphics stack: put them in boxes, connect the arrows and it starts looking like a finished system. But a diagram is only a map of intentions. The interesting work is proving that the pieces really connect.

In the SZH source tree, the checked-in /etc/inittab configures /etc/init.d/rcS as a sysinit action and configures /bin/sh as a respawn action. The rcS script requests mounts for sysfs at /sys, proc at /proc and devtmpfs at /dev. That gives us a concrete startup path to inspect.

What the source tells us — and what it doesn't

Those lines tell us what the init configuration intends to do. They do not prove that the kernel image, root filesystem, initramfs, boot parameters and emulator setup work together on a real boot. Each boundary needs a test, and the complete boot needs its own end-to-end verification.

That distinction is not pessimism; it is how a systems project earns trust. A good project page should show the actual status, name the missing proof and make the next engineering task obvious.

A reproducible boot test is more valuable than a beautiful “boot successful” badge that cannot be repeated.
FIELD NOTE 00305 DEC 2026
AI / RESEARCH
5 MIN READ

Building AI from the small pieces up.

It is easy to use a model as a black box. It is much harder — and much more educational — to build a small one and trace what happens inside it. Suddenly words become token IDs, token IDs become tensors, tensors move through layers, and a training loop turns a prediction error into an update.

Make each stage observable

A useful learning setup keeps the pipeline understandable: inspect the vocabulary, print tensor shapes, track loss, save checkpoints and run a small evaluation after training. When something goes wrong, those observations help narrow the problem. Without them, a training run can become a long wait followed by a mysterious number.

Small experiments are not a shortcut to frontier-scale models. They are a way to learn the mechanics without hiding the details behind too many abstractions. The point is to make the system understandable enough that each design choice can be questioned.

First make it explainable. Then make it bigger. Scaling a mystery only gives you a more expensive mystery.

Back to building.

Browse the projects, inspect the source and follow the next experiment.

RETURN TO PORTFOLIO ↗