« first day (1362 days earlier)      last day (3569 days later) » 
03:00 - 16:0016:00 - 00:00

3:35 AM
cbg all
 
4:27 AM
How to convert re.sub command output to a list?
 
5:02 AM
cbg
@PeterVaro Yup. Saw that from another friend a few weeks back, it's awesome xD
 
5:13 AM
oh hey that score Brazil - Germany.. I think that's the match with the highest number of goals
 
 
1 hour later…
6:34 AM
Cbg all
@Zero yeah I know of a similar member (possibly same person). The real shame is he seemed to be fine when I first started and has slowly degenerated into this snarky monster.
 
7:16 AM
@PeterVaro lol
 
Cbg :D
 
 
2 hours later…
9:03 AM
Thank you Martijn Pieters :-)
 
@ʹ̒ͩͣ̅̓͒̀ͤ̂͂̄̊̒ͩͣ̅̓͒̀ͤ̂͂ You do realise choosing a username like that just makes it difficult to talk to you, right? And that in doing so all you're doing is pushing people away from helping you.
Not only that, but it pushes up into the previous line in chat.
I'm not sure whether choosing an obvious trolling name like that is flag worthy, I'll wait until others get online who know more of the rules.
 
@Ffisegydd I thought it was cool and that usernames not starting with a ASCII character would be brought up upon immediately "@" writing ..
 
Nope.
 
43
A: Dealing with "difficult" usernames in targeted comments

balphaI've been meaning to make this change for a while, so this was a good nudge to finally do it: From the next build on, if a comment thread contains a comment by a user whose name starts with a non-ASCII letter, then just typing @ will bring the tab completer up with that name: If all reply can...

 
That's a comment, not the chat room.
 
9:15 AM
Oh, didn't know it only applied to comments :-/
Altough I already have seen usernames like this and that was a non-issue. If you feel like it you can open a Meta post about that ;-)
I'm going out of the chat till it is decided if my username warrants a change, later..
 
Yeah, well if you think I want to deal with someone whose name I can't even read you can think again. I can just about get my head round @Ffisegydd :-)
And while I'm at it, "Get offa my lawn!" I suppose, to complete the image of the crotchety old fart
 
@holdenweb I must admit I didn't think about my name's spelling/pronounceability when I first selected it :P It's actually Welsh so it's not just made up gibberish.
 
@F
@Ffisegydd yes, well I'm English so I recognized that (and I've lived in the States for 20 years so I spell "recognize" with a "z")
Mentally, to me you will always be "Fizzygood"
5
 
Well...now I will be "Fizzygood" to myself mentally...so...thanks for that...:P
 
:P right back atcher
I understand name changes are possible ;-)
 
9:42 AM
You can join the Meta discussion I opened and share your thoughts
0
Q: What are the rules and community thoughts about a non-easy username?

ʹ  ̒ͩͣ̅̓͒̀ͤ̂͂̄̊ ̒ͩͣ̅̓͒̀ͤ̂͂I must start that I have a past of disruption (not trolling, but disruption because I was constantly in a bad rage/revenge mood), I was the one behind many of the issues you have seen on AskUbuntu and StackOverflow. I regret this and put a stop since yesterday by changing my behaviour in the fir...

 
Hope the mood is better now. I'd refer to you by name if I could
 
@ʹ̒ͩͣ̅̓͒̀ͤ̂͂̄̊̒ͩͣ̅̓͒̀ͤ̂͂ I have posted an answer, from my POV, to your question.
(Also first meta post! :D)
(Even managed to squeeze in a hand-drawn red circle...)
 
10:00 AM
cbg all
 
cbg @Martijn
 
Cabbage!
 
