AoC-2022
adventofcode
AoC-2022 | adventofcode | |
---|---|---|
8 | 718 | |
0 | 66 | |
- | - | |
10.0 | 7.7 | |
almost 2 years ago | 4 days ago | |
MAXScript | Scala | |
The Unlicense | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AoC-2022
-
Advent of Code (in MiniScript), Day 25
The challenge did inspire some ideas for new libraries and library functions. Over the course of the month, I created an aoc module with a variety of general utility functions that may make their way into the standard Mini Micro library; as well as a search module, which will probably end up as its own repo.
-
Advent of Code Day 18 Follow-Up
I've now created such a library, and redid last night's challenge using it.
-
Advent of Code (in MiniScript), Day 16
I'm using the list.combinations method (in my AoC module) to find all the different ways we can form setA (my valves) by taking n of the goodValves. Then, we find setB (the elephant's set) by simply removing each of mine from a copy of the full set.
-
Advent of Code (in MiniScript), Day 9
Oh, but I promised some pretty graphics, didn't I? Since I'm doing all this in Mini Micro, those are easy to add (you can see the code here). The GIF at the top of this post shows the movement of the rope for the Part B example. And here's the start of its motion for my real input file... though the full input makes it wander much longer, and much further from the origin. Enjoy!
-
Advent of Code (in MiniScript), Day 8
Once again, my starter program did me no good; nor did I need any of the stuff I've been gathering in my custom aoc module, or even the standard /sys/lib modules. The solution was plain, unadorned MiniScript. ❤️
-
Advent of Code (in MiniScript), Day 6
By this point I have a starter program which reads an input file line by line, has a place to calculate a result for each line, and then does some kind of summary of the results. I didn't need all that for this program, so I cut some stuff out, and (under time pressure) ignored other bits. But with a little more cleaning up, my solution boils down to this:
-
Advent of Code (in MiniScript), Day 5
Given the libraries I had, I don't see how. However, I may add some new tricks to my aoc module. Maybe I should have a "select" method that grabs a subset of a sequence (string or list) given a list of indexes. I could use this on each line to convert the raw input, like [Z] [M] [P], into just the letters, like ZMP (by doing line = line.select(range(1, line.len, 4))). Then I'd have a list of strings like:
-
Advent of Code (in MiniScript), Day 4
If you want to join me, please do! I'm posting all the code on GitHub, including my little lib/aoc module. I encourage you to join us on Discord too, where we can strategize and commiserate. See you there!
adventofcode
-
-❄️- 2023 Day 6 Solutions -❄️-
On GitHub.
-
-🎄- 2022 Day 21 Solutions -🎄-
My Scala solution – to be cleaned up.
-
Advent of Code (in MiniScript), Day 18
Welcome back to my series of Advent of Code solutions in MiniScript! Day 18 was pretty straightforward, though it presents some interesting choices in how to represent the data -- choices I'm not sure I made optimally.
-
-🎄- 2022 Day 18 Solutions -🎄-
My Scala solution.
-
Late bloomers (that started life closer to 30), how are things going for you?
And I've solved all of the Advent of Code problems so far this year, which is utterly unimportant but still brings me joy.
-
Coding/programming is absolutely fantastic
If you'd enjoy some coding challenges, advent of code (https://adventofcode.com/) is currently going on.
-
Advent of Code (in MiniScript), Day 17
Welcome back to my series of Advent of Code solutions in MiniScript! In Day 17 we got to (sort of) play Tetris. Five different Tetris-like shapes fall into a pit, moved left or right on each step according to the input. The first task is to see how high this stack will grow after 2022 blocks have been dropped in.
- Can someone give me a good idea for C# console app I could make?
- The Empty List
-
Advent of Code (in MiniScript), Day 16
Welcome back to my series of Advent of Code solutions in MiniScript! Day 16 was... how to put this?
What are some alternatives?
minimicro-sysdisk - Contents of the /sys disk for the Mini Micro virtual computer
codewars.com - Issue tracker for Codewars
advent-of-code-jq - Solving Advent of Code with jq
LeetCode - This is my LeetCode solutions for all 2000+ problems, mainly written in C++ or Python.
Advent-of-Code - Advent of Code
bitburner - Bitburner Game
mal - mal - Make a Lisp
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
adventofcode - Solutions for problems from AdventOfCode.com
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
developer-roadmap - Interactive roadmaps, guides and other educational content to help developers grow in their careers.
book - The Rust Programming Language