harshvsri Profile Banner
Harsh Srivastava Profile
Harsh Srivastava

@harshvsri

Followers
63
Following
270
Media
64
Statuses
289

BTW I use Arch, Neovim and Rust.

India 🇮🇳
Joined May 2022
Don't wanna be here? Send us removal request.
@harshvsri
Harsh Srivastava
3 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.
0
1
13
@harshvsri
Harsh Srivastava
21 hours
Python is the best glue language ever created.
0
0
1
@harshvsri
Harsh Srivastava
2 days
Rc<RefCell<T>> (classic linked list) Pin<T> is the final boss :)
@pikuma
pikuma.com
3 days
Pin<T>
0
0
1
@harshvsri
Harsh Srivastava
14 days
The best vibe you can ever get from an instructor period Love you @jonhoo Thanks for creating such content, its a goldmine of information from basics optimizations to mmap to simd to custom hash and what not. It literally covers almost every part of performance engineering.
0
0
2
@harshvsri
Harsh Srivastava
16 days
I got tired of waiting for a proper WhisperFlow alternative on Linux, so I built one myself. It's called **Hyprflow** - 100% local - GPU accelerated - Lightweight bash script - Optional visual feedback - Free and open source Github: https://t.co/vDw4iJEmKZ
0
0
2
@harshvsri
Harsh Srivastava
18 days
Do u know that in rust comparison happens from left to right. let x = &2; let y = &mut 5; A) if x < y {} -> No Compiler error B) if y < x {} -> Compiler error In A compiler expects next field to be &mut but get & which is not sufficient In B it expects & and get &mut thats ok.
0
0
1
@harshvsri
Harsh Srivastava
29 days
This is what linux does to you.
0
0
1
@harshvsri
Harsh Srivastava
30 days
Probably the best answer for should i learn this new language or not.
0
0
1
@harshvsri
Harsh Srivastava
2 months
After a long grind, I finally completed Advent of Code 2023 😅 Late? Yes. Fun? Absolutely. Worth it for the pure joy of programming. 2024 is already underway code + chaos continues 👉 https://t.co/DuG5IhJ31w
0
0
1
@harshvsri
Harsh Srivastava
2 months
“Software engineering is programming integrated over time”.
0
0
0
@harshvsri
Harsh Srivastava
2 months
They can’t perceive the damage because they don’t write real code, and they don’t care because they don’t care about real code either. It’s all status grind to sell the promise.
0
0
0
@harshvsri
Harsh Srivastava
2 months
Why is there a weird force in India that u must contribute to open source and specially among juniors I think u will eventually use some open source tool and then if u wish to make it better go ahead But just finding a random repo and fix some docs is not open source period
0
0
1
@harshvsri
Harsh Srivastava
2 months
From psudo attempts to real ones.
@ThePrimeagen
ThePrimeagen
2 months
the video is still up
0
0
0
@harshvsri
Harsh Srivastava
2 months
Just opened my first PR to @OmarchyLinux Built a custom theme, swapped in Bluetui, and got a crash course in the project’s internals totally worth the deep dive. Huge thanks to the community for making tinkering this fun. Onward to the next tweak! OMARCHY is awesome @dhh
0
0
1
@harshvsri
Harsh Srivastava
3 months
First, the struct definition: s: &'a mut &'b str Reading this from right to left is the key: - &'b str: This is a standard, shared string slice, like "hello". - &'a mut &'b str: This is a mutable reference to a shared string slice. WTF, So now i am reading ARABIC!
0
0
0
@harshvsri
Harsh Srivastava
3 months
struct MutStr<'a, 'b> { s: &'a mut &'b str, } let mut s = "hello"; *MutStr { s: &mut s }.s = "world"; Rust do feels like an alien language sometimes. @tsoding
1
0
1
@harshvsri
Harsh Srivastava
4 months
To understand recursion, you must first understand recursion.
0
0
0
@harshvsri
Harsh Srivastava
4 months
The promise of Rust? Intact. ✅ heaptrack confirms: 0B of memory leaked.
0
0
0
@harshvsri
Harsh Srivastava
4 months
How can be @Google @GeminiApp can perform so bad at tool calls like Web Search. Its what u guys r best at (search) isn't. Well i don't care about any numbers out there the fact is in practice @claudeai always outperforms everyone.
0
0
0
@harshvsri
Harsh Srivastava
5 months
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
10 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