Search results for 'whoa'
Day 1 (Advent of Code 2020)
Read more
...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...
Day 4 (Advent of Code 2020)
Read more
...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...
In the bowels of glibc
Read more
...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...
Day 2 (Advent of Code 2020)
Read more
...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...
A simple ping library, parsing strings into IPv4 address
Read more
...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...
Between libcore and libstd
Read more
...assembly!!
That sounds cool actually, why don't we do that?
Do th- in assembly? Whoa, whoa, bear, come on, this is just banter, I'm not
about to write the whole...
Surviving Rust async interfaces
Read more
...to dependencies
Adding color-eyre v0.5.1 to dependencies
Cool bear's hot tip
Whoa, amos, cool off. Why all the dependencies?
What's the matter cool bear? Too fast for...
Working with strings in Rust
Read more
...It does show line numbers in glibc's ".c" sources, because I
installed glibc debug symbols recently, for reasons , but yeah, whoa, look
at that output. So anyway, silly me...
Consuming Ethernet frames with the nom crate
Read more
...new ) ( i )
}
}
Whoa, that's a lot of use directives. Get used to those! Let's walk through these:
Addr::parse is a parser - it takes an input and returns an IResult...
Declarative memory management
Read more
...But all good things come to an end (whoa, déjà vu anyone?), and, under new
management, Robin is asked for one last change. This change would make the
style guide checker into...
Done scrolling? Go back to the homepage.