Categories

Tags

Page 13 of All Articles

How to calculate Easter Sunday in Javascript

Regardless of your religious beliefs, you are probably aware that Easter Sunday occurs on a sliding scale. This is because Easter is a moveable feast and the date is determined by a lunisolar calendar. Originally I was planning to talk about how to calculate the date of Easter in Javascript. […]

Switching from iTerm2 to Terminal

iTerm2 has been a mandatory install for me since switching back to OS X a few years ago. At that time it was superior to Terminal for my usage. Recently I asked myself, “what value does iTerm2 add can’t be accomplished with Terminal? Turns out, not enough to keep using […]

Review: Bose QuietComfort 20 Acoustic Noise Cancelling Headphones

tl;dr - If you don’t have a pair, I feel bad for you. Get at ‘em! I’ve been devout fan of not only Sony headphones but also being wireless. For the last few years I have been using the Sony MDR10RBT Bluetooth Wireless Headphones. There was a lot to like […]

How to capitalize the first character of each word in a string in Javascript

The other day I had posted on capitalizing the first letter of a string in JavaScript. But what if you wanted to capitalize the first letter of every word? With PHP it’s just a simple call to ucwords and just as easy in Ruby and Python. To be able to […]

Migrating from Mandrill to SparkPost

If you’re reading this then you where probably slapped by MailChimp’s latest announcement to merge Mandrill into MailChimp. You may be outraged because you were on their free tier which is going away. Personally I don’t agree with your rage. In fact, I think you’re a freeloader. That being said, […]

Multiple buttons with Hubspot's Vex

I’ve been implementing HubSpot’s Vex library as a replacement for stock alert(), confirm() and prompt() dialogs on SceneKids recently. In one use case, I wanted to be able to have 3 buttons on the dialog with each button returning a value, instead of just boolean true for the OK buttons. […]

How to Capitalize the First Letter in a String in JavaScript

I’m still kind of spoiled by the built-in functions in PHP (as well as Ruby and Python for this particular task). Something like capitalizing the first letter of a string is a trivial task thanks to ucfirst. JavaScript on the other hand, assuming you’re not using php.js, the act of […]

$10 Showdown: Linode KVM vs. DigitalOcean

It’s been nearly 2 years since my original $10 Showdown post. In that time both Linode and DigitalOcean have launched new datacenters and made other improvements to their infrastructures. One of the most notable improvements is Linode’s migration from XEN to KVM. Let’s see how they stack up at the […]

Using an 11” MacBook Air for development

I do it, and I do it well. In fact, I’ve built an iOS game on it and used one exclusively without an external display while working at Sumo HQ in Austin, TX this past week. The 11” MacBook Air is a decent machine, even if you think the screen […]

Intentional infinite loops

It’s happened to all of us. A script just locks up and we’re unsure why. At closer inspection we find that we’re written a loop that has no terminating condition. It is an endless loop and in many cases consumes memory until it crashes. But what if you want to […]

Pocket is Purgatory for articles

Read it later? More like read it never. It all started out innocently enough. I started to use Pocket to stash articles so I wouldn’t be sidetracked while I was working. I would go back and catch up on the day’s articles that evening or the next morning. As time […]

How to sync local files to Spotify mobile

One of the main reasons that I gave Apple Music a try recently was because I wanted to have some of my personal music collection available on my mobile devices. Turns out there is a way to coax similar functionality out of Spotify! It’s not nearly as elegant but it’s […]

You’re using Spotify wrong

I was at least, perhaps you’re just better at this than me. Spotify has been my primary music consumption service since it launched in the United States in 2011. I have been a premium subscriber for nearly as long and have been following the company since they launched. Fingers crossed […]

Switching from Spotify to Apple Music and back again

Frustrated with recent playback issues with the Spotify desktop app, I engaged in a brief love affair with Apple Music. For me, Apple Music has a ton going for it. Out of the gate, the music selection seemed more robust than Spotify. I don’t consider myself much of an audiophile […]

Tracking peak users online with Redis

This probably isn’t the best way to track things, but it’s the best I came up with. Tracking the total number of users that log in per day or month is trivial as I have discussed in a previous post. To track the peak users online at a given time […]

How to ride a bike without training wheels

Training wheels are an abomination and should be forced into extinction. I say this as someone that struggled to learn how to ride a bike because my parent’s never took off my training wheels. Fortunately my neighborhood friends thought my inability to ride a bike was absurd and they helped […]

The true cost of meetings

Meetings suck. It’s a pretty universal sentiment across many companies and industries. “Meetings are toxic” is the war cry of the “Getting Real” generation. It’s not just the time it takes to attend the meeting. It’s the prep time. The time it takes you to get to the meeting. The […]

SumoMe is hiring!

Cheesing out on this week’s post as I’m scrambling to get ready for our company retreat in Puerto Vallarta. That being said, I woke up today and checked out our latest SumoMe email newsletter, A week in the life of a Sumo. I was floored by the email. Not because […]

Evernote? More like Evernope!

After a year and a half romp with Evernote, I am kicking it to the curb. You may remember last year when I broke away from the Apple ecosystem and moved from an iPhone to an Android device. That’s when I added Evernote to the mix as it was one […]

Email validation via MX lookup in PHP

Validating that an email addresses ain’t what it used to be. I remember writing simple regular expressions that worked out really well. These days there are a bajillion TLDs with more being added all of the time. Something I started doing is checking that the domain of the email being […]

I deleted all of my email and it was GLORIOUS!

As glorious as it has been, it started out as an absolute struggle. Ya gotta get through the ghetto before you get to the meadow, amirite? So what led me down the path of total email annihilation? There were a few contributing factors. Before I talk about that, let’s talk […]

Drizly shares your address via Twitter

TL;DR - Don’t use Drizly’s share your order link, unless you want everybody knowing where you’re getting your sauce delivered to. First off, I want to say that I am very happy to be part of the Drizly beta launch in Tampa, FL and a little bit proud of Tampa […]

First impressions of the new Apple TV

I’ve been a fan of the Apple TV for quite a while now. I was a bit late to the game as I only picked up a third generation unit in 2013. The unit that I am replacing today has consistently beat out the “smart” functionality of my Samsung television. […]

Forcing yourself to use shell aliases

Fact: Shell aliases save you time. Fact: Saving time increases your productivity. Fact: Everybody wants to be more productive. Fact: Retraining muscle memory can be a pain in the ass. I have been fighting that last fact for a while now. I have the single character alias v pointed to […]

Consolidating PHPAve.com

Just wanted to give everybody the head’s up that I am consolidating PHPAve.com into this blog. I still plan to blog about PHP from time to time but I no longer see the need in maintaining it as a separate site. For those that are interested in the migration details, […]