#Day 00
35 messages · Page 1 of 1 (latest)
I yet have to learn rust for this
I dont have a template and no preparations.
But I will put it all on github tho, will see how
verse bad
JavaScript/typescript decent
Rust 🔥
my template for ruby: https://github.com/megatank58/adventofcode2023
updated my cli ranges
https://github.com/almostSouji/advent/blob/main/aoc.py
woah, you are using py? :o
getting input from with a req is a smart one 
oooh @fresh bolt is uploading again 
👀 yes
I don't use a template but I do have a simple input utility on my repo (https://github.com/hyper-neutrino/advent-of-code) if anyone wants to take a look
I did upload my bash aliases though that save me a decent amount of time each time (https://github.com/hyper-neutrino/advent-of-code/blob/main/scripts.sh)
you did the smart thing and just made it bash scripts, i wrote a python cli 

Can't wait to dive in blindly in haskell for the advent 
didn't knew you knew haskell
haskell's my fav lang
very well
my template is basically readFile, split newlines
@fresh bolt question. i have seen that you have a prefix and solver py in your repo - presumably those are available within the solutions? now, i have this debug prefix that lets me pipe pretty prints into stderror for easy debugging
there just has to be a nicer solution than symlinking the prefix everywhere, right?
but from what i have gathered, py cannot import functions from a parent folder? am i just that pampered from js/ts?
actually I don't use it lol
I think I used it two years ago?
and I didn't import it
my utility script just joined the files together into an output file and ran it
you can import from parent folders I think
you just need to do something with the path or whatever
you can definitely import from subdirectories though
in js i'd just stuff the functions in /src/utils/.... and import it from src/2023/xx

doesn't matter for this one small fct, i just expected it to be less of an issue than it seems to be 
https://docs.python.org/3/reference/import.html#packages you‘d just define your files to be within a namespace and then import accordingly
