Uncategorized

Duh

Guess what I did about half an hour ago?

blaize:~> rm -rf \*

Yes, you read that right. Sorry for the unabashed geekiness…windows users, imagine if you dragged My Computer to the Recycle Bin, and then emptied the Recycle Bin.

Yeah. Sigh…

Luckily, I set up automatic backups a while ago, so I didn’t lose anything I actually care about. Well, that’s not quite true. I lost an archive of a year or two’s worth of email from a few years ago, which would have been nice to have, if only for nostalgia. Oh, and I lost all my MP3s. But most of those are freely (read: legally) available on the web, so I’m not too worried.

Moral of the story? Backups are your friend, especially if, like me, you’re dumb. :P

Standard

6 thoughts on “Duh

  1. does anybody know why there’s no such thing as a ‘Recycle Bin’ on Linux ? I like the idea of shooting first and asking questions later (when you have more time).

  2. Actually, why wouldn’t it be possible to make it as an alias? Like: alias rm ‘mv –target-directory=~/RecycleBin/’

    Just a guess from a non-CS guy.

  3. so, the short answer is, there is one. KDE and Gnome have had Recycle Bins for a while, and they work the same way as Windows or Mac OS. KDE and Gnome are hoping to appeal to more end-users, people who were brought up on Windows and Mac OS, and end users know Recycle Bins. many KDE/Gnome users delete their files by dragging them into the Recycle Bin; most of them may not even know what rm is, and rightly so.

    good UI designers have known for a long time that people 1) don’t read, and 2) don’t care about the computer. they care about the task they want to accomplish. a Recycle Bin is perfect for most users – it just squirrels the file away, hidden but not gone. it doesn’t ask “are you sure?”, since they’ll learn to blindly click past that in no time. if the user actually needs the disk space, they have to say, no, really, get rid of that thing!

    rm’s target audience is the opposite extreme. *NIX was created by power users, developers, and sysadmins, and for the most part, that’s who still uses it. their mentality is significantly different – they use computers constantly, know what they’re doing, and so they care a lot about their tools. it’s very important for them to know exactly what’s happening, to make sure that nothing unexpected is going on behind the scenes. they need to be in control. if a tool hides anything, or fails to make everything absolutely crystal clear, heart monitors stop and power plants shut down. when a sysadmin says rm -rf, she means it, dammit, and if rm doesn’t do exactly what she expects, no more and no less, she’s going to ditch it and use a tool that does.

    my point, circuitious as it may be, is that end users and sysadmin types are two different user models. if you’re an end-user, you expect a Recycle Bin, and rightly so. however, if you’re a sysadmin type, the traditional *NIX user model, the one that’s been around for 35(ish) years, is that the i am god, i know what I’m doing, and i wrote this operating system from scratch, so it damn well better do what i say.

    </rant>

    for the more entertaining and better written version of this, read Neal Stephenson’s In the Beginning…Was the Command Line. (Amazon | isbn.nu | B&N) it’s a really really good read, and it’s only ~150 pages.

  4. @ryan: <br/>

    please read that book out loud and then post the mp3 :-P

    @isaac: <br/>

    i’m gonna break into ryan’s computer this weekend and alias that for him???

  5. i’ll do you one better. well, maybe not one better…but i’ll do you one. no
    no, that’s not right. hell, forget it, i’ll just do your mom and leave it at
    that. :P

    what i meant, was, i’ve attached his book, in text format, to the 2003-10-23 blog entry. (direct link here.)
    stephenson has posted it as a
    free download!
    if you like it, buy the dead tree version.

  6. @ryan: <br/>
    this doesn’t really sound like your voice…
    on the plus side, it didn’t cost that much.

Leave a Reply

Your email address will not be published. Required fields are marked *