« first day (1404 days earlier)      last day (3769 days later) » 

16:01
@Ffisegydd I don't suppose you use OAuth2Client ? or GFlags?
Neither IIRC, davidism wrote it up himself using requests. There are some Python libraries that handle OAuth but I think OAuth2 is lacking.
Awww man ;p
I guess Google will have it documented somewhere.. I'll go trudging now I suppose
@Stormie I have used both
Oooooh :D

I'm getting a warning: This function, oauth2client.tools.run(), and the use of the gflags library are deprecated and will be removed in a future version of the library.
Any ideas on what I should use instead? I'm not aware of anything else I can use :(
You should be using run_flow
16:08
Ignore me, I realised you linked it
I do "oauth" by making the specific calls described in the stack exchange api docs. So I don't really do oauth.
All the libraries I found seemed to behave incorrectly, each at a different point in the process. And the documentation was lacking.
@DanielRoseman What's the difference between run and run_flow ?
The oauth2client source code has this at the top of the `old_run`:

"""This module holds the old run() function which is deprecated, the
tools.run_flow() function should be used in its place."""
tbh I have no idea what the difference is, but it only took a few seconds to find that
Well.. I was about to google.. c:
At ~10 lines of code, it wasn't worth it to get the libraries working.
16:13
buh. Shouldn't debug mode imply "rebuild on reload" in flask?
flask-rauth is okay for OAuth2, it's not particularly challenging to get set up
I've already finished setting up this run_flow() malarky, was waiting to see if it worked
xD
One sec... the electrician is doing some checks, so switching to mobile tethering, brb
okay, am I still here?
4
yes
Maybe
16:20
@IntrepidBrit oh... okay, I'll try again
Who said that?
They went that way ☛
Tis a visitor, knocking at our chamber door.
Only this, and nothing more.
on stackoverflow, can you turn on email notifications for when a question receives new answers?
16:23
I can, can you?
If not, try Kandoo
Now that I've changed my OAuth to run_flow() it breaks when I run it from outside of the class. :(
run.py [-h] [--auth_host_name AUTH_HOST_NAME]
              [--noauth_local_webserver]
              [--auth_host_port [AUTH_HOST_PORT [AUTH_HOST_PORT ...]]]
              [--logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
run.py: error: unrecognized arguments: AdminTests
@Kevin Would have starred that poetry if it was on a single line ;)
@davidism Muhahaha, I copied the hand :)
Dang. Well, that star would belong to Poe anyway, so it's all the same to me.
Does he come on Python chat too?
16:31
@IntrepidBrit Hey bro! Whats up?
@GamesBrainiac Nowt much. Running on fumes. Only had a couple of hour naps xD
No, the plutonian shore doesn't have Internet access
So not being Mr Observant today
@IntrepidBrit Same here, I had 4 hours last night. I got exams day after. Useless courses, really.
Yonself?
16:32
Well guys, I'm off now
I'll most likely come back tomorrow, it's rather entertaining in here ;)
Have a nice day. Or evening. Whatever time zone applies.
Evening, thanks :)
it's always morning in corvid land
See ya'll
@Stormie ciao for now
-4
Q: Python for your girlfriend?

aaragonSay you know how to program, but your girlfriend has absolutely no idea about it. One day she says: I'm so tired of combining these Excel by copy/pasting, it's really the worst job ever. You tell her learning Python is probably the best investment for her current job, and you decide to help her. ...