cbg, @Fizzygood! (Thanks @holdenweb, that's a much better monicker).
 
D:
No problem Martin (you don't need the j, right?)
 
I am used to that.
Like @holdenweb, I lived in the US for a while. You should see what they make of my name there.
And I lived in Norway. I'm used to the j being mangled in creative ways.
 
10:04 AM
Yeah I can imagine. My name is actually Keiron and there are several spelling variations, mine being one of the rarest.
 
Actually, his name displays perfectly fine in mah browser
 
Yeah, I've certainly never seen Keiron spelled will a double "f" before
 
10:34 AM
My march to world domination is stalled at 2,967. By the time I'm dead I might actually have been some use to people
 
I originally just wanted to hit 3000 and thought that I'd be content at that...now I want 10,000...
 
For some reason gamifications don't really grab me, I'm not here for the ego but the satisfaction of helping people (and taking potshots at those whose egos I assess as less fragile)
 
I wanted 3k so I could help moderate the site by closing questions etc. Now I want 10k so I can see deleted questions because it's really annoying when people are talking about them but you can't see them...
But my primary reason for being here is probably to learn. Luckily I'm able to learn through helping others a lot of the time.
 
10:58 AM
I like the fact that a question about a difficult name is so well answered by someone with a Welsh username :-) — Bruno 55 secs ago
>_<
 
@holdenweb 2,987 now..
 
11:21 AM
@Martijn nah... pretty sure he's hit 3k now :)
 
@JonClements: funny how that happens..
 
Must be magic or something
 
11:44 AM
Too broad / unclear what you are asking
Too broad in that I am not going to write the full essay needed to explain about data persistence.
 
Jes
waht does this mean
s = s[3:] in python
 
That's slicing; picking elements from the sequence.
 
Google python's slice notation
 
490
Q: Python's slice notation

SimonDo you have a good reference on Python's slice notation? To me, this notation needs a bit of picking up. It looks extremely powerful, but I haven't quite got my head around it and am looking for a good guide.

 
Yay, 3,002!
 
11:47 AM
Now you can help us close posts!
See that request I posted just now? Practice on that! :-)
one more vote required.
 
Shrug. That answer pretty well covers the question "is this possible to do?"
 
@vaultah I see no reason to flag that.
 
It's very low-quality
 
It is an attempt at answering. It's a bad answer, but it still qualifies an answer and thus should not be flagged.
So? That's what downvotes are for.
I've voted to delete it instead.
 
11:52 AM
@Martijn it's one delete vote off then :)
 
Ehh, how to vote to delete? I meant to flag as a low-quality question. @MartijnPieters
 
@vaultah You need 20k+ to vote do delete answers.
 
@vaultah you need 20k rep to vote to delete answers...
 
sigh if only I had 8000 more rep -.-
 
@Martijn wow - almost word for word :)
 
11:54 AM
Everything I could do is flagging, so I did that. What's wrong?
 
@vaultah I'd only use low-quality for posts that are, basically, gibberish.
If it is in a language other than English, low-quality is also fine.
 
Gotcha.
It even received an upvote..
(removing my downvote)
 
@vaultah if you're bothering to edit that... "its" should be "it's" :)
 
I edited it purely to remove my downvote, not to actually improve it
My English isn't good, but I do know the difference between its and it's
 
@vaultah: note that that question is slated for deletion anyway.
It has a negative score and is closed and has no answers with a positive score.
It'll be roomba'd in a few weeks.
Actually, in 9 days.
@vaultah: and Oded feels flagging as low-quality is fine:
0
Q: Is "Yes!" considered to be an answer?

nicaelThe problem is I flagged many "Yes" answers and most of flags got declined (some of them, however, got approved and one was declined but deleted). Do you consider "Yes" (sometimes linked to somewhere) to be an answer? Why my flags were declined?

 
12:03 PM
cbg all
 
I guess now that there is a VLQ review queue those flags no longer go to the moderators.
@ElendilTheTall cbg!
How go the test rockets?
(funny description!)
 
haven't crashed one in days!
@MartijnPieters not a word of a lie in any of it!
:)
 
Well - it's all true in your head no doubt :)
 
@JonClements you sound just like Doctor Graham
<twitches>
 
Well... if you're not going to show up to your appointments, I have to make house calls don't I :)
 
12:07 PM
We should totally compare notes on bear wrestling.
 
