« first day (2141 days earlier)      last day (2812 days later) » 

2:00 PM
dodododo
 
Here's some British blues. The Jeff Beck Group, with Rod Stewart on vocals - Blues Deluxe
 
2:37 PM
cbg
 
cbg all
question: you open a file with context manager, you are modifying the data in it and you want to save the results to another file, what can/should you do?
 
Open another file and write data to it.
 
I'm sure I've seen an MP answer on that before
 
exactly...
 
that simple?
 
2:40 PM
@RobertGrant mary jane?
 
Yes.
 
ok ... -_-
 
Lol MP I mean :)
 
Michael Jackson?
 
Yeah I would've thought that would be the first joke
 
2:41 PM
who cares about Michael Jackson
 
Interesting fact: my brother calls me MJ. Because those are my initials.
5
 
MJ = Mary Jane Watson from Spiderman.
 
So cool that there's another Martijn out there who probably is number one on SO for Ruby writes screenplay
 
@MartijnPieters stackoverflow.com/q/39168943 can you message these people so they don't keep re-asking the same questions with different accounts?
just pinging you since you closed the other two, I can flag them if that's better
 
2:46 PM
one quick question not entirely related to python for you gents: would you choose digital ocean or aws for hosting a server?
 
No
 
Depends if you want to use all the Amazon tech
(I like PythonAnywhere, but I don't use any cloud hosting for production stuff)
 
oh thanks @RobertGrant I did not know about that one
I just checked the question ... it is poorly written ...
 
2:51 PM
Perhaps flag a post, no time right now and I don't see anything really wrong with the accounts, tbh.
Yes, it's a bit annoying.
 
Oh, I don't think there's anything shady going on, but they obviously don't "get" it.
 
I like the monkey image though
 
That's a paddlin'
 
There are other accounts there too that are not engaging in this kind of behaviour, for example.
 
(Yes, still at conference)
 
2:53 PM
Will building a GUI slow down my script?
 
> Will running more code be slower than less code?
3
Only one way to find out.
 
Haha I guess you're right
 
hey hey
huge news in the cloud world
 
resists weather based gag
 
wow
 
2:58 PM
 
@idjaw apollo, never heard.
 
@idjaw ever seen the show?
 
rackspace, never used :D
 
DSM
@JRichardSnape: not very well
Morning cabbage for all.
 
My resistance is notably poor
Morning DSM
 
3:00 PM
@Ffisegydd No. I actually have no idea what that is from. Worth it?
 
I am currently wrestling pandas
 
@idjaw Yes. Absolutely. So utterly absolutely. It's called "Black Books"
 
@JRichardSnape have you been feeling under the weather?
 
@AnttiHaapala Same here. Learned about them when I started learning about the deal.
 
It's fantastic.
 
3:00 PM
Preemptive :-|
 
@davidism With that, you rain supreme ;)
 
@JRichardSnape this is nothing. In Finnish pilvi (cloud) means pot, and being in (a/the) cloud is thus being high.
 
bye, time to bring my chainsaw to the repair store and show I'm a real country man(Jeremiah Johnson type without the beard)
 
I hope by that you don't mean "by murdering everyone there with a chainsaw"
 
user6568562
@idjaw Amazing show, very funny. You should also watch his stand ups (Two of them, at least, available on YT) Dylan Moran his name
 
3:02 PM
@Ffisegydd just read the premise. Sounds like a winner.
 
@AnttiHaapala Excellent - my Finnish vocab is expanding weekly (at ~1 word/week) I think it's important to learn possible puns first in a language ;)
Black Books is great. I am (predictably) a big Bill Bailey fan.
 
@JRichardSnape forgot the sarcasm mark :D
 
user6568562
@JRichardSnape With the hair and the beard : D
 
Black Books never grabbed me
 
Yeah Dylan Moran is great too. A friend of a friend used to serve him coffee regularly. Apparently he's a right miserable bast*rd in real life.
He's basically Bernard Black.
 
3:07 PM
Must be hard for him to get in character.
Ah - too slow.
 
Possibly I should give it another go as everyone I respect says it. And now you guys do too.
 
Nice.
 
user6568562
@Ffisegydd He speaks about it in details in Monster
 
I'm currently working through aperiodic.net/phil/scala/s-99 for practice. Such a beautiful language.
 
DSM
Aw, man. There goes my weekend. I was going to go to a friend's bachelor party, but now I have to learn Scala because I don't want to let Fizzy beat me.
 
3:11 PM
You're welcome.
 
I've got a week off. Bring it.
 
You get to avoid feeling awkward when the stripper walks in wearing nothing but a hanky and some tassels.
 
cough
 
