saurabh kaul
@saurabhkaul5
borrowed value does not live long enough
Vous pourriez aimer
banger articles you should read, day 15
Cloudflare generated many millions of HTTP 5XX responses today. They were triggered because code in a core proxy called .unwrap() on a Result for an operation that was expected to never fail.
Google getting to AGI first because you actually need to know linear algebra as a prerequisite to get a job @ DeepMind instead of being an anime pfp account posting on TPOT was in hindsight — very obvious.
hey guys, it's me again reminding you that you're gonna kick ass this week. 1. final meal 4 hrs before bed 2. in bed same time every day 3. screens off 60 min before sleep 4. read a book 10 min before sleep 5. block fast food 6. tell someone u love them 7. am light in eyes
Is it just me or am I seeing more girls and less everything else on my tl
>go online to learn about tech >spyware company guy waddling with sword in office >orange investors company funding middle school side projects (vibecoded subway surfers) >omarchy >immortality guy pays young girl for shrooms >I wrote task manager >72nd Yann LeCun crash out…
The best thing I’m happy with on macOS is Instruments. It’s really easy to use and super helpful. Rust developers can use cargo-instruments, developed by @cmyr, to make it even easier—just run: cargo instruments -t time --bench random_access
Never letting no clanker come write my code for me, ever. Only tests.
Borrow checker and async Rust APIs - some patterns of interaction .. • At async boundaries: Own More, Borrow Less .. • The borrow checker forbids holding `&mut` across `.await`. Design async APIs to avoid cross‑await borrows: Patterns: • Use `Arc<T>` for shared, immutable…
Some patterns on how iterators in Rust play well with the borrow checker - Iterator-friendly APIs, Borrow splitting and reborrowing .. Iterators prefer borrows Iterators often yield references to avoid allocation: Keep using an iterator after borrowing it Use `by_ref()` to…
One of the subtle points in the following post related to accepting inputs in Rust APIs is to appreciate the difference between `impl AsRef<>` and `impl Borrow<>`. Just as a quick reminder .. • The purpose of `AsRef<T>` is to convert by reference to `&T` for ergonomic…
In Rust, how the borrow-checker shapes your API inputs and outputs .. The general design principle is to choose signatures that minimize ownership churn while keeping call sites clean and safe. Accepting input • Borrow when you only read: `fn parse(src: &str)` • Borrow…
Mostly working in Rust but keeping a curious eye on Zig - it's always interesting to compare the techniques offered by the two. That reflects a lot on the philosophy of language design that they embrace .. Here are four ways to model “interfaces” in Zig (and they compare to…
Literally all the alleged and real pain points of Rust are 100% worth it just for the simple fact that I have not had to deal with a single segfault in over 2 years now.
A few add-ons that make APIs play even nicer with the borrow-checker: – prefer &self/&mut self methods that operate in place; avoid returning big owned structs if you can stream: fn rows(&self) -> impl Iterator<Item=&Row> – use AsRef/AsMut/Into on inputs to keep call sites…
In Rust, how the borrow-checker shapes your API inputs and outputs .. The general design principle is to choose signatures that minimize ownership churn while keeping call sites clean and safe. Accepting input • Borrow when you only read: `fn parse(src: &str)` • Borrow…
In Rust, how the borrow-checker shapes your API inputs and outputs .. The general design principle is to choose signatures that minimize ownership churn while keeping call sites clean and safe. Accepting input • Borrow when you only read: `fn parse(src: &str)` • Borrow…
Bira 91 was one of the successful start-up stories of last decade. It is a popular craft beer brand. They were growing so well. Reality is strange than what you can imagine. A procedural goof up has lead to whole company being collapsing and the founder now being forced even to…
GETTING A JOB IN THE TECH INDUSTRY
AND FOR MY NEXT MAGIC TRICK, I WILL NOW MANIFEST AN ENTIRE JOB POSITION ALL FOR ME I WILL BECOME EMPLOYED I WILL DRINK MORE COFFEE THAN WATER I WILL BE STUCK IN A CAGE I WILL GET BULLIED BY MY SENIORS I WILL EARN PENNIES I WILL GET NO BENEFITS AND I WILL LIKE IT
I’ve been telling myself to lock in for 15 consecutive weeks
United States Tendances
- 1. Sedition 175K posts
- 2. Cheney 87.6K posts
- 3. Lamelo 6,504 posts
- 4. Texans 20.5K posts
- 5. Seditious 95.6K posts
- 6. Constitution 115K posts
- 7. Commander in Chief 53.7K posts
- 8. First Take 47.2K posts
- 9. Coast Guard 24K posts
- 10. Seager 1,267 posts
- 11. Jeanie 2,061 posts
- 12. Trump and Vance 37.1K posts
- 13. TMNT 4,277 posts
- 14. UCMJ 10K posts
- 15. Last Ronin 1,638 posts
- 16. UNLAWFUL 78.6K posts
- 17. Cam Newton 4,637 posts
- 18. Mark Walter 1,525 posts
- 19. Shayy 14.7K posts
- 20. Dizzy 7,318 posts
Vous pourriez aimer
-
Archives of Contemporary India
@Ashoka_Archives -
Tin
@chungquantin -
Davide 🦀
@blarfoon -
Subbu (Shardeum)
@SubbuDecentrist -
Arafat
@ar4ft -
Josh Bodnar
@JoshBodnar1 -
nelly
@nellyisanon -
Peter Zhang
@peterzhang91888 -
Ana cora
@Anacora05 -
Ernesto Linux
@netogranados777 -
Jack Clayton
@jack_clayto -
paul.
@soysarcasme -
Aditya
@Aditya837348432 -
Sayan Chakraborty
@shockrobortyy
Something went wrong.
Something went wrong.