Skip to the first entry
NUMENLIGHTDevelopment notes

Experiment notebook

The first five entries are tools I made. The last section is for ideas I haven’t finished and the parts I’ve tried so far.

HALKit

Reading timetables and seating plans

December 2025 and October 2026
Background

My school distributed timetables and seating plans as PDFs. To find my seat for a class, I looked up the period and room in one table, then found my seat in the other. I built HALKit with Antigravity to bring the two together.

Purpose

Open a class on my phone and find its room and seating plan. I wanted the map to face the same way as the printed sheet and to show the aisles between rows.

Method
  • Reading text and position

    For a timetable with a usable text layer, PDFKit supplies the words and their positions. Otherwise Apple Vision reads the rendered page. Day headings and period labels establish the grid; the course code anchors the search for the teacher and room printed below it.

  • Reconstructing the grid

    The seating parser groups the centres of detected text boxes into rows and columns. I could compare the resulting text grid with the original page. On one sample, six column tolerances ranging from 1% to 10% of the page width all produced six columns.

  • Comparing OCR engines

    On page six of the same PDF, two adjacent positions in one row had no number. Running Tesseract (via SwiftyTesseract) on the page already tested with Apple Vision left the same two gaps. The numbers were not sequential, so the patch added two positions and left their numbers unknown.

  • Changing the input image

    A separate revision addressed small, closely spaced text in the middle rows and a clipped top row. It rendered the page at three times its size, with more room above than at the sides, before passing it to Vision.

Observations

A stable column count did not tell me whether every number had been read. For the autumn version, two seating plans were checked individually against their PDFs. Empty seats and aisles were stored separately, with the horizontal aisle recorded explicitly.

Looking back

OCR was the part of HALKit I put the most thought and effort into. When I started, I knew little about PDFs or how OCR worked. I just wanted the plan on my phone to look like the one on paper. Along the way I learned that some PDFs store exactly where each word sits. With an image, even after reading a seat number you still have to work out which row it belongs in. It was quiet work. It might have looked tedious from the outside; I found it exciting.

DualAudioRelay

Listening to two devices through one pair of headphones

August 2026
Background

I used one pair of AirPods with my Mac and iPhone. I could switch between them, but as soon as I switched to the phone I lost whatever was playing on the Mac.

Purpose

Keep the Mac playing and hear the phone at the same time, without switching the headphones.

Method

I left the AirPods connected to the Mac. The iPhone sends its audio to the Mac over a local network connection. macOS mixes it with what is already playing and sends both to the headphones.

Observations

There are two parts: an iPhone sender and a Mac receiver. The receiver shows the incoming audio level and the selected output, so I can check separately whether sound reached the Mac and where it went from there. The Mac installer is archived as 0.1.0 beta 3.

Mac receiver releaseTool notes

Online tutoring assistant

Choosing a method during a lesson

June–July 2026
Background

When I tutored students online in China, the same maths problem sometimes needed two different explanations. Students in different regions and grades used different books and followed different schedules. A shortcut I knew was of little use if the student had not learned it yet, or if their teacher wanted the method from that chapter.

Purpose

When a question came up during a lesson, I wanted a worked answer using methods that student had learned, so I could review it before explaining it.

Method

I added four settings: grade, subject, textbook edition and region. In textbook mode they go to the model with the current question. The instructions ask it to use the book’s terms and methods first, and to say when a question falls outside that scope.

Illustrative problem, not a lesson transcript

Two numbers add up to 30 and differ by 6. What are they?

Before equations
Take the extra 6 away from 30. The remaining 24 splits into two equal shares of 12. Add the 6 back to one share to get 18.
After equations
Let x be the smaller number. The larger is x + 6, so x + (x + 6) = 30. The two numbers are 12 and 18.
Observations

One saved test configuration used Beijing, Grade 8, maths and the People’s Education Press textbook. In a check with two configurations, all four settings appeared in the answer instructions. The tool does not look up local teaching schedules; I still have to establish which chapter the student has reached and decide what to explain.

Application records

Separating experience, practice and drafts

September and December 2026
Background

Several applications left me with several versions of the same experience. Mock interviews also left me with complete answers. Reading the prose months later was a poor way to tell a real event from a practice scenario.

Purpose

Maintain an experience in one place and be able to trace it to its source when rewriting it.

Method

In JobApplicationWorkflow, each experience has a stable identifier and a source. Practice scenarios stay in a separate set; details awaiting confirmation stay open. Each application draft is saved separately.

Observations

The September data contained 14 mock exercises. When checked in December, all 14 were still marked as exercises, and the exported list of confirmed facts matched the database view.

BJT computer-based practice

A mock test I made for myself

October 2026
Background

When I was preparing for the Business Japanese Proficiency Test, I didn’t have any past exam questions or a computer-based mock test I could practise with. I made one for myself.

Purpose

I wanted to put on my headphones and work through the listening, combined listening and reading, and reading sections in one sitting, answering on screen against the clock.

Method

I put the exercises and recordings I had into a local web app. I could sit a whole mock exam or practise either listening section on its own, then go back over the questions I got wrong and their explanations.

Observations

I didn’t always have time for a full sitting, so I added a way to pause and pick up where I left off. When practising listening on its own, I can skip the wait after answering and go straight to the next question.

Unfinished ideas