« first day (1553 days earlier)      last day (3620 days later) » 

00:12
@Ffisegydd Shiny! :3
00:29
Oh my, that is just full of crap
00:49
rhubarb
01:44
new design from meta is on the main site now
looks... ok
user2555451
I wonder how long it will take for a Meta question asking "Where did SO go?!"
the "my flags" page is totally messed up
user2555451
Ha, I was just there myself and thought the same thing.
user2555451
I'm not crazy about the super bright blue buttons either.
user2555451
But it looks good overall.
02:25
Is the design of the website "flatter" since like 30 minutes for you too?
user2555451
Yea, SO updated its design. This change was mentioned in this Meta post: meta.stackoverflow.com/questions/277200/…
user2555451
SO is now a colorful Meta.
whoa
I don't like it
but I feel like I WILL like it.
user2555451
I think it's a little premature to take a final stance just yet. I mean, we've had the other site for years where as this one is only a half hour old.
user2555451
But boy are those buttons BLUE!
02:34
I don't understand my HR department. I'm on a business trip for a training at our software vendor's home office. I'm paid hourly, so I asked how they wanted me to record my hours, especially w.r.t. flight time and the two travel days
They responded that the days I'm in class I'll count all the hours I spend from arriving to class until class is dismissed, and the travel days I'll count all hours I spend in the process of travelling
Then "clarifies" that technically I count only travel hours that intersect with my normal work day, so (as their example) if I spend 6am-6pm traveling here (ignoring timezones) I should count my normal 8hr work day, but if I spend 2pm-9pm getting home, I should count my full 8 hours because they don't want to short me any hours.
H.R. signs the email with: "If that does not make sense please let me know."
Does that make sense to anyone here?
02:57
just charge 8 hours a day, I don't think they'll care
what a weird policy though
my company would just pay the 8hrs/day plus reasonable expenses
Yeah that's basically what I wrote back. My flight out here was 4am-2pm and flight back will be roughly the same (I think it's 4pm-4pm because of a longer layover)
Honestly they should just put me on salary and be done with it. I do a lot of stuff on-call after hours that I have to charge them MORE hours to keep track of
Lots of 2 minute phone calls instructing staff to restart their systems when things go belly up
or 5 minute phone calls helping staff reset their passwords or etc
But an extra 10 minutes or so per call to connect to the VPN and document it in our help desk platform, all of which is time they have to pay me and silly details I'd rather not have to keep track of
(and pay me overtime for, mind you)
I'm making probably $5-6k/yr on the after-hours time now. I'd be overjoyed if they offered me a salaried position at $3k less than my current 40hrs+OT take home, JUST so I wouldn't have to deal with the documentation
03:57
Cbg
DSM
DSM
04:14
THINGS ARE DIFFERENT! DIFFERENT IS SCARY!
5
04:30
Help my python-fu is failing me. I've got a namedtuple as a class attribute that I'm trying to reference on instantiation in Python2. Do I do self.__class__.namedtuple, or hardcode the class name, or use some super construct?
or just self.namedtuple I suppose?
probably just self.namedtuple
Yeah, self.namedtuple will be fine
04:55
hey @AdamSmith Thanks again for your help yesterday. Got a design question for you.
one sec @AjGauravdeep, but feel free to type it up
Title:

Steps
Step 0:<any preconditions, like pairing or put on charge to repro>
Step 1:
Step 2:
.
.
Step n:

Actual Results:

Expected Result:


END


Title:

Steps
Step 0:<any preconditions, like pairing or put on charge to repro>
Step 1:
Step 2:
.
.
Step n:

Actual Results:

Expected Result:


