Karan
banner
kmj007.bsky.social
Karan
@kmj007.bsky.social
your friendly neighborhood nerd

https://blog.karanjanthe.me
whole time i was thinking there was something wrong with my code, why my own database is taking a whole 3seconds to complete the query, found out the s3 provider was taking the 3s, my code was just taking µs

always profile, don't assume things when it comes to systems engineering
December 2, 2025 at 6:03 AM
Can anyone send me an invite for lobste.rs , I want to post blogs and engage with the community
Lobsters
lobste.rs
December 1, 2025 at 6:28 AM
Okay I am finding new bands which are great
November 26, 2025 at 8:55 AM
Vector embeddings are not one-way hashes.

There seems to be a lot of myth and a communication gap
November 24, 2025 at 11:22 AM
clippy is my friend
November 21, 2025 at 2:01 PM
how it feels to show your database to someone, but the pain behind it is only understood by the magician
November 21, 2025 at 12:30 PM
there are so many things one needs to get right when building a database, even for the toy database :/
November 19, 2025 at 11:30 AM
मोहब्बत तुझे
खुसरो ही ना कर दे
तो क्या मोहब्बत है..!!
November 17, 2025 at 3:25 PM
I thought Tigris S3 read latency is going to be under 200 ms or something, and I learned my lesson, don't believe in what they say, believe but verify also!
November 17, 2025 at 9:15 AM
rkvy is good
November 15, 2025 at 11:38 AM
Andoy Pavlo is OG when it comes to databases,

And I am just discovering slowly
November 14, 2025 at 6:10 PM
I thought building a vector DB was going to be easy, but I found myself confused as hell!
November 14, 2025 at 11:50 AM
lol there exists ball tree
November 14, 2025 at 10:58 AM
Modern software is broken. Dependencies are not dependable. Most software is orders of magnitude more complex than it needs to be.
November 14, 2025 at 6:56 AM
PID controller is so cool
November 10, 2025 at 7:37 AM
I thought it was just going to be a simple program in Zig, and here I am finding myself editing sprites in Photoshop
November 1, 2025 at 6:10 PM
My bytebeat was not working on the web because I was parsing the expression on every sample rate, like 8000 times per second, and it was slow for generating the value for audio buffers, which is why audio was cracking up, but running great in the desktop app

I actually used arena allocator properly
October 31, 2025 at 10:27 AM
So the size of a struct is padded to a multiple of its alignment, which is defined as the largest alignment requirement of any of its fields
October 30, 2025 at 7:40 AM
You can't use strings in swith case zig, interesting!
October 29, 2025 at 2:48 PM
I am thinking about starting a systems reading group
October 29, 2025 at 1:29 PM
Parsers are recursive because languages are recursive. Lexers are not recursive.
October 29, 2025 at 1:06 PM
lexer modes are useful, but they didn't teach me in the textbook!

Imagine you are making a programming language in which you want to support the feature of template strings, like this:

> console.log(`${1 + 2 * 3} equals 7`)
7 equals 7
October 29, 2025 at 10:50 AM
decided to update my macOS because I wanted to use the latest version of Zig, and guess what, I totally hate liquid glass, my ocd is kicking from all sides
October 21, 2025 at 7:26 PM