#Day 00

22 messages · Page 1 of 1 (latest)

north sigil

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

north sigil

didn't knew you knew haskell

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

notlikeOat

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

Cat_Sad_1

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