« first day (2866 days earlier)      last day (2082 days later) » 

8:04 PM
@coldspeed I don't have yaml in the Python 3.6.0 I built myself. Perhaps I should be grateful for that. ;) Allowing unquoted 10.10.10.10 seems pretty dumb to me… stackoverflow.com/questions/51955809/…
 
Tell me about it. The only thing I find YAML useful for is to parse these silly dataFrame reprs that some OPs keep posting
 
There's too much yam in YAML. ;)
 
see also the recent discussion about pyyaml
 
@PM2Ring closed.
 
Thanks. Feel free to delete-vote...
@AndrasDeak IIRC, it does unsafe stuff with exec or eval.
 
8:12 PM
yup
 
wow, I missed a rather fun part of the meeting it seems (and re-cbg)
 
@PM2Ring and they tried making safe_... the default, but it was reverted
 
@Kevin Thanks for re-stating that for me
 
Madness! Of course saying "unsafe stuff with exec or eval" is a bit redundant. Using them is, like juggling chainsaws, an inherently unsafe activity.
 
If it's a string embedded in your program that never changes, then it's safe. But then it's also pointless.
 
8:19 PM
Yep. Although sometimes it's not pointless. I use it occasionally when I do timeit tests on expressions (rather than on functions). The expressions are strings, which of course timeit itself has to eval. And to verify that all the expressions produce the same result I have to eval them explicitly.
 
slaps himself in the head for misplacing a quotation mark
 
re-cbg, @JGreenwell I assume you don't mind that I let Wim know about your war injury.
 
@user3483203 aww, you beat me to a cv
 
FWIW, you communicate quite well, but I do notice the occasional "glitch". OTOH, some of the other room regulars make way more errors than you do, but they don't have the good excuse that you have. :)
 
recbg
 
8:25 PM
@PM2Ring Yeah, that's fine. It was actually public somewhere for a long time. Think it is now lost to the internet after some update to school's database. It's not possible to hide it anyway <- not for very long anyway
 
I also missed the last part of the GM
fwiw, and repeating myself from the last time, I don't mind this rooms cliqueness and culture
 
wim
@PM2Ring oh, that thing again
Apr 6 at 19:19, by wim
yeah so I thought I had a bug in johnnydep, or PyPI had a bug, but it was actually just yaml behaving "normally"
 
it actually feels quite nice, a bit like the internet back when i first discovered it
 
it is worse on chat because you only have so long to edit your message
 
@JGreenwell There's no need to hide it here. I, for one, am proud to know a guy like yourself who's been through that sort of ordeal. And the fact that you still have a positive outlook is pretty inspiring.
 
8:29 PM
Sadly, there is when your looking for jobs.
 
That sucks. All that should matter is that you can do the job. Sure, occasionally your brain misbehaves, but it's not like it stops you from doing the job. And everybody has moments when they aren't firing on all cylinders, for one reason or another.
 
^
I would be pretty happy to fire half my cylinders most of the time.
 
oh wow, chicken paprikás with spätzle in deep space 9 :D
 
wim
quick poll
 
....I should have made that for supper. I have all the ingredients :\ :P
 
wim
8:35 PM
if you were json GET an /api/things/?k1=v1&k2=v2
would you expect that to be a union of k1=v1 and k2=v2 or an intersection?
 
I'm a layman but intersection
 
Union.
 
wim
i.e. would this obj be present in the response or not

{
    "k1": "v1"
    "k2": "dingbat"
}
 
^ this doesn't exactly show if it's a union or an intersection.
 
it's not in the intersection because the value for "k2" is not "v2"
 
wim
8:37 PM
^
 
oh, brain fart
5 mins ago, by shad0w_wa1k3r
I would be pretty happy to fire half my cylinders most of the time.
@wim then no, I'll go with intersection
 
wim
to the layman , do you read the url as "give me the (things with k1 v1) and (the things with k2 v2)" or do you read the url as "give me the things with (k1 v1 and k2 v2)"
 
On second thoughts... :) I guess intersection is also reasonable. I'd certainly study the API docs before I started making requests.
 
You need something else for the union, to be explicit. Maybe you could have a third argument as "operator=OR"
And have a default for that.
 
wim
hmm.
 
8:40 PM
I would expect the first (give me the things with k1 v1 and things with k2 v2)
 
wim
so it's 2 for union and 2 for intersection
 
2 - 2 so I'd go with the explicit thing then :-p
 
