Search results for 'whoa'

The curse of strong typing
...impl Display ) { println ! ( "{v}" ) ; } fn main ( ) { show ( get_char_or_int ( true ) ) ; show ( get_char_or_int ( false ) ) ; } Shell session $ cargo run --quiet C 64 Whoa. Whoa whoa whoa, that could be...
Read more
Day 1 (Advent of Code 2020)
...find ( | ( a , b ) | a + b == 2020 ) } Whoa. We're still building the whole Vec though - even if we "find" a pair that sums to 2020 early on. Correct! Let's fix that...
Read more
Implementing "Log in with GitHub"
...Result < FutileCredentials > > + Send + ' b > > ; } What's interesting here is that the returned future is Send , and Unpin (since it's on the heap), a- Whoa whoa whoa...
Read more
Day 4 (Advent of Code 2020)
...count ( ) ; println ! ( "{} passport records were valid" , num_valid ) ; } Shell session $ cargo run --quiet 194 passport records were valid Whoa, we actually got it right the first time! We always do 😎 Until next...
Read more
In the bowels of glibc
...But what is it? Shell session (gdb) info sym 0x00007ffff7fd20e0 rtld_lock_default_lock_recursive in section .text of /lib64/ld-linux-x86-64.so.2 Whoa. WHOA! It's a function...
Read more
Day 2 (Advent of Code 2020)
...RangeInclusive < usize > , } Whoa! Does that work because both u8 and RangeInclusive<usize> implement PartialEq and Debug ? Yup! And they're not implemented by default for all new structs...
Read more
A simple ping library, parsing strings into IPv4 address
...unwrap ( ) } ; IcmpSendEcho ( handle , dest , request_data , request_size , request_options , reply_buffer , reply_size , timeout , ) } Whoa. Okay, yeah, we're definitely going to need to come back to that. But for now...
Read more
Day 11 (Advent of Code 2022)
...Constant ( c ) => c , } } } And then, whoa here we go: Rust code use nom :: { branch :: alt , bytes :: complete :: tag , character :: complete as cc , character :: complete :: { one_of , space1 } , combinator :: { map , value } , error...
Read more
Why is my Rust build so slow?
...18.07s (vs 1m11s for 1.57.0) Whoa. WHOA. Yeah. It's a pretty bad regression. And it is known . Apparently Rust 1.58 should improve the situation. Does that mean...
Read more
Truly headless draw.io exports
...1 amos amos 65K Nov 17 11:35 /tmp/elf-file-header.svg Whoa, that's much larger than draw.io's original svg output! It is! But it looks great in...
Read more
Done scrolling? Go back to the homepage.