Posts Photos Archives About

2008 October

  • "Clearly Chris Woltereck was one of the best players in the room, and probably could have won the tournament with a ham sandwich." -- Gerry Thompson on Cruel Control winning the 25-Oct SCG 5k Standard Tournament
    Thu, Oct. 30, 2008, 2 p.m. / / blog / #quotes / Syndicated: tumblr / 36 words
  • tabbing out of the title field into the post field doesn’t work
    Tue, Oct. 28, 2008, 11:54 p.m. / / blog / / Syndicated: tumblr / 12 words
  • I wanted to add some basic tagging to my blog app so I tried out django-tagging. Unfortunately, the featured downloads on the Google Code site are quite out-of-date and would not work with Django 1.0, so I did a subversion checkout instead. If you're getting an error like "ImportError: cannot import name parse_lookup", then you need to get the source code from SVN. Adding the tagging to the blog was pretty easy: Add the tagging app to Add a tagging.fields.TagField to the Post model Add a "tags" text field to the post form used. Modify templates to display the

    read more (164 words)

  • ... and now it works! I think the apache service needed to restart mod_python or something... (I don't have SSH access so... )
  • 2nd Trial for Taipei was last Sunday, October 17 at Robinson's Galleria. I open to register a very mediocre pool while the rest of the guys at my table open awesome pools with lots of bombs. "Gee, I hope we don't keep this pool." The judge comes over, rolls the dice and we keep our pools. Awkward. Lands 2 Crumbling Necropolis 9 Plains 1 Mountain 5 Forest Creatures 2 Akrasan Squire 1 Ranger of Eos 1 Rockcaster Platoon 1 Sighted-Caste Sorcerer 1 Sigiled Paladin 1 Yoked Plowbeast 1 Jund Battlemage 1 Ridge Rannet 1 Vithian Stinger 1 Cavern Thoctar 1

    read more (778 words)

  • So I got a basic blog app up and running. Posting, paged archives, etc. Comments implemented using the django.contrib.comments. No problems here, the only caveat being most of the current documentation found by Google searches refer to the pre-1.0 version. Need to peruse the official docs for 1.0 stuff. RSS feeds implemented using django.contrib.syndication, this one seems fine. I tested it and it's running fine on localhost. I also have a free django hosting account at, so I try to upload it there. However, when I access the website there (, I get the following error: 'comments' is not

    read more (143 words)

  • My dad asked me to help book a flight from Manila to Boracay for my uncle who would be a balikbayan this weekend. The rates at PAL were better, so we decided to book using their website. I did the search for the flights, booked the seats, input my uncle's details, etc. When we got to the screen to input the credit card info, my dad went to call my uncle to confirm and to get his credit card. He can't have been gone five minutes. When he came back, I enter the credit card info in the form, click

    read more (541 words)

  • "when redirecting, how can I make the redirect URL decoupled from the of the parent app?" -> It turns out that HttpResponseRedirect supports relative paths, so this was fine. return HttpResponseRedirect("../" + str( + "/") I got the basic posting structure up. /post/new/ -> To make new posts /post// -> To view a single post /post/all/ -> To view all posts I should probably start thinking of a better url scheme. Ideally, I'd want the @login_required views to be indicated as such in the urls. Something like "/admin/post/" for new posts "/admin/manage/" for a screen to manage posts to

    read more (167 words)

  • The quintessential app to learn from is of course a blog. Started using a simple Post model. Added the new post form and view. Can now successfully insert posts into the DB. Next: -- create the detail page that will show the post after saving Figure out: -- when redirecting, how can I make the redirect URL decoupled from the of the parent app? i.e. if the parent app has the following mapping: ‘^blog/' -> pass to blog.urls.urlpatterns the blog app has mappings for ‘^post/new/' -> new post ‘^post/([A-Za-z-])/' -> post detail inside the view, I want to redirect

    read more (127 words)

  • Actually, I'm writing this post to test comments on the blog, which someone has reported to be currently borken. See ya in the comments.
  • I haven't had a top eight result in a while. Thank goodness for limited season! I registered a deck that I would have loved to play, with highlights such as Caldera Hellion, 2 Oblivion Rings and 2 Resounding Thunders, plus a lot of good blue/black stuff. Of course, we pass the card pools and here's the one I ended up playing: Lands 5 Plains 2 Island 1 Swamp 1 Mountain 5 Forest 1 Bant Panorama 1 Jund Panorama 1 Naya Panorama Creatures 1 Cavern Thoctar 1 Court Archers 1 Druid of the Anima 1 Mosstodon 1 Naya Battlemage 1 Broodmate

    read more (1897 words)

  • If you've been having trouble with Bayan DSL web connections to some websites (which we have for the past few weeks or so), you may be surprised to know that they have an HTTP proxy server you can use. Strange, considering that when reporting such problems to their trunkline, they never ask whether you're using that proxy server or not. I don't recall ever being told about it by the Bayan DSL staff. My brother found out about it last night and lo and behold! The websites we've previously had trouble accessing, such as Yahoo Mail, Multiply, Flickr, etc. have

    read more (139 words)

  • On a whim, my brother and I went to Trinoma to see Eagle Eye, barely catching the last full show (including the trailers of course, we love watching trailers). Our mom had said we'd like the movie and she still owed us one since it was her fault we watched Big Stan. So we're giving her a chance to redeem herself. The spoilerless review: Since Eagle Eye trailers seem to be everywhere, you probably have some idea of at least the start of the story. Jerry Shaw is an ordinary loser working at Copy Cabana when he comes into seven

    read more (291 words)

  • I hit the first flight at Eastwood City last Saturday, September 27. Here's my sealed pool: Lands 1 Arcane Sanctum 1 Bant Panorama 1 Crumbling Necropolis 1 Savage Lands 4 Plains 4 Island 5 Forest Creatures 1 Obelisk of Esper 1 Courier's Capsule 1 Resounding Wave 1 Branching Bolt 1 Sigil Blessing 1 Magma Spray 1 Oblivion Ring Spells 1 Cloudheath Drake 2 Kathari Screecher 1 Kederekt Leviathan 2 Druid of the Anima 1 Drumhunter 1 Jungle Weaver 1 Mosstodon 1 Naya Battlemage 1 Mayael the Anima 1 Rafiq of the Many 2 Steward of Valeron 1 Bant Battlemage 1

    read more (808 words)