Adames H.·Feb 16, 2018Generating Unique IDsI recently found the need to generate universally unique identifier (IDs used to uniquely identify data) for a project at work, and found…
Adames H.·Oct 16, 2017Concise QuicksortWhile preparing for interviews, decided it would be wise to learn how to sort arrays quickly in Ruby, and boy did I find what I was looking…
Adames H.·Sep 25, 2017Super ModuloThe modulo (%) operator is definitely my favorite operator. New coders should become comfortable with the action. For those unaware, the…
Adames H.·Sep 10, 2017Simple MediaWiki API callsJumping into the MediaWiki action API as a beginner is not an easy task. It is difficult to understand the shape of the data they serve to…
Adames H.·Aug 16, 2017A* search for solving 8 puzzlesBuilding an 8-puzzle is easy. Finding its solution is tougher. An 8 puzzle is a sliding puzzle on a 3 x 3 grid of tiles with one missing…
Adames H.·Jul 31, 2017Handling Blobs in JavascriptWhile working with the Google Static Maps API, I stumbled upon the obstacle of handling blobs in their API response. Binary Large OBject…
Adames H.·Jul 11, 2017Simple form_forMoving from Ruby to Ruby on Rails reminds me of that scene in Transformers when Shia Labeouf first realizes his Chevrolet Camaro is…