Friday, 04 January, 2008

Django AttributeError: ‘module’ object has no attribute

If you get the error “AttributeError: ‘module’ object has no attribute ‘xyz’” in Django. It probably means you’ve added a new app but forgot to put the __init__.py file in the app’s directory.

Posted by simonb on 01/04 at 02:07 AM
DjangoProgrammingPermalinkEmail this bit
Sunday, 25 November, 2007

DTrace

Interesting talk by Bryan Cantrill on DTrace. At the beginning he rips into Dreaming in Code by Scott Rosenberg. Scott’s talk at Google is here.

Posted by simonb on 11/25 at 11:21 AM
ProgrammingPermalinkEmail this bit
Friday, 09 February, 2007

Yahoo’s Pipes

Yahoo Pipes is very cool. Proof at last that the Internet is a series of tubes.

Posted by simonb on 02/09 at 06:15 AM
InternetProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Wednesday, 31 January, 2007

MySpace Lessons in How Not To Build A Web Site

Baseline Mag has an overview of how MySpace coped with rapid growth. Basically a good lesson in how not to build a dynamic database backed website. 

Posted by simonb on 01/31 at 06:04 AM
DesignInternetProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Sunday, 21 January, 2007

JavaScript Books

Here’s a list of some JavaScript books:


Personally I spend a lot of time with The Definitive Guide.

Posted by simonb on 01/21 at 03:28 PM
InternetProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Wednesday, 17 January, 2007

urllib2.URLError: urlopen error unknown url type: https

Note to self: for the following to work on a Mac with fink’s python

xml = urllib2.urlopen("https://api.del.icio.us/v1/posts/recent").read()

Your python needs ssl support.

fink install python24-socket-ssl

Phew!

Posted by simonb on 01/17 at 11:31 AM
InternetProgrammingPythonComments (0) • Trackbacks (0) • PermalinkEmail this bit
Sunday, 14 January, 2007

Application Updates with Sparkle

Sparkle is a programmers tool that automates application updates.

Posted by simonb on 01/14 at 02:41 PM
MacProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit

Mozilla Makes A Profit

The audited 2005 financial statements for the Mozilla foundation are online. Income from search kick-backs was USD 50 M. Profits after tax where about USD 26 M. Wonder if any of this money will find its way back to the unpaid volunteers… See also Mitchell’s blog.

Posted by simonb on 01/14 at 01:26 PM
BusinessInternetProgrammingTechComments (0) • Trackbacks (0) • PermalinkEmail this bit
Friday, 15 December, 2006

Skipping .svn Directories

find and grep are the programmers friend. But when using Subversion find will also decend into .svn directories. Generally we don’t want this to happen. The following find command will skip .svn directories. For more type ‘man find’ at your favorite prompt.

 find . \( -type d -and -name .svn -and -prune \) -or -type f -print

Posted by simonb on 12/15 at 10:48 AM
ProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Wednesday, 13 December, 2006

Firebug

Firebug 1.0 beta is out. If you’re a web developer you need Firebug. It makes a lot of things easy that used to be a pain. It is marv.

Posted by simonb on 12/13 at 02:55 AM
InternetProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Saturday, 09 December, 2006

Project Postmortems

Coding Horror has an excellent summary of software project postmortem resources.

Posted by simonb on 12/09 at 10:22 AM
ProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Thursday, 02 November, 2006

Casio fx-580

One of the first things I purchased when starting university was a Casio fx-580 calculator. At the time this was an amazing machine because it did complex numbers - something engineers spend a lot of time pondering. I still have it on my desk and use it every day. Over the years, though, the screen had started to fade. That is, at least, until five minutes ago when it was cleaned for the first time in twenty years. And underneath? A shiny - non-faded - screen. Here’s to another twenty years of muck. They don’t make ‘em like they used to.

Posted by simonb on 11/02 at 07:23 AM
HumourProgrammingComments (1) • Trackbacks (0) • PermalinkEmail this bit
Wednesday, 17 May, 2006

Another Spore Video from E3

Here’s a link to another Spore video from E3. In this demo Will Wright brings on Robin Williams towards the end to build a creature. Funny.

Posted by simonb on 05/17 at 12:31 AM
DesignHumourProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Thursday, 11 May, 2006

Spore Demo Video E3 2006

Will Wright gave a demo of Spore at E3 2006. Here’s a direct link to the video (200M mov). Also YouTube has a short demo piece here.

I last blogged about Spore a year ago.

It is inspiring.

Official Spore Page

Another Spore site

Posted by simonb on 05/11 at 02:17 AM
ProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Tuesday, 09 May, 2006

SGI in Chapter 11

SGI has filed for chapter 11 Not unexpected. Surprising it took so long to take some action… Back in the days when I could get my hands on a SGI machine they were a joy to program. IRIX is a great OS - it was one of the few that actually met the POSIX specs for threads. Great APIs. I wish they would just sell or give away IRIX for the PC x86 platform. Lots of people with fond memories of SGI workstations from the past would glady install IRIX in favor of Linux I think. 

Posted by simonb on 05/09 at 01:31 AM
BusinessProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit

Page 1 of 2 pages  1 2 >