harshvsri Profile Banner
Harsh Srivastava Profile
Harsh Srivastava

@harshvsri

Followers
60
Following
236
Media
51
Statuses
235

BTW I use Arch, Neovim and Rust.

India 🇮🇳
Joined May 2022
Don't wanna be here? Send us removal request.
@harshvsri
Harsh Srivastava
2 years
Just made my first contribution to @MozDevNet's learning-area by modifying the random number generating function and improving indentation! Thanks to @MozDevNet for the opportunity to contribute! #opensource #github Special thanks to @kunalstwt for educating me about open-source.
Tweet media one
0
1
13
@harshvsri
Harsh Srivastava
15 hours
Rust could let you do anything, but shouts “prove it or own it”—while C++ whispers “good luck.”. This has to be the best distinction of all time. #rustlang #cpp.@ThePrimeagen @letsgetrusty.
0
0
1
@harshvsri
Harsh Srivastava
5 months
Why do some languages lacks a standard collections of the most trivial data structures ?. Maybe TS/JS is not meant for solving DSA problems,.or else accept Array as QUEUE and HEAP, which is not acceptable at all. What do you think?.
0
0
0
@harshvsri
Harsh Srivastava
9 months
🌟 Handling Millions of Rows of Data! 🌟. I tackled parsing 1 million rows of weather data, achieving 230 ms!. 🔗 Read the Article: . 🔗 Check it out on GitHub: Would love your thoughts and tips on optimizing data handling!.
Tweet card summary image
github.com
One billion row challenge. Contribute to harshvsri/1brc development by creating an account on GitHub.
0
0
1
@harshvsri
Harsh Srivastava
9 months
I have just published my first article titled "Understanding File Handling and Encoding". I hope you find it informative and insightful. I’d love to hear your thoughts and any feedback, especially since this is my first time writing!.
Tweet card summary image
appflowy.com
Write, share, and publish docs quickly on AppFlowy. Get started for free.
0
1
1
@harshvsri
Harsh Srivastava
9 months
Well that's an interesting one. Despite of "INFINITY" it gets fired immediately.
Tweet media one
0
0
1
@harshvsri
Harsh Srivastava
10 months
Is someone actually gonna read that. Hope so. Since the translation is too pure which in itself will need translation. What do you guys think?
Tweet media one
0
0
1
@harshvsri
Harsh Srivastava
10 months
Hot take. A well formatted pseudo code is a valid python code. @ThePSF @Krishnaik06.
0
0
1
@harshvsri
Harsh Srivastava
11 months
🎉 Just launched: Video Transcoder API! 🎥. ✅ GET request with video ID .✅ Fetch, transcode, store .✅ Return transcoded video URL. Perfect for building video apps. Easy integration, efficient processing. Check it out: #VideoAPI #DevTools #OpenSource.
Tweet card summary image
github.com
Video transcoding service. Contribute to harshvsri/transcoder development by creating an account on GitHub.
0
0
2
@harshvsri
Harsh Srivastava
11 months
Windows RAM management is terrible. Its just docker cli, vs code and brave and my RAM is almost exhausted. I can't open any app at this point. Well i have 8 gigs maybe i need to upgrade at this point.I'm not talking about RAM i mean OS. @Windows @windowsdev
Tweet media one
0
0
2
@harshvsri
Harsh Srivastava
1 year
System design is awesome. @excalidraw is so cool.
Tweet media one
0
0
6
@harshvsri
Harsh Srivastava
1 year
Do you know your daily average expense 🤔. Well mine is 354.85 INR kinds 5$.Yes im a student living with parents. So i made a python script that parses your bank statement pdf and generates report on credit and debit. What else data should i extract out of this, ANY IDEAS 💡
Tweet media one
0
0
1
@harshvsri
Harsh Srivastava
1 year
Do you guys know that in a game of tic tac toe,. If you start the game you have a greater chance to win the game by like almost 21% of all games*.And a whooping 70% more than your opponent. What an unfair advantage
Tweet media one
0
1
4
@harshvsri
Harsh Srivastava
1 year
Multithreading VS Multiprocessing. For IO bound task we do multithreading eg n/w calls need to wait and for that multiprocessing is waste of resource since each process need to wait. While say in img processing, its CPU bound task, requires much computation so multiprosessing
Tweet media one
0
0
1
@harshvsri
Harsh Srivastava
1 year
Working with strings in modern languages is fairly easy. # This is how slicing works.#  +---+---+---+---+.#  | P | y | t | h | o | n |.#  +---+---+---+---+.#     0   1   2   3   4   5.#   -6  -5  -4  -3  -2  -1. #python.
0
0
1
@harshvsri
Harsh Srivastava
1 year
It just mangles by prefixing it with _classname. Say you have a variable named population in class Human.So, Human.population can be directly accessed. But __population will make it a bit tricky.Now, Human._Human__population will acess that exact variable.
0
0
0
@harshvsri
Harsh Srivastava
1 year
WOW. Do you know that.Python does not supports private class attributes. Copilot's take:.The Python philosophy is "we're all consenting adults here", meaning the language trusts you to not access private variables unless you have a good reason to do so. Its weirdly amazing lang.
1
0
1
@harshvsri
Harsh Srivastava
1 year
Rate my UI for my new project VideoVault (full fledge video sharing app kinda YT).Any suggestions.
Tweet media one
0
0
2
@harshvsri
Harsh Srivastava
1 year
Hot take : Abstraction in high level lang sucks. It just destroys the essence of programming, taking every thing for granted is not a good practice among new people(like me). PROGRAMMING != FULL STACK (JS).Its much more than that. HAIL C. @ThePrimeagen @t3dotgg.
0
0
0
@harshvsri
Harsh Srivastava
2 years
Attended my first virtual LeetCode contest(cuz i missed the live one).And wow, what a ride!.I won't lie, the pressure was REAL. RIP that last one, I'll get you next time!. SOLVING A PROBLEM IS WAY EASIER THAN SOLVING IT UNDER A TIME CRUNCH! ⏱️
Tweet media one
0
0
2
@harshvsri
Harsh Srivastava
2 years
Teaching what you know to others is a great way to solidify what you have learned and can often reveal holes in your knowledge that you wouldn’t have identified otherwise.
0
0
1