« first day (1988 days earlier)      last day (2961 days later) » 

3:00 PM
nice.
 
@ChaimKut would you mind sharing what "credible and/or official sources" mean? Your problem is actually a simple one-to-many relationship and you don't need any "attribute tracking". I wrote out a version where "ClazzA holds different widgets in a single JSON structure", though it is a bad idea. See the simple one-to-many relationship solution for a safer model. Do you understand the basics of RDBMS's? — Ilja 4 mins ago
@Ilja is having fun :D
 
probably should not have written that
 
you can still remove :d
but :D
that question is Too broad / Unclear / Needs MCVE
 
aye
which is why the answer is also bloated to hell
the problem domain changed once or twice at least in the comments
 
the needing answers from credible sources is something you need to pick from multiple choices for your bounty
 
3:02 PM
ah
haven't had a look at the bounty system yet
 
Jeff Atwood on September 23, 2011
It's been a little over a year since our last improvement to the bounty system. Question bounties have been working well enough that we're comfortable encouraging even more use of the bounty system.
they should've picked "Draw attention"
 
the fella claims to be a senior soft dev
and complains that python doesn't have pointers
grr
 
"I'm new to python, I'm trying to write a function. Could someone give me a few pointers?"
 
"Of course, this is closely related to the fact that Python doesn't have an idea of pointers."
and then link to some shitty post that talks about aliasing names
btw that question about pointers has 40 upvotes (well, 39 since I downvoted it);
can't understand when the answer itself reveals that this is all about an XY problem
 
Guys. How you resolve circular imports in Flask? =)
Everything was fine till I attached celery... and tried to fire task from another module.
 
3:12 PM
49 mins ago, by Jon Clements
@JustasSame detonate an EMP? :p
;)
 
@NikolayFominyh by a) not using Flask, b) not doing circular imports
@JonClements stackoverflow.com/posts/3106689/revisions what do you think as a mod? :D
revert a part of a question 4 years later
 
Is something like @jwt_required
@app.route('/import/<import_type>', methods=['GET', 'POST'])
def import_yml(import_type):
from handlers.tasks import download, import_yml
good idea?
Does not look like.
 
@AnttiHaapala which happened 2 years ago?:D
 
@AnttiHaapala Well - since the main answer seems to quote part of the "now removed" question - it'd make sense to put it back
 
3:16 PM
I think so too... :D
perhaps a diamond would look better there, since it is OP's own edit
 
@Antti well - someone well established in Python with a good edit note counts just as much :p
 
@Antti so how long are we going to wait for your edit? :p
 
Rollback to Version 2 with a custom message.
 
3:24 PM
This is concerning. The trackpad on my pro is not letting me use any clicking or tap to click functionality at all. Not only that, but if I try to click with my trackpad it disables all clicking functionality for any other mouse I connect to it....
w t f
 
have you tried tapping it with a hammer?
 
wait
going to basement
well...now my screen is shattered
thanks Jon...I don't think I followed the instructions properly
wait...you meant to hit the trackpad
crap
 
Darn it - I should have been more explicit! hides
 
@AnttiHaapala You forgot the custom message while rolling back :-(
 
no scooby snacks 'till Monday
 
3:26 PM
there are no messages
ah, I should have picked edit
 
Yeah
 
you said "rollback to version 2" so that's what I did.
:D
 
DSM
Aargh, just got gunned by a few seconds. Been a while since that's happened. :-/
 
@AnttiHaapala Melon :-)
 
@ChillarAnand at simplest you could do __bool__ = __nonzero__ in the class body
 
3:31 PM
Rhubarb
 
rbrb PM
 
rbrb PM
 
@idjaw That's okay - I'll just re-enact Ninja Puppy's Quest For The Cookie Jar... be in your kitchen and gone before you get outta the basement! muhahahah!
 
Who's going to PyCon?
 
curses @JonClements ....your ninja skills are too unstoppable.
 
