Working notes: 2026-11-05 morning to 2026-11-06 afternoon, the meeting with Cyrus, hazeljs 0.0.5, and hazel-jit
Working notes: 2026-11-06 afternoon to 2026-11-07 morning, the way back from hazel-jit, a cheaper Id.mk for dev, and night in Dress Up
Claude, from 16:10 MST on 11-06 (the last note) to 08:55 on 11-07, written for the gallery on Matthew's ask ("update" the work notes). One session ran all of it, a side session of the day's chat session, with Matthew asking as it went; these are from its tickets' progress and the repositories' commits.
Where things are
- hazel-jit (^ticket(694)), in
~/hazel-694-jitontrial/694-view-jit, pushed:810df240ea(the two trips timed apart, warmed up), then97ba46706b(cheaper ids;HazelJitDOM, a view's answer drawn straight from its JS; the way back as a diff).Test_HazelJit: 49 tests, all passing;dune build @check --profile releaseclean. The direct drawing and the diff are prototypes: the app calls neither yet. - ^report(45), hazel-jit's report, published as work in progress, with a section answering Matthew's three ideas for the way back (#ideas) and two dated notes (the warm-up, the ids); ^report(42)'s item 2, the agenda for 11-11, updated twice.
- #2816, against
dev(branchperf/id-mk-strings, worktree~/hazel-id-mk): ids minted and compared as strings, one concatenation an id. Review required; CI green at 08:55 (6 checks passing, 1 skipped). #2609 lists it, on Matthew's word. - Two new tickets in hazel-jit: ^ticket(709), the way back as a diff (a prototype, done), and ^ticket(710), applying a change to a long list in time sublinear in its length (tagged emphasis: to talk through first).
- hazeljs 0.0.6 is on npm (Matthew published it with his key): long lines in
hazel-listings.jsbreak to fit; hazelgrove/hazeljs#1 closed with a note; ^report(43) and ^report(44) use it. - hazeljs-petri-example 0.0.10 is live: full screen at first, long lines broken to fit, and the net itself in Hazel (
rules/Main.hz), drawn again after each edit. ^ticket(708) asks for the same redraw as a livelit, fast enough; ^ticket(706), the example on the newest hazeljs, is now its 0.0.11. - Dress Up 0.0.492 is live (tag
dress-up-0.0.492,8043cc25). - Servers: the dashboard on
localhost:8000; Dress Up's on8133, started from this session; the reports' on8131. - hazel-work-notes still has the older uncommitted change to
dashboard/update.py(10-24); not touched.
Done, 11-06 afternoon and evening
- ^report(45) published (16:15), linked both ways with the agenda's item 2.
- The Petri example: 0.0.8 opens full screen with no margins; 0.0.9 breaks long lines to fit, Messed Up Dress Up's way; 0.0.10 shows every definition the page had hidden (the net, as
rules/Main.hz, and the program's last line). - hazeljs 0.0.6: the line breaking carried into the package; reports 43 and 44 switched to it (a dated note on 44's limits); hazelgrove/hazeljs#1 closed; ^ticket(707) closed.
- The two trips timed apart (Matthew: "Yes, measure it"): the trip back is 83% of a compiled render, the trip in 7%. And a correction: the first report's "about 16 times faster" timed the first renders cold, while Node was still optimizing the way back; warm, a render was about 34 times faster.
Done, 11-07 morning
- Three ideas for the way back, Matthew's, all tried. Cheaper ids:
Id.mkbuilt each id from eight string concatenations; now one (906 ids, 0.10 to 0.28 ms before, 0.045 ms after). It was never a random UUID, as yesterday's report said (a dated note corrects it). A view's answer never made Hazel: drawn straight from its JS, the same virtual DOM as HazelDOM's, in 0.27 ms against 0.75 ms through Hazel; model to page, about 40 times faster than the interpreter. The way back as a diff: a small diff language, computed in JS where the old and new answers share objects, applied to the last Hazel value; one changed point of 1,000 in 0.064 ms against 5.6 ms whole. On the way, two costs fixed: whole numbers came back throughPrintfand big-integer parsing, and labels by raising an exception each. - #2816 to
dev, on Matthew's ask: the string-built ids (from 10-10, on #2635's line) and the one-concatenationId.mk. On dev's six heaviest programs, evaluation takes 13% less time (441.5 to 384.2 ms; 15% incremental); nearly all of it the first change's. The quick suite passes (4,463 tests). Its row added to #2609's table. - Dress Up 0.0.492, for Matthew and M: night falls everywhere outdoors (17 places take their sky from the clock: sunset colours, stars and the moon at night, the sun and the moon where the clock says); a whole day can take as little as 10 seconds; and the sun and the moon glide, the clock running every frame (0.05 ms a frame, once copying the place's 2,012 settings each frame was taken out). Tickets 711 to 713, closed.
Waiting on Matthew
- The talk about ^ticket(710): lists as trees on both sides of the boundary, for changes applied in log n.
- A reviewer for #2816, and for #2812.
- Dress Up 0.0.492 seen in a real tab: tested here only in a background tab, with the clock driven by hand.
Next
- Talk through ^ticket(710).
- hazel-jit: a view's answer drawn straight from its JS in the app (
eval_viewand the three places that draw a livelit's view), then an update's model carried back as a diff; timings in browsers. - The meeting with Cyrus, Wednesday 2026-11-11 at 10:00 Mountain (^report(42)).