Tags → programming 
- 22-Nov-2022QOTD: Code
The sooner you realize that ALL code is temporary trash destined for the garbage heap of history, the sooner you can start making rational decisions. From Technical Debt is a Choice
-
I can never remember the name of GitPrime which is now Pluralsight Flow
I worked for a startup a few years ago and one of the tools that company used to measure developer productivity was GitPrime. The tool tied into the primary code repository in GitHub and made reports on the work done. It measured commits by size and pattern. It was fairly intelligent about attempting to create…
-
Hard Drive Cleaning: C++ Programming ’04
In 2004 I took a course at City College in C++ Programming. As I wait for my new job to start next week I’ve been doing a bunch of maintenance. I found an old backup hard drive and found a folder called cpp from an old Windows machine I had. I think it was running…
-
Drawing with CSS: Cube Cat
I have seen extraordinary things made with HTML and CSS. I remember in 2003 seeing the CSS Zen Garden (though it was hosted on mezzoblue at the time). Nearly 20 years later and CSS remains an incredible tool, only more extraordinarily powerful with each passing week, each new spec, each new browser release. For several…
-
Spielberg’s Films by year of release vs year set
The other day, over on twitter, Todd Vaziri sent a lazyweb request that piqued my interest: free cinema chart idea chart the films of steven spielberg and graph the release date minus the year the film takes place you know, for fun How does one do timelines these days anyway? I had a vague memory…
-
Sparklines in Excel courtesy seminar by Jordan Goldmeier
I attended Jordan Goldmeier’s (advancedxl.com) seminar on data visualization in Excel via one of Creative Morning‘s Field Trips. It is far easier to do cool stuff in Excel than I remember. Behold a sparkline bar graph of my ArtLung blog post counts by month since 2001.
-
Finding earworms in last.fm data with PHP
Over the weekend I was prompted to think about the idea of an “earworm” — a song or piece of music that gets stuck in your mind. Some people find such “earworms” to be highly irritating. The idiom implies an actual worm in your actual ear which sounds positively *horrifying* to me. For me, an…
-
Resume View Tracker from 2010
Back in 2010 or so when I was looking for work. I wanted to track when recipients were looking at my portfolio, so I added some code to alert me whenever the page was loaded, by anyone. It seems more innocent than sinister to me now. Note how I had to alter it to filter…
-
phpStorm: URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
So I was looking through ancient HTML files last night, as one does, and noted this peculiar error in phpStorm around the DTD of one of the files: <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd”> phpStorm did not like this DOCTYPE. It reported to me: URI is not registered (Settings | Languages & Frameworks…
-
Extract #Hashtags from Titles and Content for WordPress
I’ve been using IFTTT since 2013 and use it to import posts from my Instagram account into artlung.com for safekeeping. One aspect of that is hashtags, which mostly I’ve imported manually and in batches over the years. Based on WordPress HashTags by Matthias Pfefferle I was able to build a small plugin to popular the…