#Day 00

35 messages · Page 1 of 1 (latest)

north sigil
#

discuss programming languages or share any preparations/templates you have thinKappa

balmy ferry
#

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

coarse valley
#

verse bad
JavaScript/typescript decent
Rust 🔥

north sigil
exotic moon
balmy ferry
#

woah, you are using py? :o

north sigil
#

getting input from with a req is a smart one thinKappa

exotic moon
#

oooh @fresh bolt is uploading again bongoCat

fresh bolt
#

👀 yes

exotic moon
#

you did the smart thing and just made it bash scripts, i wrote a python cli playdead

fresh bolt
proper mist
#

Can't wait to dive in blindly in haskell for the advent dogeHaHa

proper mist
#

haskell's my fav lang

north sigil
#

very well

still basin
#

i was gonna chicken out of perl

#

but i’m gonna do it

dawn bison
#

my template is basically readFile, split newlines

exotic moon
#

@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?

fresh bolt
#

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

exotic moon
#

are all python projects just a single folder?!

#

what the heck

fresh bolt
#

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

exotic moon
#

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 kek

opal wraith