« first day (2909 days earlier)      last day (2042 days later) » 
00:00 - 19:0019:00 - 00:00

wim
7:00 PM
@AnttiHaapala name-sitting on PyPI is kinda considered poor etiquette.
 
What is the easiest way for you, to easily run multiple python versions on your computer ?
I read a lot of options, and I can't decide.
VirtualEnv... installing every python with the PATH env auto set by the installer... using something called PyInstaller...
 
@IMCoins virtualenv is more about packaging an app and its requirements
 
@IMCoins I use pyenv to do multi-version testing manually. I hear tox is good for automating this kind of testing, but have not taken that step yet. Also happy that TravisCI automagically runs all these tests for me when I push to GitHub.
 
Hmm
 
7:15 PM
I didn't know about Travis. It seems really great for CI :)
 
I never really downvote , but that phone alert today was super suspicious 🤔
 
you should
voting is the primary quality control measure on Stack Overflow, downvoting included
 
Only far off answers where they completely missed
But I know i need to downvote more
 
especially questions
 
@AndrasDeak Do you imagine that a low quality question or answer would be confused with a high quality question or answer if there were no downvotes?
 
7:20 PM
it's more about removing crap from the front page and google hits
 
@W.Dodge No idea of the context but, absolutely yes
 
also that
 
people confusing garbage with pearls is quite a common occurrence, actually
 
The SQL Injection problem is out of control on SO and answers are undoubtedly being used that expose people to it, then they go on to answer other questions to spread the disease
 
So a user might see a question that simply has a zero and then think that it was a good question? Or an asker might think he/she has asked a good question because it stands with a vote count of zero?
 
7:23 PM
@Aran-Fey for what it's worth often votes won't help with that either
 
There are plenty of people who just don't care. If an answer "solves" their immediate problem, they'll use it
Gonna give a personal example that jumped to mind
stackoverflow.com/questions/52552864/… I was the only one that actually gave a numpy answer, OP selected the last and least efficient answer. I'm not posting as a gripe I wasn't accepted but, rather, that people make (IMO) poor decisions based on what they understand
In other words, the upvotes on the answers were on the table before the accepted answer was posted; OP still went with an illogical approach.
 
To a certain degree, those kinds of things are to be expected - it's only natural that the OP who had to ask a question doesn't have as much domain knowledge as the people who post answers, so you can't really expect them to make sound decisions.
 
Dunning--Kruger effect in action
 
So it's not unreasonable to extend that to people landing on questions and answers and not being able to make a judgement call on its quality, regardless of votes
 
@roganjosh So you are saying that had there been some downvoting, OP would have made the correct selection in your example?
 
7:38 PM
Downvoting helps remove crap
 
It might actually be a good idea to get rid of the concept of an accepted answer. Giving the OP the power to pin a certain answer to the top is... quite questionable. Rather than accepting a certain answer, we should probably just mark the question as solved.
 
People don't like it, so if their answer ends on -1 They will possibly just remove it
 
It dawned on me yesterday that one might be able make a case to get rid of down voting altogether. I am testing this idea out and expect that someone will show me exactly why that wont work
 
Heh, that might actually be a good idea. Then the community would be more likely to clean up useless excess answers, instead of voting 2-3 good answers to the top and ignoring the other 14
 
That doesn't sound like it would have that effect at all.
 
7:44 PM
You think people would just continue to ignore the junk?
 
I don't see why they would scroll down far enough to see it.
 
I was thinking when a user with rep>21K doesn't show up on SO for a year or so, how likely is it that they've passed away? it was a sad thought
 
Far more likely they got bored IMO
A constant stream of nonsense and a company geared towards allowing it
 
@user2357112 'Cause they wouldn't have to scroll down! If you can't sort answers by votes, they'd be sorted randomly! The junk would get right in your face!
 
@Aran-Fey in your face maybe. I don't even know how you find the examples you do :P
For the 50000 other people that read the question or answer, they probably won't be of your mindset
 
7:55 PM
Well. That is disappoint.
 
Honestly, I've built quite a collection of hard-to-find but useful questions over the years
 
Lektor is supposed to be useful for non-developers, but unless you have a Mac or Linux, it's... not very non-developer friendly >_<
 
8:07 PM
@Aran-Fey: Where did the part about not being able to sort by votes come in? I see a suggestion about removing downvotes and a suggestion about removing accepted answers, but nothing about removing upvotes or sort-by-votes.
 
wim
I think the voting system works pretty good
the two things I would change: 1. make downvote penalty same magnitude as upvote gain (-5 on Q, -10 on answer) 2. make all users voting info public, not anonymous
 
@NasrinShirali perhaps you're just bad at stalking :P
 
@user2357112 Whoops, you're right. My mistake. Wasn't paying enough attention to the conversation
 
wim
both my suggestions would likely be unpopular, so I didn't bother to write on meta about it
 
I'd support 1. but ...
aah but yea...
if downvotes are public then revenge downvotes are public too :d
 
wim
8:13 PM
meh, I get "false positive" revenge downvotes a lot, so it would avoid that at least
i.e. I've commented that something is wrong, user assumes I downvoted them when actually it was some other member, goes and randomly downvotes some recent things I posted
NBD because there are controls in place to limit these guys
 
