Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread python
Hi Michael All I did was generate some DXF files that could be fed into a laser cutter. But I've never designed anything like that before, so the geometry and getting the gear teeth right was fun. It was for a business idea that didn't progress. Dave Berkeley On 20/12/10 18:02, Michael Graz

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Edward Hartley
On 20 Dec 2010, at 16:46, Tim Golden wrote: > On 20/12/2010 16:08, Alec Battles wrote: >> I >> still have no idea why tokenizing Hungarian text and tokenizing German >> text are not fundamentally the same operation > Those languages have different grammatical structure inflexion and stemmin

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread python
Also I've been playing with Arduino, although that's so straightforward to use Python does everything I need it to. I've fiddled with ZigBee networking, which is quite good fun and I've got some basic stuff for that in Python. Cheers, Doug. Hi Doug, I went to a talk by you (on TurboGears?)

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread python
On 20/12/10 17:06, Andy Robinson wrote: On 20 December 2010 14:43, wrote: Sadly I only got paid for some of it. The invoices are generated in Python though. PDFs from ReportLab, I hope and trust? ;-) No, but the Christmas cards are. The invoices are just dynamically generated HTML. I know

Re: [python-uk] urllib latency

2010-12-20 Thread Doug Winter
On 20/12/10 17:19, Jon Ribbens wrote: Could it be SO_REUSEADDR? Um... no ;-) It did seem unlikely ;) -- Telephone: +44 1904 567330, Mobile: +44 7879 423002 Switchboard: +44 1904 567349, Fax: +44 20 79006980 Post: Tower House, Fishergate, York, YO10 4UA, UK Registered in England. Company No

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Giorgio Zoppi
2010/12/20 Doug Winter : > On 20/12/10 17:53, Alec Battles wrote: I seem to remember that 'file' in Linux detects encodings, but it's also a matter of calling it by the exact same name... >>> >>> There is no foolproof way of detecting encoding unfortunately - you just >>> need to kno

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Doug Winter
We've been building all sorts of stuff, much of which I can't talk about annoyingly. We're about 50% Plone, 50% other stuff - primarily Django, Twisted and plain old Python. Most of my time has been taken up with our largest client who is in the Pharmaceutical industry. We've done lots of

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Will McGugan
Not sure if I'll allowed to discuss the day job, but in my off time I've been developing pyfilesystem (http://code.google.com/p/pyfilesystem/). I recently added the ability to open filesystems with a url, and created a bunch of command line applications which make use of that. This turned out to b

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Doug Winter
On 20/12/10 17:00, Matt Hamilton wrote: * I organised the Plone Conference 2010 which was held in the UK this year. We had nearly 300 attendees from 33 different countries. This was a fantastic event, a great community of people and demonstrating the power of python in larger systems And ver

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Doug Winter
On 20/12/10 17:53, Alec Battles wrote: I seem to remember that 'file' in Linux detects encodings, but it's also a matter of calling it by the exact same name... There is no foolproof way of detecting encoding unfortunately - you just need to know what it is before you read the file. That's in

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Rob Cowie
On that topic, one of my highlights this year has been getting a ReportLab license. I'm now producing uninteresting letters with interesting tech; It's all about the journey not the destination I guess ;) On 20 Dec 2010, at 17:06, Andy Robinson wrote: > On 20 December 2010 14:43, wrote: >> Sa

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Matt Hamilton
On 20 Dec 2010, at 12:18, Andy Robinson wrote: > Why don't a few people here tell us what they got up to this year? > Neat projects at work, things you learned about Python in 2010, things > you've been playing with Well a couple highlights of my year: * I organised the Plone Conference 20

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Michael Grazebrook
Dear Mr Berkley, This sounds both fun and interesting! Tell me more! Was this business or pleasure? A small project of my own is to help my father with his milling machine. He wants to re-write a program in a more modern language: the program converts printed circuit board layouts into the m

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Alec Battles
>> I seem to remember that 'file' in Linux detects encodings, but it's >> also a matter of calling it by the exact same name... > > There is no foolproof way of detecting encoding unfortunately - you just > need to know what it is before you read the file. That's interesting. I wonder if there's a