but expecting things out of json is a mistake I have learned not to make
 
wim
I am designing an API right now and on the fence about this decision
 
maybe a human would read it as a union and a machine as an intersection
 
8:43 PM
With totally abstract field names like that it's hard to tell. With more meaningful names it could be clear whether there's a cumulative intersection selection happening, or that a union selection of everything that matches is intended.
 
@Arne that's a cold way of saying me & @Kevin are machines :-p
 
=D
you've just let your internal VMs do the talking
 
gets stuck in an improvement loop
 
so that's where the other half of the cylinders were spending their cycles
getting stuck in loops
 
if only debugging (and then fixing) a human body was this easy
 
8:47 PM
you could use a plus sign %20 for intersections and the & for unions explicitly - or visa-versa. I've seen that done before
 
9:03 PM
If a person asks three questions in a single post what should i do: answer all, ask them to pick one, downvote and move on? stackoverflow.com/questions/51956543/…
 
Option D: Downvote on 3 different accounts, one DV for each question.
 
in general, flag as too broad and/or leave a comment
hmm, in that particular question the bullet points seem tame enough. I guess I'd answer it.
 
In the spirit of kindness I will do that
 
@user3483203 that's against SO policies, and you might receive a (temp.?) ban for having sock-puppet accounts.
 
I'm assuming 3 different accounts meant for "3 different reasons"
 
9:10 PM
That must be common though, some of the average per day rep gains are a little high
 
^^^^ ask seems reasonable and very closely related, I'd answer
@JGreenwell but it's the same question, so I didn't consider that, anyway, no harm putting out a fair warning :)
 
s/assuming/assuming and hoping/ ;)
 
@shad0w_wa1k3r clearly my /s wasn't large enough
 
:D
I'd blame it on SO Chat's formatting :-p
 
@W.Dodge I know at least 4 students who I taught who have higher rep than me - not due to answer/question quality but due to the fact that other students upvoted them
Assume it would be the same at some companies
I still look at the "How do I do this? No I don't want to show you my code." questions with +3 or 4 and go: "well, at least your good at making friends."
 
9:24 PM
Friends don't let friends ask questions on SO without an MCVE
 
Next step in the welcoming campaign: "SO join with a buddy! So you always have the upvote!"
 
total-rep / days-on-site gives some crazy high values for some users. I cant imagine +200 average daily rep gains over several years.
It has a snowball effect I guess
 
Well, there's a bug with that new welcoming a new user info they throw up on questions
 
@W.Dodge that kind of rep doesn't grow on trees; you need to farm it
@user3483203 is that yam live now?
 
Yes, and it won't let me discard a half-written answer
I really dislike this feature
 
9:30 PM
I'm sure SO knows what they're doing. Hold on, sarcasm is deprecated now...
 
honestly, I won't be surprised if the next step is "you cannot downvote users with the new-contributors flag"
 
I've been realizing just how very few people answer the vast majority of the questions on SO, yet SO seems to want to vilify their work with all of these new coddling features.
 
@AndrasDeak I sssoooo wanted to reference that comment to you in my last meta post but it was getting too long with examples so I had to stop myself
 
:)
if you mean Tim rubbing the new CoC in my face, that was fun
 
@user3483203 thats interesting, wonder what the site wide accepted answer rate actually is...
 
9:35 PM
@W.Dodge I suspect all site-averaged statistics are horrible due to all the drive-by users and 1-rep idle accounts
 
Yeah, like when it says "top 2 percent" how much could we offset that if we removed all spam accounts
 
@user3483203 why? Is this an intended behaviour?
 
@vaultah it seems like just an oversight or bug. Usually there is a discard option, but on questions where the user is marked as a new contributor, I no longer see it on my screen.
 
because it's not nice to stop if you start helping a new contributor
 
Yeah, this comment is basically what lead to me saying "F*** it, I'm glad I said something"
Regarding the label that's just been put on me -> I've been here for three years - I am not a new contributor -_- — JGreenwell 32 secs ago
 
9:38 PM
Next I'll get a message in my inbox. "We'd appreciate it if you finished that half-a**ed answer for that new user - The Staff"
 
Not the mods. The staff.
mods are innocent in this
 
Thank goodness for the 2 minute edit window :P
 
Mods are between a rock and a hard place these days. Trying to comply with what I can imagine is vague guidance at best, and the community which is...what it is
 
That is indeed a tough position to be placed in
 
