I have Seen the Config (And AI Wrote It)
I Bless Thy Debugger My Child
Tuesday, 4 August 2026
Revisiting Refactoring -> Purpose - "Confidence in Code"
Sunday, 2 August 2026
A Note on LSTM
LSTM, or long short term memory, seemingly paradoxically named, was co-invented by German computer scientist Sepp Hochreiter, who incubated it in his 1991 diploma thesis leading to its main publication in 1997.
LSTM addresses the problem of numerical instability in training recurrent neural networks (RNNs) that prevent them from learning long sequences (the so-called vanishing gradient problem).
In 2007, he and others applied LSTM, optimizing the architecture, to very fast protein homology detection without requiring sequence alignment.
Protein homology detection is the process of identifying whether two proteins share a common evolutionary origin - one of the core problems in computational biology.
Homology implies shared structure and shared function.
Saturday, 1 August 2026
Agentic Coding, IDE Debugging
You've built your software agentically. Now you want to (need to) debug it in an IDE.
You may need to add some extra settings.
OpenAI's Astra Solves More Maths Problems
Defensive Perl
- Switch warnings on - use the minus-w command line flag - #! perl -w
- Learn and use perlpod - it looks a bit like this at the start of your file =head1 NAME myscript =cut
- Always use strict; at the start of your program (this pragma restricts expressions that are hard to debug)
- Qualify your variables with type prefixes (similar to "Hungarian" notation) e.g. my $sHeader for strings, my @aCodes for arrays, my %hCodesToDescriptors, and appropriate equivalents for common custom types
How Imports Work in Python
The syntax for import is as follows (keywords in quotes):
"import" module [ "as" identifier ]
There is also a variation to use when testing proposed changes to Python:
"from " "__future__" "import" feature [ "as" identifier ]
The first thing import does is find an load the module. It then initialises the module.
Frozen Frames when Debugging Python
- code is compiled C-extension code (e.g. importlib, asyncio, threading internals)
- the debugger cannot step in or modify them
- they are part of Python's frozen importlib bootstrap