News for hackers. Stuff that matters.
Re:How the Python import system works by sillysaurusx on Saturday July 24, 2021 @01:33PM (#27942845)
Not mine! That was all Scott Bell. It's forked from Lumen: https://github.com/sctb/lumen

But, I did make an interactive tutorial here: https://docs.ycombinator.lol/

If you have any questions about it, I'd be happy to answer. This stuff is pure fun mixed with a shot of professionalism.

For what it's worth, as someone with narcolepsy, I relate quite a lot to your chronic pain. (https://twitter.com/theshawwn/status/1392213804684038150) For me, it mostly translated into wandering aimlessly from job to job, since I thought no one would have me. I hope that you find your way -- there's nothing wrong at all with taking it slow and spending years on something that takes others a few months. Everyone is different, and it's all about the fun.

Re:How the Python import system works by markrages on Saturday July 24, 2021 @03:12PM (#27943642)
Does "-5e4" really evaluate to "-5000" in this language?
Re:How the Python import system works by sillysaurusx on Saturday July 24, 2021 @03:18PM (#27943685)
Hah! Good catch! That readme typo has been in there since Lumen’s inception.

It evaluates to -500000, as you’d expect.

(Just kidding, it’s -50000. Amusingly, the https://docs.ycombinator.lol version gets it right, since it has to; every expression is actually evaluated in the browser.)

Re:How the Python import system works by mh- on Saturday July 24, 2021 @02:36PM (#27943394)
Thanks for sharing this. I didn't expect to read that whole gist but I did and I'm glad I did. Happy for you.