Advertisement Β· 728 Γ— 90

Posts by Shehriyar Qureshi πŸ¦€

as much as i love ratatui, i would very much like the rats above my hanging ceiling gone

1 month ago 1 0 0 0

tasked to write auto-updater for our app that runs on client machines (windows)

saw windows-rs crate and started writing the initial impl. using it

"initial" impl. is prod ready

Thing is, they're a python shop. Right now only I know rust.

will have to defend it's ">" python, min. runtime errors

1 month ago 0 0 0 0

oh boy i just discovered noctalia-shell

my barebones niri with waybar is now tranformed into niri+noctalia-shell

sooooo goooodddd

thanks to brodie's video. saw a comment and looked it up

LOVE ITTT

1 month ago 0 0 0 0

Rust compiler: β€œYou can’t do that.”

Me: β€œFuck you, I should be able to do that just fine.”

Me, five to ten minutes later: β€œβ€¦ oh, no, I see why I can’t do that.”

1 month ago 144 7 5 2

ordered an esp32 c6 so i could try rust embedded

thing turned out to be a dead unit..

so wanted to use rust, gotta wait even more now

1 month ago 3 0 0 0
Screenshot from the video of showing RPM demo slide

Screenshot from the video of showing RPM demo slide

πŸ¦€ Automotive Rust, amateur style - Talk from Euro Rust

youtu.be/4sYzxv6YijI

#rustlang #embedded

3 months ago 5 1 0 0
an apron on couch with ratatui logo embroidered.

an apron on couch with ratatui logo embroidered.

finally got the @ratatui.rs apron.

kinda embarrassing now since I can't cook anything other than instant noodles πŸ™ˆ

could use this as motivation to learn cooking

3 months ago 1 0 0 1

giving out binary using pyinstaller feels so wrong

most remarks of rust are "we try to shoehorn it everywhere"

but then people that only know python shoehorn it everywhere incl. system apps.

as hornet says, "git gud" and learn rust. awesome tool for the job.

3 months ago 1 0 0 0

I'm continuously impressed with how just how good the Rust ecosystem is. Whenever I look for a crate or a CLI utility that does what I want, 95% of the time I find it.

And the rest of the time, the components are right there for me to build it.

4 months ago 84 9 0 0
Advertisement

It's such a good feeling when I want to learn about a complex topic and some random youtuber has videos up about it that they made 6 years ago

simple slides, white background, and just very informative

4 months ago 3 0 0 0

thank you for the tips!

Most of my points are indeed about developer experience and stronger guarantees. the tool I inherited has no lockfile. very outdated docs (if any) but the tool is very self-contained (small)

found a rust crate that can help me replace it

lets see if I can get anywhere 😁

4 months ago 3 0 0 0

need tips for convincing a company in healthcare to adopt rust for their on-prem tools.

current tool is written in python πŸ˜…

not the best choice for something that should be predictable and ideally never crash

that and bundling python to exe is just... very hacky? AVs triggering and whatnot

4 months ago 5 0 1 0
Snippet from the blog showing old approach before cargo

Snippet from the blog showing old approach before cargo

πŸ¦€ A look at Rust from 2012

- Thanks to all the people who put efforts and shaped the today's Rust

purplesyringa.moe/blog/a-look-...

#rustlang

4 months ago 14 3 0 0

fixing that, rust impl is ever so slightly (~200ms) faster.

without gzip requests were ~300KB each, with gzip ~6KB each.

I wasn't aware of gzip's usefulness until now.

4 months ago 0 0 0 0

had written some code in python using aiohttp library to do concurrent requests some time ago. setting pokemon as benchmark, took ~1s for 150 pokemon.

never figured out why the same in rust was super slow.

hooked up a proxy to identify headers and found... no gzip in rust impl πŸ˜…

4 months ago 1 0 1 0
An evolution of xkcd #2347 with too many things that can break the Internet!

An evolution of xkcd #2347 with too many things that can break the Internet!

This meme is getting out of hand, but it's actually not far from reality 🀣

4 months ago 119 50 4 3

in recent case it was uefi emptying its NVRAM and since I didn't have an efi in fallback path, it wouldn't boot.

4 months ago 0 0 0 0

after a decade i had bought my first PC few months ago.

