Year: 2005

  • Nokia Device Program Dissapears?

    I wouldn’t exactly call this huge news, but it appears that Forum Nokia has discontinued their device loaner program (at least in the US). I’m not sure if the program has migrated over to Forum Nokia PRO or if it’s been dropped completely. Either way, I’m not too suprised, as I’ve submitted a couple of requests for loaners over the past year or so and haven’t heard back. They’re probably swamped with more requests than they can handle. Yeah, it’s sad to see a resource like this dissapear (I’m pretty sure it was still around amonth or so ago), but at the same time I was never able to take advantage of it. I wouldn’t be suprised if they just didn’t see any commercial value in my request, but I’d rather think that my request just got lost in a gigantic stack of requests and they never got around to looking at it…

  • Latest WordPress

    Please bear with the default WP theme for a little bit. I hope to get my previous template back up soon, but I finally took the plunge and updated to the latest WordPress release (something I should have done some time ago). Let me know if you experience anything super weird.

  • Hang In There Londoners

    More realtime news in London again today (thanks to JibberJim for relaying the breaking news). BBC News and Sky News are reporting that a suspected suicide bomber has been shot at Stockwell station this morning.

    Hang in there, guys and gals.

  • Nokia 6682: Finally!

    It’s a little past Q2, but that’s okay, because according to Russ, the 6682 is available directly from Nokia USA. It definitely has the early adopter tax applied to it, weighing in at about 600 bucks.

    I’m hoping that Cingular (or more likely) Let’s Talk or another reseller has it in stock so I can pick one up on contract (and hopefully at least take a couple hundred bucks off the list price). I really wish that I was in the position to drop $600 on this phone that I’ve been waiting for since it was announced, but that’s just not in the cards. Too much talk and not enough action on my part I guess. I am hoping to pick it up as soon as I can on contract, so I should be somewhere behind the affluent early adopters but before the masses.

    Thanks for getting this one out the door Nokia, I look forward to snagging one.

    Update:

    I just re-read this post and I realized that it comes across a bit cranky. Sorry about that, yesterday was a long day.

    According to the specs and what I’ve heard the 6682 is an awesome little phone. When I snagged my 3650 (again, after Russ but before most of the American blogosphere picked up on how much it rocked) list price was probaly close to if not at $600. Lucky for me it had been out just long enough to be free after rebates through Amazon.

    Oh, 6682, you will be mine soon enough…

  • Django: Trivial Patch

    Last night I ran across a deprecation warning when running django-admin.py startproject <projectname>, so I went to file a ticket but found that someone else had experienced the same problem. I looked at the solution, and on the surface it looked like the fix involved replacing from whrandom import choice to from random import choice. Indeed that was all it took, so I submitted a (trivial) patch and continued to bang on Django a bit more.

    That trivial patch made me really wish that there were unit tests for Django. I would have felt a lot better knowing that after applying my patch n tests still passed with flying colors. Without a test framework in place, I really had no idea if my trivial search and replace broke something. It’s possible that somewhere in the code was really expecting some behavior specific to whrandom that was just slightly different than the behavior of random.

    I’m going to hunt around for other little trivial fixes that don’t require carnal knowledge of the codebase and submit patches if I can come up with a fix. At the same time I hope that Nelson’s test suite ticket gets noticed. I wouldn’t mind doing some of the dirty work once a framework is in place, but as always I defer to Adrian and the core Django team when it comes to policy and implementation.

  • Keeping Up With Django

    It’s been quite amazing watching this framework called Django, pulled from a production environment, evolve in realtime right before my eyes. Adrian has been committing changes left and right, fixing bugs, adding features, and most importantly lowering the barrier for new users. Docs and tutorials are being clarified, things made simpler, and a few of those nagging problems are dissapearing in front of my eyes.

    Yesterday Adrian modified the cookie system so that we didn’t have to add a custom setting in order to make it work. He’s also moved DJANGO_SETTINGS_MODULE to a Python variable so you should no longer have to set an environment variable in order to tel the system which module you want to run. Strike that, you still need the environment variable, the name is just user configurable. (Thanks Stefano!) And of course the addition of django-admin.py runserver lets you bypass mod_python or another WSGI-compliant server while you are just checking out the framework or during initial development.

    jango team and everyone in the quickly expanding community. If you’re having trouble with something, hop on #django at Freenode, there’s probably someone else in there who has experienced the exact same thing. And don’t forget to svn up often!

    Now that I’ve gone through the tutorials and have reasonably wrapped my head around the framework I plan to work on a small project to flex my newly found Django muscles.

    Update:

    As always, Adrian has made our lives simpler, this time with Changeset 247:

    Added ‘–settings’ option to django-admin. This specifies which settings module to use, if you don’t want to deal with setting the DJANGO_SETTINGS_MODULE environment variable. Refactored django-admin to use optparse. Updated the tutorials to use ‘–settings’ instead of environment variables, which can be confusing.

  • OXLook for OPEN-XCHANGE

    Nice! I was looking for more information on how much OXLook for the open source version of OPEN-XCHANGE is, and they’re only $20 a seat! More information on the Outlook connector can be found here.

    In an ideal world it would be awesome if I could use the built-in exchange syncronisation on my Dell X30, but that’s a no-go. Plugging it in to a windows desktop in order to sync changes made from the web portal or from ical-over-webdav to Evolution( (I hope) might be the closest I can get to perfection.

    I’m still not sure what is going to be best to get me organized, but right now I think a “try something and see if it works” attitude is the way to go.

  • Pimp My Django

    Pimp My Django

    Yeah, baby! Thanks to tons of SVN updates, I’ve managed to plow through the second Django tutorial unscathed. I’m really impressed with the admin interface and how a dab of Python can do stuff like create a sidebar or create a rocking search interface.

    Huzzah!

  • Hey Apple: That\’s Just Silly!

    AppleInsider:

    Under the revised store hours, most Apple retail locations will operate: 7 a.m. to 10 p.m. Mon-Fri, 8 a.m. to 10 p.m. on Saturdays, and 10 a.m. to 9:30 p.m. on Sundays, according to ifoAppleStore.

    Aww, comeon. Who did you pay how much to come up with that? You’re going to loose money on this and go back to the old hours eventually. Trust me.

  • Django: Making it Easier

    Yes! Adrian has just commited a patch that bypasses mod_python completely!

    mcroydon@mobilematt:~/django/proj$ django-admin.py runserver
    Starting server on port 8000. Go to http://127.0.0.1:8000/ for Django.

    svn up in your django_src dir and enjoy.

  • Django Gotchas

    I know that a lot of these things will get ironed out or explained more clearly once the platform matures and more people start using it, but here are some tips for early Django adopters trying to get through the tutorials:

    1. Don’t name your project test. I know it sounds like a good idea now. I did the same. Trust me though, at the beginning of Tutorial 2 you’ll start kicking yourself when you run in to namespace collisions with the test module. In order to make this warning a bit more abstract, you’re best off not naming your project anything that is a Python module in the Python Standard Library
    2. Your project directory should be somewhere in your Python Path. Under Linux your best bet is to set the PYTHONPATH environment variable. Here’s the gotcha, if your project is in /path/to/project, you actually want to set your PYTHONPATH variable to /path/to. On a per-session basis you can do this by doing something like export PYTHONPATH=/path/to
    3. In order to really use django-admin.py as often as you’re going to, you really want to symlink it to /bin or /usr/bin. For me (again, under Ubuntu having checked out Django via Subversion), ln -s /usr/lib/python2.4/site-packages/django/bin/django-admin.py /usr/bin/django-admin.py did the trick.
    4. Really pay attention to the install instructions and make sure you symlink your django install to /usr/lib/python/site-packages correctly.
    5. I’m still dealing with the newbie cookie authentication bug that tends to creep up partway through the second tutorial, but I was able to get the admin login to pop up by using the following settings for Apache2 and mod_python (with special thanks to #django and the Django on OSX installation guide):
      <location /admin/>
              SetHandler mod_python
              PythonHandler django.core.handler
              PythonPath sys.path+['/home/mcroydon/django']
              SetEnv DJANGO_SETTINGS_MODULE proj.settings.admin
              PythonDebug On
      </location>

      The PythonPath to the directory containing your project is again quite critical. This is where the test collision will show up if you’ve been foolish enough to name your project test. Make sure that DJANGO_SETTINGS_MODULE points to your project. This worked perfectly for me under Ubuntu Hoary, but YMMV. PythonDebug On is your friend here and turns a plain jane 500 error into a traceback.

    Gotchas like these are going to have to be minimized in order to not scare away newbies and also enable that “running start” feeling that you get with Rails. I’m sure that a few of these are mitigated by setup.py in the tarball and the rest should be made a lot easier once WSGI support is added (and I’m glad to hear that adding a built-in server is on the list somewhere) should take care of the rest.

    I do have to say that so far (gotchas aside) I’m really impressed with the platform. It’s great to be able to work with the Python interpreter to flush out some test data (you can do similar things with the Ruby interpreter with Rails, but Python is my native language). I also got warm fuzzies when someone asked if there was a mail module for Django. Heck, Python has an awesome standard library, why not use it?

    Thanks again to everyone in #django on Freenode for all the help and guidance. Now it’s time to get back to that login gotcha.

    Note: Django is a moving target right now. Since I wrote this early this morning, support for a standalone server has been added (just after WSGI support was added) and lots of little bugs and niggles are being taken care of as I type.

  • Django: Python on Rails?

    Let the buzz over Django begin. I first saw it fly by very early this morning as Clint Ecker pointed to some documentation. Simon Willison has given it a proper introduction this morning.

    I definitely need to take a close look at Django if it can approach the productivity of Rails while speaking my native Python. I could be missing something, but I think one very important thing that Django needs in order to have that running start in development productivity is to ship with a small HTTP server available by default. Rails uses WEBrick for this and allows development without the need to mess with Apache or lighttpd in order to start coding. It should be trivial to add similar functionality to Django (with CGIHTTPServer and all).

    I don’t mean to rag on the new framework on the block. I think Django has a ton of potential. It’s off to the right start, having been extracted from a working environment being worked on by some really smart people.

    We’ll see how this turns out, but I’m extremely excited.

  • XM Radio: The Tipping Point?

    XM LogoWhile walking around the electronics section at Target last weekend, I began to wonder if XM Radio had reached the tipping point, and I”m beginning to think that the answer is “yes.”

    XM claims to have over 4 million subcribers, vs. Sirius‘ 1.4 million. It remains the horse to beat, something that I’ve felt since the two satellite radio services launched.

    Why do I think that XM is reaching the tipping point? Many reasons actually, but I think it all hit me in the electronics aisle of Target. First off, they’ve been playing a heck of a lot of Live 8 content on some of their channels, which is cool.

    The second part hit me when I actually used an XM device for a bit a few weeks ago. It’s actually my parents equipment in my old bedroom at their place. Yep, my parents have XM, not me. XM has an amazing range of content. There’s stuff that my dad loves, and stuff that I really like too. Two of my favorite channels so far are XM Cafe and The Loft. In addition to a station playing Live 8 stuff I found myself flipping between these two channels because they offered that sort of eclectic mix that I can never seem to get enough of.

    Everything came together when I saw the XM receiver kit that my mom had bought my father on the shelf at Target for $50. Holy crap, that’s cheap. XM is also sneaking its way in to car CD players, new cars, boomboxes, and home stereo systems. It’s really starting to pop up everywhere. I also love the idea of the XM2Go portable receiver which is bigger than an iPod but smaller than a CD player, goes with you everywhere, and lets you record up to 5 hours of content.

    Call me slow, but I think XM is at its tipping point (if it’s not well past it and I just didn’t get the memo) and it’s smooth sailing from here. Heck, for the monthly subscription fee you can also listen to some of their channels online.

  • OPEN-XCHANGE, Finally!

    Open-Xchange, Finally!

    I can’t tell you how many hours I’ve put in to getting to this screenshot, which if you can’t tell means that I have a working OPEN-XCHANGE installation. Just after OX was released as open source I repeatedly tried to install it without success. The install instructions always seemed to be slightly out of sync with reality and I usually got about 3/4 of the way through but died horribly during slapd or OX.

    Starting last night just before bed and finishing this evening when I had free time, I followed these excellent instructions (login required) to install OX on a fresh Sarge install. I’d like to thank Murphy and everyone who provided him input, including Laurent Francoise, who got me so close so many times.

  • Penguins Marching

    March of the Penguins Poster

    We went to see March of the Penguins today, and it rocked. The first thing I heard about it a few weeks ago (besides it being good) was the fact that it was grossing a lot more than anything else on a per-screen basis than anything out there, even though it was only out in a handful of theatres:

    Around Hollywood, they’re calling it the “Penguin Movie.” And although it doesn’t offer any challenges to Brad Pitt or Tom Cruise in the leading man department, the film nabbed at least one box-office bragging right this weekend: On a per-screen basis, ticket sales for “March of the Penguins” were far more than for any other movie, $26,269, compared with $19,719 for the overall box-office champ, “War of the Worlds.”

    After seeing it, I know why. The cinemetography is amazing. The story is epic. The writing iis great, and Morgan Freeman does a great job narrating. We were in a smaller theatre, but if it wasn’t completely sold out there couldn’t have been more than a few empty seats.

    Needless to say, I highly recommend it as long as you can handle something that’s not full of special effects and bad acting.

  • Killer Mobile Interfaces with Python and Maemo?

    Thanks to INdT‘s hard work, Python as well as PyGame are available for Maemo and the 770. This got me thinking about how cool it would be to use PyGame on Maemo to develop simple (but really good looking) apps with that “video game menu” feel to it. Killer apps like MythTV Freevo have proven that you can use PyGame to create killer interfaces.

    I’m going to put this somewhere on my long list of things to do in my spare time, but it would rock if someone ran with this. What do you think?

  • Maemoizing X-Chat

    Someone has been busy Maemoizing X-Chat. I was able to get a vanilla build of XChat running on Maemo but text input was a bit tricky. With a little tweaking it should be a great IRC app for the 770. While I still haven’t gotten around to applying the patches to Gaim mentioned on maemo.org, that should also be a viable option for IRC as well as AIM, MSN, Jabber, and others.

  • Best. DRM. Evar!

    Rails Book non-DRM

    Okay, I lied. The best DRM isn’t DRM at all. I’m not a huge fan of DRM because it always seems to get in the way when you’re trying to use something that you’ve bought in a way that you think is appropriate. No, the best DRM in the world just makes sure you don’t redistribute the stuff you’ve bought, or makes sure you can get in trouble if you do.

    The above screenshot is from the PDF version of the upcoming Agile Web Development with Rails book. They have these PDF-aware gerbils at The Pragmatic Programmer that generate (and regenerate upon request when a new version is out) PDFs on the fly, with your name on the bottom of each page.

    Having your name plastered all over the place is one sure way to discourage sharing it with friends or on file sharing networks. Imagine what would happen if the publisher found out htat you’re the guy responsible for the book ending up on BitTorrent?

    Granted, this method isn’t foolproof, and I’m sure that if you really wanted to you could figure out a way to remove your name from the PDF. The exact same thing can be said for the vast majority of DRM out there though, if you really want to get around it. I’m very glad that I can just use the stuff I paid for without having to deal with DRM silliness.

    My hat is off to the publisher and authors of this awesome book for “getting it.” In related news, the book rocks. It’s definitely worth having if you’re using or thinking about using Rails.

  • Maemo Subversion Repository

    Good news from the Maemo developer’s list coming not long after the announcement of the official Maemo Wiki:

    Hi all,

    Starting from now, a subversion repository is available for everyone at:

    https://stage.maemo.org/svn/maemo

    login: guest

    password: guest

    Currently just a few packages were imported, but expect all the others
    to pop up in the coming days/weeks. Bleeding edge development and latest
    bug fixes will happen there.

    Stay in tune!

    luc

    This should make tracking the bleeding edge just that little bit easier. Thanks again to everyone at the Maemo team for all of their hard work.

  • Wapipedia


    I saw this fly by on textually the other day but didn’t get a chance to really look at it until yesterday, and I’m kinda hooked. What am I talking about? Wapipedia, of course

    Wapipedia allows you to search the content of Wikipedia and view it on a modern phone. It will probably choke older WAP 1.0 based phones, but anything that can handle WAP 2.0/XHTML-MP should be quite happy.

    The design does a good job of working quite well on both a mobile device and a browser. It’s a bit minimalistic in a browser, but you know what, it’s usable in both. I really like sites like that. Russ has done a few and I’ve stared (but not finished) a few projects that pull of the same thing.

    I think we’ll see more sites like this in the future, unless it’s just me that gets warm fuzzies when using sites like this.