So glad I haven't won a single election
 
9:40 PM
FWIW I started this journey 19 months ago without a clue. SO has been everything to me. No one has ever been rude, strict, but never rude.
 
Actually very relieved
 
I feel like saying "sorry I voted for you" :)
 
I really don't like being called new, fyi. It's like when they used to put the "noob" label on people when playing MMOs and other games
 
Haha, I wanted to win then, so it's fine :P
 
9:42 PM
Are there any other mods active in the Python tag besides Martjin?
 
@JGreenwell it's not noob, it's "new<3"
@user3483203 bunch!
 
Oh Jon Clements is a mod isn't he
 
Jon, Bhargav, ThiefMaster, Aaron to name a few
 
@user3483203 yes
 
Yvette's trying so hard, I genially feel bad for her
 
9:44 PM
Yvette doesn't do python though :)
 
4
A: Copying a triangular area from one picture to another in Python

Yvette ColombFunction to copy a triangular area from one pic to another. def selectTriangle(pic): w= getWidth (pic) h = getHeight(pic) newPic = makeEmptyPicture(w,h) x0=107#test point 0 y0=44 x1=52#test point 1 y1=177 x2=273 #test point 2 y2=216 #(y-y0)/(y1-y0)=(x-x0)/(x1-x0) for y in ra...

 
Oh, I didn't know she was interested!
 
actually used that as inspiration for a project
 
Welp, just finished a browser extension to hide the "new contributor" information.
 
@user3483203 share please
 
10:14 PM
@wim Thanks for the edit on that answer.
 
rbrb all!
 
10:33 PM
Congrats on the century @coldspeed!
 
wim
10:50 PM
no problemo
 
@shad0w_wa1k3r Thank ye kindly!
 
11:06 PM
> The annoying but harmless RuntimeWarning that "numpy.dtype size changed" has been suppressed. The long standing suppression was lost in the transition to pytest.
numpy 1.15.1 release notes, cc @JonClements ^
 
cbg. all
 
cbg
 
11:23 PM
What i can do with python?
<?php echo "Hello World!"; ?>
 
@JavierToscano probably not that
 
print('<?php echo "Hello World!"; ?>')
 
print('<?python echo "Hello Python!"; ?>')
foreach(User in This.Users){
echo "Hello Python User";
}
 
alright, we get it, thanks
 
still not python
 
11:26 PM
for User in Users:
print User
 
please try doing something different
 
I'm not sure how I feel about that print statement not having braces
 
@coldspeed not good
:-p
 
^ I was going to say, it depends on if it was 2.7 or 3 but then I realized I wouldn't feel good about someone having to use 2.7 - so either way
 
11:29 PM
precisely :)
 
Well, if it was 3, I wouldn't care. But you would, since it'd be a SyntaxError
 
@JavierToscano please stop, take a step back, and start communicating like a regular person. You're coming across as annoying.
 
@coldspeed Same here
 
01001000 01100101 01101100 01101100 01101111 00100000 01001000 01110101 01101101 01100001 01101110
 
11:31 PM
@JavierToscano you are now warned
 
I have never used the python
 
Well, you could always try. If you're on a Linux machine, it'll be installed by default (unlike PHP?).
 
I have windows vista ultimate installed
 
You can download python from the official website, python.org
 
What can i do with python?
 
11:33 PM
We (SO Python room) have a "getting started" wiki (of other wikis) you could look at - sopython.com/wiki/What_tutorial_should_I_read%3F
 
same as any other language of its kind
Sky's your limit. And the recursion depth.
3
 
rbrb! Another day perhaps.
 
You pick a language to solve a problem. You don't pick a problem for a language.
 
unless you decide that you had been pampering yourself so you start writing malbolge
 
Oh, you edited, but, I always seem to have to pick my problem. I seem to be a problem magnet.
 
11:44 PM
did a 32k user just ask what an acronym stood for? O_0
I need a flag for close reason: "Are you serious?"
 
it wasn't self answered until they were pointed to the answer
 
LOL
I even know thart
that
 
@coldspeed oh, I missed that
 
Are you sure? ^^
 
11:47 PM
@JavierToscano you can edit/delete messages for 2 minutes after posting. Please make use of that feature.
and @JavierToscano please read the room rules while we're at it sopython.com/chatroom
 
argh! "What is a monad?" is in the related! I looked, I looked and I remembered O.O
 

« first day (2866 days earlier)      last day (2082 days later) »