« first day (1672 days earlier)      last day (3289 days later) » 

12:37 AM
Cbg :)
 
12:51 AM
cBg :-)
 
1:51 AM
OP is horribly confused about something, and attempts to persuade them of that don't seem to be getting anywhere.
 
 
1 hour later…
F4z
3:20 AM
How does one convert a list of string (numbers) into a list of integers WITHOUT using map?
 
list comp
[int(x) for x in strings]
 
 
2 hours later…
5:45 AM
Hey up
 
6:05 AM
hey up
 
cbg
 
0
A: Synonymize [this] and [self]?

Zero PiraeusNo, because: this in Javascript (its most commonly associated tag) and self in Python (likewise) are not synonyms; they are distinct in a number of important ways. In PHP, $this and self are also distinct concepts. If one is made a synonym of the other, the "loser" would be automatically conver...

I don't think is very useful, but the confusion that would be caused with inexperienced OPs getting it converted to would not be fun.
 
That question sounds like lack of research :P
BTW, got the gold @Zero?
 
6:21 AM
Job hasn't run yet :-/
 
Argh :( .... The day I had to get my silver, the script malfunctioned
I got it 2 days late :D
 
Yeah, sometimes it times out.
The tag count has updated though – it's just the badge that hasn't been awarded.
is a patient man
 
Oh! So the badges are not in sync wit the tag count ....
is impatient from birth
 
It may be a recent change, actually: notice that on stackoverflow.com/help/badges/51/python it was usually awarded around 3:09, until the most recent one.
 
6:57 AM
good morning
for the first time, i need to use python outside of the provided course interface, anyone have a suggestion what editor or program to use ?
 
Sublime Text.
 
oh that is what i am trying thanks
 
Use an editor you're comfortable with. I use vim, lots of people seem to like PyCharm.
 
just realising that relying on that provided interface might have been a mistake :)
 
Don't use PyCharm. It's a fantastic IDE but as you're learning it'll be pointless/too much.
 
7:07 AM
what do you mean with too much ?
not beginner friendly ?
 
It's not bloody advanced-user friendly.
You'd spend 2 hours working out how to use it rather than writing code.
And then you wouldn't use it to it's full potential really, as you don't know enough yet.
So use something simpler like ST for now.
 
yes i will
 
A few months time once you've learnt more then I'd advise you to try out PyC.
 
Hmm, @Ffisegydd may have a point. Ok then, in that case I recommend Emacs.
I kid, I kid ...
 
right now i am failing at opening a file on my desktop.. so 2 weeks might be a bit optimistic :)
ah got it, wrong file format :)
 
7:12 AM
More seriously, I've never used PyCharm (perfectly happy where I am), so I mentioned it purely on the basis of seeing others say nice things. I had assumed it was capable of behaving like a good straightforward editor; useful to know that this is not in fact the case.
 
To be honest, you could use it as a good straightforward editor.
I was maybe over exaggerating.
It's just you'll miss out 90% of the stuff you can do with it, and at that point you may as well use Sublime Text.
 
But were you over exaggerating excessively?
 
cbg Jon :-)
 
I was exaggerating excessively over.
 
7:14 AM
oh noo.. i used a open street maps data and to see if i can acess it i made it write lol everytime it sees a tag, thatshould be several 100k of lols
ended with a memory error, which is kinda strange, since taskmanager says i have 28gb left
 
7:39 AM
Cbg
 
0
Q: Modify interior of a looping function at runtime

SchilcoteThis one's a doozy, but bear with me. I'm calling in to a library that has a function that waits indefinitely for a certain kind of input. Unfortunately, this function is bugged in such a way that it allows the pipeline it reads from to fill with irrelevant input, causing the program to lock up ...

Sounds fun :-)
Any spectacularly clever alternatives to monkeypatching?
 
@MartijnPieters did you have any more idea on my 2.7 vs 2.6 problem?
@All, how do I permenantly remove python2.6 from my python path?
If ^ is a good fit for a question, I'll ask it, actually.
 
bahahahahahaha
 
:)
I would 100% buy that
 
The newest one is set in Victorian London. I'm looking forward to it.
 
7:51 AM
Yeah
 
Alas, it's not called "U wot mate. I will reck you."
 
... in the name of all that is holy.
 
Closed
 
well - it got a delv from me if that helps :)
 
It's gone.
 
8:04 AM
re-cbg
Nvm --- :)
 
8:47 AM
This guy ---> stackoverflow.com/questions/30250633/… Accepted 2 answers!
 
