Notes from things I actually shipped

Writing

Writeups on the problems behind my projects — the search index, the dedup key, the queue design. No listicles, no "10 tips." If it's here, I built it first.

A

Writeups

Published here

Deep-dive writeups on the engineering behind my projects are being fact-checked and will land here shortly. The blog below is live now.

B

The blog

blog.krtk.dev — opens there
Mar 2025 · AI

How Repomix Made My AI Coding Workflow So Much Easier

Repomix: The Tool That Helps Me Talk to AI Better Lately, I’ve been using a tool called Repomix a lot—and it’s quickly become a regular part of how I work. If you ever try to expla…

Read on the blog →
Feb 2024 · ClickHouse

Using clickhouse to transform tick data into OHLC

Introduction In the world of finance, tick data represents the heartbeat of the market, capturing every price change and transaction that occurs. This granular data is invaluable f…

Read on the blog →
Nov 2023 · Python

Boosting JSON Performance in Python: A Deep Dive into orjson

Introduction Background on JSON in Python JSON, short for JavaScript Object Notation, has become a ubiquitous data interchange format, owing to its simplicity and lightweight natur…

Read on the blog →
Sept 2023 · Python

Python Functions: Writing Better Code with Ease

Introduction Programming is all about functions. They help you organize and reuse code. Python is a popular programming language that has a lot of tools for working with functions.…

Read on the blog →
Aug 2023 · JavaScript

Spread the Word: Exploring JavaScript's Spread Syntax

As a person who regularly codes in JavaScript, one of my most preferred and frequently used features in the language is the spread syntax. The beauty of this operator lies in its s…

Read on the blog →
Jul 2023 · Python

Learning RQ Scheduler in Flask by Building a Virtual Pet Game

Introduction In this article, we are about to embark on a fantastic journey to understand the Redis Queue (RQ) Scheduler within the Flask framework, powered by Python. We are going…

Read on the blog →
Jul 2023 · scheduler

Automating Tasks in Flask: A Comprehensive Guide to Apscheduler Integration

Are you looking to automate tasks in your Flask application and store the results in MongoDB? Look no further than apscheduler. This powerful Python library enables you to schedule…

Read on the blog →
Mar 2023 · Flask Framework

Flask + Docker + VSCode: How to Simplify Debugging and Improve Your Development Experience

Introduction Debugging Flask Python applications can be challenging, and things get even more complicated when running Flask inside a Docker container. Fortunately, with the right …

Read on the blog →
Mar 2023 · GitHub

Git Beyond the Basics: 5 Advanced Commands for Power Users

Git is a powerful version control system that can help you manage your projects effectively. It has many useful commands that can save you time and increase your productivity. Here…

Read on the blog →
Feb 2023 · Gatsby

How to Build a Blog with Gatsby: A Beginner's Guide

Introduction Gatsby is a popular open-source framework for building fast and modern websites and applications. At its core, Gatsby uses React and GraphQL to generate static HTML, C…

Read on the blog →
Jan 2023 · Python

SQL-S3 combination for handling images like a pro

Introduction In this tutorial, we will explore how to use the combination of SQL and S3 to efficiently handle images. We will be using Python, Flask, and SQLAlchemy to accomplish t…

Read on the blog →
Jan 2023 · Artificial Intelligence

Using Prompt Engineering to Tell Engaging Bedtime Stories

Recently, I have been diving deep into the world of AI and machine learning and have discovered some truly amazing concepts. One that really stood out to me was the idea of prompt …

Read on the blog →