advent-of-code-2022
personal_code
advent-of-code-2022 | personal_code | |
---|---|---|
1 | 8 | |
2 | 22 | |
- | - | |
10.0 | 9.3 | |
over 1 year ago | 9 days ago | |
Ruby | HTML | |
- | - |
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.
advent-of-code-2022
-
-🎄- 2022 Day 16 Solutions -🎄-
The code is horrible, but performance is great. The basic idea of the algorithm is to consider all the valves we can move to. We compute how long it will take to move to a valve, and we also precompute how much pressure will be released in total by this valve using the remaining time. Then, if there are paths that have an equal distance, we only have to consider the path that has the highest potential pressure release. This drastically reduces the iterations needed, hence the low runtime. Also, the distances are not precomputed, but they are cached. This is more efficient, since we don't need all paths (for example we can skip all paths that have 0 flow rate, as we will never move to them, only pass them).
personal_code
- What should we know about APFS special files?
-
Boost Your Neovim Experience with These Essential Plugins
I finally switched off plug the other day and it was actually super easy, I’d been putting it off. here’s the diff if it’s helpful at all
-
Any web developers here (front end back end full stack)?
pretty basic config, but messy - half of it is accumulated vim config from two decades.
-
[2022 Day 21 Part 3]
hah, I did the same thing so I won't bother posting it. here's my source
-
-🎄- 2022 Day 16 Solutions -🎄-
here's my part 2, which runs in 2 seconds.
-
[2022 Day 14 (Part 2)] Oʰ(N²)ᵒᵒᵒᵒ!... OH YEAH!
Pypy with a sparse dict of dicts: 176 ms (pypy)
-
[2022 Day 12 (part 1)][Python] Curses Search Visualization
source is here, I mostly wanted to learn a little curses.
-
[2021 Day 15] got me like
my dijkstra in python ran in 12 seconds; adding the heuristic to make it A* brought it down to .2 seconds.
What are some alternatives?
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
nvchad-config - My config files for NvChad
adventofcode - Solutions for problems from AdventOfCode.com
advent-of-code - advent of code
Advent-of-Code - A repository holding all of my solutions to Advent of Code problems
aoc - Advent of Code
.dotfiles - dotfiles for AwesomeWM, Neovim, and many other tools i use
adventofcode - Advent of Code challenge solutions
dotfiles - Dot my files and cross my T's
adventofcode2022
nv-ide - Neovim custom configuration, oriented for full stack developers (Ruby on Rails, ruby, php, html, css, SCSS, javascript)
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config