END
write com.apple.nanobuddy ForceNoBuddy -bool YES
In this file, i have to parse these bugs written by people.... and file them into a bug filing system. now we need title, rest of the stuff for each start to end .. and once bug gets filed, beside title write that its filed and if its not, file it.
at any point, number of bugs won't increase more than 15 so assuming that one bug takes 15 lines.. total number of lines in this file should not go more than 225 . ~250
this app will be run through a cron job since this file is on cloud and could be updated from many different devices, once the bugs are filed and limit of 15 increases, it will delete old bugs.
so question is should this app on every run(lets say every 2 hour) read this file line by line
or create some sort of data structure like list of dicts.
both are easy and i can choose any, i am just looking to know what a more experienced person would do in this case
05:11
If you have the time, the best thing to do is probably to parse it into something more universal like JSON or XML
if it's something quick and dirty I'd probably just use a dictionary
why not just read it line by line on every run
I might have misunderstood your question. You WILL read it line by line -- how else would you do it?
thought you were asking what to do next?
you are right.. what i meant is while reading line by line do what i gotta do.
and not caring about putting in any data structures and process one bug at a time
I think it'll be easier to do what you have to do by organizing your data first
like I said: if this is something important, I'd organize the data and put it in a standard format like XML or etc so it's more easily usable
thanks adam for helping me make engineering decision
it would look ugly without parsing it to json
05:17
if it's not, organize it into something workable and hack away at it
by the way, do you know any way(if there is magical way) of converting a file to son/xml without doing some stuff at it?
BeautifulSoup or lxml will be your best bet for a module that plays nice with XML
I don't know about JSON
though I'm sure a little google-fu will find it
umm hmm.
 
1 hour later…
06:27
Has anyone been following [Jupyter][jupyter.org/]? Jupyter seems to think it it the next evolution of IPython, but I can't find anything on the IPython website about it, and the Jupyter website is not great
@Oxinabox btw: the format is [text](URL), but no, I haven't heard of Jupyter
but have of IPy?
Yes, though I haven't used it personally
its top notch for testing out a quick idea (for normal development). Or for doing scientific computing (for almost all tasks)
So I've heard!
06:39
Fell in love with the new look :)
06:51
cbg
Cbg
I am failing at quicksort
07:20
Cbg
Finally another robot is in, to give a tough fight to my evil twin's AI engine ;)
@Oxinabox it is ipython not IPy
07:41
Anti Argh wow the namespace is getting full.
07:58
The new site isn't that different.
I barely noticed the difference in fact.
08:19
hey there. anyone up for answering a ppython+json question?
There's a whole Stack Overflow up for it :)
Chuck it on the site
doing that on the side but was wondering if its too small to get a quick answer.
bugs = []
bugs.append({’title’:x, ‘rest’:y})
bugs.append({’title’:a, ‘rest’:b})

