Find the largest value in an array with PHP

By Josh Sherman
1 min read
development
php

Last week we discussed how to find the smallest value in an array so it seemed fitting to discuss how to find the largest value in an array. As we previously discussed back in the day you would have to loop through an array and compare values until you found […]

How I doubled my investment with GAW Miners Hashlets

By Josh Sherman
2 min read
personal finance
bitcoin

I can already hear the sneers of skepticism from my readers as I write this post. I know at least one person will fail to read the entire article and post some shitty comment about how GAW Miners are running a crypto-Ponzi scheme. I actually agree with them 100% but […]

Find the lowest value in an array with PHP

By Josh Sherman
1 min read
development
php

Finding the lowest value of an array is a pretty common task in PHP, especially when you are dealing with things like scores or money. In the old days before PHP 4, finding the lowest value of an array meant looping through the array and comparing values until you had […]

How to convert an array to a string with PHP

By Josh Sherman
1 min read
development
php

Converting an array to a string is a pretty frequent task when programming. Whether you want to join some sentences into a paragraph or just smash the values into some sort of hash, you can do so very simply with PHP’s implode function. Implode takes 1 to 2 arguments. In […]

Depth vs. duration of friendships

By Josh Sherman
2 min read
friendships
retrospection

This was supposed to be one of those grossly introspective posts that was originally drafted while at that “perfect” level of inebriation (somewhere on the down slope of Ballmer Peak if I had to guess ;) Well, simply put, fuck that noise, let’s talk about friendships! This post had actually […]