Monday, July 28, 2025

Agentic coding needs structure more than ever.

I spent the week-end digging deeper into agentic coding, this time using mostly Gemini as the path of least resistance.
I still want to try Qwen3-Coder.

It became blatently clear to me that the agentic coding workflow needs structure more than ever.
This might have seemed obvious from the outset, but once you're knee deep in running changes with the agent in a pre-existing codebase,
you'll quickly run into trouble if your code doesn't have proper formatting, linting or unit test cases.

Sunday, June 29, 2025

first PS module published

Yay! I pust published my first powershell module here
https://www.powershellgallery.com/packages/FavouriteDirectory
The next version will be published from a github action

Thursday, June 26, 2025

ai cli's

I've recently been very impressed with Claude Code,
I used to to make a bug-fix in pl/sql.

Now I see that Gemini CLI has been released and I have to dive straight in,
firstly I can run it in a powershell window directly in windows.
Claude made me figure out how to run VSCode in a dev container just so that I could have a bash shell.
I'm grateful for that experience but a bit short on RAM for extra containers ... and it makes the fan hum.


Update
Gemini Cli, seems to hit a rate limit unexpectedly quickly based on what I had been led to believe.
Lot's of :
Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.

Saturday, June 21, 2025

Show Physical memory in bytes on Powershell 7

The following command will output one line per bank installed showing the number of bytes available

Write-Output $(Get-CimInstance -ComputerName localhost -Classname Win32_PhysicalMemory).capacity

Thursday, June 19, 2025

New mini project idea - favdir

favdir is a powershell module which implementa new command.

fd foo
This changes your directory to foo, but the foo argument is a keyword for a longer directory name
e.g. C:\Users\user.name\Documents\projects\foo

fd foo C:\longdir\foo
registers or replaces a registered favdir

fd -d foo
Removes a registered favdir

The favdir registry is stored in ~.favdir

Inspired by bashmarks https://github.com/huyng/bashmarks

Wednesday, June 11, 2025

TIL git show

How did I miss this useful command for so long.
To quickly compare versions across branches without switching:
> git show dev:package.json
> git show main:package.json

aws-cli from docker

Yesterday I managed to connect to aws-cli from within a docker container.
This was useful guide

Note to self when mounting volumes to docker in windows paths muct be absolute
docker run --rm -it -v C:/my-project-dir/.aws:/root/.aws --entrypoint /bin/sh amazon/aws-cli