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

  • ArtificialCast

    ArtificialCast is a lightweight, type-safe casting and transformation utility powered by large language models. It allows seamless conversion between strongly typed objects using only type metadata, JSON schema inference, and prompt-driven reasoning.

    Read more - about 3 minutes (612 words)

    • Repost
    • of this original
    • posted 26 July, 2025
  • Screenshot of ChatGPT telling users to enter this ASCII tab into soundslice.com

    Adding a feature because ChatGPT incorrectly thinks it exists

    ChatGPT lied about the functionality of Adrian Holovaty's software tool, Soundslice. So rather than try to get ChatGPT corrected, he just... implemented the feature it had claimed he already had. Is this the first time in history that this has happened? It could be!

    Read more (213 words)

    • Repost
    • of this original
    • posted 18 July, 2025
  • Close-up of part of a letter, the visible part of which reads: Dear Dan, We are pleased to offer you a position as Senior Softwa... / and reporting to the Company's Manager, Software E... / (the "Commencement Date"). You will receive an... / By accepting this offer you warrant and agree...

    Smug Interview Moment

    Recently, I got to answer a technical interview question with "Coincidentally, I implemented exactly what you're describing two weeks ago. For fun. Can I show you the code and the blog post I wrote to explain my design choices?"

    Read more (317 words)

    • Article
    • 1 comment
    • posted 24 June, 2025
  • Animated GIF showing Sublime Text editor flicking through six different languages, with equivalent code showing in each.

    I Wrote the Same Code Six Times!

    Could I rock an interview tech-test in a programming language I haven't touched in a decade? I wanted to know, so I found a tech-test... then solved it in six different programming languages in a single sitting.

    Read more - about 9 minutes (2125 words)

    • Article
    • 1 comment
    • posted 7 June, 2025
  • Screenshot showing cards with simple pictures of animals, filtered using radiobuttons and checkboxes to show those which are mammals AND herbivores. The list is comprised of an alpaca, camel, cow, elephant, elk, giraffe, hippo, kangaroo, manatee, panda, rabbit, rhino, sheep, and sloth.

    Dynamic Filters in Pure CSS

    CSS is powerful and performant. Let's implement client-side list filtering (with the user's choice of AND and OR modes) in CSS, without a line of JavaScript.

    Read more - about 3 minutes (618 words)

    • Article
    • 2 comments
    • posted 7 May, 2025
  • Outdoors, under blue skies and trees, Dan tosses his blue ponytail as he talks about a code snippet superimposed beneath him, showing a HTML video element with the first source (landscape.mp4) selected.

    Variable-aspect adaptive-bitrate video... in vanilla HTML?

    Thanks to recent browser enhancements, it's possible to show videos of different aspect ratios based on CSS media queries with no JavaScript dependencies. You can even combine it with adaptive bitrate streaming, even on static hosting. Let me show you how.

    Read more - about 6 minutes (1191 words)

    • Article
    • 1 comment
    • posted 30 April, 2025
  • Reply to: Rant about claims that LLMs will make you lose your programming skills


    SΓ©rgio Isidoro said:

    Ok, I'm NOT an immediate fan of "vibe coding" and overusing LLMs in programming. I have a healthy amount of skepticism about the use of these tools, mostly related to the maintainability of the code, security, privacy, and a dozen other more factors.

    But some arguments I've seen from developers …

    Read more (403 words)

    • Reply
    • 4 comments
    • posted 16 April, 2025
  • Possibly I'm a little late for the "casual daily puzzle game" party. (Did Wordle already get invented in this timeline; I forget?)

    I think there's something in an idea I've been toying with. Bring on the weekend, when I can throw some brainpower at the frontend code!

    Full image of A notebook is held in front of terminal output. The terminal begins with 'Start position: [0,4]' and then shows a series of 5Γ—5 grids containing numbers: one, labelled 'Route:', shows random grid of the numbers 0 through 24; the second, labelled 'Puzzle:', contains 1s, 2s, and 3s, corresponding perhaps to the orthagonal distances between consecutive numbers from the first grid; the third, whose title is obscured by the notebook, shows the same thing again but with 'walls' drawn in ASCII art between some of the numbers. The notebook in front contains hand-drawn sketches of similar grids with arrows "jumping" around between them.
    Alt

    A notebook is held in front of terminal output. The terminal begins with 'Start position: [0,4]' and then shows a series of 5Γ—5 grids containing numbers: one, labelled 'Route:', shows random grid of the numbers 0 through 24; the second, labelled 'Puzzle:', contains 1s, 2s, and 3s, corresponding perhaps to the orthagonal distances between consecutive numbers from the first grid; the third, whose title is obscured by the notebook, shows the same thing again but with 'walls' drawn in ASCII art between some of the numbers. The notebook in front contains hand-drawn sketches of similar grids with arrows "jumping" around between them.

    • Note
    • posted 13 March, 2025
  • Image representing post: It's not cheating if you write the video game solver yourself

    It's not cheating if you write the video game solver yourself

    Robert Heaton wrote a solver to help him crack a puzzle in a video game, and I'm 100% behind this as a valid approach to playing single-player games, if it's more fun for you than the alternatives.

    Read more (310 words)

    • Repost
    • of this original
    • posted 13 March, 2025
  • Two red lines are perpendicular to one another, followed by horizontal lines in green, semitransparent red, red, green, and semitransparent green. Each are labelled with their axis in a 7-dimensional space, and with a clarifying tooltip.

    AI vs The Expert

    Inspired by an 11-year old comedy sketch, I asked a GenAI to solve an unsolvable programming problem... and (for at least some models) it failed in exactly the way I anticipated: claiming to be able to solve it and delivering code that just... didn't. What does this teach us about AI trustworthiness for problems that might be solvable, but for which the human operator doesn't have sufficient comprehension to verify?

    Read more - about 5 minutes (1160 words)

    • Article
    • with an accompanying podcast
    • 5 comments
    • posted 28 February, 2025
  • Generative AI use and human agency

    Joanna Bryson's put together an absolutely fantastic list of considerations about the use of AI, and two of her points do a better job than I did at saying what I was trying to, last week.

    Read more - about 5 minutes (1020 words)

    • Repost
    • of this original
    • 1 comment
    • posted 24 February, 2025
  • Comic comparing 'Devs Then' to 'Devs Now'. The 'Devs Then' are illustrated as muscular men, with captions 'Writes code without AI or Stack Overflow', 'Builds entire games in Assembly', 'Crafts mission-critical code fo [sic] Moon landing', and 'Fixes memory leaks by tweaking pointers'. The 'Devs Now' are illustrated with badly-drawn, somewhat-stupid-looking faces and captioned 'Googles how to center a div in 2025?', 'ChatGPT please fix my syntax error', 'Cannot exit vim', and 'Fixes one bug, creates three new ones'.

    AI Is Reshaping Software Engineering β€” But There’s a Catch…

    Eduaro Ordax is concerned that less-experienced developers will (be encouraged to) use AI as a crutch rather than learning programming fundamentals. I have similar and related concerns, and I'm still of the opinion that we just don't know how to teach people to program!

    Read more - about 3 minutes (539 words)

    • Repost
    • of this original
    • 3 comments
    • posted 22 February, 2025
  • An arrow points from a WordPress logo to a ClassicPress logo, with the stylised/sliced 'Q' that is the icon of DanQ.me sitting atop the arrow.

    WordPress to ClassicPress

    A few weeks ago I switched this blog to ClassicPress, a fork of WordPress. Here's a deep dive into how (and why) I did it, as well as a look into what my experience so-far has been with this (mostly-)cut-down version of the world's most popular CMS.

    Read more - about 10 minutes (2205 words)

    • Article
    • 5 comments
    • posted 18 February, 2025
  • 5ΒΌ" floppy disk, 3M branded, labelled "ABM, BACKGAMM, BLKJACK, BUGS, CMINOR, HANGMAN -> TYPE DOCUMENT FIRST, INSULTS, PORKEY". A Post-It note on the sleeve reads "INSULTS" and has pictures of the "Esc" and "Num Lock" keys.

    INSULTS.COM

    As a kid, I enjoyed a 1983 program that dynamically generated insults. So I found a copy of it, reverse-engineered it, and reimplemented it in Perchance. Who wants to be insulted?

    Read more (475 words)

    • Article
    • posted 14 February, 2025
  • I have A Plan for today. Step #2 involves a deep-dive into Algolia search indexing, ranking, and priority, to understand how one might optimise for a diverse and complex dataset.

    So obviously step #1 involves a big ol' coffee and a sugary breakfast. Here we go...

    Full image of A wooden kitchen surface containing a red mug full of freshly-brewed coffee alongside a plate painted with fruits on which sits a heart-shaped doughnut, topped with chocolate and decorated with an iced motif of a sunflower. Beneath the plate, out-of-focus, are the pages of a news periodical.
    Alt

    A wooden kitchen surface containing a red mug full of freshly-brewed coffee alongside a plate painted with fruits on which sits a heart-shaped doughnut, topped with chocolate and decorated with an iced motif of a sunflower. Beneath the plate, out-of-focus, are the pages of a news periodical.

    • Note
    • posted 13 February, 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!