Shritesh Bhattarai
@shrite.sh
Reposted by Shritesh Bhattarai
Rob Landley wrote what I believe to be the most accurate historical retelling of how we ended up with a mess on the file system. That retelling also has a lesson at the end about bureaucracy :) lists.busybox.net/pipermail/bu...
Understanding the bin, sbin, usr/bin , usr/sbin split
lists.busybox.net
March 14, 2025 at 11:10 AM
Rob Landley wrote what I believe to be the most accurate historical retelling of how we ended up with a mess on the file system. That retelling also has a lesson at the end about bureaucracy :) lists.busybox.net/pipermail/bu...
Reposted by Shritesh Bhattarai
Excited to announce the official launch of our online book, WebAssembly from the Ground Up! 🎉
It's the book we wish we'd had 3 years ago.
No messing with tools and frameworks. It's a hands-on guide to the core of Wasm: the instruction set and module format.
Link below. 👇
It's the book we wish we'd had 3 years ago.
No messing with tools and frameworks. It's a hands-on guide to the core of Wasm: the instruction set and module format.
Link below. 👇
March 10, 2025 at 1:19 PM
Excited to announce the official launch of our online book, WebAssembly from the Ground Up! 🎉
It's the book we wish we'd had 3 years ago.
No messing with tools and frameworks. It's a hands-on guide to the core of Wasm: the instruction set and module format.
Link below. 👇
It's the book we wish we'd had 3 years ago.
No messing with tools and frameworks. It's a hands-on guide to the core of Wasm: the instruction set and module format.
Link below. 👇
Reposted by Shritesh Bhattarai
I rewrote Porffor's object implementation completely; it is now much faster and makes Wasm binaries 2-5x smaller than before when using objects!
Porffor's current worst benchmark gets 30% faster with >4x smaller Wasm; almost on par with QuickJS with only ~1 month of work!
goose.icu/porffor-obje...
Porffor's current worst benchmark gets 30% faster with >4x smaller Wasm; almost on par with QuickJS with only ~1 month of work!
goose.icu/porffor-obje...
Porffor: Objects v2
Porffor's rewritten object implementation is now much faster and produces 2-5x smaller Wasm binaries when using objects!
goose.icu
February 5, 2025 at 7:05 PM
I rewrote Porffor's object implementation completely; it is now much faster and makes Wasm binaries 2-5x smaller than before when using objects!
Porffor's current worst benchmark gets 30% faster with >4x smaller Wasm; almost on par with QuickJS with only ~1 month of work!
goose.icu/porffor-obje...
Porffor's current worst benchmark gets 30% faster with >4x smaller Wasm; almost on par with QuickJS with only ~1 month of work!
goose.icu/porffor-obje...
Reposted by Shritesh Bhattarai
rewrite.md
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
February 4, 2025 at 5:47 PM
Freed up 439 GB from my laptop by running `cargo clean-all` and removing old Xcode Simulators and Device Supports.
February 1, 2025 at 4:51 PM
Freed up 439 GB from my laptop by running `cargo clean-all` and removing old Xcode Simulators and Device Supports.
Citizen Sleeper 2 is out. Side projects will remain (even more) untouched over the weekend.
January 31, 2025 at 7:10 PM
Citizen Sleeper 2 is out. Side projects will remain (even more) untouched over the weekend.
Both my dog and I have dentist appointments today.
January 28, 2025 at 10:25 PM
Both my dog and I have dentist appointments today.
Reposted by Shritesh Bhattarai
duckdb-wasm now has OPFS support! This means that you can now persist a DuckDB database in the browser for a given origin. This will make caching & local operations much nicer!
github.com/duckdb/duckd...
github.com/duckdb/duckd...
Add OPFS (Origin Private File System) Support by e1arikawa · Pull Request #1856 · duckdb/duckdb-wasm
Description:
This PR implements OPFS (Origin Private File System) support in the latest version of duckdb-wasm based on PR #1490.
This allows database files to be read and written to the OPFS.
API:...
github.com
January 15, 2025 at 4:53 PM
duckdb-wasm now has OPFS support! This means that you can now persist a DuckDB database in the browser for a given origin. This will make caching & local operations much nicer!
github.com/duckdb/duckd...
github.com/duckdb/duckd...
Reposted by Shritesh Bhattarai
My new chapter of the #Rust book on async and await is finally out on nightly—coming in 1.85! doc.rust-lang.org/nightly/book... I spent months planning, drafting, and rewriting this—and now it’s live! We’ll have more edits and improvements, but this is a huge step forward for learning async in Rust.
Async and Await - The Rust Programming Language
doc.rust-lang.org
November 25, 2024 at 6:42 PM
My new chapter of the #Rust book on async and await is finally out on nightly—coming in 1.85! doc.rust-lang.org/nightly/book... I spent months planning, drafting, and rewriting this—and now it’s live! We’ll have more edits and improvements, but this is a huge step forward for learning async in Rust.
Reposted by Shritesh Bhattarai
new blog post going into depth on this problem: goose.icu/porffor-this/
November 26, 2024 at 5:57 PM
new blog post going into depth on this problem: goose.icu/porffor-this/
The latest 3D printers are crazy fast. I upgraded from a Creality Ender 3 Pro to a Bambu Lab A1. Print times for a Benchy went from 2 hours to 12 minutes and the printer itself did all the calibration.
November 26, 2024 at 5:59 PM
The latest 3D printers are crazy fast. I upgraded from a Creality Ender 3 Pro to a Bambu Lab A1. Print times for a Benchy went from 2 hours to 12 minutes and the printer itself did all the calibration.
Reposted by Shritesh Bhattarai
It’s happening!!! 🎉🚀⚙️🦀 github.com/rust-lang/ru...
Stabilize the 2024 edition by ehuss · Pull Request #133349 · rust-lang/rust
This stabilizes the 2024 edition for Rust 1.85, scheduled to be released on February 20, 2025. 🎉
cc tracking issue: #117258
There is a fair amount of follow-up work after this that I am working on ...
github.com
November 22, 2024 at 8:45 PM
It’s happening!!! 🎉🚀⚙️🦀 github.com/rust-lang/ru...
Reposted by Shritesh Bhattarai
I started a local-first starter pack because I've been trying to find these people anyway: go.bsky.app/NirnP1W
November 6, 2024 at 7:49 PM
I started a local-first starter pack because I've been trying to find these people anyway: go.bsky.app/NirnP1W
I hope Apple continues to sell Pixelmator Pro / Photomator as Pro apps like Final Cut Pro / Logic Pro and not just absorb some features into Photos and sunset them.
November 1, 2024 at 4:40 PM
I hope Apple continues to sell Pixelmator Pro / Photomator as Pro apps like Final Cut Pro / Logic Pro and not just absorb some features into Photos and sunset them.
Swift compiler just gave up and exited with a nonzero status compiling an async function with a loop. No errors, no messages. I solved it by rewriting the function with recursion but this is unacceptable for a 10 year old industrial language.
October 29, 2024 at 10:20 PM
Swift compiler just gave up and exited with a nonzero status compiling an async function with a loop. No errors, no messages. I solved it by rewriting the function with recursion but this is unacceptable for a 10 year old industrial language.
My experience with Ray Ban Meta: great headphones, convenient camera and good-enough AI assistant (when connected to a phone). Paired with a cellular Apple Watch, it has replaced my iPhone and AirPods when walking the dog.
October 29, 2024 at 4:41 PM
My experience with Ray Ban Meta: great headphones, convenient camera and good-enough AI assistant (when connected to a phone). Paired with a cellular Apple Watch, it has replaced my iPhone and AirPods when walking the dog.
Reposted by Shritesh Bhattarai
How hasn't anybody implemented multiple fonts inside terminal emulators?
November 10, 2023 at 9:01 PM
How hasn't anybody implemented multiple fonts inside terminal emulators?
Me advocating static typing: Haha fuck yeah!!! Yes!!
Me writing a proof in TypeScript that an array is non-empty: Well this fucking sucks. What the fuck.
Me writing a proof in TypeScript that an array is non-empty: Well this fucking sucks. What the fuck.
October 17, 2023 at 9:36 PM
Me advocating static typing: Haha fuck yeah!!! Yes!!
Me writing a proof in TypeScript that an array is non-empty: Well this fucking sucks. What the fuck.
Me writing a proof in TypeScript that an array is non-empty: Well this fucking sucks. What the fuck.
Even with all the hype, WebAssembly is still underrated.
September 26, 2023 at 8:50 PM
Even with all the hype, WebAssembly is still underrated.
Reposted by Shritesh Bhattarai
foreplay
whileplay
dowhileplay
rangebasedforeplay
gotoplay (considered harmful)
whileplay
dowhileplay
rangebasedforeplay
gotoplay (considered harmful)
August 15, 2023 at 11:35 PM
foreplay
whileplay
dowhileplay
rangebasedforeplay
gotoplay (considered harmful)
whileplay
dowhileplay
rangebasedforeplay
gotoplay (considered harmful)
Reposted by Shritesh Bhattarai
“if economics is real, how come i never make rational choices in my own self-interest?”
July 27, 2023 at 12:16 AM
“if economics is real, how come i never make rational choices in my own self-interest?”
Hey, my vanity domain is actually useful here.
July 26, 2023 at 1:24 AM
Hey, my vanity domain is actually useful here.