The Revealing Module Pattern plus a Beginners Mistake

Having presented my Senior Project – Hive Learning Management System – to the powers that be (random people who bothered to stop by my convention booth) and about to graduate from Brigham Young University Idaho in less than a week, I was less than thrilled to realize I made a major beginners mistake in all […]

Trusting user input in PHP’s chmod: decimal vs. octal

The PHP manual on chmod has a subtle little warning about providing a decimal number instead of an octal when calling the chmod function: Mode is not automatically assumed to be an octal value, so to ensure the expected operation, you need to prefix mode with a zero (0). So what does this warning really […]

Hive LMS: Solving bugs I didn’t know I had!

This has been a very eventful week and a very successful one as far as my programming career goes. Besides the post I put up a few days ago, Hive LMS: Knowing when it’s time to toss code out!, I also stumbled on to a bug that turned out not to be a bug and figured […]

A Unique Identifier Hash for Hive LMS

So I got distracted but in a good way. I realized as I was coding up the login system for the LMS Project that I’m going to need some kind of ID (unique identifier hashing) for Hive and almost four hours later I have a working but extremely broken YouTube-esque unique identifier hashing algorithm.