was wondering how to get titles one by one.
for bug in bugs:
bug['title']
awesome... thanks a lot
Cbg :)
Is there a blog post for the redesign?
08:54
Indeed, now that I have given it a thought,
I too want a solution for the PY->EXE for windows, preferably 3.4 please :d
another limitation is: I do not want to develop on Windows
Cabbage!
@IanClark There’s only a stupid discussion on meta from November..
Pointing out all the issues that now still exist.
@DSM Different is not so well readable… :(
@AnttiHaapala you might have to test on Windows :)
@poke cbg
Why is the text input box so ugly? :(
How could they mess this up so much? :(
It’s really sad.
09:24
Honestly, I like it.
I like the light style too but it’s still very inconsistent and broken in far too many places.
Do we have a canonical question for “cannot concatenate str with NoneType”?
10:06
cbg
@DSM got a question for you if you fancy a blast-from-the-past stackoverflow.com/q/27981489/3005188 Astrophysics! Woo!
My friend is one of the core contributors to Astropy
heya @jon
Cbg @Jon, how's it going?
Not too bad - just been laid up in bed with some bloody bug
10:38
Going to see if breakfast stays down and see if I can think about doing some work
Umm... has SO changed styles,,,, or is my eye sight going as well :(
Your eye sight is going.
3
Q: Give the old theme for the main site back

GriwesThis isn't really a question, it's a request. I request that you give us the old (a.k.a. actually usable, unlike the new one) theme back, at the very least in a form of an opt-in. (No, seriously, the new theme is just bad. Stop this madness.)

as every time a style changes... :D
Your eye sight is going nonetheless O:)
@Ffisegydd thanks :)
10:43
No problem pup :) Thanks for that link to the ML video. I might watch that this weekend.
No worries - not sure if it's any good, but it figured it could be of interest
anyway bbiab... need to try and get my head working somehow
10:57
@JonClements I love how that answer says that we all had our chance to post feedback, and half of those issues in that feedback thread are still there since November.
11:15
@Ffisegydd hm?
The timedelta post?
Yeah :P
That days vs seconds thing has caught be out a few times as well.
It's okay, I'll wait for the mid-afternoon pandas rush.
@poke I have re-evaluated my opinion on the new design. While I still like it as a whole, I can see some of the inconsistencies you mentioned.
:)
designers are apple-addicts.. the new style is apple-ish, no surprise it has flaws.. :P
Pssh. Macs are beautiful. OS X is beautiful.
@PaoloCasciello Microsoft did Flat first.
11:21
Yeah, iPhone flat does look really weird
@poke yeah but they don't follow m$, they follow apple.. ;)
@PaoloCasciello can't wait til iOS 11 where they invent tiles
@Ffisegydd macs are beautiful. OSX...never saw the appeal visually. Cool that it's a BSD though.
11:47
@Ffisegydd: quick, there's a pandas question!
I won't be gunning for it. :-P
Nah it's too much of a mess, plus it's nearly lunch time.
12:03
I spent hours crafting a stunning looking CV and now this company wants me to just copy/paste the text into a box in raw format D:
Copy a link to the pdf. :)
12:16
@Ffisegydd yeah I did the same :)
in Java, 11 mins ago, by Bartek Banachewicz
@fge except the python community actually seems to be able to use actual reasoning when talking about their language
Just putting that out there.
12:32
Did SO change it's UI or is my browser upto somethin ?
user559633
I think it's funny that SO disallows the comment "what have you tried?" instead of addressing the issue on the other end by encouraging askers to put work into questions
292
Q: Feedback Requested: Stack Overflow design update

JinAs you can see, Meta.SO looks a bit different today. Over the years I've gotten a lot of requests to "redesign" Stack Overflow. I've always felt SO's site design had good usability and was very functional. However, I did and do agree, aesthetically, it could use some polish. Today's new Meta the...