3:37 PM
I'm looking if I can make an excuse to go.
 
I'm going to SoPyCon, It's on April 31st this year
 
Yeah
Still a long time till April 31
 
I don't think I'm getting the approval for pycon since openstack summit is right around the same time.
 
@ProgramFast an infinite amount of time perhaps? :p
 
what is sopycon?
 
3:39 PM
@idjaw do you mean sopython.com?
 
no
SoPyCon
 
Well the "sopy" should be a bit of a give away - how do we abbreviate sopython? :p
 
Isn't sopycon like pycon?
 
yes, yes. :) Is there some kind of event? I feel like there is a joke I'm missing...
 
Every year to mark the supreme leader tristan's birthday, we organize sopycon.
 
3:41 PM
XD
 
OH!
what kind of festivities are held
 
That's a surprise.
 
I'm excited already
I can't wait
 
Hog roast, tug-o-war, hunting.
 
should I have something prepared ahead of time?
should I grow a moustache?
whisky? will we have whisky?
please say yes
 
3:43 PM
In particular we roast a C developer, play tug-o-war with a Java devs intenstines, and hunt php developers.
 
so it's like festivus for python devs
I can dig that
 
Ahh, of course @Martijn…
 
@idjaw You can be our guest of honour! At the end we have a Charyou tree.
 
OH BOY! Charyou tree!!! I love it!!! so...who are we sacrif....wait a minute...
 
There should be some Stack Overflow extension that notifies you when another member of sopython already started writing an answer.
 
3:47 PM
@poke we should just merge accounts, have one shared HiveAccount.
 
lol
 
With you, DSM, and Martijn we're already on what? 650-700k?
Add the rest of us in and we should hit 800k
 
@Ffisegydd You forgot thefourtheye! 900k already
 
@BhargavRao huh?
 
so do we get to meet the architect once we combine and unlock the million rep achievement?
 
3:49 PM
@poke Something like that atop the "Add a answer" button
 
Or an animation of the sopython snake eating its own tail
 
We could have a central server that is contacted when an answer is started.
It'd give definitive proof that Martijn can answer 6 questions at the same time.
 
Woah @Morgan'Venti'Thrappuccino That name :D
 
@BhargavRao Blame Tristan.
 
3:57 PM
I always do.
 
Lol :D
 
After nearly six years, this question finally has a timeit answer.
 

First 'pass the shuriken' reference

Feb 17 '13 at 11:11, 9 minutes total – 11 messages, 3 users, 0 stars

Bookmarked Jan 13 '14 at 16:51 by Martijn Pieters

 
Really surprised at the top-voted answer there.
 
We also intend to play "pass the shuriken" - it's not for the faint of heart :p
 
4:03 PM
So many activities! I can't wait
 
Oh, are we playing? Who's got a bottle of Yamazaki?
sharpens the shuriken.
Ah, I missed that Alex Martelli already uses timeit.
 
@MartijnPieters bottle open. Neat or on the rocks?
 
@idjaw with shards.
 
excellent. pours. OK...puppy in the middle. @JonClements you need to intercept the shuriken before Martijn can catch it.
 
@Martijn I actually have some Yamazaki in the cupboard for when we meet :p
 
4:12 PM
@BhargavRao Ran the numbers on everyone who is in the room and the ROs that are missing (most definitely missing other regulars)
1,137,402 rep for the SopythonHiveMind!
 
@JonClements :-D
 
Have you guys had hibiki?
 
@idjaw sounds like something I wouldn't really desire and need anti-biotics to fix :p
 
But Japanese whisky! Tasty
 
@idjaw okay then... sounds like something I'd really like but need paracetamol later :p
 
4:23 PM
@Ffisegydd Now if we run the same for 107 members of the SoPython Community? :O
 
Too lazy to type all the numbers in.
 
Automate that also :p
 
Knock yourself out.
 
@idjaw I've not yet had the honour.
 
