Blog posts by year

2023

Writing better code using interfaces

3 minute read

One thing that I’ve learned recently and that has improved my coding significantly is writing code in terms of interfaces.

Keep seeking input

less than 1 minute read

This is another lesson that I learned building machine learning systems. For the other lessons that I learned click here.

Flask Postgres basic setup

less than 1 minute read

In this blog post I’ll share a basic Flask and PostgreSQL setup that you can use for local development.

Focus on interests, not positions

1 minute read

In this blog post I want to tell you about a negotiation principle that I believe can be applied much more broadly.

So what?

1 minute read

Key takeaway: Ask the question ā€œSo what?ā€ to figure out the impact that you have.

Back to Top ↑

2022

Don’t put your scale under your bed

1 minute read

I recently bought a smart scale. Why? Because I like data and I think it’s fun to collect and analyze my weight. But… I noticed something funny.

How to structure your python code

1 minute read

In this post I want to show you how you can set up and structure your python code if you don’t know where to start. Just copy our setup!

How to scale up your code

3 minute read

As a machine learning engineer it is part of your job to run things on large data sets.

Back to Top ↑

2021

Our Amazon Sagemaker Processing job setup

3 minute read

At Snappet (we’re hiring!) we use Sagemaker Processing jobs to power most of our machine learning workflow. Sagemaker Processing jobs create our data, train...

You can always kill the feature

1 minute read

If you aren’t sure whether you should build a feature or not, err on the side of building it. Why? Because you can always kill it.

What is a startup?

6 minute read

This is my summary of the Startup = Growth essay by Paul Graham. Much of the sentences are lifted ad verbatim so they can’t really be considered my own words...

Update

2 minute read

Update time! Things happened while you were away: I got a new job, I went on a vacation, and I got vaccinated!

How to take more useful paper notes

2 minute read

I love notebooks. I love those fancy expensive Moleskins and Leuchtturms with 80 grams per squared meter acid-free paper, although I have no idea whether tha...

This week in: Today I learned (TIL)

4 minute read

I’ve been keeping a running list of some of the interesting things that I learned these last couple of weeks. Hopefully you steal a trick or two from me here!

Simple React Native Redux counter example

1 minute read

If you are learning React Native and Redux and still really don’t understand Redux try looking at this simple counter app that I made. This app aims to clear...

How to add a bottom modal in React Native

less than 1 minute read

I made a small proof of concept on how to add a bottom modal to your react-native projects. I struggled quite a while on this because I didn’t really know wh...

Set Python 3 as default on Mac

1 minute read

The default Python version that ships with (older) Mac OS software is hilariously old. Because I am still developing on a mid-2014 MBP Retina (SUE ME!) I was...

Back to Top ↑

2020

I built a bike (build log)

2 minute read

I built a bike! This is going to be a short build log on how I did it. Big shoutout to my buddy Jelle an the store guy who were both instrumental in completi...

How to open last edited file in Vim

less than 1 minute read

While googling ā€œHow to open my last edited file in Vimā€, I found this excellent StackOverflow post.

Make your Anki flashcards atomic

2 minute read

In Augmenting Long-Term Memory, quantum physicist Michael Nielsen explains how he uses Anki to augment his long-term memory. Nielsen explains why you should ...

Filling my first Field Notes

5 minute read

I recently filled my first Field Notes with notes! Usually I just toss them in a drawer never to be seen again, but not this time.

Blogging can save you work

3 minute read

In You Should Write Blogs, Steve Yegge explains why you should blog. Steve is somewhat of a cult figure in the tech space. If you’ve never heard of Steve Yeg...

Rebind shift + cmd + m to %>% (pipe symbol)

1 minute read

I recently made a video about how to make custom complex modifications in Karabiner-elements. Someone saw this video and reached out to me for some help.

How to set up a React and Flask project

4 minute read

In this blog post I will go over how to set up your React and Flask project while avoiding the dreaded Cross-Origin Resource Sharing (CORS) error.

Video: Binary Search tutorial in Python

less than 1 minute read

Hey guys I just uploaded a new video to my YouTube channel! You can view the video by clicking here or it is embedded down below. In the video I explain a si...

Learning TypeScript - The basics

3 minute read

For a new project at work I will have to lead a project in TypeScript. Here comes the kicker: I’ve never worked with TypeScript.

How to add a teaser image to minimal mistakes

less than 1 minute read

In this blog post I will show you how to add a simple teaser image to the ā€œYou may also likeā€ section of the minimal mistakes Jekyll theme. Adding a teaser i...

Back to Top ↑

2019

Plotting with Matplotlib

4 minute read

Plotting with matplotlib is really confusing. Understanding how it works under the hood helps to alleviate this pain enormously. This short blog post is here...

The Maker vs Manager Problem

5 minute read

It’s well known that programmers dislike meetings… a lot. But have you ever wondered why programmers dislike meetings so much compared to other people? The a...

How to add Latex to Minimal Mistakes

1 minute read

In one of my previous blog posts I show you how to set up the Minimal Mistakes theme for your Github page. In this blog post I show how to add Latex support ...

How to change Jekyll theme to Minimal Mistakes

1 minute read

Recently I migrated my whole blog from the Cayman theme to the Minimal Mistakes theme, which can be found here. This blog post explains how to quickly get up...

Back to Top ↑

2016

Scraping flashcards for Anki with Python

3 minute read

So while I am using Anki (flashcard program) to expand my vocabulary for my upcoming GRE test (wish me luck) I came across this word list.

Back to Top ↑