advent-of-code-ocr
Convert Advent of Code ASCII art (by bsoyka)
adventofcode
Advent of code solutions (by mathsaey)
advent-of-code-ocr | adventofcode | |
---|---|---|
4 | 55 | |
12 | 20 | |
- | - | |
10.0 | 7.8 | |
over 1 year ago | 4 months ago | |
Python | Elixir | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-ocr
Posts with mentions or reviews of advent-of-code-ocr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-09.
-
[2022 Day 10 (Part 2)] A helpful Python module (again!)
In past years, I’ve created Advent of Code OCR for Python to convert ASCII letter art from these problems into plain text you can copy and paste.
-
[2022 Day 10 (Part 2)] Today's puzzle not screenreader accessible
Python: advent-of-code-ocr module by /u/bsoyka (original post)
-
-🎄- 2022 Day 10 Solutions -🎄-
The OCR is based on the number of active pixels for each column. The letter "E" has 6 lit pixels in the first column, 3 pixels in the 2nd and 3rd column and 2 pixels in the last column. By looking at the character list (thanks bsoyka on github!) I could craft a lookup table. The four integers will be shifted and added together to get a single integer. The 6,3,3,2 is transformed to 6<<0 + 3<<2 + 3<<4 + 2<<6 = 194 (the bits overlap, I know, but there are no collisions). The index of 194 in this magic list is 4. By adding 65 (ascii value of 'A') I can get the actual character with chr().
adventofcode
Posts with mentions or reviews of adventofcode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
-❄️- 2023 Day 10 Solutions -❄️-
Part one went fairly fast, but spent quite some time on getting part two right. I settled on the approach of just iterating over the grid and using a boolean to see if I had to count elements or not. However, I had some issues figuring out when to swap, this post by /u/rogual helped me figure it out. After that I lost quite some time on an error that only occurred with my input, not with the example input. It turned out that my loop (which I take form my p1 solution) didn't include the start node, which caused all sorts of counting issues.
-
-❄️- 2023 Day 4 Solutions -❄️-
[Language: Elixir] https://github.com/mathsaey/adventofcode/blob/master/lib/2023/4.ex
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
- -🎄- 2022 Day 22 Solutions -🎄-
- -🎄- 2022 Day 21 Solutions -🎄-
- -🎄- 2022 Day 20 Solutions -🎄-
- -🎄- 2022 Day 19 Solutions -🎄-
- -🎄- 2022 Day 18 Solutions -🎄-
What are some alternatives?
When comparing advent-of-code-ocr and adventofcode you can also consider the following projects:
adventofcode - my golang solution to adventofcode
AdventOfCode2021 - Advent of code 2021
LEARN__Coding-Practices-and-Datastructures - Daily Coding Practices, Data structures, otherwise testing and some stuff. (Some garbage/some stuff)
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
advent-of-code - Solutions to Advent of Code in Elixir, Ruby
adventofcode - Answers to Advent of Code
adventofcode - Advent of Code
aoc2021 - Advent of Code 2021 - my answers
Advent-of-Code-2022 - My solutions for the 2022 Advent of Code in a mix of MATLAB and Python3
rockstar - The Rockstar programming language specification
advent-of-code-2022
roast - 🦋 Raku test suite
advent-of-code-ocr vs adventofcode
adventofcode vs AdventOfCode2021
advent-of-code-ocr vs LEARN__Coding-Practices-and-Datastructures
adventofcode vs adventofcode
advent-of-code-ocr vs advent-of-code
adventofcode vs adventofcode
advent-of-code-ocr vs adventofcode
adventofcode vs aoc2021
advent-of-code-ocr vs Advent-of-Code-2022
adventofcode vs rockstar
advent-of-code-ocr vs advent-of-code-2022
adventofcode vs roast