I am so glad you didn't typo "bear" there...
 
@JonClements When you are here I'll show you the beer wrestling then.
Or did you want the other typo?
 
Oh, I can live with "beer" wrestling... just worried if it ends up comparing notes on "bare" wrestling....
 
Coz, then I'm out of town that week.
 
@MartijnPieters am I correct in thinking you're Dutch?
 
12:11 PM
@Martijn I decided to bug Tim slightly re: tshirt... apparently he was sending it out priority international shipping yesterday... so fingers crossed
 
@ElendilTheTall You would be correct, yes.
@JonClements Wohoo!
 
@MartijnPieters big night tonight!
 
I may have to actually pay attention if they win.
Then it'd be Germany - The Netherlands in the World Cup final.
 
That's be an interesting game
 
I am torn - my heart says Holland because my Oma was Dutch, my wallet says Argentina because I have them in a sweepstake :D
 
12:13 PM
There is a Wikipedia article, even.
The Germany–Netherlands football rivalry is one of the few longstanding football rivalries at a national level. Beginning in 1974 when the Dutch lost the 1974 FIFA World Cup to West Germany in the final (though deeply rooted in Dutch anti-German sentiment due to the German occupation of the Netherlands during World War II) the rivalry between the two nations has become one of the best known international football rivalries in the world. Both belong to the strongest football nations of the world, and have met a total of 40 times (of which only 8 matches were competitive) which resulted ...
And the Dutch Queen is Argentinian. Interesting conversation in the royal bed chambers there!
 
I know Brazil is gutted, but I'm proud of them. They made the England team look slightly more competent...
 
@JonClements :-D
 
@JonClements it's a shame they didn't play each other, they could have put together a highlight reel to this
 
@ElendilTheTall that'd be somewhat more appropriate as the national anthem... And they wouldn't have to struggle remembering the words :)
 
now now, we all know that when The Revolution comes the new national anthem will be the Archers Theme
 
12:17 PM
ahem when the revolution comes the new global anthem will be "Oh Cabbage"
 
that's the global one
 
There will be no national anthems.
Everyone will sing "Oh Cabbage!" and thank High Lord Stewie for defeating the evil Java hordes...
 
I thought we'd go for:
 
@JonClements jesus, is that legal?
I would have thought you'd have gone for:
it would at least be good to march in to at the Olympics
 
Okay... so just need a Crazy Frog version of that and we're sorted :)
 
12:24 PM
you're skirting dangerously close to treason even before The Revolution, man
 
This Puppy fears nothing :p
 
You'll fear the Cabbage Inquisition...
 
Aye that question is deleted now
 
This question asks how to group lines by indentation level, similarly to Python's own rules. I wonder if there's a module for that.
 
Python parses indentation into tokens.
I don't think there is a module for that though.
 
12:30 PM
I think pyparsing can be told to do indentation level parsing...
 
5
Q: How do I parse indents and dedents with pyparsing?

Markus JarderotHere is a subset of the Python grammar: single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE stmt: simple_stmt | compound_stmt simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE small_stmt: pass_stmt pass_stmt: 'pass' compound_stmt: if_stmt if_stmt: 'if' test ':' suite ('elif' tes...

 
Hmm, to post a flimsy but short answer that works only for trees with maximum depth 3, or a long answer that handles trees of arbitrary depth...
Or to not post anything at all because this might be the guy's homework...
 
If in doubt - make a nice cup of tea?
 
@JonClements we need to get that line into the new national anthem
in fact, that's the title right there
 
Haha.
 
12:39 PM
it doesn't scan with The Archers theme though :(
 
We'll do a slight remix
 
again, treading on thin ice...
 
So how did those teenage twins manage to sneak away from home to Istanbul and then into Syria... what's going on!?
 
one does not simply remix the archers theme
@JonClements is that an Archers reference? Because I've never actually listened to it
I have yet to reach Radio 4 age
I am still on Radio 2
 
12:43 PM
ah
brainwashing alive and well :/
 
I miss radio 4. Every morning without fail, some politician would say something so cataclysmically stupid on the Today programme that my rage would lift me from groggy half-slumber to wakefulness. Happy days ...
Also, cbg :-)
 
