You don’t know NaN…

As I began to peruse my Trick Daddy collection of classics this fine Sunday afternoon, I happened upon a particularly telling piece called “Nann”. The mix of potent bassline and bold southern lyrics set forth by Mr. Daddy threw me into a reflective mood wherein I  pondered my own knowledge of JavaScript (the song is NSFW, but if you’d like to throw yourself in a similar mood go here). Anyhow, while reflecting, I had to ask myself…

What do I know about NaN?

read more

My Solution To Twitter’s Puddle Problem

I’ve been trying to level-up on my programming in the last year, and one of the areas I’m trying to grow in is algorithms. Algorithms are like magic, once you know the secret, it’s obvious, but until you crack one, they seem almost impossible.

read more

What’s Meaningful?

Sometimes you just want to create something beautiful and you don’t care who gets credit as long as it gets made. With that in mind you may steal a few elements in an effort to move faster. To be clear, I’m not referring to immoral/clandestine stealing. I’m talking about something you could be 100% honest about, but pride prevents you from doing.

For example, I needed to code something today for a project. I started by recreating something that was already done on the internet. The problem was already solved. I just wanted to “feel” like the one that did it. But then I thought, “What am I learning?”, “What am I adding mankind’s collective knowledge?”

Not a damn thing.

read more

Just a Bit about Floats and Ints…

As you begin your journey into Computer Science, you’ll realize that there a myriad of concepts designed to, for lack of a better phrase, rape your brain. As a general rule of thumb, I believe that brain rape should be assiduously avoided. Therefore, in an effort to do my part to lower the crime rate amongst in our community, I figured I’d explain an idea that hurt my brain when I first came across it. Namely, how are floats able to represent more values than ints can with the same space?

read more