« first day (3271 days earlier)      last day (1682 days later) » 
01:00 - 18:0018:00 - 00:00

6:04 PM
@Aran-Fey we had a similar exercize in probability 101. It made my head hurt.
Boo spelling
 
Psychological variant: you know the dealer is trying to make you lose, and he will place the winning card in whatever position he thinks you're least likely to cut to. Knowing this, where do you cut to?
 
@Aran-Fey assuming an even dristribution of cards in the deck, any card has an equal probability of being anywhere in the deck. So, it really doesn't matter how many cards you remove from the deck, as long as you leave >0 cards to look at
 
For full credit, write two answers, one assuming that the dealer thinks that you're a clueless rube, and another one where the dealer knows that you know that he knows that you know that he knows that you know he's cheating.
 
this is starting to sound like a scaled up version of the Monty Hall Problem
 
6:17 PM
or that one with the envelope of money
 
what problem is that? "envelope of money" <- "mo money mo problem"?
 
no wait, that's not it
 
It was not possible to send your invite: The user would not have access to talk in this room I knew tampering wouldn't work but I tried to invite the sub-20 user to a room I created.
 
:(
you should still try setting "explicit write access" here chat.stackoverflow.com/rooms/info/200184/skxfieq1f1?tab=access
if that goes through they might be able to talk, but it's unknown
if I had to guess it probably doesn't work, but I'm not certain it won't
 
Ah, trying to grant write access gives Users must have at least 20 reputation to talk. Thanks, Adras, we tried. =)
 
6:30 PM
thanks for the feedback, sorry about that :)
you can support Jon's cause here meta.stackoverflow.com/questions/257949/…
 
Oh wow, upvoted. This is for sure something that we should have as a tool. Seeing that this is from 2014 is a bit disheartening...
 
Somebody should tell SE management about Benford's Law of Controversy: Passion is inversely proportional to the amount of real information available.
 
indeed :(
@PM2Ring that sounds like something that breaks on anti-vaxxers and flat earthers ;)
 
PM2Ring, is that in connection with the mod being fired?
Andras, Rob actually helped me get that user in my room, so thanks again to you and Kevin!
 
@Chillie Yes.
 
6:41 PM
@Chillie awesome, that's really nice of him
 
@AndrasDeak Maybe, but they intentionally isolate themselves from the real information.
 
7:39 PM
@PM2Ring There's little difference to what's happening in the Meta room right now. I don't know if you've watched any of that today but the remaining mods in there were being constantly baited to give any info/opinion whatsoever on what is clearly a topic of opinions, only for people to roundly complain about how they don't trust their opinions on anything said. Some longer-held angst now has the perfect excuse to run amok.
 
7:59 PM
Hmm it's surprisingly hard to write a function that takes an unnecessarily over-parenthesized binary arithmetic expression string, such as ((1 * 2) + (3 * 4)), and return the least-parenthesized string with the same order of operations, such as 1 * 2 + 3 * 4
Even if I make use of ast.parse to turn the input into a nice syntax tree with easily accessible op and left and right attributes
 
i can see how the complexity adds up when one has to account for the order of operations
 
if you have the parsed tree, would you not need to simply parse it and add parens only when the operator at a higher level has a lower operator precedence than one directly below it? What am I missing?
 
nevermind
 
wim
pycharm has a "remove redundant parens" inspection, but I've just verified it's not smart enough to do that
 
I don't think it's intended for those kinds of parentheses
more like (a, b) = foo or return (1, 2) stuff
 
8:05 PM
would make sense
 
8:27 PM
How one can learn Python well enough to implement an algorithm in stackoverflow.com/questions/57952706/… ?
 
@JaakkoSeppälä practice
 
seems to me like that requires very little python skill and much, much, much more problem solving skill
 
@inspectorG4dget I try. I think I need some learning curve for problem solving.
 
cf. Carnegie Hall joke
 
^ Thank you for catching my reference :)
 
8:41 PM
more moderators are quitting. Things are getting serious 'round here
 
this is concerning. Do we know why they're quitting?
 
We only have 2 sides of what appears to be a long-running issue that built to a head. No "formal" account of what happened
 
@inspectorG4dget meta.stackexchange.com/questions/333965/… still has all the links
and yeah, there are lots of biased accounts and the only common denominator is 💩
 
*rubs eyes* am I sleep deprived or did that list grow longer since I last saw it?
 
8:49 PM
yupp
 
time to move to Quora, folks
 
oh yeah, we should definitely move over to the pile of tyres that have been burning for years :D
 
