« first day (1615 days earlier)      last day (3351 days later) » 

3:00 PM
@PM2Ring if I have an optional argument, won't that mess it up?
 
Want to master coding in 2015? Learn the fundamentals of full stack development in 6 weeks: PHP, Java & More! - umm.... yeah, right
 
Sure, so you need to have some way to indicate that the optional argument isn't part of the list. You could use *nix-style - &/or -- option syntax.
rhubarb
 
@JonClements I like the way it starts with a goal the course won't fulfil Want to sleep with supermodels in 2015? Learn the fundamentals of asking out unattractive women: drunk ones, ugly ones & More!
 
Does anyone know where the bug tracker of Chrome for Android is located?
 
@vaultah Jupiter? But if you're patient - apparently it's on its way to meet us - it'll turn up soon
 
3:15 PM
@DSM quick one (somewhat related to our discussion yesterday): am I correct in thinking that if you aggregate using 'mean' it will use the normal pandas mean (which skips nans). Regarding this answer.
 
DSM
Yep.
 
Ta chuck.
Though I actually get a different result to the OP even when using np.mean (i.e. it doesn't use the nans). Wonder if it's a difference in version.
 
DSM
I don't quite follow what the OP is doing, and without an example I can copy and paste I'm far too lazy to figure out. :-)
Didn't there used to be a "recent changes" panel on trello?
 
Yes.
 
It's to the right, you may need to press an arrow labelled "Show Menu" to open it.
 
DSM
3:22 PM
Ah, there it is.
 
made pretty cool command line python utility, automatically uploads gists of your files from CLI
 
DSM
Word question of the day: I've just read that "eavestrough" is a Canadianism, when I thought it was just a common word. Do the non-Canadians here use it?
 
No :D
 
@DSM never heard of it :)
 
3:25 PM
I have a tingling of recognition, but I have no memory of me or anyone else using it.
 
Do you think it means "spy on someone else's conversation"? :)
 
DSM
So what do you call the trough that goes along the eaves?!
 
We call it a gutter.
 
Misplaced
 
"gutter"
And yes, that does create an ambiguity between the kind of gutter that goes along the edge of your house's roof, and the kind of gutter that runs between a sidewalk and a street.
 
3:27 PM
@Kevin the later would be a "drain"? :)
 
Oh, the wacky misunderstandings that arise when someone says "Today I saw a wino is urinating in a gutter"
That must be one tall wino!
 
Nah a drain is like a grating
A gutter is the bit at the side of the road where the road is lowest
(In my country etc etc)
 
@DSM my cabbage man! What have you started!
 
DSM
Do you have the expression "down in the gutters"? That wouldn't make much sense if you think gutters are in the sky.
 
we have "down in the dumps"...
 
3:28 PM
Er no :)
Yeah dumps
 
@DSM there's "in the gutter(s)" - no down prefix I'm aware of
 
The bit at the side of a road is called a gully by the way
 
Which also doesn't make sense, because garbage dumps tend to be piled high up, usually even taller than your typical gutter.
 
And the holes/grids that water falls into (and then goes underground) is called a drain.
 
DSM
No, down in the dumps is being sad. Down in the gutters is when you've lost everything and are drinking cheap alcohol out of paper backs and sleeping, well, in gutters, and on park benches.
 
3:30 PM
I guess the equivalent would be "on skid row" or "on the skids"
 
Wikipedia says gutter is the UK way of saying it :)
 
Wikipedia is wrong.
 
:)
Maybe Gully is the Welsh way of saying it
 
Did you see my CV? 6 years of Civil Engineering experience boyo :P
"Gully" is the way that people who actually build roads call it.
 
DSM
I'm honestly astonished that people don't use "eavestroughs". That's like finding out that you don't know what "roof" means, or "counter-top".
 
3:31 PM
How are you sounding out gully in your head? Is it kind of like "bully" (English), or kind of like "XHJSAKDSDF" (Welsh)
 
What is a counter-top? Is it just the top of a counter?
 
It's the worktop
Or work surface
 
