It started when I saw this Twitter thread about how QR codes work. (The above image comes from here – made by Dan Hollick.)
But that wasn’t enough. I needed more! Turns out they were invented in the 90s by Denso Wave, which is (or was?) a subsidiary of Toyota. They even have the invention story online.
The American Mathematical Society goes into even more detail.
Finally I found this incredible advanced article on animated QR codes that really blew my mind. Wow.
Just wanted to keep track of these links for later!
File this under some obscure CSS bullshit that few people will ever need to know.
I hired a great developer to build a WordPress plugin that would import an uploaded Excel file on the back end and then use it to fill out copy on a website based on a shortcode.
Basically I could use a shortcode like (row=4 A B C) to mean that it would take row 4 of whatever spreadsheet, and then display cells A1 and A4, then B1 and B4, then C1 and C4.
The idea is that the column headers are the data labels, so if row 1 is “Name: ” “Age: ” “Height: ” and you have a bunch of data beneath it, this plugin is a quick way of displaying “Name: John” “Age: 34” “Height: 6 Feet” on a page, if that’s the data in row 4.
I also wanted to pull this text into CSS classes around each element, so it would dynamically put class=”John” (for example) around the “John” text on the website. That way I could have the flexibility to style things across the site easily, like if I wanted every person named John to be blue text, boom, one line of CSS.
Unfortunately I had to get two revisions made because of obscure (to me) facts about CSS class names.
Continue reading →