# .plan-26-17: Unwedging kernels, dogfood deployments, and managing beef leakage

*2026-04-26 — note*


After the [travel marathon](https://anil.recoil.org/notes/2026w16) of the past fortnight I got to catch up with hacking this week! I did pop down to London once for a Royal Society [policy meeting on AI in science with the European Commission](https://anil.recoil.org/notes/rs-eu-ai-science) and discovered that the EU still has a (much-shrunken) [delegation](https://www.eeas.europa.eu/delegations/united-kingdom_en?s=3225) in London; a bit of post-Brexit infrastructure that I hadn't appreciated existed but am very glad to hear about.

While I was down there, I caught up with [Cyrus Omar](https://web.eecs.umich.edu/~comar/) who was over from Michigan to chat about our [Fairground](https://anil.recoil.org/papers/2025-fairground) [planetary wiki](https://anil.recoil.org/projects/enki) work. We're both interested in how programmable wikis can become a serious substrate for sharing structured scientific data with provenance baked in, and PROPL 2026 is coming up in PLDI where we'll do more work on this.

## Welcoming Akshay to Cambridge

I'm most delighted to welcome [Akshay Oppiliappan](https://oppi.li/) to my group here in Cambridge! I've
long been a fan of his work on [Tangled](https://tangled.org), and indeed
consider it to be [the most useful app built over ATProto](https://anil.recoil.org/notes/atproto-for-fun-and-blogging).

We've been [using Tangled](https://anil.recoil.org/notes/tangled-and-ci) for a lot of our [code hosting](https://anil.recoil.org/notes/disentangling-git-with-bluesky) here in my
group, and it's a really practical way to get towards some of the things we
want to do for building federated scientific infrastructure under the [five principles of collective knowledge](https://anil.recoil.org/notes/principles-for-collective-knowledge).

<figure class="image-center"><img src="/images/welcome-akshay.webp" alt="Akshay, Jon, Mark and me hang out in my jungle" title="Akshay, Jon, Mark and me hang out in my jungle" loading="lazy" srcset="/images/welcome-akshay.768.webp 768w, /images/welcome-akshay.640.webp 640w, /images/welcome-akshay.480.webp 480w, /images/welcome-akshay.3840.webp 3840w, /images/welcome-akshay.320.webp 320w, /images/welcome-akshay.2560.webp 2560w, /images/welcome-akshay.1920.webp 1920w, /images/welcome-akshay.1600.webp 1600w, /images/welcome-akshay.1440.webp 1440w, /images/welcome-akshay.1280.webp 1280w, /images/welcome-akshay.1024.webp 1024w"><figcaption>Akshay, Jon, Mark and me hang out in my jungle</figcaption></figure>

One interesting thing I learnt is that Tangled is working on a separable
'app view' (that is, a version of the <https://tangled.org> website that can
be deployed elsewhere). I'd love to have a version that is restricted to just the
immediate group members in order to help get a focussed view on a particular
set of repositories, while still keeping the overall metadata open.

## TESSERA: AWS sync done, Zarr bindings next

The big milestone on the [TESSERA](https://anil.recoil.org/projects/tessera) side is that the [AWS Open Data sync](https://anil.recoil.org/notes/2026w16) has finally finished, so we now have the full half-petabyte mirrored alongside our [Cambridge Ceph](https://anil.recoil.org/notes/2026w14) copy. With that done, I'm turning my attention to the OxCaml Zarr conversion by building on Mark's [ocaml-zarr](https://github.com/mtelvers/ocaml-zarr) work, so that we can start consuming the cloud-native stores directly via HTTP.

There are also some exciting updates coming soon about a new version of the
TESSERA model that pushes the embedding quality further. The nice property of
how we've architected "embeddings as data" is that no user-facing code will need to
change when v1.1 lands. We just regenerate the map tiles under the existing
[geo-embeddings convention](https://anil.recoil.org/notes/tessera-embeddings-convention) and downstream
tasks should pick up the improvements automatically. More on this once the
embeddings generation progresses\!

## Recoil refresh to Linux 7.0

On the home infrastructure front, I spent some quality time upgrading several of the [Recoil self-hosting](https://anil.recoil.org/notes/decentralised-stack) machines to **Ubuntu 26.04**. I have **not** been able to recreate the pesky [io\_uring/zfs wedge](https://github.com/openzfs/zfs/issues/16133) that has been plaguing me even on 6.14 kernels recently. Fingers crossed that it really is fixed and not just hiding behind a race condition\!

I've also been happily using [Komodo](https://komo.do/) as the lightweight web interface for Docker across three machines, and am busy migrating to Mythic Beasts since our former Equinix hosting is [sunsetting](https://www.datacenterdynamics.com/en/news/equinix-to-kill-off-metal-by-june-2026/) next month. The only technical complexity here is that [Mastodon is tied to one hostname](https://docs.joinmastodon.org/admin/migrating/) and I made a mistake calling it [amok.recoil.org](https://amok.recoil.org) (the raw hostname) instead of something more abstract. [Michael Dales](https://mynameismwd.org) did [manage to migrate](https://digitalflapjack.com/weeknotes/2025-03-31/) last year though, which is a good sign when I try next week...

## oi continues, and now deploys this very site

My sidequest on [**oi**](https://github.com/avsm/oi), my [uv-like distributor for OCaml binaries](https://anil.recoil.org/notes/2026w16), has been steadily gaining steam. It now supports [OxCaml](https://anil.recoil.org/projects/oxcaml) as well as multiple OCaml versions, which is tricky since OxCaml isn't relocatable yet. Still, some hacks later, I've got far enough that I'm quietly using it for myself day-to-day to see if the tool holds up under real development workloads.

This very website is now deployed using:

```
oi run --toolchain=oxcaml @avsm/arod -- arod serve -v
```

This feels like a nice eating-my-own-dogfood moment! I'll write up technical
details properly once I've stopped rewriting the implementation.

I've also been working with [Thomas Gazagnaire](https://github.com/samoht) to merge his significant changes from the
last four months into the [agentic libraries](https://anil.recoil.org/notes/aoah-2025) I built last year, so
we can reconcile our diverging trees. He's been hacking on these in his
[monopampam](https://tangled.org/gazagnaire.org/monopampam) tree and there's a
lot of cleanup to bring across.

### Cross-building OCaml Windows binaries

Apropos to the above, I've been poking at
[msys2-docker](https://github.com/msys2/msys2-docker) to see if I could compile
OCaml Windows binaries directly from Linux without doing full
cross-compilation. It does *almost* work but the layering of MSYS2 inside Wine
is unreliable due to fork not working very well. [Dave Scott](https://dave.recoil.org) then mentioned to me
over a coffee that it's possible to do this more directly via Wine running
`cmd.exe`, by extracting the necessary bits out of a `nanoserver` Docker image.
That sounds way better, so I'll try that approach next week.

## A new forest leakage preprint

A new preprint has gone up from our [4C](https://anil.recoil.org/projects/4c) trusted carbon credits work, led by the wonderful [Francisco d'Albertas](mailto:fd370@cam.ac.uk).

This one's about ["Estimating the carbon impacts of leakage from forest restoration and the costs of reducing them"](https://www.researchsquare.com/article/rs-9440067/v1). The abstract:

> Ecosystem restoration is a key nature-based climate solution but risks
> displacing economic activities and triggering leakage – whereby forgone
> production drives habitat loss elsewhere, eroding benefits. Focusing on
> reforestation opportunities Brazilian ranchland we characterized leakage risk
> as the ratio of forgone beef production to carbon gained.
> 
> Assuming 100% of forgone production results in extensification we asked: what
> is the impact of unaddressed leakage; how much can leakage be reduced by
> prioritizing restoration in low-yielding, high-carbon areas; and can it be
> cost-effectively mitigated by targeted intensification?
> 
> Taking likely leakage into account but
> not tackling it increased median costs of restoration (over ignoring it
> entirely) by 43-100%, to median values of 33 and 24 USD tCO₂e⁻¹ in the Atlantic
> Forest and Amazon, respectively. Prioritizing low-leakage sites reduced these
> costs by 21–37%; combining this with targeted intensification cut net carbon
> costs further, to 67% of unmitigated levels. Our broad findings hold at 30%
> (cf 100%) extensification and in other sensitivity analyses, and reveal
> leakage can substantially increase carbon costs, but that careful siting and
> targeted intensification can provide extremely cost-effective mitigation.
> <cite>\-- [d'Albertas et al., 2026](https://anil.recoil.org/papers/2026-forest-leakage)</cite>

This pushes our [forest restoration](https://anil.recoil.org/papers/2025-forest-restoration-cc) analyses onto the all-important "leakage" question, which is something of an elephant in the room for almost any nature-based climate intervention (if we choose our interventions badly, then displacement of existing use of that land causes yet more deforestation). Congratulations to Chico and the rest of the team for getting this out\!
Synopsis: Welcoming Akshay to Cambridge, TESSERA AWS sync done, oi now self-hosts this site, and a new 4C forest leakage preprint appears.
Words: 1117

## Related

- [AI, science and the UK–EU relationship at the Royal Society](https://anil.recoil.org/notes/rs-eu-ai-science) (note, 2026-04-21)
- [.plan-26-16: Chennai, Cambridge, Belfast: a week on the wing](https://anil.recoil.org/notes/2026w16) (note, 2026-04-19)
- [.plan-26-14: Tracking AI screen time and escaping to pen and paper](https://anil.recoil.org/notes/2026w14) (note, 2026-04-05)
- [Estimating the carbon impacts of leakage from forest restoration and the costs of reducing them](https://anil.recoil.org/papers/2026-forest-leakage) (paper, 2026-04-01)
- [TESSERA now supports the Zarr geo-embeddings convention proposal](https://anil.recoil.org/notes/tessera-embeddings-convention) (note, 2026-03-27)
- [Enki, a Dashboard of Life on Earth](https://anil.recoil.org/projects/enki) (project, 2026-01-01)
- [2025 Advent of Agentic Humps: Building a useful O(x)Caml library every day](https://anil.recoil.org/notes/aoah-2025) (note, 2025-12-26)
- [Four Ps for Building Massive Collective Knowledge Systems](https://anil.recoil.org/notes/principles-for-collective-knowledge) (note, 2025-11-23)
- [A FAIR Case for a Live Computational Commons](https://anil.recoil.org/papers/2025-fairground) (paper, 2025-10-01)
- [The path to robust evaluation of carbon credits generated by forest restoration and REDD+ projects](https://anil.recoil.org/papers/2025-forest-restoration-cc) (paper, 2025-10-01)
- [mlgpx is the first Tangled-hosted package available on opam](https://anil.recoil.org/notes/tangled-and-ci) (note, 2025-08-17)
- [Socially self-hosting source code with Tangled on Bluesky](https://anil.recoil.org/notes/disentangling-git-with-bluesky) (note, 2025-03-08)
- [Using AT Proto for more than just Bluesky posts](https://anil.recoil.org/notes/atproto-for-fun-and-blogging) (note, 2025-02-11)
- [OxCaml Labs](https://anil.recoil.org/projects/oxcaml) (project, 2025-01-01)
- [TESSERA, a pixelwise geospatial foundation model](https://anil.recoil.org/projects/tessera) (project, 2025-01-01)
- [Decentralised tech on Recoil](https://anil.recoil.org/notes/decentralised-stack) (note, 2021-09-19)
- [Trusted Carbon Credits](https://anil.recoil.org/projects/4c) (project, 2021-01-01)

---
Canonical: https://anil.recoil.org/notes/2026w17
Type: note
Tags: oxcaml, policy, selfhosting, 4c, leakage, evidence