DSM
@BhargavRao: I get 1932731, not quite 2M.
 
4:36 PM
^^^ quite a good listen
 
@DSM Damn, we either need more members or the people should get more rep :P
 
Randomly googled pandas question. Answered by DSM.
 
@BhargavRao working on the last part..
 
@Ffisegydd gasp - who'd have thought that, hey? :p
 
@MartijnPieters I'll work on the first part ;)
 
4:49 PM
Martijn breaking my pretty graph with his outlierness D:
 
Martijn is an outlier :P
 
"outlier" - yes, yes... much more polite than "freak of nature" :p
 
Hey, at least Jon Skeet isn't on the list.
 
Oh the other Jon
 
@Morgan'Venti'Thrappuccino Err... what's with the name change? :p
 
4:53 PM
56 mins ago, by Morgan 'Venti' Thrappuccino
@BhargavRao Blame Tristan.
Mar 18 at 20:02, by tristan
Morgan needs to change his name to Venti Thrappuccino
 
And you listened to Tristan - my oh my! :p
4
 
welcome @Nathan
 
5:12 PM
@AnttiHaapala @AnttiHaapala Your first suggestion is much better __nonzero__ -> __bool__
 
5:22 PM
@Ffisegydd sowwy?
 
So you should be.
 
DSM
Is there a limit on how many bounties you can award in a given day? Martijn could fix the problem..
 
@DSM you can only have 3 at the same time - and how would that fix it anyway? :p
 
@DSM there is, but at 3x 500 every 3 days it won't go fast..
 
DSM
Hmmph. Well, at least I'm thinking of ways to address the problem. :-P
 
5:25 PM
Besides:
48 mins ago, by Bhargav Rao
@DSM Damn, we either need more members or the people should get more rep :P
 
And now Morgan's new name is breaking the x axis labels... sighs - can't win, hey!? :p
 
DSM
@Ffisegydd: just read your earlier note. Hope the answer helped. :-)
 
Average rep is 51939.
 
Jeez. I need to up my game.
 
5:31 PM
@Ffisegydd and if you remove me from those scores, what's the average then?
 
33159
 