That's weird
Is it something like he accepted an answer, which got deleted, then he accepted another answer, then the first got undeleted?
Which is still a bizarre data model if that worked
 
All the comments on meta get upvotes :P
 
quick question, you wanna analyse and subsequently clean a large dataset ( in my case xml file) do you have a quick go to technique to get an overview of the whole thing
 
What is a quick go to technique
 
ok my noob problem is, i have this giant dataset, i have to clean it
but i cannot see potential things to clean because i have problem in getting an overview
sorry if that sounded dumb
 
9:02 AM
@StephanK can your data be described in terms of rows and columns?
 
Not used to XML stuff :(
 
as far as i can tell xml.. is more about tags and attributes than a "table format"
 
Yes, but could you restructure it into rows and columns?
 
He's asking about the data itself, not how it's represented currently
 
you suggest , just printing out maybe the first 20 columns?
 
9:03 AM
No. I am literally asking a question.
 
Is it tabular data, ie does it require two headings to describe what a data element represents
 
i dont think it is, but i dont know much, can it maybe be converted? probably. not by me though :)
 
Never mind.
 
imho that is not "tabular data" ?!
 
Yeah it's just a list of data
Is it a list of books?
 
9:06 AM
That could be easily restructured into tabular data.
 
no, that was just an example pic, my actual data is an open street maps file ( 1 gig big)
 
-_-
 
That was an example of XML for us?
 
1 min ago, by Ffisegydd
Never mind.
 
i thought one person asked about it
 
9:10 AM
Errr... I didnt tell I did not know what XML was
facepalm
 
english is not my first language, sorry :)
 
3 mins ago, by Ffisegydd
1 min ago, by Ffisegydd
Never mind.
:D
 
9:44 AM
That's interesting stuff Fizzy :)
 
@Ffisegydd ahh... that was a quick move to WF :)
 
@Jon I had no idea it had happened, speak to @davidism. He did everything.
 
Well... the domain's pointing to WF and the site works... so I'm guessing... but otherwise - what a completely transparent experience :)
 
Uh, what happened? :/
 
@vaultah nothing you need to worry about :)
 
9:51 AM
Ok
 
@vaultah are you ever going to set a stable avatar? :p
 
Stable is boring
 
10:08 AM
@Ffisegydd ooops... just realised I missed a .com in the body of an email... but I think you know what I mean :p
 
Oh, I understand what happened
 
10:41 AM
Is it me - or is it colder today?
I'm shivering a bit
 
There's blazing sunshine!
 
@IntrepidBrit wait... the Tennis Ball is in the sky again!?
 
Aye!
 
brb... need to go fetch!
 
If nothing else, the running and leaping around should help to him him warm
 
10:45 AM
Umm... there's an ?
ahhh... got there :)
 
Cbg :)
 
cbg @IanClark!
darn it... doesn't look I'm going to get a gold for meta.stackoverflow.com/questions/262825/…
mind you - did get a gold on meta.so before Martijn did.... (allthough - not unsurprisingly massively over taken later)
@Ian how goes it evil/good Ian?
 
11:07 AM
re-cbg
 
Is it just me or are we being Reddited more often now? The literals vs function call post got the treatment now: reddit.com/r/Python/comments/35ytab/why_is_faster_than_list
 
So nice .... One more life goal added - Some day I'll make it to reddit :P
 
Wow... the oldest licenced driver in Britain is 107
 
@JonClements I made come closer to the gold by 1
:)
 
@Bhargav me luv you long time? :)
 
11:12 AM
So did I
 
Sorry - today's luv is already used now - me luv you long time tomorrow BobbyG?
 
@JonClements ...... Cute puppies look cuter with a gold medal ;)
 
@Bhargav :)
@Martijn had a bit of time to look over your AMA this morning... good answers mate
 
@JonClements diarised
 
And in continuation wit that ... Allow room owners to delete the room ....
Was there any ques like that?
 
11:15 AM
@Bhargav umm... if left unused they just expire, get frozen and deleted automatically
 
Automatically? After how long?
 
umh.....
can't remember the criteria
 
And the other day you were asking if you can kick-mute Martijn a mod rite? ....
> The kickee is not a moderator.
5th point on balpha's answer
 
@Bhargav yup - we'll never be able to get rid of @Martijn now :p
 
The first line was good there
> A room owner can kick any user (including other room owners) from their room
:D
 
11:18 AM
can't kick yourself though - although you can un-RO yourself
 
I don't think even bruce lee could kick himself :P
 
Well - being dead - I imagine it'd be extremely difficult
 
