Posts

  • Stripping Auto Generated Embedded Titles in Discourse

    This site uses Discourse to power the comments section. Discourse has the ability to embed comments using JavaScript. This feature automatically creates a new topic on Discourse when a new post is visited for the first time.

    Read more

  • Pretty Print Relative Dates in Python

    In this post, we will learn how to “pretty print” relative dates using the dateutil library in Python. Specifically, given a relativedelta object, we will print a string that represents the number of years, months, and days that have passed between two dates.

    Read more

  • Java Heap Space Error During IntelliJ Gradle Plugin Build

    You may see an issue related to Java heap space when building a new plugin for IntelliJ using Gradle. In particular, this can happen if your computer has a relatively small amount of memory. For instance, 8GB of memory or less.

    Read more

  • Flashy is Back From the Dead

    Flashy is an open-source, multi-dimensional flashcard application. I started working on Flashy a few years ago while I was studying Chinese. A big part of learning Chinese, especially the characters, is memorization. I built Flashy because I couldn’t find an app that supports “multi-dimensional” flashcards.

    Read more

  • Undefined WordPress Functions in PHPStorm

    PHPStorm is a PHP IDE from Jetbrains. It is a great choice for PHP development, including WordPress Plugin development. This IDE offers several ways to structure and execute a WordPress plugin project. Depending on how you structure your plugin, you may run into an issue where PHPStorm gives you a...

    Read more

  • Docker Compose for Local WordPress Development

    Traditionally, developing WordPress locally means that you must have PHP, MySQL, and Apache (or some other web server) installed on your local workstation. The complexity of installing and configuring these tools varies by the operating system. Furthermore, you may quickly find yourself in configuration hell attempting to configure new releases...

    Read more

  • I’ve Been Reading Books Wrong

    I read a lot. I try to balance out a healthy mix of fiction and nonfiction. I have an unhealthy habit of not being able to give up on a book once I have started reading it. This had led me to some brutal weeks-long slogs through dull historic fan...

    Read more

  • Sitepoint is filled with Bullshit

    I was fiddling around with a WordPress plugin recently and searched for some tips on how to add customized Meta Boxes to my plugin. Thanks to SEO the first 10 pages of Google are filled with sites that provided recycled bits and pieces from other blogs and the official WordPress...

    Read more

  • How to Use Apple AirPods in Debian

    If you try to connect Apple AirPods to a computer running Debian, you will be able to pair them without any issues, but unfortunately you will not be able to use them to play any sounds. When I tried to do this, after pairing the AirPods, clicking on the Sound...

    Read more

  • How to Disable Wayland in Debian Testing

    I’m running Debian Testing on a laptop, and I would like to disable Wayland because not all of the tools that I use currently have first-class support for it. There is an old post that I used to reference to get this to work, but it appears that gdm3 changed...

    Read more


Read older posts in the archive

subscribe via RSS