@Zero I'm sure there's ways to access Radio 4 if you wanted to :)
 
@ZeroPiraeus you can listen to BBC radio from anywhere on earth with an internet connection
 
Yes, but it won't be the right time :-(
 
it's not live
or rather it is, but you can listen to past programmes too
 
12:47 PM
Exactly... I think they stay on the site for about a week or something
 
this morning's broadcast
I have heard a bit of the today programme
but John Humphrys and the other guy both have the extremely annoying habit of not letting their interlocutor finish what they're saying
 
Yes, but ... it might just be me, but listening to a recording of the Today programme just wouldn't work. I have to know they're in the studio right at that moment.
 
I'm all for not listening to politicians, but fair's fair
@ZeroPiraeus I imagine the puddle of sweat lingers for a good few hours...
 
@Zero that's a strange need :)
 
I guess so.
I do listen to some R4 documentaries in fact ... it's just news / current affairs that I have this weird "has to be live" thing with.
 
12:51 PM
I normally podcast a few shows... but I try to avoid listening to some of them live, as I end up not getting much done, and when I'm out/about I quite like to have a decent program to listen to
 
@ZeroPiraeus what if i told you that a lot of programmes are pre-recorded
quick on-topic question: how are Ruby and Python related? I learnt a bit of the latter last week, this week I'm dabbling in Ruby, and the similarities are obvious
 
LOL.... an honest user....
hmm, I will now be suspended even more... but good case, +1 — Awal Garg 35 secs ago
 
Pretty sure Today isn't (well, some segments are, obviously, but the show itself is live).
 
@ZeroPiraeus that's what they want you to think...
 
All television and radio is generated by computers.
 
12:59 PM
Noooooo ... I refuse to believe that Philippa Forrester isn't real.
(showing my age a bit there, I suppose)
 
(I had to Google her...)
(Though now I see her, I remember her on Robot Wars)
 
Wow... that's a name from the past - she even on TV any more?
 
I think she retired.
 
I liked Robot Wars to start with... Craig Charles just seemed to get more and more obscure though
 
According to the Daily Mail (spit) she has a new TV show.
 
1:04 PM
Something at 2am on channel 900 or something? :p
 
JON HAVE YOU BEEN LOOKING AT THOSE CHANNELS AGAIN!?
You'll go blind.
 
@ZeroPiraeus Julia Bradbury is the new Philippa Forrester
 
@Ffisegydd it's okay... I've got a screen reader!
 
No-one can ever replace Flipper.
 
The dolphin?
 
1:06 PM
@ZeroPiraeus not even Rachel Riley?
 
Are we really discussing our favourite female presenters? Because if so: Holly Willoughby beats them all.
 
@Ffisegydd Notice an interesting fact in the comments made by me to my question and your answer. My username is surrounded by a grey box! Is there a reason?
 
Ahhh... good old willoughbooby
 
@Ffisegydd she has a slightly odd face <ducks>
though she does have other... compensations
 
I am regretting starting this now (not least because I have no idea who any of these people are).
 
1:08 PM
@ZeroPiraeus your point being...
 
@ʹ̒ͩͣ̅̓͒̀ͤ̂͂̄̊̒ͩͣ̅̓͒̀ͤ̂͂ I don't know. It may be something to do with your name. Or actually it may be because you're the OP.
 
@ʹ̒ͩͣ̅̓͒̀ͤ̂͂̄̊̒ͩͣ̅̓͒̀ͤ̂͂ BTW, what does your username mean, anyway?
 
@Ffisegydd lol yes you're right.. it looked weird as a box though xD
 
adobe flash takes so much CPU omg
10 times more than vlc reading the same file
 
@WalleCyril and there's a new and interesting vulnerability in Flash going around
 
1:12 PM
@Fenikso If you look at it it resembles a sort of flying guy on a trunch/stick or even a guy sat on the message "@" where you ping me :p
 