Fellow Brits - have you heard of the Anthony Nolan trust?
 
There was that meme somewhere .... Keep Calm and Kick yourself
 
@IntrepidBrit I have - why?
 
11:20 AM
I know the name.
 
It's just getting some attention on the Beeb just now
 
I have heard of Christopher Nolan
 
Just wondering if anyone else was signed up to the register
 
Ugh... feeling a bit dizzy again... gonna lay down for a bit... rbrb
 
Jon, you do know that the tennis ball in the sky can't be caught right? It's millions of miles away :P
 
11:23 AM
@IntrepidBrit doesn't mean you can't try :)
 
Do, or do not. There is no try.
 
What a bad master that makes cute puppies feel dizzy
 
My motto is always: "If I can I will, if I can't, I'll try my best"
 
@JonClements If I can I will try, if I can't, I'll leave it
Laziness is the mother of all habits :D :D
 
Or an IRON WILL
 
11:27 AM
"Down by the river side my life subsides, directed by the ripples, waves and tides. Other's I've loved have drowned and died. Struggling I swim on.
Anyone recognise that poem? (betting no one does)
 
Yoda?
 
@JonClements Yeah! even Google can't recognize it
 
Someone called "James Gordon"
 
No, I don't recognise it
Is it about salmon?
 
"fingers wander through my brain, confusing thoughts of joy and pain. Whenever I try to work it out, I find myself alone again"
 
11:34 AM
Probably not salmon then
Salmon getting a lobotomy?
 
yup that's the one :)
 
YES! Up yours, losers.
 
Wow... I wrote some bloody depressing stuff when I was 13 :(
on the plus side - my hand writing was better
 
Yeah, you should've said "When" not "Whenever", to match the syllable count of "Fingers wander through my brain"
 
Well... being 13 - can't really say my English language skills are as (un)developed as they are now :p
 
11:41 AM
:)
I'm kidding, it's very good
 
@JonClements Daf... You wrote that poem? It's quite good ... Puppies with talents
 
Went up to the loft this morning, and brought a few boxes down - one of them was my Mum's "box of memories"
 
bit tearful... many memories
I'd completely forgotten about some stuff... she kept my 5m swimming badge :)
and my first shoes
bloody hell, there's even clippings from my first hair cut
 
:)
That's very cool
 
11:46 AM
and exam reports
this is a bit of treasure trove actually
and my child passport... wow
 
Missing childhood?
 
@Bhargav well - certainly wouldn't want to do teenage years again, but wouldn't mind being 21 again :p
 
I'm turnin 21 this year
 
@Bhargav rub it in - whatever :p
 
I'll be far away from home (opposite world literally) on my b'day ;'(
 
11:54 AM
Awww... just found letters from my Father to my Mum she'd kept
that is just soooooo sweet
cbg @JRichardSnape
 
cbg Prof Snape
 
@BhargavRao that sucks :(
 
Don't go crazy because you're in a different place, is my advice
 
11:57 AM
cabbage @bhargav
suddenly, my keyboard behaves as if it is American layout. Bloody windows. Apologies if my quotes go awry. How are things? I like the poetry @Jon - I continued to produce such earnest things until ...erm... well, a lot older than 13.
P.S. I wouldn't mind being 21 again either. Being an adult sucks at times.
 
youth is wasted on the young and all that? :p
 
I miss Kindergarten .... when life was so free ...
 
I wouldn't mind going back even a few years
 
@JonClements That sounds really nice
 
12:10 PM
Isn't this a glorified gimmetehcodez?
 
@SomeGuy you might also like youtube.com/watch?v=5s-k8Q_40cA
 
I don't usually listen to that genre of music, but it's nice
Super mainstream, but I've listened to this song way too much youtube.com/watch?v=JD92Ui_PWKQ
You may like the one I've been obsessed with lately, though youtube.com/watch?v=bcLktOIwDPM
 
I'm fairly heavy into American Country music (for my sins)
 
Not a style I listen to much, but I do like some of that instrumentation - mandolin, fiddle etc. I used to listen to a bit more country / blues rock in my youth, Dad was a folk rocker and via that got into e.g. Chicken shack. I liked Steve Earle, I remember (heads to youtube)
 
@Jon - goes well thanks! Tired Ian (deploy late last night!) - how about you?
 
12:22 PM
@Ian been better - been worse
@JRichard one of my favourite ever: youtube.com/watch?v=bpwdwbO1uvM
 
:) Doggie is now Ninja?
Should I be worried?
 
