liquidfun / adventofcode Goto Github PK
View Code? Open in Web Editor NEWAoC solutions and visualizations for the years 2021 (Julia), 2022 (Kotlin), 2023 (Python)
License: Apache License 2.0
AoC solutions and visualizations for the years 2021 (Julia), 2022 (Kotlin), 2023 (Python)
License: Apache License 2.0
In 2021 I tried using dart to solve the puzzles for the first three days (gave up afterwards). I included a README.md for each day to write down my ideas.
The tiles created now show .md
as language used, ignoring (?) the .dart
files in bin
.
When attempting to generate tiles I'm met with this lovely AssertionError. I have meticulously scoured the README to try and find any solutions and have yet to find any, though I could easily just be missing something.
Here is the Traceback:
traceback.txt
This is also populated in the leaderboard2022.html file:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
webmaster@localhost to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
Again I'm sure that there is something simple that I'm missing, so I apologize if that the case! Anyway, any help at all would be awesome!
First of all: Thanks for the cool visualization!
Generating the tiles for my 2021 attempt at AoC bugs out with line 229, in format_time h, m, s = time.split(":") ValueError: not enough values to unpack (expected 3, got 1)
generating the 3rd tile of 2021.
I suppose this has to do with me not finishing with 2 stars and the leaderbord showing the - - -
pattern?
Can anyone reproduce this error?
I'll try to resolve the issue and create a pull request.
Hi! I was hoping you could help, I'm trying to separate out the code for year and the folder structure and all that but having trouble. Would you happen to have a version of this script which will simply scrape and generate the images for a given year based off the leaderboard, with a language we can manually specify instead of reading/trying to get it from the source code and all that? I just want to be able to generate the images and make my readme look nice and these are cute. My code/directory is not set up remotely close to how this one seems to be structured and I would appreciate some pointers on how to run this script completely standalone.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.