How to calculate United States holiday observances

By Josh Sherman
3 min read
php
javascript

Usually around a holiday I will do a post that’s somehow related to the holiday. Seemed kind of silly to do a post on how to calculate Independence Day in the United States since it’s pretty straight forward. It always lands on the 4th day of the month of July. […]

Stop blaming your hosting company for downtime

By Josh Sherman
2 min read
hosting
devops

I was struck with downtime last week. Linode’s Fremont data center went offline in a big way. Service was interrupted for nearly 4 hours. Did I panic? OF COURSE I DID! At first at least. Thing is, when a site of mine goes down, I just assume that I had […]

The problem with dark mode in macOS Mojave

By Josh Sherman
2 min read
apple
os x
macos
open source

If I still used MacOS as my daily driver, I’d be absolutely over the moon about dark mode being announced for Apple’s next macOS release, Mojave. It’s great that this feature is finally being added, but it’s very much “too little too late” if you ask me. For those unaware, […]

$10 VPS Showdown - June 2018 - DigitalOcean vs. Linode vs. Vultr

By Josh Sherman
5 min read
reviews
hosting
digitalocean
linode
vultr

It’s already that time again! This month, I’m comparing $10 VPS offerings instead of the smaller $5 plans. Linode recently upgraded all of their “standard” plans and I wasn’t entirely sure if their $5 instance, deemed a “Nanode” qualified as standard. Didn’t help that their blog post announcing the resource […]

Unique indexes with MongoDB and Mongoose

By Josh Sherman
4 min read
nodejs
mongodb
mongoose

Even though I’ve been using MongoDB for the last few years, I’m still very much a noob when it comes to a lot of things. One of those things would be unique indexes. Generally speak, I interact with MongoDB three different ways: I write code that explicitly creates something with […]