if I haven't decapitated you yet - you're fine :)
4
 
Well obviously I'm starring that
 
@JonClements Oh, I like some of his songs
 
Wow... outdoing @Kevin for an idle threat to decapitate people... \0/ or something
 
12:28 PM
Why the long face?
 
(must. stop. closing. tab)
 
Because I did 0 instead of o? :)
 
Yes :)
@IntrepidBrit are you on Windows?
 
I am for today
 
@IntrepidBrit Use pinned tabs!
 
12:30 PM
Firefox?
 
Chrome
@SomeGuy What the what now?
 
Good man.
Right click on the tab and Pin it.
 
Yeah
Or you can pin a tab with ctrl-w
 
LIES.
 
That's no good!
 
12:31 PM
Ctrl+W is the way to go :P
 
Now I can't see when you reprobates has insulted me behind my back!
 
Even alt+f4 works for me ... Try it try it
 
I use Ctrl+F5
 
rolls eyes. Why don't I just type rm -rf / on my unix shell while I'm at it. I heard it summons an ASCII sheep/ram
 
I go to a terminal and type sudo shutdown now
 
12:33 PM
But you're on WIndows now
Delete system32 for more RAM
 
@BhargavRao yeah I didn't go with that in case of unsaved work in other tabs :)
 
You can download the RAM from downloadmoreram.com
 
@IntrepidBrit sorry
I typed it and then started laughing like the world's least ambitious evil genius
 
For real, though, on Google Hangouts, you can use /pitchforks when you're mad
I love that :P
 
When I'm mad I just kick people out of chat.
 
12:36 PM
Mad as in angry, mad as in mutually assured destruction, or mad as in having an episode?
 
All of the above.
 
Mad as in M ix of A ll of D above
 
@Ffisegydd Reported
 
Report me all you want, you'll never stop my kicking spree! Mhwhahahahaha.
 
@Bha
 
12:40 PM
@Ffisegydd Sad that you can't kick yourself!
 
@BhargavRao want to have a look onto this : stackoverflow.com/questions/30259398/…
 
1 hour ago, by Jon Clements
can't kick yourself though - although you can un-RO yourself
 
I am not sure about the behaviour that I have explained on that link, have a look ?
 
@anmol_uppal Ahan ... You got a feedback from the OP even while I was reading it :D ... Perhaps he downvoted!
 
@anmol_uppal please don't ping users like that.
See sopython.com/chatroom for the room rules.
 
12:43 PM
I really like Python, but I do find most documentation (core language and libraries) so hard to read it makes my eyes bleed.
 
Fizzy ... I want a [feature-request] for that page
 
@JRS really? I thought the docs were quite well done?
 
Something where you can highlight the individual points there
 
@JRichardSnape yeah it can be hard to take it all in
There's a lot of stuff to remember, I think
 
My issues: The changes of font all over the place does not make it easy to follow what is what. Class / function hierarchy is not obvious. Getting links to individual functions to send to people is hard work / inconsistent. Not one page per class. No neat list of functions for a given class at the start of the doc for a class. etc
The content - once you find it - is usually good, I grant
caveat - I am very used to Javadocs and like them ducks
 
12:47 PM
Yeah, javadocs are pretty consistent
 
caveat 2 I am having a 'moment' with pandas
which I find particularly bad in this regard
hereendetherant
 
@JRS what's the issue with pandas? I might be able to help.
 
Thanks @fizzy, but I've found it now. Just wanted to confirm how the rolling_window worked with regard to start and end of series conditions.
 
Ah yeah. That's in a bit of a strange place IIRC.
 
you are noted in my mind as a potential panda-tamer if I get really stuck, though ;)
 
12:56 PM
Maan ... which is the official site for packet tracer? All I see in Google for 3 pages is only third party sites
:'(
Lol .... downloaded .... Cisco_Packet_Tracer_6.1.1_for_Linux.tar.gz
It is some virus file for windows
 
Interesting choice of tags on this question. It was originally just "python 3.x", but OP is using raw_input.
 
Clear case of patch coding
 
morning everyone
 
cbg corvid
 
Looks a bit like an assignment where the teacher tells you "you must use classes" but they haven't adequately explained why anyone would ever want to use classes
 
1:11 PM
I didn't enjoy OO work at uni because they didn't teach a non-OO language first, so you can't see the benefits of it, or the problems
Coming from BBC Basic at home, it was obviously (mostly) better than that
 
Brief Rbrb ... Gotta visit the dentist :'(
 
And because it was Java, there was no opportunity for them to teach non-OO within the teaching language
 