Hey All, please bear with me because I'm new to python. I unzipped python-3.7.4-embed-amd64.zip on my Windows 10 Pro computer , I was trying to setup a venv environment.
I ran C:\python3p7p4>python -m venv C:\CodeStadium\PythonStadium , and I got C:\python3p7p4\python.exe: No module named venv
 
Is that "embed" supposed to be there in the file name?
hello
 
Could someone please tell me why I get the "python.exe: No module named venv" error?
, and how I can go about resolving said error?
 
8:54 PM
Try installing a python version that doesn't have "embed" in the name
 
first of all, you probably don't want embeddable python (hence the "embed" in your filename). This is what you want
Next, you'll want to install pip and then pip install virtualenv
 
Does pip still not come with the standalone installer?
 
All, Thanks for willing to help. Correct me if I'm wrong, but is embed for REAL time embedded systems like microchips boards with memory chips? Is that correct? Just out of curiosity?
 
@roganjosh IIRC, no. But all that changes with Conda/PyCharm/pyenv/...
 
@crazyTech Doesn't where you found the zip explain something about that?
Honest question, I've never downloaded exes in zips
 
8:58 PM
Time to start a discord channel and get in line with the future
 
@inspectorG4dget That's why I didn't know... I just go straight to Anaconda but that's because I need all my installations to have numpy/pandas so I never saw the need to see what the latest Python versions come with :)
 
let a party have our data :D
 
@roganjosh I switched to pyenv in around 2014. So it's hard for me to "remember a time when...". I do remember having to install pip separately back in 2.x, but that leaves a lot of undocumented time when I can't remember what I used to do
 
9:20 PM
Has a shooting star burst its way through Room 6 slightly above? :P
 
@Aran-Fey Quora jumped the shark a long time ago and also has insane moderation. Medium might be slightly less bad, but yes we know it's paywalled, and overrun with clickbait list-type articles, although those are ignoreable. Anyone know any better coding-oriented sites with community voting and collective editing, and as a bonus have decent 'discoverability' via Google? (on a related note, whither Joel Spolsky?)
...also, Quora is dominated by a toxic group of professional victims and sapiosexual/clickbait posters. And the 'at-scale' automated moderation results in bizarre bannings on a daily basis. It used to be great for interest-based and stranger discovery circa 2011-2013, but no more. So, forget Quora. Anyone got a better suggestions?
 
9:47 PM
@AndrasDeak that video on reddit that Bhargav dug out might not be the one being suggested, but that man's laugh is infectious enough to have me laughing along with him about the whole saga. Much needed levity :)
 
it's quite creepy :D
 
I've watched it 3 times and I'm still laughing along with him :P
 
can I just, like, vent here for a hot minute
 
depends
if it's about python, yes
if it's about general angst regarding the world growing up in flames, rather not
 
10:03 PM
what if I rant about general world-boom-boom and include python quips inside?
 
I'm sure everyone here has angst enough for weeks to come
 
then how about some nice angst, but with a spin so the enemy is python references
sounds like a nice on-topic alternative to me :)
 
shoot
 
a lovely community of developers was going on their merry way one day when the dreaded global varialbes came and messed up the community
they were backed by the evil demons of unnecessary whitespace and mixing tabs/spaces
the community decided their beloved readability must be saved from these evils
they fought and fought, and it was called "the pull request war"
eventually the community succeeded by replacing all inferior technology with python 3
and the world lived happily ever after
thanks for listening to my lovely ted talk
 
£1000 well spent
 
10:11 PM
Oh I thought literally "python references", like list of lists being inadvertently mutated. Guess it's been a long day...
 
It's a TED talk; don't you feel rejuvenated, though?
 
wim
As a programmer was walking out of door for work, his wife said “while you're out, buy some milk". He never came home.
 
I've heard that one. Too bad it's recycled :( Let me find the original one...
 
Something something, 12 eggs
 
wim
10:25 PM
I'd also heard the eggs one but for some reason I find the idea of the programmer stuck in an infinite milk-buying loop to be more pleasing
 
and I think I find the egg one more high-brow
 
 
1 hour later…
11:53 PM
Here is a fun puzzle thing if you wanna wrap your head around python oddities.

The Goal is to understand why these 2 commands output the same data, given the initial variable's name is different.
>>> x = list(range(5)); [[_ for _ in [_ for _ in _] ]*len([_ for _ in _]) for x in _]
[[0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4], [0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4], [0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4], [0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4], [0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4]]
>>> _ = list(range(5)); [[_ for _ in [_ for _ in _] ]*len([_ for _ in _]) for x in _]
 
01:00 - 18:0018:00 - 00:00

« first day (3271 days earlier)      last day (1682 days later) »