Blog Tag pygta

Talking about XMPP at the next PyGTA

Published by Myles Braithwaite 4 months, 2 weeks ago. 0 Comments

Tags , , , , and

I am going to be talking about XMPP at Tuesday's (tomorrow's) PyGTA meeting at the Linuxcaffe.

XMPP is chat. It's the underlying protocol for open peer-to-peer communication systems, but what becomes possible when the peers are servers? How can you make your server a chatty teen?

Myles Braithwaite uses XMPP a lot. He ships documents and data-sets across it that look nothing like the chatter of teenagers. He'll explain how he does this, why he does this, and how you can do it too.

Hope you will be able to make it out.

PyGTA - PyCon Dress Rehearsal

Published by Myles Braithwaite 7 months ago in Planet. 0 Comments

Tags , , , and

This month's PyGTA we will have three presenters talking about their upcoming PyCon talks. Leigh Honeywell will be presenting Teaching Python in Your Community -- her experience teaching a Python class at HackLabTO. Greg Wilson on What We've Learned From Building Basie -- what a bunch of undergraduates accomplished building a Django-based replacement for Trac called Basie. Mike C. Fletcher on Debating 'til Dawn -- will be presenting some of the best discussion/ideas/talks at PyGTA the last three years in his attempt to make PyCon cool again.

Remember to bring your laptop because Mike will have a Real-time feedback tool for chatting with the presenters and give feedback on their talks (he has been") working for the last three months).

Tornado at PyGTA

Published by Myles Braithwaite 7 months, 2 weeks ago in Planet, and Project52. 0 Comments

Tags , , , and

Last night at PyGTA, Mike gave a short talk/demo about his findings using Tornado and CouchDB to write a real time chat and voting application for his PyCon talk.

Tornado is a lightweight non-blocking web server created by FriendFeed and Open Source by Facebook. The API is similar to web.py and App Engine's webapp framework. Mike's ending comments was that Tornado can out perform Twisted. But he found he had to write a lot of code to do things that were built into Twisted (or any other modern web framework) already.

His thoughts on CouchDB:

I'm really beginning to regret the choice of CouchDB for the back-end. It's working perfectly well, but I have literally dozens of pieces of code hanging around for doing SQL-based paging... none of which are applicable to CouchDB.

*Referenced: Things I'd like to play with (given enough time)*

This website (and a few other sites I manage) will be moving from Apache 2 and WSGI to Tornado and Nginx #. It will still be built on top of Django thought so most of the issues Mike was talking about wouldn't apply to me.

Other people who wrote about this event:

Exception Handling in Python

Published by Myles Braithwaite 1 year ago in Planet. 0 Comments

Tags , , , , and

Last night PyGTA was a Exceptional Conditions round table, like most PyGTA meetings it went philosophical side of programming.

My personal philosophy, in web development, is to log exceptions, not found pages, and performance to almost extreme levels. Then weekly I take the logs and analyzes them with a script which puts them into a database, which groups the results. If an error happens more than five times in the given week the script creates a ticket in the issue tracker for me to work on later. I log all not found pages by real people (not search engine bots) to try and understand why they navigated to that page. The performance log is how long the system took to generate the page and SQL queries and time it took to execute them.

Mike took some good notes so if you are interested you should definitely check it out.

Talking about Google App Engine @ PyGTA

Published by Myles Braithwaite 1 year, 5 months ago in Planet. 0 Comments

Tags , , , and

On 21 April 2009 at 7:30 pm I am going to be giving a talk about Google App Engine at the linuxcaffe.

Google App Engine is a platform to building and hosting web applications on Google's infrastructure (which is sometimes called PaaS1). It has a pay-for-what-you-use payment level but anything below 5 million pageviews a month.

PaaS
Platform as a Service is the delivery of a computing platform and solution stack as a service.

Last nights PyGTA Meeting.

Published by Myles Braithwaite 1 year, 8 months ago. 0 Comments

Tags , , , and

Last night at PyGTA we talked about our Personal Programming Mantras and came up with an interesting list, my personal favorites:

In the face of ambiguity, refuse the temptation to guess.
Have a vision before you start coding.
Nothing is sacred.
No one owns any piece of code.
Keep it simple, smartarse.
Sometimes the solution really is simple.
You are wrong.
About optimization.
About planning.
About everything.
.2% of reusable code is reused.
DRY gone wild, wet-T-shirt edition.
I'm an idio-nius.
Constant self-doubt is good/bad.
Standard naming, but no naming Nazis.
Don't trust standards.
My standards are good.
Yours suck.
Prototype in the target language.
Power Builder Sucks
Be a programmer, not a DBA, dammit!
Leave sysadminning to the sysadmins.
Leave DBA-ing to the DBAs.
I like my bubble.
Limit your knowledge, avoid doing the dumb things.
Space-Nazi's suck.
It doesn't fucking matter about spaces... Please just leave me alone.

Also I am going to be doing the PyGTA presentation in January on CouchDB, the first 30 miniutes will be a quick overview of my GTALUG presentation and the rest will be looking at using CouchDB in Python.

Getting Excited for my pyGTK Presentation

Published by Myles Braithwaite 3 years, 1 month ago. 0 Comments

Tags , , and

If you don’t already know I am going to be presenting PyGTK at the next PyGTA meeting today! I will try and have slide up afterwards and even some more demos that I wont be showing at the meeting (because of the screw up at the last).

PyGTA Presentation on pyGTK

Published by Myles Braithwaite 3 years, 2 months ago. 0 Comments

Tags , , and

I will be presenting IronPython at the next PyGTA meeting at the linuxcaffe.

Presenting IronPython at PyGTA

Published by Myles Braithwaite 3 years, 4 months ago. 0 Comments

Tags , , , and

I will be presenting IronPython at the next PyGTA meeting.

Newsgroups: comp.lang.python.announce
From: “Mike C. Fletcher”
Date: Fri, 13 Apr 2007 00:15:27
Subject: Python in a strange land: IronPython and ASP.NET at the next PyGTA

IronPython is a native implementation of Python on the Microsoft .NET platform. The implementation is from Microsoft and the language is well supported by the Visual Studio development environment which has always been one of the Microsoft platform’s strengths. Though Python is often associated with the Free and Open Source communities, consultants and developers frequently need to solve real-world problems using Python on the .NET platform. IronPython makes using Python in these situations a natural choice for the Python programmer.

Our speaker for the evening is Myles Braithwaite, a local consultant and developer. He is going to give us an idea of how developing a web application using ASP.NET looks when using IronPython instead of C#, as well as his impressions of the platform.

As usual, we will hold the presentation at Linux Caffe, gathering for introductions at 6:30 PM, with the formal presentation beginning at 7:00 PM. We normally head out around 8:30 PM for beer, coffee and/or ice cream. You can find directions and maps to Linux Caffe on the wiki:

http://web.engcorp.com/pygta/wiki/NextMeeting

Update

I have the Presentation and Demo files at my wiki: /Presentations/2007/PyGTA-IronPython