Skip to main content

Posts

Showing posts from March, 2010

Ways Django Can Import Things

How many ways can django import a module?

Grep is hard for this.

In .py files

"import (.*)\..*"
"from (.*)\..* import .*"
"patterns\(['"](.*)['"]"
"url(r?['"].*, ['"](.*)"


In INSTALLED_APPS and other settings.

Am I missing any? Better question: Why do I have to wonder if I'm missing any?

Bookmarks for March 26, 2010

How I Create those Del.icio.us link posts - TechLifeBlogged
I am doing this now, but I stopped at the email so I can review and edit, rather than let it post automatically.
Particletree » Visualizing Fitts’s Law
Great visual examples of how Fitt's Law works and why. Fitt's Law tells us that the difficulty of hitting a UI target is reliably predictable based on the distance and size of the target. Every designer or developer working with UIs should know this.
Checklists
Exactly what I was looking for. Upgrades a select widget into a series of checkboxes, where we want toggle selection to be the default, not single selection.
jquery-asmselect - Project Hosting on Google Code
Will likely use this, instead, because it seems to preserve the actual select, which toChecklist didn't do

Good design is... - 52 Weeks of UX

Good design is innovative.Good design makes a product useful.Good design is aesthetic.Good design makes a product understandable.Good design is unobtrusive.Good design is honest.Good design is long-lasting.Good design is thorough down to the last detail.Good design is environmentally friendly.Good design is as little design as possible.—Dieter Rams via 52weeksofux.com Posted via web from See Calvin Develop

How To Understand Wavelets

I got acquainted with developing against the Google Wave Preview last week, and I'll be doing more of it this week. There are still many gaps in the documentation and in the public understanding of what exactly is going on in a lot of cases. This post is halfway between an introduction to Wave development and a story of my personal hurdles in my first experiments working with it.
One of the first things you'll find in the Wave documentation is a diagram I have reproduced here. This diagram is wrong.

You're going to notice something when you look at this diagram and play around with Wave itself, the web client. You're going to realize you have no idea what the difference between a Wave and a Wavelet is. You don't seem to be able to even see the term "Wavelet" appear anywhere in the application! What's more, everything the API docs describe a Wavelet as is what the UI seems to call a Wave. This was really confusing to me and I know I'm not the only on…