Lessons learned from sending thank you cards to my users

By Josh Sherman
4 min read
scenekids
retrospection

I wanted to do something nice this holiday season and decided to identify some of my power users on SceneKids.com and mail them Christmas cards and some SK stickers. The users I had selected were a mix of users that have been on the site since it launched in 2011 […]

Getting PHP's version from the command-line

By Josh Sherman
1 min read
development
php
command-line

As you may already know, obtaining the version number of PHP is a simple php --version away. This is great if you just want to see the version number, but what if you wanted just the version number? First option would be to use write out some shell script to […]

That time I got ripped off on Flippa

By Josh Sherman
8 min read
reviews

In my defense, I’m a grown ass man and I knew exactly what I was doing. I was really intrigued by all of the “automated websites” that Flippa is overrun with and figured I’d set myself a very modest budget of 250$ and see what trouble I could get myself […]

How to error when setting undefined class properties in PHP

By Josh Sherman
2 min read
development
php

Perhaps you have a class and you absolutely don’t want anyone tacking new properties onto it once it’s been instantiated. To do so, you can use PHP’s overloading to catch the setting of a variable and raise an error accordingly. Here is the default behavior where an object can have […]

Bake your fees in, don’t line item them

By Josh Sherman
6 min read
personal finance

As a business owner, I understand that there are fees associated with running a business. There’s always a cost to doing business and those costs can generally be written off at the end of the year. Those costs are yours and in my opinion don’t always need to be revealed […]