Skip to content

Dan Q

    • Articles
    • Everything
    • Notes
    • Reposts (shares)
    • Checkins (geo*)
    • Videos
    • Reviews
    • Comics
    • Tags
    • Stats
    • Subscribe
    • Blogroll
  • About
    • Semi-standard "slash pages" you might like to explore:
    • /about
    • /blank
    • /blogroll
    • /colophon
    • /contact
    • /cv
    • /events
    • /license
    • /pfp
    • /postcards
    • /privacy
    • /salary
    • /shh
    • /slashes
    • /stats
    • /subscribe
    • /where
    • Hide posts of type:
    • Choose how Dan's dressed:
    • Hair
    • T-Shirt
  • Contact
  • Podcast

Tag: programming

  • Grid of four by four words, each with an associated pair of letters.

    Did I Cheat?

    I solved a puzzle geocache in an unconventional way: by writing a program to permute all the possible solutions and check them for me. Was that cheating? I can see arguments either way...

    Read more - about 4 minutes (820 words)

    • Article
    • 8 comments
    • posted 21 March, 2026
  • Non-exhaustive list of things I'm doing when I'm writing code, that don't look like "writing code":

    • thinking
    • researching
    • contextualising
    • testing
    • measuring
    • documenting
    • communicating
    • planning
    • future-proofing
    • educating
    • learning
    • expressing
    • anticipating
    • discovering
    • inventing
    • experimenting
    • debugging
    • analysing
    • monitoring

    For all its faults, an AI agent might "write code" faster than me.

    But that's only a part of the process.

    My typing speed is not the bottleneck.

    • Note
    • 2 comments
    • posted 6 March, 2026
  • Copilot review of some code on GitHub, in which it's telling me that I should have included an .agent-logs/... file in which my AI agent describes how it helped, but I'm responding to say that 'shockingly' I wrote it without the help of AI, and telling Copilot to shut up.

    Subverting AI Agent Logging with a Git Post-Commit Hook

    I keep hearing from developer friends who are 'expected' by their employer to demonstrate that they're using AI, even for tasks at which the AI is demonstrably a suboptimal choice. So - as a joke - I came up with a git post-commit hook that makes it look like they're doing so, even when they're not.

    Read more - about 4 minutes (761 words)

    • Article
    • 1 comment
    • posted 3 March, 2026
  • Today, an AI review tool used by my workplace reviewed some code that I wrote, and incorrectly claimed that it would introduce a bug because a global variable I created could "be available to multiple browser tabs" (that's not how browser JavaScript works).

    Just in case I was mistaken, I explained to the AI why I thought it was wrong, and asked it to explain itself.

    To do so, the LLM wrote a PR to propose adding some code to use our application's save mechanism to pass the data back, via the server, and to any other browser tab, thereby creating the problem that it claimed existed.

    This isn't even the most-efficient way to create this problem. localStorage would have been better.

    So in other words, today I watched an AI:
    (a) claim to have discovered a problem (that doesn't exist),
    (b) when challenged, attempt to create the problem (that wasn't needed), and
    (c) do so in a way that was suboptimal.

    Humans aren't perfect. A human could easily make one of these mistakes. Under some circumstances, a human might even have made two of these mistakes. But to make all three? That took an AI.

    What's the old saying? "To err is human, but to really foul things up you need a computer."

    • Note
    • 1 comment
    • posted 25 February, 2026
  • Highlight of my workday was debugging an issue that turned out to be nothing like what the reporter had diagnosed.

    The report suggested that our system was having problems parsing URLs with colons in the pathname, suggesting perhaps an encoding issue. It wasn't until I took a deep dive into the logs that I realised that this was a secondary characteristic of many URLs found in customers' SharePoint installations. And many of those URLs get redirected. And SharePoint often uses relative URLs when it sends redirections. And it turned out that our systems' redirect handler... wasn't correctly handling relative URLs.

    It all turned into a hundred line automated test to mock SharePoint and demonstrate the problem... followed by a tiny two-line fix to the actual code. And probably the most-satisfying part of my workday!

    • Note
    • 2 comments
    • posted 28 January, 2026
  • Why does SSH send 100 packets per keystroke?

    Nolen Royalty wrote an interesting piece about diagnosing a quirky SSH-related issue, and I found it both interesting and inspiring.

    Read more (265 words)

    • Repost
    • of this original
    • posted 26 January, 2026
  • Screenshot from OutRun (1986), showing a red Ferrari Testarossa down the centre of a six-lane beachside highway at 293kph.

    Nostalgia, Music, and Computers

    It turns out that I get nostalgic about technology in the same way as I get nostalgic about music. Here's some things that take me right back to being nine, eleven, thirteen and fifteen years old.

    Read more - about 9 minutes (2019 words)

    • Article
    • with an accompanying podcast
    • posted 15 January, 2026
  • Dan sits at a cluttered desk reading a copy of DOCTYPE, a magazine with an aggressively 'cyberspace circa 1990' graphic design cover.

    DOCTYPE

    I received my copy of DOCTYPE magazine, a genuine 'type this program in and run it'-style programming magazine but for a modern world, and enjoyed writing, debugging, playing, and then considering refining Stuart Langridge's puzzle The Nine Pyramids.

    Read more (390 words)

    • Article
    • posted 25 November, 2025
  • Turtle-graphics illustration of a yellow window made of four rectangular quarters, with a triangular mountain peak visible through it with its peak at the centre of the window.

    How I Learned the Pythagorean Theorem

    I clearly remember the day I first learned the Pythagorean theorem, because I had a problem I wanted to solve and a practical application that I wanted to use it on. Let's re-create the experience, and see if I can take any lessons about how to support my kids in their own mathematical journeys.

    Read more - about 4 minutes (871 words)

    • Article
    • 1 comment
    • posted 13 November, 2025
  • A line cuts from North-West to South-East through England and Wales.

    Are you closer to Ireland or Scotland?

    A throwaway comment in a WhatsApp group lead me to a deep dive into geodata encoding and drawing a big old line all the way across England (and a little way across Wales!). It's nerdsnipe time!

    Read more - about 4 minutes (820 words)

    • Article
    • 2 comments
    • posted 10 November, 2025
  • A wall of ASCII art skulls in white text on black, with large ASCII art hearts superimposed above them.

    The Scroll Art Museum

    The Scroll Art Museum demonstrates a surprisingly cool way of generating animation using ASCII art in a scroll buffer and... look, it's just cool, okay? And it inspired me to dust off a copy of QBASIC for a moment, too...

    Read more (314 words)

    • Repost
    • of this original
    • posted 15 October, 2025
  • Lowriders & websites

    Praise for a blog post by Adam Stoddard, defending the handcrafting of software even where it serves no direct purpose other than the satisfaction of its creator.

    Read more (188 words)

    • Repost
    • of this original
    • posted 13 October, 2025
  • A two-axis graph labeled 'Beliefs about AI' with the x-axis of 'Transformative' and the y-axis of 'Positive'. The field is divided into four quadrants: 'Skeptical' in the bottom-left, 'Wary' in the bottom-right, 'Pragmatist' in the top-left, and 'Optimist' in the top-right.

    Four perspectives on AI

    Sean McPherson shared a "four quadrants" diagram for people's beliefs about AI, with a specific focus on LLMs used for coding assistance. Here's where I sit on it, and why.

    Read more - about 4 minutes (721 words)

    • Repost
    • of this original
    • posted 21 August, 2025
  • Photograph of three versions of the raptor engine, each one getting progressively simplified in mechanical parts.

    Just a Little More Context Bro, I Promise, and It’ll Fix Everything

    Based on my experience of 'vibe coding', I think Jim Nielsen's analogies are absolutely spot on.

    Read more (423 words)

    • Repost
    • of this original
    • 1 comment
    • posted 18 August, 2025
  • In my first few weeks at my new employer, my code contributions have added 218 lines of code, deleted 2,663. Only one of my PRs has resulted in a net increase in the size of their codebases (by two lines).

    Full image of GitHub change summary showing +218 lines added, -2,663 lines removed.
    Alt

    GitHub change summary showing +218 lines added, -2,663 lines removed.

    I need to pick up the pace if I'm going to reach the ultimate goal of deleting ALL of the code within my lifetime. (That's the ultimate aim, right?)

    • Note
    • posted 1 August, 2025

Posts navigation

Older posts
Newer posts

Get in Touch

I'd love to hear from you! Why not...

  • email me on blog@danq.me?
    (my spam filter is aggressive, so use a good subject line, i.e. not just "hello"; encrypt your email if you like)
  • say hi on Mastodon, where I'm @dan@danq.me?
  • send a letter or postcard to
    Dan Q, Unit 159610, PO Box 7169, Poole, BH15 9EL, UK
  • reach out some other way?
  • Β© Dan Q 1998-2026
  • Creative CommonsAttributionNon-Commercial except where stated (how to use)
  • powered by BloqClassicPressHTML5CSS3
  • privacy
  • Read articles, checkins, notes, reposts, and more...
  • @dan@danq.me
  • contact
  • subscribe
  • Dan Q
  • Creative Commons Attribution Non-Commercial license
  • ClassicPress
  • CSS is awesome
  • Created by a human, not by AI
  • LGBTQ+ pride flag (2018 progress variant)
  • Polyamory flag
  • Say no to Web3
  • Mastodon (it's like email... no, come back!)
  • Tested on Firefox
  • Best viewed on the Internet
  • PHP
  • Ruby
  • Debian
  • Caddy (webserver)
  • Find me on Melonland
  • Check out my GitHub
  • Three Rings - by volunteers, for volunteers, since 2002
  • I'm a fucking webmaster
  • Looks best at: any resolution!