@Rob I'm not working a full week for the next month and a half, culminating in a week in the Lake District. Consider it brought.
 
I love your life
 
3:13 PM
Oh and I'm going to PyCon too.
 
Harrumphs
 
You could come to PyCon too :3
Oxford to Cardiff is drive-able.
 
I tried looking up the details and apparently it's happening in the past, which my car can't go to.
My speedometer stops at 120 mph but it would need to stop at 1.20*c
 
Pretty sure you only need 88 mph.
 
That only works for Deloreans. Pretty sure it has something to do with the doors that open upwards.
It generates lift in higher dimensions, perhaps.
 
DSM
3:19 PM
Nice.
 
@Ffisegydd definitely is
Just complicated life with baby and house move - don't want to commit weekends
Course, if the seller continues to be a moron perhaps that won't matter
 
DSM
So I forgot my phone at home today, and didn't bring my backpack with any books. Today is going to be almost entirely a conversation in my own head.
 
eww...welcome back to the 90s DSM
now you have to talk to yourself
or just stare at people menacingly as they use their smartphones
there was this guy with no phone, or laptop, just sitting there....like, doing nothing
 
or use one of those payphone terminal thingies
 
the ones you have to put money in to use?
 
DSM
3:23 PM
Up until last year I barely carried mine, but then I used my tablet to do all my reading.
 
I miss my kindle-time I had when I used to use public transit to get to work
I used to read a lot back then.
 
that would be the "pay" part, yes ;)
 
Now I just yell at people on the road
while I try to get to work avoiding construction detours
 
power outage yesterday, cmos settings gone on desktop.
 
that's weird
 
DSM
3:24 PM
Weirder still is that I write code for a living and don't know what CMOS settings are.
 
so your CMOS battery is dead or got shorted? (rare)
 
yeah, that power outage exposed a problem you have now
that doesn't happen very often
 
ah no, nvm, everything else was fine, just the RTC was reset
 
The more you know, the more you know that you don't know anything.
 
To me that still indicates funny shenanigans with your CMOS battery
but, anyway. Just throw it out the window to be sure.
 
3:28 PM
I just remembered it was Friday and you're (nearly) all in work :D
 
nope, not all of us
 
today is end-of-agile-shenanigans day
so we have demos and retro
 
so funny, got a power outage here, lights went out, got a SMS message in like 30 seconds to my and wife's phone, and an email saying that the power company is troubleshooting it...
 
I am in this chat room. My meat puppet is in an office building but that seems immaterial.
 
never ever in the IT business :D
 
3:29 PM
@AnttiHaapala They as in the power company?
 
@idjaw yes
they said: "estimate time to fix 2 hours"
and they found a way to reroute the power in 41 minutes.
 
nice
 
our power company does much the same
luckily never had an outage that outlasted my backup
 
Power companies only have one exception: PowerNotBeingDeliveredException. You can definitely optimise the user experience in that one case :)
 
Flags kicking off today
 
3:32 PM
I went out and there were one OTIS and one KONE car checking that no one was stuck in the elevators.
 
TIL about Finland today
> 28% nuclear power, 16% hydro power, 13% coal, 11% natural gas, 5% peat and 10% wood fuels and other renewables.
my old neighbourhood had all the power lines built underground, so power failures were very rare. It was fantastic.
 
the previous time that I remember that an outage happened was 10 seconds in 2005/6...
 
@idjaw and 17% power cuts?
 
that was during a thunderstorm.
 
@RobertGrant ha. Good catch. I didn't even notice
 
3:34 PM
cbg
 
the power lines are underground everywhere here.
 
cbg @Karin
 
Florida = hurricanes, massive storms and winds, no way to do power underground, and other junk so power outages are common here
 
@AnttiHaapala really? Wow. That's interesting. Did this happen recently?
 
3:35 PM
like about 3 in the last two weeks
 
@idjaw let me google some statistics
 
and I'm expecting a few when 99-L (or Hermine) hits next week or this weekend
 
the distribution companies need to pay fines for outages.
so it is good business for them to install ground cabling
 
@AnttiHaapala that's good
 
@AnttiHaapala I find it interesting, because it was only new neighbourhoods (here in Montreal) that were built in the 90s that started placing the power lines underground, and there just doesn't seem to be any plan to start an initiative to change the power line situation in older neighbourhoods.
 
3:39 PM
And they in turn charge the construction company who dug through the line
 
well, the construction companies need to have proper permits before starting work, which naturally includes finding out exactly where the cabling goes.
 
Yes. It's just interesting that Finland is fully underground. That means there was a plan to convert overground lines to underground. I find that an interesting initiative approved by the governing body responsible for that.
 