Cabbage
 
@corvid Because it's unclear?
 
1:20 PM
yeah I have no idea what he is asking for
 
And it's hard to tell what she wants the program to do, with stuff like
`Monday = Homework('subject', 'assignment', 'due')`
`Tuesday = Homework('subject', 'assignment', 'due')`
Pity we don't have the "Lacks minimal understanding" close reason...
 
it doesn't really seem like he's asking a question, it's more like "please fix this homework"
 
Yeah - I agree - it's a fairly common problem.
 
the only problem with "minimal understanding" is it's very relative
 
P.S. Not that I am overly exercised by these things, but the name would indicate he is a she in case anyone is talking to the OP.
that's true @corvid
Although - if the problem is with assigning values to variables and confusing a literal string with a variable with that name - it's pretty hard to help at all.
 
1:27 PM
yeah sometimes that can be a little bit screwey, like in JavaScript a lot of people use string literals to represent variables in constructors
 
Yeah, I understand why "minimal understanding" was dropped. OTOH, it's often possible to gauge the minimal understanding required for a given task, and clearly this OP doesn't have it. OTOH, they might just need some basic things explained to them via a few good code examples and it'll all click for them...
 
It's remarkable how many people have obviously sat through a fair number of classes but still haven't grasped things like having to assign a value to a variable before using it. I do try to point people in the right direction even when those fundamentals are missing, but it's much harder over the wire rather than in person
 
some people go through intro to compsci and compsci I without understanding how loops work (I used to tutor those classes and compsci II)
 
There's a reason people ask FizzBuzz questions in interviews.
 
*FizzyBuzzy
 
1:30 PM
Hell, yeah. It's a lot easier to teach stuff face-to-face, where you have instantaneous feedback about whether you're getting through to them or not. And it's also nice to be able to draw diagrams. True, diagrams can be done online, but SO isn't the place to do it.
 
...
I'm not sure I like this. People in the building keep stopping and talking to me because "I'm the 3D print guy"
 
It'll pass :)
 
@pm2ring Yes, diagrams & instant feedback - that's the ticket. @Kevin I guess you're right about FizzBuzz. Having never been fizzbuzzed, I didn't really get it. I didn't know people applied to be programmers without being able to program. Until recently.
 
You're right Robert. When they've all talked to me, they'll all decide I'm a bit of a dobber and leave me alone :)
 
@JRichardSnape yeah, it's insane
Then they go and become BAs
 
1:42 PM
I think the original Fizzbuzz article said something like 95% of applicants don't know how to code? A boss of mine once told me something similar.
Which is weird to me because I have such a hard time writing a cover sheet for jobs I am qualified for.
 
Wierd. I guess maybe I'm slightly old, or something, but when I was applying for jobs, programming was geeky, uncool and definitely only something you'd even know about if you'd spent your lunchtimes pissing about coding pascals triangle to make a binomial distribution on the Maths computer (too personal an anecdote?)
 
Nah, that sounds about right for me as well
 
I'm not bitter about my lack of social skills at 13, no, not me, not at all
:D
 
Now there are programs for people who can't be bothered to learn it themselves, or who need constant encouragement to get them to try something, and the bar is very fuzzy for them, as they get an easy ride for a period of time. Until they encounter fizzbuzz in an interview.
 
I'm glad I entered software engineering after SaaS became popular
 
1:48 PM
Now is a very good time to be starting as a developer. I'm very jealous.
 
Guys, hello all. Anybody having a few minutes to spare, to help me out setup the vhost for a flask instace?
 
@w0rldart please see sopython.com/chatroom for the room rules.
In particular, please don't link new questions here.
 
@w0rldart might be worth responding to the answer given, rather than ignoring it
 
Oh, I see. Please do accept my sincere apologies
 
No worries :)
 
1:51 PM
@RobertGrant Just saw it, was about to
 
@JRichardSnape I guess the promise of a steady desk job is becoming more attractive over time
 
:23317835
def pascal(m):
    a = [1]
    for i in xrange(m):
        a = [x + y for x, y in zip([0] + a, a + [0])]
        print " ".join(["%3d" % x for x in a]).center(50)
:)
 
He's staring into your soul corvid.
 
Especially in this age where companies are becoming less loyal to long term employees. Programmers are able to make themselves irreplaceable fairly easily. Especially bad ones because no one can read their work.
 
Fixed your tiger.
 
1:58 PM
@Ffisegydd he will be mine
 

« first day (1672 days earlier)      last day (3289 days later) »