Project Euler… Tutorial series.

Look, programmin’ can be fun – it’s true.  But, like cooking, it’s only fun if you totally don’t suck at it.  Soooooo, easiest way to get good at something is to do it.  Project Euler is a good resource for finding programming problems and solving them.  SO, I’m going to start making a series of video tutorials about the Project Euler library problems… Don’t be scared! Get in there, kid!  Nobody likes a coward!

Smallest common number kata — Ruby

I’ve read a bunch that if you do something everyday you get good at it… I donno, man… I totes do my vices everyday, and I still suck at those… Maybe it only works for positive stuff – but whatever, that’s for the people at NASA to figure out… Either way, I’ve been trying to make new blog posts daily with small coding Kata’s to help people out.. It’s been working well – I’ve gotten lots of ‘thumbs up’s’ a lot of  “thank you’s” and surprisingly small amount of hate mail… SO I guess I’m on the right track… Keeping with that narrative – THE SMALLEST COMMON NUMBER KATA IN RUBY! Enjoy… Don’t send hate mail… It actually cuts me pretty deep, bro…

Merge Sort in Ruby

Look, I was gonna come up with a snappy name for this blog post – but I’m running on empty – and not in the cool Jackson Brown mid 70’s americana anthem kind of way. No, I’m actually running on like almost no energy… Juice fasts, man – they always sound like a good idea ’till you’re in the middle of it fighting your own mind not to  just break down and eat the friggin’ left over pizza from the day you decided to go on a juice fast… WHY IS IT STILL IN THE FRIDGE?!  Shouldn’t I have thrown it out before I started this ‘cursed from jump‘ fast?!

EITHER WAY! Onto some nerdy stuff… I’ve been writing / making videos about recursion a bit lately.  Recursion  is… Well…

Recursion in computer science is a method where the solution to a problem depends on solutions to smaller instances of the same problem (as opposed to iteration). The approach can be applied to many types of problems, and recursion is one of the central ideas of computer science.

That’s from wikipedia… SO, yeah, I didn’t write that… Either way, get in there and watch this video about the MERGE SORT algorithm in ruby!  It’s recursive, and relatively easy to understand!  SO, yeah, Imma go eat that pizza and swear off juice fast for like 6 months.  Excelsior, friend!