https://github.com/pythoninthegrass/aoc
Advent of Code
https://github.com/pythoninthegrass/aoc
Last synced: 7 months ago
JSON representation
Advent of Code
- Host: GitHub
- URL: https://github.com/pythoninthegrass/aoc
- Owner: pythoninthegrass
- Created: 2021-12-03T18:03:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-07T23:07:13.000Z (12 months ago)
- Last Synced: 2025-06-04T15:38:17.392Z (8 months ago)
- Language: Python
- Size: 1.18 MB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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