Real Time Web - Long Polling and Websockets on Nodejs

In current web technology, there's a lot of seamless integration under the hood that average users do not notice or take for granted. One example is how a web page is able to send and receive messages real-time, much like a chat application. Information travel in two directions, that is… »

Online Dating and Personal Data - Discovering OKCupid's API

People seem to be more and more concerned about online privacy, but somehow seem to be willing and apt to give out their personal information more than ever, especially when it comes to online dating. A New Generation of Disclosure A few weeks ago, I wrote a piece on discovering… »

Dynamic Programming - The Algorithm Behind Making Change

Have you ever gone to a grocery store or a fast food restaurant and paid for your food in cash? And perhaps they got one of those fancy coin boxes that automatically dispenses the coins when the cashier hands you back the bill portion of your change? Have you also… »

More Than One Way to Fizz a Buzz

The infamous fizzbuzz question... Everyone's done it, but how many ways can it be done, and how short can it be written? Does it require complex algorithm structures, or just a few if-else? Does it fill up multiple lines, or can you fit it in a single line tweet? Here… »

NodeJs Wrapper Module for Tinder's API

After discovering Tinder's private API's, I wanted to document everything I found. What better way than to write a nodejs module that would wrap those API calls into something simple and easy to use? The nodejs module can be found here: https://github.com/tranhungt/tinder_pro The intent was… »