The Pitfalls of Using BuySellAds

By Josh Sherman
5 min read
reviews
advertising
development

BuySellAds (BSA) is a platform for selling advertisements on your website. They take a mere 25% cut of sales and offer you a marketplace listing to help you gain exposure to potential advertisers. I love the idea and have attempted to use them on a few occasions. As of this […]

Simple Probability Distribution with PHP

By Josh Sherman
1 min read
development
php

We’ve all been there, trying to juggle two or more things for either split testing or just because you want some variety. This came up recently for me with juggling advertising networks and I wrote some simply code to handle it. The premise is simple, you assign weights to the […]

LinkedIn Endorsements are Nonsense

By Josh Sherman
3 min read
career
linkedin

Recently a former coworker of mine sent out an email to her LinkedIn network pleading with us to leave her a thoughtful recommendation instead of just endorsing her for skills. Unfortunately, I never worked directly with her at the job (albeit part of the same department) and never really interacted […]

Incrementing / Decrementing a Number by a Number with PHP

By Josh Sherman
1 min read
development
php

We’ve previously discussed how to simply increment and decrement a variable but that only covered incrementing by a value of 1. What about when you want to increment a variable by 5s? There’s a few different ways this can be accomplished. First, the obvious (albeit far from ideal) using ++ […]

The Complexity of Permalinks and Slugs with User Generated Content

By Josh Sherman
7 min read
scenekids
development

I’m not referring to the complexity of the permalink or slug itself, but the complexity to your code that can be introduced with certain formats, specifcally anything that the user can modify. When I was originally building SceneKids.com I wanted to ensure that the user’s username was always in the […]