Blog / October 2026

  • 27 October 2026 Small update: Copy Kanji to Clipboard

    Tapping or clicking the kanji in the Edit Story area of the Study page now copies it to the clipboard and shows a brief "Copied!" tooltip. Hopefully this makes it just a tad little easier if you want to paste it in some other app or website.

    Copy to clipboard screenshot

    In theory it should also work on e-readers like Kindle. There is a fallback code that should take care of it, but I'm not sure as I don´t have a Kindle or e-reader to test.

    Thanks to Felix for the suggestion. This closes issue #407 on Github. Leave a comment there or message me if you´d like to see any further tweaks to it, or if it doesn´t work as expected.

    Dark Mode & Color Themes

    Don´t worry I'm still working on Dark Mode. It is well under way. Finally trimmed all the 300+ unique colors down to a manageable palette of approx. 50 semantic tokens. Claude helped initially identifying all the unique colours but I still had to manually review them one by one or by small groups of very similar colors, in order to find the best semantic color (ie. is this a background color, is this a border? etc).

    Did some small refactors along the way. The Custom Review summary now is updated visually so it re-uses exactly the same card grid layout as the View Lessons page.

    Then Claude helped again just yesterday actually implementing the theme switching. So a page to select color theme (including Dark Mode), persisting the user's choice in the db, switching the theme in the web page. None of this is complicated, and all of it is completely unrewarding to write, it's pretty much all boilerplate code.

    Very satisfying because I was worried Claude might not do a good job working on a 20 year old codebase, where I have a custom ORM that is not documented anywhere, plus the site is still using a completely outdated version of Symfony framework. I guess I am still learning to trust what the AI can do.

    Some months ago I wrote documentation in the src/docs/ folder describing the various layers : front end, back end, database, etc. In addition to the main CLAUDE.md file which points to these docs. It seems like this really paid off: Claude wrote pretty much the same code I would have, using the existing patterns. I'm excited to see what more complex tasks I can do.

    So yeah the Dark Mode theme is about 40% done. Dashboard looks nice. There just are a lot of intricacies, lots of smaller details here and there. Sometimes just a semantic token like "color for a title in a box" might work in light mode, but not in dark mode, so that means rethinking the semantic tokens so it's more flexible. Other times it's a visual thing. For example it's best to avoid very bright colors in Dark Mode, so the blue/red/green buttons use a color mix function with a chroma value, so the colors are less saturated in dark mode.

    UPDATE: here is a preview of the Dashboard in Dark Mode. Let me know if you're not thrilled about where it's going, happy to make adjustments.

    To block out the noise I'm coding to Echelon Protocol - State Azure (1 Hour Ambient Mix). Maybe you'll enjoy it!

  • 7 October 2026 Working on Dark Mode

    I'm working on adding Dark Mode to the site. And then, while we're at it, it might be fun to add a theme switcher and have additional color themes just to changes things up.

    No promises though! Hopefully I won't have to abandon this feature, but it's a lot of work. I asked Claude to identify all unique colors in the codebase and it found ~300+ colors. All these small variations of colors accumulated over the last 20 years in the codebase.

    rtk3 progress

    In theory I could ask Claude Code to merge it all into a small palette that is more manageable for writing themes, but it would probably do a bunch of things I don't want. So it's more of a gradual process.

    For example today I asked Claude to identify all the green/lime colors in the unique colors list we made, and then merge them into a smaller lime scale of just 5 steps. It worked pretty well!

    So I'm down to about 200 colors atm. A bunch of refactoring happens on the way, some dead code (unused php/css).

    This is Phase 2. Phase 1 was identifying all the unique colors. Phase 3 is when I have a manageable palette of ~50 theme-able colors. I will then implement a theme switcher drop-down somewhere, or maybe put it in the Settings, with a live preview.

    I will start with a Dark Mode theme which has been requested. Designing a good dark mode is not trivial, but we'll see. There's a bunch of places where you have "use this color but lighter" for the background, where I am guessing it will break in Dark Mode, where you'd want darker instead. So it will be more refactoring, in theory I might have to deduplicate some colors into their lighter/darker variants so I can fully theme them.

    I'm working with the cheaper Claude Pro subscription which is ~ 20 EUR. I was using Claude Sonnet before but now I switched to Opus 5.5 which is more powerful and I am not running into the usage limits so that's good. Obviously here I am not "vibe coding" something where I let Claude run for 1h on some complex problem so that helps.

    So yeah. Moving on with the times. I for one, welcome our AI overlords. I think it's amazing, at least for developers. I am still fascinated now and then by how the AI figures out things. People say "it just predicts the next word"... that is obviously a massive over simplification of what is going on. And with multi-modal input it's just nuts.

    So I'm trying to do more complex things gradually with AI. Learning curve. I thought it was pretty neat Claude used "headless chrome" basically to screenshot a page before/after and evaluate if the merged colors did not move too much visually. Whoah. I didn't even now I could run "headless chrome" on the command line.

    Somehow this reminded me of Beastie Boys - Intergalactic. :P

    PS: if you have any requests / comments related to Dark Mode please comment in Github Issue Implement Dark Mode #403. If you have favorite websites in Dark Mode I can use as inspiration, those are welcome.

  • 1 October 2026 RTK Volume 3 tracking on the dashboard

    Once you've completed Volume 1 now instead of a generic "Go to Study" button the study button continues tracking into Volume 3:

    rtk3 progress

    Once you add the first RTK Vol 3 kanji to your flashcards, the progress bar switches over to track RTK Vol 3 progress:

    rtk3 progress

    Note: because Volume 3 is just one big 800 characters lesson, I figured it wouldn´t help much to show the lesson on the dashboard so when tracking progress in Vol 3, the lesson shown below is the last one from Vol 1 ("Lesson 56 of RTK New Edition").

    Old Edition has also been tested. In Old Edition you can add kanji #3008-3030 for the RTK Supplement as mentioned on the Kanji Sequence settings page. This does not cause issue, the tracking will still track Vol 1 until index #2042. Once you add kanji #2043 (old index), the progress bar switches to Vol 3, showing "1 of 965" (#2043 - #3007).

    Using Claude Code

    I heard about people doing some work with Claude Code on their phone so I tried it last weekend. This is a relatively small feature so I thought it would be a good test. I pulled up Claude Code with the iOS app, while I was sitting in a cafe. Told it to clone the repository and described the feature. This worked fine, although there was no easy way to navigate my code base (I noticed since the desktop web version has a file browser, but not the iOS app). I was able to review the changes in the diff. Claude created a PR. I completed this on the PC so I can properly test and write this post.

    I have a Claude Pro subscription since last April. I've been hesitating for a while because I wasn't sure I would use it much, and I didn't have a lot of use cases for it yet. But then I figured I can afford it with the support on Patreon, and as a developer I need to keep up with the times. I'm actually really excited about AI. I use all 4 apps on my phone : Grok, Claude, Gemini and ChatGPT. For coding obviously it is a tremendously useful tool, although I've not had experience with "vibe" coding anything substantial so far.

    Since then I used Claude Code quite a bit. It was really helpful to implement the new Patrons table you can see on the Support page. This is the kind of work AI is perfect for because it is really not rewarding as a developer to write code that hits an API to retrieve data, and honestly it would have taken me so long so scour the docs and figure out how to properly parse the XML I might have just postponed it indefinitely. But since APIs are generally well documented, AI is really good at writing that code. So I asked Claude to write me a tool that connects to the Patreon API and retrieves patron info, feed it into the database so I can display it on the page. The PHP script was then added as a job on the server which runs once a day to refresh the data.

By Month