<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>storagebits</title>
    <subtitle>Firmware, TV apps, a homelab, built at night with an organization of AI agents. And blok, the workshop notebook.</subtitle>
    <link rel="self" type="application/atom+xml" href="https://blok.storagebits.workers.dev/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://blok.storagebits.workers.dev"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2026-11-15T17:33:27-05:00</updated>
    <id>https://blok.storagebits.workers.dev/atom.xml</id>
    <entry xml:lang="en">
        <title>Two micro:bit robots play cat and mouse, built in one evening</title>
        <published>2026-11-15T17:33:27-05:00</published>
        <updated>2026-11-15T17:33:27-05:00</updated>
        <author><name>François</name></author>
        <link rel="alternate" type="text/html" href="https://blok.storagebits.workers.dev/blog/microbrawl/"/>
        <id>https://blok.storagebits.workers.dev/blog/microbrawl/</id>
        <summary type="html">Two micro:bit robots bought during Covid, a Raspberry Pi, a camera on the ceiling and ArUco markers printed on paper: in one evening, a robotics POC you drive from the web.</summary>
        <content type="html" xml:base="https://blok.storagebits.workers.dev/blog/microbrawl/">&lt;p&gt;I bought these two robots during Covid, to do a bit of electronics. I liked the idea behind the &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://microbit.org/&quot;&gt;micro:bit&lt;/a&gt;, especially with &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://makecode.microbit.org/&quot;&gt;MakeCode&lt;/a&gt; and its visual programming, and I wanted to get my kids into it. Then came Kitronik’s &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://kitronik.co.uk/products/5652-move-mini-mk2-buggy-kit-excl-microbit&quot;&gt;:MOVE mini&lt;/a&gt; chassis, so the boards could move around. We had already done a small project to drive them with arcade controllers. It was nice, but it took me several months of weekends.&lt;/p&gt;
