DuskyElf
DuskyElf
@duskyelf.com
Blessed with great vocals, Rust, NixOS, Neovim & pi agent https://github.com/DuskyElf
34 followers18 following70 posts
Zero JS, Pure CSS ToDo App Walkthrough of the techniques used in a fully functional Todo app built using only HTML and CSS
Network Working Group members were so humble to understand and leave out perfection paralysis... margin.at/duskyelf.com...
DuskyElf reposted
DuskyElf reposted
Rust Infinite ♾️ Compile Time 😂 It hangs on ```rs trait Foo { type Gat<'a>; } trait Bar { type Ty: Foo where for<'a> <Self::Ty as Foo>::Gat<'a>: Assoc<Ty = ()>; } trait Assoc { type Ty; } ``` #rustlang #code #opensource #linux #programming github.com/rust-lang/rust
DuskyElf reposted
Rust Infinite ♾️ Compile Time 😂 It hangs on ```rs trait Foo { type Gat<'a>; } trait Bar { type Ty: Foo where for<'a> <Self::Ty as Foo>::Gat<'a>: Assoc<Ty = ()>; } trait Assoc { type Ty; } ``` #rustlang #code #opensource #linux #programming github.com/rust-lang/rust
Rust analyzer gets stuck for the same. Even after closing my text editor, those `clippy-driver` instances persisted, had to `killall clippy-driver`. cc: www.youtube.com/watch?v=aKk_... @tsoding.bsky.social
The problem is with Generic Associated Types in Rust, that feature was rushed into stable. Should fix in the new solver blog.rust-lang.org/inside-rust/....
DuskyElf reposted
Replying to @thomasfuchs.at
My favorite one I've run into is the 1900 bug. It wasn't a leap year, even though 1896 and 1904 were, because of the 100 year rule. This wasn't explained well to farmers, so the US government has hundreds of records of what the weather was like on February 29th, 1900, a day that DID NOT EXIST.
You are up to date.