Adding wordpress to github

Here are my setup notes for adding my wordpress to github so I could have some peace of mind. Embarrassingly, having worked for Meta over a year now and using Mercurial strictly through the UX in VSCode, I… Read More

Interview practice: Racing horses

This one is a puzzle question. I’m personally not the biggest fan of these types of problems and would never ask something like this in an interview. That being said, they are kind of fun, and the following… Read More

Scalatra Tutorial (Part 2): Logging, debugging, and tests

Part 1 of this tutorial is here You can follow along by getting the code from github here: The git hash for part 2 is 32190b1ae5eb685f6a06eaae6cd5fa15d5cf23bd Now that we have a barebones implementation of a web API,… Read More

Does Javascript pass by value or pass by reference?

Javascript exhibits quite interesting behavior when it passes object parameters. At first glance, it would appear that it passes everything by reference. Consider the following HTML page. <html> <body> <script type=”text/javascript”> function MyObject() { this.value = 5; }… Read More

The Singularity is nearer than you think

The Singularity is Near is a thought provoking book.    The emotions I experienced while reading ran the whole gamut from deeply disturbed to inspired.    The author, Ray Kurzweil, is a billionaire entrepreneur who graduated from MIT and made… Read More

The Monty Hall problem

The Monty Hall problem is a well known math problem, famous among nerds around the world who have studied math and computer science. It has garnered somewhat of an infamous reputation, stemming from the fact that although the… Read More

The ReceiveTimeout registry key and the obligatory rant on the registry

The Windows registry is one of those delightful features1 that came out over a decade ago that still manages to screw people over to this day, resulting in tears, bitterness, and a vast collection of horror stories. In… Read More