Working notes: 2026-11-05 morning to 2026-11-06 afternoon, the meeting with Cyrus, hazeljs 0.0.5, and hazel-jit
Claude, from the 11-05 morning (after the night's note at 03:10) to 16:10 MST on 11-06, written for the gallery on Matthew's ask ("update" the work notes). Nothing was written up between: these are from the tickets' progress and the repositories' commits. On 11-06 the work ran in several sessions, one of them restarted midday so Matthew's hardware key could publish to npm; this one, a side session, wrote these notes.
Where things are
- hazel-jit (^ticket(694)), in
~/hazel-694-jitontrial/694-view-jit(off #2635 atab7273c984): slices 1 to 3 pushed, the newest7a7151443c(its Deploy green, its CI running at 16:10). Not committed: a change totest/Test_HazelJit.rethat prints each timing run's readings (for ^report(45)'s data), and an unrelated change todocs/hazel-architecture-july-2024.tldrfrom 11-05, left alone. - ^report(45), hazel-jit's report: started, not published.
~/hazel-perf-report/045/gen045.pyis written (figures from the timings);body.html, its data and thumbnail are next. The timings are in this session's scratchpad (timings-run2.txt, run at 16:08). - hazeljs 0.0.5 is on npm (latest; published by Matthew at about 15:25 with his key), hazelgrove/hazeljs
main=release-0.0.5=c487d05. Its README's Petri section has three new pictures and links. hazelgrove/hazeljs#1 (listings that re-wrap to their width) is the repository's first issue (^ticket(707)). - hazeljs-petri-example 0.0.7 is live at matthewhammer.org/hazeljs-petri-example/ (
523ba84): the divider between the rules and the net on the page as well as in full screen. It still loads hazeljs 0.0.4 (^ticket(706)). - Open PRs against dev: #2812 (the README links hazeljs; review required, the agenda asks who), #2815 (Goto first use / Goto next use; CI green), and the draft #2814 (the editable embed, stacked on #2719).
- The reports: ^report(42), the agenda for Wednesday 2026-11-11 at 10:00 Mountain, and ^report(43) and ^report(44), on using hazeljs from JavaScript (a whole app, an article), all published as work in progress.
- Servers: the dashboard on
localhost:8000, restarted after the midday restart (Matthew: "localhost:8000 only for now"); the others it links are not running. A preview of the Petri example ran on 8140 in the chat session. - hazel-work-notes has an older uncommitted change to
dashboard/update.py(the ports in tables, 10-24); not touched here.
Done, 11-05
- The meeting with Cyrus (10:00, on ^report(37)). Decided: livelits go into dev, settled (one PR or several still TBD, ^ticket(642)); hazeljs follows dev, perhaps once #2469 lands there, not urgent (^ticket(668)); and new work, livelits' views compiled to JS (^ticket(694), its design written by 12:27). The agenda says so in one place (series
8f9b037). - #2635 got the two id fixes and the worker's memo of composed programs (^ticket(666), CI green by 04:54).
- Dress Up: 0.0.491 (a check's regex), its speed run passing hold518 and scripting482 (^ticket(693)); ^du_report(25)'s pictures retaken of 0.0.491.
Done, 11-06
- The next agenda, ^report(42), for 11-11 (^ticket(695)): undo in O(log n) (^ticket(665)), hazel-jit, BuckleScript and ReScript (^ticket(698)), the README PR (^ticket(696), #2812), and the report for JS developers (^ticket(697)).
- ^report(43), Scripting a JavaScript App in Hazel, and ^report(44), Hazel Listings in an Article: the Petri net example live on the page with hazeljs from npm and Hazel's editor per module, go to definition between listings (
hazel-listings.js), errors under the listing they are in. #2814 opened for the editable embed (^ticket(677), closed). - hazeljs-petri-example: made and put live (0.0.1, 11:25), then 0.0.2 to 0.0.7 on Matthew's asks: full screen, errors under their rule, a divider, the rules on the left and the net on the right, the divider on the page too.
- A hazeljs bug, a JS object's keys in another order than its type's fields (^ticket(703)): fixed in Hazel's dynamics (#2719 at
6c283c8a9f), released in hazeljs 0.0.5, withhazel-listings.jsin the package; ^ticket(703) closed. - #2815: Goto first use and Goto next use in the context menu (^ticket(705)).
- hazel-jit: slice 1, the compiler, its results agreeing with the interpreter's; slice 2, modules, and the Polygons slide's view compiled whole; slice 3, the trip in and out (a JS number read by the type where it sits, a handler back as a Hazel closure) and the setting Compiled views in
eval_view, falling back to the interpreter when it cannot. 37 tests, mutation-checked. A Polygons render: 13.0 ms on the interpreter, 0.83 ms compiled with the trip in and out, 0.05 ms for the compiled call alone (Node, a dev build, medians of 30). - Tickets minted for the loose ends: 699 to 702, 704, 706, 707.
Waiting on Matthew
- A reviewer for #2812 (^report(42) asks).
- ^ticket(706)'s question: should ^report(43)'s copy of the example get the divider on the page too?
- His 15:12 screenshot dragged into hazelgrove/hazeljs#1 (the command line cannot attach it).
- ^report(45), once it is up: a read, to take off its work-in-progress mark in time.
Next
- ^report(45), hazel-jit's report, published as work in progress and linked from the agenda's item 2.
- hazel-jit: make the way back cheaper (0.78 of the 0.83 ms is carrying values in and out); check it in the app on the polygon slides; timings in browsers on GitHub.
- ^ticket(706): the Petri example on hazeljs 0.0.5.
- The meeting with Cyrus, Wednesday 2026-11-11 at 10:00 Mountain (^report(42)).