Second part of our live-coding quest to implement a user-land TCP stack in @rustlang is now up at https://www.youtube.com/watch?v=OCpt1I0MWXE! This time we focused on the crate's external interface, and in particular how we could get as close as possible to std::net::Tcp* and std::io::Read/Write. This will sadly be the last stream until early May due to a major upcoming deadline, but there should be enough recordings up at https://www.youtube.com/c/JonGjengset by now that there's plenty of material to keep you busy ^_^
Oh, and you should probably watch part 1 (https://www.youtube.com/watch?v=bzja9fQWzdA) before you watch this one as I won't be covering the basics again. The plan is still to roughly follow https://tools.ietf.org/html/rfc7414 with the ultimate goal of being able to interact with real internet hosts!
I started getting requests for the next "Implementing TCP in #rustlang" immediately after I posted the first one, so no time to waste! Let's do part 2/n this Saturday at 4pm UTC (noon EST) — https://everytimezone.com/s/a539fecc. Come fiddle with one of the Internet's core protocols with me :D
As always, the stream will be live at https://twitch.tv/jonfrg and https://www.youtube.com/c/JonGjengset/live. Do not fret if you miss the live stream though — part 2 will be uploaded to YouTube like all my past streams :)
The first part of our @rustlang TCP implementation journey is now up at https://www.youtube.com/watch?v=bzja9fQWzdA. Definitely some way left to go, but we got to the point where we can perform a TCP handshake with a "normal" client and then shut down the connection cleanly :D Stay tuned for more!
The implementation will be entirely user-level, and will (likely) use https://github.com/libpnet/libpnet to do the low-level network interaction. To write the implementation, we'll follow https://tools.ietf.org/html/rfc7414 , with the ultimate goal of being able to interact with real internet hosts!
New blog post! Remote code execution in apt/apt-get https://justi.cz/security/2019/01/22/apt-rce.html
Back in November I gave a talk at Two Sigma on #rustlang and Noria, the research database prototype I've been building at MIT over the past three years. I just got permission to share the recording of it, so if you're interested it's now up at https://www.youtube.com/watch?v=s19G6n0UjsM 🎉 You can find the slides at https://jon.thesquareplanet.com/slides/rust-twosigma/, the prototype and link to the paper at https://pdos.csail.mit.edu/noria , and the conference publication and presentation at https://www.usenix.org/conference/osdi18/presentation/gjengset!
Control Keys: http://exple.tive.org/blarg/2018/12/16/control-keys/
As planned, I wrote up a website for voting on upcoming stream ideas using ranked-choice voting yesterday! You can now vote for what you'd be more interested in seeing on https://jon.thesquareplanet.com/live-coding/. The stream recording is at https://www.youtube.com/watch?v=8LSNN-Y9Ftg, and you can see the source @ https://github.com/jonhoo/vote.rs.
This stream should also be accessible to less experienced Rustaceans! I'll cover the Future trait, combinators, how futures are executed, the Tokio runtime model (incl. the tokio thread pool), and how tokio provides asynchronous I/O. If we have time, I'll also try to dig into the adoption of futures into std + Pin/Unpin for async/await.
Time for another live-stream! This time I thought I'd tackle #rustlang futures/tokio directly. I'll explain what futures are, how they work, and how tokio executes them. Maybe even async/await + pin! Noon EST this Saturday on https://www.youtube.com/c/JonGjengset/live and http://twitch.tv/jonfrg. For those of you in other timezones, this is the time: https://everytimezone.com/#2018-11-17,300. This will be more of a talking stream than a programming stream, though we'll likely also read some code and write some just for exposition.
(Regarding the single-column thing, you might enjoy Pinafore's UI! We have an instance running at https://light.mastodon.at/, or you can use the one hosted by the creator at https://pinafore.social/).
I'll be in NYC this weekend! Ping me if you want to chat about #rustlang, computer science, live-streams, or open-source stuff! Or pretty much anything else for that matter :p
I wish Mastodon didn't look so cramped on my vertical monitor :'( I really want just one column with all toots, and then a separate page for notifications, similar to Twitter or GitHub. Filed https://github.com/tootsuite/mastodon/issues/9221 and we'll see where that might take us...
mastodon.at is a microblogging site that federates with most instances on the Fediverse. Note: This instance will shut down on February 29th, 2020.