ARTLUNG
this is the website of joe crawford. code. occasional comics. toy robots. san diego.

ArtLung posts tagged with “programming” ·


  • “The Problem”
    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…

  • CALL CHAR
    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…
  • @bloggingbot is probably a bot
    “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…

  • I blogged for 17 years and all I got were these lousy Markov chains.
    In which I turn my experiments with turning written text into Markovify-generated sentences into a cool Twitter bot.