MLKJr on Nonviolence

“Nonviolence is the answer to the crucial political and moral questions of our time; the need for mankind to overcome oppression and violence without resorting to oppression and violence. Mankind must evolve for all human conflict a method which rejects revenge, aggression, and retaliation. The foundation of such a method is love.”

“If you succumb to the temptation of using violence in the struggle, unborn generations will be the recipients of a long and desolute night of bitterness, and your chief legacy to the future will be an endless reign of meaningless chaos.”

“Nonviolence means avoiding not only external physical violence but also internal violence of spirit. You not only refuse to shoot a man, but you refuse to hate him.“

“Love is the only force capable of transforming an enemy into friend.”

“The limitation of riots, moral questions aside, is that they cannot win and their participants know it. Hence, rioting is not revolutionary but reactionary because it invites defeat. It involves an emotional catharsis, but it must be followed by a sense of futility. ”

“Nonviolence is a powerful and just weapon. which cuts without wounding and ennobles the man who wields it. It is a sword that heals.”

All found on the net; apologies for any inaccuracies in case I’ve followed a bad source.

Happy MLK day.

Sick Creativity: tagrepo

Why is it when I lie down and try to get some rest I keep coming up with these great ideas or things I want to post to the blog? Grr. Came up with a comic idea in great detail and also this nifty programming idea invaded my brain fully formed while I was lying in a state of flu and fever induced lassitude and misery.
OK, this is something that’s within my programming abilities and would be cool but I will probably never get around to doing it so here’s the idea in case anybody wants to mess.

It’s something you could easily implement in Ruby or Python or Perl, but it’d only really work well on Linux, because it depends on FUSEfs. There are bindings to FuseFS for many languages.

It’d be called ‘tagrepo’. It is based on the ideas I discussed here, about filesystems being dubious from a usability standpoint.  It’s basically ‘flickrizing’ or ‘del.icio.usizing’ a Linux subdirectory.

Continue reading “Sick Creativity: tagrepo”

Filesystems Aren’t a Feature

Coding Horror: Filesystems Aren’t a Feature. Really insightful. You know, leet PHP dudes (*cough*Topher*cough* ) tend to have no use for the filesystem, except as a place to put your frontend stuff. If it matters, tuck it in the database. If you need it, search on it.  Database items don’t have “filenames.”

Only difficulty I can see is with media.  You can’t do a text search on songs or movies without pumping some metadata into them. But things like MusicBrainz are good at automating metadata tagging, and people seem to dig tagging, what with the success of stuff like Flickr and del.icio.us.

To be honest I tend not to carefully categorize my stuff into heirarchical folders; I tend to leave it all sitting on the Desktop or in the home folder or in half a dozen other places.  I see stuff I’ve been working on recently with ‘ls -ltr’.  Huge amounts of cruft accumulate which I clear out once in a while when the ‘ls’ listing gets too ugly.
Apparently GNOME’s Seth Nickell is working on a project to deal with files in this way; it’s called Storage.  Not exactly ready for prime time, that I know of.

I guess this is the general principle behind the Mac’s Spotlight, which is cool.  Current incarnation is a bit scattershot for me; I prefer the more selective and focused Quicksilver.

Part of the deal is that there are files and there are documents.  There are ten billion files on my computer that I do not care a whit about.  They exist for technical reasons and I never want to see them.  Documents are things I care about.  Songs, email messages, notes to myself, images.  Then there are programswhich are kind of in a netherland — I care very much that I have a web browser, but I care very little for the fact that in installing it I installed 503 files:

ed@inky:~$ dpkg -L firefox | wc -l
503
and it has created 850 new files in my home directory since then:

ed@inky:~$ find .mozilla/firefox/ | wc -l
850
That’s all useless trivia.  It’s as meaningless to me as the metal used in the wires that hook my keyboard up to my motherboard.  Very important behind-the-scenes info; useless to the user; even annoying.

In fact, with regards to the browser, I have 108 bookmarks, each of which is individually important to me, but guess what, they’re all in one file —

ed@inky:~$ grep -i href .mozilla/firefox/*.default/bookmarks.html | wc -l
108
So if we’re going to consider this stuff on a UI level, we have to separate “file” from “document.”  A heck of a lot more things are “files” than are “documents,” and some things are “documents” which are only fragments of “files.”  That’s something that as far as I know Spotlight does not respect, which is one reason why it’s unwieldy.