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: code

  • 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
  • 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
  • Not every code review is fireworks, but most Three Rings changes come from the actual needs of the voluntary organisations that Three Rings supports. Some of our users were confused by the way the Admin > Roles page was laid out, so one of our volunteers wrote an improved version.

    And because we're all about collaboration, discussion, learning from one another, and volunteer-empowerment... I've added a minor suggestion... but approved their change "with or without" it. I trust my fellow volunteer to either accept my suggestion (if it's right), reject it (if it's wrong), or solicit more reviews or bring it to Slack or our fortnightly dev meeting (if it requires discussion).

    Full image of GitHub screenshot showing a suggested change to a pull request. Dan-Q is suggesting that the new sentence 'These roles belong to .' should not have a full stop at the end, for consistency with other similar headings.
    Alt

    GitHub screenshot showing a suggested change to a pull request. Dan-Q is suggesting that the new sentence 'These roles belong to .' should not have a full stop at the end, for consistency with other similar headings.

    • Note
    • posted 5 December, 2024
  • ASCII table with Decimal, Hex, and Character columns. Character blocks (dec) 0-31, 32, 33-41, 48-57, and the combination of 65-90 and 97-122 are individually highlighted.

    The Elegance of the ASCII Table

    ASCII, a standard whose legacy defines to this day how most of the letters and numbers in your computer get encoded into ones and zeroes, is elegant and beautiful. Via lessons in computer history, punched tape, and typewriters, I'd love to share some of its logic with you.

    Read more - about 9 minutes (1923 words)

    • Article
    • with an accompanying podcast
    • 38 comments
    • posted 21 July, 2024
  • A design for a completely different part of the WooCommerce Extensions Management tool, again with a little green blob. Dan's floating head looks thoughtful above it, with a thought-bubble reading "wow, we're really going all-in on these little blobs, aren't we?"

    The Stupidest CSS

    Yesterday, I wrote the stupidest CSS code of my entire web development career. The code itself wasn't the stupid bit; my misinterpretation of the designer's wishes was what caused the problem!

    Read more - about 3 minutes (514 words)

    • Article
    • 5 comments
    • posted 19 March, 2024
  • Open Turds

    I've open-sourced a lot of pretty shit code.

    So whenever somebody says "I'm not open-sourcing this because the code is shit", I think: wow, it must be spectacularly bad.

    And that only makes me want to see it more.

    Read more (39 words)

    • Note
    • 2 comments
    • posted 29 January, 2024
  • Screenshot showing my webpage, "The Page With No Code". Using white text (and some emojis) on a blue gradient background, it describes the same thought process as I describe in this blog post, and invites the reader to "View Source" and see that the page genuinely does appear to have no code.

    The Page With No Code

    View Source shows nothing, but the page has content. The Page With No Code is the kind of puzzle that makes web developers unhappy.

    Read more - about 3 minutes (654 words)

    • Article
    • 11 comments
    • posted 11 January, 2023
  • What programming language should I learn first?


    Most people’s journey toward learning to program starts with a single late-night Google search.
    Usually it’s something like β€œLearn ______”
    But how do they decide which language to search for?...

    Quincy Larson (freeCodeCamp)

    Read more (34 words)

    • Repost
    • posted 28 November, 2016
  • Image representing post: Instead Of Blogging...

    Instead Of Blogging...

    In a declaration of 'blog bankruptcy', Dan lists all of the topics that he'd hoped to have blogged about during the last (very busy!) month, and gets on with writing about other things. He's been busy!

    Read more - about 3 minutes (542 words)

    • Article
    • 3 comments
    • posted 1 August, 2011
  • The Modern Programmer's Dictionary

    In the field of  software development, there's always something new to learn. Whether it's a new language, framework, API or methodology, your need to study is never through - even if you're a FORTRAN developer. But one of the more esoteric areas of your education will come in the form of the language programmers use, …

    Read more - about 6 minutes (1293 words)

    • Article
    • 1 comment
    • posted 21 September, 2010
  • Dreadful Deadlines

    Just been working like a demon towards a 13:00 deadline this afternoon, delivering a piece of software to a client. Barely made it, but what a buzz!!! Celebrated with a pub lunch with two colleagues, Lisa (the SQL Queen) and Alex (the CodeMonkey, our office pet).

    Claire called from Norfolk to say "Hi!" I'd have liked …

    Read more (79 words)

    • Note
    • posted 19 June, 2003

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!