Archive for December, 2005

Chipped : Human Imbedded RFID

Posted in Uncategorized on December 30th, 2005 by Bergo

While Digging I came across Chipped : Human Imbedded RFID. Some techie guy is “modding” his own body. The article goes into detail with videos and part numbers and pricing. Interesting that this guy injected a chip into his hand but states that the idea (technically feasible) was more important than the use.

Somewhat related, but extrapolated through fiction, I found Douglas Rushkoff’s Testament, which contains anti RFID (person tracking) sentiment within the the story.

mod_rewrite, htaccess and Perl CGI

Posted in Uncategorized on December 28th, 2005 by Bergo

For the record, Rewrite rules do not like to be written as slashes in CGI-BIN URLs.

Perhaps this was known to others before, but was new to me. In your .htaccess file

Bad

RewriteRule ^(.*)$ /cgi-bin/books/$1 [QSA,L]

Good

RewriteRule ^(.*)$ /cgi-bin/books?$1 [QSA,L]

Notice the ? instead of the / in the good one.

For some reason, I was under the impression that using the slash, I could get the information in the URL using a PATHINFO e.g. [perl] my $stringtomangle = $cgi->pathinfo; [/perl]

The above would grab /page/main
from http://yourhost.com/cgi-bin/some.cgi/page/main

However, I now need to change this to [perl] my @bits = $cgi->keywords; my $stringtomangle = join ” “, @bits; [/perl] and this shows that I use the keywords method on the Perl CGI object.

This then would grab page/main
from http://yourhost.com/cgi-bin/some.cgi?page/main

You may want to combine this to be able to deal with either path_info or keywords. E.g. [perl] my $details = “”;

if ( (defined $cgi->pathinfo) and (length($cgi->pathinfo) ) { $details = $cgi->path_info; } elsif ( (defined $cgi->keywords) and (length($cgi->keywords) ) { my @bits = $cgi->keywords; $details = join ” “, @bits; } else { $details = “”; } [/perl]

Anyway .. a frustration now has an answer. I should probably have RTFM’ed !

Commonplace Books

Posted in Uncategorized on December 22nd, 2005 by Bergo

While perusing Rebecca Blood’s website, she introduced me to Commonplace books.

Her original findings came from Long Haired Child with two articles:

These articles also discuss how blogs are similiar to the common place book, but that you might feel more comfortable recording in the privacy of you notepad things you don’t know. The basic function of the book, record things you don’t know like words, names etc, if your thinking about something a lot, take a note, carry it with you and lastly, reflect on it at some point.

When notebooks/notepads are ever discussed it is always that case that Moleskine comes up. The notebook of legend apparently used by Van Gogh, Picasso et al. Modo&Modo makes a similiar style to that spoken of in notebook legend.