BTrem

Brian Tremblay

Twig

Twig has a filter called format_number and another called number_format

Gah!

Academese

When I hear the phrase "heteronormative paradigms" on a radio program, I get the impression that someone is trying to talk over my head.

KUOW’s "Soundside" Fails to Fact Check Immigration Claim (post 970)

KUOW's January 22 edition of Sound Side kicked off with an extended excerpt from their podcast Sound Politics, in which co-hosts Libby Denkmann and Scott Greenstone took stock of President Trump's first year in office

How I Grok xAI's Policy Change (post 965)

Excerpt of a press release from social media company X:

We now geoblock the ability of all users to generate images of real people in bikinis, underwear, and similar attire via the Grok account and in Grok in X in those jurisdictions where it’s illegal.

Here's how that reads to me....

Markdown Blockquote Hack

While writing a markdown post, I thought of a nifty hack to insert text as a block quotation

Javascript Idiocy

I tried to log into my Netflix account with Firefox. At the password prompt, my Firefox Password Manager popped up the username for my Netflix account, but no matter how many times I clicked it, it wouldn't fill in the username/password in their respective fields.

js date – wtf?!

I took a JavaScript date quiz yesterday, getting only 9 of 28 questions correct.

Eleventy Footnotes Plugin

I made a small eleventy plugin to help add footnotes to webpages on this site.

11ty Shortcodes and Nunjucks (post 955)

While writing validation code for an 11ty shortcode, I discovered something odd: if you add a shortcode with no parameter to a nunjucks template, the engine modifies the call, adding a parameter set to an empty string.

11ty addTemplate

If you want to use virtual templates in an eleventy project, you have to use eleventy 3 or greater. But note that the feature landed -- officially, at any rate -- in 3.0 beta. In other words, 3.0 alpha is not necessarily good enough, as I learned today.

Apple Tree (post 952)

undefined

Nasturtium Flower (post 951)

undefined

CSS Naked Day

Viewing this site on March 9? It's not broken. The plain look is, if you'll pardon the pun, by design. I'm taking part in Naked CSS Day.

Fava Bean Plants (post 942)

undefined

Weeping Forsythia (post 941)

undefined

Quince Tree (post 940)

undefined

Plum Tree (post 939)

undefined

Microformats in Front Matter: Part 2 (post 937)

In a recent article, I explained how I categorize my posts using microformats vocabulary names in front matter. In this followup, I'll demonstrate using front matter for microformats properties.

Microformats in Front Matter

This article demonstrates using microformats terms in front matter, which I started doing in order to self-document my website's codebase.

Great Blue Heron (post 935)

undefined