Parsing data packets! Episode 39, part 2, of Unhindered by Coding
Channel: Unhindered by Coding!
Date: 2022-09-30

For reasons known only to the hardware deities, my computer decided to freeze and reboot right in the middle of this stream. I've spent too long stitching the two halves of the recording together to no avail, so I'm going to post them separately, and this is the second half. Sighz.

We're using Rust to implement a client that receives a flurry of UDP packets that collectively represent the contents of several files. In last week's stream we wrote the code for parsing the header packets, and in this part of this stream we finish up the code (& tests) for parsing the data packets.

There's then a kind dull patch where I'm setting up the `main()` using an example from the Tokio docs, and then get lost because I don't remember what port number to connect to.

It gets potentially interesting again at around 42:15 where I answer a question from dio_solios_@Twitch about my coding background. If you're interested in some info on who I am and why I'm doing this, that would be a place to jump to.

I fixed up the port issue after the stream was over, and I think we're pretty close to done now. Maybe one or at most two more streams, and I think we should have the _client_ finished. I might then work on building a version of the _server_ in Rust (probably as a separate binary in this same project), but we'll see.

See https://github.com/UMM-CSci-Systems/Segmented-file-system-client for a description of the project as a course lab write-up. Our Rust implementation is at https://github.com/NicMcPhee/rust-segmented-file-client

=================

The schedule is gonna be kinda weird in the last week of September and October. In theory I'm sticking to the schedule below, but a dental appointment, a local film festival, and a trip to visit family are all upending the schedule in various ways. I'm not entirely sure what's going to happen, TBH, but I'll try to keep the schedule on Twitch (@NicMcPhee) up-to-date, and share the state of play on Twitter (@NicMcPhee) and on the Discord (https://discord.gg/ta747E5g). Sorry for the confusion.

=================

For the moment (probably through September 2022) I'm going to be streaming on Twitch (https://twitch.tv/NicMcPhee) every Saturday afternoon from 2-4pm CDT with a focus on these kinds of systems projects.

I'm also streaming on Twitch every Tuesday and Saturday from 10am-noon CDT. We're currently working on a simple web app in Rust to solve a problem that's annoying me. :) See this repo for a description of the problem: https://github.com/NicMcPhee/ice-repos

Lastly, I'm streaming on Twitch on Wednesday nights from 7-9pm CDT working on implementing an evolutionary computation system in Rust, in part to see what the performance is like.

I've also created a Discord server for Unhindered by Coding. There's an invite link QR code in the video, but that's only good for a week. If you stumble across this later and would like to join, let me know in the comments and I can share a working invite link.

Thanks for watching!