Year: 2021
-
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…
-
LaTeX tip of the day: delete intermediate files
15 years ago, I was using LaTeX on a daily basis for writing my dissertation, articles, and presentations. I used the beamer package to create both slides and notes with the same source for several courses I taught. I am planning on giving a presentation soon and since I am lazy, I wanted to copy/paste…
-
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…