It has been a while since I CodeBraved (mostly because I started a new job – with Microsoft!). To my greatest surprise, I realized that I have not covered a very important topic here – unit testing. I remember unit testing mentioned twice in my early computer science career. Once during the second intro to programming class when I was asked to submit a couple of unit tests for our project. And once for a research project when I realized I had a bug in my code. But no one really clarified what unit testing was, and the giant books on software engineering declaring the best ways to write tests did not help. I promise my CodeBrave intro to unit testing will be less snoozy. 😉
Continue reading “How to Unit Test your magic against bug dragons?”
A couple months ago I had a conversation with Gabriel Weinberg, the creator of DuckDuckGo search engine and the writer of one of my favorite business books, Traction. Fascinated by such big search engines as Google, Yahoo and Bing, I wondered “Wow! How could one man write a search engine?” I used to see search engines as something of a black magic that requires hundreds of genius developers to build. Indeed, the search engines that we know today have a ton of functionality, but reading the book Programming Collective Intelligence, I discovered that if we strip all the fluff and fanciness, search engines are not too hard to grok and are actually quite fascinating magical constructs. In this blog, I will explain how you can build your own search engine.
Continue reading “Simple Spell: How to Build a Search Engine”