ArtLung posts tagged with programming ·
Image Maps like we did it in 1997!
Behold! Image Maps that are server-side! Absolutely ridiculous and enabled by Apache. Check it out.
Instalooter to WordPress
I’ve been importing my Instagram posts for my @artlung account using IFTTT for 7 years with good results. But there was a set of several hundred posts from 2011 and 2012 that I never bothered with. To be honest looking back at the posts, and thinking of that time, those were the two years after…
I used to be a party to walking through software engineering candidates through answering this question. I answered it myself, as part of my own hiring process, with several other programmers there. Part of the prompt from them was to “think of us as your team, feel free to ask questions or get clarifications.” That…
Open Graph Protocol Tools updated to version 1.91
It’s been 10 years since I first wrote the Open Graph Protocol Tools WordPress plugin. It was first published to the WordPress Plugin repository on April 28, 2010. It’s a tool that embeds metadata into your WordPress blog so posts and pages that can be parsed by social media. It’s not a particular popular plugin,…
Make XML Sitemaps Easily with PHP!
I am a huge fan of simple solutions for the web. So many solutions require tons of tooling or a giant content management system and those things are brittle over the long haul of time. XML Sitemaps help search engines, notably Google but other search engines too. In October 2009 I created this code to…
Adding tags to blog posts retroactively.
I’ve been reflecting my instagram posts back to this blog for a while now. One of the conventions there is mentioning people with the @mention and hashtagging posts with #hashtags. It has bothered me for a while that I didn’t ingest those tags and mentions in some manner. I left this lay for a long…
100 CALL CLEAR 110 CALL CHAR(96, “FFFFFFFFFFFFFFFF”) 120 CALL CHAR(42, “0F0F0F0F0F0F0F0F”) 130 CALL HCHAR(12,17,42) 140 CALL VCHAR(14,17,96) 150 FOR DELAY=1 TO 500 160 NEXT DELAY The first time I ever programmed it was from this page. And I made graphics in 8 by 8 squares on graph paper for months after that. Then I’d painstakingly…
“Harold, they’re bots.”
Found on FlowingData: Bot or Not: A Twitter user classifier which uses machine learning. The source code is here. Previously: I wrote about writing @bloggingbot. “Harold, they’re bots.”
“Leverage browser caching”
I was looking at Google Pagespeed Insights results today for my website today. And I got this feedback: Leverage browser caching Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network. Leverage browser caching…
Color the Smiley
Over the years I have made a lot of little web experiments and geegaws. I’ve made hangman games and drawing programs and random text generators. At one place I worked I helped make a thing that would turn an uploaded photo of a face into a Terminator face! I’ve made so many of these kind…