Hi CBG
Yes, the design changed. It was applied to Meta ages ago, now it went into production.
@Johnston cbg.
12:38
@MartijnPieters how do you pronounce your name?
Marty - gin
:)
user559633
The Pieters is pronounced very closely to the English name Peters.
Is j silent?
12:40
@MartijnPieters is it like Peer-ters
@RomanLuštrik no, the ij is one letter.
The IJ (lowercase ij; Dutch pronunciation: [ɛi] ( )) is the digraph of the letters i and j. Occurring in the Dutch language, it is sometimes considered a ligature, or even a letter in itself – although in most fonts that have a separate character for ij the two composing parts are not connected, but are separate glyphs, sometimes slightly kerned. An ij in written Dutch usually represents the diphthong [ɛi]. In standard Dutch, and most Dutch dialects, there are two possible spellings for the diphthong [ɛi]: ij and ei. This causes confusion for schoolchildren, who need to learn which words to write...
Just stick with "Python Ninja" - everyone should remember and get that right :p
user559633
How can two letters be one letter @MartijnPieters? Come on Martijn, get it together.
@RobertGrant yup.
@MartijnPieters Aha. So kinda like Mar-ten sounds like how they are pronouncing it on that site. Not Marty-gin... Mar.. like in marsh
12:41
@tristan when writing in cursive..
Oh, cool That's how they would say it in SA.
user559633
Crazy talk.
Hi guys!
In django can we enable/disable decorators according to a boolean variable in settings without modifying the decorator itself?
user559633
Your new name is Robert Jones.
@RobertGrant I'd hope so, with Afrikaans being so closely related to Dutch. :-)
12:42
@tristan I think Frank Greenburg.
user559633
@zubair89 example? likely no. or maybe if you're willing to dig back into the frame stack
@JonClements Not just Python Ninja, It is invisible python framework coding ninja ....
Also.... Martijn's Discworld character is "Lu Tze" - you could call him that... :)
user559633
@Johnston oh that's way better than what i had
user559633
Which discworld character am i again?
12:43
@BhargavRao that's probably what's on his birth certificate,,, but "(Python) Ninja" among mates :)
user559633
(i should probably read that book to determine if i accept the proposed character)
@tristan you're Moist von Lipwig apparently
Lu Tze ... sounds like Loosey
@JonClements sounds right.
@tristan can you please give some possibilities of doing this functionality?
user559633
12:45
@zubair89 writing a decorator for your decorator and looking back frames? i'm not doing that without money in my hand
Actually I had a decorator on a view and I want to disable it (or just return the actual function) while running unit tests.
user559633
"During his time as a conman, Lipwig took advantage of the fact that he has no notable physical traits and is easily forgettable." yeah, that sounds about right
Okay - are the syntax highlighting colours also different now?
I don't like change!
cbg
@davidism Congrats :D
12:54
cbg @Games
@JonClements How ya been?
Been ages since we talked.
busy, and more recently a bit unwell... how you been?
Writing a lot. My pelican post got on python weekly :)
So thats good.
Hello.
12:57
First time here. (How do I get up to speed on things?)
Just type :D
And read the rules
But that's a good first question, so you pass.
No cussing and think of us as gods and you'll be fine.
And with that, I welcome you to the room. :)
12:59
interesting introduction @Roman :p
:) Then I shall quietly observe until I find some question to ask, or some useful way to participate
@Wasif you'll generally find the conversation is somewhat eclectic - I'm sure there's something you'll find interesting (at some point) :p
Oh those children in the Lounge.
if @RomanLuštrik, is any indication, I'm sure I will :)
@Martin noticing a lot of flags from the lounge :)
hehe... reckon the OP posted this then 16 seconds later though - "ooops - wrong site!"
Okay - it's immature, but I couldn't resist that comment :(
Having only read the title of that article, I object to the phrasing "invented the crime" as if that's a negative thing. All crimes are invented.
(save perhaps for things that are near-universally regarded as abhorrent, ex. cannibalism)
I think that's all or nothing
Not cannibalism, where you presumably get full.
user559633
13:18
whats funny?
oh :P
His contribution chart looks like a word!
9 contributions on Feb 26, immersion ruined.
cbg
I'm tempted to post xkcd.com/583 in a comment to stackoverflow.com/questions/27984415/…
user559633
heh xkcd is funny drools on bib
re-cbg
user559633
cbg vaultah
13:27
Liking xkcd and not liking xkcd are both equally cliche at this point.
user559633
that comment is cliche
user559633
>___________> things that sound like valid criticisms, but aren't
user559633
I hate racists and bigots! "Well, the important thing is that you found a way to feel superior to both smug face"
I think you're only supposed to apply it to opposed groups. Racists and bigots are buddies.
13:30
The problem is the "you've found a way to feel superior to both" comment applies to itself. See also: this comment.
Alt text keeps it from becoming turtles all the way down:
> 'But you're using that same tactic to try to feel superior to me, too!' 'Sorry, that accusation expires after one use per conversation.'
user559633
Stop oppressing me
Certainly I agree that "you're just trying to feel superior" is a dumb tactic in e.g. a formal debate.
user559633
The problem is that it's not a valid criticism to say "oh, you don't like x or y? way to be smug"
user559633
13:33
That's just attacking the speaker's motives, which is p. much useless
user559633
uhh, kevin, you need to get a starred comment for the sidebar...i'm freaking out here man
@Kevin At this point, liking xkcd or not liking xkcd is a bit like liking Monty Python or not liking Monty Python xkcd.com/16
user559633
not at all. monty python was clever :)
user559633
it's a meaningless statement to say "liking or not liking blueberries is the same as liking or not liking the beatles"
Some xkcds are clever, some are meh. I'm rather fond of xkcd.com/163
user559633
13:39
cough
Never really liked Monty Python :/ A few skits were good, but a lot were just...meh.
@Ffisegydd don't make me take out the trout now.
I suppose I should mention that I've been a member of the xkcd forums for almost 6 years. They used to be very active, but they aren't so busy these days.
It's been decided that I'm clearly "not really British" due to not liking Blackadder either.
Hi , need help with dict of dict. i would like to count how many a values repeated in same month and year using .
13:41
using...?
{ 16376L: {'28-06-2014': '0.00',
'28-09-2014': '0.00',
'28-11-2013': '0.00',
'28-11-2014': '0.00',
'29-03-2014': '0.00',
'29-05-2014': '0.00',
'29-06-2014': '0.00',
'29-11-2014': '0.00',
'29-12-2013': '0.00',
'30-03-2014': '0.00',
'30-05-2014': '0.00',
'30-06-2014': '0.00',
'30-08-2014': '0.00',
'30-11-2013': '0.00',
'30-11-2014': '0.00',
'31-05-2014': '0.00',
'31-08-2014': '0.00'}}
any help really appericate
What would the output look like?
just {16376L: { 11-2013: 3, 06-2014:1 }}
Probably something with dict comprehensions and set... Ugh, I'm still only 75% coherent from the flu
13:46
Need to convert it to a datetime.date ideally.
@Kevin are you certain your coherency rating is accurate if you're only 75% coherent?
Maybe something using groupby and strings.
Nope. (re: coherency rating, not groupby)
Got a solution.
Oh God I hate the new closed-question-box colour! It's awful!
Well then, guess we can't close questions anymore :-(
13:51
@Ffisegydd The lovely 'I hate your eyes so I'll make you blind' blue?
@Roman no the sickly beige colour where it says "This question is closed because it's..."
GET for /img/linkedin.png close this and you'll see the colour I mean :P
Closed posts look the same to me as before, actually. Or are we talking about deleted posts? #f4eaea?
Umm.... the "vote to close" button looks a more brilliant blue... (or is that just me)
user559633
Ooh vote to close is blue now
See the box here stackoverflow.com/q/27984681/3005188 where it says "marked as a duplicate..." at the bottom of the Q
user559633
13:54
CLOSE SO BLUE WOW SUCH FEATURE VERY TOP PRIORITY WOW
Ah, I thought we were talking about the background color of the post itself
@Ffisegydd Why bother? Just throw each dict into a Counter, converting existing keys to 'MM-YYYY'.
user559633
Oh, they changed some box colors and increased the spacing between the (maybe new) font
@PM2Ring because I like playing with groupby :3
Bring me some dayquil and I'll write you a user script that changes the close box color
13:56
@Ffisegydd Fair enough
user559633
Gotta give the front end devs something to do when they're not working on the winter bash hats
New color schemes are the "speed up loops" of designers.
@sush - something like:
from collections import Counter
result = {k:Counter(el.partition('-')[2] for el in v) for k,v in data.items()}
# {16376L: Counter({'06-2014': 3, '05-2014': 3, '11-2014': 3, '11-2013': 2, '08-2014': 2, '03-2014': 2, '09-2014': 1, '12-2013': 1})}
user559633
"Fortunately, Ben had not only showered that day, but was clean-shaven. " HEH BECAUSE PROGRAMMERS DONT UNDERSTAND HYGIENE HEHHHHHHHHHHHH NERDS LIKE US, RIGHT GUYS
@JonClements GMTA :)
14:00
Unironically yes. If you don't think that stereotype is based in fact, you've led a charmed life.
user559633
No more than other jobs like construction or retail or anything else.
@Kevin LOL!!!
@Jon Clements, Super!, thank a million . just wonder how to remove Counter
My sophomore year roommate was so bad, I had to sleep on the couch because the bedroom smelled like sweat and old subway sandwiches 100% of the time.
wrap it in dict(....) if you want a pure dict - although, nothing wrong with a Counter generally as it's a subclass of dict
14:04
Even after the custodian scrubbed the room down during break. She was so apologetic... It's not your fault, ma'am, pine sol can't get rid of this presence. We needed a priest.
Man. The idea of sharing a room with someone at university is awful.
Americans think it's normal. Weird, huh?
All of my other roommates snored. It's basically soured me on cohabitation forever.
And on that note, it's rhubarb time for me.
Only decent sleep I ever got was junior year when I had an irregular room that only had space for one bed because the other spot had a load-bearing column in the way. Glorious solitude.
14:09
@Kevin you're doing it wrong. No matter how apt the stereotype, any hint of one lets you drop your jaw slack and make a high-pitched, "UH!" noise, secure in the knowledge that everyone like you will do the same.
@Kevin Uh, I think somewhere along the line you were misled about just how pally you're obligated to be with your roomie:
Cohabitation is an arrangement where two people who are not married live together in an emotionally and/or sexually intimate relationship on a long-term or permanent basis. "Cohabitation" usually refers to unmarried couples who live together without formally registering their relation as a marriage. Such arrangements have become increasingly common in Western countries during the past few decades, being led by changing social views, especially regarding marriage, gender roles and religion. More broadly, the term cohabitation can mean any number of people living together. To "cohabit", in a broad...
They found Beagle 2
I could defend myself with a descriptivist "words mean whatever I want" argument, but I haven't got the energy
@Kevin I think we'd call that , "Be incredibly liberal with what you emit"
@RobertGrant so no Decepticon destroyed it??
14:20
Argh, flashbacks of crap movie franchise! The shakycam...
@RobertGrant I heard about that earlier... apparently "it kind of landed" - just a little too hard :)
I guess I'm spoiled by the level of resolution we have on orbital cameras around Earth. The government can tell what I had for breakfast using spy satellites, and it took you how many years to find an eight foot wide* lander?
(*I assume that's how big it is. It's hard to tell the scale of the pictures on Wikipedia)
(counterpoint: your breakfast wasn't buried under the dust of a thousand sandstorms in an ocean of undifferentiated brownish-red)
You can't try/except a SyntaxError can you?
user559633
Why does the UK like launching "inquiries" so much?
14:29
Not unless it's coming from inside an eval/exec, I guess
@tristan because it makes the politicians/police etc... actually look like they're doing something
user559633
that makes sense @JonClements
"doing something" - normally involves spending a huge of money and time, and not coming up with any results though
@Ffisegydd You can, just not in the file with the error.
try:
    import borkenmodule
except SyntaxError:
    pass
That'll work, and for eval and exec and compile too.
user559633
"we're launching an inquiry into what kind of sandwich to have for lunch. we've paired with the house of delis and the commission for condiments and will likely circulate a petition"
14:33
@tristan sounds about right... the house of commons suggested that they and the house of lords should combine their (heavily subsidised) restaurant/bar stuff... the house of lords refused because it would "potentially result in lower quality champagne"
I'm glad this country has its priorities
Typical lord behavior, not wanting to mingle with commoners.
user559633
right, the country should launch an inquiry into its priorities and make sure that someone with a ridiculous wig on has something stupid to say about it
It's for stackoverflow.com/q/27986064/3005188 in particular where it uses IPython so it's not as simples.
I don't like that question because I don't understand what it's asking
14:42
The OPs not getting much time to clarify though :)
I can't cast "unclear" votes on anything today because any confusion on my part may be caused by flu-induced haze
"How to sum the numbers in a list?" What's a number? I think you made that word up. Voting to close
Sounds like a good closing principle to me...
"Python - this is a programming site - why are you going on about snakes.... CLOSE!"
@Kevin so your votes are in-flu-enced
;-)
We need a 'my strings look weird in a list!' canonical..
14:57
SCIENCE.
No... SONIC!
"SCIENCE THE HEDGEHOG" would never have been such a hit...
user559633
i'd play that game
I give it an 85% chance that Science the Hedgehog is an actual fan-made character that you could find via google.

« first day (1553 days earlier)      last day (3620 days later) »