Rituraj Borpujari
banner
riturajborpujari.bsky.social
Rituraj Borpujari
@riturajborpujari.bsky.social
Coder | Problem Solver | Technology Enthusiast

I write at https://riturajborpujari.com/posts
Vim sessions are good but the marks, registers, jump-list are shared between them which is a pain.

Built an extremely minimal Vim plugin which helps me sessionize everything.

Get to know more at github.com/riturajborpu...
GitHub - riturajborpujari/better-session.vim: Vim sessions with marks
Vim sessions with marks. Contribute to riturajborpujari/better-session.vim development by creating an account on GitHub.
github.com
August 1, 2025 at 5:12 AM
Working with hashtag #Serialization In #Go

#JSON - common but large size

#PROTOBUF - fast encoding / decoding time, forward compatibility

Raw Binary - simple but no forward compatibility

Future study
#AVRO, #ApacheThrift, #MessagePack
May 10, 2025 at 6:31 PM
Building out a persistent message queue with Golang. Just built the serialization logic.

Supports partition, key, and value from the producer and adds timestamp, and offset internally.

The consumer will see the whole thing
April 23, 2025 at 3:36 PM
Testing out custom JSON stringifier for Nodejs.
Got it to run faster than NodeJs 20 (LTS) one!!!

NodeJs 22 is still 113 ms faster in total of 1000,000 operations

riturajborpujari.com/posts/compet...
August 14, 2024 at 6:10 AM
trying out building a typing tester for the terminal.
#terminal #typing

NodeJs alert guys. Don't hate me!
github.com/riturajborpu...
GitHub - riturajborpujari/tty-typist: Test out typing speed over a list of random words, right in terminal
Test out typing speed over a list of random words, right in terminal - riturajborpujari/tty-typist
github.com
August 6, 2024 at 7:17 AM
trying to remove docker storage driver data on /var/lib/docker/overlay2 but I accidentally typed in rm -rf /var/lib/.
with sudo!!!

Reinstalling flatpak applications again now!!!
June 13, 2024 at 4:44 PM
Sometimes the idea about a dev project so vague in everybody's mind that people can't discuss it without something in working.

Guess that's why they build POCs

Experienced this first hand today. Was confused for a demo of a product feature, until I got to know everyone else is confused as well.
May 8, 2024 at 8:31 AM
An API that fetches a tree of Parent Child objects from a single mongodb collection needs improvement.
The response times are really bad, fetching 150 parent with around 20 hydrated child records takes around a min!!!
Need to dig in!
May 3, 2024 at 5:45 PM
How do you start off with a project?

A developer myself, I like to start with understanding different use cases and the user personas before anything else.

A software is for the users and how will they use them matters more than the internals or the architecture of it.
May 3, 2024 at 2:11 PM
cd hacks anybody?

here's how i maintain directory bookmarks
gist.github.com/riturajborpu...
directory bookmarks in shell
directory bookmarks in shell. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
April 28, 2024 at 2:13 PM
Well I was trying out command line tools like `cat` , `grep`, and `tail` etc.

Love the piping of IO to connect different tools together.

Here's my take on a basic Journal script. Uses `grep` and `echo`
github.com/riturajborpu...
GitHub - riturajborpujari/journal: Journal whatever you like. Keep them easily reachable with search
Journal whatever you like. Keep them easily reachable with search - riturajborpujari/journal
github.com
April 27, 2024 at 3:47 AM
I wish Nodejs brings ES style imports mainstream.

Am I being too hopeful here?
April 27, 2024 at 3:28 AM
Function #naming should be done in a way that provides an overview about the reason it exists, not just the technical name of the process

`isUserSessionValid(accessToken: string)`
is more readable than,
`isTokenValid(accessToken)`
April 25, 2024 at 6:45 AM
why do i have to provide my email id to unsubscribe when I click the #unsubscribe link from the email which was sent to me?
fireflies.ai takes it one step further. after I entered the email on the unsubscription page, I get another mail which contains the change email preferences link. Really?
Fireflies.ai | AI notetaker to transcribe, summarize, analyze meetings
Fireflies uses generative AI to bring ChatGPT to meetings. Generate transcripts and smart summaries for Zoom, Google Meet, Microsoft Teams, Webex and several other platforms.
fireflies.ai
April 24, 2024 at 8:22 AM
My move logic is done. Based on the current pacman position, i can check whether it can move in a certain direction.

next up, continuous validation of movement rules and update of pacman position based on input to keep it moving.
Free roam it is then.
April 24, 2024 at 3:32 AM
So here's what I've done in my Pacman game dev.

The board would be an 2D array of numbers. Each number value would correspond to an indivisible area on the game ui.

The value of 0 would mean empty space, 1 would mean a wall, and so on.

Next up is adding the rules for the player character movement
April 23, 2024 at 3:48 AM
Okay, this thought has been on my mind for some time now.
Build Pacman! I'm going to start it now.

I want a crack at the path finding algorithms, but first thing first, design the data structure!
April 21, 2024 at 12:46 PM
A third-party system generating report files at a configured directory keeps on working without generating files when the directory got deleted.

Now client asks why our application is not processing those report files which it didn't see.

This is ridiculous!
April 17, 2024 at 10:00 AM
My blog is up!
Check it out on riturajborpujari.com/posts/a-voic...
April 11, 2024 at 1:22 PM
Trying to #refactor different interfaces to the same functionality is a challenge.
Different #API exposing parts of the same functionality seems alright until the requirement for the whole thing exposed in a single interface comes up.
April 11, 2024 at 8:34 AM
#radicle #bluesky and maybe many others I don't know.

Are we really moving towards #p2p / #decentralized or is this just a phase?
March 31, 2024 at 6:26 AM