Category: WordPress
-
WordPress tip of the day: listing all filters
One of the most interesting and powerful design components of the WordPress software are hooks. They are not unique to WordPress, but it is the main software I use that relies on them so heavily. There are two types of hooks – filters, and actions. The main difference is that a filter expects some sort…
-
Photos, EXIF, IPTC oh my!
Today I wanted to make a post on my blog with a bunch of pictures. I used my Canon DSLR over the weekend, and I imported all the pictures into the Photos app on my Mac. My normal workflow is to first go through all the pictures and choose the best, which is usually somewhere…
-
UNIX tip of the day: units
A colleague at Automattic today shared an interesting post about a strange sorting bug in PHP, and another colleague shared one I had read before – about how “our email system cannot send emails over 500 miles“. I had remembered reading that one sometime in the last couple years, but couldn’t remember all the details,…
-
TIL: Elasticsearch timeouts
Lately at work at Tumblr I have been working on creating feeds of posts based on the country in which they were published, or the country in which users liked or reblogged a post. I didn’t want to do a simple filter, but rather use a boosting query to boost localized content, while also accounting…
-
What is a professor?
Yesterday at dinner my 12-year old son asked me if I used to be a professor. “No, I didn’t.” But I did teach at a university, right? “Yes, I did.” And thus began a 20 minute explanation of what it is to be a professor. I thought I would summarize it up here, since it…