in Helsinki, under the city, the bedrock is 3D zoned.
@idjaw not fully :D but very much
but cities yes.
and countryside more and more
transmission >10kV is not underground outside cities.
 
heh, got a new paper on data analysis to review and find it funny that the author refuses to use Python 3 but then does nearly all the future imports (print and division immediately)
4
 
but it is redundant
 
3:45 PM
@AnttiHaapala It's especially frustrating in Canada considering our weather. I mean, look at this. Toronto is not prepared like Montreal for brutal winters, and the environmental effect can be pretty bad. cbc.ca/news/canada/toronto/…
 
@idjaw only 36 % of low voltage network was underground in 2011 :P
but that is in terms of cable kilometers
in city of oulu (which includes vast rural areas as well) the average unplanned outage was 6 minutes.
@davidism are you around? :D
a wtforms question that interests me as well: stackoverflow.com/q/39043798/918959
 
cbg
 
perhaps I'll place a bounty on that.
but first: sauna :P
basically, in pyramid one should not rely on thread-locals, instead injecting request, dbsession and such explicitly
 
Whereas in Flask we just accept that there are thread locals and don't have these problems. :-P
 
3:59 PM
I starred it, maybe it will be a good excuse to try Pyramid over the weekend if I have some time.
 
no need to even use pyramid :P
 
You starred it here first
 
@JGreenwell maybe they hate array(list(zip)) ;)
 
Actually, I do have an answer that doesn't involve thread locals, although it equates to about the same amount of code either way.
 
any wild and crazy fun ideas I can do for my retrospective today? I'm acting agile master of the universe and looking to put together a fun activity this afternoon
 
4:02 PM
= kiddie supervision time for dad? :D
 
stackoverflow.com/q/39170084/2301450 unclear, no code and one bad answer
 
I'm missing context probably
 
@vaultah that answer there though
 
@AndrasDeak it's end of our sprint and our scrum master is on vacation, so I'm interim scrum master. Trying to find a good retrospective activity to do
 
Oh. I'll google thay later:) Much less fun
 
4:04 PM
@vaultah [delete-pls] also
 
my buzzword radar is going off
 
@BhargavRao and those recipes... I bet someone uses them in actual code
 
@idjaw to me those are all just marketing terms which mean - "we're having a meeting"
 
^^ yup. pretty much. We are having a meeting to review our past two weeks and ultimately re-adjust what we have to do next week to make things better.
DEM BE THE RULES, SON!
 
@JGreenwell and types have subtypes :)
 
4:06 PM
you will be agile whether you like it or not. now BE AGILE!
 
DSM
Play a game like those ones where you recast a movie, only this time you're recasting code. "What would the release have looked like if DSM solved this issue? Lots of itertools, I'd bet." Fun for everyone!
 
@idjaw but....cause I also speak that....do you expect to have any real actionable items?
 
yes. and we are pretty successful at them, tbh.
 
We normally did PostIT notes, 3 each: one colour is Start Doing, one is Keep Doing and the last is Stop Doing, and gathered them all up and went through them
Pretty standard stuff but it was useful
Start Doing: renaming all our meetings to Meeting, as that's what they are
 
^^ ultimately it all boils down to varieties of that, and we do a good job at narrowing down what action items we want to carry over for the next sprint that is critical and realistic in terms of improving on it next sprint
 
4:09 PM
Dammit, JGreenwall!
Alt: print out PO's face, play darts.
 
We love our PO though. So, will have to go after someone else.
great idea though...ends up being a great team building exercise
 
okay, I've done quadrant tables (4 sections) based on what was good/bad (with one side being work activities and items that help and the other side being like hobbies and fun activities which helped re-motivate/increase productivity/energize)
just don't do any of the ones where you have to draw pictures - that sucks for non-artistic types and non-visual thinkers :P ;)
 
ah yes. The Agile racecar
:)
 
Poledancing lessons
Scream YOU'RE MEANT TO BE AGILE at anyone who is rubbish
 
whatever activity you do - must end at the Pub: this is a non-negotiable part of end of sprint meetings
 
4:13 PM
^^ We have Beer-Fridge-Friday
and the weather is great. So We go outside, have beer, and retro-agile-party
 
can be substitued with lazer-tag or paint-ball if capable team can be formed (and beer is provided)
 
@JGreenwell We did go-karting :)
I really like my team.
 
drinking and go-karting - yeah, that could be fun ;)
sounds like the company I worked at in the '00s - really tight crew with decent age range meant lot of fun at meetings whenever it was possible
Nerf wars was a common activity
 
I have a nerf gun on my desk :)
 
4:21 PM
Also a lot of strange looks when a bunch of full-grown men in women in suits are running around a park shooting Nerf guns at each other :)
"Mommy, what's wrong with them?"
 