Counter-top is a Magic: The Gathering deck archetype, characterized by its frequent use of counterspells and the card Sensei's Divining Top. Generally considered a miserable experience to play against.
 
Yeah makes sense. I'd just say "counter".
 
@Kevin good commitment there :)
Counterspell - awesome, but two blue? Get one in your hand early on and it sits there
 
3:34 PM
Now that I think about it, the archetype name may have been specifically chosen to be a kind of pun on the word "counter-top", even though there's no real parallel in meaning.
MTG has a long history of deck names that have nothing to do with the deck. There are a good half dozen popular tournament strategies named after breakfast cereals for no reason.
 
DSM
Okay, how about this: something like a pencil, and shaped just like an ordinary pencil, but it writes different colours and you use it for sketching in school. It's not the waxy similar tool that children use. What do you call it?
 
Pen?
 
Colored pencil?
 
DSM
@Ffisegydd: no, because it's not ink.
 
Pastel?
 
3:36 PM
@Ffisegydd I think gully is the Welsh version of gutter. Or were you working for an English firm?
 
Wikipedia also calls it a "pencil crayon" which I have never heard in real life.
 
DSM
It's a freakin' pencil crayon! What language are you people speaking!?
 
@RobertGrant Multinational firm :P
 
@DSM crayon
Not pencil crayon though, just crayon
 
pencil crayon? wat?
 
3:37 PM
@Ffisegydd which nationality did you work with? :)
 
English :P
 
"Unlike graphite and charcoal pencils, colored pencils’ cores are wax-based..." Woah, really? I thought it was, like, charcoal plus food coloring or something, I don't know.
 
Ah yeah I'd call it a coloured pencil. Notice the U there.
 
@Ffisegydd and they weren't just being nice?
 
Narp.
 
3:38 PM
OH a coloUred pencil! Sure.
 
I die a little every time I adjust a plot in mpl and use color='red' ;-;
 
DSM
This is starting to be very unnerving, making my way through this list. What do you call the white sweet sugar you'd use when baking a glaze?
 
Icing sugar?
 
DSM
Finally, a point of agreement.
 
Oh, you mean Fisherman's Tot?
 
3:39 PM
Not applicable, as I don't bake.
If you're referring to the outermost layer of a cake, that's just "icing"
 
In Spanish it's "azúcar flor", which is a pretty name.
 
This is a fun game, more!
 
I wanted to link to the "British call 'pencils' 'whimsy flimsy mark and scribblers'" meme here, but I couldn't find it after ten seconds of looking.
 
DSM
The white powder you put in coffee which isn't milk?
 
Literally "flower sugar".
 
DSM
3:41 PM
@Zero: that is pretty.
 
@DSM sugar?
 
Cocaine Sugar.
 
@DSM cocaine
 
:D
 
3:41 PM
Salt. Am I doing it wrong :<
 
DSM
...
We call it "whitener", but I'm learning that Americans call it "creamer"?
 
yeah, it's creamer
I don't even drink coffee.
 
We call that a tribute to crappy corporations, and then put milk in
 
Yeah.
 
Creamer is usually a liquid 'round here
 
3:43 PM
Be nice if it came with statins mixed in
 
DSM
@Kevin: yeah, that's the same stuff. Often comes in little packets, you peel off the top and pour.
 
Oh, the crazy north, where creamer comes in packets and milk comes in bags.
 
DSM
Okay, how's this: what do you call the kind of screw heads which have squares, not Xs?
 
Squares?
 
a pain in the butt
 
3:44 PM
No name.
 
Don't really have those. Like for an Allan key?
 
No name. Yeah Allan is the closest.
 
All I know are the "plus" and "minus" screws.
 
DSM
Robertson! Good heavens.
 
On the other hand, I call X-shaped screws "plusses", which I am sure is wrong, so I'm not the domain expert you need to ask
 
3:44 PM
Yeah and Torx
@Kevin Philips
 
There's a difference between a phillips screw and a crosshead
 