Re: [python-uk] urllib latency

2010-12-20 Thread Jon Ribbens
On Mon, Dec 20, 2010 at 04:26:09PM +, Doug Winter wrote: > Matt Hamilton wrote: > > I'm off to go dig in the urllib code and see if I can see anything > > there. I'm wondering if urllib is taking some time to process the > > data after it receives it before doing anything. > > > > This is on O

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Doug Winter
Alec Battles wrote: > I seem to remember that 'file' in Linux detects encodings, but it's > also a matter of calling it by the exact same name... There is no foolproof way of detecting encoding unfortunately - you just need to know what it is before you read the file. Cheers, Doug. -- Telephon

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Nick Murdoch
On Mon, Dec 20, 2010 at 04:58:07PM +, Alec Battles wrote: > > I seem to remember that 'file' in Linux detects encodings, but it's > also a matter of calling it by the exact same name... > Any encoding detection will be heuristics; I've personally found the chardet library really useful when

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Andy Robinson
On 20 December 2010 14:43, wrote: > Sadly I only got paid for some of it. The invoices are generated in Python > though. PDFs from ReportLab, I hope and trust? ;-) -- Andy Robinson Managing Director ReportLab Europe Ltd. ___ python-uk mailing list py

Re: [python-uk] urllib latency

2010-12-20 Thread Doug Winter
Matt Hamilton wrote: > I'm off to go dig in the urllib code and see if I can see anything > there. I'm wondering if urllib is taking some time to process the > data after it receives it before doing anything. > > This is on OSX, but I'm going to go try it on a FreeBSD box as I can > then use ktrac

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Alec Battles
>> Unicode >> interoperability is a pain, though, and I find it depressing to work >> with in Python2.x, because it never seems to behave predictably. I >> still have no idea why tokenizing Hungarian text and tokenizing German >> text are not fundamentally the same operation > > I have no idea why

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Matt Hamilton
On 20 Dec 2010, at 15:41, Jonathan Hartley wrote: > clients with extremely large spreadsheets (which take hours to recalculate on > Excel) *shudder* But that is what makes what you have done even more amazing :) I'm pretty sure spreadsheets of that level of complexity have a lot of subtle exc

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Chris Dew
I've used a lot of Python/Django for vehicle/resource tracking http://www.xlocate.net/ - about 50% of the server-side is Python, the rest being Javascript/NodeJS. The web site uses Django CMS. I've also used Python a dozen times for one-off text processing jo

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread python
On 20/12/10 12:43, Giorgio Zoppi wrote: 2010/12/20 Andy Robinson: As an attempt to generate some content and balance out the "jobs" discussion Why don't a few people here tell us what they got up to this year? Neat projects at work, things you learned about Python in 2010, things you've bee

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Tim Golden
On 20/12/2010 16:08, Alec Battles wrote: Unicode interoperability is a pain, though, and I find it depressing to work with in Python2.x, because it never seems to behave predictably. I still have no idea why tokenizing Hungarian text and tokenizing German text are not fundamentally the same opera

[python-uk] AUTO: David J Pearson Is Away On Holiday (returning 05/01/2011)

2010-12-20 Thread David J Pearson
I am out of the office until 05/01/2011. I am currently away on holiday over the Christmas period. I will read / respond to your email when I return. If you need to contact me urgently, please send SMS text message to my mobile phone (number on my bluepages record). Thanks David J Pearson

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Alec Battles
> As an attempt to generate some content and balance out the "jobs" > discussion > > Why don't a few people here tell us what they got up to this year? > Neat projects at work, things you learned about Python in 2010, things > you've been playing with > > I'm having a mad day but will try

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Jonathan Hartley
OK, I'll bite, because what we're doing is exciting and new to me, so maybe to others also: Here at Resolver a couple of years ago we wrote a spreadsheet-like desktop application entirely in Python. Cell formulae are also full Python expressions, with a slightly augmented grammar to allow the

Re: [python-uk] urllib latency

2010-12-20 Thread Matt Hamilton
On 20 Dec 2010, at 14:15, Alex Willmer wrote: > On 20 December 2010 13:54, Matt Hamilton wrote: > Anyone know why urllib.urlopen() can be so much slower than using ab to do > the same thing? I seem to be getting an extra 100ms latency on a simple HTTP > GET request of a static, small image. >

