bliden's recent activity

  1. Comment on Day 10: Syntax Scoring in ~comp

    bliden
    (edited )
    Link
    Just part one so far. Did some good Rust things (using enum variants), then some weird-feeling things (extracting value from an enum variant?). This one was pretty smooth sailing compared to...

    Just part one so far. Did some good Rust things (using enum variants), then some weird-feeling things (extracting value from an enum variant?). This one was pretty smooth sailing compared to recent days' though. Part 2 coming tomorrow probably.

    I'd read about bracket validators in an introductory C++ course in January of this year, but I didn't actually get to writing one... until today! Pretty fun problem to work with.

    https://github.com/bcliden/advent-of-code-2021/blob/main/day-10-syntax-scoring/src/main.rs

    edit: Finished part 2-- (lots of chaining 🥴)

    2 votes
  2. Comment on Day 9: Smoke Basin in ~comp

    bliden
    (edited )
    Link
    I really enjoyed this one! The way part one dovetailed into part two was very satisfying. I think I ended up doing depth-first search, though I'm curious to try a breadth first approach on part 2....

    I really enjoyed this one! The way part one dovetailed into part two was very satisfying. I think I ended up doing depth-first search, though I'm curious to try a breadth first approach on part 2.

    https://github.com/bcliden/advent-of-code-2021/blob/main/day-09-smoke-basin/src/main.rs

    I've been learning Rust this year, and AoC seemed like a great way to practice. I wish I'd done it in past years!
    Would love any feedback from Rust gurus (if you're around ☺). It was very nice using Option<T> to get grid squares without obsessing over what is/isn't in bounds.

    3 votes
  3. Comment on Recommendations to learn SQL? in ~comp

    bliden
    Link
    When I'm learning new things, I really thrive on having scenarios with which to apply myself. If you're looking for something fun and thought-provoking to get you going, I really enjoyed the...

    When I'm learning new things, I really thrive on having scenarios with which to apply myself. If you're looking for something fun and thought-provoking to get you going, I really enjoyed the following:

    https://selectstarsql.com/
    This SQL introduction gets you working with a dataset of executions in the state of Texas. You learn some SQL along the way, but it's also an engaging series of questions you address.

    https://mystery.knightlab.com/
    This is a murder mystery where you're given the clues in the form of a database and use SQL to solve whodunnit. It requires the basics, I think, to get started. You can either do a step-by-step path to finding it, or take on the challenge on your own.

    4 votes