the Forty-Second Parallel

Hello, I'm Matt Grayson and this is my website. Feel free to learn more about me or just browse the archives. If you feel so inclined, you can also drop me a line. Thanks for stopping by!

Archives for March 2004

5 entries were found in the archives.

Packaging Python

Posted 25 MAR 2004 | Comments

From Guido Van Rossum's PyCon 2004 keynote (wish I could've made it):

Q: Python packaging painful - any solutions to not letting user screw you up with multiple versions?

A: Bittorrent works well. Not aware of other efforts in that regard? Guido would build a special version of python and force the application to start that version of python.

I can't say that I've packaged all that many apps in my short journey with Python. The couple that I have (on OS X), though, were anything but trivial to package. Once I jumped through all the right hoops, it went ok. But, how to get there wasn't all that obvious.

Not to complain - I think it's cool that you can package Python apps at all. But, the end result seemed a bit on the heavy side - especially when you throw wxPython into the mix. I just wonder if there's a better way that I've missed somewhere along the way.

Asset Management/Help Desk/Calendaring Web Application

Posted 24 MAR 2004 | Comments

So, where can someone find a good, open-source Asset Management/Help Desk/Calendaring Web Application? Or am I asking for too much ;-)

In any case, I don't think one exists. And the open source tools that I've come across that do any one of those things don't always do them very well. So, it's not like I can even cobble together a reliable solution from three separate tools.

Going the commercial route won't help me either. I've found some decent looking commercial offerings that do what I need. But there are two problems there - (1) they would probably be overkill for what our needs are as a small - medium sized academic unit and (2) being an academic unit, funds are in short supply of late.

So, that leaves I don't want to reinvent the wheel; but it's looking like the only solution is to build it myself.

Location Location Location

Posted 17 MAR 2004 | Comments

Building on the Wi-Fi locator (which seems to be down), Google Labs has unveiled a more general search interface that allows you to search by location. Want to find all bookstores or libraries in Knoxville, Tennessee? Done - complete with search results displayed on a map.

Instant Webserver

Posted 15 MAR 2004 | Comments

It's things like this that make Python rock (despite it's other shortcomings). Run this command:

      python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"

on any machine with Python installed, from the directory you want to serve files from and presto - instant webserver! Oh man, that rocks.

Update: forgot the hat tip to Aaron Brady.

It Kills Me

Posted 11 MAR 2004 | Comments

I love Python the language. I love the Python community - it's one of the most helpful, civil bunch of techies I've ever come across. But what I don't love are the options available if you want to develop web applications in Python.

That's not to say that there aren't options - there are loads of options (Webware, Twisted, Quixote, Zope, etc.). The problem is that each option has its own little way of doing things that is completely incompatible with the other's way of doing things - which might be ok if there were a couple of dominant, well-documented frameworks. But there aren't. (Zope comes close in terms of usage, but is so un-Pythonic that it barely counts.)

The Python web application arena is a mess - it's fragmented, disorganized and (for the most part) poorly documented. Some have pined for a standard Python servlet implementation along the lines of J2EE only to have others dismiss the notion as something that should be restricted to the "proprietary world" (whatever that means). Arrgghh ... it kills me.

To have a language that is as elegant and fun to use as Python fail so spectacularly to deliver an equally elegant solution in the web app arena just befuddles me.

Maybe I'm being a bit harsh. I'm not trying to imply that Python web app solutions are terrible. I like what I've been able to prod out of Webware. But when you hit a wall, there's no where to turn for help - the documentation stinks (they suggest you read the code and figure it out yourself?!?); the user base is relatively small so there are few to ask questions of; and other web frameworks aren't much better off.

I like Python and am quite content with it's performance as a client side development platform. But if you want to do anything remotely complex while interacting with a browser, watch out. I know - use the right tool for the job. But sheesh - I'm this close to throwing in the towel and slinking back over to Javaland.