It’s the last day! DAMN!!!
I love this event and Florence too.
I may resume my first experience at PyCON with this sentence: AMAZING!
Great people, technical and inspire sessions, an amazing staff that could help you anytime… this event is one of the best that I see in Italy!
I think that PyCon is look like Flash on the Beach but on Python obviously.
My talk about Python+Flex+AIR will be this evening at 6.30PM, I’m so excited because during those days I talk with Python developers and they are so interested to learn more about Flex and AIR features.
I talked with Nokia QT devs also about this cool technology, I think that I’ll start in next weeks to understand if it’s possible to work with QT and Flex because you could create very powerful and amazing contents together.
Finally I’d like to thank you all the staff because they made a fantastic work and give me opportunity to talk about Adobe Open Source technologies
In next few days I’ll put on my Flickr account PyCon photos, if you have any questions feel free to live a comment at this post!
See you later Python and Flash devs!
UPDATE
I’ve just uploaded my preso and source code, download it here!
Tags: nokia qt, pycon, pyqt, python and air, python and flex, python+flex+air, qt and flex, qt and python
[...] / lucamezzalira lucamezzalira: my 2 cents about PYCon: http://blog.flairpy.com/?p=30 lucamezzaliralucamezzalira: listening new NOFX album… Coster is amazing! [...]
Go Luca Go!
…if i was you i’d entitle the session “flex your snake in the air”
Hello Luca,
It was a very very nice talk… I keep wondering why the flash platform isn’t getting more popular for providing web application interfaces; not kidding there are many programmers that don’t even know you can do “serious” stuff beyond animations, cross-fading and bleep sounds for menus.
I just saw a minor error in the chat implementation of the talk (python side)… unless there was something special in the code not shown I got the impression you were reading from the socket with “msg = s.recv(1024)” and writing to it with “s.send(msg)”.
Do you know that recv/send do not necessarely send all the data ? A partial send or receive is part of the contract of the socket API as implemented in Python.
The correct way is checking the return value (that is the number of bytes really sent or received) and looping if what you were expecting or sending is not complete… something like
# Writing
while msg:
sz = s.send(msg)
msg = msg[sz:]
# Reading
msg += s.recv(1024)
while “\n” in msg:
nl = msg.index(”\n”)
process(msg[:nl])
msg = msg[nl+1:]
One bad thing about socket programming is that with that kind of mistake often everything apparently “works fine” when you’re running your program locally (because send and recv happen to be ‘complete’), but things go wrong when running over the real internet and normally people starts blaming the microsoft, the python library, the internet provider and the mayan calendar approaching 2012
HTH
Andrea (the guy that asked you about haXe after the talk)
Hi Andrea,
I remember you! Thank you so much for your suggestion, you know that I’m newbie on Python and your suggestions are perfect to grow up with this technology.
I hope to keep in touch soon, feel free to contact me at luca [at] flairpy [dot] com
thank again for your suggestions.