An open API service indexing awesome lists of open source software.

https://github.com/pythoninthegrass/aoc

Advent of Code
https://github.com/pythoninthegrass/aoc

Last synced: 7 months ago
JSON representation

Advent of Code

Awesome Lists containing this project

README

          

# Advent of Code Entries

Here a few entries to the Advent of Code challenge, which is a coding challenge advent calendar created by Eric Wastl.

[Semi-private leaderboard](https://adventofcode.com/2021/leaderboard/private/view/1755756) via code `1755756-b2d0233e`; security through obscurity or something like that.

For more info: [Advent of Code site](http://adventofcode.com/).

## Usage
* Poetry
* TODO
* Docker
```bash
# move to repo directory
cd aoc

# build image w/Dockerfile
docker build -t runner .

# run default bash entrypoint
docker run -it --rm -v $(pwd):/home/appuser/app runner

# run a script w/in container
cd 01_sonar_sweep
python sonar_sweep.py

# stop container
exit
```

## Debugging
* Raise cap of List Index Limit Max from 300 via
```bash
# ~/.vscode/extensions/ms-python.python-*/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py
MAX_ITEMS_TO_HANDLE = 1000
```
[Visual Studio Code - Python - List Index Limit Max 300 - Debugger - Stack Overflow](https://stackoverflow.com/questions/56324745/visual-studio-code-python-list-index-limit-max-300-debugger)

## TODO
* Poetry usage
* ~~Dockerfile~~
* Replace csv w/[feather](https://towardsdatascience.com/stop-using-csvs-for-storage-this-file-format-is-150-times-faster-158bd322074e)
* Keep going