as much as i love ratatui, i would very much like the rats above my hanging ceiling gone
as much as i love ratatui, i would very much like the rats above my hanging ceiling gone
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
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
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.β
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
Screenshot from the video of showing RPM demo slide
π¦ Automotive Rust, amateur style - Talk from Euro Rust
youtu.be/4sYzxv6YijI
#rustlang #embedded
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
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.
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.
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
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 π
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
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
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.
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 π
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 π€£
in recent case it was uefi emptying its NVRAM and since I didn't have an efi in fallback path, it wouldn't boot.
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
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! π
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
published my first rust crate! hopefully can continue working on improving it with new learnings on concurrency.
crates.io/crates/twamp...
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"
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.
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
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
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)
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 π
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...
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
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