Dion Dokter
@diondokter
Embedded tech lead at Tweede golf. I love programming in Rust. Also at: @diondokter@fosstodon.org Check out Netherlands
An inverse big bool is when an NXP engineer decides to be cheeky and use the opposite bit pattern to mean the same thing :P
Oh, this is cool! New rust-analyzer command. "rust-analyzer: Evaluate Predicate" Then type in the type and bound and it'll tell you whether it holds. So, you don't have to go through source code anymore. #rustlang
That exists yeah. But they're still not great. A sliding window AC unit seems much better to me. Also, the portable AC unit will still literally suck. I don't think that's the case with sliding window AC, right?
European (or really German) style windows don't work well with AC. There are typically no sliding windows here. If there were I think window ACs would be much more popular. So, the only thing left are those portable AC units, and you definitely know, they suck!
I'm looking for some syntax I can have for stride. But I can't find something that's good. Looking for feedback. What do you like? [4 by 3] [4 => 3] [4 *> 3] [4 +> 3] [4 :+ 3] [4 :* 3] [4; stride: 3] [4;3] Or something else? Bonus points if it exists in other languages (especially HDL's)
Here's my license to post, officer! Hope everything is in order? apexdevelopment.github.io/bluesky-lice...
Rust constants are slowly but surely getting more powerful! On stable you can parse constants from environment variables. I remember having to pull in weird crates & macros to be able to do this. #rustlang
I haven't been tweeting much about device-driver lately, but the work is continuing! The remaining work is just quite straightforward and not as interesting :) Also, who decided to increase the scope every release!? 😇 #rustlang
Anybody here knows Chumsky? I'm using select in a bunch of places to support *any* value of the token. Is there a better way? I'm experimenting with debug info, but it's showing a lot of 'any's. I've tried converting to a parser that starts with `any()`, but then the debug info remains the same.
Anybody know why rust-analyzer is showing me an extra '/' in the inline doc view? This happens when I generate code using the doc attr and with '///'. Rustdoc is rendering it fine, so... RA bug? Just wanna make sure I'm not missing anything before I open an issue :)
Cool! I can now tell people about DDSL features through Rust error messages. This is pretty neat :) #rustlang
Always nice to start the weekend on a positive note. Not this weekend though. Seems like someone's hitch didn't like my car
People would think, surely he meant gallons! But no, I looked it up and they really do advise galleons! The saying exists for a reason: 10k galleons a day keeps the Spanish at bay
The long sections of drum and bass present at the start and end of EDM (remixes) are the preamble and postamble of music
Cool, migrated the first device-driver error from miette to annotate-snippets. I can show patch suggestions now! :D It's more work and code to write though and the API is not always clear on how it wants to be treated. But I like the results better.
Was testing out the annotate_snippets crate. For a split second I thought I had a compile error. So, it seems to be working! (annotate_snippets is the crate rustc uses/is gonna use for reporting errors)
Every project needs a logo/mascot, no? Maybe a truck driver, but the cargo is a giant DIP package. Should probably be very cartoony. Made a quick non-cartoony mockup :P Idle daydreams...
It appears the northern lights have made it over here. Very faint, can't really see it with the naked eye, but my camera can. Add note to myself: Travel up to the Arctic some time to really see it.