@Kevin PHILIPS
(It's getting late)
 
DSM
This list says that the word "pablum" is used more commonly in Canada than elsewhere. Do you lot use it?
 
Never heard of it.
 
3:46 PM
Bonus localization: we call them Allen wrenches rather than Allen keys.
Despite looking virtually nothing like a wrench
 
Is "pablum" like salesperson spiel?
 
I know the word "pablum" but I've never heard anyone use it out loud
 
Is it the plural of Pablo?
 
I've never heard that word until now.
 
DSM
It's a kind of soft cereal for children. We use it for that and also to mean ideas which are, well, mushy.
 
3:47 PM
No, it's the singular of Pablae ...
 
Pablum Honey
 
I love honey.
 
It strikes me as the kind of word you'd read in a 1900's newspaper
 
Did you know that most British people can understand American just fine, but most Americans have no clue what the British are saying?
 
DSM
When you're ordering a hot dog or hamburger or something, and there are many options for condiments and additions, and you want them all to be added, how do you express that desire?
 
3:48 PM
You can call an American a wanker at will, they have no idea what you are talking about, for example.
@DSM give me the works.
 
I still only have a 70% success rate when I watch Doctor Who episodes with Rose in them.
 
+1 for "give me the works"
 
@MartijnPieters America funds the porn industry; I think it's that they don't find it insulting :)
 
What level of profanity is "wanker"? Like, PG-13? If it ever appeared in a Harry Potter film, then a good percentage of Americans will now be familiar with it.
 
DSM
You'd never say that you'll have something all-dressed?
 
3:50 PM
Incidentally, it took me a while to figure out what was going on in the first HP book when Harry puts on his "trainers" and "jumper"
 
@Kevin maybe 15.
 
Yeah probably 15
@DSM no
Even "the works" is from the US, I think
"All the fixin's, hon" - that's the UK way
 
"Give me everything apart from the salad cream cos that stuff is mank"
 
Americans know what wanker means. It's just... such a funny word we don't care. It's like something a leprechaun would say.
 
Yeah, just "Everything, please"
 
3:52 PM
Right - time to remind myself how crap my inkscape skills are
 
DSM
And one to end it: do you use the word "pogey"?
 
No.
 
No.
 
No.
 
DSM
3:52 PM
This has really been an eye-opening conversation.
 
No :(
 
No.
Ah, it means "dole".
 
You old pogey
Ah, bad guess
 
Ah ok.
 
DSM
@Zero: there's a bit of a distinction between EI (employment insurance) and "welfare" (income assistance), with the latter usually associated with "dole".
 
3:54 PM
There's quite a few good British ones.
 
DSM
I'm starting to wonder if we'd be able to have a conversation in person at all, or if I write far differently than I speak.
 
@DSM How dare you! My mother was a saint!
 
I reckon I could confuse and bamboozle most of the Americans with a mixture of my accent and deliberately thinking of less-common-British words.
 
(is a fan of "howling", in which neither the H nor G are pronounced, and the stress is on the first syllable)
Also it should be said in a slightly incredulous voice.
 
"I was on the blower to me old man the other day. He was saying how he'd had a barney with his mate George after having a knees up down the Crown." -> "I was speaking with my Father on the phone. He explained that he'd had an argument with his friend George after a party at the Crown public house"
 
DSM
4:00 PM
"barney" we'd never use but would recognize, but "knees up" sounds very strange. Sounds like a dance to Canuck ears.
 
How do you dance to ears?
(It's not got any earlier)
 
DSM
Very quietly, and with lots of butter.
4
 
I'm starring that to mystify future generations
 
Most terms aren't too hard to decipher using context clues. It's the contextless ones that are difficult. Like when someone comes up to you in class and says "have you got a spare rubber?"
 
Hah yes
 
@Kevin do that happen a lot to you? :p
 
^ Incredibly relevant
 
DSM
Oy, the picture just changed!
 
@JonClements Not personally. I was just thinking of a bit on the Late Show where Emma Watson relayed that exact anecdote. I guess she was studying in America at the time?
 
@DSM I linked a different copy, just to confuse you :)
 
4:06 PM
"I was dossing around having a cuppa down t' caff t' other day. Waited donkey's years for the waitress to serve up, she was right cack-handed, faffing around. Anyway, this gobby git walks in, he goes "Cor Blimey! Did you see the kerfuffle across the road? Some Taff numpty is proper legless, been on the piss all day. Don't worry though, the old bill have sorted him out."
I'll leave the translation of that as an exercise for the reader.
 
@Kevin PG-15-ish, yeah. See en.wikipedia.org/wiki/Wanker, especially the section on offensiveness.
 
Man I miss England
 
:D
 
DSM
A Canadian basketball podcast had a recurring "wanker of the week" routine, and when they became an NBA TV show they switched it to "worst of the week".
 
> Mary Cresswell, an American etymologist, describes 'wanker' as "somewhat more offensive in British use than Americans typically realize"
 
4:10 PM
Fascinating fact: in SA, "n-word" is not a particularly offensive word at all. A different word is very offensive here
 
That matches my own perception, yeah. (in response to the quote I just posted)
 
As interesting as that is @Robert, probably shouldn't say it, it would be easy to accidentally offend ta :)
 
It's a very bad sign when saying something fine is shushed, but I know it's society shushing me, not you :)
 
