Missing information

Posted by: Jeff Kupperman Tue, 04 Sep 2007 19:00:55 GMT

A particularly interesting and relevant column from web design curmudgeon extraordinaire, Jakob Nielsen. He gave test users the task of going to the U.S. Census Bureau homepage and looking for the current U.S. population. (Go ahead, try it now.)

It turns out that the information is right there in huge red numbers, but an amazing 86% of user could not complete the task successfully. (One even left the site and searched for the information on Google instead.) Nielsen attributes the low success rate to the violation of a couple simple but important design principles. Definitely worth keeping in mind!

Posted in ,  | no comments

Sharing sessions across sub-domains

Posted by: Jeff Kupperman Wed, 04 Apr 2007 20:34:21 GMT

Here's the answer (I think) to how we will share logins across each of the modules in the Trauma/Burn project:

This line goes in config/environments/ production.rb or development.rb:


ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update
( :session_domain => '.example.com')

Note the . before example.com , that is what makes the sessions work
between subdomains.

(Thanks to Ezra Zygmuntowicz's post on the rubyonrails list.)

When we go into production, we'll put each module on a different sub-domain, and then this should work ... as long as we're naming all our session variables the same way. Of course, we need to choose a domain name first....

Posted in  | 2 comments

Installing TinyMCE

Posted by: Jeff Kupperman Thu, 22 Mar 2007 13:59:30 GMT

Instructions here...

And the filemanager:

filemanager.zip

Posted in  | no comments

Fear not of failing

Posted by: Jeff Kupperman Mon, 19 Mar 2007 18:58:19 GMT

From Angela's EDU 223 paper in which she interviewed three people doing design projects, on what it means to design well:

Two of the three designers that I interviewed included creativity on their lists while only one said a good designer should understand the elements of what they are designing. They also included other attributes such as imagination, organization, and time management. As good as all of these are, only one of these individuals mentioned what I believe to be the most important attribute a designer should have, which is the ability to not be afraid of failing, which goes hand in hand with being confident in the project.

Posted in  | no comments

53 CSS Techniques

Posted by: Jeff Kupperman Fri, 19 Jan 2007 15:16:40 GMT

Nice compilation of "53 CSS Techniques You Couldn't Live Without", originally from Smashing Magazine.

Posted in  | no comments

The walls have started talking

Posted by: Jeff Kupperman Fri, 12 Jan 2007 19:19:42 GMT

In the "what I did on my winter vacation" category, voila: Talking Walls. (Same goes for Gary, with apologies to our spouses.) It actually came out pretty well, though there's still plenty of things we want to add and refine. And on a tech note, we used just about every Rails feature we know, and even a few that we still don't quite understand.

Despite the fact that I'm very glad not to be working on it today, comments and suggestions are welcome.

Posted in , , ,  | no comments

It's not the computer technology

Posted by: Jeff Kupperman Thu, 28 Dec 2006 02:40:40 GMT

In last Sunday's NYT, Jacob Hacker sez:

"... If you were one of the fortunate young students who rolled out of a computer-science program back in the 1990s, you may well have ended up in a cushy programming job offering a six-figure salary and lavish bonuses. If, by contrast, you find yourself looking for such a job today, you may discover that the best you can obtain is a contingent position with meager rewards, with the distinct possibility that you will soon be training your foreign replacement or writing the code that will do your old job."

Which is more or less what we've been trying to tell our IPD/web development students for years: learning to program is far less important than learning how to use technology to change the world for the better. Which certainly doesn't guarantee six-figure salaries either (and we should know), but we haven't heard of social activism being outsourced... yet!

Posted in  | no comments

I never thought glaucoma could be funny, until....

Posted by: Jeff Kupperman Mon, 20 Nov 2006 03:15:33 GMT

The Monty Python folks apparently now work for the Association of International Glaucoma Societies. Don't take my word for it -- you have to visit the site to get the full effect. Don't miss the creepy blinking eye at the bottom of the menu. And the "Glaucoma Hymn" has to be heard to be believed.

Glaucoma

I found this site through www.webpagesthatsuck.com, but "suck" really isn't the right word for this site. It's.... something else.

(And according to the webpagesthatsuck.com review, this is the improved version....)

Posted in ,  | 1 comment

Code for user logins in Rails

Posted by: Jeff Kupperman Thu, 09 Nov 2006 05:53:02 GMT

Here 'tis:

Code for user authentication.

Posted in  | no comments

Plugin for uploading files in Rails

Posted by: Jeff Kupperman Mon, 06 Nov 2006 05:02:02 GMT

This definitely looks worth a try...

http://weblog.techno-weenie.net/articles/acts_as_attachment

Updates:

1. In the instructions above, I haven't gotten the rake to work, but it doesn't seem to matter.

2. See the thumbnail tutorial at: http://weblog.techno-weenie.net/articles/acts_as_attachment/thumbnailing

3. Change the create_or_update_thumbnail function as follows, in: vendor/plugins/acts_as_attachment/lib/technoweenie/acts_as_attachment.rb:

def create_or_update_thumbnail(file_name_suffix, *size)
returning thumbnail_class.find_or_create_by_thumbnail_and_parent_id(file_name_suffix.to_s, id) do |thumb|
thumb.attributes = {
:content_type => content_type,
:filename => thumbnail_name_for(file_name_suffix),
:attachment_data => resize_image_to(size)
}
callback_with_args :before_thumbnail_saved, thumb
thumb.save!
end
end

Here's the code from my demonstration implementation.

Update for IPD folks: If you're getting errors when you try to install, enter this command and then do the script/plugin commands:

export http_proxy="http://141.216.3.2:8080"

The reason has to do with an http proxy on the UM-Flint network....

Posted in  | no comments

Older Posts

Older posts: 1 2