rustacean

Created by Dustin Knopoff, Software Developer at Yelp
133 People have this badge

What everyone's up to

Published a YouTube video
Used Rust
Live Streamed on Twitch
+ 1
Streamed another adventure of Solving Advent of Code in Rust

https://youtu.be/7YkD9Y7jZvg

In this episode, we completed Advent of Code y2020 ex22!

In this exercise we needed to simulate a simple game of cards with 2 players and calculate a value based on the final deck of the winning player.

Part 2 got more complicated by introducing some new rules that made the game recursive!

Our solution, although correct, seems quite slow, to the point that we initially thought we had an infinite loop. So there's definitely room for optimisation (probably reducing a few clones and figuring out a smarter way to keep track of the history).

If you have any suggestion, we'd love to hear it, so please leave a comment or a create a PR!

For all the source code check out the official GitHub repo: https://github.com/lmammino/rust-advent

For seeing the next episodes live check out our Twitch channel: https://twitch.tv/loige
Followed an online course
Used Rust
Used React.js
Web3 project
+ 2
Used Rust
Wrote a sample program in Rust to generate and solve sudoku puzzles.

Understanding the type system, references, and ownership model in Rust to manage the application's state. Reading from and writing to the filesystem to allow persistence between application executions.

The book Rust in Action by Tim McNamara has been a helpful resource in learning Rust.
Used Kubernetes
Used Helm
Used Rust
+ 1
Made some time this week to do a bit more with Helm and Kubernetes. Using GitHub Actions I now have a small Rust API that is tested, built and deployed to k8s automatically on each commit. It was fairly easy to achieve as the service is 100% stateless, however the result is pretty nice. The next challenge will be to tackle something more complex with shared state.
Live Streamed on Twitch
Used Rust
Published a YouTube video
+ 1
Streamed another episode of "Advent of Code in Rust" live on Twitch

https://youtu.be/_1RKdmyH7gY


Advent of code in Rust - solving year 2020 exercise 22 part 1 (Twitch Live 2021-11-15)


In this episode, we started Advent of Code y2020 ex22 and we managed to complete part 1 (and reason a bit on how to implement part 2)!

This exercise wasn't particularly complicated and we basically needed to simulate a simple game of cards with 2 players and calculate a value based on the final deck of the winning player.

Part 2 will be much more complicated as we will need to make the game recursive!

In this episode, thanks to a few comments in the chat (thanks @tallevo!) we learned tha in rust it is possible to capture values from loops, which helped to make our code nicer.

We also took the time to implement the parsing of the decks using the FromStr trait (https://doc.rust-lang.org/std/str/tra...).

For all the source code check out the official GitHub repo: https://github.com/lmammino/rust-advent

For seeing the next episodes live check out our Twitch channel: https://twitch.tv/loige SHOW LESS
Live Streamed on Twitch
Published a YouTube video
Used Rust
+ 1
Streamed another episode of Advent of code in Rust on Twitch!

https://www.youtube.com/watch?v=CgplJTKXiY0


Advent of code in Rust - solving year 2020 exercise 21


In this episode, we started and completed Advent of Code y2020 ex21!

This was relatively easy compared to the previous exercise!

In this episode we had to identify ingredients with allergens from a list of ingredients in a foreign language.

Our solution was heavily based on hashmaps and hashsets. We also got to use a lot of iterators combinator functions and custom sorting!

Maybe this one was really easy but it felt like we are getting better (and faster) at Rust! Hooray!

For all the source code check out the official GitHub repo: https://github.com/lmammino/rust-advent

For seeing the next episodes live check out our Twitch channel: https://twitch.tv/loige
Loading...