@RobertGrant I hope it's not "cabbage" - that'd be really unfortunate!
 
Well it's interesting that American stigmas are much more likely to be censored internationally, for no real reason
 
DSM
4:14 PM
Okay, time to get some work done. Hopefully all of those words translate without difficulty..
 
Other than those whose skill level in life is "memorise the things that are meant to be bad" say they should be
Again, not you @Ffisegydd. Obviously, given your ridiculous CV.
I guess I prefer those people to the "Deem whether the number of women in a group is less than 50% of the group" people
Everyone is looking at each other nervously, Rob
Why is he still talking?
 
Speaking about my ridiculous CV, @Jon I linked my CV again earlier, if I link it again could you give it a quick once over?
 
My primary concern with stifling speech of that type, is that in a hundred thousand years, every word imaginable will be in the "forbidden" pile due to the ever-running euphemism treadmill.
Thus dooming humanity.
 
We'll have to invent stupid new words
 
have a smufing smurf day
 
4:17 PM
Like pogue
 
Wow. Kevin you're truly inspiring. You imagine we'll still be around in 100,000 years. I'm not even sure that humanity as a race will see 2100 :P
 
We have to overcome a number of apocalypse scenarios before we can get to "our word supply runs out", but that doesn't make it any less valid a concern!!!
 
@Kevin and the only job will be to keep up with what is now okay and what was okay 5 seconds ago
 
Haha, GM sold 19k cars in February 2014 and only 4.5k cars in this February (in Russia), and now it exits Russia
 
@Ffisegydd of course
 
4:20 PM
Ta chuck.
3 hours ago, by Ffisegydd
https://www.dropbox.com/s/qxwzma204jj2p0o/Pizzey2015.pdf?dl=0
 
How much tar...
Can anyone finish that sentence for me? :)
 
@Kevin Some will most likely fall back out of the pile, you leather-jerkin, crystal-button, knot-pated, agate-ring, puke-stocking, caddis-garter, smooth-tongue, Spanish pouch.
 
could a tarchuck chuck if a tarchuck could chuck tar?
 
Interesting fact: in certain parts of Yorkshire calling someone "cock" is considered a term of endearment. Example sentence "Hey up cock how is thee doing?"
 
@JoranBeasley you win the...fame!
 
4:22 PM
@ZeroPiraeus, I bite my thumb at thee.
 
That is absolutely true :-)
 
Other strange terms of endearment: mucka, flower, and petal.
 
But yes. Humanity's only hope is that euphemism recycling happens faster than the euphemism treadmill. It's hard to say whether that's the case, since we're living right at the birth of the age of political correctness. Ask again in a hundred years.
 
I'm really looking forward to the Riven remake: starryexpanse.com/2015/03/19/reviewing-for-finals
 
