Sign in

manpreet

@mnprt.me
151 followers 136 following 596 posts

i love the kotlin

PostsRepliesMedia
manpreet @mnprt.me · 19/02/2026
waaaaaa inline chat hate on my time 🥀
010
manpreet @mnprt.me · 23/11/2025
>opens bluesky >first sequence of words i read
180
manpreet @mnprt.me · 23/11/2025
i want jetbrians to win and stay so bad. they r just too good at this writing an editor thing.
381
manpreet @mnprt.me · 01/11/2025
020
manpreet @mnprt.me · 11/10/2025
state machines mentioned lfg
020
manpreet @mnprt.me · 11/10/2025
new colors, design and more smol posts mnprt.me/posts/though...
060
manpreet @mnprt.me · 07/10/2025
this one is soo good.
020
manpreet @mnprt.me · 30/06/2025
yup. still got it. wrote a beautiful statemachine dsl in kotlin.
290
manpreet @mnprt.me · 18/04/2025
020
manpreet @mnprt.me · 16/04/2025
220
manpreet @mnprt.me · 12/03/2025
lol
160
manpreet @mnprt.me · 03/03/2025
i had no response lol
240
manpreet @mnprt.me · 19/02/2025
You can say my first irc adventure is not going so well. Started with a password leak. @ctierengineer.com
130
manpreet @mnprt.me · 17/02/2025
I wrote a post on writing a search engine. mnprt.me/posts/search...
1144
manpreet @mnprt.me · 10/02/2025
020
manpreet @mnprt.me · 10/02/2025
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.
140
manpreet @mnprt.me · 09/02/2025
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.
120
manpreet @mnprt.me · 09/02/2025
abstractions yum. need to add error handling though atm, it just throws an error and exits hehe.
010
manpreet @mnprt.me · 08/02/2025
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.
130
manpreet @mnprt.me · 08/02/2025
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.
340
manpreet @mnprt.me · 05/02/2025
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.
110
manpreet @mnprt.me · 03/02/2025
added the option to attach images < 5MB on the imageboard.
230
manpreet @mnprt.me · 26/01/2025
ooo we did get some traffic last night. response time looking really good lol. so proud.
140
manpreet @mnprt.me · 24/01/2025
Surely nothing could go wrong
020
manpreet @mnprt.me · 20/01/2025
i love gatling for load testing.
020
manpreet @mnprt.me · 19/01/2025
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.
010
manpreet @mnprt.me · 19/01/2025
I should start with pagination. 722 items are just entirely too many. This is excluding the comments.
010
manpreet @mnprt.me · 19/01/2025
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.
110
manpreet @mnprt.me · 19/01/2025
I should add more logs for performance, maybe even metrics. This is embarassingly slow lol. Most queries are ~100ms but this is 7 times slower.
430
manpreet @mnprt.me · 18/01/2025
Wait what this is actually good lol nice. Found a good article.
000
manpreet @mnprt.me · 18/01/2025
Made a search engine for hackernews. It is deployed here: hnsearch.mnprt.me No libraries for search, just classic inverted index and BM25 for ranking. Have only indexed 8000 documents so far and with reasonable points of > 5. github.com/manpreeeeeet...
460
manpreet @mnprt.me · 16/01/2025
Never listening to ppl on the internet again. Look at what you made me do. Recreated try catch from scratch while keeping almost identical syntax. play.kotlinlang.org#eyJ2ZXJzaW9u...
140
manpreet @mnprt.me · 13/01/2025
Sneak Peak at what I am cooking. No libraries for search indices, just the good ole inverted index stored on db and simple ranking algo. Now need to do the boring part of writing tests and ensuring pieces are working together nicely.
040
manpreet @mnprt.me · 12/01/2025
Do you see this beauty, search ranking has been achieved internally.
060
manpreet @mnprt.me · 06/01/2025
~100 hours of Kotlin as a side quest nice. Sadly no work stats.
040
manpreet @mnprt.me · 05/01/2025
Gonna improve those UI skills hehe. Made this. mnprt.me/spam/columns
150
manpreet @mnprt.me · 29/12/2024
JVM implementation is complete. It lacks a lot of features, but I am happy with how far I got. Might pick it up again in future to add the missing features. github.com/manpreeeeeet...
0152
manpreet @mnprt.me · 28/12/2024
My Go JVM now can run this code. Which is Object Intilization + Method calling. Time to clean up the code tomorrow.
281
manpreet @mnprt.me · 27/12/2024
ConstantPool Parsing has been achieved internally. So close to parsing the Class and then I will look into executing OPCodes. I am a dummy but I will get it working.
010
manpreet @mnprt.me · 27/12/2024
I have frieren in my IDE now. @nanami.codes see this.
290
manpreet @mnprt.me · 26/12/2024
why is my cafe babe inverted? and other great things you can ask your llm. the future is here.
010
manpreet @mnprt.me · 14/12/2024
ooo light mode on my site now.
0100
manpreet @mnprt.me · 09/12/2024
I love finding such stuff in the wild.
040
manpreet @mnprt.me · 09/12/2024
020
manpreet @mnprt.me · 07/12/2024
why is everything here trying to grab my attention. only the middle section matters. everything else should be secondary toggleable.
020
manpreet @mnprt.me · 07/12/2024
what these cute little packages. what is a Nuget. why does the official documentation has so many words but most of it is not important.
120
manpreet @mnprt.me · 07/12/2024
* Created scalable, reliable APIs using dot net framework. * Followed best practices to write maintainable code.
050
manpreet @mnprt.me · 07/12/2024
I am gonna become god's strongest C# developer.
092
manpreet @mnprt.me · 06/12/2024
my skills r finally about to pay off.
160
manpreet @mnprt.me · 06/12/2024
good morning. i slipped the moment i stepped out of the house. i wonder where it all went wrong. i wonder when things will actually work out in my favor. anyways enough of that. check this picture i took at school the other day.
040