Browsing Articles in All Blogs

Django and AJAX

Posted in Django on October 12th, 2009 by Stephen DeGrace Link

At the moment, Django does not heavily emphasize support for AJAX. Django does provide convenient serializers to exchange objects with the client in JSON or XML format, and of course it can easily send a response to a request in any format, so it certainly supports AXAJ, and JSON even when not running under Python 2.6 via the inclusion of simplejson in django.utils.

read more...

Anonymous Comments Now Available

Posted in Django on September 22nd, 2009 by Stephen DeGrace Link

I changed my implementation of the comments framework to allow anonymous comments, although I enhanced it by requiring a reCAPTCHA-based Captcha for anonymous posters.

read more...

Why Is PHP Better Than Python?

Posted in Django on September 14th, 2009 by Stephen DeGrace Link

Well, I don't really think PHP is better. But...

read more...

Hunter's: Food, And Lots Of It. Eventually.

Posted in Personal Miscellany on August 11th, 2009 by Stephen DeGrace Link
Topics: Reviews, Food and Restaurants

Hunter's Ale House in Charlottetown has the advertising catch phrase "Great food, great rock, and lots of it." Well, the rock is all right, but I'll definitely never go there for the food again.

read more...

Ollie North's Gold

Posted in Personal Miscellany on May 9th, 2009 by Stephen DeGrace Link

This week we bought Volume 4 of American Dad. The absolute highlight for me is that it contains the "search for Ollie North's gold" episode. This one is a gem for two reasons. The second reason is the inclusion of the geologist at the end who is portrayed as absolutely the coolest person who ever lived on account of being a geologist. A big shout out to my Dad Wink. The first reason, though, is the "School House Rock" style rendition of a little song explaining who Ollie North is for the benefit of Steve, who is way too young to know about Iran-Contra.

read more...

The Dollhouse

Posted in Personal Miscellany on April 26th, 2009 by Stephen DeGrace Link

This may not be a popular opinion. There is actually a lot of hate directed at this show from some quarters, and a lot of it is coming specifically from Joss Whedon fans. The core complaint, besides the segment who feel that Eliza Dushku's acting abilities aren't up for the job, seems to be that Dollhouse is not like Joss Whedon's previous work.

read more...

Site news wiped clean

Posted in Django on April 10th, 2009 by Stephen DeGrace Link

Well, I wiped out my database table for my news application.

read more...

Queueing Background Tasks

Posted in Django on April 4th, 2009 by Stephen DeGrace Link

There are times when you want to perform a time-consuming task on the web server but not either delay the response to the user on the other end or have the request time out partially completed. I faced this problem with my gallery application, with the automatic generation of thumbnails. This article talks about the solution I decided on to queue tasks for background processing.

read more...

Comment Framework

Posted in Django on April 1st, 2009 by Stephen DeGrace Link

When I was considering how to integrate the Django comments framework into my site, I swear to God that either a lot of the docs that are there now weren't there then, or I must have missed a lot of stuff. Either way, it seems like the documentation that was there was very scanty and I had to dig into the source code a lot to figure out how the framework worked. I missed all the useful stuff that's in the docs now for customization.

read more...

Religion and Type: An MBTI Perspective

Posted in Personal Miscellany on March 22nd, 2009 by Stephen DeGrace Link

This article is the first in a series of articles that I originally posted to various mailing lists which at one time or another made it up on to my original web page. This one was posted to the Yahoo Groups INFJ list some time in 2004 and is about the Myers-Briggs personality type indicator and its (putative) application to religion Smile.

read more...