advent-of-code-ocr
jmurmel
advent-of-code-ocr | jmurmel | |
---|---|---|
4 | 9 | |
12 | 20 | |
- | - | |
10.0 | 9.8 | |
over 1 year ago | 8 days ago | |
Python | Java | |
MIT License | MIT License |
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
-
[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().
jmurmel
- Show HN: I Made a Lisp
-
format vs. formatter - using and implementing
See also format.lisp for what I have so far. This will also run with sbcl and/ or abcl. If you've made it this far I'd also appreciate feedback on whether my chosen subset (see the comment at the top of the file) of Common-Lisp's format is somewhat useful and/ or which features you would miss the most.
-
Murmel 1.4.1
JMurmel also has commandline flags to turn off language features for experimentation purposes, see e.g. implementing cons, car and cdr in Lambda Calculus.
-
Java OSS with the WORST code quality you’ve ever seen?
To my defense, I have started my Lisp compiler/ interpreter mostly for recreational purposes to do the exact opposite of what the checkstyle nazis at my $job demand.
-
-🎄- 2022 Day 10 Solutions -🎄-
Murmel:
-
-🎄- 2022 Day 1 Solutions -🎄-
I may be a little late to the party but here's my Murmel solution:
-
I made a Lisp
Code is on Github, the latest release with a precompiled jar is at Release V 1.3.
-
Would welcome feedback on Murmel 1.0
Re: automated tests; there are JUnit tests in https://github.com/mayerrobert/jmurmel/tree/master/lambda/src/test/java, and the files in https://github.com/mayerrobert/jmurmel/tree/master/lambda/src/test/lisp are run automatically, too, and their output and result is checked. Maybe I should add a file HACKING.md or something that gives an intro of the project structure and build system?
What are some alternatives?
adventofcode - my golang solution to adventofcode
aviatorscript - A high performance scripting language hosted on the JVM.
LEARN__Coding-Practices-and-Datastructures - Daily Coding Practices, Data structures, otherwise testing and some stuff. (Some garbage/some stuff)
OpenJ9 - Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
advent-of-code - Solutions to Advent of Code in Elixir, Ruby
interpreter - A simple intepreter written in java.
adventofcode - Advent of Code
jisp - Small Lisp expression interpreter made in Java
Advent-of-Code-2022 - My solutions for the 2022 Advent of Code in a mix of MATLAB and Python3
sof-language - The Stack with Objects and Functions Programming Language, a pure stack-based reverse-polish-notation functional and object-oriented experimental programming language.
advent-of-code-2022
chapel - a Productive Parallel Programming Language