I’m absolutely sick and tired of hearing people complain about not having any time for their side projects. Even worse is when I get asked the seemingly presumptive “how do you find for side projects when you have a family?”…
String replacements in PHP are very simple and as per usual, can be done in a variety of different ways. First let’s take a look at the most simple form of a string replacement: str_replace(‘blue’, ‘red’, ‘My favorite color is…
Last week in part one, I discussed the lifecycle of a developer that just started a new job. The gist was that when someone starts a new role at a company, they generally have to learn the lay of the…
Rounding numbers can be done a number of ways. You can round a float up or down to the nearest integer or you could round to a specific precision. Even then you can choose whether or not to round halves…
This is a pretty universal truth, most developer titles are complete and utter nonsense. Shit like “Junior Developer” and “Senior Engineer Level 2”, sounds like we’re playing Dungeons and Dragons. Sad part of this is, most people will say they…
It felt a bit like cheating to split this post up so I figured I would just cover all of the decimal to… functions in one post. Decimal, also known as base ten, is the numerical base we are most…
I wholeheartedly decided that I would convert my existing Ikea Expedit sitting desk and bookshelf combo to a “hipster developer” standing desk. Part of the decision was because of my buddy Mike. He was telling me about how using a…
We can file this one under the “PHP functions I never knew existed and probably will never use” category. Seems that as of PHP 4.2.0 and beyond there was the inclusion of an is_finite() and an is_infinite() function. The names…
In an effort to limit my digital footprint, one of the things I am doing is not liking every fucking thing on Facebook. In addition to not liking anything moving forward, I also went back and unliked everything that I…
Figured I would keep up the trend of talking about finding the smallest and largest values in arrays by talking about finding the smallest or largest value in a set of values. Incidentally, doing so will utilize the same min()…