Hence the habit of a friend of mine, whenever the cocklemonger came to our table at the pub, to ask "got any crabs on you, cock?"
 
4:24 PM
@Kevin I guess with wealth comes fewer useful (as in, Engineer) jobs, and more "fashion" jobs, be they clothes, Apple things or words
Where it's often just a matter of opinion
 
It's taken me the entire day, visiting several people and filling in several forms, to get one department in the university to transfer money to another department just so the second department can print my thesis out. Bureaucracy...
 
I guess if things really get dire we can just reset language and culture all together with some well placed cognitohazard devices, a la Fine Structure.
 
@Ffisegydd Johannesburg city planning department wouldn't let a piece of land be rezoned because the tenant, Johannesburg city, hadn't paid itself for its water and power
@Ffisegydd I know because my wife was the architect trying to get the rezoning pushed through
 
ooohhh, one more vote and I'll have hit the cap on Meta.SE today.
that's so hard to do since the Meta.SO split..
 
@Ffisegydd ... although if you were friendly enough to use "cock" as a salutation, you'd use "tha", not "thee".
 
4:26 PM
Anyway, it's finally home time
Rbrb
 
speaking of only being reduced to a single word
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
 
@Zero true, I wasn't sure of the spelling of "tha" :P
I don't tend to use the term myself, as living down South people would misunderstand.
 
@JoranBeasley I wish those Buffalo buffalo would stop buffalo Buffalo buffalo. They are mean Buffalo buffalo.
 
@MartijnPieters :-)
 
Can no longer be reproduced / typo.
oh my god I just realized why it's not working... self._traverse_aux was supposed to be self._levelorder_aux, I feel so stupid... Thanks for your help! — Joey Zhang 55 secs ago
 
4:44 PM
cbg! Good day today!
 
@Ffisegydd Nice CV. :)
 
Fizzy, are you a double PhD?
 
anyone here use namecheap?
 
@Ffisegydd Does Windows (under Other computing skills ) in your CV mean the internal working of Windows OS?
 
4:51 PM
@Bhargav no.
@corvid I do
 
I found a dupe for the GCD question:
 
Man! You made me feel happy for a sec
 
but it was tagged with python-3.4 only so I cannot dupehammer it.
 
@Ffisegydd damn that is a very good resume
hopefully you interview as well as you resume
Im fairly confident that your resume will get you an interview (assuming the position isnt already filled)
 
@Ffisegydd One more doubt, Is your ph no XXXXXX only in the copy you uploaded or is that some code which I don't understand.
 
4:55 PM
@Ffisegydd set up the email before? Keeps saying my authentication fails. Using the github student pack
 
@BhargavRao I removed my address and phone number for a copy to be publicly linked.
 
@BhargavRao it's censored :)
 
@corvid I've not setup email no, I use webfaction for everything, just have my domains with namecheap.
 
Well, bookmarking your CV as a model CV. Ty!
 
@BhargavRao can't promise it'll always be there.
 
4:58 PM
Argh! Downloading it ASAP
 
Kinda weird, but okay :P
 
Whenever you are free, can you send me your life story? It will inspire me
 
No, no I cannot.
 
Don't make it weird.
 
5:00 PM
whoah what
 
@JoranBeasley your son?
 
lol no ... I dont know him ... but Joran is a very rare name
he is my R doppleganger
but with 2x the points
 
Kids growing up so fast these days
Before we know it, social networks will target babies as the untapped consumer
 
5:06 PM
yeah aparently he's pretty kickass as ggplot and R
 
I heard the name [ggplot] for the first time today and that kid has gold in it!
 
dang I thought I was the original joran but that guy is somewhere between 3-12 months older than me
 
Looks good for his age
 
5:27 PM
hrm... not sure if excessive use of observeChanges is a bad idea...
 
there really should be a canatonical answer for this
0
Q: Writing an ASCII string as binary in python

