In this tutorial, I’ll talk about how I set up Kafka to provide website analytics and event tracking for a web application. For my use case, I wanted to store and process raw event data in real-time. With Google Analytics, you can’t do that. Enter Kafka.
In 6 days, I leave on a 15-day trek through the Himalayas. In this article, I thought I’d write up some of the preparation that we have had to do for this trip.
Update (Mar.29, 2018): I now recommend using NextJS to build server-rendered React applications. Read more about it here. This tutorial will explain the simplest way I have found to server render React components, fetch data, and share component state and props between server and client. You don’t need anything complicated. It’s actually very easy and […]
A collection of photos from my trip to Japan with friends.
This is how fast your coverage numbers will go up. I was recently working on an application at work which was stable but had no automated test coverage. As it got bigger, I grew more worried about the fact that I couldn’t keep the entire code base in my head anymore. As an app gets […]
Every web application in the world that maintains user data has to deal with sessions. As developers, we need to know what they are and how to use them. This post explains how sessions work in Express.
Home prices in Toronto have tripled in the last 15 years. I looked into some data and try to explain what I think is happening in the Toronto housing market.
A quote from Wired’s article on the Apple “Spaceship” Campus stood out to me: At one point, Behling recalls, Jobs discussed the walls he had in mind for the offices: “He knew exactly what timber he wanted, but not just ‘I like oak’ or ‘I like maple.’ He knew it had to be quarter-cut. It […]
Six quick tips which will help you build more maintainable CRUD-based APIs.
How to use Metalsmith.io to build simple static websites in NodeJS
Everyone agrees that web application security is very important but few take it seriously. Here’s a 13-step security checklist that you should follow before deploying your next web application.
If you have used Bedrock, you have probably set up user authentication for your web application. If you haven’t, check out how to do that in this post. However, you may have seen that the Reset Password flow is broken. What’s up with that, you wonder? Well, first let’s take a look at what the […]
Learn about how you can make database changes when your app is in production without causing breaking changes for your active users.