rhubarb all, Time to head home.
 
"Oh, they're just programmers"
see ya Bhargav
 
programmers in suits? O_O
 
yeah, for meetings at least (midwestern US thing I've found)
 
I realized that my son and I share the same wardrobe and all my summer shirts were obtained from conferences
 
4:27 PM
started moving to slacks and polo in mid-2000s
 
Wardrobe style
 
Halt and Catch Fire has programmers in suits. And some that aren't. This ended up being a pretty bland statement.
 
and one always had that one hacker or guru that just didn't care and wore whatever he wanted - cause you could not fire him if you wanted to keep everything working
 
JGreenwell said it much better.
 
at that company - ours was a hippy who always forgot to wear shoes and drove all the business people crazy
 
DSM
4:32 PM
(looks down at his plaid shirt and jeans) My estimate of my guru status just went up.
 
all of us too but guru is as guru does
 
@JGreenwell "men in women in suits" - not surprised you got strange looks
 
I'm wearing a Diggnation t-shirt today. No one seems to remember what Digg or Diggnation was anymore.
 
It makes me think of Reddit. Was it like Reddit?
And before Reddit?
 
It was the thing before Reddit that crashed and burned horribly after some "interesting" redesign decisions.
 
DSM
4:34 PM
self.g = (lambda x: {'D': x, 'W': x.resample('W'), 'M': x.resample('M')})(self.f)
 
Not enough inDiggnation
 
Made by Kevin Rose from The ScreenSavers before he was "famous" for other things.
 
DSM
What's the general view of creating and calling lambdas like this just to avoid the arg duplication?
 
Diggnation was their podcast where they drank and talked about 5 popular stories.
 
Pleased I actually understand that line of code after my data wars this afternoon.
 
4:36 PM
Diggnation wasn't even that long ago - though I don't know how popular it was
 
Diggnation was Revision3's flagship video podcast produced weekly. It was hosted by Kevin Rose and Alex Albrecht, who had previously hosted TechTV's The Screen Savers together. Its main purpose was to discuss some of the top stories from Digg, the social news and bookmarking website developed by Rose and others. The first episode "aired" online on July 1, 2005. The format of the show usually involved Rose and Albrecht reviewing beverages, mostly beer, but occasionally tea, coffee, hard liquors like Vodka or Whisky at the opening of the show, which they consumed throughout the show, followed by...
 
@davidism cool
 
DSM
It's right at the point where it feels a little too "look at me!"-ish. Saw it in a code review and haven't decided what I think.
 
@DSM maintainable?
 
@DSM Personal opinion - I wouldn't bother and think it harms readability a tiny bit.
 
4:37 PM
We're still at the shorts, tshirts, and flip flops phase. I will cling to it desperately.
 
@JGreenwell They had packed live shows at big conferences. A friend and I went to one freshman year.
 
It does look like "Here's a clever way to use lambdas in Python" to me.
Right - weekend ahoy. Bye all
 
DSM
Rhubarb for JRS.
 
I wasn't in the country when it started so first caught it on re-runs when friends of mine showed me "cool stuff you missed" and it ended not long after that point - so don't remember it in its hayday @davidism :)
 
Seems like a weird structure to return, is it to allow different f functions to be applied to the data, and you can see what each one was?
 
DSM
4:41 PM
@RobertGrant: no, it's just that f is the short version of a longer name, and the author didn't want to type the long name three times. He saves 13 characters by using the lambda.
(I haven't spoken to him, this is just my supposition.)
 
Morning everyone
 
But isn't D assigned to the function?
Well, something that contains the function
 
DSM
In [26]: (lambda x: {"itself": x, "twice": x*2})(10)
Out[26]: {'itself': 10, 'twice': 20}
@RobertGrant: no, it works like ^^
 
Yeah but instead of *, it's a function inside x, right? I just meant are you doing 'D':x to keep that function around in a closure
 
DSM
4:44 PM
x is a DataFrame as it happens, so we get a dictionary containing three dataframes out. No function persists.
 
Okay
So what's 'D':x for? That's actually all I should've asked :)
 
DSM
This line gives us a dictionary containing D(aily), W(eekly), and M(onthly)-sampled data.
 
I really need to learn that technology then. Sorry :)
Looking at it with no knowledge of the API, I thought it was all custom code that looked really weird
 
adler32 returns a uint32, but the problem is that that's out of range for postgresql's integer type, which I guess is int32 (signed).
 
@davidism bountied
@davidism use bytea
 
user559633
4:58 PM
@corvid If Microsoft really cared about saving energy, they'd just shut off Azure
 

« first day (2141 days earlier)      last day (2812 days later) »