aMaI have a ASCII string = "abcdefghijk". I want to write this to a binary file in binary format using python. I tried following: str = "abcdefghijk" fp = file("test.bin", "wb") hexStr = "".join( (("\\x%s") % (x.encode("hex"))) for x in str) fp.write(hexStr) fp.close() However, when I open the ...

 
I pity any user that expects to open a file in notepad and see only ones and zeroes
 
but I want to store my bits ...
no clearly you dont understand ... I dont want to store ascii, I just want to store my bits
 
so, generally speaking, what is the scope of "roles" in a web app?
 
what do you mean?
there is an admin role often
then there is a user role
there are often some roles in between
and theres usually an anonymous user role (also known as guest)
@MartijnPieters are you sure you cant count on that with single byte chars?
'a' is '\x61'
'b' is '\x62'
'ab' is not '\x61\x62'
 
DSM
5:51 PM
@Joran: Python makes no promises about using is between two different string objects.
 
but it does with int objects between -5 and 256 or whatever?
 
DSM
What do you mean by "it"? Python? No, no promises. If you mean that CPython interns some small integers, yes, but that's entirely an accident and could change tomorrow.
 
has anyone seen behaviour other than what I described above in CPython? I understand it is implementation specific and should never be relied upon.
yeah ok
thats what I was getting at
is that small string interning does work like that (although there is no future guarantee of it continuing to work that way, and should certainly never be relied upon)
it was mostly trying to convince a user that 'a' is exactly equivelent to '\x61'
WRT the question linked above
 
DSM
If you mean equals, then just say equals. No need to go down the rabbit hole of identity.
 
yeah ok
 
6:00 PM
@JonClements: you need to use random.randrange(2**10) there..
>>> len(format(2**10, '010b'))
11
 
Yeah... was just thinking that
 
DSM
Could use a while True: loop with rejection.. if you're patient..
Oh, getrandbits is nice.
 
Oh ffs... put dinner in the oven... guess who didn't turn the actual oven on... sighs
one of those days...
 
6:15 PM
@JonClements: someone else made the same mistake, and compounded it by using 0b as the format.
 
@Martijn I saw that and your comment...
 
so now they get a correct output 50% of the time, the other 50% produces a string of the wrong length.
 
I just thrashed out 2**10, '010b' - and then was thinking ummm.... randint's inclusive isn't it?... was checking the docs... as was also thinking I recall seeing getrandbits or similar at some point :)
(so was getting there!)
That's my weekly upvotes just there, so I can not bother to answer for a while now :)
 
No, no, you're supposed to answer more when you get a lot of upvotes, so as to continue your hot streak.
 
re-hey-up
 
6:20 PM
And you're also supposed to answer more when you don't get a lot of upvotes, so as to break out of the funk.
So just never don't answer posts, I guess.
 
DSM
Notre Dame 69, Northeastern 65, even though that's a 3-seed versus a 14-seed and so ND should have won by fifteen. If I'm grouchier than normal over the next while, it's because I've caught the Madness.
Time to go to lunch and decompress.
 
@DSM umm... is "go lunch" a euphemism coupled with "decompress" (meaning unzip!?) - and yeah no, not sure I like where my mind's leading me here... I'll stop now...
 
bah... jinja2 is so much more intuitive than blaze :|
 
Wow... someone even did a recursive solution
 
My fault. Problem got fixed. I was using a very old version of the stripe API — birdy 1 min ago
 
6:32 PM
@JonClements yeah, and didn't explain it all that well.
 
generally speaking, is it better to store a list of ids, or the object itself? At what point would storing an object become not viable?
 
I'm tempted to ask for a 1001-bit long random string now.
 
I was going to write a joke answer with reduce but poke beat me to it XD
I guess the "real" answer is "no, there's no in-built function that does this"
... But there is in KevinScript*! Me: 1, Python: 0
(*as soon as I write it)
 
@Kevin :p
 
6:56 PM
Trying to decide whether to flag this as not an answer. It's effectively "wow that sounds hard, here's a link to a tutorial on something sort of related"
OTOH, the OP accepted it, so...
 

« first day (1615 days earlier)      last day (3351 days later) »