Yeah, I do that all the time. Downvote something you criticize and watch you get burnt
(no, not really :D)
 
wim
LOL
have you seen the recent tintin memes?
 
8:29 PM
 
nope
lol :D
 
That's probably not what he meant, but still
 
rbrb
 
wim
heh. no, I can't find it now, but someone is throwing a barrel or something at the back of tintin, instead its hits in the face other random other guy who was opening the door.
putin memes are legit though.
 
wim
8:38 PM
@vaultah yah. TIL your dupe-finding skillz extend to fresh meme finding skillz.
 
@wim he should be putting that dish into some container
 
@AnttiHaapala lol, no I stalked @MartijnPieters once. I’m a good stalker, but I was more in a philosophical mood! today, thinking if I come here daily and then suddenly disappear, would anyone notice? And then I thought maybe something has happened to them and no one knows :-(
You don’t get 71K rep and suddenly disappear, or... do you... eh, don’t know
 
I have a dictionary with keys-tuples, like: {(1,2):"a", (3,9):"b", (5,1):"c", (1,4):"d", (5,5):"e"}. Is there a way to split my dictionary for dimensions into a list of list, tuples of tuples, tuples of dict, etc? Example above should be: {(1,2):"a", (3,9):"b", (5,1):"c", (1,4):"d", (5,5):"e"} {1: {2:"a", 4:"d"}, 3: {9:"b"}, 5: {5:"e"}}. Because I am making that for me I can modify the structure as you want, but the initial object must be like "key and value pairs" when keys have 2 items.
 
you could use a defaultdict
from collections import defaultdict
outdct = defaultdict(dict)
for (k1,k2),val in indct.items():
    outdct[k1][k2] = val
something like that ^
 
Ah, I think I am understanding what you are doing. I haven't thought on that. Thanks, I'll try!
 
8:52 PM
no problem
 
Why is it so hard to find a plain white T-shirt that is 1) not Kanye-priced 2) not an undershirt
Ugh
 
Sam
not Kanye-priced xD
I think he wants to be knows as Ye from now on
 
hanes tagless are nice
 
Afternoon cabbage
 
9:08 PM
night cabbage?
 
@AndrasDeak Worked! Thanks!
 
glad to hear that
 
wim
9:29 PM
easy rep for people that know np.digitize over here
I don't have time right now
 
@wim For a small problem, maybe
I hope you don't think that's scaleable in any way
 
10:24 PM
@NasrinShirali well there are 3 reasons why a person would disappear for good from Stack Overflow: they're dead, they're in PVS or they've somehow obtained this thing called Life. In my case the last one seems increasingly unlikely so if I disappear then it is one of the first 2.
 
Or in jail
 
yea
was just googling if Hans Reiser had an account...
visited 2282 days, 448 consecutive
 
what's PVS?
 
Are those your stats, or Han Reiser's?
 
my stats
 
@Code-Apprentice that one
 
From a lot of questions on here, I wouldn't say that being in a PVS stops stack overflow use
7
 
as brain dead as many questions are, the term is only metaphorical
 
@user3483203 ooh see that shiny star?!
 
wim
@AnttiHaapala 4. they're so annoyed with the CoC and/or welcome wagon that they choose not to contribute to the site anymore
 
10:37 PM
well they'd probably do the full ragequits ala tristan.
 
10:54 PM
@AnttiHaapala see, let's assume someone has been here for like 1 year constantly and then suddenly doesn't come anymore... then how'd you know where they're at? and then again they are someone you've been talking to for a year daily so you can't just not care ... eh, internet is such a cruel place.
 
At that point you'd probably know other means to contact them
I mean other than via Stack Overflow
 
wim
that weird for pip --version, using pip<10 says its installed in site-packages, using pip>=10 says it's installed in site-packages/pip
 
11:12 PM
> lol, no I stalked @MartijnPieters once
Uhm, should I be worried? :-D
 
wim
11:23 PM
if you're an invisible ninja, probably not.
 
0
Q: How to Check if a Matrix is in a List of Matrices Python

user218985This is the list of matrices; [matrix([[1, 0], [1, 0], [1, 0], [1, 0]]), matrix([[0, 0, 0, 0], [1, 1, 1, 1]]), matrix([[0, 1], [0, 1], [0, 1], [0, 1]]), matrix([[0, 0, 0, 0], [1, 1, 1, 1]]), matrix([[1, 1, 1, 1], [0, 0, 0, 0]])] and I want to check ...

is op talking about actual arrays or is he just misrepresenting a list of lists
 
wim
no need to ask when jpp will just assume :P
 
jpp
@vash_the_stampede, You can try asking. I'm pretty sure they mean np.matrix, but this is by no means a certainty.
@wim, Indeed, interacting with OP is way more effort than writing an answer. Next I'll have to explain how they find out the type of object. It's all self-preservation!
 
cabbage
 
wim
FWIW np.matrix would work just as well here, still using np.array_equal.
so there's not much point to get feathers ruffled about the difference
 
jpp
11:32 PM
@wim, Yep I'm well aware. probably someone from matlab crossing over
I haven't seen a good use of np.matrix anywhere, maybe it exists.
i think even the docs say use array
 
wim
it's cruft
 
00:00 - 19:0019:00 - 00:00

« first day (2909 days earlier)      last day (2042 days later) »