Yeah experienced the one that cause browser sudden crash multiple times grrr
 
@holdenweb you got a handy link for that?
 
I'm going to change it soon to something understandable anyway
 
@ʹ̒ͩͣ̅̓͒̀ͤ̂͂̄̊̒ͩͣ̅̓͒̀ͤ̂͂ Oh, well, it does not, at least on my system. It looks like garbage :). I thought I am missing some reference joke or something.
 
@Fenikso Yeah, I saw that from the picture Ffysegydd and another guy posted :-/ It may be that we have different encodings ... that's why you can't have cool things.
 
1:17 PM
TIL: you can use %%javascript magic in an ipython notebook to allow JS code...
 
@Ffisegydd you can even write Javascript dynamically with the JavaScript() display method in an IPython notebook. THe notebook rules!
 
@holdenweb cheers
 
@holdenweb yeah I was looking at this about interactive plotting. I do love ipython notebooks
 
Don't suppose anyone here would be interested in my "Intermediate Python" class? - I have a 50% off code if you do
 
What are you trying to apply about people's ability Steve :p
 
1:29 PM
That it's already above what's covered in my classes
In fact code AUTHD is good for any single eBook or video product from O'Reilly, should anyone feel in a purchasing mood
 
Looks like a good coverage of stuff though...
@holdenweb that Simon is a bit of a critic of it :)
 
@JonClements which Simon?
 
Was just curious - so reading reviews of the video.... Simon Cropper didn't like it :(
 
Ah, haven't read the reviews :-)
Of course, now I have to
 
> Steve when discussing sqlite's use of SQL states that it "leaves a little bit to be desired" but is "perfectly good for practice" (cf. 3:14). I personally have a problem with such derogatory statements that are not supported by suitably authoritative evidence.
 
1:35 PM
Never read the reviews.
 
someone's a little bit pwecious about SQlite...
reading between the lines, I'd say someone needs a girlfriend
 
To be fair, I could have made my statement about SQLite in less pejorative terms. If there were more than two reviews I'd be happy to have it among them, but as the second of two it's potentially damning to some readers. Oh well, everyone's a critic
 
"Leaves a little bit to be desired" is "derogatory"?
It's not like you say "python has builtin support for SQLite, but it's awful so never use it... here's how to use postgres instead." :)
 
To some people anything negative is derogatory
 
Hello everyone
I'm a bit confused about the little responses my question has received, given that it should be a fairly standard problem - if someone mind taking a look: stackoverflow.com/questions/24617561/…
(not question promoting too much, hopefully - but I'll bounty that in a few hours if I don't receive more feedback, which is a hurtful process for a low rep user like me)
 
1:47 PM
@FooBar don't worry about it. We generally ask that people don't question promote as soon as they've asked a question but as yours was asked yesterday it's perfectly fine for you to bring it to our attention
 
DSM
Cabbage.
 
Welcome to the room by the way :D
 
thanks
 
Guys, I changed my name to my real one. Tell me if it's good!
Well the chat still isn't updated..
 
You want us to evaluate your real name?
as in how good a job your parents did?
 
1:49 PM
@FooBar Long story.. I had a bad username, gibberish to someone with the wrong encoding. Now I am using my real name
 
@holdenweb thanks for the o'reilly code by the way :) while I can't really justify your video series I did pick up some ebooks that I've wanted for a while on visualisation
 
user559633
@ʹ̒ͩͣ̅̓͒̀ͤ̂͂̄̊̒ͩͣ̅̓͒̀ͤ̂͂ your name is just super annoying. you probably will/should get banned for it.
 
@tristan we've been over this this morning, he's changed it but it hasn't updated.
 
probably should get banned for a number of other reasons
 
user559633
1:52 PM
is that 'stupid troll'?
 
yes
 
Yes
 
as well as 18 other handles
was also Sumer Kolac or w/e the sumer guy was
 
user559633
@Ffisegydd oh sure, sure, beat up on the american for not joining the stackoverflow chat at 0500 like he usually does
 
