-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
👀 that's goddam nice, I was a bit too much obsessed with serde and ended up using recap that can deserialize from regex, I still end up with some FromStr boilerplate that doesn't look as nice
I used serde+recap that has a regex deserializer, but recap does not play nice with Vecs and enums so I end up with a bit of boilerplate. https://github.com/valsteen/advent_of_code_2022/blob/main/day11/part2/src/main.rs
Code is here : https://github.com/YetiBarBar/adventofcode_2022/blob/main/src/day11.rs
I normally look at Chris Biscardi and Amos (fasterthanlime). Chris' solutions typically encode a lot of information from the problem description. Amos' solutions are often unique, insightful, and fast.
I'm quite pleased with how I used parse_display for this problem. This was the first day where I used it to directly parse a multi-line block and I can say it works very well. It almost feels like cheating. Code
Here's the library author's solution.. I tried something similar but had issues (I tried binding inside the individual lines instead of binding to the results of the lines), so I solved it by parsing each monkey to a big tuple, then after I got the solution I looked at how the library author had parsed it to better see how to use the library.