Peter Lawrey
banner
peterlawrey.bsky.social
Peter Lawrey
@peterlawrey.bsky.social
Java Champion | Vanilla Java Blog (6M views) | CEO of Chronicle Software with 8 out the top 11 investment banks as clients.
Six kids from 3 to 26
AI^2: writing scripts and plugins so that AI prompts are programmatically produced and monitored.
Your CLI AI is running other AIs and monitoring those.
January 7, 2026 at 1:33 PM
The widespread use of AI has led to expectations for best-of-breed solutions that far exceed productivity gains, meaning major tasks can take much longer.
www.linkedin.com/feed/update/...
TLDR: The widespread use of AI has led to an increase in expectations for best-of-breed solutions well above the productivity gain, meaning major tasks can take much longer. I still find that AI… | P...
TLDR: The widespread use of AI has led to an increase in expectations for best-of-breed solutions well above the productivity gain, meaning major tasks can take much longer. I still find that AI isn'...
www.linkedin.com
January 2, 2026 at 6:12 AM
Sureal moment: I told Codex the way /prompt worked wasn't right, and now it's looking through the ~/.nvm Codex code to figure out why
December 15, 2025 at 8:51 AM
Yesterday, I was reminded that AI creates new classes of bugs. Gemini 3.0 Pro (preview) CLI kept “hallucinating” my config as code edits. Too much AI gap-filler kills determinism – we need Codex/Claude-style smart glue, not opaque agents. www.linkedin.com/feed/update/...
November 25, 2025 at 10:01 AM
Tip for AI CLI: ask it to suggest topics to research to fix a problem, get a chat AI to do the research with web search, and paste the results into the CLI, save it to an adoc|md for future reference
November 21, 2025 at 7:55 AM
Oddly specific rety time for Gemini CLI
November 16, 2025 at 8:27 PM
to avoid an empty block complaint.

while (methodReader.readOne()) {
continue;
}
November 12, 2025 at 9:34 PM
A test that never failed doesn't add much value. Ask an AI to write a failing test, and it will write a broken test.
The solution I have found is:
1. Ask it to find/fix a bug and write a test to exercise it
2. Keeping only that test, check it fails without a fix
3. Write the fix
November 12, 2025 at 9:48 AM
"Much of the most valuable Gen AI usage will grow out of existing business applications, rather than be wholly new. These applications will draw on existing domain models and infrastructure, and be more robust and useful as a result."
medium.com/@springrod/d...
Don’t Talk English to Your LLM
Just because LLMs are eloquent in natural language doesn’t mean that we should always communicate with them in it.
medium.com
November 5, 2025 at 9:22 AM
I find AI is more useful as a simulated developer user of the software.
It doesn't find bugs as often as it stumbles on usability issues.
November 3, 2025 at 2:47 PM
The AI boom isn’t just about algorithms — it’s about money, power, and a race to build infrastructure on a scale we’ve never seen before
youtu.be/NbL7yZCF-6Q?...
October 26, 2025 at 1:11 PM
Running codex cli via ssh from my phone, works surprisingly well while doing house work and other tasks
October 25, 2025 at 8:38 PM
Visiting Zegreb for some consulting
September 30, 2025 at 5:23 AM
On 20 Sep 2025, the UK had its third mass shooting for the year, the highest number in a year since 2006.
Also on 20 Sep 2025, the US had 3 mass shootings that day, which has the highest in one day since 18 Sep 2025.
The US has 5x the population of the UK, not 365x.
September 28, 2025 at 5:38 AM
September 22, 2025 at 6:56 PM
The war no one talks about
September 22, 2025 at 11:17 AM
It turns out that Reasoning LLM can also get distracted by cats.

"Cats Confuse Reasoning LLM: Query Agnostic Adversarial Triggers for Reasoning Models"

arxiv.org/abs/2503.01781
September 21, 2025 at 7:15 PM
While Generative AI can increase the overall volume of documentation and code, in terms of curated and validated release content, the increase might only be +20%. The following represents the number of lines of ~6 months of work on similar projects, both before and after using AI.
September 19, 2025 at 12:46 PM
Reposted by Peter Lawrey
Reporter: The president of Venezuela called the strike on the boat illegal

Trump: What’s illegal is the fact that 300 million people died last year from drugs
September 15, 2025 at 1:00 AM
Parwill was the name of an Australian food product from 1928 to 1935, originally branded as Vegemite, which was a failed attempt to compete with the popular British brand Marmite. The name was a pun on Marmite.
uk.pcmag.com/ai/159686/el...
Elon Musk to Take on Microsoft With 'Macrohard'
The goal is to create hundreds of specialized coding and generative AI agents. 'It should be possible to simulate [Microsoft] entirely with AI,' Musk says.
uk.pcmag.com
August 25, 2025 at 6:38 PM
Coding is a mystery story where you are the detective, perpetrator, and the victim
August 25, 2025 at 11:58 AM
The minimum tarrif for goods mailed into the US will be $80 to $200 depending on the country. A $5 cup direct from China will have a $200 tarrif.
August 24, 2025 at 9:29 AM
#!/usr/bin/tail +2
Hello World
August 23, 2025 at 4:38 PM
GPT-5: Generate a Where's Waldo, and find Waldo
August 17, 2025 at 3:33 PM
AI coding tools are powerful for certain tasks with significant caveats. They can enhance developer learning and enjoyment
The human developer’s role is still central. Understanding the problem, ensuring quality, and making architectural decisions remain human responsibilities that AI can’t shoulder
July 23, 2025 at 9:12 AM