1:52 PM
@rlemon Please stop.
 
Sleep is for the weak.
 
dude, you fucking took it off site and harassed me on my social media.
no. you took it WAY too far already
and flagging inappropriately won't solve your issues.
 
user559633
Yes. My girlfriend seems to agree @Ffisegydd. "I'm hot. (this is at 1a, 3a)" -"yes dear, you are"
 
I will make sure everyone knows of your trolling history, it speaks wonders to your character.
 
user559633
she seemed satisfied with "i didn't pick ice mage at the character screen"
 
user559633
1:55 PM
@rlemon did you already bring this up before in chat? that seems bannable across the stack network
 
OMG, someone actually agrees with me that we shouldn't forgive someone because he says this time he's really changed.
 
I've mentioned it to multiple mods. no one did a thing
I have screen shots of the posts, and there is public record on other chats.
 
@tristan He literally threatened to kill both Martijn and me on Stackoverflow itself. The mods don't care.
 
threatened me on a friends blog. spammed my g+ posts asking for dick pics and such
 
Shog9's happy to just respond to his meta posts.
 
1:56 PM
just overall trolling behaviour
was also the star troll bot
the list goes on and on
 
@rlemon I ask you, please stop trying to take the past in the present so we may all have a normal conversation. It's ok, I did my mistakes as I already said and I regret it. It's the past, my present person is different. Thank you.
 
user559633
Wow. What a douchebag. What a massive, massive unfunny douchebag.
 
then acknowledge that a simple "i'm sorry" will not undo your month long + trolling escapades.
 
"I've changed", says every guy who beats his girlfriend, right before he does it again.
 
@rlemon This is not Sumer.
 
@MartijnPieters it is. it is the abdullah guy who admitted to being one in the same on another chat
 
user559633
Seriously, just pathetic behavior to spam/troll programmer circles. Just holy crap if my life was ever that, I would jettison myself into a cold ocean.
 
there are so many names now i've lost track of which should be considered the 'name'
 
@rlemon Seriously, it is not. I won't go into this, and this is not the place to discuss this.
 
lol okay. I have more than enough evidence to support they are the same user
 
2:00 PM
@rlemon: in which case the authorities can follow up on that.
this is not the place.
 
DSM
We should probably let this particular subject rest before we become Lounge<C++> but with syntactically significant indentation. Jon's feature request is currently at +68/-3, and further discussion here is not likely to be fruitful. Future discussions if necessary can be taken offlist or to Meta, as appropriate.
 
user559633
Anyone have a favorite reference for OpenCV/computer vision in Python?
 
Fine, blocking and moving on.
 
2:15 PM
Updated Firefox today. Not crazy about the placement of the back button to the right of my search engine box.
 
DSM
The other day I updated the podcast app on my tablet. I'm this close to having to write my own, because it's completely broken my use pattern. Moral: NEVER CHANGE ANYTHING.
 
@Kevin: Can't you move stuff on the toolbar to where you want it? (Been ages since I've used firefox, but I seem to remember that being a thing...)
 
In previous versions, yes.
 
They put the button in a horrible place and removed to ability to move them? Awesome.
 
Now the back button appears to be "glued" to the address bar.
And the refresh button is inside the address bar
So, I can move the back button, but this would also move the address bar.
 
2:20 PM
@Kevin they've obviously never heard the old saying "if it aint broke ..."
 
