Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Apr 2, 2019 14:40
s/lock/sock
Apr 2, 2019 13:59
Tim Urban has already made me want to buy a tortoise
Apr 2, 2019 13:58
the illustrious 2 WPM benchmark
Apr 2, 2019 13:53
cbg
Oct 2, 2018 13:46
cbg folks
Sep 5, 2018 15:22
cabbage
Sep 4, 2018 16:57
cbg
Aug 10, 2018 18:18
Would be nice to have a "It's just wrong" answer review queue that could be audited by users with a certain level badge on tags in the question
Aug 10, 2018 18:15
cabbage
Aug 10, 2018 18:09
If that answer were syntactically correct I imagine it would be exact enough
Aug 10, 2018 17:46
su-dough or su-doo?
Aug 10, 2018 17:43
sudo -S might be useful?
Aug 10, 2018 17:39
sounds phishy
Aug 10, 2018 15:16
Dnago, most popular web framework for phyton
Aug 10, 2018 14:42
and on the other end of the spectrum is Eucla, Australia, sitting at GMT+8:45
Aug 10, 2018 14:40
though i guess it wouldn't make a difference in our lifetime but someone eventually would have fun with that
Aug 10, 2018 14:40
That would make a day 8760 hours long, I could get so much done in a week
Aug 10, 2018 14:39
friday cabbage
Aug 9, 2018 22:27
rbrb
Aug 9, 2018 19:40
is asking "Why do this?" as a way of suggesting "Don't do this" unfriendly? at the very worst it's asking someone to think about justifications, even if it's implied that there are none
Aug 9, 2018 19:38
I thought more the latter
Aug 9, 2018 19:36
(couldn't not take that opportunity, I don't think it was particularly unfriendly though)
Aug 9, 2018 19:35
why ask a rhetorical question?
Aug 9, 2018 18:42
and obviously I can't use a golf solution in production, but it seemed like an easy problem with an annoyingly lengthy solution
Aug 9, 2018 18:41
@vaultah I'm getting objects with the same name but different UIDs back from an API, and I need to display them in a list and be able to tell the difference between them -- there's only ever like 3 of the same name
Aug 9, 2018 18:36
@vaultah I'm moving the hole, you can expect no more than 9 of the same string
Aug 9, 2018 18:08
@DSM nice
Aug 9, 2018 17:58
But the answer to "Is there a stylistic reason to use one over the other" is just "no"
Aug 9, 2018 17:49
let's golf: given a list of strings, sort them and add distinguishing (increasing, starting at 1) numbers to any duplicates -- e.g. ['b','c','d','f','b','f'] -> ['b1','b2','c','d','f1','f2']
Aug 9, 2018 16:22
There's so much new stuff now that it might be worthwhile to just start over
Aug 9, 2018 16:17
Rocket league is my go-to recommendation for anyone looking to waste time being bad at something
Aug 9, 2018 16:16
I'd spend time on an MC server
Aug 9, 2018 14:59
cabbage
Aug 8, 2018 20:31
or make it a static method?
Aug 8, 2018 15:27
the alt key options on OSX include  but not a lamda, thanks
Aug 8, 2018 15:15
add an exec that expects a pyth string
Aug 8, 2018 14:38
Yeah I saw, just adding my voice to the choir :p
Aug 8, 2018 14:30
@ReblochonMasque your avatar isn't loading for me
Aug 8, 2018 14:30
cbg
Aug 7, 2018 22:00
I bequeath to the asker half of my quatloo balance for making the millionth question worthwhile
Aug 7, 2018 21:55
hah, so the millionth question didn't get a close vote after all
Aug 7, 2018 20:53
idk exactly how to solve your problem but here's something that might be of interest to you -- github.com/rudimeier/pylucene
Aug 7, 2018 19:41
just shifty enough
Aug 7, 2018 18:05
"be mad, this is what you asked for"
Aug 7, 2018 18:05
malicious compliance is the best kind of malicious and the best kind of compliance
3
Aug 7, 2018 16:32
....isn't that the point?
Aug 7, 2018 15:46
there's enough space in nevada to dump a lot of things without too many people noticing
Aug 7, 2018 15:45
this week I learned that there's a place called Sand Mountain in Nevada that is just a 600-foot-tall pile of sand, and there's a species of butterfly that lives only there
Aug 7, 2018 15:23
wind power would be good if those big windmills didn't slow down the wind and heat things up