@Morgan'Venti'Thrappuccino You're stuck with that name until the 10th now :)
(I'm going to have to remember to do a lot of backspacing!)
 
@Ffisegydd :-D
 
That's one hell of a swing :P what happens when you remove outliers...
 
@JonClements Hehehe, yeah. I'm just mad that I can't use double quotes.
 
5:39 PM
I miss D3's syntax and flexibility. I should port D3 to Python.
I also want anonymous functions in Python.
And a pony.
 
@Ffisegydd You mean lambda?
 
Well I'd like multiple lines.
 
Ah, gotcha.
Yeah, variable assignment would be nice in a lambda.
 
I'd also like some gin. And a pony.
 
@Morgan'Venti'Thrappuccino I'd like to think Fizzy was aware of lambda by now <g>
 
5:44 PM
I have gin.
@JonClements You know what happens when you assume.
 
DSM
... at which point it's an ordinary function. I'm not saying there aren't times when I wouldn't mind a few lines, but it's hard to get worked up about.
 
To be fair, I just want it for golf.
 
Just makes me sad to define a function that I'm going to pass in as an argument to one thing.
When I go back to work I'll see what the longest D3 chain I've got is. It won't be pretty. Some of you may think less of me, if possible.
 
DSM
This conversation is already making me wonder if we should keep you on the supersecret list of potential candidates to join Room Six Solutions..
 
@Ffisegydd since you stopped being Stewie, dumped me for pivot_table and then D3 - you're dead to me man! Completely dead to me man! :p
 
5:47 PM
@ChillarAnand renaming it would mean that the same lib does not work in Py2
 
@DSM Sounds like a competing company for Fizzy and Bobby Consulting...
And in any case...
Mar 15 at 19:02, by DSM
I liked SOPython solutions but Jon preferred Room Six Solutions, and if we get Fizzy to do d3 then we're kind of beyond Python, so maybe his name is better..
Branching out! Diversification! Buzzwords!
 
"Diversify your code"
 
Cloud! Solutioneering! Parking Lots!
Am I manager yet?
 
DSM
With extreme agile approaches like that, why not?
 
Solutioneering sounds like it is not illegal but also perhaps not very moral.
 
5:50 PM
So we need to do parkour as a team building exercise?
 
or is it about pioneering :d
that word just looks like privateering
 
@AnttiHaapala Yeah, we steal solutions from other companies and pass them off as our own.
 
DSM
You haven't seen true parkour until you've seen me jump a barbed wire fence and off a wall to retrieve a ball for ball hockey. Still have the scar!
 
Ball hockey?
 
Yeah, like field hockey, right?
 
5:52 PM
I assume that's different to field hockey?
Is it on roller blades?
 
DSM
On sneakers, mostly. Street hockey in the summer.
 
I always played on blades.
 
Oh right, so it's just "hockey" as we'd call it.
As opposed to "Ice hockey" which is cold and fighty.
 
Looks like Sol.
 
DSM
5:53 PM
Who can say no to a giant orange sphere?
 
ball hockey and I are not friends. Last time I played, it lead to reconstructive surgery on my ankle and 2 years of rehab.
sticking to ice hockey.
 
@idjaw Did the ball of your ankle get mistaken for the hockey ball?
 
@Morgan'Venti'Thrappuccino BALL BALL BALL BALL BALL BALL BALL BALL BALL runs around manically
 
@Morgan'Venti'Thrappuccino "mistaken".
hammer before the answers come pouring in
 
5:59 PM
@idjaw Oh lord, that code.
 
hehee it's really funny seeing "venti" Thrappuccino on "on hold" questions.
 
@idjaw Hahahaha, yeah. That's the first time I've closed a question post name change.
 
stackoverflow.com/questions/36235942/flask-404-not-found OP said they fixed their problem, so cannot be re-produced and no point answering.
guys do we have a good canonical dupe target for module name shadowing? reference
 
6:28 PM
@idjaw I don't quite remember
 
@AnttiHaapala ?
oh sorry...my question
right
apparently the OP is saying they are still experiencing the problem. There must be other similar shenanigans going on in their environment. I can't reproduce on multiple diff versions
 
I remember asking that same question in the room like once a month :d
 
haha
how about this
the next time it comes up
we answer it
and make that the canon
 
throw it in the wiki and done
 
6:38 PM
or better to make a new question
 
yes.!
 
without any cruft.
 
that's a good idea
before I do that
I'm going to do a quick search to see if I can find something
but it doesn't hurt to just do it and add it to wiki.
 
Has chat just introduced a 60 character limit or something? :p
wb @Andras
 
@JonClements hey hey hey:)
 
6:42 PM
@JonClements I have a bad tendency to hit enter a lot when I'm typing in a chat.
:D sorry
 
@BhargavRao oh maaan, and for some reason I thought sopycon was a thing, and how interesting that it coincided with tristan's birthday
 
it for
real?
 
someone help me out here, two hands are not enough for this facepalm
 
LoL :D
 
6:43 PM
I don't feel stupid at all
:D
 
You need to still get used to tristan's policies :P
 
that's why I feel stupid, I've already made myself familiar with him:P
so with all the rep graphing, I've joined the sopython community now
Your biological and technological distinctiveness will be added to our own. Resistance is futile.
 
@AnttiHaapala What do you think would be a good title? Simply setting the error message? Or something like, Attribute error when using requests
 
well the exception perhaps
 
6:50 PM
Putting in the exception, out of all the possible similar questions that came up, these two seem the most relevant: this and this. Thoughts?
 
AttributeError: 'module' object has no attribute 'foobar'
easy to find with a mnemonic that no one uses in a real question
 
rbrb for a bit
 
rbrb Jon!
 
rbrb
 