Promising title, bad question :D
Relationship advice from @Antti: "send girlfriend to chat"
10
@vaultah I figured that question would be about how to program a girlfriend in python
why not :D
Damn, I really wanted to see what that question would be
It's removed
16:53
lol, that was great
And Antti's comment made it
bbiab attending a webinar on data analysis
Wow - that's a relief... fantastic news regarding electrics in this old place
@davidism is that deleted, or does it need deletion?
It's deleted
It's deleted, I just happened to still have it open and took a screengrab.
17:00
never mind... didn't see the link already posted
Damn it all, I leave for ten minutes to heat up lunch, and I get a message from someone who's looking to hire me, then he disappears before I get back
bahahaha in this webinar and the host just said "And welcome to people from Netherlands, Europe, ..." Sorry Dutch people but you're no longer part of Europe.
Is he American? We have no idea where the Netherlands are.
She is
Or sounds it
Our geography textbooks just have a big ol question mark.
17:03
Maybe Canadian.
The Netherlands is deep within the Earth's crust, right? No, wait, that's the nether world.
Isn't the Netherlands near the country of Benelux?
(Yes this is a joke)
Can we get a consistent stance on the pluralization of country names, please? Shouldn't it be "Netherland"?
You could say Holland
can you access the flask reloader and give it tasks to do on every reload?
17:09
@TheSoundDefense You shouldn't
Netherlands and Holland are technically different things
Though don't ask me how, ask Martijn possibly
I think Holland is a region within the Netherlands
I just looked this up on Wikipedia. Holland is a province of Netherland.
Or, two parts, if you count north and south Holland separately.
I want to live in Amsterdam ._. such a nice place
I want to live in the land of the ice and snow, of the midnight sun where hot springs blow
17:12
What's the most popular synonym for "compatriot"? It sounds weird
@vaultah comrade! :D
"compatriot" - lol, had to look up what that even means.
Are you a viking, Kevin?
@vaultah mate? haha
I don't know, can we say co-citizen?
17:13
fellow citizen
Fellow citizen makes you sound like a superhero
4
hehe :p
@corvid Only on the inside.
Okay, thank you all :)
I always suspected as much
17:16
that's my good deed done for the day
smell y'all later
It only surfaces as a penchant for furry hats, and a dim feeling that thousands of men with swords are shouting at me when I'm emasculated by someone
@IntrepidBrit we'll smell you coming tomorrow scallywag :)
Umm... why don't laptops come with 2 hdmi outs
suppose I could use the VGA out for another monitor, but umm
Economic forces decided that you should only have one
Pet peeve - The American pronunciation of "Python"
@JonClements That's my setup at work. Doesn't make too much difference in quality, to my eye
17:19
@Ffisegydd How do non Americans pronounce it?
too much w after the O, I suspect? Pythawn?
Pyfun
As opposed to "Py-th-OOOOOOOON"
Ok the number of Os is slightly overboard
Nope, that's exactly how i say it!
Maybe it's regional. In the Flying Circus intro, Cleese practically pronounces it with an E
Yeah with an E isn't too bad
"peeton" in Russia. It's awkward because that's a translation
Nobody cares about Monty Python
(in Russia)
@Ffisegydd interestingly, I haven't seen a charge for the google accounts we've got
O.o?
Hmmm
And by those 3 messages above I meant the name of programming language, not the word itself
@Kevin I had to go see, youtube.com/watch?v=-rutX0I6NxU
at least in that intro it is "right" :D
17:29
Webinar guy has just given out his api information for NY Times.
That's gonna get abused...
Hmm, either I'm misremembering the intro, or there's another variant
@Ffisegydd edit it out with something generic and flag for a dev to delete a revision
Probably the former. I'm running on unreliable hardware.
No no I'm watching a webinar
17:30
And the guy streaming it has just shown the 100 or so people his api details
what an idiot :)
Other than geography, pronunciation, and security, how is the webinar?
Good
It's about Data Analysis using purely command line tools
The python command line :)
No linux
But also using some Python
17:35
@Ffisegydd @davidism I was wondering if we should assign the sopython app to the R.A.B.B.I.T user (which we'll get up and running eventually) - that way we can share its password and set up multiple logins for it... I'm just (probably overly) concerned that the stackapp is associated to my SE account, and that it shouldn't need to be
(Damn it if we change the owner then we can't frame him for the murder...) Yeah sure cool @Jon. Would you mind just holding this axe for me for a second? That's it. Make sure you get a good grip of it with your fingertips.
Err... I don't have any fingers :(
Paws, whatever.
And can I borrow some of your DNA? Some hair will do.
I'm...uhh...gonna put it in a locket?
It's been warm weather, I've been malting all over the place - just pop round mine - plenty of DNA (especially hair) to find
"And while I'm faffing think about your favourite programming language and think about how many lines of code doing this would have taken you compared to using the command line." - I'd have done it a lot quicker in Python mucka...
17:42
LOC as a measurement of productivity? <blink> Abandon webinar </blink>
Huh, just got 3 of my questions downvoted at once, is this happening to a bunch of us?
You're the third person to be affected today. Or more, I haven't been paying full attention
4-5 people I think. I saw someone in here with the name "Sudan Hussein Muhammab bin Laden" earlier though.
@davidism something's going on... quite a few random downvotes for room members today
Should we report this?
17:44
The more people are affected, the more glaring the event will be to the serial downvote scanner :-)
@Kevin it doesn't do cross user
IIRC
Gotta love it when trolls lack the subtlety they need to survive
This would need to be flagged for someone to look at manually.
Ok, I suggest doing that
The funny thing is it happend at the same time I got an upvote+accept, so I ended up ahead by 19.
17:45
@Ffisegydd the mods don't get to see actual votes, only the devs do... and if it's sufficient to trigger an alert, the mods will be alerted and investigate anyway
@Jon but they might not correlate so many users. For example I've only had 3 downvotes today which is probably not enough to trigger it (for example). If everyone else has similar then it won't be triggered but in effect a lot of people will have been affected.
Interesting technique here - using the Default Mutable Argument behavior to implement simple memoization. I usually just use a decorator.
I think we leave it until tomorrow at least.
Give the script a chance to reverse things.
You could try it of course... all I'm saying is that at the moment it might not be significant enough to escalate to the staff
On the other hand, it may be happening to others who don't post in chat to establish a pattern. I agree we should wait 24 hours though.
17:49
umm... struggling to remember the password for RABBIT
RABBIT?
RABBITPASSWORD?
tortoise
@davidism and if it is, the mods will get an alert and potentially delete the user, reversing all votes anyway
ahhh got it
@R.A.B.B.I.T finally!
17:52
Ah, it's alive!
@Peter nope - that was just me trying to remember the password for the account
@JonClements :'(
@Peter she's a few months off yet mate... but you'll have her back :)
I don't know what I "can't wait for".. is it the new season of Doctor Who? or the return of my beloved R.A.B.B.I.T.?
<excited />
@Peter definitely Dr Who right now :)
it's an 80 minute episode as well
17:54
aaarararggghh :D
Is RABBIT open-source?
Doctor Who's actually been cancelled.
@vaultah the code base for RABBIT (at least in Python) is lost
Seeing as RABBIT is not canceled, only on temporary leave of absence, we have a clear winner.
It's ok @Peter...I'll always be with you...in here points to Peter's heart
17:59
Cue uplifting music.
> Hermione, you really are the brightest witch of your age
the very next line in the script of HP/3
:D gotta love a bit of Gary Oldman.
Incidentally @Ffisegydd is an awesome guy.
Since poke left the number of cute animals in this room has dropped significantly.
user559633
@tristan that's just pure evil, that is ;)
user559633
18:04
it's my new test image :)
<thumbs-up />
user559633
user559633
there, that's cuter
Time for some Battle Royale
@tristan which reminds of: I g2g walk Coltrane..
bbl, rhubarb
18:06
@Ffisegydd real life - or watching the film?
@Peter rbrb - same hi to Colt for me :)
Film :P
@Ffisegydd fine choice sir, fine choice
I've got "Training Day" on in the background
I've read the book a few times, I think I've seen the film before though I was pretty drunk.
DSM
DSM
For the record, it took about an hour and a half.
@DSM that's close to 48 mins
DSM
DSM
18:09
Have to clean up now-vestigial code later, but we're back to passing the test suite. I wish my productivity didn't come in these bursts, but it's always been that way and I'm far too old to change now.
Well, that's only 72 "you could re-claim PPI payments for the loan you had" text messages since 9am
well, that's not true, 7 were "you could claim compensation for the recent accident you had!"
DSM
DSM
Everything after the first fifty or so seems superfluous.
How nice it was of a mate of mine to use my mobile number for something the otherday
stackoverflow.com/q/25411163/2475084 is getting quite the attention today
I doubt it's a coincidence it's two separate people within hours of each other wanting to do the same thing... must be an assignment...
18:21
seriously. I remember I ran into some a question that was eerily close to some assignment I had in a systems course... and then I looked at OP's question history and his questions were eerily close to the syllabus it had
@Al.Sal we once encountered a question which a student had taken a picture of a question on their exam paper and posted that as their SO question :)
extreme homework questions...
DSM
DSM
There's one Python voting question which comes up every year which is used in a University of Toronto course. That's how I know harvest is coming.
@DSM are you like me, where you've seen so many questions over the time you've been on SO, you just recognise one, and just think: "okay... this is the first of many from the same course we're going to have today"...
I've always wanted to identify the course the user is secretly asking their question for. "Does Prof Anderson know you're crowdsourcing his assignments for CS 403"?
Then countdown to post deletion in 4,3,2...
18:25
I did something like that when I realized what this guy was doing... the comment was promptly deleted!
DSM
DSM
@Jon: yeah, you can recognize the feel of one..
@Kevin: I once did a fair bit of digging to find where this one came from, although it's been edited beyond recognition.
Nice.
DSM
DSM
Probably wouldn't have bothered if the OP hadn't gone the deletion route. The Streisand Effect at work..
@Jon: oh, I wonder if it's the same photograph-question guy that I remember. I commented that he wasn't really cut out for a life of crime, because he signed his exam before taking one of the pictures..
@DSM umm... I'm just having a look through my SO->Deleted bookmarks
Universities should spend a semester teaching "how to ask a question that Internet strangers will actually want to answer". It's beneficial to all parties.
18:31
I keep some as they're humorous and made me chuckle, others as spam, and others as possible use for a training set for the nidaba project
DSM
DSM
I bookmark some bizarre ones sometimes, just to convince myself I didn't dream them.
considering the TAs who grade the exams are the same that probably use SO even /more/... we have some villains at our hands boys and girls
Haha, I remember that one. "i need to know everything before i start"
Kind of a Zeno's paradox there. Surely before you start to know everything, you need to learn everything you need to know before you start knowing everything?
It's prerequisites all the way down
DSM
DSM
I always wondered why I didn't seem to be able to pick up new knowledge. It's comforting to know it's because learning is logically impossible.
18:35
@Kevin if you've just caused everyone's heads to burst when we just put new carpets down in this room, you're cleaning it up buddy
I told you to buy brain colored carpets so it wouldn't show :<
user559633
:( i'm not a 10k
I'll take a screenshot
@tristan stop slacking then! :)
"I don't have a Mac so I can only make aneroid apps." Aneroids? I think you can get a cream for those at the pharmacy.
Wow that is an amazing question
user559633
@JonClements heh, no way to compete with some of the python answerers
user559633
and i don't want to do CSS or php questions
user559633
you know you want to hit undelete too
18:51
@tristan well these days, I don't answer much - so you don't have to worry about me :)
I use to be #1 on the top Python answerers for a long time before Martijn got active :)
I invested time in getting this room going instead... it's been more than worth it
user559633
:) yeah, this room is pretty good.
Just gotta carve out a niche
Not quite sure how you mis-spelled "amazingly awesome" as "pretty good"... but I'll let you off this one time :)
There's nothing quite like watching Japanese teenagers butcher each other.
@Ffisegydd it's certainly a good film - if you dismiss some of the more violent scenes - there is a moral etc... aspect to it
19:00
The book is better than the film.
That's normally the case
When is it the opposite? Hmm, Forrest Gump maybe?
Umm... is anyone else getting that strange distortion?
Not me
user559633
19:03
nerp.
user559633
i think it's related to the janky JS refreshing in chat though.
@JonClements oh, he really appreciated that ;)
btw cbg (for the third time -- at least -- today)
19:17
Yo!
Word.
if someone has a few moments, can you explain to me what is happening in this return statement ?
return sorted(list_of_numbers)[-n:]
Very weird - on mobile as going out for a mo in a bit... seems to have sorted itself now though
@Fuchida it returns the last n items from the sorted list
the sorted list returned then the slicing it applied to it ?
19:28
the entire right side is evaluated before returning
>>> mylist = [1,2,3,4,5,6,7,8,9]
>>> mylist[-3:]
[7, 8, 9]
So that's what the slicing does, so apply that to a sorted list
@JonClements browser? OS?
davidism @TheSoundDefense oooooh roger that !
thanks for the assist
Yep, thanks @davidism also
I think since there is no explicit assignment, it threw me off
19:37
@Ian was using W8.1 and latest Chrome at the time
@JonClements Your graphics card must be failing. Better to just throw your computer away now.
must... adopt... GERMAN SHEPARD PUPPIES
Poor question, but I think the problem/answer may be more subtle than I thought. Any input? stackoverflow.com/a/25413157/400617
Anybody getting 3 random upvotes to match the 3 random downvotes from that possible serial voting earlier?
19:53
@davidism I just used .seek(0) and it worked for me, as long as I saved in notepad or whatever... hm
user559633
@davidism i got an upvote with no change in rep
It is weird how some people come to questions like that
Didn't work for me, seeking 0 still showed the old file without the new change. (On Linux)
Like, why would you even need to read again from the file if you just wrote to it? You know what it says
I think what he really wants is a FIFO
19:54
what's wrong with that question?
I'm on windows... yeah, worked with vim and notepad. weirddddd
Possible XY problem there. Maybe he's trying to do inter-process communication using a file to transfer messages
If he closed + reopened the file, he wouldn't know what parts he's already read
Python dictionaries aren't updated atomically, right
I think it's almost definitely an XY problem
ah he commented... the truth emerges
Too bad I don't know what "syslog" is
20:00
it's a logging daemon for linux
Syslog is a standard for computer message logging. It permits separation of the software that generates messages from the system that stores them and the software that reports and analyzes them. Syslog can be used for computer system management and security auditing as well as generalized informational, analysis, and debugging messages. It is supported by a wide variety of devices (like printers and routers) and receivers across multiple platforms. Because of this, syslog can be used to integrate log data from many different types of systems into a central repository. Messages are labeled with...
Knowing nothing about Linux, I bet the answer is, "pipe syslog's output directly into your script's input, instead of piping it into a file that your script reads"
0
A: Matplotlib tight_layout causing RuntimeError

