Archive for July, 2002

blosxom-0+4i for debian

Tuesday, July 16th, 2002

I’m in the process of becoming a certified href="http://www.debian.org/devel">debian developer and then
making blosxom an href="http://www.debian.org/distrib/packages">official debian
package. Until all the paperwork is done, href="http://www.nozell.com/marc/debian/">here is my first attempt
at packaging
blosxom up.
Constructive criticism is welcome.

Revoking a seven year old pgp public key

Thursday, July 11th, 2002

I’m in the process of becoming a debian developer and one thing they
require your public gpg key uploaded to one of the href="http://wwwkeys.us.pgp.net/">keyservers. No problem, fairly
straight forward to do. However, I have an href="http://pgp.dtype.org:11371/pks/lookup?search=nozell%40wildcat.mv.com&op=i
ndex">old
key from back in the stone age of 1997 with an email address that
is no longer used. Simple to just generate a revocation key and
upload that, right? Unfortunately gnupg doesn’t support revoking that
old key and pgp 5.0 doesn’t know about revocation period. So I ended
up importing the secret key into gnupg and then changing the
‘username’ from ‘Marc Nozell’ to ‘please use href="http://pgp.dtype.org:11371/pks/lookup?op=get&search=0xC30441D2">marc@noze
ll.com
instead’. Just FYI.

Anyone else remember downloading the href="http://www.linuxsecurity.com/articles/cryptography_article-4070.html">PGP
v2.0 from a dialup BBS located half the country away and hoping
that it wasn’t illegal to obtain strong href="http://www.cryptome.org/">encryption from across state
lines?

Blosxom patched to support icons (take 2)

Wednesday, July 10th, 2002

In answer to my question in the href="http://www.nozell.com/cgi/blosxom/marc/2002/Jul/9#blosxom-with-icons">pre
vious
announcement, another href="http://www.oreillynet.com/~rael/lang/perl/blosxom/">blosxom
fan, DJ Adams suggested a
better patch.

Here is the updated
patch
or the href="/marc/blog/marc/data/blosxom-patched-for-icons-better">updated patched
version itself.

Thanks DJ!

Geocaching

Tuesday, July 9th, 2002

I recently picked up a href="http://www.garmin.com/products/etrexVenture/index.html">Garmin
Venture GPS and started playing the href="http://www.geocaching.com">geocaching ‘game’.

The idea is you visit href="http://www.geocaching.com">geocaching.com and print out or
download into your GPS the location of a cache. Then using the GPS
navigate to the cache and see whats inside. Typically there is a log
book and some trinkets that you can swap out for whatever trinkets you
brought. Some caches have disposable cameras so you can take your
picture and leave for the maintainer of the stash. The last cache we
found was a multi-cache site in a cemetery. The first
latitude/longitude location was a grave site where you did some simple
math on the person’s birthdate and that goes into part of the next
latitude/longitude location and so on until you get to the final
cache.

In the last
week the boys and I have found href="http://www.geocaching.com/seek/cache_details.asp?ID=7183">f href="http://www.geocaching.com/seek/cache_details.asp?ID=6641">o href="http://www.geocaching.com/seek/cache_details.asp?ID=158">u href="http://www.geocaching.com/seek/cache_details.asp?ID=5008">r
geocaches all within 30 miles of home. They can’t wait until next
weekend to find some more!

Blosxom patched to support icons

Tuesday, July 9th, 2002

I modified blosxom (version 0+4i) to support icons associated with
each entry.

My first thought was to key off of the file name
(announcement:blosxom-with-icons.txt,
linux:linux-in-20-websites-or-less.txt, etc) but went with adding an
HTML fragment to the end of the first line.

So the first line of this entry is:

Blosxom to support icons <img src="/marc/blog/marc/data/topicannouncements.g
if" alt="Announcement: ">

Here is the href="/marc/blog/marc/data/blosxom-0+4i.patch">patch or the href="/marc/blog/marc/data/blosxom-patched-for-icons">patched version itsel
f.

The one strange perl thing is I wanted to collapse the following two lines:

                my ($icon) = ($title =~ /(<img.*>)/);
                $title =~ s/(<img.*>)//;

into

                $title =~ s/(<img.*>)//;
                my ($icon) = $1;

but $icon is always set to the day of the week put in $1 from
the line:

        my($dw,$mo,$da,$ti,$yr) = ( $mtime =~ /(\w{3}) +(\w{3}) +(\d{1,2}) +(\d
{2}:\d{2}):\d{2} +(\d{4})$/ );

Anyone know why it doesn’t work?

Higher Linux uptime

Tuesday, July 9th, 2002

I didn’t have the heart to shutdown i-zimbra

$ uptime
10:10pm up 248 days, 23:35, 1 user, load average: 0.15, 0.04, 0.01