see you
 
6:54 PM
So here's a question that was closed as a duplicate of another -- trouble is, it isn't:
36
Q: How to debug code that uses jQuery?

williamgWhat is the best way to debug code that uses jQuery? Is there some tool or method that can assist me in finding what is wrong with the code?

This question is specifically about jQuery, not javascript in general.
 
@EthanFurman yeah, it should be closed for another reason :d
 
@EthanFurman both are too broad. Itching to close em both with that reason.
 
POB or Too broad or Tool request
 
6:59 PM
@EthanFurman even if you want to reopen, the accepted answer is about debugging JS not jQ
 
@AnttiHaapala I'll ping you when it's done. I just got summoned to attend to the children. They woke from their nap. Would love your input when it's done
thanks!
temp rbrb for now folks
 
@idjaw Don't forget you can put posts as a (temp) wiki entry on sopython if needs be/suitable
 
I feel sick
 
I'm writing a Flask extension for Python-Social-Auth because the built-in one is awful.
Bunch of manipulation of global objects, and injects db.session. Should have just used a factory function to build the classes.
 
Ah, okay. Thanks for looking at it.
 
7:04 PM
Surprisingly, Flask-Social-Auth wasn't a registered name on PyPI.
 
@davidism the recommended way now is to register package names on pypi
at least the deferred informational
 
yeah, you just have to put in a name and a version, nothing else
so I got it
@AnttiHaapala how's your PyPI project going, anyway?
I wonder what the stats are for names that were registered but that don't have a package or download link.
 
no one wants to contribute :d
 
Is it on GitHub?
 
it has been on hiatus
no, it is still privately bitbucket
I didn't do anything to it for ages
perhaps I should just make a pypi statistics service :d
 
7:09 PM
Not a bad idea, pypi has some base stats itself, what would your service add?
 
pypi has almost no stats at all
 
It has some base stats
 
they're not queriable
 
No.
 
could contribute a stats page for warehouse, assuming that ever actually gets deployed
 
7:11 PM
I'd really want to do the commenting though
dstufft was very negative about commenting
or ratings
 
stackoverflow.com/questions/36239627/… Yes/No question that has no valid answer except a simple “No”…
 
DSM
@poke: sometimes I think I should have a list of standard questions, like "Do you care about preserving order? Do you care about multiplicity? Do you know what I mean by multiplicity?" etc..
 
That would actually make for a good canonical, following some check list with multiple different solutions.
I just can’t think of a good question that would cover it all
 
DSM
Maybe it'll make a good page on Docs. :-P
 
yeah, I dislike requests even more...
 
7:18 PM
hm?
 
And I’m already confused, good job.
 
well I am a bit sick now
I read all of the discussion and noticed that they'd not close or do anything to that bug, then I get middle finger for reporting my find
 
> In the future, please closely read a discussion before generating notifications for all of its participants.
Wow, I have no words.
 
this comment at the top, 2013, guy is asking "is there any proof that the data is not sent chunked"
@poke of course, the bug is different
they're talking about API change, what should happen if both content-length and transfer-encoding are set
but now the code internally did set both content-length and transfer encoding
 
7:25 PM
“Exception: Don’t set both”
 
if they'd fixed that bug already, then there'd not be anything to discus about
but instead they're like "well it doesn't matter"
 
7:41 PM
Meeeh.
I changed my opinion, can we reopen this again? stackoverflow.com/questions/36239627/…
(I’m writing an answer)
 
it looks like requests is a complete mess
everything is putting headers in here and there...
@poke so is there another way?
and voted
 
No, but I’m writing a bit more philosophical stuff with regards to the latest edit
 
7:55 PM
Two more open votes please? :]
 
DSM
What're you going to say other than No?
 
on what
 
I have written a 522 word answer.
 
lol
i would if i could
 
Wish I was faster, or the question was being closed slower… :/
 

« first day (1988 days earlier)      last day (2961 days later) »