2021

May 10

LRU cache implementation in Golang

Updated : 2022-12-02 In this piece, we are going to demonstrate how to implement an LRU cache in Golang. I encountered this problem recently in an interview and decided to solidify my understanding by building one from scratch. Let’s examine how the LRU cache works. From a high level, think of the LRU cache as a list of a specific cache number of items. That is the cache can only have a …

more

2020

Feb 20

Service Design

One may be led to think that service design is about software architecture. That’s especially true and sad for most of us in the software business. When you look at it from a high-level point of view, service design is about planning and organization of resources to improve employee and customer experience. Let’s put this into perspective with an example. Consider an online store. …

more

2019

Dec 15

Easy your way to understanding to TLS in Go

Earlier before I started using TLS(or HTTPS), I used to think that it was a complicated process and I had to learn alot of math and complex algorithms. I was wrong. That was already done for me and all I had to do was figure out how to place the pieces together. Like my every learning experience, it all begun with a Google search. But the articles I found were either too high level for my …

more

Nov 2

Language detection : Part two

In the first part of this series, we laid the foundation and developed a model that could identify a language with an error rate of 8%. In this second part, we will change our strategy and develop an even superior model than achieves 99% accuracy. I encourage you to read the first part so that you may get the intuition of why we are changing strategy. Let’s begin Part two Change data and …

more

Nov 2

Language detection : Part one

Mastering language is arguably Homo sapiens’ greatest cognitive ability. It’s, in fact, the centerpiece of the Turing test. Work in natural language understanding has been going on for decades. While machines are yet to truly understand human language, current efforts like OpenAI’s GPT-2 and Google’s BERT demonstrate that machines are on the edge of this computational …

more

Oct 25

Tensorflow Dataset API

Data is the centerpiece of any machine learning effort. Hence, ingesting it efficiently is paramount considering how huge datasets can be. In this article, we will dive deep into the dataset API readily available in Tensorflow. Mental model Let’s begin by developing a mental model of how our data should be arranged. From experience, this will help in asserting shapes of both features and …

more

Oct 20

Machine learning reading list; for keras

Deep learning is a vast field of machine learning. Despite all the hype and promise it receives, it can be a daunting task for a beginner who is interested in venturing into deep learning. Before I got a solid footing, I struggled for quite sometime to understand what deep learning was. My first mistake was to pick a machine learning book. Why do I say this was a mistake? Well, deep learning is a …

more

© David Dexter 2022