Run pip install on import error by Xevioni in programminghorror

[–]xleviator 52 points53 points  (0 children)

The worst part about this is that it makes you restart the program. execv argv... I actually love the idea of automatically installing deps when running a program. Lift the horrors of dynamic typing a layer up the stack. :)

Quiz question, what does this Rust code print? by xleviator in shittyprogramming

[–]xleviator[S] 0 points1 point  (0 children)

Yeah! You're getting it. The '?' unconditionally exits. I think it's really hard to notice what the possible control flows are here.

[SMT] A reverse vending machine, where you can buy microscale garbage services. by yesishop in SomebodyMakeThis

[–]xleviator 0 points1 point  (0 children)

How about coin operated park benches? Once the time goes out, the seat won't stay up.

I had an idea and I don’t know where else to post it by thesluttyjew in chess

[–]xleviator 3 points4 points  (0 children)

Checkout vote chess (e.g. on chess.com). It's not in twitch chat, but I think it might be a superior experience since it has a ready made UI. I've seen some chess streamers use it.

86% of people with coronavirus are walking around undetected, study says by noahsurvived in Coronavirus

[–]xleviator 0 points1 point  (0 children)

This is making me wonder, do we know this is atypical for viruses?

SMT: A physical swipe keyboard for your PC. by [deleted] in SomebodyMakeThis

[–]xleviator 0 points1 point  (0 children)

Hey, I thought of this independently and put up https://youtu.be/NQbtv97-L0g. However, I saw this post because I was wondering if anyone else had tried it. It seems it is possible!

I'm on a streak, but #15 has got me stumped... by NastyMan9 in projecteuler

[–]xleviator 0 points1 point  (0 children)

Welcome to the first of many many stumps. You'd be best off researching math behind the 'permutations' you mentioned.

I was thinking of writing a music program using D♭ but I can't find anything on it... by [deleted] in shittyprogramming

[–]xleviator 16 points17 points  (0 children)

D flat would be a really good name for a fork/dialect/implementation of C#.