Saddam bin Muhammad bin LadenHi fizzygood please contact me here I want to speak with a moderator, I am Sumer Kolcak http://www.liveleak.com/c/SUMER---KOLCAK

And yes I got 3 random upvotes.
flagged - let's see if that attracts a moderator ;-)
I was gonna flag it and explain the whole thing.
flagged
and deleted by minitech -> user gone too :D
off to bed
20:06
Ah ok, I went into Tavern to ask.
rbrb @Antti.
Well the user was removed, but that just removed the 3 upvotes, not the downvotes from earlier.
If they remain then we can flag a mod for intervention after the script has ran.
I flagged the new "answer" to your question.
He says the votes should be invalidated when the script runs (speaking to Brad in Tavern)
english again.. how would you phrase this: "add pointers to NULLs" or "add pointer to NULLs" or "add pointers to NULL" ?
(I vote for the last one -- but still curious)
20:13
I don't know if you can have NULLs?
In that case I'd imagine the last.
I prefer the singular NULL here
and plural pointers?
yeah
then I guess it is settled -- it has to be the last one -- thanks guys ;)
20:14
It's like "letters to Santa".
many letters, one Santa.
^ +1 for the good example
There can only be one! Raises broadsword, is struck by lightning
Yea I also go with letters to Santa
Getting close to that 5k!
It still disappoints me that the simplest answers provide the most rep.
Sounds like you need some 80s montaging.
20:20
Complex answers don't get rep because they're too complicated for the reader to go "yep, this is right" and upvote on reflex
I remember spending like an hour on one several-paragraph answer I was really proud of and it got like no attention
Whereas 99.9% of readers can verify "concatenate two strings using the + operator" without even having to look it up
Too obscure I guess
aha... have just spent 10 minutes wondering why my broadband was down
Why was it down?
20:23
I'm closing in on 3500, 5000 is a ways away
@Kevin I have an extender in the conversatory - and forgot to put the fuse plug thingy back into the box while we were doing electrical tests
I have never heard of a conversatory. My house is obviously not classy enough.
I was going to say, the only conversatory I've ever seen was on a Clue board.
I send a letter to santas
But that's a conservatory.
20:25
@Kevin yes... I typo'd
Either one really, I lack both.
I send one letter each to Santa and Satan. That's what they call "hedging your bet"
I figure at least one of them would be amused by my antics of the previous year.
Although "conversatory" sounds like a good idea... a separate place to hold conversations perhaps?
It'd be one of those domed rooms where you can whisper on one side and hear clearly on the other.
@davidism don't know if you saw earlier, but cleared the balance for sopython... card arrived and all that
20:31
yep, I downgraded the threat level to lime green
a "lime" green? How specific :)
it had been at purple with yellow stripes
not pink with yellow dots?
or was it yellow with purple stripes...
I think I need to sort my threat levels by luminosity, then complexity.
@davidism seems far more logical than the DEFCON system
20:34
We will design the RABBICON system.
@davidism as in a spam alert is: "LUCID PURPLE WITH PICTURES OF RABBITS DANCING AROUND WITH INTERMITTENT LIME GREEN LINES" ?
yes, I think that's perfectly clear
Yet again, we've solved another world problem. Now if only the world would listen to us regarding the obvious way to do threat alerts... sighs
"Drought in San Diego" is lettuce on a blue background with big fuchsia x's
@davidism we can signify complete M.A.D by playing youtube.com/watch?v=h37KQu64RY4
20:44
"Accidental magical leak" is octarine carrots on a black and which checkerboard
Don't panic everyone, the current threat level is only a blue and orange clockwise spiral.
Sounds safe to me
user559633
20:57
stackoverflow.com/questions/939326/… man, look at javascript tag go
user559633
pile of duplicate, bad answers
c'est la vie?
Ouch - just got a "-40 user was removed"
yep, same
still waiting for "+6 reverse serial downvotes" though
just going through the close vote queue with the hammer
21:13
stackoverflow.com/questions/25414434/… I don't know how people come up with regex's like this.
@TheSoundDefense when you reach a regex at that point, it's much more prudent to be using pyparsing/parsley/ply
user559633
user559633
keeping in the "not many cute animal pictures in chat"
22:16
@Kevin's list.append(Locke)
22:59
Curious: In Django, is it possible to filter a queryset of Users (AUTH_USER_MODEL) by whether or not they are authenticated? (is_authenticated())

« first day (1404 days earlier)      last day (3769 days later) »