Re: [python-uk] urllib latency

2010-12-20 Thread Matt Hamilton
On 20 Dec 2010, at 13:54, Matt Hamilton wrote: > Ok, here's a non job related post... > > Anyone know why urllib.urlopen() can be so much slower than using ab to do > the same thing? I seem to be getting an extra 100ms latency on a simple HTTP > GET request of a static, small image. Some mor

Re: [python-uk] urllib latency

2010-12-20 Thread Alex Willmer
On 20 December 2010 13:54, Matt Hamilton wrote: > Anyone know why urllib.urlopen() can be so much slower than using ab to do > the same thing? I seem to be getting an extra 100ms latency on a simple HTTP > GET request of a static, small image. > Just some possibles: - How many DNS lookups is ea

Re: [python-uk] urllib latency

2010-12-20 Thread Matt Hamilton
On 20 Dec 2010, at 14:04, Giorgio Zoppi wrote: > 2010/12/20 Matt Hamilton : >> Ok, here's a non job related post... >> >> Anyone know why urllib.urlopen() can be so much slower than using ab to do >> the same thing? I seem to be getting an extra 100ms latency on a simple HTTP >> GET request of

Re: [python-uk] urllib latency

2010-12-20 Thread Giorgio Zoppi
2010/12/20 Matt Hamilton : > Ok, here's a non job related post... > > Anyone know why urllib.urlopen() can be so much slower than using ab to do > the same thing? I seem to be getting an extra 100ms latency on a simple HTTP > GET request of a static, small image. > I've tried it repeatedly and ge

[python-uk] urllib latency

2010-12-20 Thread Matt Hamilton
Ok, here's a non job related post... Anyone know why urllib.urlopen() can be so much slower than using ab to do the same thing? I seem to be getting an extra 100ms latency on a simple HTTP GET request of a static, small image. e.g. >>> for x in range(10): ... t1 = time(); data = urlopen('htt

Re: [python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Giorgio Zoppi
2010/12/20 Andy Robinson : > As an attempt to generate some content and balance out the "jobs" > discussion > > Why don't a few people here tell us what they got up to this year? > Neat projects at work, things you learned about Python in 2010, things > you've been playing with Stub serve

[python-uk] Tell us what you did with Python this year....

2010-12-20 Thread Andy Robinson
As an attempt to generate some content and balance out the "jobs" discussion Why don't a few people here tell us what they got up to this year? Neat projects at work, things you learned about Python in 2010, things you've been playing with I'm having a mad day but will try to post mine to

Re: [python-uk] OT: Looking for an iPhone dev

2010-12-20 Thread Tim Fernando
On 20 December 2010 12:00, Zeth wrote: > On 19 December 2010 21:22, Jamie Kirkpatrick > wrote: > Well I have threaded email, so my annoyance at getting these kind of > posts on mailing lists is moderated by the fact that by the time I get > to them, there are already other replies moaning about

Re: [python-uk] OT: Looking for an iPhone dev

2010-12-20 Thread Zeth
On 19 December 2010 21:22, Jamie Kirkpatrick wrote: > There are getting to be too many of these kinda posts for sure. Well I have threaded email, so my annoyance at getting these kind of posts on mailing lists is moderated by the fact that by the time I get to them, there are already other replie

Re: [python-uk] OT: Looking for an iPhone dev

2010-12-20 Thread Andy Robinson
On 20 December 2010 08:05, Simon Brunning wrote: > On 20 December 2010 01:19, Patrick Dempster > wrote: >> Perhaps its time for the list admin's, start blocking those who post these >> "job" adverts? python jobs I can sort of understand but this is getting >> silly. Or, we could take another ta

Re: [python-uk] OT: Looking for an iPhone dev

2010-12-20 Thread Simon Brunning
On 20 December 2010 01:19, Patrick Dempster wrote: > Perhaps its time for the list admin's, start blocking those who post these > "job" adverts? python jobs I can sort of understand but this is getting > silly. I OKed the Python job post recently, 'cos it looked Python related to my cursory eye.