@paul23 the problem is that they're misleadingly named. They aren't default values for a function, they're default parameters for creating member variables in a function object. So when the object is constructed initially, you can supply the values or the defaults will be given. Either way, from that point on the function object is constructed, and any mutable members, e.g. a list, can be modified permanently.
@ZdaR basically think of it like having a default value for an object's member variable, as the function is just another object. While the variable might start life as an empty list, as you do stuff to it it will remember what you did.
Yeah I got your point, But if we know the consequences we can take measures to prevent such behaviour or if that behaviour us expected then use some other approach, but fundamentally, it is legitimate to use unless we know what is going under the hood
I think some people are dumb enough to believe a high SO score alone will earn some credibility for employment. I doubt I'd want to work for any company who hired on that basis.
I worry about someone who's more expert lazily deciding to quickly dash out a much better answer. It's like being a startup and hoping Apple, MS or Google don't just allocate 0.0001% of their budget to surpassing you.
@AnttiHaapala: you available for a AirPair Pyramid job?
There is a $70/h request for a Pyramid expert to help someone figure out how to best handle serving multiple branded sites from the same Pyramid app. Its yours if you want it, just drop me a line and I'll hook you p.
That's fun, I'm also writing something that switches based on domain name, but for SAASy reasons rather than branding ones. Curious to see what he comes up with.
Whatever, I hope lots of people will be making proposals - and, of course, going to PyCon. Starring my own post would, of course, be immodest (and for all I know may not be allowed), but if someone DID star this it would remind people.
@RobertGrant
@RobertGrant Thanks!
@RobertGrant oh, and with regard to your earlier comment about public and searchable, it seems much worse than it actually is.
The downside is, if something DID blow up, the Internet would be all over it like white on rice. But we live in a world where shit happens every day ...
@RobertGrant the risk seems much greater than it really is because we believe others are more interested in us than they usually are
Yeah, well that's another thing altogether, and all too real, but I suspect this community is too small to generate a viral controversy (and, of course, too polite)
@RobertGrant there's something in the anonymity for otherwise under-affective people. I remember seeing a few who were prosecuted here for twitter bullying. They were pitiable really - hardly the monsters they appeared online when seen in real life. Not to trivialise their online effects, of course
I might visit a Pandas room from time to time when I look for it, but I'm currently not very motivated - spending enough time on SO as it is
@JRichardSnape I've never really had to contend with Twitter trolls, though I've had people blog vitriolic things about me. Clearly at least my critics are prepared to identify themselves
@AaronHall I don't think language should be standardised, it should be free to evolve. Otherwise we wouldn't have terrific words like Jedi, anti-vaxxer and sideboob. We should record, monitor and examine the language as it evolves yes - but not fix it permanently.
picks up gauntlet and passes it back to Aaron. Here I think you dropped this.
The Polish were amazeballs when it came to the Enigma. They reversed engineered one WITHOUT an original template, which is crazy when you think about it
And by seriously mess up, I mean it was 12 years before Andrew Wakefield was disbarred for falsely reporting autism relating to the MMR vaccine, so they're pretty safe
@direprobs I sympathize with your problem but would advise you to seek help from local sources - talk to friends, and so on.
An education abroad is no guarantee of anything (though I can see it would have been attractive, you may not have enjoyed it as much as you thought), and you don't need to get your education before you start work (though it's usually easier).
You are probably smart if you were accepted by a foreign college, so the best advice I can think of is "when life gives you lemons, make lemonade" - you may not have wanted lemonade, but it's better than being thirsty. Oh, and make it up with your folks. They probably feel pretty shitty about not being able to afford to send you where you so obviously had your heart on.
And that's it. Please don't start a long conversation, we really aren't here to help with personal issues, and we aren't qualified to do so. But by all means hang around for the Python ;-)
@MartijnPieters I am, but after reading the description I find it not interesting, I mean it either will be very short session or then I will need to explain too much for too little :D
I am a "bit" busy myself too though can fit interesting things in my sched
@thefourtheye hey, I'm talking in front of thousands of people in a few days (about open source JavaScript) and I'm making the slides better now - would you mind if I mention your recent contribution to io.js?
@BenjaminGruenbaum Nah - it's just that I hate no feedback. Don't mind like a classroom, or a workshop. I just hate the oppressive wall of impassive silence haha
@thefourtheye this is pretty much the topic of my talk - software development in the open
@IntrepidBrit no, I mean - I like conversations better - but why would you care that much about doing it in front of a crowd, there are a lot of upsides too.
Also a very a cost effective way of passing on information. I guess a part of it is that I would hate it if I felt like I was wasting other people's (and as a result, my own) time
"Why not just call somefunc in the try?" you ask? Well, what if somefunc does exist, but itself invokes a NameError due to a programming bug? Then you would catch that error when you don't want to.
Python 2.x is faster than Python 3.x in many contexts, but not always ! PyPy is also faster than Cpython 2.x & 3.x, however, when reading files, Cpython is faster that was about a year ago when I tested that with an old version of PyPy I don't know what about now.