manpreet
banner
mnprt.me
manpreet
@mnprt.me
i love the kotlin
November 1, 2025 at 6:48 PM
state machines mentioned lfg
October 11, 2025 at 6:21 PM
new colors, design and more smol posts
mnprt.me/posts/though...
October 11, 2025 at 3:19 PM
this one is soo good.
October 7, 2025 at 5:10 AM
yup. still got it.

wrote a beautiful statemachine dsl in kotlin.
June 30, 2025 at 3:31 AM
April 18, 2025 at 12:21 AM
April 16, 2025 at 5:59 PM
lol
March 12, 2025 at 9:00 PM
i had no response lol
March 3, 2025 at 6:24 PM
You can say my first irc adventure is not going so well. Started with a password leak.

@ctierengineer.com
February 19, 2025 at 7:19 PM
I wrote a post on writing a search engine.

mnprt.me/posts/search...
February 17, 2025 at 9:03 AM
February 10, 2025 at 12:06 AM
Type of effort I put into assignments so they are super easy to mark for the TAs.

No 15000 words paragraph describing why my solution is correct. Just a diagram.
February 10, 2025 at 12:05 AM
Just 1 more try catch, just 1 more try catch.

Man I miss my runCatching { }.

I am sure there is better way to do this in C++ but I do not have the time to learn so I will just rant.
February 9, 2025 at 9:36 PM
abstractions yum. need to add error handling though atm, it just throws an error and exits hehe.
February 9, 2025 at 12:47 AM
My protocol is overkill for school assignment but I really like it. I am transferring a struct rather than raw string.

It's so much nicer to work with rather than parsing raw strings.
February 8, 2025 at 11:39 PM
This school assignment is really time consuming, mainly because everytime I run this program I have to win a tic tac toe game against my server.

I keep on losing to a random move generator server.
February 8, 2025 at 11:35 PM
just look at her. i haven't even extracted the common functionality away yet or bothered with a refactor to clean things up.

so so readable you do not even need to know ktor ot kotlin to read it. i love kotlin.
February 5, 2025 at 7:30 AM
added the option to attach images < 5MB on the imageboard.
February 3, 2025 at 9:53 AM
ooo we did get some traffic last night. response time looking really good lol. so proud.
January 26, 2025 at 4:24 PM
Surely nothing could go wrong
January 24, 2025 at 9:49 PM
i love gatling for load testing.
January 20, 2025 at 5:30 PM
Found two queries that are likely culprit. Document search has no good reason to be this slow. I can optimize this by just ditching whatever the ORM is doing.

Now for the second query hmm not sure I will try with a simple additional index on just the document id and see where it goes.
January 19, 2025 at 9:03 PM
I should start with pagination. 722 items are just entirely too many. This is excluding the comments.
January 19, 2025 at 7:43 PM
Same search but now a different query takes most of the time. This is far from ideal. IDK if I wanna spend more time optimizing it.
January 19, 2025 at 7:41 PM