Monday, April 28, 2008

secure django+jetty+jython

UPDATE: since this is now 2 years old, and one of my key links is broken i've written a quick update here: http://tristanking.blogspot.com/2010/01/re-jettydjangojython.html

Today I enabled a ssl connector in jetty to run my django app securely. I then spent most of the day trying to figure out why HttpResponseRedirect's didn't work.

Turns out all I had to do was implement is_secure in my django handler.

updated servlet.py can be viewed here

Wednesday, April 2, 2008

iPod Touch On-The-Go FTW!

One thing that has always annoyed me about my iPod Touch is the inability to play all of an artists albums, album by album. You from the artist list, you can select a single album, or all songs for which you can play them in alphabetical order or shuffle mode.

I just figure this out! The trick is to use the On-The-Go playlist. Go to playlists and select the On-The-Go playlist. If there is stuff in it already you will have to hit the edit button (or clear it and start again). From there you navigate to your desired artist, and the button with is normally All Songs is now Add All Albums. click that, and then click done and play your playlist.

I don't know why i didn't look into this earlier. I guess i figurered i'd have to add all the songs one by one, but Apple has made it very simple. Still, a play all albums button in the standard menus would be much simpler!

Tuesday, April 1, 2008

One week old!

My dreadlocks have reached one week. They're all over the place! I re-backcombed a few of them over the week, mainly the ones that didn't hold together after a shower. I'm resisting the urge to redo the few on my left side, they're really loose but still keeping to their own distinct groups so I want to leave them to see what they do themselves. If there's no progress with them after a month I'll look at redoing them. I'm not sure what's going on with the very back ones. There are a lot of loose hairs getting around, but again, i'm gonna leave them to their own devices.

For now I don't go anywhere without a headband!

Photos