···11{0 Weeknotes 2026 week 11}
2233-@published 2026-03-09
33+@published 2026-03-18
44@notanotebook
55+66+{1 What did I do?}
77+88+{2 TESSERA}
99+1010+I Started looking at fixing my TESSERA notebook to make it actually correct:
1111+1212+- Removing the OCaml native PCA to replace with a tensorflow.js one. This should
1313+ be much faster and probably more accurate.
1414+- Investigating the slightly-off-seeming embeddings - you can see features
1515+ like roads on the embeddings and they don't {e quite} match up with the map.
1616+ I'm still not quite sure where the discrepancy is coming from.
1717+- Looking at UNets as part of replicating Sadiq's {{:https://github.com/sadiqj/tessera-cnn-example}Solar Panel} detection example.
1818+1919+Not much to show yet though.
2020+2121+{2 Odoc release}
2222+2323+We need an Odoc release soon, partly to support markdown output in dune, and
2424+partly to fix some bugs that were discovered when doing the odoc v3 dune rules.
2525+Most stuff has been merged, but we've still got Arthur's OxCaml patches to merge,
2626+which are waiting on a test fix. I also looked into OCaml 5.5 compatibility. The
2727+big item looks to be the merge of Modular Explicits, which will require a bit
2828+of work to support. I'm considering a mechanical fix to at least get odoc compiling
2929+with 5.5 for the odoc release, and a larger release later to properly support the
3030+5.5 features.
3131+3232+{2 OxCaml docs builds}
3333+3434+Anil has merged {{:https://github.com/avsm/oxmono/pull/3}my PR} to his oxmono repo to do docs, and that works nicely
3535+if you're generating _all_ of the docs for your monorepo, including dependencies,
3636+which is what you get when you run `dune build @doc-full`. Running `dune build @doc`
3737+doesn't quite work as there's no external place like ocaml.org where you can
3838+expect your dependency libraries docs to be. Mark's `day10` project is already
3939+building all of the oxcaml packages, so I had a look to see what it would be like
4040+to extend that to build the docs too. This is more-or-less working, but not yet
4141+as a reliable place that you can expect to be up to date. I had a thought that
4242+keeping the docs build running nicely is something that an AI agent should be able
4343+to do really well, so I'm investigating this. A neat thing it's already been able
4444+to do is to sort the build problems by number of other packages that they block,
4545+and numbers one and two were PPX issues (ppx_deriving_yojson and lwt_ppx). It was
4646+then able to come up with some patches that enabled both of these to build,
4747+unblocking all of those downstream packages. This, of course, is of wider interest
4848+than just the docs, so I need to figure out what to do with those patches.
4949+5050+{2 Bugfixing my monorepo}
5151+5252+I've been polishing the monorepo that's powering my website with a view to publishing
5353+a retrospective of the work that I've been doing over the past few months. This
5454+has really helped solidify in my mind the areas where Claude excels and the things
5555+we should be much more wary of letting it do. More on this in the retrospective!
5656+557658759