« first day (895 days earlier)      last day (4054 days later) » 

9:00 PM
wow - flightradar24 is an impressive app....
 
My draft recommendation: replace that explicit exception with except Exception, e
and remove the pywintypes import in the head
@Jon: yepp
 
Has a slight glitch where sometimes the planes appear to fly backwards for a moment, but....
 
@Zac: it should be work .. on my side, it does
@Jon: looking too long at crossing planes makes me really nervous
 
Pythooooon.........SSSSSSssssssssssssssssssssssss
 
O come on :/
more piety pls
 
Zac
9:03 PM
@ColinO'Coal you're a fricking genius
I'd never have worked that out
 
yeah - my first thoughts at watching it are - OMG - they're going to hit!!!!
 
hehe thanks Zac
 
just wondering, was python a first language for you all ?
 
ZX basic, then assembler, then C for me @SteveJobs
 
@jon: you know mapofthedead.com?
creepy
 
9:05 PM
@JonClements oh, ok, just curiosity.
 
then C++, SAS, SQL, then got into web stuff around '98 ish
 
@Steve: Basic, Pascal, Delphi, Fortan, Scheme, C, C++ ... Python ... and it's not the last
 
wow, wish i was alive to learn all that
they only have python in heaven
 
Oh I wish I've not learn (and try) that all.
But ... was young .. needed the money, u know
^^
 
@SteveJobs just pleased than have an internet connection ;)
 
9:13 PM
@JonClements yes, and hell downstairs acts as a great Firewall, so the connection here is very secure
 
ugh :(
bloody friday
 
Sure it's not Sunday?
 
no, it's damn holidad friday ^^
 
oh - thought it was last week...
 
nope
hum
nothing good in tv
 
9:24 PM
netflix ?
 
my new mmo game also first starts on nex tuesday
"Sorry, Netflix is not available in your country yet."
:(
 
Use a proxy?
 
I'm not so desperate ^^
I'm looking the marketing youtube videos for vat19.com
they're really funny
 
normally I watch the yogscast on youtube
or David Mitchell's soap box
 
Mitchell the writer?
yogscast seems okay
okay, I'm so desperated, I'm now installing Planetside 2
 
Zac
9:38 PM
If forget is it += or =+ to append a string
ignore that
 
+=
okay, ignored ^^
 
Zac
:) I was soo lazy I just typed it in to the command line
I forget how annoying it can be to ask stuff when I could have just done it
 
Python's advantage ... you have an interpreter (command line) ;).
 
Zac
how do I get the iteration number in a for loop ?
ie :
for item in playlist:
 
enumerate(playlist)
 
Zac
9:42 PM
where playlist is a list of strings
 
for index, item in enumerate(playlist):
 
Zac
and index will be an int ?
 
yepp
starting with 0
if you want to display it - i recommend to print index + 1
 
Zac
yeah gonna do taht
thx
 
or enumerate(playlist, start=1) also works...
 
9:46 PM
^^
python magic keyword arguments ... awesome
 
only 2.6+ I think
 
hope not
 
or maybe 2.7 ummm
 
wait, testing
 
it was a backport from the 3.x series
 
9:48 PM
2.7
 
2.6 ;)
 
anyhow it works with python 2.7.3
 
Before that you used for idx, el in it.izip(it.count(1), playlist)) or simlar
 
but that's very long past ago
I've started developing python in the early 2004 with
Python 2.5.3 I guess
and enumerate still exists there
ah, here ... since 2.3 ^^
and in 2.6 the start parameter was added
 
10:04 PM
trying to change my avatar - brb
 
good luck
 
done
 
aem
mhm
okay ... looks similar
maybe you have to relogg?
 
nope - the avatars are cached
 
Ah, if I hover/click on your name/profile I can see your new avatar
CTRL+F5 solves the problem on my side
was cached, you're right
Is that a well known ... dog .. your avatar is representing?
Or do you paint it by yourself?
 
10:18 PM
Just fancied a change
thought it looked kinda cute
 
yea, it does
you know Ren & Stimpy? ^^
 
looks a little bit as Ren
 
Evening everyone
 
10:24 PM
Hi all. For multi-dimensional arrays, NumPy is the way to go or are there alternatives?
 
I think NumPy is the way to go yeah, it's superquick for Python standards
 
there you should find alternatives
(and convenience wrappers)
@all: anyone know a word for convenience wrapper libarires?
like argfarce is a wrapper for pythons native argparse?
 
10:41 PM
Thank you both.
 
so guys, I'm afk for a while
 
11:10 PM
@ColinO'Coal How would i apply max(words, key=len)? to this, i tried words.max(... and words(max(... and i could not get it to work thanks
 
11:26 PM
max(words, key=lambda x: len(x)) should do the trick
 
@JosKraaijeveld Cheers!
 
No worries :)
 
11:44 PM
max(words, key=len)is much enough
test it on python 2.7.3
and words should be a list of strings
 

« first day (895 days earlier)      last day (4054 days later) »