Giter VIP home page Giter VIP logo

liquidfun / adventofcode Goto Github PK

View Code? Open in Web Editor NEW
44.0 3.0 7.0 2.22 MB

AoC solutions and visualizations for the years 2021 (Julia), 2022 (Kotlin), 2023 (Python)

License: Apache License 2.0

APL 0.15% Python 27.86% Julia 22.59% Shell 0.97% C++ 1.51% Kotlin 31.11% Rust 15.82%
advent-of-code advent-of-code-2021 advent-of-code-2021-julia advent-of-code-2022 advent-of-code-2022-kotlin aoc-2022-in-kotlin advent-of-code-2023 advent-of-code-2023-python

adventofcode's Introduction

Some of the Projects I Have Worked on

Fancy Stats

adventofcode's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

adventofcode's Issues

Tile (wrongly) showing markdown as language

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.

AssertionError: Found no leaderboard?!

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!

Generating tiles fails on part 1 being solved and part 2 not being solved

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.

Wrong tile generated

Screenshot 2022-12-05 at 20 29 26
This is how my tile looks after solving day 5 of aoc. Day 1-4 generated correctly, but day 5 somehow didn't. On the aoc website I got 2 stars as seen in the screenshot below. Let me know if I'm doing something wrong.
Screenshot 2022-12-05 at 20 32 38

Creating tiles for manual upload/insertion into a README.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.