I had been wondering - "if I create my own iterator structure, how do I implement map and all the rest on it?" During this talk it clicked for me why I don't have to.
Also loved the bit at the end between bound and unbound.
A waltz through iterators in #Rust, while discussing how type-driven API designs can help.
https://blog.ammaraskar.com/roku-tv-philips-hues/
A great walkthrough of finding bugs and putting them together to get execution on an embedded device. I especially appreciate this because I have a couple old #Roku at home and now I can consider using them as general purpose Linux boxes.
Another year, another blog post. I'm closing out 2022 by channeling my inner
@fasterthanlime with a deep dive into the basic TFTP protocol and my approach
to parsing packets in Rust. Please enjoy!
https://tuckersiemens.com/posts/parsing-tftp-in-rust/
#rust #rustlang #rustdev #tftp #networking #parsing #nom #blogging
A sad story about User Agent strings.
https://miketaylr.com/posts/2022/12/how-the-IE-11-ua-string-broke-sites-in-firefox.html
Just had a fantastic virtual #LANParty with some high school buddies. #JustinCON 2022 baby, one for the books.
I'm not sure why a container-based build isn't the default recommendation on the dd-wrt or OpenWrt forums. But here's mine:
It's my first container-based build environ. I'm not sure what other folks do, but I'm mounting the source dir in the container (with -v), changing to that dir (with -w), and running the compiler. When that's all automatic via make, it's seamless and easy. So I think I like it.
Cross-compile build environs usually screw up my normal host environ more than I like, and compete with each other, so I'm putting it in a container.
Never heard of anybody using that before. Fortunately, the algorithm for generating balanced ternary basically worked.
Nice ending to #AdventOfCode - I'd seen balanced ternary before, but never had to figure out an algorithm to generate it. Then the complexity got bumped just a little for #BalancedQuinary.
In the cold light of morning, I was able to improve that visualization for #AdventOfCode Day 24 a lot. Different shades for storms makes it a lot less "flashy"
#AdventOfCode Day 24 - very pleasant. Especially after breaking the brain on cubes and such. Feels like the end of a long run where you are just cooling down and finishing.
Maybe I'll go for a run now!
Moved to @finity