Charles Hall
Charles Hall
Wow, this was opened a year ago. Anyway I just ran into needing this feature myself, so I took a stab at implementing it in https://github.com/pyfisch/cbor/pull/211, thought I'd comment in...
I just realized that [one can use const generics for integer validators](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=7a55acf2593ac238f125dd10e24802d5); a bit much to declare but pretty nice to use.
*Parse, don't validate* is probably one of my top 3 favorite blog posts of all time Another reason I favor newtypes over a second "validation" step is that without newtypes...
Nice! I'm wondering if, since the `bin` output only includes `$bin/bin/{the,built,binaries}` while `out` contains `$out/{bin,lib,nix-support}`, if `"bin"` should only come first for top-level builds, since it seems like the stuff...
I have some ideas for this, encoded in [my now-dead attempt at a layouting engine](https://or.computer.surgery/charles/sprawl). ([The name might sound familiar](https://github.com/DioxusLabs/stretch/issues/11#issuecomment-1124243226); I never made this public till just now because it...
> The [`Hierarchy`](https://github.com/vizia/morphorm/blob/main/src/hierarchy.rs#L4) and [`Node`]) traits by @geom3trik from Morphorm looks like interesting prior art too. Ah; at first I was confused what purpose a trait for nodes would serve,...
Gonna take a stab at PWM
It'd be cool if the tutor file was somehow templated from the configured keybinds so it would always display the correct instructions even if the user had rebound the key....
Oh, even if this coercion didn't happen, https://github.com/encode/databases/issues/286 would be hit. Further, it turns out that just changing `things.id IN :ids` to `things.id = ANY(:ids)` makes it work as-is. Both...
Yeah, I ran into this kind of API design problem on 1.36.0 too. I changed my code from `.with_tls((Path::new("cert.pem"), Path::new("key.pem")))` to `.with_tls((cert_pem_bytes, key_pem_bytes))` that were being loaded from the same...