The Lumber Room

"Consign them to dust and damp by way of preserving them"

Posts Tagged ‘fixme

Auto-save

with one comment

Good software does what you want. Preferably without your having to tell it to. And it matches your mental model of what you expect things to work like.

We have come a long way since the days personal computers were severely constrained in their resources, but some traditions have not changed. The humanized weblog looks at the save icon, but I want to point out that the “saving” “feature” is itself an anachronism. There is no analogue of the concept of “saving” a file in the real world; when you write on a sheet of paper the change is permanent. Why, then, does most software require you to explicitly “save” something if you want to leave it permanent? The answer, I guess, is that a long time ago, a “save” was an expensive action (I remember seeing “Saving…” progress bars), so you wanted users to be in control of when it happened, so as to not annoy them.

Today, personal computers have enough resources that in many applications (such as text editing), there is really no reason for software to insist that you remember to “save”, so as to not lose your work. Still, programs continue behaving this way, partly out of tradition, and partly because no one gives a thought to usability.

Fortunately, the rise of applications on the web brought with it an “everything old is new again” phenomenon and programmers began to take a fresh (and naive) look at everything, which, while often causing them to stupidly repeat the mistakes of desktop programs from decades ago and generally be inconsistent, has also allowed them to throw away meaningless traditions in situations where they don’t matter.

I believe it was Gmail which started this, and now Gmail, Blogger, WordPress, Google Docs, and any number of online text editing applications now “automatically save” your work for you every few seconds, and this idea is finally (slowly) taking hold in desktop applications as well.

Written by S

Tue, 2008-01-22 at 21:42:25 +05:30

Posted in Uncategorized

Tagged with , ,

Timing

leave a comment »

The Wikipedia article is not very good; this reference says it can’t be taught, only imitated, and this is an excellent article.

Written by S

Thu, 2007-12-06 at 20:23:00 +05:30

Posted in Uncategorized

Tagged with ,

Continued gender bias in science

leave a comment »

11011110: Continued gender bias in science and lots of links from it…

Written by S

Fri, 2007-04-06 at 03:10:03 +05:30

Posted in Uncategorized

Tagged with , ,

Getting stderr in a different colour

leave a comment »

This is the idea. Look at the posts in the thread called “coloring STDERR to terminal” here. Actually, Spliterr, linked to in the first one, doesn’t seem to be working… it prints all the stderr, then all the stdout, then crashes.

Written by S

Sun, 2007-01-21 at 01:03:50 +05:30

Posted in Uncategorized

Tagged with

Bash script

leave a comment »

Relocate, using lns from Simon Tatham’s site.

function crude_dirname()
{
    echo "${1%/*}" # everything before last '/'
}

function crude_basename()
{
    echo "${1##*/}" # everything after last '/'
}

function relocate
{
    a=$1
    #Strip trailing slash, if there is one
    A="${a%/}"
    a=$A

    a_act=$(crude_basename $a)
    b=$2
    b_dir=$(crude_dirname $b)
    b_act=$(crude_basename $b)

    echo "mv $a $b"
    if [ -z $b_act ] #If the string b_act has length 0
        then
        loc="$b_dir/$a_act"
    else
        loc="$b"
    fi
    echo "lns $loc $a"


    echo "Fine?"
    read x
    if [ $x == "y" ]
        then
        mv "$a" "$b"
        lns "$loc" "$a"
    fi
}

Written by S

Mon, 2006-10-16 at 21:42:12 +05:30

Posted in Uncategorized

Tagged with

Maintenance of this “blog”

leave a comment »

It started as an attempt to handle a perceived overload. It still remains only an attempt. I need to migrate all my Firefox bookmarks, etc. Roaming profiles is still nowhere to be seen.

John Hesch has a detailed account of how he setup WordPress as a PIM in Parts 1, 2, 3, 4, and 5; I need to read it sometime soon.

Written by S

Wed, 2006-10-11 at 17:49:08 +05:30

Posted in Uncategorized

Tagged with ,

Queue psychology

leave a comment »

Three days ago, when I went to the Railways reservation centre for cancelling a ticket, going there early (about 25 minutes before the place opened—it usually takes 1.5 hours; it took only 40 minutes this time), I began to think “I must find out what the optimal time to arrive here is”. Arriving too early (two hours early, say) is obviously stupid, and so is arriving at peak hour. Again, apparently many people had similar thoughts (“If I’m there before the place opens, it will be empty-ish and I can be done soon”), but were awfully inefficient in their implementation: the place was practically full by the time it opened. It rapidly grew after the last 15–20 minutes; so if I’d arrived 10 minutes later, I’d have left considerably more than 10 minutes later. The matter clearly allows for much thought.
I’d almost forgotten about the thought, until I saw this post at the Tasty Research blog.
It is disturbing to see so many people post enthusiastically about queue-butting.
Anyway, it appears that “Queue Psychology” or “Queuing Theory” is quite established:
* Karl Kruszelnicki has some very interesting things to say in Part 1 and Part 2.
* This BBC article takes a look at “evolutionary psychology” in general, and talks about queues in passing.
There are also allusions to a “You are how you wait” article, but I can’t find it on the net….

Written by S

Sun, 2006-09-24 at 15:53:35 +05:30

Posted in Uncategorized

Tagged with ,

Follow

Get every new post delivered to your Inbox.

Join 78 other followers