For those who want to know how I actually use Claude Code, here is a conversation (in two parts) that I had with it today. The text I typed is prefixed by "Me>", the rest is output from Claude Code, where "CC>" is directly directed to me, the user. As you can see for yourself, … Continue reading An example conversation with Claude Code
Category: AI
Fixing GExperts Code Formatter Bugs with Claude Code
Over the past few weeks I have been using Claude Code, Anthropic's AI coding assistant, to fix long-standing bugs in the GExperts Code Formatter. The results have been impressive - bugs that had been open for years were fixed in a matter of hours, including some that I had hesitated to tackle because of the … Continue reading Fixing GExperts Code Formatter Bugs with Claude Code
Claude Code Session/memory loss after WSL restart
Note to self: Claude Code stores per-project auto-memory and session data under ~/.claude/projects/ using a path derived from the absolute working directory (e.g., -mnt-source-ProjectName). When WSL restarts, Windows drive mount points can change (e.g., /mnt/source becomes /mnt/d/source/), causing the project path to no longer match. This makes previous sessions unresumable and auto-memory invisible. If this … Continue reading Claude Code Session/memory loss after WSL restart
More on inline if expressions
In my previous post I announced that the code formatter now supports inline if expressions (aka ternary operators). That was technically true, as long as these expressions were in one line of source code: [delphi] Value := if Condition then TrueValue else FalseValue; [/delphi] But as soon as you tried to split longer expressions into … Continue reading More on inline if expressions
GExperts Code Formatter supports the Delphi inline if expression aka “ternary operator”
In Delphi 13 Embarcadero introduced a new syntax construct for inline if expressions which they call "ternary operator". It implements what previously had to be implemented with the overloaded IfThen functions as a native compiler feature. These look like this. [delphi] Variable := if Condition then TrueValue else FalseValue; [/delphi] At the same time they … Continue reading GExperts Code Formatter supports the Delphi inline if expression aka “ternary operator”
Enumerating enum types in Delphi AI answer
Regarding my previous post on Enumerating enum types in Delphi I asked claude.ai: Question: I need a way to iterate over all values of an enum type in Delphi. Something like: [delphi] var e: SomeEnumType; for e in SomeEnum do begin doSomethingWith(e); end; [/delphi] But that doesn't compile. I'd like to avoid programming a for-loop … Continue reading Enumerating enum types in Delphi AI answer
Building RSS Show: A Vibe Coding Experiment That Became Real
RSS Show started out as an experiment in Vibe Coding and evolved into a usable tool. What is RSS Show? RSS Show is a single-file RSS feed reader that runs entirely in your browser. No installation, no build process, no dependencies - just open an HTML file and you're reading feeds. Due to the enshittification … Continue reading Building RSS Show: A Vibe Coding Experiment That Became Real
Another vibe coding experiment: ZFS Snapshot Extractor
Yes, I am on a AI "vibe coding" spree. This time I needed a tool to help me extracting a specific version of a given file from a ZFS snapshot. Again, I had Claude Code write everything. I started with an empty directory and ended up with the script you can find on SourceForge. Originally … Continue reading Another vibe coding experiment: ZFS Snapshot Extractor
Online RSS feed reader created with Claude Code
I blogged about this twice already, but I think it's worth talking about some more: When I started out I wanted to recreate the RSS feed reading functionality of Netvibes (which they had just shut down). The idea was that it should run in the browser without needing a server. And I wanted to do … Continue reading Online RSS feed reader created with Claude Code
Using Claude Code with Perl
Following my positive experience with Claude Code and JavaScript/PHP yesterday, I tried using Perl today. This time, I spent a lot of time optimising the CLAUDE.md content before starting the code analysis. I asked it to analyse a Perl module containing some functions that I wrote several months ago, checking for errors and suggesting improvements. … Continue reading Using Claude Code with Perl