initially ran into issues installing linux. would crash kernel and just not boot. very scary.

think i did an nvme format and then it worked.

recently it decided to not boot. good that it didn't cuz i learned what BOOT/BOOTX64.EFI is

4 months ago 0 0 1 0
Advertisement
The source of the standard Rust Hello World program with the generated assembly before and after the change.

The before version has 11 instructions and stores 56 bytes on the stack. The after version has 3 instructions and stores no data on the stack.

The source of the standard Rust Hello World program with the generated assembly before and after the change. The before version has 11 instructions and stores 56 bytes on the stack. The after version has 3 instructions and stores no data on the stack.

πŸ¦€ I've improved the implementation behind all the string formatting macros in Rust: println, panic, format, write, log::info, etc. (Everything using format_args!().) They will compile a bit faster, use a bit less memory while compiling, result in smaller binaries, and produce more efficient code! πŸŽ‰

5 months ago 533 60 11 3

spent entire day tweaking niri and waybar to work on laptop and pc

then scrapped it to just use cosmic since it's easier and I don't want to spend too much time tinkering

there's more rust to learn

also spent hours setting up ssh agent for ssh passphrase on both machines

took me HOURS. so tired

5 months ago 0 0 0 0
Preview
crates.io: Rust Package Registry

published my first rust crate! hopefully can continue working on improving it with new learnings on concurrency.

crates.io/crates/twamp...

5 months ago 1 0 1 0

read up a bit on rust atomicx and locks, re-watching Jon's "decrusting tokio" starts making so much more sense

or that I learned more about threads and now I get what "scheduled cooperatively" means compared to "scheduled preemptively"

awesome feeling when I'm re-watching and finally "understand"

5 months ago 0 0 0 0

Learning about memory ordering and atomics. It's a real head spinner with all the happens-before relationships and causality.

Plus it doesn't help that my brain starts playing assassins creed music whenever I hear or see "syncronization". Little assassins climbing up on cpu cores to syncronize.

5 months ago 0 0 0 0

started reading "Rust Atomics and Locks" and I love she made it free on her website

finished chap. 1 by going over it until I understood each example.

took me some time on mutex since i had lock/unlock backwards πŸ˜‚

will be fun going over twamp-rs again, armed with new knowledge from this book

5 months ago 1 0 1 0

just got around to making a docs page for my rust networking project on GitHub pages. don't ask how much i fought cargo doc to show re-export hyperlinks πŸ˜…

thatdevsherry.github.io/twamp-rs

5 months ago 1 0 0 0

have to buy a laptop now

either an hp elitebook 845 g7/g8 or a thinkpad t14s gen 1/2 (all amd)

both are a bit hard to get. couldn't find t14s today but one shop said they'll have it soon.

want to go with thinky since all hp i saw weren't in very nice condition (metal body easily shows dents)

5 months ago 0 0 0 0

i wanted to use rust and my manager gave a realistic response that "look for rust roles"

so I'm doing just that

I'm open to new roles and looking especially for rust roles.

want to grow in it and best way is to work with it :D

if anyone has any relevant openings please pass them to me πŸ™

5 months ago 1 0 0 0
esp-hal 1.0.0 release announcement Announcing esp-hal 1.0, the first Rust SDK for embedded devices.

Espressif hired a bunch of Rust devs years ago and they have been quietly doing great work supporting Rust on their chips ever since. Still haven’t seen any other chip companies get close.

developer.espressif.com/blog/2025/10...

5 months ago 72 8 2 2
Advertisement
buick reatta crt touch screen display from the late 80s

buick reatta crt touch screen display from the late 80s

saw this in my feed that an old 80s car had a crt touch screen. now i wanna make suzui-rs be like this.

time to go embedded and a separate screen and what not

ironic I'd make it in rust, and most of these cars would also have.. a different kind of rust

5 months ago 1 1 0 0
Example dashboard build with Ratatui running on ESP32 + TFT Display

Example dashboard build with Ratatui running on ESP32 + TFT Display

⚑️ Learn how to build embedded TUIs on ESP32

- New chapter added in "impl Rust for ESP32" Book

- Teaches how to use mousefood crate to use Ratatui in embedded environment (no_std)

esp32.implrust.com/ratatui/inde...

#rustlang

5 months ago 8 1 1 0