« first day (1609 days earlier)      last day (3564 days later) » 

19:00
Claim they're some really authentic fashion brand ;)
you could make gazillions! :p
Yeah. We can start a new trend!
I'm sorry but if children will spend £30+ on baseball caps that just say "OBEY" then I reckon we could shift Python t-shirts to the fools.
*SoPython t-shirts
@Ffisegydd plus do so medallions and other bling's such as phone cases etc...
Tomorrow Rodney we'll be millionaires!
Whoa whoa whoa. You're not Delboy, you're not fly enough. You're Uncle Albert.
19:04
:D
Darn, Why aren't there emoticons in SO chat?
@Ffisegydd Nah, he's Duke :-)
I wonder, who do you think is Trigger? :P
Anyway, Good night all. today was tiring, TGIF ...... Rbrb :)
Dunno, but I'm definitely Mickey Pearce
Uncle Albert: During the war...
Del Boy: [interupts Albert] If you say during the war one more time, I'll pour this cup of tea over your head.
Uncle Albert: During the 1939-1945 conflict with Germany.
19:11
I'm undecided who I want to be :( I grew up watching OFAH.
Actually I want to by Mike the Landlord.
@Ffisegydd strangely - I could imagine you as Mike :p
No one has volunteered to be Trigger? :P
Our American brethren are probably very confused.
A mate of mine calls me Uncle Albert because according to him I say "when I lived in Bolivia ..." about as often as Albert says "during the war ..."
@Ffisegydd Alright Dave? :p
OFAH have, over the years, had some of the funniest moments/skits/whatever ever. Like, hands down. Some touches of total and utter brilliance.
19:14
if people wanted something to flag.
@Ffisegydd I think one of my favourite episodes was when Rodney won the drawing competition and he had to fake being a kid for the prize holiday :p
Delboy in the club when he goes to lean against the bar and it's been moved? Oh my god...
lovely jubbly :)
@Ffisegydd and that other classic with the chandelier :)
Oh god. That chandelier episode. And of course Batman and Robin.
... and the one with the blow up dolls :p
19:21
Rodney + Damien in general. Genius.
Dammit... might have to rummage in the loft for the box set now :(
Yeah. I would say that OFAH is one of the most important TV shows in my life. It was formative of my sense of humour.
@AnttiHaapala mange tout, mange tout
@Ffisegydd omg... we so need to add mange tout to salad for something :p
"This is Radio Yerevan; our listener Antti Haapala is asking:
'I am told that my [python] gold badge is already seen at the horizon. What is a horizon?'
We’re answering: 'Horizon is an imaginary line which moves away each time you approach it.'”
19:30
@DSM: Ugh, I am hating on the max(setobj) and min(setobj) more than I expected to.
DSM
DSM
Hatred leads to suffering. You have no one but yourself to blame.
user2555451
I don't see it as being that unreadable (although next(iter(S)) does make the intent clearer). It gets the maximum element from the set, which happens to be the only one.
DSM
DSM
Most of the times I use min (and this is not a common pattern for me, so it doesn't come up much) I think it does a better job of documenting things, because I tend to want to go from lowest to highest.
As for the unpacking one, despite all its other advantages dangling commas look nine kinds of ugly to my eyes. Reminds me of print "something", which is among my least favourite bits of (old-fashioned) Python syntax.
user2555451
What about [a] = s. That seems a little better.
DSM
DSM
Yeah, that does look better. You're not going to mistake that syntax for a smudge on the screen.
DSM
DSM
19:52
@iCodez: if you get a chance, you should edit that suggestion into your answer too.
user2555451
Eh, the other answer suggested unpacking. I don't want to "absorb" his one. I'll leave a comment though.
DSM
DSM
That works too. It's nice enough it should be somewhere there.
user2555451
Besides, I've already got enough suspicion floating around for answering that other question and then having it closed by another one with the same answer from me. :P
DSM
DSM
@Martijn: I'm still not sure how to square your second sentence with the fact that we're never promised it'll be collected in the first place.
@iCodez: I've got way too many barely-disguised itertools.product answers which are all kind of the same to be throwing stones. :-)
user2555451
I wonder if it's a bad thing that I read the dupe post and was like "huh. I like that answer" and then I look at the author and I'm like "Oh..." :D
20:03
@DSM (afk for a sec)
@DSM: made it more explicit then what the language guarantees.
@iCodez nothing wrong with a bit of senility here and there :p
DSM
DSM
Hey, somebody has to push back occasionally, lest your hundreds of thousands of imaginary internet points go to your head. ;-)
20:29
cbg
why didn't I know attrgetter, itemgetter accept *args
DSM
DSM
?
(Cabbage, btw.)
11 hours ago, by Antti Haapala
>>> operator.itemgetter(1, 2)([1,2,3,4])
(2, 3)
DSM
DSM
Yeah, that's handy. Not as handy as numpy-like access, but better than nothing..
user2555451
I think it would be cool if the built-in lists supported stuff like that. [1,2,3,4][1,2] would return [2, 3].
or at least that there was a sLice object that could splice something else
i mean, I have read 2.7 and 3.4 reference fully, yet miss something obvious like that
user2555451
20:39
You could even go all in and allow slices too. [1,2,3,4][1,0:2,2,2:4] would return [2, [1, 2], 3, [3, 4]]
@Antti obviously - not that fully :p
operator.countOf(a, b)

Return the number of occurrences of b in a.
hmm? :D
didnt know that either
user2555451
Wait...how is count an "operator"?
DSM
DSM
That doesn't seem right..
user2555451
I think they put that in the wrong module.
20:42
and attrgetter allows dotted access
@Antti another sometimes useful thing is to use operator.methodcaller with fixed arguments
DSM
DSM
How on earth did something withThat caseStyle get into stdlib?
user559633
wrote an OCR reader/live content editor application for a work hackathon. lost to a hackathon idea of "let's not have performance reviews." disgruntled level: 98%
DSM
DSM
That doesn't seem like it should be a hackathon product. "Hooray for everything!", even if it's a wonderful policy, isn't really a hack.
Hello. This is a bit complicated question. But how would you guys parse this: Example string "[V] Example Word" -> [[['V','Example']], ['Word']]. Another example Word [V] Example -> Same result [[['V', 'Example']], ['Word']]. Kind of takes the word next to [<anything>].
20:45
@tristan we appreciate you <3
@JonClements I want a question where I can abuse iadd
user559633
@DSM yeah, agreed. it's quite frustrating
user559633
@Ffisegydd aww, thanks buddy :)
@Ffisegydd how the hell did you typo "despise" so badly? :p
I'm really drunk.
20:46
@Ffisegydd seems a valid reason... you're excused :p
Drunk on statistics! Woo! Proper Friday night! Reading a stats textbook.
@Ffisegydd won't let you organise any of my parties then...
"[This] Word NOTHIS [ButThis] this.." to [[['This', 'Word'], ['ButThis', 'this..']], ['NOTHIS']]
There ain't no party like a Bayes theory party.
@Ffisegydd I'm up for that... if we could get Rachel Stevens to attend as well though...
20:52
@JonClements You could ask her. She does seem to have a Twitter account.
user559633
Probably ain't no party like a Bayes theory party
user559633
Whoa, did not expect that to be borderline nsfw
@tristan slow clap
I'm willing to bet 5 EUR that a randomly sampled Bayed theorem party will be different from other parties.
@tristan Sorry. Didn't even know miss stevens before. Thought that might just go with the name.
Based on my posterior knowledge of events, it is likely that there is no party like a Bayes theory party, but I don't dismiss the chance that there is in fact such a thing.
user559633
20:54
:| I'll never forgive you
Well... I'm going to add Rachel Stevens attending a Bayes theory party to my bucket list...
then eternal shame shall follow me
(I need at least one I'm certain isn't going to happen)
user559633
@Ffisegydd As someone that has no a priori knowledge of Bayes theory parties, I keep an open mind that such parties occur randomly
how certain?
that seems to be essential for a bayes' theorem party
DSM
DSM
20:56
Not a bad idea. Fall back on the maximum entropy prior.
@Carsten don't know... shall I tweet her and invite her to @Ffisegydd's place for a Bayes theory party?
My GF will probably not be amused.
user559633
I find it amazing that in 2015, there are still women who make a living on people wanting to f them
@JonClements Not yet. First we need to spec out the probabilities for the party.
@tristan what gives you that idea? I'm certain that RS has a great intellect into Bayes theory and other machine learning tools... that whole S Club 7 and modelling stuff was just to look cool
20:59
I'm not even sure yet how to implement such a party
user559633
@JonClements oh, my bad, i should check my bias
I mean...how would it differ from a regular party? Would conversations default to Bayes-themed stuff? Would it be like normal, but you couldn't really be certain of things? Would the Bayes part just be for mapping statistics?
DSM
DSM
I'd be happy just to talk tech with people. We can have some whiteboards to sketch out algorithms and equations -- the marker high would be an added bonus.
That would be cool. We need VR/Oculus Rifts/whatever to have virtual conferences.
If we all had one and a webcam we could have some complex program that makes it look like we're all sat in a dark room a la Dark Council meeting.
With sopython branded cloaks?
user559633
21:07
I will only wear a SoPython pantsuit
user559633
@DSM hmm, yes, marker..high
user559633
lol linkedin served me someone else's contact list
21:29
"programmers over 30"
 
1 hour later…
22:53
can pandas sample a timestamped series into regular intervals? what's the jist of it?

« first day (1609 days earlier)      last day (3564 days later) »