@albnelson Imagine there's no Mordor...
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.
@ceoln @obi lol, bookwyrm. I'm on an Android phone right now, but following that method above, then clicking the finished date brought up a date picker, the date picker had a "clear" option, that worked for me.
Maybe it's a browser difference, it maybe you're getting to a similar but different dialog. I like bookwyrm quite a bit, but there are a few different ways to accomplish the same thing sometimes, and they don't all feel the same unfortunately.
@ceoln @obi if I navigate to a book page, then click the drop down for lists to add it to (default says "want to read"), then select "read" to mark to as already read, there is a started and finished reading date field with finished defaulting to today. But you can delete that and still click post/submit.
Whoa, I didn't know rustdoc had an (unstable) "scraped examples" feature. #rust
See it in action on the aws-sdk-s3 docs: https://docs.rs/aws-sdk-s3/latest/aws_sdk_s3/error/struct.HeadObjectError.html#method.unhandled
Docs: https://doc.rust-lang.org/nightly/rustdoc/scraped-examples.html
@lazzarello that's a pain. Probably email from GCP instances has a hard time getting through spam filters anyway... Can you forward email to a service like AWS's SES?
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.
Computer science guy, electrical engineer, US Air Force officer, jogger, likes teaching programming, aka KC0BFV.
Likes programming in: Rust, Python, JavaScript, C
Reluctantly uses: Roku's BrightScript, C++, anything