"...break it."
argh. Trying to make a fresh virtualenv on this stupid outdated linux box and oursql won't install. Clearly I installed it just fine in the old virtualenv I'm replacing :(
 
> We're planning to merge back/forward, URL bar, reload/stop/go into one toolbar item to reduce maintenance costs and make customization more intuitive (eschewing magicall combining UI) when we land the customization panel flow for Australis.
I don't know what magical combining UI is, but it sounds great and I want it
 
DSM
Can't be that great if they want to eschew it.
 
So. Moving buttons around was unintuitive, so now you can't do it at all. Nice.
 
To be fair, you can't move the buttons in Chrome either AFAICT, but they're in the right place, so...
 
DSM
2:27 PM
Time to switch to w3m?
 
I'll just browse the web with urllib
 
I could end up with a gold badge out of that meta post...
 
Is there a trick to seeing a user's Meta SO posts? It's not listed as a site under the "accounts" section on one's profile.
 
Top right there is a "Meta User" button
 
It's one UI problem after another, today!
 
2:36 PM
@Ffisegydd Hehe I did the right thing to post that Meta question :p
 
DSM
When we recommend people put data files up somewhere so we can look at them, is there a canonical place that J. Random User can use easily (without a long registration process, I ean)?
 
pastebin?
Or dpaste
 
user559633
i'm a fan of dpaste and gist.github.com
 
gists have good markup for structured stuff like json or yaml
 
user559633
3:03 PM
also versioning and comments
 
DSM
Do any of those support binary uploads?
 
user559633
O___O no
 
user559633
i wouldn't want to run some binary that a stranger uploaded anyway.
 
I think he means pictures
 
Dropbox is your best bet then.
 
user559633
3:05 PM
s/run/look at/
 
or imgur
 
Or <your-online-cloud-storage-of-choice>
As long as imgur won't do anything to the img.
 
user559633
imgur strips exif data iirc, so it's a better option for nooblets
 
Actually, imgur deletes old items if they're not viewed regularly, so dropbox might be better
 
base64 encode the binary, paste into pastebin, instruct user to base64 decode binary.
Load binary into flash drive, mail to user
 
3:08 PM
Send using African swallow
 
Nothing I know of that is fast, requires no registration, and can be performed by the average person.
Choose two, I guess.
 
3:20 PM
stackoverflow.com/questions/24657545/… anyone got the dupe? (flatten list of lists that sometimes contains just strings)
 
No don't think so
 
Ah, I see the difference now
 
Lazy solution: do a first pass to enclose all top level strings in lists. Then apply the usual list flattening techniques.
seq = [[item] if isinstance(item, str) else item for item in seq]
 
I tried to put a for loop in a ternary expression and python shouted at me.
 
3:26 PM
@Ffisegydd you may need parentheses ti disambiguate
 
I suggest not doing that, then
 
Seems OK in 2.7.6
 
cbg
 
Are we talking about something like:
>>> 1 if [i for i in range(10)] else 2
1
 
And in 3.3.2
 
3:29 PM
My idea was foolish anyway, even if I got the syntax working it wouldn't have been correct (I now realise)
 
Ah the old "even if this worked, it wouldn't work" problem
 
3:46 PM
Yesterday I almost learned Django. It's long been on my list of "things it would be nice to do", but I never feel very inclined to crack open a tutorial.
 
Learn Flask instead. It's smaller, simpler, and then you can edit sopython stuff if you want/need to :P
 
+1
 
Yesterday my unwillingness to start was very low. I didn't open a tutorial, but I seriously considered it for a second. I consider this an important milestone.
 
user559633
django is still useful to know if you're a python webdev, but yeah, flask is pretty neat
 
I think we should all applaud Kevin's step towards finally taking a step.
 
DSM
3:48 PM
"Yesterday I almost learned Django." That's right: stay humble. ;-)
 
Aww, his first pseudo-step, captured in the transcript for posterity.
 
Sometimes I worry that I've lost the curious nature of my childhood self. Or maybe that urge has just been directed to randomly browsing Wikipedia.
LEDs emit light when electrons move over a P-N barrier between the anode and cathode; peregrine falcons are the fastest living animal during a controlled dive; a 3-torus is an example of a shape that has a finite size, but is flat and has no edges.
I know all these things, but not how to make a custom 404 page for my site.
Maybe I should undertake a mighty oath to not use Wikipedia except for topics related to my profession.
 
I would not describe that as a "mighty oath"...
 
It's mighty for me.
 
user559633
 
3:59 PM
huehuehue
 
03:00 - 16:0016:00 - 00:00

« first day (1362 days earlier)      last day (3569 days later) »