&lt;p&gt;On Saturday, I took them out again. With AI, I built a far more advanced POC in one evening: two robots playing cat and mouse on a table, tracked by a camera on the ceiling, driven from a web page by any visitor, or by an AI when nobody shows up. The brief went out at 5:53 pm, the demo was filmed at 11:30 pm. In between came flashing the robots, spatial detection, and a library I had never heard of: ArUco, the marker one.&lt;/p&gt;
&lt;figure class=&quot;video&quot;&gt;&lt;video controls muted playsinline preload=&quot;metadata&quot; poster=&quot;demo-poster.jpg&quot;&gt;&lt;source src=&quot;demo.mp4&quot; type=&quot;video/mp4&quot;&gt;&lt;/video&gt;&lt;figcaption&gt;The demo edit, 33 seconds without sound: AI against AI, seen from the track, the stand and the sky, with the slow-motion replay of a tag.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;the-setup&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-setup&quot; aria-label=&quot;Anchor link for: the-setup&quot;&gt;#&lt;/a&gt;
The setup&lt;/h2&gt;
&lt;p&gt;At the start, there is a Raspberry Pi 4 with 2 GB, a USB webcam fixed at the end of a plank above a white table, and the two robots. My brief fit in one dictated message: a web interface with SpaceX-style telemetry, a first game where one robot has to touch the other, a queue for visitors, driving with the arrow keys or ZQSD, and AI somewhere. The code would live on my Mac and run on the Pi.&lt;/p&gt;
&lt;figure class=&quot;portrait&quot;&gt;&lt;img src=&quot;scene.webp&quot; alt=&quot;A corner of a home office: a shelf with an old Tandon PC and its monitor, the Raspberry Pi&#39;s screen below, a plank sticking out of the shelf with a webcam at its end, above a white table where the two small robots wait.&quot; width=&quot;1050&quot; height=&quot;1490&quot; loading=&quot;lazy&quot;&gt;&lt;figcaption&gt;The setup at the start: the USB webcam at the end of its plank, the white table that serves as the arena, and the Pi&#39;s screen at the bottom left.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Twenty minutes later, the first commit held the complete system: firmware, server, vision, referee, AI opponent and interface. Nothing had run on a real robot yet.&lt;/p&gt;
&lt;h2 id=&quot;the-architecture&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-architecture&quot; aria-label=&quot;Anchor link for: the-architecture&quot;&gt;#&lt;/a&gt;
The architecture&lt;/h2&gt;
&lt;figure class=&quot;sys sys-archi&quot;&gt;&lt;div class=&quot;defile&quot; tabindex=&quot;0&quot; role=&quot;region&quot; aria-label=&quot;micro:brawl architecture, scrollable horizontally&quot;&gt;&lt;svg viewBox=&quot;0 0 760 350&quot; role=&quot;img&quot; aria-labelledby=&quot;ar-t ar-d&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;title id=&quot;ar-t&quot;&gt;micro:brawl architecture&lt;/title&gt;&lt;desc id=&quot;ar-d&quot;&gt;Two micro:bit robots talk to the Raspberry Pi 4 over Bluetooth Low Energy: wheel commands at 20 Hz one way, telemetry the other. Three cameras send their MJPEG stream to the Pi: a phone on the ceiling for tracking, a USB webcam and an old laptop at table level for the show. On the Pi, a FastAPI server runs the Bluetooth link, ArUco vision, the referee and the AI, and the replays. The browser receives the state ten times a second over WebSocket and the video as MJPEG, and sends back the driver&#39;s keys.&lt;/desc&gt;&lt;defs&gt;&lt;marker id=&quot;ar-fl&quot; viewBox=&quot;0 0 10 10&quot; refX=&quot;9&quot; refY=&quot;5&quot; markerWidth=&quot;7&quot; markerHeight=&quot;7&quot; orient=&quot;auto-start-reverse&quot;&gt;&lt;path class=&quot;sys-pointe&quot; d=&quot;M0,0 L10,5 L0,10 z&quot;/&gt;&lt;/marker&gt;&lt;/defs&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;170&quot; y=&quot;10&quot; width=&quot;140&quot; height=&quot;58&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;240&quot; y=&quot;31&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Phone on the ceiling&lt;/text&gt;&lt;text x=&quot;240&quot; y=&quot;48&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;sky view, 720p&lt;/text&gt;&lt;text x=&quot;240&quot; y=&quot;61&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;used for tracking&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;320&quot; y=&quot;10&quot; width=&quot;140&quot; height=&quot;58&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;390&quot; y=&quot;31&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Webcam USB&lt;/text&gt;&lt;text x=&quot;390&quot; y=&quot;48&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;track view&lt;/text&gt;&lt;text x=&quot;390&quot; y=&quot;61&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;show and replays&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;470&quot; y=&quot;10&quot; width=&quot;140&quot; height=&quot;58&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;540&quot; y=&quot;31&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Old laptop&lt;/text&gt;&lt;text x=&quot;540&quot; y=&quot;48&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;stand view, low angle&lt;/text&gt;&lt;text x=&quot;540&quot; y=&quot;61&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;streams on demand&lt;/text&gt;
&lt;line class=&quot;sys-fil&quot; x1=&quot;240&quot; y1=&quot;68&quot; x2=&quot;320&quot; y2=&quot;118&quot; marker-end=&quot;url(#ar-fl)&quot;/&gt;&lt;line class=&quot;sys-fil&quot; x1=&quot;390&quot; y1=&quot;68&quot; x2=&quot;385&quot; y2=&quot;118&quot; marker-end=&quot;url(#ar-fl)&quot;/&gt;&lt;line class=&quot;sys-fil&quot; x1=&quot;540&quot; y1=&quot;68&quot; x2=&quot;450&quot; y2=&quot;118&quot; marker-end=&quot;url(#ar-fl)&quot;/&gt;&lt;text x=&quot;470&quot; y=&quot;100&quot; class=&quot;sys-etiquette&quot;&gt;MJPEG&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;10&quot; y=&quot;130&quot; width=&quot;160&quot; height=&quot;80&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;90&quot; y=&quot;152&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Robot A&lt;/text&gt;&lt;text x=&quot;90&quot; y=&quot;171&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;micro:bit V1.5 + :MOVE mini&lt;/text&gt;&lt;text x=&quot;90&quot; y=&quot;186&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;MakeCode firmware&lt;/text&gt;&lt;text x=&quot;90&quot; y=&quot;201&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;wheels stop after 400 ms&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;10&quot; y=&quot;240&quot; width=&quot;160&quot; height=&quot;80&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;90&quot; y=&quot;262&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Robot B&lt;/text&gt;&lt;text x=&quot;90&quot; y=&quot;281&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;micro:bit V1.5 + :MOVE mini&lt;/text&gt;&lt;text x=&quot;90&quot; y=&quot;296&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;MakeCode firmware&lt;/text&gt;&lt;text x=&quot;90&quot; y=&quot;311&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;wheels stop after 400 ms&lt;/text&gt;
&lt;line class=&quot;sys-fil&quot; x1=&quot;172&quot; y1=&quot;170&quot; x2=&quot;268&quot; y2=&quot;190&quot; marker-start=&quot;url(#ar-fl)&quot; marker-end=&quot;url(#ar-fl)&quot;/&gt;&lt;line class=&quot;sys-fil&quot; x1=&quot;172&quot; y1=&quot;280&quot; x2=&quot;268&quot; y2=&quot;260&quot; marker-start=&quot;url(#ar-fl)&quot; marker-end=&quot;url(#ar-fl)&quot;/&gt;&lt;text x=&quot;220&quot; y=&quot;222&quot; class=&quot;sys-etiquette&quot; text-anchor=&quot;middle&quot;&gt;Bluetooth LE&lt;/text&gt;&lt;text x=&quot;220&quot; y=&quot;237&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;wheels 20 Hz →&lt;/text&gt;&lt;text x=&quot;220&quot; y=&quot;250&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;← accel, temp.&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;270&quot; y=&quot;120&quot; width=&quot;220&quot; height=&quot;210&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;380&quot; y=&quot;143&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Raspberry Pi 4 · 2 GB&lt;/text&gt;&lt;text x=&quot;380&quot; y=&quot;160&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;one FastAPI server&lt;/text&gt;
&lt;text x=&quot;290&quot; y=&quot;190&quot; class=&quot;sys-code&quot;&gt;robots.py&lt;/text&gt;&lt;text x=&quot;372&quot; y=&quot;190&quot; class=&quot;sys-detail&quot;&gt;BLE link, reconnects&lt;/text&gt;
&lt;text x=&quot;290&quot; y=&quot;218&quot; class=&quot;sys-code&quot;&gt;vision.py&lt;/text&gt;&lt;text x=&quot;372&quot; y=&quot;218&quot; class=&quot;sys-detail&quot;&gt;ArUco → cm&lt;/text&gt;
&lt;text x=&quot;290&quot; y=&quot;246&quot; class=&quot;sys-code&quot;&gt;game.py&lt;/text&gt;&lt;text x=&quot;372&quot; y=&quot;246&quot; class=&quot;sys-detail&quot;&gt;referee and AI, 20 Hz&lt;/text&gt;
&lt;text x=&quot;290&quot; y=&quot;274&quot; class=&quot;sys-code&quot;&gt;replay.py&lt;/text&gt;&lt;text x=&quot;372&quot; y=&quot;274&quot; class=&quot;sys-detail&quot;&gt;replays of tags&lt;/text&gt;
&lt;text x=&quot;290&quot; y=&quot;302&quot; class=&quot;sys-code&quot;&gt;web/&lt;/text&gt;&lt;text x=&quot;372&quot; y=&quot;302&quot; class=&quot;sys-detail&quot;&gt;the telemetry page&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;600&quot; y=&quot;160&quot; width=&quot;150&quot; height=&quot;110&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;675&quot; y=&quot;183&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Browser&lt;/text&gt;&lt;text x=&quot;675&quot; y=&quot;203&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;telemetry, video,&lt;/text&gt;&lt;text x=&quot;675&quot; y=&quot;218&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;queue&lt;/text&gt;&lt;text x=&quot;675&quot; y=&quot;240&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;arrows, ZQSD or WASD&lt;/text&gt;&lt;text x=&quot;675&quot; y=&quot;255&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;to drive&lt;/text&gt;
&lt;line class=&quot;sys-fil&quot; x1=&quot;492&quot; y1=&quot;190&quot; x2=&quot;598&quot; y2=&quot;190&quot; marker-end=&quot;url(#ar-fl)&quot;/&gt;&lt;text x=&quot;545&quot; y=&quot;182&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;state, 10 Hz&lt;/text&gt;&lt;line class=&quot;sys-fil&quot; x1=&quot;492&quot; y1=&quot;222&quot; x2=&quot;598&quot; y2=&quot;222&quot; marker-end=&quot;url(#ar-fl)&quot;/&gt;&lt;text x=&quot;545&quot; y=&quot;214&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;MJPEG video&lt;/text&gt;&lt;line class=&quot;sys-fil&quot; x1=&quot;598&quot; y1=&quot;254&quot; x2=&quot;492&quot; y2=&quot;254&quot; marker-end=&quot;url(#ar-fl)&quot;/&gt;&lt;text x=&quot;545&quot; y=&quot;246&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;keys&lt;/text&gt;&lt;text x=&quot;545&quot; y=&quot;272&quot; class=&quot;sys-etiquette&quot; text-anchor=&quot;middle&quot;&gt;WebSocket&lt;/text&gt;
&lt;/svg&gt;&lt;/div&gt;&lt;figcaption&gt;Everything goes through the Pi: one connection per camera, however many spectators there are. Only the sky view is used for tracking; the other two do the show and the replays.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;The Pi does everything. It talks to both micro:bits over Bluetooth Low Energy, with &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/hbldh/bleak&quot;&gt;bleak&lt;/a&gt;: it sends the wheel speeds 20 times a second and receives acceleration, shocks and temperature. It reads the cameras, referees the game, runs the AI and serves the interface, a &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://fastapi.tiangolo.com/&quot;&gt;FastAPI&lt;/a&gt; application. The browser receives the game state ten times a second over WebSocket, and the video as MJPEG.&lt;/p&gt;
&lt;p&gt;The firmware knows nothing about left, right or calibration: it applies raw speeds to the two servos. The Pi does the translation, so a robot can be tuned without reflashing it. If no command arrives for 400 ms, the wheels stop.&lt;/p&gt;
&lt;h2 id=&quot;flashing-a-sad-face-and-020&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#flashing-a-sad-face-and-020&quot; aria-label=&quot;Anchor link for: flashing-a-sad-face-and-020&quot;&gt;#&lt;/a&gt;
Flashing: a sad face and “020”&lt;/h2&gt;
&lt;p&gt;The first flash failed. The micro:bit showed a 0, a 2 and a sad face: error 020, out of memory. My boards are V1.5s, with 16 KB of RAM, and the MakeCode Bluetooth stack does not fit with all its services. The agent turned off the ones that served no purpose here: over-the-air updates, events, device information and partial flashing. The program started.&lt;/p&gt;
&lt;p&gt;The flashing itself needs nothing from me. A script waits for the board to show up on the Mac as a USB drive, copies the compiled firmware onto it, waits for it to remount and checks that it reports no error. During the evening, one of the micro:bits ended up with a blank screen: reflashing it took twenty seconds.&lt;/p&gt;
&lt;p&gt;The rest of the lost time was physical. The robots would no longer switch on, and I went out to buy batteries.&lt;/p&gt;
&lt;h2 id=&quot;aruco-the-library-i-did-not-know&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#aruco-the-library-i-did-not-know&quot; aria-label=&quot;Anchor link for: aruco-the-library-i-did-not-know&quot;&gt;#&lt;/a&gt;
ArUco, the library I did not know&lt;/h2&gt;
&lt;p&gt;To know where the robots are, the agent suggested &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://www.uco.es/investiga/grupos/ava/portfolio/aruco/&quot;&gt;ArUco&lt;/a&gt;, square black-and-white markers whose detection is built into &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://docs.opencv.org/4.x/d5/dae/tutorial_aruco_detection.html&quot;&gt;OpenCV&lt;/a&gt;. I did not know it at all. It does exactly what I needed: identify each robot, know which way it is heading, and locate it in space, very fast.&lt;/p&gt;
&lt;p&gt;A marker is a 4 × 4 grid inside a black border. The pattern gives an identifier, 1 for robot A and 2 for B, and the order of the four corners gives the orientation: the top edge of the marker is the front of the robot. What remains is going from pixels to centimetres. I click the four corners of the table once in the interface, and a homography projects every point of the image onto an 84 × 55 cm rectangle.&lt;/p&gt;
&lt;figure class=&quot;sys sys-vision&quot;&gt;&lt;div class=&quot;defile&quot; tabindex=&quot;0&quot; role=&quot;region&quot; aria-label=&quot;From the ArUco marker to a position in centimetres, scrollable horizontally&quot;&gt;&lt;svg viewBox=&quot;0 0 760 330&quot; role=&quot;img&quot; aria-labelledby=&quot;vi-t vi-d&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;title id=&quot;vi-t&quot;&gt;From the ArUco marker to a position in centimetres&lt;/title&gt;&lt;desc id=&quot;vi-d&quot;&gt;Each 1280 by 720 frame from the ceiling camera is decoded straight to half size, in grey. OpenCV looks for markers from the 4x4_50 dictionary: identifier 1 is robot A, 2 is robot B, and each marker found gives its four corners in order. A homography, computed from the four table corners clicked once in the interface, turns those image points into centimetres on an 84 by 55 cm table. The marker&#39;s centre gives the position, the middle of its top edge gives the robot&#39;s front, hence its heading.&lt;/desc&gt;&lt;defs&gt;&lt;marker id=&quot;vi-fl&quot; viewBox=&quot;0 0 10 10&quot; refX=&quot;9&quot; refY=&quot;5&quot; markerWidth=&quot;7&quot; markerHeight=&quot;7&quot; orient=&quot;auto-start-reverse&quot;&gt;&lt;path class=&quot;sys-pointe&quot; d=&quot;M0,0 L10,5 L0,10 z&quot;/&gt;&lt;/marker&gt;&lt;marker id=&quot;vi-fl2&quot; viewBox=&quot;0 0 10 10&quot; refX=&quot;9&quot; refY=&quot;5&quot; markerWidth=&quot;6&quot; markerHeight=&quot;6&quot; orient=&quot;auto&quot;&gt;&lt;path style=&quot;fill:var(--sys-sain)&quot; d=&quot;M0,0 L10,5 L0,10 z&quot;/&gt;&lt;/marker&gt;&lt;/defs&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;10&quot; y=&quot;20&quot; width=&quot;132&quot; height=&quot;96&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;76&quot; y=&quot;42&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Ceiling frame&lt;/text&gt;&lt;text x=&quot;76&quot; y=&quot;70&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;1280×720&lt;/text&gt;&lt;text x=&quot;76&quot; y=&quot;94&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;MJPEG from the phone&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;162&quot; y=&quot;20&quot; width=&quot;132&quot; height=&quot;96&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;228&quot; y=&quot;42&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Decode at ½&lt;/text&gt;&lt;text x=&quot;228&quot; y=&quot;70&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;640×360&lt;/text&gt;&lt;text x=&quot;228&quot; y=&quot;94&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;grey, from the JPEG&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;314&quot; y=&quot;20&quot; width=&quot;132&quot; height=&quot;96&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;380&quot; y=&quot;42&quot; class=&quot;sys-code&quot; text-anchor=&quot;middle&quot;&gt;detectMarkers&lt;/text&gt;&lt;text x=&quot;380&quot; y=&quot;70&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;15 ms&lt;/text&gt;&lt;text x=&quot;380&quot; y=&quot;94&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;id 1 = A, id 2 = B&lt;/text&gt;&lt;text x=&quot;380&quot; y=&quot;108&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;4 corners, in order&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;466&quot; y=&quot;20&quot; width=&quot;132&quot; height=&quot;96&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;532&quot; y=&quot;42&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Homography&lt;/text&gt;&lt;text x=&quot;532&quot; y=&quot;70&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;4 clicks&lt;/text&gt;&lt;text x=&quot;532&quot; y=&quot;94&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;table corners&lt;/text&gt;&lt;text x=&quot;532&quot; y=&quot;108&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;pixels → cm&lt;/text&gt;
&lt;rect class=&quot;sys-boite&quot; x=&quot;618&quot; y=&quot;20&quot; width=&quot;132&quot; height=&quot;96&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;684&quot; y=&quot;42&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;Robot pose&lt;/text&gt;&lt;text x=&quot;684&quot; y=&quot;70&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;x, y, heading&lt;/text&gt;&lt;text x=&quot;684&quot; y=&quot;94&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;and smoothed speed&lt;/text&gt;
&lt;line class=&quot;sys-fil&quot; x1=&quot;142&quot; y1=&quot;68&quot; x2=&quot;160&quot; y2=&quot;68&quot; marker-end=&quot;url(#vi-fl)&quot;/&gt;&lt;line class=&quot;sys-fil&quot; x1=&quot;294&quot; y1=&quot;68&quot; x2=&quot;312&quot; y2=&quot;68&quot; marker-end=&quot;url(#vi-fl)&quot;/&gt;&lt;line class=&quot;sys-fil&quot; x1=&quot;446&quot; y1=&quot;68&quot; x2=&quot;464&quot; y2=&quot;68&quot; marker-end=&quot;url(#vi-fl)&quot;/&gt;&lt;line class=&quot;sys-fil&quot; x1=&quot;598&quot; y1=&quot;68&quot; x2=&quot;616&quot; y2=&quot;68&quot; marker-end=&quot;url(#vi-fl)&quot;/&gt;
&lt;text x=&quot;10&quot; y=&quot;160&quot; class=&quot;sys-etiquette&quot;&gt;Robot A&#39;s marker (id 1), seen from the ceiling&lt;/text&gt;
&lt;rect x=&quot;30&quot; y=&quot;180&quot; width=&quot;120&quot; height=&quot;120&quot; fill=&quot;#fff&quot; stroke=&quot;var(--divider-color)&quot;/&gt;&lt;rect x=&quot;40&quot; y=&quot;190&quot; width=&quot;100&quot; height=&quot;100&quot; fill=&quot;#111&quot;/&gt;
&lt;g fill=&quot;#fff&quot;&gt;&lt;rect x=&quot;56.67&quot; y=&quot;223.33&quot; width=&quot;66.67&quot; height=&quot;16.67&quot;/&gt;&lt;rect x=&quot;56.67&quot; y=&quot;240&quot; width=&quot;16.67&quot; height=&quot;33.33&quot;/&gt;&lt;rect x=&quot;106.67&quot; y=&quot;240&quot; width=&quot;16.67&quot; height=&quot;16.67&quot;/&gt;&lt;rect x=&quot;90&quot; y=&quot;256.67&quot; width=&quot;16.67&quot; height=&quot;16.67&quot;/&gt;&lt;/g&gt;
&lt;circle cx=&quot;90&quot; cy=&quot;240&quot; r=&quot;4&quot; class=&quot;sys-marque sys-sain&quot;/&gt;&lt;line class=&quot;sys-sain-trait&quot; x1=&quot;90&quot; y1=&quot;240&quot; x2=&quot;90&quot; y2=&quot;198&quot; marker-end=&quot;url(#vi-fl2)&quot;/&gt;
&lt;text x=&quot;164&quot; y=&quot;196&quot; class=&quot;sys-detail&quot;&gt;corners 0 and 1: the top edge&lt;/text&gt;&lt;text x=&quot;164&quot; y=&quot;210&quot; class=&quot;sys-detail&quot;&gt;= the robot&#39;s front&lt;/text&gt;&lt;text x=&quot;164&quot; y=&quot;236&quot; class=&quot;sys-detail&quot;&gt;centre = mean of the 4 corners&lt;/text&gt;&lt;text x=&quot;164&quot; y=&quot;262&quot; class=&quot;sys-detail&quot;&gt;heading = from the centre to&lt;/text&gt;&lt;text x=&quot;164&quot; y=&quot;276&quot; class=&quot;sys-detail&quot;&gt;the middle of the top edge&lt;/text&gt;
&lt;text x=&quot;400&quot; y=&quot;160&quot; class=&quot;sys-etiquette&quot;&gt;The table, before and after the homography&lt;/text&gt;
&lt;polygon points=&quot;410,198 560,186 574,300 396,292&quot; fill=&quot;none&quot; class=&quot;sys-region&quot;/&gt;&lt;text x=&quot;485&quot; y=&quot;250&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;in the image&lt;/text&gt;
&lt;line class=&quot;sys-fil&quot; x1=&quot;584&quot; y1=&quot;244&quot; x2=&quot;616&quot; y2=&quot;244&quot; marker-end=&quot;url(#vi-fl)&quot;/&gt;&lt;text x=&quot;600&quot; y=&quot;234&quot; class=&quot;sys-code&quot; text-anchor=&quot;middle&quot;&gt;H&lt;/text&gt;
&lt;rect x=&quot;626&quot; y=&quot;196&quot; width=&quot;124&quot; height=&quot;81&quot; class=&quot;sys-region&quot;/&gt;&lt;text x=&quot;688&quot; y=&quot;241&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;84 × 55 cm&lt;/text&gt;&lt;text x=&quot;688&quot; y=&quot;296&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;in centimetres&lt;/text&gt;
&lt;/svg&gt;&lt;/div&gt;&lt;figcaption&gt;All the vision fits in these five steps. The 15 ms were measured on the Pi, on the footage from the shoot: at full size it took 46, for the same detection rate.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;That was my part of the work: print the marker sheet at 100 %, cut out the 4 cm squares, glue them on cardboard, then lay them as a roof on each robot, flat, resting at the front on the edge of the micro:bit. Before that, the agent could not tell which way each wheel was turning: seen from the ceiling, a robot without a marker is a few pixels wide. Once the markers were on, it had each robot make four small moves and worked out the motor wiring from where they went.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&quot;robots.webp&quot; alt=&quot;The two :MOVE mini robots from the front on the white table, the micro:bit standing at the front with its red LEDs lit, and above each one a marker glued on cardboard, laid flat like a roof.&quot; width=&quot;1600&quot; height=&quot;1200&quot; loading=&quot;lazy&quot;&gt;&lt;figcaption&gt;The two robots, with their marker laid as a roof above the micro:bit.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;what-broke&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#what-broke&quot; aria-label=&quot;Anchor link for: what-broke&quot;&gt;#&lt;/a&gt;
What broke&lt;/h2&gt;
&lt;p&gt;During a match against the AI, the game stopped on “B is not seen”, while robot B was right there, switched on. Measured at that moment, its marker was detected in only 51 % of the frames. It was partly hidden, and that is very sensitive: a marker has to be seen whole, clearly, to be recognised. I repositioned it, the agent widened the detector’s thresholding windows, and both robots went to 100 %.&lt;/p&gt;
&lt;p&gt;The other surprise came from the camera. The USB webcam’s image was mediocre, and I replaced it on the ceiling with an old Redmi phone running the &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.pas.webcam&quot;&gt;IP Webcam&lt;/a&gt; app. The image was better, but the lag between moving the phone and seeing it on screen looked like a deal-breaker for driving. The cause: the Pi analysed 17 frames a second while the phone sent 30, and the delay piled up in the network buffer. The agent split reading the stream from tracking: one thread drains the camera continuously, the other only processes the most recent frame.&lt;/p&gt;
&lt;p&gt;Then the phone switched back to 1080p on its own after the app restarted, and the tracking circles showed up next to the robots. Since then, all the geometry is computed in coordinates relative to the image size, and the server forces 720p again on every connection.&lt;/p&gt;
&lt;h2 id=&quot;the-camera-that-does-not-track&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-camera-that-does-not-track&quot; aria-label=&quot;Anchor link for: the-camera-that-does-not-track&quot;&gt;#&lt;/a&gt;
The camera that does not track&lt;/h2&gt;
&lt;p&gt;The old laptop sitting at the edge of the table, an eeePC running Arch Linux, has a webcam too. It was tempting to use it for vision. The agent ruled it out: from such a low angle, positions are unusable, and the Atom processor does not have the power for it. That camera does the show: a stand view, and the replay of each tag, rebuilt from the last seconds the Pi keeps in memory for every camera. The laptop only streams when someone is watching.&lt;/p&gt;
&lt;h2 id=&quot;who-did-what&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#who-did-what&quot; aria-label=&quot;Anchor link for: who-did-what&quot;&gt;#&lt;/a&gt;
Who did what&lt;/h2&gt;
&lt;p&gt;What I liked in this project is seeing the agent and its code act on the real world. I could see, very concretely, robots moving and behaving. And I was doing in the real world what AI cannot do: printing, cutting, gluing, preparing.&lt;/p&gt;
&lt;h2 id=&quot;where-i-am&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#where-i-am&quot; aria-label=&quot;Anchor link for: where-i-am&quot;&gt;#&lt;/a&gt;
Where I am&lt;/h2&gt;
&lt;p&gt;At 11:30 pm, demo mode had the AI playing against the AI, in 45-second matches that chain by themselves, while the agent recorded the three cameras and the interface. From that, it made the edit above, the pictures in this post and a thread I posted the next day on X and Bluesky.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&quot;interface.webp&quot; alt=&quot;The micro:brawl interface mid-match: in the centre, the sky view with the two markers circled in orange and blue, the track view inset; on the left and right, each robot&#39;s telemetry; at the bottom, the ground track, the log and the Pi&#39;s status.&quot; width=&quot;1920&quot; height=&quot;1080&quot; loading=&quot;lazy&quot;&gt;&lt;figcaption&gt;The interface mid-match: the sky view with the tracked markers, each robot&#39;s telemetry on either side, the ground track, the log of tags and the Pi&#39;s status.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;figure class=&quot;video&quot;&gt;&lt;video controls muted playsinline preload=&quot;metadata&quot; poster=&quot;mission-control-poster.jpg&quot;&gt;&lt;source src=&quot;mission-control.mp4&quot; type=&quot;video/mp4&quot;&gt;&lt;/video&gt;&lt;figcaption&gt;The same interface, filmed during demo mode: A&#39;s telemetry, then B&#39;s, the replay of a tag, the ground track and the log.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;The next morning, the agent fixed what the shoot had revealed. Against the AI, a tag happens about every 10 seconds, and spectators saw almost nothing but replays: they are shorter now and hand back to the live view as soon as play resumes. Losing Bluetooth now pauses the match, instead of letting it go on with a dead robot. Tracking decodes the image at half its size: 15 ms per frame on the Pi instead of 46, for the same detection rate, because the Pi was climbing to 82 °C and throttling. It will still need a fan. These fixes have yet to be checked in a real match.&lt;/p&gt;
&lt;p&gt;The code is on GitHub, for information: &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/storagebits/microbrawl&quot;&gt;storagebits/microbrawl&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&quot;what-s-next&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#what-s-next&quot; aria-label=&quot;Anchor link for: what-s-next&quot;&gt;#&lt;/a&gt;
What’s next&lt;/h2&gt;
&lt;p&gt;What would be fun is opening the game up: letting strangers connect and drive the robots, and watching them roll live in my place. I also want to widen it to other robots, a &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://www.thymio.org/&quot;&gt;Thymio&lt;/a&gt; maybe, or a small indoor drone. The doors are open.&lt;/p&gt;
&lt;h2 id=&quot;links&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#links&quot; aria-label=&quot;Anchor link for: links&quot;&gt;#&lt;/a&gt;
Links&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://claude.com/product/claude-code&quot;&gt;Claude Code&lt;/a&gt;, the agent that wrote the code&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://microbit.org/&quot;&gt;micro:bit&lt;/a&gt;, the robots’ board&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://makecode.microbit.org/&quot;&gt;MakeCode&lt;/a&gt;, the firmware’s editor and compiler&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://kitronik.co.uk/products/5652-move-mini-mk2-buggy-kit-excl-microbit&quot;&gt;Kitronik :MOVE mini&lt;/a&gt;, the two-servo chassis&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://www.uco.es/investiga/grupos/ava/portfolio/aruco/&quot;&gt;ArUco&lt;/a&gt;, the markers, from the University of Córdoba&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://docs.opencv.org/4.x/d5/dae/tutorial_aruco_detection.html&quot;&gt;Detection of ArUco markers&lt;/a&gt;, in the OpenCV documentation&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/hbldh/bleak&quot;&gt;bleak&lt;/a&gt;, Bluetooth Low Energy in Python&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://fastapi.tiangolo.com/&quot;&gt;FastAPI&lt;/a&gt;, the Pi’s server&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.pas.webcam&quot;&gt;IP Webcam&lt;/a&gt;, the app that turns the phone into a network camera&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://www.thymio.org/&quot;&gt;Thymio&lt;/a&gt;, the next robot, maybe&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/storagebits/microbrawl&quot;&gt;The micro:brawl code&lt;/a&gt;, on GitHub&lt;/li&gt;
&lt;/ul&gt;
&lt;aside class=&quot;transparence&quot; aria-label=&quot;How this post was written&quot;&gt;
  &lt;p class=&quot;transparence-titre&quot;&gt;How this post was written&lt;/p&gt;
  &lt;p&gt;Drafted by Claude Opus 5.5 from: a brief and an interview written by François, his session messages, the &lt;code&gt;microbrawl&lt;/code&gt; repository and the footage from the shoot.&lt;/p&gt;
  &lt;p&gt;Proofread and corrected by François in 10 min, 0 % of the text rewritten.&lt;/p&gt;
  &lt;p&gt;Translated from French by the AI, from the proofread version. The translation was not reviewed line by line.&lt;/p&gt;
&lt;/aside&gt;
</content>
    </entry>
    <entry xml:lang="en">
        <title>A Redmi 9A and a Galaxy Tab 2 debloated with Claude: the numbers before and after</title>
        <published>2026-10-26T08:09:33-04:00</published>
        <updated>2026-10-26T08:09:33-04:00</updated>
        <author><name>François</name></author>
        <link rel="alternate" type="text/html" href="https://blok.storagebits.workers.dev/blog/seconde-vie/"/>
        <id>https://blok.storagebits.workers.dev/blog/seconde-vie/</id>
        <summary type="html">A weekend spent slimming down a budget phone and a 2012 tablet with Claude Code: what the measurements say, and what the agent broke on its own and then fixed.</summary>
        <content type="html" xml:base="https://blok.storagebits.workers.dev/blog/seconde-vie/">&lt;p&gt;This weekend, I dug out two devices that had become painfully slow: a Xiaomi Redmi 9A and a 2012 Samsung Galaxy Tab 2 7.0. The idea: use AI to strip out the ads and the heavy apps, and give them a second life. &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://claude.com/product/claude-code&quot;&gt;Claude Code&lt;/a&gt; drove everything from my Mac, over USB. I followed its analysis and told it which way to go.&lt;/p&gt;
&lt;p&gt;Without AI, I wouldn’t have done it, out of laziness, let’s be honest! Technically, changing a firmware and tweaking settings isn’t hard. What AI brings above all is speed and surgical precision: it pinpoints exactly where performance drops, and it comes up with relevant suggestions in record time. And you learn things along the way.&lt;/p&gt;
&lt;p&gt;Here are the numbers.&lt;/p&gt;
&lt;figure class=&quot;sys sys-chiffres&quot;&gt;&lt;div class=&quot;defile&quot; tabindex=&quot;0&quot; role=&quot;region&quot; aria-label=&quot;Before and after the debloat, measured on both devices&quot;&gt;&lt;svg viewBox=&quot;0 0 640 380&quot; role=&quot;img&quot; aria-labelledby=&quot;ch-t ch-d&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;title id=&quot;ch-t&quot;&gt;Before and after the debloat, measured on both devices&lt;/title&gt;&lt;desc id=&quot;ch-d&quot;&gt;Redmi 9A: free RAM from 604 to 933 MB, swap used from 577 to 43 MB, running services from 103 to 31, pixels drawn per frame from 1,152,000 to 648,000 (540p rendering). Galaxy Tab 2 on LineageOS 14.1: free RAM from 21 to 234 MB.&lt;/desc&gt;&lt;rect fill=&quot;currentColor&quot; opacity=&quot;0.3&quot; x=&quot;200&quot; y=&quot;14&quot; width=&quot;14&quot; height=&quot;10&quot; rx=&quot;2&quot;/&gt;&lt;text x=&quot;220&quot; y=&quot;23&quot; class=&quot;sys-etiquette&quot;&gt;before&lt;/text&gt;&lt;rect class=&quot;sys-utilise&quot; x=&quot;290&quot; y=&quot;14&quot; width=&quot;14&quot; height=&quot;10&quot; rx=&quot;2&quot;/&gt;&lt;text x=&quot;310&quot; y=&quot;23&quot; class=&quot;sys-etiquette&quot;&gt;after&lt;/text&gt;&lt;text x=&quot;0&quot; y=&quot;64&quot; class=&quot;sys-titre&quot;&gt;Redmi 9A · Free RAM&lt;/text&gt;&lt;text x=&quot;0&quot; y=&quot;80&quot; class=&quot;sys-detail&quot;&gt;higher is better&lt;/text&gt;&lt;g&gt;&lt;title&gt;Redmi 9A, Free RAM, before: 604 MB&lt;/title&gt;&lt;rect class=&quot;avant&quot; fill=&quot;currentColor&quot; opacity=&quot;0.3&quot; x=&quot;200&quot; y=&quot;54&quot; width=&quot;220.1&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;428.1&quot; y=&quot;66.5&quot; class=&quot;sys-axe&quot; style=&quot;font-weight:400&quot;&gt;604 MB&lt;/text&gt;&lt;/g&gt;&lt;g&gt;&lt;title&gt;Redmi 9A, Free RAM, after: 933 MB&lt;/title&gt;&lt;rect class=&quot;sys-utilise&quot; x=&quot;200&quot; y=&quot;76&quot; width=&quot;340.0&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;548.0&quot; y=&quot;88.5&quot; class=&quot;sys-axe sys-sain-txt&quot; style=&quot;font-weight:700&quot;&gt;933 MB&lt;/text&gt;&lt;/g&gt;&lt;text x=&quot;0&quot; y=&quot;128&quot; class=&quot;sys-titre&quot;&gt;Redmi 9A · Swap used&lt;/text&gt;&lt;text x=&quot;0&quot; y=&quot;144&quot; class=&quot;sys-detail&quot;&gt;lower is better&lt;/text&gt;&lt;g&gt;&lt;title&gt;Redmi 9A, Swap used, before: 577 MB&lt;/title&gt;&lt;rect class=&quot;avant&quot; fill=&quot;currentColor&quot; opacity=&quot;0.3&quot; x=&quot;200&quot; y=&quot;118&quot; width=&quot;340.0&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;548.0&quot; y=&quot;130.5&quot; class=&quot;sys-axe&quot; style=&quot;font-weight:400&quot;&gt;577 MB&lt;/text&gt;&lt;/g&gt;&lt;g&gt;&lt;title&gt;Redmi 9A, Swap used, after: 43 MB&lt;/title&gt;&lt;rect class=&quot;sys-utilise&quot; x=&quot;200&quot; y=&quot;140&quot; width=&quot;25.3&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;233.3&quot; y=&quot;152.5&quot; class=&quot;sys-axe sys-sain-txt&quot; style=&quot;font-weight:700&quot;&gt;43 MB&lt;/text&gt;&lt;/g&gt;&lt;text x=&quot;0&quot; y=&quot;192&quot; class=&quot;sys-titre&quot;&gt;Redmi 9A · Running services&lt;/text&gt;&lt;text x=&quot;0&quot; y=&quot;208&quot; class=&quot;sys-detail&quot;&gt;lower is better&lt;/text&gt;&lt;g&gt;&lt;title&gt;Redmi 9A, Running services, before: 103&lt;/title&gt;&lt;rect class=&quot;avant&quot; fill=&quot;currentColor&quot; opacity=&quot;0.3&quot; x=&quot;200&quot; y=&quot;182&quot; width=&quot;340.0&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;548.0&quot; y=&quot;194.5&quot; class=&quot;sys-axe&quot; style=&quot;font-weight:400&quot;&gt;103&lt;/text&gt;&lt;/g&gt;&lt;g&gt;&lt;title&gt;Redmi 9A, Running services, after: 31&lt;/title&gt;&lt;rect class=&quot;sys-utilise&quot; x=&quot;200&quot; y=&quot;204&quot; width=&quot;102.3&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;310.3&quot; y=&quot;216.5&quot; class=&quot;sys-axe sys-sain-txt&quot; style=&quot;font-weight:700&quot;&gt;31&lt;/text&gt;&lt;/g&gt;&lt;text x=&quot;0&quot; y=&quot;256&quot; class=&quot;sys-titre&quot;&gt;Redmi 9A · Pixels per frame&lt;/text&gt;&lt;text x=&quot;0&quot; y=&quot;272&quot; class=&quot;sys-detail&quot;&gt;lower is better&lt;/text&gt;&lt;g&gt;&lt;title&gt;Redmi 9A, Pixels per frame, before: 1,152k&lt;/title&gt;&lt;rect class=&quot;avant&quot; fill=&quot;currentColor&quot; opacity=&quot;0.3&quot; x=&quot;200&quot; y=&quot;246&quot; width=&quot;340.0&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;548.0&quot; y=&quot;258.5&quot; class=&quot;sys-axe&quot; style=&quot;font-weight:400&quot;&gt;1,152k&lt;/text&gt;&lt;/g&gt;&lt;g&gt;&lt;title&gt;Redmi 9A, Pixels per frame, after: 648k&lt;/title&gt;&lt;rect class=&quot;sys-utilise&quot; x=&quot;200&quot; y=&quot;268&quot; width=&quot;191.2&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;399.2&quot; y=&quot;280.5&quot; class=&quot;sys-axe sys-sain-txt&quot; style=&quot;font-weight:700&quot;&gt;648k&lt;/text&gt;&lt;/g&gt;&lt;line class=&quot;sys-grille&quot; x1=&quot;0&quot; y1=&quot;302&quot; x2=&quot;640&quot; y2=&quot;302&quot;/&gt;&lt;text x=&quot;0&quot; y=&quot;320&quot; class=&quot;sys-titre&quot;&gt;Galaxy Tab 2 · Free RAM&lt;/text&gt;&lt;text x=&quot;0&quot; y=&quot;336&quot; class=&quot;sys-detail&quot;&gt;higher is better&lt;/text&gt;&lt;g&gt;&lt;title&gt;Galaxy Tab 2, Free RAM, before: 21 MB&lt;/title&gt;&lt;rect class=&quot;avant&quot; fill=&quot;currentColor&quot; opacity=&quot;0.3&quot; x=&quot;200&quot; y=&quot;310&quot; width=&quot;30.5&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;238.5&quot; y=&quot;322.5&quot; class=&quot;sys-axe&quot; style=&quot;font-weight:400&quot;&gt;21 MB&lt;/text&gt;&lt;/g&gt;&lt;g&gt;&lt;title&gt;Galaxy Tab 2, Free RAM, after: 234 MB&lt;/title&gt;&lt;rect class=&quot;sys-utilise&quot; x=&quot;200&quot; y=&quot;332&quot; width=&quot;340.0&quot; height=&quot;16&quot; rx=&quot;3&quot;/&gt;&lt;text x=&quot;548.0&quot; y=&quot;344.5&quot; class=&quot;sys-axe sys-sain-txt&quot; style=&quot;font-weight:700&quot;&gt;234 MB&lt;/text&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/div&gt;&lt;figcaption&gt;Each row has its own scale. Measured by the agent: the Redmi after a reboot, the tablet before and after the fix described below.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;On the system side, the tablet went from its original Android 4.1.2 to &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://lineageos.org/&quot;&gt;LineageOS&lt;/a&gt; 14.1 (Android 7.1.2), in an unofficial build.&lt;/p&gt;
&lt;h2 id=&quot;the-redmi-23-fewer-apps-37-packages-switched-off&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-redmi-23-fewer-apps-37-packages-switched-off&quot; aria-label=&quot;Anchor link for: the-redmi-23-fewer-apps-37-packages-switched-off&quot;&gt;#&lt;/a&gt;
The Redmi: 23 fewer apps, 37 packages switched off&lt;/h2&gt;
&lt;p&gt;The Redmi 9A has 1.86 GB of RAM, a Helio G25 and MIUI 12.5.5 on Android 11. My starting goal: understand why it was so slow, and debloat it.&lt;/p&gt;
&lt;p&gt;First sweep: 23 preinstalled apps removed (Facebook, Amazon, Netflix, LinkedIn, games…) and 37 system packages disabled. Every change has its own rollback script. After a reboot, free RAM goes from 604 to 933 MB, used swap from 577 to 43 MB, and running services from 103 to 31.&lt;/p&gt;
&lt;p&gt;MIUI doesn’t give in easily. Any write to the settings from the shell is refused until you sign in to a Mi account and turn on a second setting, “USB debugging (Security settings)”. And the script itself had a bug: &lt;code&gt;adb shell&lt;/code&gt; swallowed the loop’s standard input, so only the first package of each list was processed. Adding &lt;code&gt;&amp;lt;/dev/null&lt;/code&gt; to the call fixed it.&lt;/p&gt;
&lt;h2 id=&quot;second-round-fewer-pixels-same-screen&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#second-round-fewer-pixels-same-screen&quot; aria-label=&quot;Anchor link for: second-round-fewer-pixels-same-screen&quot;&gt;#&lt;/a&gt;
Second round: fewer pixels, same screen&lt;/h2&gt;
&lt;p&gt;« Pas mal ! » [Not bad!] So I asked whether we could go further. Second round: a cap on background processes, autostart turned off, the Play Store restricted in the background, face unlock turned off.&lt;/p&gt;
&lt;p&gt;The phone still stuttered a lot, and I was starting to consider installing LineageOS on it. But Xiaomi first imposes a 168-hour wait before the bootloader can be unlocked, with &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://en.miui.com/unlock/&quot;&gt;its tool&lt;/a&gt; that only runs on Windows. In the meantime, we carried on with MIUI.&lt;/p&gt;
&lt;p&gt;Then the resolution. The screen is rendered at 540 × 1200 instead of 720 × 1600, with the density lowered in the same proportion (240 instead of 320). Lowering only the size would have made the whole interface bigger. By lowering the density too, the logical space stays the same: the home screen grid and the dock stay exactly where they were, but 44% fewer pixels are drawn on every frame. That’s less work for the GPU of a Helio G25.&lt;/p&gt;
&lt;p&gt;For the intended use, giving up resolution isn’t a problem. An old device brought back to life as a spare doesn’t need cutting-edge quality. What it needs is to be responsive, fast and usable.&lt;/p&gt;
&lt;h2 id=&quot;the-tablet-lineageos-14-1-from-a-mac&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-tablet-lineageos-14-1-from-a-mac&quot; aria-label=&quot;Anchor link for: the-tablet-lineageos-14-1-from-a-mac&quot;&gt;#&lt;/a&gt;
The tablet: LineageOS 14.1 from a Mac&lt;/h2&gt;
&lt;p&gt;The Galaxy Tab 2 has an OMAP4430, 1 GB of RAM and Android 4.1.2 out of the box. There is no official LineageOS 14.1 for it, only &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://androidfilehost.com/?w=files&amp;amp;flid=209387&quot;&gt;unofficial builds&lt;/a&gt; maintained by a community developer. The agent flashed everything from the Mac, with &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/Benjamin-Dobell/Heimdall&quot;&gt;Heimdall&lt;/a&gt; and &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://twrp.me/&quot;&gt;TWRP&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/seconde-vie/tab2-telechargement.webp&quot; alt=&quot;The white Galaxy Tab 2, plugged in over USB, showing “Downloading… Do not turn off target !!” under the green Android robot&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The tablet in download mode, ready to receive TWRP through Heimdall.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;LineageOS booted. Even before the flash, I had asked it to debloat the tablet as much as possible. The first launch crawled to the point of being nearly unusable, and even rooted, the tablet was still impractical.&lt;/p&gt;
&lt;h2 id=&quot;when-the-agent-debloats-a-bit-too-hard-notices-and-fixes-it&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#when-the-agent-debloats-a-bit-too-hard-notices-and-fixes-it&quot; aria-label=&quot;Anchor link for: when-the-agent-debloats-a-bit-too-hard-notices-and-fixes-it&quot;&gt;#&lt;/a&gt;
When the agent debloats a bit too hard, notices, and fixes it&lt;/h2&gt;
&lt;p&gt;The agent eventually found two causes. The first came from itself: its debloat had disabled the print spooler, and &lt;code&gt;system_server&lt;/code&gt; kept trying to bind to it, every attempt ending in a timeout. The second came from the ROM: the sensor driver ran nonstop with zero clients.&lt;/p&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Tablet&lt;/th&gt;&lt;th&gt;Before&lt;/th&gt;&lt;th&gt;After&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;code&gt;system_server&lt;/code&gt; (jiffies over 6 s)&lt;/td&gt;&lt;td&gt;1,608&lt;/td&gt;&lt;td&gt;86&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Free RAM&lt;/td&gt;&lt;td&gt;21 MB&lt;/td&gt;&lt;td&gt;234 MB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;CPU busy&lt;/td&gt;&lt;td&gt;50%&lt;/td&gt;&lt;td&gt;35%&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Load (5 min)&lt;/td&gt;&lt;td&gt;2.99&lt;/td&gt;&lt;td&gt;1.34&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;It re-enabled the spooler and neutralized the sensor driver.&lt;/p&gt;
&lt;p&gt;Now, after this debloat, it’s fully usable, and even much faster than when it was new! Its main job will be to serve as a &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://www.home-assistant.io/&quot;&gt;Home Assistant&lt;/a&gt; screen, but it could be used for plenty of other things.&lt;/p&gt;
&lt;h2 id=&quot;hardware-that-isn-t-so-outdated&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#hardware-that-isn-t-so-outdated&quot; aria-label=&quot;Anchor link for: hardware-that-isn-t-so-outdated&quot;&gt;#&lt;/a&gt;
Hardware that isn’t so outdated&lt;/h2&gt;
&lt;p&gt;On X, I’ve been seeing dozens of posts on the subject every day for two weeks, mostly about TVs. It’s quite a setback for the manufacturers who stuffed all these devices with bloatware. I think we’re going to see a real revival of so-called “outdated” hardware, which actually isn’t outdated at all: it was just crushed under a pile of bad software.&lt;/p&gt;
&lt;p&gt;And there will be surprises. A security researcher, puzzled by oddly targeted ads, &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://x.com/log4j/status/2113014142600953868&quot;&gt;says they got root access&lt;/a&gt; to their own 2025 Samsung TV, and found a privacy horror there.&lt;/p&gt;
&lt;h2 id=&quot;and-the-two-robot-vacuums-for-the-road&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#and-the-two-robot-vacuums-for-the-road&quot; aria-label=&quot;Anchor link for: and-the-two-robot-vacuums-for-the-road&quot;&gt;#&lt;/a&gt;
And the two robot vacuums for the road&lt;/h2&gt;
&lt;p&gt;That same weekend, I also brought two old Roborocks back into service. On the first one, the agent installed &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://valetudo.cloud/&quot;&gt;Valetudo&lt;/a&gt;, a free firmware that runs the robot locally, without the manufacturer’s cloud, then hooked it up to Home Assistant, all in 15 minutes. There too, I got into it because I knew AI would be fast. Without it, I wouldn’t have done it.&lt;/p&gt;
&lt;p&gt;The second vacuum shuts down as soon as it leaves its dock, even after a full night of charging. The battery is dead. That’s where AI can’t do anything…&lt;/p&gt;
&lt;h2 id=&quot;links&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#links&quot; aria-label=&quot;Anchor link for: links&quot;&gt;#&lt;/a&gt;
Links&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://claude.com/product/claude-code&quot;&gt;Claude Code&lt;/a&gt;, the agent that drove everything&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://lineageos.org/&quot;&gt;LineageOS&lt;/a&gt;, the free operating system installed on the tablet&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://androidfilehost.com/?w=files&amp;amp;flid=209387&quot;&gt;Unofficial LineageOS 14.1 builds for the Galaxy Tab 2&lt;/a&gt;, on AndroidFileHost&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/Benjamin-Dobell/Heimdall&quot;&gt;Heimdall&lt;/a&gt;, the flashing tool for Samsung devices, usable on a Mac&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://twrp.me/&quot;&gt;TWRP&lt;/a&gt;, the recovery&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://en.miui.com/unlock/&quot;&gt;Mi Unlock&lt;/a&gt;, Xiaomi’s bootloader unlock tool&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://www.home-assistant.io/&quot;&gt;Home Assistant&lt;/a&gt;, the home automation the tablet will display&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://valetudo.cloud/&quot;&gt;Valetudo&lt;/a&gt;, the free firmware for the vacuums&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://x.com/log4j/status/2113014142600953868&quot;&gt;The post about the Samsung TV&lt;/a&gt;, on X&lt;/li&gt;
&lt;/ul&gt;
&lt;aside class=&quot;transparence&quot; aria-label=&quot;How this post was written&quot;&gt;
  &lt;p class=&quot;transparence-titre&quot;&gt;How this post was written&lt;/p&gt;
  &lt;p&gt;Drafted by Claude Opus 5.5 from: a brief and an interview written by François, the messages he typed in four Claude Code sessions over the weekend, and the measurements the agent took on the devices.&lt;/p&gt;
  &lt;p&gt;Proofread and corrected by François in 30 min, 22 % of the text rewritten.&lt;/p&gt;
  &lt;p&gt;Translated from French by the AI, from the proofread version. The translation was not reviewed line by line.&lt;/p&gt;
&lt;/aside&gt;
</content>
    </entry>
    <entry xml:lang="en">
        <title>A comment on Hacker News, in production four hours later</title>
        <published>2026-10-22T20:09:14-04:00</published>
        <updated>2026-10-22T20:09:14-04:00</updated>
        <author><name>François</name></author>
        <link rel="alternate" type="text/html" href="https://blok.storagebits.workers.dev/blog/boucle-hn/"/>
        <id>https://blok.storagebits.workers.dev/blog/boucle-hn/</id>
        <summary type="html">On October 22, a stranger&#39;s suggestion on Hacker News reached production on Uberblok in 4 h 05. I said &quot;go&quot; and approved the merge. Agents did the rest, with two reviews.</summary>
        <content type="html" xml:base="https://blok.storagebits.workers.dev/blog/boucle-hn/">&lt;p&gt;On October 22, a stranger left a one-line suggestion under the &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://uberblok.storagebits.workers.dev/en/&quot;&gt;Uberblok&lt;/a&gt; launch post on Hacker News. Four hours later, it was in production. In between, I did only two things: say “go”, then approve the merge. Agents wrote the code, two others reviewed it.&lt;/p&gt;
&lt;p&gt;The speed of the code is not what interests me here. It’s the whole loop: public feedback, a human decision, agents that build, two independent reviews, a human approval, then production. Here is every step, who took it, and the places where the loop slipped.&lt;/p&gt;
&lt;h2 id=&quot;the-context&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-context&quot; aria-label=&quot;Anchor link for: the-context&quot;&gt;#&lt;/a&gt;
The context&lt;/h2&gt;
&lt;p&gt;Uberblok is an interactive museum of OpenZFS internals, built by agents (&lt;a href=&quot;https://blok.storagebits.workers.dev/blog/uberblok/&quot;&gt;the launch post&lt;/a&gt;); its code is public, under the MIT license, in the &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/algotitanhq/uberblok&quot;&gt;&lt;code&gt;uberblok&lt;/code&gt;&lt;/a&gt; repository. &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://news.ycombinator.com/item?id=50180257&quot;&gt;My Show HN&lt;/a&gt; of October 21 had collected 5 points before sinking. I asked the moderators for a second chance, and dang replied: “Sure, let’s give it a try!” On the 22nd, my link stayed on the front page for several hours and climbed as high as 10th place. It now has 70 points and 20 comments. That day the site got about 880 visits, against 31 the day before, at 1.6 pages per visit: most readers stayed in the hall.&lt;/p&gt;
&lt;h2 id=&quot;the-trigger&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-trigger&quot; aria-label=&quot;Anchor link for: the-trigger&quot;&gt;#&lt;/a&gt;
The trigger&lt;/h2&gt;
&lt;p&gt;Meanwhile, my Claude Code session polled the HN API every two minutes and reported each new comment to me. Every piece of feedback became a line in the project’s card.&lt;/p&gt;
&lt;p&gt;Among them, &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://news.ycombinator.com/item?id=50198928&quot;&gt;ghm2180&lt;/a&gt; wrote: “One small suggestion: Make the code open to the right instead of a new window, that makes it easy to keep context without distraction.” I replied that a side panel was the right direction.&lt;/p&gt;
&lt;p&gt;Other comments targeted the prose and the difficulty. &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://news.ycombinator.com/item?id=50199743&quot;&gt;ghostly_s&lt;/a&gt; spoke of “gratingly AI prose”, &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://news.ycombinator.com/item?id=50200752&quot;&gt;cbarrick&lt;/a&gt; asked for less “punchy” prose, and &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://news.ycombinator.com/item?id=50198204&quot;&gt;unethical_ban&lt;/a&gt; wrote: “A lot of this goes over my head”. The day before, two comments on &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://www.reddit.com/r/zfs/comments/1xbzla6/&quot;&gt;r/zfs&lt;/a&gt; said “Needs more guidance and less AI-y texts” and “citing every line is not explanation or insight”.&lt;/p&gt;
&lt;h2 id=&quot;the-decision&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-decision&quot; aria-label=&quot;Anchor link for: the-decision&quot;&gt;#&lt;/a&gt;
The decision&lt;/h2&gt;
&lt;p&gt;A little over an hour later, Claude grouped three recurring criticisms: prose that smells of AI, a lack of guidance, and code citations that break the reading. Its proposal: a pilot on a single room, copy-on-write. I replied “oui ! go” [yes! go].&lt;/p&gt;
&lt;p&gt;I made up my mind quickly because the feature struck me as interesting right away. There was a lot of code on the site, so much that it felt overwhelming, almost indigestible. Rather than redo everything at once, I wanted to try it on one room first, to see how it would look.&lt;/p&gt;
&lt;h2 id=&quot;the-loop-step-by-step&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-loop-step-by-step&quot; aria-label=&quot;Anchor link for: the-loop-step-by-step&quot;&gt;#&lt;/a&gt;
The loop, step by step&lt;/h2&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Elapsed time&lt;/th&gt;&lt;th&gt;Step&lt;/th&gt;&lt;th&gt;Who&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;0 min&lt;/td&gt;&lt;td&gt;ghm2180 suggests opening the code on the right.&lt;/td&gt;&lt;td&gt;An HN reader&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;a little over 1 h&lt;/td&gt;&lt;td&gt;Claude groups three criticisms into a pilot on one room. I reply “oui ! go”.&lt;/td&gt;&lt;td&gt;Me&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;1 h 14&lt;/td&gt;&lt;td&gt;A ticket is opened for the CEO agent.&lt;/td&gt;&lt;td&gt;My Claude Code session&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;around 1 h 17&lt;/td&gt;&lt;td&gt;The CEO splits it in two: the build, and the merge, which waits for my approval.&lt;/td&gt;&lt;td&gt;The CEO agent&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2 h 02&lt;/td&gt;&lt;td&gt;PR #6 arrives: the room rewritten around a question, a reusable component for source notes (side panel from 1024 px wide, below the text on narrower screens), and a private preview. Two subagents, a technical writer and a code reviewer, went over it.&lt;/td&gt;&lt;td&gt;Uberblok’s engineer agent&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2 h 11&lt;/td&gt;&lt;td&gt;Approval: no blocker, two recommendations, four nits.&lt;/td&gt;&lt;td&gt;The design and UX agent&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2 h 19&lt;/td&gt;&lt;td&gt;Approval: all eight criteria met, 240 tests passing, excerpts checked against &lt;code&gt;zfs-2.4.4&lt;/code&gt;, zero accessibility violations, CI green.&lt;/td&gt;&lt;td&gt;The QA agent&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;4 h 05&lt;/td&gt;&lt;td&gt;I open the preview and approve the merge. The room is live a minute later.&lt;/td&gt;&lt;td&gt;Me&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;From the comment to a change approved by two reviewers, about 2 h 20 went by. To production, 4 h 05. The remaining 1 h 45 is the time I took to open the merge card.&lt;/p&gt;
&lt;p&gt;In the pilot room, citations went from 32 to 14, and none are left in the prose. The code on display went from 93 to 34 lines. &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/algotitanhq/uberblok/pull/6&quot;&gt;PR #6&lt;/a&gt; touches 8 files (+638, −176). The new room format is recorded in &lt;code&gt;DECISIONS.md&lt;/code&gt; (D21.1).&lt;/p&gt;
&lt;figure&gt;&lt;img src=&quot;panneau-source.png&quot; alt=&quot;The copy-on-write room in English: on the left, the text &amp;quot;In the code&amp;quot; and the Source button for zio_write_compress; on the right, the open side panel with the zio.c excerpt, lines 2094 to 2105, and two notes explaining it.&quot; width=&quot;1440&quot; height=&quot;860&quot; loading=&quot;lazy&quot;&gt;&lt;figcaption&gt;The &lt;a href=&quot;https://uberblok.storagebits.workers.dev/en/copy-on-write/&quot;&gt;copy-on-write room&lt;/a&gt; in production: the text stays on the left, and the &lt;code&gt;zio.c&lt;/code&gt; excerpt opens in a panel on the right.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;where-i-stay-in-the-loop&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#where-i-stay-in-the-loop&quot; aria-label=&quot;Anchor link for: where-i-stay-in-the-loop&quot;&gt;#&lt;/a&gt;
Where I stay in the loop&lt;/h2&gt;
&lt;p&gt;In two places only: the decision and the merge. In the preview, I opened the page, read it, tested it, saw how it rendered, and I was won over at once. I was amazed at how fast a stranger’s feedback on the Internet could become a PR, with a demo you could see and use before it even went to production. A few minutes later, I told ghm2180 it was live: “The rendering is far better!”&lt;/p&gt;
&lt;p&gt;The thread was openly hostile to text written by an AI. Under my “I built”, &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://news.ycombinator.com/item?id=50199189&quot;&gt;AyyEye&lt;/a&gt; replied: “You keep using those words. I don’t think it means what you think it means.” I conceded the point: “Fair hit. ‘Directed’ is closer: agents wrote the code and most of the text, I chose the subject, steered and reviewed.” And &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://news.ycombinator.com/item?id=50200905&quot;&gt;gspr&lt;/a&gt; answered: “You were a manager, in other words.”&lt;/p&gt;
&lt;p&gt;Yes: manager, producer, a bit of a director. Just as there are film directors, I feel I have become the director of a software production.&lt;/p&gt;
&lt;h2 id=&quot;where-it-slipped&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#where-it-slipped&quot; aria-label=&quot;Anchor link for: where-it-slipped&quot;&gt;#&lt;/a&gt;
Where it slipped&lt;/h2&gt;
&lt;p&gt;My first comment in the thread was killed automatically by HN’s software, probably because my account had never commented. dang restored it after an email.&lt;/p&gt;
&lt;p&gt;Two further points, more teaching animations and the rule against “punchy” prose, were posted 5 seconds after the CEO split the ticket. The build ticket never received them, and they move to the next round. The loop is fast, but it has gaps.&lt;/p&gt;
&lt;p&gt;Finally, only the English room changed. French and Spanish will follow.&lt;/p&gt;
&lt;h2 id=&quot;the-open-question&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-open-question&quot; aria-label=&quot;Anchor link for: the-open-question&quot;&gt;#&lt;/a&gt;
The open question&lt;/h2&gt;
&lt;p&gt;The most repeated criticism targets prose written by an AI, and I did not rewrite it by hand. The agents keep writing it, with stricter style rules. I can write a fully human text for small parts, or to express a feeling. Here, explaining code took a great deal of technical rigor. I chose to trust the AI rather than supply an approximate text, which is all I could have given. I don’t know yet whether that choice will answer the criticism.&lt;/p&gt;
&lt;h2 id=&quot;where-i-am&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#where-i-am&quot; aria-label=&quot;Anchor link for: where-i-am&quot;&gt;#&lt;/a&gt;
Where I am&lt;/h2&gt;
&lt;p&gt;Right after the merge, I launched the same format on every room, in parallel. I was convinced at once: it had to go everywhere, and I wanted the result as fast as possible.&lt;/p&gt;
&lt;aside class=&quot;transparence&quot; aria-label=&quot;How this post was written&quot;&gt;
  &lt;p class=&quot;transparence-titre&quot;&gt;How this post was written&lt;/p&gt;
  &lt;p&gt;Drafted by Claude Opus 5.5 from: a brief and an interview written by François, the &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://news.ycombinator.com/item?id=50180257&quot;&gt;Hacker News thread&lt;/a&gt;, &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/algotitanhq/uberblok/pull/6&quot;&gt;PR #6&lt;/a&gt; and &lt;code&gt;DECISIONS.md&lt;/code&gt; in the public &lt;code&gt;uberblok&lt;/code&gt; repository, and the agents’ tickets.&lt;/p&gt;
  &lt;p&gt;Proofread and corrected by François in 10 min, 0 % of the text rewritten.&lt;/p&gt;
  &lt;p&gt;Translated from French by the AI, from the proofread version. The translation was not reviewed line by line.&lt;/p&gt;
&lt;/aside&gt;
</content>
    </entry>
    <entry xml:lang="en">
        <title>Uberblok, an OpenZFS museum where every room cites the code</title>
        <published>2026-10-20T18:22:20-04:00</published>
        <updated>2026-10-20T18:22:20-04:00</updated>
        <author><name>François</name></author>
        <link rel="alternate" type="text/html" href="https://blok.storagebits.workers.dev/blog/uberblok/"/>
        <id>https://blok.storagebits.workers.dev/blog/uberblok/</id>
        <summary type="html">Uberblok is an interactive museum about OpenZFS in 14 stops: every technical claim points to the exact lines of zfs-2.4.4. Agents built it; I set the mission.</summary>
        <content type="html" xml:base="https://blok.storagebits.workers.dev/blog/uberblok/">&lt;p&gt;&lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://uberblok.storagebits.workers.dev/en/&quot;&gt;Uberblok&lt;/a&gt; is live: a museum about OpenZFS that you visit room by room. Fourteen stops: a hall, a wing devoted to history, eleven technical rooms and an engine room. Every technical claim points to an annotated excerpt of the OpenZFS code at &lt;code&gt;zfs-2.4.4&lt;/code&gt;, pinned at commit &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/openzfs/zfs/tree/71a9f9578616a90c3c14bb59629fb4d31bfd68d1&quot;&gt;&lt;code&gt;71a9f95&lt;/code&gt;&lt;/a&gt;. Every fact in the &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://uberblok.storagebits.workers.dev/en/history/&quot;&gt;History wing&lt;/a&gt; has its line in &lt;code&gt;SOURCES.md&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;AI agents built it, between October 18 and 20. I wrote the mission, gave my opinion on every version and approved the release. The site’s &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://uberblok.storagebits.workers.dev/en/engine-room/&quot;&gt;engine room&lt;/a&gt; says it in one sentence: “The site was written by AI agents, from a mission set by a human who validates the release.”&lt;/p&gt;
&lt;h2 id=&quot;why-zfs&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#why-zfs&quot; aria-label=&quot;Anchor link for: why-zfs&quot;&gt;#&lt;/a&gt;
Why ZFS&lt;/h2&gt;
&lt;p&gt;ZFS mattered a lot in my career. From 2010 to 2018, I was technical lead for file storage at OVHcloud. ZFS’s robustness impressed us as soon as we tried it, like other forward-looking technologies from Sun, Solaris and then OpenSolaris: Zones, or Crossbow. On that foundation we built really powerful products, up to high-availability systems that fail over from one head to the other, and heavily optimized send/receive, with mbuffer and compression. Deployed at scale, ZFS is a joy.&lt;/p&gt;
&lt;p&gt;The wish to pay tribute to it came naturally: diving into the guts of its code, which is a magnificent piece of software engineering.&lt;/p&gt;
&lt;h2 id=&quot;what-i-wanted&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#what-i-wanted&quot; aria-label=&quot;Anchor link for: what-i-wanted&quot;&gt;#&lt;/a&gt;
What I wanted&lt;/h2&gt;
&lt;p&gt;The mission fit in one sentence: « un musée que l’on visite salle par salle, où chaque salle rend visible […] une idée d’ingénierie du code source d’OpenZFS » [a museum you visit room by room, where each room makes visible […] an engineering idea from the OpenZFS source code]. Two rules came with it. For the rooms: « Une animation qui ne correspond à rien dans le code n’existe pas. » [An animation that matches nothing in the code does not exist.] For history: « Aucun fait, aucune date, aucune citation sans source vérifiable. Dans le doute, on retire. » [No fact, no date, no quote without a verifiable source. When in doubt, cut it.]&lt;/p&gt;
&lt;p&gt;So the code came before the figures. A first file, &lt;code&gt;ANALYSIS.md&lt;/code&gt;, maps the architecture and, for each room, the functions and structures that carry the idea. It now holds 116 excerpts. The pages read them at build time, and a script checks that each one is identical, byte for byte, to the file at the pinned commit. Most figures run a transcription of the code they show, tested against cases worked out by hand. The History wing rests on 43 sources, and CI checks that every note on the site matches a line in &lt;code&gt;SOURCES.md&lt;/code&gt;.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&quot;copie-sur-ecriture.png&quot; alt=&quot;The figure in the copy-on-write room: a tree of blocks, from the uberblock (UB, txg 41) down to four data blocks, with buttons to pick a block, rewrite it step by step, cut the power or take a snapshot.&quot; width=&quot;1112&quot; height=&quot;505&quot; loading=&quot;lazy&quot;&gt;&lt;figcaption&gt;The &lt;a href=&quot;https://uberblok.storagebits.workers.dev/en/copy-on-write/&quot;&gt;copy-on-write room&lt;/a&gt;: each block carries the txg that wrote it and its address on disk. You rewrite a block step by step, and you can cut the power at any step.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;where-it-broke&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#where-it-broke&quot; aria-label=&quot;Anchor link for: where-it-broke&quot;&gt;#&lt;/a&gt;
Where it broke&lt;/h2&gt;
&lt;p&gt;The first mistake came from my own mission. In it, I described the object in the hall as « l’uberblock et son ring de 128 » [the uberblock and its ring of 128]. The code says otherwise: the ring takes 128 KiB per label, and the size of a slot depends on the disk’s &lt;code&gt;ashift&lt;/code&gt; (&lt;code&gt;vdev_impl.h&lt;/code&gt;, L482 to L496). There are 128 slots with 512-byte sectors, but only 32 at &lt;code&gt;ashift&lt;/code&gt; 12, the usual case for disks with 4 KiB sectors.&lt;/p&gt;
&lt;p&gt;Three options were weighed. Writing “128 uberblocks” with no caveat was wrong for most pools in service. Showing only 32 was accurate, but lost the original picture. The choice: a 128 KiB ring, drawn with 128 slots, and an &lt;code&gt;ashift&lt;/code&gt; selector that merges them into 64, 32 or 16. The &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://uberblok.storagebits.workers.dev/en/&quot;&gt;hall&lt;/a&gt; stays true to the code, and the mission’s picture is kept.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&quot;anneau-en.png&quot; alt=&quot;The hall&#39;s ring in 3D view: a ring of 128 slots, with &quot;txg 4211, slot 115 of 128&quot; in the middle. Slot 115 is orange, slot 114 light grey.&quot; width=&quot;780&quot; height=&quot;500&quot; loading=&quot;lazy&quot;&gt;&lt;figcaption&gt;The hall&#39;s ring in 3D view, with 512-byte or 1 KiB sectors (&lt;code&gt;ashift&lt;/code&gt; 9 or 10): 128 slots of 1 KiB. The uberblock of txg 4211 sits in slot 115, because 4211 modulo 128 is 115; the one from txg 4210 stays intact just before it.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;The second was caught by the code review of a slice. A note in the &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://uberblok.storagebits.workers.dev/en/send-receive/&quot;&gt;send / receive room&lt;/a&gt; claimed that deduplication and block cloning don’t cause unchanged data to be sent again. The &lt;code&gt;spa.h&lt;/code&gt; comment it cited says the opposite: for those blocks, the physical birth can be earlier than the logical birth. Since send relies on the logical birth, a block deduplicated or cloned after the starting snapshot is sent again. The note was fixed, on the page and in &lt;code&gt;ANALYSIS.md&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;the-room-that-works-the-brain-hardest&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-room-that-works-the-brain-hardest&quot; aria-label=&quot;Anchor link for: the-room-that-works-the-brain-hardest&quot;&gt;#&lt;/a&gt;
The room that works the brain hardest&lt;/h2&gt;
&lt;p&gt;For me, it’s &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://uberblok.storagebits.workers.dev/en/metaslabs/&quot;&gt;Metaslabs and space maps&lt;/a&gt;. Metaslabs are really something! A software revolution few people are aware of.&lt;/p&gt;
&lt;p&gt;The starting problem, as the room puts it: with copy-on-write, every write allocates fresh space, and free space has to be recorded on disk. A bitmap for a 16 TiB pool, one bit per 4 KiB sector, would weigh 512 MiB and would have to be modified in place, which copy-on-write forbids. Instead, ZFS cuts each vdev into metaslabs, about 200 by default, keeps each one’s free space in an in-memory tree and writes only the changes to disk, in a space map that is only ever appended to. When it grows too long, it rewrites it shorter from the tree.&lt;/p&gt;
&lt;p&gt;In the figure, the space map of a 512 MiB metaslab is a strip of 64-bit words, encoded the way the macros in &lt;code&gt;space_map.h&lt;/code&gt; do it. Rewriting a 64 MiB database until the condensing test says yes, the map shrinks from 66,432 to 3,376 bytes.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&quot;metaslabs-en.png&quot; alt=&quot;The figure in the Metaslabs room: the 16 metaslabs of an 8 GiB vdev, the strip of metaslab 2 streaked with freed segments, the in-memory state (ms_allocatable: 380 MiB in 225 segments) and the space map on disk, 37,392 bytes long, made mostly of FREE entries of 128 and 256 KiB.&quot; width=&quot;2144&quot; height=&quot;1684&quot; loading=&quot;lazy&quot;&gt;&lt;figcaption&gt;The Metaslabs room after 40 txgs of rewriting the 64 MiB database: the free space of metaslab 2 is split into 225 segments, and its space map reaches 37,392 bytes, mostly FREE entries. It is not yet long enough to be condensed.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;where-i-am&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#where-i-am&quot; aria-label=&quot;Anchor link for: where-i-am&quot;&gt;#&lt;/a&gt;
Where I am&lt;/h2&gt;
&lt;p&gt;My mind hasn’t yet taken in everything that was generated! That’s what impresses me about this project: it teaches me things while I build it. A lifetime probably won’t be enough to understand all the subtleties of ZFS.&lt;/p&gt;
&lt;p&gt;The mission’s success criterion was: « si Matt Ahrens ou Jeff Bonwick tombaient dessus, ils trouveraient l’exposé exact, élégant, et fidèle au code » [if Matt Ahrens or Jeff Bonwick stumbled on it, they would find the explanation accurate, elegant, and true to the code]. I don’t have the skills to say whether it’s met. If one of them ever lands on the site, I only hope he won’t find too many typos. And that he’ll enjoy taking it apart as much as I do.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://uberblok.storagebits.workers.dev/en/&quot;&gt;museum&lt;/a&gt; is live; its code, &lt;code&gt;ANALYSIS.md&lt;/code&gt;, &lt;code&gt;DECISIONS.md&lt;/code&gt; and &lt;code&gt;BUILDLOG.md&lt;/code&gt; are in the &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/algotitanhq/uberblok&quot;&gt;public repository&lt;/a&gt;.&lt;/p&gt;
&lt;aside class=&quot;transparence&quot; aria-label=&quot;How this post was written&quot;&gt;
  &lt;p class=&quot;transparence-titre&quot;&gt;How this post was written&lt;/p&gt;
  &lt;p&gt;Drafted by Claude Opus 5.5 from: a mission prompt and an interview written by François, the public &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/algotitanhq/uberblok&quot;&gt;&lt;code&gt;uberblok&lt;/code&gt;&lt;/a&gt; repository (&lt;code&gt;README.md&lt;/code&gt;, &lt;code&gt;BUILDLOG.md&lt;/code&gt;, &lt;code&gt;DECISIONS.md&lt;/code&gt;, &lt;code&gt;SOURCES.md&lt;/code&gt;) and the live site.&lt;/p&gt;
  &lt;p&gt;Proofread and corrected by François in 30 min, 2 % of the text rewritten.&lt;/p&gt;
  &lt;p&gt;Translated from French by the AI, from the proofread version. The translation was not reviewed line by line.&lt;/p&gt;
&lt;/aside&gt;
</content>
    </entry>
    <entry xml:lang="en">
        <title>Testing the NUCLEO-F412ZG with Hubris and Humility</title>
        <published>2026-10-18T18:05:17-04:00</published>
        <updated>2026-10-18T18:05:17-04:00</updated>
        <author><name>François</name></author>
        <link rel="alternate" type="text/html" href="https://blok.storagebits.workers.dev/blog/hubris-f412/"/>
        <id>https://blok.storagebits.workers.dev/blog/hubris-f412/</id>
        <summary type="html">Porting Hubris, Oxide Computer&#39;s embedded OS, to a NUCLEO-F412ZG at 100 MHz: what had to change, from the untouched kernel to the two Humility fixes, explained.</summary>
        <content type="html" xml:base="https://blok.storagebits.workers.dev/blog/hubris-f412/">&lt;p&gt;The setup: a NUCLEO-F412ZG, an ST development board with a Cortex-M4, and &lt;a class=&quot;external&quot; rel=&quot;external&quot; href=&quot;https://github.com/oxidecomputer/hubris&quot;&gt;Hubris&lt;/a&gt;, Oxide Computer’s embedded OS, which doesn’t support it out of the box. The kernel didn’t change by a single line. The board had to be added, three drivers adapted, the probe firmware updated, and Humility, the debugger, fixed twice.&lt;/p&gt;
&lt;figure class=&quot;portrait&quot;&gt;&lt;img src=&quot;nucleo-f412zg.webp&quot; alt=&quot;The NUCLEO-F412ZG board on a black mat, plugged in over USB, with its green, blue and red user LEDs lit.&quot; width=&quot;1125&quot; height=&quot;1500&quot; loading=&quot;lazy&quot;&gt;&lt;figcaption&gt;The NUCLEO-F412ZG, powered through the USB of the ST-LINK, the probe built into the bottom of the board. Above it, the three user LEDs driven by the pong task.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;hubris-humility-what-are-they-who-s-behind-them&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#hubris-humility-what-are-they-who-s-behind-them&quot; aria-label=&quot;Anchor link for: hubris-humility-what-are-they-who-s-behind-them&quot;&gt;#&lt;/a&gt;
Hubris, Humility: what are they? Who’s behind them?&lt;/h2&gt;
&lt;p&gt;Hubris is a small OS written in Rust that Oxide uses in its servers for the service processor. Each task lives in its own memory regions, protected by the MPU. Tasks, their priorities and their access to peripherals are all declared at build time, in an &lt;code&gt;app.toml&lt;/code&gt;. Humility reads the board’s memory through the probe and decodes it using the debug info: task states, stacks, registers, dumps.&lt;/p&gt;
&lt;p&gt;The main author is Cliff Biffle. His talk at the Open Source Firmware Conference 2021 explains why Oxide wrote its own OS. This talk is truly amazing, what a beautiful piece of engineering!&lt;/p&gt;
&lt;figure class=&quot;video video-externe video-large&quot;&gt;&lt;iframe src=&quot;https://player.vimeo.com/video/650913348?dnt=1&quot; title=&quot;On Hubris and Humility, Cliff L. Biffle, OSFC 2021&quot; loading=&quot;lazy&quot; allow=&quot;fullscreen; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;figcaption&gt;“On Hubris and Humility: developing an OS for robustness in Rust”, Cliff L. Biffle, Open Source Firmware Conference 2021, 43 min.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Bryan Cantrill, co-founder and CTO of Oxide, and Adam Leventhal also deserve a mention among the big names behind Hubris. In his talk on debugging Docker in production, at DockerCon 2015, Cantrill makes a simple case: a crashed system doesn’t get rebooted before it has been debugged, either live or from an image of its memory, the core dump. Humility does both: &lt;code&gt;humility tasks&lt;/code&gt; reads the running board, and &lt;code&gt;humility dump&lt;/code&gt; saves its full state to a file you examine later, with the board unplugged.&lt;/p&gt;
&lt;figure class=&quot;video video-externe video-large&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/AdMqCUhvRz8&quot; title=&quot;Running Aground: Debugging Docker in Production, Bryan Cantrill, DockerCon 2015&quot; loading=&quot;lazy&quot; allow=&quot;fullscreen; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;figcaption&gt;“Running Aground: Debugging Docker in Production”, Bryan Cantrill, DockerCon 2015. Docker took down the original video in 2018; this is the copy Cantrill reposted.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;what-had-to-be-patched&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#what-had-to-be-patched&quot; aria-label=&quot;Anchor link for: what-had-to-be-patched&quot;&gt;#&lt;/a&gt;
What had to be patched&lt;/h2&gt;
&lt;p&gt;I paste a mission prompt into Claude: get Hubris running on this board, plugged into the Mac over USB. The closest target in the repository is a Discovery board with an STM32F407. That same evening, Hubris runs at 100 MHz on the NUCLEO.&lt;/p&gt;
&lt;p&gt;What was patched, layer by layer:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The kernel&lt;/strong&gt;: nothing, not one line.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The board and the app&lt;/strong&gt;: pure additions. A 2-line board file (the chip name for probe-rs), a chip description (1 MiB of flash, 256 KiB of RAM, peripheral addresses), and the app itself, with the 100 MHz clock configuration. The branch adds 621 lines, documentation included.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Three shared drivers&lt;/strong&gt;, about 150 lines: &lt;code&gt;stm32fx-rcc&lt;/code&gt; selects the F412 variant of the register library, &lt;code&gt;user-leds&lt;/code&gt; drives the Nucleo’s LEDs on PB0, PB7 and PB14, and &lt;code&gt;stm32fx-usart&lt;/code&gt; moves to USART3 (PD8/PD9), the ST-LINK’s virtual serial port, clocked at 50 MHz. The tricky part: two chip variants of the &lt;code&gt;stm32f4&lt;/code&gt; crate can’t coexist in the same task, and two of these drivers forced the F407 in their &lt;code&gt;Cargo.toml&lt;/code&gt;. That choice became a feature. The Discovery still builds identically, rechecked at every step.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The probe&lt;/strong&gt;: the ST-LINK firmware was too old and had to be updated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Humility&lt;/strong&gt;, the debugger: two fixes, detailed below. The first one repairs Humility against the latest Hubris, whatever the board. The second fixes a wrong measurement that shows up on this board.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;the-mission-in-slices&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-mission-in-slices&quot; aria-label=&quot;Anchor link for: the-mission-in-slices&quot;&gt;#&lt;/a&gt;
The mission, in slices&lt;/h2&gt;
&lt;p&gt;The prompt’s north star fits in one sentence: “&lt;code&gt;humility tasks&lt;/code&gt; montre toutes les tâches &lt;code&gt;Healthy&lt;/code&gt; sur la NUCLEO-F412ZG, les LEDs utilisateur clignotent sous le contrôle de &lt;code&gt;pong&lt;/code&gt;, et &lt;code&gt;ping&lt;/code&gt; écrit sur le port COM virtuel du ST-LINK.” [&lt;code&gt;humility tasks&lt;/code&gt; shows every task &lt;code&gt;Healthy&lt;/code&gt; on the NUCLEO-F412ZG, the user LEDs blink under &lt;code&gt;pong&lt;/code&gt;’s control, and &lt;code&gt;ping&lt;/code&gt; writes to the ST-LINK’s virtual COM port.] Five slices, each one has to end on hardware that works: preflight, reference build, first boot on the 16 MHz internal oscillator, UART, then 100 MHz.&lt;/p&gt;
&lt;p&gt;First stop in slice 0. The board’s ST-LINK firmware is V2J25; probe-rs, which Humility builds on, requires J26. The prompt said to stop and ask. Claude offers to patch it automatically, I give it the zip downloaded from ST’s site, and that’s it.&lt;/p&gt;
&lt;p&gt;Every task is &lt;code&gt;Healthy&lt;/code&gt;. Claude can’t see the LEDs: it reads GPIOB’s output register several times in a row and sees it cycle between PB14, PB0 and nothing, in time with &lt;code&gt;pong&lt;/code&gt;. The board runs at 100 MHz. Over 10 seconds, the Hubris clock counts 10,235 ms against 10.32 s of wall time, the gap being Humility’s connection latency.&lt;/p&gt;
&lt;figure class=&quot;sys sys-horloge&quot;&gt;&lt;div class=&quot;defile&quot; tabindex=&quot;0&quot; role=&quot;region&quot; aria-label=&quot;Clock tree of the NUCLEO-F412ZG at 100 MHz, scrollable horizontally&quot;&gt;&lt;svg viewBox=&quot;0 0 760 300&quot; role=&quot;img&quot; aria-labelledby=&quot;horloge-t horloge-d&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;title id=&quot;horloge-t&quot;&gt;Clock tree of the NUCLEO-F412ZG at 100 MHz&lt;/title&gt;&lt;desc id=&quot;horloge-d&quot;&gt;The ST-LINK MCO supplies 8 MHz to the HSE bypass input. PLLM 4 gives 2 MHz, PLLN 100 gives a 200 MHz VCO, PLLP 2 gives a 100 MHz SYSCLK. AHB at 100 MHz, APB1 at 50 MHz for USART3, APB2 at 100 MHz.&lt;/desc&gt;&lt;defs&gt;&lt;marker id=&quot;hl-fl&quot; viewBox=&quot;0 0 10 10&quot; refX=&quot;9&quot; refY=&quot;5&quot; markerWidth=&quot;7&quot; markerHeight=&quot;7&quot; orient=&quot;auto-start-reverse&quot;&gt;&lt;path class=&quot;sys-pointe&quot; d=&quot;M0,0 L10,5 L0,10 z&quot;/&gt;&lt;/marker&gt;&lt;/defs&gt;&lt;rect class=&quot;sys-boite&quot; x=&quot;10&quot; y=&quot;40&quot; width=&quot;118&quot; height=&quot;74&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;69&quot; y=&quot;60&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;ST-LINK MCO&lt;/text&gt;&lt;text x=&quot;69&quot; y=&quot;84&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;8 MHz&lt;/text&gt;&lt;text x=&quot;69&quot; y=&quot;103&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;square wave, not a crystal&lt;/text&gt;&lt;rect class=&quot;sys-boite&quot; x=&quot;158&quot; y=&quot;40&quot; width=&quot;118&quot; height=&quot;74&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;217&quot; y=&quot;60&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;HSE bypass&lt;/text&gt;&lt;text x=&quot;217&quot; y=&quot;84&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;8 MHz&lt;/text&gt;&lt;text x=&quot;217&quot; y=&quot;103&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;HSEBYP before HSEON&lt;/text&gt;&lt;rect class=&quot;sys-boite&quot; x=&quot;306&quot; y=&quot;40&quot; width=&quot;118&quot; height=&quot;74&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;365&quot; y=&quot;60&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;PLLM = 4&lt;/text&gt;&lt;text x=&quot;365&quot; y=&quot;84&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;2 MHz&lt;/text&gt;&lt;text x=&quot;365&quot; y=&quot;103&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;VCO input 1–2 MHz&lt;/text&gt;&lt;rect class=&quot;sys-boite&quot; x=&quot;454&quot; y=&quot;40&quot; width=&quot;118&quot; height=&quot;74&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;513&quot; y=&quot;60&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;PLLN = 100&lt;/text&gt;&lt;text x=&quot;513&quot; y=&quot;84&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;200 MHz&lt;/text&gt;&lt;text x=&quot;513&quot; y=&quot;103&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;VCO 100–432 MHz&lt;/text&gt;&lt;rect class=&quot;sys-boite&quot; x=&quot;602&quot; y=&quot;40&quot; width=&quot;148&quot; height=&quot;74&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;676&quot; y=&quot;60&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;PLLP = 2&lt;/text&gt;&lt;text x=&quot;676&quot; y=&quot;84&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;100 MHz&lt;/text&gt;&lt;text x=&quot;676&quot; y=&quot;103&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;SYSCLK, max F412&lt;/text&gt;&lt;line class=&quot;sys-fil sys-courant&quot; x1=&quot;128&quot; y1=&quot;77&quot; x2=&quot;156&quot; y2=&quot;77&quot; marker-end=&quot;url(#hl-fl)&quot;/&gt;&lt;line class=&quot;sys-fil sys-courant&quot; x1=&quot;276&quot; y1=&quot;77&quot; x2=&quot;304&quot; y2=&quot;77&quot; marker-end=&quot;url(#hl-fl)&quot;/&gt;&lt;line class=&quot;sys-fil sys-courant&quot; x1=&quot;424&quot; y1=&quot;77&quot; x2=&quot;452&quot; y2=&quot;77&quot; marker-end=&quot;url(#hl-fl)&quot;/&gt;&lt;line class=&quot;sys-fil sys-courant&quot; x1=&quot;572&quot; y1=&quot;77&quot; x2=&quot;600&quot; y2=&quot;77&quot; marker-end=&quot;url(#hl-fl)&quot;/&gt;&lt;path class=&quot;sys-fil sys-courant&quot; d=&quot;M676,114 V150 H160 V196&quot; marker-end=&quot;url(#hl-fl)&quot;/&gt;&lt;path class=&quot;sys-fil sys-courant&quot; d=&quot;M390,150 V196&quot; marker-end=&quot;url(#hl-fl)&quot;/&gt;&lt;path class=&quot;sys-fil sys-courant&quot; d=&quot;M620,150 V196&quot; marker-end=&quot;url(#hl-fl)&quot;/&gt;&lt;rect class=&quot;sys-boite&quot; x=&quot;60&quot; y=&quot;200&quot; width=&quot;200&quot; height=&quot;74&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;160&quot; y=&quot;220&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;AHB ÷1&lt;/text&gt;&lt;text x=&quot;160&quot; y=&quot;244&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;100 MHz&lt;/text&gt;&lt;text x=&quot;160&quot; y=&quot;263&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;core, SysTick: 100,000 cycles/ms&lt;/text&gt;&lt;rect class=&quot;sys-boite&quot; x=&quot;290&quot; y=&quot;200&quot; width=&quot;200&quot; height=&quot;74&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;390&quot; y=&quot;220&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;APB1 ÷2&lt;/text&gt;&lt;text x=&quot;390&quot; y=&quot;244&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;50 MHz&lt;/text&gt;&lt;text x=&quot;390&quot; y=&quot;263&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;USART3: BRR 434 → 115,207 baud&lt;/text&gt;&lt;rect class=&quot;sys-boite&quot; x=&quot;520&quot; y=&quot;200&quot; width=&quot;200&quot; height=&quot;74&quot; rx=&quot;6&quot;/&gt;&lt;text x=&quot;620&quot; y=&quot;220&quot; class=&quot;sys-titre&quot; text-anchor=&quot;middle&quot;&gt;APB2 ÷1&lt;/text&gt;&lt;text x=&quot;620&quot; y=&quot;244&quot; class=&quot;sys-valeur&quot; text-anchor=&quot;middle&quot;&gt;100 MHz&lt;/text&gt;&lt;text x=&quot;620&quot; y=&quot;263&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;max 100 MHz&lt;/text&gt;&lt;text x=&quot;380&quot; y=&quot;24&quot; class=&quot;sys-note&quot; text-anchor=&quot;middle&quot;&gt;Flash: 3 wait states (90 &amp;lt; HCLK ≤ 100 MHz at 2.7–3.6 V) · regulator in scale 1&lt;/text&gt;&lt;text x=&quot;380&quot; y=&quot;296&quot; class=&quot;sys-code&quot; text-anchor=&quot;middle&quot;&gt;Read back on the board: RCC_PLLCFGR = 0x28401904 · RCC_CFGR = 0x100a · FLASH_ACR = 0x703&lt;/text&gt;&lt;/svg&gt;&lt;/div&gt;&lt;figcaption&gt;Slice 4: from 16 MHz on the HSI to 100 MHz. Every constant is justified by a section of RM0402 in the code, and read back from the registers once flashed.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;where-it-broke-savedstate&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#where-it-broke-savedstate&quot; aria-label=&quot;Anchor link for: where-it-broke-savedstate&quot;&gt;#&lt;/a&gt;
Where it broke: SavedState&lt;/h2&gt;
&lt;p&gt;Right before the first boot, &lt;code&gt;humility tasks&lt;/code&gt; fails: “expected structure SavedState not found”.&lt;/p&gt;
&lt;p&gt;To understand why, you need to know how Humility reads a task. When the kernel interrupts a task, it stores its registers (r4 to r11, the stack pointer, and so on) in a structure, the &lt;code&gt;save&lt;/code&gt; field of that task’s &lt;code&gt;Task&lt;/code&gt; entry. Humility reads the task table straight from the board’s RAM. To know at which byte each register sits, it needs the layout of that structure, which it finds in the debug info (DWARF) of the kernel binary. And it looked the structure up by name: &lt;code&gt;SavedState&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;On October 9, four days earlier, Hubris PR #2704 introduced an &lt;code&gt;Arch&lt;/code&gt; trait so the kernel can target several architectures. The ARMv7-M structure was renamed &lt;code&gt;ArmMSavedState&lt;/code&gt;. Humility can no longer find it, and neither &lt;code&gt;humility tasks&lt;/code&gt; nor reading a task’s registers works, whatever the board.&lt;/p&gt;
&lt;p&gt;Two ways out. Claude first pins the branch right before that commit and keeps going, which is enough for this board. It’s in DECISIONS.md, and it unblocks things. Then the fix, on the &lt;code&gt;savedstate-by-member&lt;/code&gt; branch of my Humility fork: instead of looking the type up by name, Humility takes the type of the &lt;code&gt;save&lt;/code&gt; field of &lt;code&gt;Task&lt;/code&gt;, which DWARF provides directly. The name can change; the field stays. Eleven lines added, four removed, in the two places that read this structure: &lt;code&gt;humility tasks&lt;/code&gt; and reading the registers. The fix works with both the old kernel and the new one, tested on the board in both cases.&lt;/p&gt;
&lt;h2 id=&quot;the-second-fix-stackmargin-showed-zeros&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-second-fix-stackmargin-showed-zeros&quot; aria-label=&quot;Anchor link for: the-second-fix-stackmargin-showed-zeros&quot;&gt;#&lt;/a&gt;
The second fix: stackmargin showed zeros&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;humility stackmargin&lt;/code&gt; tells you, for each task, how much stack it has never used. The idea: when a task starts, the kernel fills its whole stack with a pattern, &lt;code&gt;0xbaddcafe&lt;/code&gt;. Humility reads the stack from the bottom and counts the words still intact: that’s the margin.&lt;/p&gt;
&lt;p&gt;On the board, it shows a margin of 0 for &lt;code&gt;jefe&lt;/code&gt;, the supervisor, with a 152-byte stack, while its &lt;code&gt;app.toml&lt;/code&gt; declares 2200.&lt;/p&gt;
&lt;p&gt;A Cortex-M4’s MPU only knows regions whose size is a power of 2. Since April (PR #2458), Hubris splits a task’s RAM into several contiguous regions to waste less: &lt;code&gt;jefe&lt;/code&gt;’s 2560 bytes become 1 KiB + 1 KiB + 512 bytes instead of a single 4 KiB region. A stack can therefore span several regions. The kernel was fixed in May (PR #2492) to paint all of it. Humility, though, only read the region holding the top of the stack: here the last one, which holds only 152 bytes of stack, all of them used. Hence the margin of 0.&lt;/p&gt;
&lt;figure class=&quot;sys sys-pile&quot;&gt;&lt;div class=&quot;defile&quot; tabindex=&quot;0&quot; role=&quot;region&quot; aria-label=&quot;The jefe stack as seen by humility stackmargin, before and after the fix, scrollable horizontally&quot;&gt;&lt;svg viewBox=&quot;0 0 800 300&quot; role=&quot;img&quot; aria-labelledby=&quot;pile-t pile-d&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;title id=&quot;pile-t&quot;&gt;The jefe stack as seen by humility stackmargin, before and after the fix&lt;/title&gt;&lt;desc id=&quot;pile-d&quot;&gt;jefe&#39;s RAM is 2560 bytes split into three contiguous MPU regions. Its 2200-byte stack starts at 0x20001400 and its initial top is 0x20001C98, in the third region. Before the fix, Humility only read that third region: 152 bytes, all used, hence a margin of 0. After the fix, it reads all 2200 bytes, finds 1928 bytes still at 0xbaddcafe and a margin of 1928.&lt;/desc&gt;&lt;defs&gt;&lt;pattern id=&quot;pl-peint&quot; width=&quot;6&quot; height=&quot;6&quot; patternUnits=&quot;userSpaceOnUse&quot; patternTransform=&quot;rotate(45)&quot;&gt;&lt;line class=&quot;sys-hachure&quot; x1=&quot;0&quot; y1=&quot;0&quot; x2=&quot;0&quot; y2=&quot;6&quot;/&gt;&lt;/pattern&gt;&lt;/defs&gt;&lt;rect class=&quot;sys-peint-fond&quot; x=&quot;70.0&quot; y=&quot;54&quot; width=&quot;482.0&quot; height=&quot;44&quot;/&gt;&lt;rect fill=&quot;url(#pl-peint)&quot; x=&quot;70.0&quot; y=&quot;54&quot; width=&quot;482.0&quot; height=&quot;44&quot;/&gt;&lt;rect class=&quot;sys-utilise&quot; x=&quot;552.0&quot; y=&quot;54&quot; width=&quot;68.0&quot; height=&quot;44&quot;/&gt;&lt;rect class=&quot;sys-donnees&quot; x=&quot;620.0&quot; y=&quot;54&quot; width=&quot;90.0&quot; height=&quot;44&quot;/&gt;&lt;text x=&quot;198&quot; y=&quot;81&quot; class=&quot;sys-dans&quot; text-anchor=&quot;middle&quot;&gt;0xbaddcafe: 1928 B never touched&lt;/text&gt;&lt;text x=&quot;665&quot; y=&quot;81&quot; class=&quot;sys-dans&quot; text-anchor=&quot;middle&quot;&gt;data&lt;/text&gt;&lt;rect class=&quot;sys-region&quot; x=&quot;70.0&quot; y=&quot;54&quot; width=&quot;256.0&quot; height=&quot;44&quot;/&gt;&lt;text x=&quot;198&quot; y=&quot;44&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;region 1 · 1 KiB&lt;/text&gt;&lt;rect class=&quot;sys-region&quot; x=&quot;326.0&quot; y=&quot;54&quot; width=&quot;256.0&quot; height=&quot;44&quot;/&gt;&lt;text x=&quot;454&quot; y=&quot;44&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;region 2 · 1 KiB&lt;/text&gt;&lt;rect class=&quot;sys-region&quot; x=&quot;582.0&quot; y=&quot;54&quot; width=&quot;128.0&quot; height=&quot;44&quot;/&gt;&lt;text x=&quot;646&quot; y=&quot;44&quot; class=&quot;sys-detail&quot; text-anchor=&quot;middle&quot;&gt;region 3 · 512 B&lt;/text&gt;&lt;line class=&quot;sys-repere&quot; x1=&quot;620.0&quot; y1=&quot;50&quot; x2=&quot;620.0&quot; y2=&quot;168&quot;/&gt;&lt;text x=&quot;624&quot; y=&quot;120&quot; class=&quot;sys-code&quot;&gt;initial top 0x20001C98&lt;/text&gt;&lt;line class=&quot;sys-repere&quot; x1=&quot;552.0&quot; y1=&quot;98&quot; x2=&quot;552.0&quot; y2=&quot;108&quot;/&gt;&lt;text x=&quot;548&quot; y=&quot;120&quot; class=&quot;sys-detail&quot; text-anchor=&quot;end&quot;&gt;272 B used&lt;/text&gt;&lt;text x=&quot;70&quot; y=&quot;290&quot; class=&quot;sys-axe&quot; text-anchor=&quot;middle&quot;&gt;0x20001400&lt;/text&gt;&lt;text x=&quot;326&quot; y=&quot;290&quot; class=&quot;sys-axe&quot; text-anchor=&quot;middle&quot;&gt;0x20001800&lt;/text&gt;&lt;text x=&quot;582&quot; y=&quot;290&quot; class=&quot;sys-axe&quot; text-anchor=&quot;middle&quot;&gt;0x20001C00&lt;/text&gt;&lt;text x=&quot;710&quot; y=&quot;290&quot; class=&quot;sys-axe&quot; text-anchor=&quot;middle&quot;&gt;0x20001E00&lt;/text&gt;&lt;text x=&quot;10&quot; y=&quot;174&quot; class=&quot;sys-serie sys-faute-txt&quot;&gt;before&lt;/text&gt;&lt;line class=&quot;sys-mesure sys-faute&quot; x1=&quot;582.0&quot; y1=&quot;170&quot; x2=&quot;620.0&quot; y2=&quot;170&quot;/&gt;&lt;circle class=&quot;sys-scan sys-scan-avant&quot; cx=&quot;582.0&quot; cy=&quot;170&quot; r=&quot;5&quot;/&gt;&lt;text x=&quot;574&quot; y=&quot;174&quot; class=&quot;sys-detail&quot; text-anchor=&quot;end&quot;&gt;reads 152 B, stops at the 1st word → MARGIN 0&lt;/text&gt;&lt;text x=&quot;10&quot; y=&quot;219&quot; class=&quot;sys-serie sys-sain-txt&quot;&gt;after&lt;/text&gt;&lt;line class=&quot;sys-mesure sys-sain&quot; x1=&quot;70.0&quot; y1=&quot;215&quot; x2=&quot;620.0&quot; y2=&quot;215&quot;/&gt;&lt;g class=&quot;sys-scan-apres&quot;&gt;&lt;circle class=&quot;sys-scan&quot; cx=&quot;70.0&quot; cy=&quot;215&quot; r=&quot;5&quot;/&gt;&lt;/g&gt;&lt;text x=&quot;70&quot; y=&quot;237&quot; class=&quot;sys-detail&quot;&gt;reads 2200 B from the base, counts 1928 B of 0xbaddcafe → MARGIN 1928&lt;/text&gt;&lt;/svg&gt;&lt;/div&gt;&lt;figcaption&gt;Read on the board (humility map, readmem). Humility only looked at the region holding the top of the stack. The kernel, for its part, paints the whole stack with 0xbaddcafe across all three regions.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;pre class=&quot;giallo z-code&quot; &gt;&lt;code data-lang=&quot;plain&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;           STACKBASE  STACKSIZE  MAXDEPTH  MARGIN&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;before jefe 0x20001c00       152       152       0&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;after  jefe 0x20001400      2200       272    1928&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The fix, on the &lt;code&gt;stackmargin-multi-region&lt;/code&gt; branch, walks down the contiguous regions that belong to the same task, as the kernel does, before measuring. Humility’s regression test confirmed it too: on a dump from a Sidecar, a real Oxide switch, the expected snapshot contained three bogus “MARGIN 0”. After the fix, every stack size matches, to the byte, the one declared in that Sidecar’s &lt;code&gt;app.toml&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;where-i-m-at&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#where-i-m-at&quot; aria-label=&quot;Anchor link for: where-i-m-at&quot;&gt;#&lt;/a&gt;
Where I’m at&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;nucleo-f412zg&lt;/code&gt; branch has five commits, with a DECISIONS.md and a README. It’s pinned before PR #2704; with the first fix, Humility also keeps up with the recent kernel. Both fixes are on my Humility fork. The kernel test suite on the F412, the optional slice 5, isn’t done. And “all &lt;code&gt;Healthy&lt;/code&gt;” is only half true: &lt;code&gt;ping&lt;/code&gt; deliberately faults every 100 replies from &lt;code&gt;pong&lt;/code&gt;, as in Oxide’s demos.&lt;/p&gt;
&lt;p&gt;A lead for later, not done yet: an I2C or SPI sensor behind a driver task. In Hubris, a driver is a task like any other: it alone has access to the peripheral’s registers, declared in the &lt;code&gt;app.toml&lt;/code&gt;, and the other tasks talk to it through messages. The repository’s I2C driver targets the STM32H7 and G0 (plus a separate driver for the LPC55), SPI only the STM32H7 and the LPC55: nothing for the F4 family, it would have to be written for this board.&lt;/p&gt;
&lt;p&gt;To be continued…&lt;/p&gt;
&lt;aside class=&quot;transparence&quot; aria-label=&quot;How this post was written&quot;&gt;
  &lt;p class=&quot;transparence-titre&quot;&gt;How this post was written&lt;/p&gt;
  &lt;p&gt;Drafted by Claude Opus 5.5 from: a mission prompt, about ten messages and an interview written by François, his Claude Code session, the &lt;code&gt;hubris&lt;/code&gt; repository (5 commits on the &lt;code&gt;nucleo-f412zg&lt;/code&gt; branch), two Humility branches (3 commits), the &lt;code&gt;humility&lt;/code&gt; outputs and the registers read back on the board.&lt;/p&gt;
  &lt;p&gt;Proofread and corrected by François in 20 min, 6 % of the text rewritten.&lt;/p&gt;
  &lt;p&gt;Translated from French by the AI, from the proofread version. The translation was not reviewed line by line.&lt;/p&gt;
&lt;/aside&gt;
</content>
    </entry>
    <entry xml:lang="en">
        <title>A 2020 watch, a complete firmware, three days</title>
        <published>2026-10-16T00:00:00+00:00</published>
        <updated>2026-10-16T00:00:00+00:00</updated>
        <author><name>François</name></author>
        <link rel="alternate" type="text/html" href="https://blok.storagebits.workers.dev/blog/ressusciter-kronograf/"/>
        <id>https://blok.storagebits.workers.dev/blog/ressusciter-kronograf/</id>
        <summary type="html">A 2020 T-Watch was sitting in a corner: developing for it took too much effort. In three days, with an agent, it got a firmware written from scratch and released under the MIT license.</summary>
        <content type="html" xml:base="https://blok.storagebits.workers.dev/blog/ressusciter-kronograf/">&lt;p&gt;I bought a LilyGO T-Watch 2020 six years ago, because it was cheap and ideal for testing and tinkering. Developing for it, on the other hand, took a real investment: C/C++, a framework to learn, some embedded know-how. It ended up in a corner, with other unfinished side projects.&lt;/p&gt;
&lt;p&gt;With AI, all those brakes come off: within a few minutes, I had a complete firmware, written from scratch. Without AI, I would not have taken it out of the drawer: building anything on it took too much effort.&lt;/p&gt;
&lt;p&gt;What devices are sleeping at your place? Imagine what you could make of them, in record time.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/&quot;&gt;post about the four days&lt;/a&gt; already told the story of the first flash. Here, I stay with the watch.&lt;/p&gt;
&lt;h2 id=&quot;what-i-wanted&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#what-i-wanted&quot; aria-label=&quot;Anchor link for: what-i-wanted&quot;&gt;#&lt;/a&gt;
What I wanted&lt;/h2&gt;
&lt;p&gt;An aviation chronograph dial and 7-segment displays in the style of “time circuits”. Then the weather, the buses and the iPhone notifications. The full list of apps is in the repository’s README.&lt;/p&gt;
&lt;p&gt;My method comes down to two moves. I simply lay out the features I want. Then I immediately ask for a first end-to-end version, to get a short feedback loop. The result becomes convincing very quickly.&lt;/p&gt;
&lt;p&gt;I steered the development in natural language, by stating intentions. Reading the generated code, I also learned a lot, about the language as much as about the frameworks and embedded concepts. The teaching value is huge!&lt;/p&gt;
&lt;h2 id=&quot;the-beginning&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-beginning&quot; aria-label=&quot;Anchor link for: the-beginning&quot;&gt;#&lt;/a&gt;
The beginning&lt;/h2&gt;
&lt;p&gt;First commit at 3:22 am. The mission prompt set two rules: back up the original 16 MB of flash before any write, and never touch the eFuses or the core voltage.&lt;/p&gt;
&lt;p&gt;The backup nearly failed. At 921,600 baud, the USB port vanished in the middle of a read. The agent started over at 230,400 baud, in 1 MB blocks checked one by one, because above that the cable introduced errors. At 3:46 am, the full backup was verified and its SHA-256 hash recorded. At 3:48 am, the first verified flash on the watch.&lt;/p&gt;
&lt;p&gt;I was a bit afraid of bricking the watch. I didn’t know where the fault came from; probably the cable. The agent took care of everything, down to trying a slow, chunked flash to work around that faulty cable (!). Its questions and its methods were relevant and precise, and that is what gave me confidence.&lt;/p&gt;
&lt;p&gt;At 4:09 am, the aviator dial was on screen, with a second hand ticking at 8 Hz.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/ressusciter-kronograf/kronograf-t1-aviator.webp&quot; alt=&quot;The aviation chronograph dial, captured from the real watch over the serial port: graduated bezel, three sub-dials for battery, minutes and steps, orange second hand&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The aviator dial, captured on the real watch over the serial port. Capture already published in the previous post.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&quot;the-moment-it-broke&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-moment-it-broke&quot; aria-label=&quot;Anchor link for: the-moment-it-broke&quot;&gt;#&lt;/a&gt;
The moment it broke&lt;/h2&gt;
&lt;p&gt;Plugged into USB, the watch held up. On battery, it crashed every single time after a few seconds. During the morning, I feared it was bricked, and I was pushing the agent to hurry before the next crash. I had to power it off and on again three times.&lt;/p&gt;
&lt;p&gt;There were two causes, found one after the other. First, the processor’s watchdog stayed armed during light sleep. It is now suspended before going to sleep and re-armed on wake-up. Second, a press on the button froze the watch. The power chip’s interrupt line stays low until it is read, and the interrupt kept firing endlessly. GPIO interrupts are now disabled during sleep, and I saw that the watch held up very well.&lt;/p&gt;
&lt;h2 id=&quot;a-decision-stop-depending-on-the-cable&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#a-decision-stop-depending-on-the-cable&quot; aria-label=&quot;Anchor link for: a-decision-stop-depending-on-the-cable&quot;&gt;#&lt;/a&gt;
A decision: stop depending on the cable&lt;/h2&gt;
&lt;p&gt;The USB drop-outs kept coming back during flashes. There were two options: wait for the port to come back, or make the cable optional. The agent proposed a “workshop mode”: when the watch is powered over USB and Wi-Fi is configured, it stays connected, accepts over-the-air updates (OTA) and exposes a TCP console. Wi-Fi left on all the time is normally an anti-pattern. On mains power, the battery is not at stake, and the option can be turned off.&lt;/p&gt;
&lt;p&gt;Since the cable kept failing, the agent switched to Wi-Fi updates (OTA) on its own. Magic! Later, the drop-outs also showed up while the processor was in its ROM bootloader: so the problem is hardware, not software. A safe mode followed: after three crashes in a row within the first minute, Bluetooth does not start, so the watch can always be repaired remotely.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/ressusciter-kronograf/kronograf-photo.webp&quot; alt=&quot;The real T-Watch 2020 lying on the table: Kronograf diagnostic screen, memory, sensors detected in green, battery at 100%&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The real watch on the diagnostic screen, the first screen flashed. Photo already published in the previous post.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&quot;where-i-stand&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#where-i-stand&quot; aria-label=&quot;Anchor link for: where-i-stand&quot;&gt;#&lt;/a&gt;
Where I stand&lt;/h2&gt;
&lt;p&gt;The cable problem (B2 in &lt;code&gt;BLOCKERS.md&lt;/code&gt;) is still open: the micro-USB connection remains fragile. The double tap that wakes the screen is still a bit hit-and-miss, but it works. The wrist gesture to wake the watch still needs tuning. Battery life over a full day has not been measured yet.&lt;/p&gt;
&lt;p&gt;What impressed me most is how quickly the agent flashed the watch on its own and showed me concrete results. I can’t wait to try it on other devices. In fact, I’ll soon be taking my micro:bits out again: I have an idea for a project!&lt;/p&gt;
&lt;aside class=&quot;transparence&quot; aria-label=&quot;How this post was written&quot;&gt;
  &lt;p class=&quot;transparence-titre&quot;&gt;How this post was written&lt;/p&gt;
  &lt;p&gt;Drafted by Claude Opus 5.5 from: a brief and an interview written by François, his session messages, the &lt;code&gt;kronograf&lt;/code&gt; repository, &lt;code&gt;DECISIONS.md&lt;/code&gt; and &lt;code&gt;BLOCKERS.md&lt;/code&gt;.&lt;/p&gt;
  &lt;p&gt;Proofread and corrected by François in 30 min, 17 % of the text rewritten.&lt;/p&gt;
  &lt;p&gt;Translated from French by the AI, from the proofread version. The translation was not reviewed line by line.&lt;/p&gt;
&lt;/aside&gt;
</content>
    </entry>
    <entry xml:lang="en">
        <title>Twelve minutes from idea to TV</title>
        <published>2026-10-12T00:00:00+00:00</published>
        <updated>2026-10-12T00:00:00+00:00</updated>
        <author><name>François</name></author>
        <link rel="alternate" type="text/html" href="https://blok.storagebits.workers.dev/blog/quatre-jours/"/>
        <id>https://blok.storagebits.workers.dev/blog/quatre-jours/</id>
        <summary type="html">Four days, six projects, 159 commits. The gap between “I&#39;d like that” and “it runs on the device” has become ridiculous. What still slows things down is me, my cables and my quotas.</summary>
        <content type="html" xml:base="https://blok.storagebits.workers.dev/blog/quatre-jours/">&lt;p&gt;Thursday, October 8, 8:34 pm. I send a mission prompt to an agent. At 8:46 pm the time shows up, huge, on my TV, in a typeface the agent picked.&lt;/p&gt;
&lt;p&gt;Four days later: six projects, 159 commits, some 240 messages from me, a good share of them under five words. “go T8”. “vas-y présente la tranche 3” [go ahead, show me slice 3]. “c’est fait, reteste” [done, test again].&lt;/p&gt;
&lt;p&gt;The gap between intent and something real has become ridiculous. Twelve minutes for the Almanak app. Sixteen for Lukarne. The bottleneck now is me: my sleep, my cables, my quotas.&lt;/p&gt;
&lt;figure class=&quot;frise&quot;&gt;&lt;div class=&quot;defile&quot; tabindex=&quot;0&quot; role=&quot;region&quot; aria-label=&quot;Timeline, scrolls horizontally&quot;&gt;&lt;svg viewBox=&quot;0 0 900 412&quot; role=&quot;img&quot; aria-labelledby=&quot;frise-titre frise-desc&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;title id=&quot;frise-titre&quot;&gt;Four days of commits, project by project&lt;/title&gt;&lt;desc id=&quot;frise-desc&quot;&gt;One row per project, from Thursday 8 October 7 pm to Monday 12 October 7 pm. Each tick is a commit. The hollow circle marks the first message to the agent; the filled circle, raised above the row, the first concrete result. Nights are shaded.&lt;/desc&gt;&lt;rect class=&quot;nuit&quot; x=&quot;157.3&quot; y=&quot;34&quot; width=&quot;55.0&quot; height=&quot;338&quot;/&gt;&lt;line class=&quot;grille&quot; x1=&quot;157.3&quot; x2=&quot;157.3&quot; y1=&quot;34&quot; y2=&quot;372&quot;/&gt;&lt;text class=&quot;axe&quot; x=&quot;161.3&quot; y=&quot;28&quot;&gt;Fri 9&lt;/text&gt;&lt;rect class=&quot;nuit&quot; x=&quot;345.8&quot; y=&quot;34&quot; width=&quot;55.0&quot; height=&quot;338&quot;/&gt;&lt;line class=&quot;grille&quot; x1=&quot;345.8&quot; x2=&quot;345.8&quot; y1=&quot;34&quot; y2=&quot;372&quot;/&gt;&lt;text class=&quot;axe&quot; x=&quot;349.8&quot; y=&quot;28&quot;&gt;Sat 10&lt;/text&gt;&lt;rect class=&quot;nuit&quot; x=&quot;534.3&quot; y=&quot;34&quot; width=&quot;55.0&quot; height=&quot;338&quot;/&gt;&lt;line class=&quot;grille&quot; x1=&quot;534.3&quot; x2=&quot;534.3&quot; y1=&quot;34&quot; y2=&quot;372&quot;/&gt;&lt;text class=&quot;axe&quot; x=&quot;538.3&quot; y=&quot;28&quot;&gt;Sun 11&lt;/text&gt;&lt;rect class=&quot;nuit&quot; x=&quot;722.8&quot; y=&quot;34&quot; width=&quot;55.0&quot; height=&quot;338&quot;/&gt;&lt;line class=&quot;grille&quot; x1=&quot;722.8&quot; x2=&quot;722.8&quot; y1=&quot;34&quot; y2=&quot;372&quot;/&gt;&lt;text class=&quot;axe&quot; x=&quot;726.8&quot; y=&quot;28&quot;&gt;Mon 12&lt;/text&gt;&lt;text class=&quot;axe&quot; x=&quot;118.0&quot; y=&quot;28&quot;&gt;Thu 8&lt;/text&gt;&lt;text class=&quot;nom&quot; x=&quot;104&quot; y=&quot;85.0&quot; text-anchor=&quot;end&quot;&gt;Almanak&lt;/text&gt;&lt;line class=&quot;rail&quot; x1=&quot;118&quot; x2=&quot;872&quot; y1=&quot;81.0&quot; y2=&quot;81.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;669.9&quot; x2=&quot;669.9&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;669.6&quot; x2=&quot;669.6&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;611.3&quot; x2=&quot;611.3&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;145.9&quot; x2=&quot;145.9&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;145.3&quot; x2=&quot;145.3&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;140.8&quot; x2=&quot;140.8&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;139.4&quot; x2=&quot;139.4&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;137.5&quot; x2=&quot;137.5&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;135.9&quot; x2=&quot;135.9&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;133.6&quot; x2=&quot;133.6&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;131.9&quot; x2=&quot;131.9&quot; y1=&quot;74.0&quot; y2=&quot;88.0&quot;/&gt;&lt;path class=&quot;delai&quot; d=&quot;M130.3,81.0 L131.9,81.0 L131.9,63.0&quot;/&gt;&lt;circle class=&quot;intention&quot; cx=&quot;130.3&quot; cy=&quot;81.0&quot; r=&quot;5&quot;&gt;&lt;title&gt;Thu 8:34 pm · mission prompt&lt;/title&gt;&lt;/circle&gt;&lt;circle class=&quot;concret&quot; cx=&quot;131.9&quot; cy=&quot;63.0&quot; r=&quot;5.5&quot;&gt;&lt;title&gt;8:46 pm · the clock shows up on the TV&lt;/title&gt;&lt;/circle&gt;&lt;text class=&quot;etiquette&quot; x=&quot;140.9&quot; y=&quot;67.0&quot;&gt;12 min&lt;/text&gt;&lt;text class=&quot;compte&quot; x=&quot;880&quot; y=&quot;85.0&quot;&gt;11&lt;/text&gt;&lt;text class=&quot;nom&quot; x=&quot;104&quot; y=&quot;139.0&quot; text-anchor=&quot;end&quot;&gt;Homelab&lt;/text&gt;&lt;line class=&quot;rail&quot; x1=&quot;118&quot; x2=&quot;872&quot; y1=&quot;135.0&quot; y2=&quot;135.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;869.9&quot; x2=&quot;869.9&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;863.8&quot; x2=&quot;863.8&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;863.3&quot; x2=&quot;863.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;859.6&quot; x2=&quot;859.6&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;847.3&quot; x2=&quot;847.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;843.9&quot; x2=&quot;843.9&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;838.3&quot; x2=&quot;838.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;820.5&quot; x2=&quot;820.5&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;819.9&quot; x2=&quot;819.9&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;819.9&quot; x2=&quot;819.9&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;811.7&quot; x2=&quot;811.7&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;810.2&quot; x2=&quot;810.2&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;807.8&quot; x2=&quot;807.8&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;777.1&quot; x2=&quot;777.1&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;762.2&quot; x2=&quot;762.2&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;757.2&quot; x2=&quot;757.2&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;755.4&quot; x2=&quot;755.4&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;752.5&quot; x2=&quot;752.5&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;747.7&quot; x2=&quot;747.7&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;729.7&quot; x2=&quot;729.7&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;729.1&quot; x2=&quot;729.1&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;715.3&quot; x2=&quot;715.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;707.6&quot; x2=&quot;707.6&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;706.1&quot; x2=&quot;706.1&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;704.2&quot; x2=&quot;704.2&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;703.4&quot; x2=&quot;703.4&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;697.9&quot; x2=&quot;697.9&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;693.0&quot; x2=&quot;693.0&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;692.3&quot; x2=&quot;692.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;690.6&quot; x2=&quot;690.6&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;688.3&quot; x2=&quot;688.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;675.3&quot; x2=&quot;675.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;672.7&quot; x2=&quot;672.7&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;670.4&quot; x2=&quot;670.4&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;666.2&quot; x2=&quot;666.2&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;665.0&quot; x2=&quot;665.0&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;663.7&quot; x2=&quot;663.7&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;663.4&quot; x2=&quot;663.4&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;661.3&quot; x2=&quot;661.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;660.2&quot; x2=&quot;660.2&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;656.5&quot; x2=&quot;656.5&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;651.3&quot; x2=&quot;651.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;640.9&quot; x2=&quot;640.9&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;639.3&quot; x2=&quot;639.3&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;627.0&quot; x2=&quot;627.0&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;624.1&quot; x2=&quot;624.1&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;617.1&quot; x2=&quot;617.1&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;615.1&quot; x2=&quot;615.1&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;579.8&quot; x2=&quot;579.8&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;532.9&quot; x2=&quot;532.9&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;532.8&quot; x2=&quot;532.8&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;527.1&quot; x2=&quot;527.1&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;526.5&quot; x2=&quot;526.5&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;526.0&quot; x2=&quot;526.0&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;496.1&quot; x2=&quot;496.1&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;495.7&quot; x2=&quot;495.7&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;494.8&quot; x2=&quot;494.8&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;488.8&quot; x2=&quot;488.8&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;488.2&quot; x2=&quot;488.2&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;487.9&quot; x2=&quot;487.9&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;484.2&quot; x2=&quot;484.2&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;484.2&quot; x2=&quot;484.2&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;478.5&quot; x2=&quot;478.5&quot; y1=&quot;128.0&quot; y2=&quot;142.0&quot;/&gt;&lt;path class=&quot;delai&quot; d=&quot;M136.2,135.0 L141.6,135.0 L141.6,117.0&quot;/&gt;&lt;circle class=&quot;intention&quot; cx=&quot;136.2&quot; cy=&quot;135.0&quot; r=&quot;5&quot;&gt;&lt;title&gt;Thu 9:19 pm · “let&#39;s go!”&lt;/title&gt;&lt;/circle&gt;&lt;circle class=&quot;concret&quot; cx=&quot;141.6&quot; cy=&quot;117.0&quot; r=&quot;5.5&quot;&gt;&lt;title&gt;10:00 pm · two-factor auth live on the gateway&lt;/title&gt;&lt;/circle&gt;&lt;text class=&quot;etiquette&quot; x=&quot;150.6&quot; y=&quot;121.0&quot;&gt;41 min&lt;/text&gt;&lt;text class=&quot;compte&quot; x=&quot;880&quot; y=&quot;139.0&quot;&gt;63&lt;/text&gt;&lt;text class=&quot;nom&quot; x=&quot;104&quot; y=&quot;193.0&quot; text-anchor=&quot;end&quot;&gt;Lukarne&lt;/text&gt;&lt;line class=&quot;rail&quot; x1=&quot;118&quot; x2=&quot;872&quot; y1=&quot;189.0&quot; y2=&quot;189.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;852.5&quot; x2=&quot;852.5&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;842.4&quot; x2=&quot;842.4&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;812.1&quot; x2=&quot;812.1&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;743.0&quot; x2=&quot;743.0&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;730.6&quot; x2=&quot;730.6&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;729.1&quot; x2=&quot;729.1&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;726.2&quot; x2=&quot;726.2&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;724.3&quot; x2=&quot;724.3&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;708.1&quot; x2=&quot;708.1&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;705.9&quot; x2=&quot;705.9&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;705.3&quot; x2=&quot;705.3&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;703.9&quot; x2=&quot;703.9&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;656.5&quot; x2=&quot;656.5&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;655.3&quot; x2=&quot;655.3&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;652.0&quot; x2=&quot;652.0&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;650.7&quot; x2=&quot;650.7&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;643.4&quot; x2=&quot;643.4&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;642.9&quot; x2=&quot;642.9&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;610.2&quot; x2=&quot;610.2&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;531.0&quot; x2=&quot;531.0&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;429.2&quot; x2=&quot;429.2&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;321.5&quot; x2=&quot;321.5&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;317.3&quot; x2=&quot;317.3&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;312.5&quot; x2=&quot;312.5&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;307.7&quot; x2=&quot;307.7&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;306.0&quot; x2=&quot;306.0&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;300.5&quot; x2=&quot;300.5&quot; y1=&quot;182.0&quot; y2=&quot;196.0&quot;/&gt;&lt;path class=&quot;delai&quot; d=&quot;M298.4,189.0 L300.5,189.0 L300.5,171.0&quot;/&gt;&lt;circle class=&quot;intention&quot; cx=&quot;298.4&quot; cy=&quot;189.0&quot; r=&quot;5&quot;&gt;&lt;title&gt;Fri 5:58 pm · mission prompt&lt;/title&gt;&lt;/circle&gt;&lt;circle class=&quot;concret&quot; cx=&quot;300.5&quot; cy=&quot;171.0&quot; r=&quot;5.5&quot;&gt;&lt;title&gt;6:14 pm · first live cam fullscreen&lt;/title&gt;&lt;/circle&gt;&lt;text class=&quot;etiquette&quot; x=&quot;309.5&quot; y=&quot;175.0&quot;&gt;16 min&lt;/text&gt;&lt;text class=&quot;compte&quot; x=&quot;880&quot; y=&quot;193.0&quot;&gt;27&lt;/text&gt;&lt;text class=&quot;nom&quot; x=&quot;104&quot; y=&quot;247.0&quot; text-anchor=&quot;end&quot;&gt;DropboksTV&lt;/text&gt;&lt;line class=&quot;rail&quot; x1=&quot;118&quot; x2=&quot;872&quot; y1=&quot;243.0&quot; y2=&quot;243.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;687.6&quot; x2=&quot;687.6&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;683.4&quot; x2=&quot;683.4&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;682.4&quot; x2=&quot;682.4&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;679.4&quot; x2=&quot;679.4&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;679.4&quot; x2=&quot;679.4&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;677.5&quot; x2=&quot;677.5&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;676.7&quot; x2=&quot;676.7&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;673.1&quot; x2=&quot;673.1&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;668.8&quot; x2=&quot;668.8&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;666.6&quot; x2=&quot;666.6&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;663.3&quot; x2=&quot;663.3&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;660.2&quot; x2=&quot;660.2&quot; y1=&quot;236.0&quot; y2=&quot;250.0&quot;/&gt;&lt;path class=&quot;delai&quot; d=&quot;M654.4,243.0 L660.2,243.0 L660.2,225.0&quot;/&gt;&lt;circle class=&quot;intention&quot; cx=&quot;654.4&quot; cy=&quot;243.0&quot; r=&quot;5&quot;&gt;&lt;title&gt;Sun 3:18 pm · “read the prompt and go”&lt;/title&gt;&lt;/circle&gt;&lt;circle class=&quot;concret&quot; cx=&quot;660.2&quot; cy=&quot;225.0&quot; r=&quot;5.5&quot;&gt;&lt;title&gt;4:02 pm · pairing works on the TV&lt;/title&gt;&lt;/circle&gt;&lt;text class=&quot;etiquette&quot; x=&quot;669.2&quot; y=&quot;229.0&quot;&gt;44 min&lt;/text&gt;&lt;text class=&quot;compte&quot; x=&quot;880&quot; y=&quot;247.0&quot;&gt;12&lt;/text&gt;&lt;text class=&quot;nom&quot; x=&quot;104&quot; y=&quot;301.0&quot; text-anchor=&quot;end&quot;&gt;shot2cart&lt;/text&gt;&lt;line class=&quot;rail&quot; x1=&quot;118&quot; x2=&quot;872&quot; y1=&quot;297.0&quot; y2=&quot;297.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;775.5&quot; x2=&quot;775.5&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;770.9&quot; x2=&quot;770.9&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;768.6&quot; x2=&quot;768.6&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;767.6&quot; x2=&quot;767.6&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;760.8&quot; x2=&quot;760.8&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;754.5&quot; x2=&quot;754.5&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;751.4&quot; x2=&quot;751.4&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;745.4&quot; x2=&quot;745.4&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;731.1&quot; x2=&quot;731.1&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;718.0&quot; x2=&quot;718.0&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;716.9&quot; x2=&quot;716.9&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;715.1&quot; x2=&quot;715.1&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;694.1&quot; x2=&quot;694.1&quot; y1=&quot;290.0&quot; y2=&quot;304.0&quot;/&gt;&lt;path class=&quot;delai&quot; d=&quot;M693.1,297.0 L715.0,297.0 L715.0,279.0&quot;/&gt;&lt;circle class=&quot;intention&quot; cx=&quot;693.1&quot; cy=&quot;297.0&quot; r=&quot;5&quot;&gt;&lt;title&gt;Sun 8:13 pm · “forget about previous session”&lt;/title&gt;&lt;/circle&gt;&lt;circle class=&quot;concret&quot; cx=&quot;715.0&quot; cy=&quot;279.0&quot; r=&quot;5.5&quot;&gt;&lt;title&gt;11:01 pm · photo → list → store links&lt;/title&gt;&lt;/circle&gt;&lt;text class=&quot;etiquette&quot; x=&quot;724.0&quot; y=&quot;283.0&quot;&gt;2 h 48&lt;/text&gt;&lt;text class=&quot;compte&quot; x=&quot;880&quot; y=&quot;301.0&quot;&gt;13&lt;/text&gt;&lt;text class=&quot;nom&quot; x=&quot;104&quot; y=&quot;355.0&quot; text-anchor=&quot;end&quot;&gt;Kronograf&lt;/text&gt;&lt;line class=&quot;rail&quot; x1=&quot;118&quot; x2=&quot;872&quot; y1=&quot;351.0&quot; y2=&quot;351.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;861.6&quot; x2=&quot;861.6&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;845.9&quot; x2=&quot;845.9&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;844.8&quot; x2=&quot;844.8&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;843.7&quot; x2=&quot;843.7&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;839.5&quot; x2=&quot;839.5&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;823.0&quot; x2=&quot;823.0&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;820.9&quot; x2=&quot;820.9&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;817.6&quot; x2=&quot;817.6&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;813.3&quot; x2=&quot;813.3&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;811.5&quot; x2=&quot;811.5&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;810.9&quot; x2=&quot;810.9&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;809.4&quot; x2=&quot;809.4&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;802.1&quot; x2=&quot;802.1&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;776.0&quot; x2=&quot;776.0&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;775.4&quot; x2=&quot;775.4&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;767.6&quot; x2=&quot;767.6&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;761.5&quot; x2=&quot;761.5&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;760.7&quot; x2=&quot;760.7&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;759.9&quot; x2=&quot;759.9&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;759.1&quot; x2=&quot;759.1&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;756.9&quot; x2=&quot;756.9&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;756.8&quot; x2=&quot;756.8&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;756.2&quot; x2=&quot;756.2&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;756.0&quot; x2=&quot;756.0&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;755.5&quot; x2=&quot;755.5&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;754.2&quot; x2=&quot;754.2&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;754.1&quot; x2=&quot;754.1&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;752.7&quot; x2=&quot;752.7&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;752.4&quot; x2=&quot;752.4&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;752.1&quot; x2=&quot;752.1&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;751.5&quot; x2=&quot;751.5&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;749.9&quot; x2=&quot;749.9&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;line class=&quot;commit&quot; x1=&quot;749.3&quot; x2=&quot;749.3&quot; y1=&quot;344.0&quot; y2=&quot;358.0&quot;/&gt;&lt;path class=&quot;delai&quot; d=&quot;M748.8,351.0 L752.6,351.0 L752.6,333.0&quot;/&gt;&lt;circle class=&quot;intention&quot; cx=&quot;748.8&quot; cy=&quot;351.0&quot; r=&quot;5&quot;&gt;&lt;title&gt;Mon 3:19 am · “read it and get started”&lt;/title&gt;&lt;/circle&gt;&lt;circle class=&quot;concret&quot; cx=&quot;752.6&quot; cy=&quot;333.0&quot; r=&quot;5.5&quot;&gt;&lt;title&gt;3:48 am · first verified flash on the watch&lt;/title&gt;&lt;/circle&gt;&lt;text class=&quot;etiquette&quot; x=&quot;761.6&quot; y=&quot;337.0&quot;&gt;29 min&lt;/text&gt;&lt;text class=&quot;compte&quot; x=&quot;880&quot; y=&quot;355.0&quot;&gt;33&lt;/text&gt;&lt;g class=&quot;legende&quot; transform=&quot;translate(118,394)&quot;&gt;&lt;circle class=&quot;intention&quot; cx=&quot;6&quot; cy=&quot;0&quot; r=&quot;5&quot;/&gt;&lt;text x=&quot;16&quot; y=&quot;4&quot;&gt;first message to the agent&lt;/text&gt;&lt;circle class=&quot;concret&quot; cx=&quot;236&quot; cy=&quot;0&quot; r=&quot;5.5&quot;/&gt;&lt;text x=&quot;246&quot; y=&quot;4&quot;&gt;first concrete result&lt;/text&gt;&lt;line class=&quot;commit&quot; x1=&quot;452&quot; x2=&quot;452&quot; y1=&quot;-7&quot; y2=&quot;7&quot;/&gt;&lt;text x=&quot;462&quot; y=&quot;4&quot;&gt;a commit&lt;/text&gt;&lt;rect class=&quot;nuit&quot; x=&quot;560&quot; y=&quot;-7&quot; width=&quot;14&quot; height=&quot;14&quot;/&gt;&lt;text x=&quot;580&quot; y=&quot;4&quot;&gt;night&lt;/text&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/div&gt;&lt;figcaption&gt;One row per project, Thursday 7 pm to Monday 7 pm. The number on the right counts commits. Hover the circles for exact times.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Each row is a project, each tick a commit. The hollow circle is my first message to the agent. The filled one, raised above the row, is the first concrete thing: the app running on the TV, the firmware on the watch, two-factor auth live on the homelab gateway. The grey bands are nights. There are commits in them. Not always because I was awake.&lt;/p&gt;
&lt;h2 id=&quot;thursday-night-three-agents-in-45-minutes&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#thursday-night-three-agents-in-45-minutes&quot; aria-label=&quot;Anchor link for: thursday-night-three-agents-in-45-minutes&quot;&gt;#&lt;/a&gt;
Thursday night: three agents in 45 minutes&lt;/h2&gt;
&lt;p&gt;On the evening of the 8th, within 45 minutes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;8:34 pm: the Almanak mission goes out.&lt;/li&gt;
&lt;li&gt;8:36 pm: I restart shot2cart, a project begun in September with another tool. “inspect project, it comes from an other AI conversation, inspect and we pursue”.&lt;/li&gt;
&lt;li&gt;9:07 pm: I download from claude.ai the &lt;code&gt;CLAUDE.md&lt;/code&gt; for my homelab, which I’m redesigning with an LLM. I had just written it with another instance while the first one was building Almanak.&lt;/li&gt;
&lt;li&gt;9:19 pm: “je viens de créer CLAUDE.md pour toi, c’est parti !” [just created CLAUDE.md for you, let’s go!]&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Nobody waits for anybody. While one agent compiles, I write the next one’s mission with a third.&lt;/p&gt;
&lt;h2 id=&quot;almanak-the-spark&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#almanak-the-spark&quot; aria-label=&quot;Anchor link for: almanak-the-spark&quot;&gt;#&lt;/a&gt;
Almanak, the spark&lt;/h2&gt;
&lt;p&gt;The north star fit in one sentence:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A screen you want to leave on. When I walk past my TV, I know in 2 seconds: the time, the date, the weather now and later, and how many minutes until my next bus. It’s beautiful like a design object, not like an admin dashboard.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And one rule I kept for every project after it: no slice is done until the agent has seen it running on the Shield. It takes a capture over adb, reads it, critiques it. Legibility at 3 m, overscan, overflow. And for every visual slice, two variants; keep the better one.&lt;/p&gt;
&lt;div class=&quot;galerie&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/almanak.webp&quot; alt=&quot;Almanak on the TV, dark theme: the time in large type, the date, the day of the year, the next buses and a five-day forecast&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/almanak-papier.webp&quot; alt=&quot;Almanak, paper theme: the time, the name day, the buses and the temperature curve for the next hours&quot; /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;&lt;em&gt;Almanak on the Shield on the first night: the dark theme at 10:17 pm, the paper theme at 9:38 pm.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Seven slices between 8:46 and 10:32 pm. For the clock, the agent compared an editorial serif with a Swiss sans-serif and kept Fraunces, because at 3 m, Inter at weight 200 “starts to look like a wire”. It’s right.&lt;/p&gt;
&lt;p&gt;Best bug: the bus schedule sync returned &lt;code&gt;HTTP 441&lt;/code&gt; on the Shield and worked fine from the Mac. The agent dug through &lt;code&gt;dumpsys connectivity&lt;/code&gt; and found the VPN running on the Shield: the STM site (Montreal’s transit agency) rejects VPN exit IPs. It switched to a mirror of the same feed, byte for byte, and documented split tunnelling in the README. The prompt never mentioned a VPN.&lt;/p&gt;
&lt;p&gt;To be honest: my definition of “done” asked for 24 hours of screensaver without a memory leak. The actual measurement covers about an hour. Done, then. In quotes.&lt;/p&gt;
&lt;h2 id=&quot;lukarne-my-favourite&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#lukarne-my-favourite&quot; aria-label=&quot;Anchor link for: lukarne-my-favourite&quot;&gt;#&lt;/a&gt;
Lukarne, my favourite&lt;/h2&gt;
&lt;p&gt;Next day, 5:58 pm, second mission. A window on the world: spin a globe with the remote, dive into a region, watch a wall of live webcams, zap from one camera to the next. The sentence that matters in the prompt:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If an interaction isn’t smooth with the remote, it has failed, even if it is technically correct.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And a quieter one that explains why it all went so fast: “I’ve already built another Google TV app with you on this same Shield. Before anything else, find in my environment […] how we connect to it […]. Reuse what works.” Every project leaves behind an adb address, a deploy script, a &lt;code&gt;DECISIONS.md&lt;/code&gt; format. The next one starts from there.&lt;/p&gt;
&lt;p&gt;6:14 pm: first live stream fullscreen on the TV, HLS and YouTube, left/right to switch. 16 minutes. By 8:54 pm, V1 was there: an OpenGL day/night globe at 60 frames per second (3 ms per frame), 1,640 cameras in 34 regions (19 more since Monday), a 3×3 wall whose focused tile goes live within two seconds, and a “surprise me” button that sends you somewhere it’s daytime. Two 22-minute soak tests, zero crashes.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/lukarne-globe.webp&quot; alt=&quot;The Lukarne globe centred on Europe at night, Venice selected, a webcam of St Mark’s Basin inset&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Lukarne: Europe at night, Venice selected, 16 live webcams, St Mark’s Basin in the corner.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The easiest way is to watch it run:&lt;/p&gt;
&lt;figure class=&quot;video&quot;&gt;&lt;video controls muted playsinline preload=&quot;metadata&quot; poster=&quot;lukarne-visite-poster.jpg&quot;&gt;&lt;source src=&quot;lukarne-visite.mp4&quot; type=&quot;video/mp4&quot;&gt;&lt;/video&gt;&lt;figcaption&gt;78 seconds on the Shield, no sound: the globe over to California, the dive into Pollock Pines, the wall of live highway cameras, fullscreen, next camera, climbing back out, then “surprise me”.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;The agent shot this video on Monday evening, for this post. It drove the Shield with a virtual remote (&lt;code&gt;adb shell input keyevent&lt;/code&gt;) and recorded the screen with &lt;code&gt;screenrecord&lt;/code&gt;. The first take was in French, over Europe, where it was 1 am: everything was black. It reshot in English, over California, in daylight.&lt;/p&gt;
&lt;div class=&quot;galerie&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/lukarne-mosaique.webp&quot; alt=&quot;The Pollock Pines wall: nine live highway cameras on US 50, the focused tile outlined&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/lukarne-plein-ecran.webp&quot; alt=&quot;Fullscreen on a California highway camera, a red car at the intersection, place name and local time at the bottom&quot; /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;&lt;em&gt;A place’s wall, then fullscreen. Left/right jumps to the neighbouring camera without going back to the wall.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/lukarne-aurore.webp&quot; alt=&quot;A green aurora over Fairbanks, Alaska, with the camera name and local time&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;“surprise me” landed on this, mid-shoot. Explore.org’s aurora camera in Fairbanks, 3:09 pm local time: probably a replay of the night between two live shots.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then I used it, and complained. Saturday, 11:20 pm: “je suis assez surpris du peu de flux video , bcp d’images fixes qui apportent peu” [I’m pretty surprised how few video feeds there are, lots of stills that don’t add much]. 11:34 pm, commit: live first, stills optional. Fourteen minutes.&lt;/p&gt;
&lt;p&gt;Overnight from Sunday to Monday, at 12:08 am: “parfait , je vais dormir là” [perfect, I’m off to bed]. And two requests: “les vignettes pixelisée : on peut trouver un moyen de charger ne serait ce qu 1 frame propre plutôt que la vignette degeueu ?” [the pixelated thumbnails: can we find a way to load even 1 clean frame instead of the gross thumbnail?], and for the last zoom level, an “effet plongeant genre zoom google earth” [diving effect, like a Google Earth zoom]. At 12:26 am, the thumbnails are real frames grabbed on the device during playback. At 12:48 am, you dive into a place with a ×30 zoom, the lights come on, and you climb back out. At 12:59 am, a 10-minute soak test on top of all that. I was asleep.&lt;/p&gt;
&lt;p&gt;Monday afternoon, I asked for a demo mode, so the TV travels on its own. 41 minutes later:&lt;/p&gt;
&lt;figure class=&quot;video&quot;&gt;&lt;video autoplay loop muted playsinline preload=&quot;metadata&quot; poster=&quot;lukarne-demo-poster.jpg&quot;&gt;&lt;source src=&quot;lukarne-demo.mp4&quot; type=&quot;video/mp4&quot;&gt;&lt;/video&gt;&lt;figcaption&gt;Demo mode: random cameras where it&#39;s daytime, never the same region twice, with a fade through a title card in between.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/lukarne-reglages.webp&quot; alt=&quot;The Lukarne settings panel over the globe: language, temperature, still images, corner player, demo time per camera, source credits&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Settings, one remote away: language (English, French, Spanish), units, stills or live only, corner player, demo time per camera, and credits for every source.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Still missing: live coverage outside North America is thin. On day one, the agent burned the whole YouTube search quota while two bugs hid the results. Now a public repository republishes the live catalogue every day, and the app downloads it behind its logo. And there’s a bug I can’t always reproduce: a YouTube webcam that freezes when you chain two of them. I reported it at 3:46 pm, a fix landed at 4:31 pm. Still to be checked on the TV.&lt;/p&gt;
&lt;h2 id=&quot;dropbokstv-one-sunday-afternoon&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#dropbokstv-one-sunday-afternoon&quot; aria-label=&quot;Anchor link for: dropbokstv-one-sunday-afternoon&quot;&gt;#&lt;/a&gt;
DropboksTV, one Sunday afternoon&lt;/h2&gt;
&lt;p&gt;A Dropbox client for the TV, built for the couch: photos and videos first, read-only, no backend. Sunday, 3:18 pm: “read prompt-dropbokstv-claude-code.md and go”. 4:02 pm: phone pairing works on the TV. 6:28 pm: eighth and final slice, with search, offline mode, the screensaver and 128 translated strings per language.&lt;/p&gt;
&lt;p&gt;The trickiest part is pairing. Signing in to Dropbox from a TV, without a keyboard, should be a code you type on your phone. Except Dropbox’s API doesn’t offer that flow. The agent checked the SDK and wrote it down in its decision log. So it built something else:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the TV shows a QR code pointing to a page served by the TV itself, on the home Wi-Fi;&lt;/li&gt;
&lt;li&gt;the phone opens that page, which sends it to authorise DropboksTV on Dropbox;&lt;/li&gt;
&lt;li&gt;Dropbox shows a code, you paste it on the phone, and the TV exchanges it for a token (PKCE: the secret never leaves the TV, no backend);&lt;/li&gt;
&lt;li&gt;the session expires after 10 minutes and the TV renews the QR on its own. A typo doesn’t burn the session. And if the phone can’t see the TV, a button switches to the direct Dropbox link.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The TV’s little HTTP server (150 lines) was lifted from Almanak.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/dropbokstv-appairage.webp&quot; alt=&quot;DropboksTV pairing screen: three numbered steps and a QR code, blurred here&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Pairing&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And then there’s the viewer. In three slices, between 4:25 and 6:07 pm, the agent wrote a viewer that opens pretty much everything:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;photos, with ×2 and ×3 zoom you pan with the arrows, and a slideshow with fades or Ken Burns;&lt;/li&gt;
&lt;li&gt;videos: H.264, HEVC up to 4K, resume where you left off, &lt;code&gt;.srt&lt;/code&gt; subtitles;&lt;/li&gt;
&lt;li&gt;PDFs, page by page, with zoom;&lt;/li&gt;
&lt;li&gt;Word and PowerPoint, which Dropbox converts to PDF, and spreadsheets, scaled to 170% so they’re readable from the couch;&lt;/li&gt;
&lt;li&gt;formatted Markdown, code with line numbers and syntax colours;&lt;/li&gt;
&lt;li&gt;music, MP3 and FLAC, with cover art;&lt;/li&gt;
&lt;li&gt;and for everything else, a QR code that sends the file to your phone.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The video player took 16 minutes. Documents, music and send-to-phone, 27. Insane.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/dropbokstv-formats.webp&quot; alt=&quot;Eight DropboksTV screens: a zoomed photo, a video, a PDF, a spreadsheet, Markdown notes, Kotlin code, a song with its cover art and the send-to-phone screen&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;In order: zoomed photo, video, PDF, spreadsheet, Markdown, code, music, send to phone (QR blurred). The agent made the test files itself and dropped them into a dedicated Dropbox folder. Screenshots taken during development, in French.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&quot;kronograf-or-the-return-of-hardware&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#kronograf-or-the-return-of-hardware&quot; aria-label=&quot;Anchor link for: kronograf-or-the-return-of-hardware&quot;&gt;#&lt;/a&gt;
Kronograf, or the return of hardware&lt;/h2&gt;
&lt;p&gt;Monday, 3:19 am, a 2020 LilyGO T-Watch plugged in over USB, and a mission: an aviation chronograph face, plus 7-segment “time circuit” displays. At 3:48 am, first verified flash on the watch, after a full backup of the original flash. That was rule no. 2 in the prompt: nothing gets written to the watch without a safety net. The cable dropped out during the first backup, and the agent refused to flash until it had a complete one.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blok.storagebits.workers.dev/blog/quatre-jours/kronograf-photo.webp&quot; alt=&quot;The real 2020 T-Watch on the table: Kronograf diagnostics screen, memory, sensors detected in green, battery at 100%&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The real watch, Monday at 6:11 pm: the diagnostics screen, the first one flashed. Green: chips detected; grey: what the V1 doesn’t have.&lt;/em&gt;&lt;/p&gt;
&lt;div class=&quot;duo&quot;&gt;&lt;img src=&quot;kronograf-t1-aviator.webp&quot; alt=&quot;Aviation chronograph face: graduated bezel, three sub-dials for battery, minutes and steps, orange seconds hand&quot;&gt;&lt;img class=&quot;carre&quot; src=&quot;kronograf-t2-face1.webp&quot; alt=&quot;7-segment display face: destination in red, present in green, last sync in orange&quot;&gt;&lt;/div&gt;
&lt;p&gt;&lt;em&gt;Left, a capture of the real watch over the serial port. Right, the “time circuits” face in the simulator, which compiles exactly the same UI.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This is where the delay goes back up, and it’s not the agent’s fault. It’s no longer code against an emulator, it’s a tired micro-USB connector. My messages that morning: “elle plante systematiquement au bout de quelque secondes” [it crashes every time after a few seconds], “va vite sinon elle plante” [hurry or it crashes], “j’espère qu’elle n’est pas brikée” [I hope it isn’t bricked]. The problem was light sleep, with an interrupt storm when the button woke it up. At 11:17 am: “ce semble tres bien tenir maintenant” [seems to be holding up fine now]. At 11:18 am: “go pour la météo” [go for the weather]. At 11:31 am, the watch shows the weather and the next bus in real time.&lt;/p&gt;
&lt;p&gt;Tonight it has 33 commits, alarms, a stopwatch, a step counter, Wi-Fi updates and iPhone notifications over Bluetooth, which still don’t hold the connection well. The double tap is “un peu alétoire , comme le mouvement du poignet … mais ca passe” [a bit random, like the wrist gesture… but it’ll do].&lt;/p&gt;
&lt;h2 id=&quot;the-homelab-and-the-shot2cart-app&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-homelab-and-the-shot2cart-app&quot; aria-label=&quot;Anchor link for: the-homelab-and-the-shot2cart-app&quot;&gt;#&lt;/a&gt;
The homelab, and the shot2cart app&lt;/h2&gt;
&lt;p&gt;The longest job doesn’t show. Sixty commits and 276 messages to rebuild the home server from the ground up: an inventory, backups with real restore tests, remote access with passkeys for the family, alerts, a home page with an animated map of the infrastructure and another of the local network.&lt;/p&gt;
&lt;p&gt;My favourite message of the whole run, on the first night: “ignore cet audit ; je ne compte que sur toi maintenant” [ignore that audit; I’m counting only on you now]. The most honest one, on Sunday: “Nest dans Home Assistant c’est payant ??!!” [Nest in Home Assistant costs money??!!]. Yep, $5, thanks Google.&lt;/p&gt;
&lt;p&gt;shot2cart is the counter-example. The app’s pitch: a photo of a shopping list, and the cart opens at the store in under 15 seconds, without typing a thing. First attempt in September, with another tool and a spec-driven workflow: three days, two commits. On Thursday night, I restarted it on that base. Sunday, 8:13 pm, I archived everything: “forget about previous session, I archived the previous project and to start a new one with better prompt”. 11:01 pm: photo, analysis by a vision model, store links item by item. 12:04 am: “I’m going to sleep […] please go as far as you can in full autonomy”. By morning there was streaming detection, review cards and automated test flows.&lt;/p&gt;
&lt;p&gt;Same idea, same developer. The difference between September and this Sunday is the quality of the models, Opus 5.5 in particular. A beast!!!&lt;/p&gt;
&lt;h2 id=&quot;the-delay-measured&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-delay-measured&quot; aria-label=&quot;Anchor link for: the-delay-measured&quot;&gt;#&lt;/a&gt;
The delay, measured&lt;/h2&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;What I asked for&lt;/th&gt;&lt;th&gt;Time to commit&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;FEAT&lt;/td&gt;&lt;td&gt;“ajoute la langue espagnole à l’application” [add Spanish to the app] (Lukarne)&lt;/td&gt;&lt;td&gt;5 min&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;BUG&lt;/td&gt;&lt;td&gt;Neighbours 2,500 km away: “je suis sur Londres mais la Patagonie est listée” [I’m on London but Patagonia is listed]&lt;/td&gt;&lt;td&gt;5 min&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;BUG&lt;/td&gt;&lt;td&gt;The logo that only shows for half a second at launch&lt;/td&gt;&lt;td&gt;2 min&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;FEAT&lt;/td&gt;&lt;td&gt;More live, fewer stills&lt;/td&gt;&lt;td&gt;14 min&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;FEAT&lt;/td&gt;&lt;td&gt;The “Google Earth style” diving zoom, requested before going to bed&lt;/td&gt;&lt;td&gt;40 min&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;FEAT&lt;/td&gt;&lt;td&gt;A demo mode that chains random webcams&lt;/td&gt;&lt;td&gt;41 min&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;BUG&lt;/td&gt;&lt;td&gt;The recent video that always opens a video from 2012 (DropboksTV)&lt;/td&gt;&lt;td&gt;2 min&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;FEAT&lt;/td&gt;&lt;td&gt;“go pour la météo” [go for the weather] on the watch&lt;/td&gt;&lt;td&gt;13 min&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;What doesn’t go faster: a micro-USB cable that comes loose, a YouTube quota that resets at 3 am, an API key the provider’s portal rejects, my subscription. Sunday, 4:46 pm: “il me reste que 10% pour notre session en cours” [I’ve only got 10% left for our current session]. And my sleep, which I ended up building into the plan: “je vais dormir la , avance au maximum de ton autonomie” [I’m going to sleep, go as far as you can on your own].&lt;/p&gt;
&lt;p&gt;What I don’t know yet: how many of these six projects I’ll still be using in a month. Time to see it through now, ship what can be shipped, feed other agents.&lt;/p&gt;
&lt;p&gt;This post was made the same way. One message from me on Monday late afternoon, in a jumble, typos included: “génère moi un article complet […] mettre en avant le délai ridicule que c’est devenu entre l’intention et le concret” [write me a complete article […] highlight how ridiculous the gap between intent and reality has become]. Lay it all out, transparently and honestly. The blog itself was online 45 minutes after my first message, Monday at 4 am.&lt;/p&gt;
&lt;p&gt;Anyway, have a good weekend!&lt;/p&gt;
&lt;aside class=&quot;transparence&quot; aria-label=&quot;How this post was written&quot;&gt;
  &lt;p class=&quot;transparence-titre&quot;&gt;How this post was written&lt;/p&gt;
  &lt;p&gt;Drafted by Claude Opus 5.5 from: a one-message brief from François, his Claude Code sessions (about 240 messages), six Git repositories (159 commits), their &lt;code&gt;DECISIONS.md&lt;/code&gt; files and screenshots, videos the agent shot on the Shield, a photo of the watch.&lt;/p&gt;
  &lt;p&gt;Proofread and corrected by François, 19 % of the text rewritten.&lt;/p&gt;
  &lt;p&gt;Translated from French by the AI, from the proofread version. The translation was not reviewed line by line.&lt;/p&gt;
&lt;/aside&gt;
</content>
    </entry>
</feed>
