The Register has an interview with a link spammer.
Worth checking out, I am quite happy with the moderation feature on MT and with Type Key, so can’t complain much at the moment.
Interview with a link spammer
by R.I. Pienaar on 31. Jan, 2005 in Front Page
Transcend Digital Album
by R.I. Pienaar on 30. Jan, 2005 in Photography Equipment
Digital Photography is great in that you don’t need film, but it also is part of its problem, if you only have a few media cards like most people then you need to drag a laptop around with you if you are away for a few weeks to empty your cards onto.

A year or two ago companies started introducing portable storage devices, basically just a portable HDD to dump photos on, these all have built in card readers for multiple types of cards.
I have been looking at these products a long time and they all seem to have issues, mostly the card readers in them are slow, transfer speeds as low as 300kb/sec has been noted in some of the most popular devices.
I read a review of the Transcend Digital Album and was immediately impressed with it. I bought one early January and only had chance to use it last weekend. I have to say I really love this device it is the perfect answer to the storage problem while on the move.
Read the Steve’s Digicams review for all the details about it I agree with most of what is said there. The only irritating thing is that even though I bought it in the UK it does not come with a UK plug, only a European 2 prong and the same as used in South Africa, so I needed an adapter to get it going, other than that it is fantastic.
Net::MovableType and Image::ExifTool
by R.I. Pienaar on 30. Jan, 2005 in Code
Posts for my photoblog are structured in a specific way. I put the image name in the entry body and the text in the extended entry. As long as I stick to that format my templates will automatically put in the right thumbnails, full size images etc.
While this is pretty simple to keep in mind and I have been doing it manually I wanted to automate things a bit. I also wanted to include some EXIF info for each image which Movable Type could not do on its own.
The solution was to write a simple blogging client in perl, read on for some details.
First off, lets cover the EXIF extraction, I found a excellent module in the FreeBSD ports system called Image::ExifTool. From its description:
ExifTool provides an extensible set of perl modules to read and write
meta information in image files. It reads EXIF, GPS, IPTC, XMP,
GeoTIFF, ICC Profile and Photoshop IRB meta information from JPEG,
TIFF, GIF, THM, CRW (Canon RAW), CR2 (Canon 1D Mk II RAW), MRW (Minolta
RAW), NEF (Nikon Electronic image Format), PEF (Pentax RAW), ORF
(Olympus RAW Format) and DNG (Digital Negative) images, as well as the
maker notes of many digital cameras by various manufacturers including
Canon, Casio, FujiFilm, Minolta/Konica-Minolta, Nikon, Olympus/Epson,
Panasonic/Leica, Pentax/Asahi, Sanyo and Sigma/Foveon. It writes EXIF,
GPS, IPTC, XMP and MakerNotes information to JPEG, TIFF, GIF, THM, CR2,
NEF, PEF and DNG files.
Using it is trivial, and you can read all the details at its CPAN Page. For me it was as simple as this:
my $exifTool = new Image::ExifTool;$exifInfo = $exifTool->ImageInfo("$photodir/$image");
$tagDescription = $exifTool->GetDescription($tag);
%tagValue = $exifTool->GetValue($tag);
Really simple, to see for yourself what information this will find
in a image you can run the included ‘exiftool’ script, here is some
sample output:
—- ExifTool —-
ExifTool Version Number : 3.72
—- File —-
File Name : 30012005.jpg
File Size : 67KB
File Type : JPG
Image Width : 366
Image Height : 550
—- EXIF —-
Software : Adobe Photoshop CS Windows
Flash : No Flash
Exif Image Width : 366
Exif Image Length : 550
Compression : JPEG (old-style)
Thumbnail Offset : 586
Thumbnail Length : 6137
—- IPTC —-
Application Record Version : 2
—- Photoshop —-
Photoshop Thumbnail : (Binary data 6137 bytes, use -b option to extract)
—- XMP —-
Version : 2.2
Raw File Name : DSC_4995.NEF
White Balance : As Shot
Exposure : +0.85
Shadows : 5
Brightness : 50
Contrast : +25
Saturation : 0
Sharpness : 25
Luminance Smoothing : 0
Color Noise Reduction : 25
Chromatic Aberration R : 0
Chromatic Aberration B : 0
Vignette Amount : 0
Shadow Tint : 0
Red Hue : 0
Red Saturation : 0
Green Hue : 0
Green Saturation : 0
Blue Hue : 0
Blue Saturation : 0
Tv(Shutter Speed) : 1/500
Shutter Speed Value : 1/500
Av(Aperture Value) : 5.6
Aperture Value : 5.6
Exposure Program : Program AE
Shooting Date/Time : 2005:01:23 13:58:27
Exposure Compensation : -0.33
Max Aperture Value : 5.7
Metering Mode : Multi-segment
Focal Length : 125.0mm
Focal Length In 35mm Format : 187
Color Space : Unknown (4294967295)
ISO Speed : 200
Flash Fired : False
Flash Return : No return detection
Flash Mode : Unknown (0)
Flash Function : False
Flash Red Eye Mode : False
Lens : 18.0-125.0 mm f/3.3-5.6
Make : NIKON CORPORATION
Camera Model Name : NIKON D70
Orientation : Horizontal (normal)
X Resolution : 300
Y Resolution : 300
Resolution Unit : inches
Creator Tool : Adobe Photoshop CS Windows
Date/Time Of Last Modification : 2005:01:23 17:21:22
Date/Time Of Digitization : 2005:01:23 17:21:22
Metadata Date : 2005:01:23 17:21:22
Derived From Instance ID : uuid:121a03ec-6d63-11d9-bfa3-cf79758759c4
Derived From Document ID : adobe:docid:photoshop:121a03eb-6d63-11d9-bfa3-cf79758759c4
Document ID : adobe:docid:photoshop:121a03ef-6d63-11d9-bfa3-cf79758759c4
Format : image/jpeg
—- Composite —-
Av(Aperture Value) : 5.6
Image Size : 366×550
Scale Factor To 35mm Equivalent : 1.5
Tv(Shutter Speed) : 1/500
Thumbnail Image : (Binary data 6137 bytes, use -b option to extract)
Focal Length : 125.0mm (35mm equivalent: 187.0mm)
This is very impressive, you can see multiple sets of data, example
is the Exposure, I shot it at -0.33 in the camera then bumped it to
+0.85 in Photoshop CS RAW Plugin.
Now that I have a good way to extract meta data from my images the next step was to do the blog posting, this was trivial using Net::MovableType, below is a quick code snippet, read all about it at CPAN
use Net::MovableType;
my $mt = new Net::MovableType(‘http://your.com/rsd.xml’);
$mt->username(‘user’);$mt->password(‘secret’);
$entry = {
title => “Hello World from Net::MovableType”,
description => “Look ma, no hands!”
};$postID = $mt->newPost($entry);
$mt->publishPost($postID);
Very simple, it has many other functions, you can read, edit,
categorise etc, all the stuff you can do from the standard Movable Type
API.
Spammers
by R.I. Pienaar on 27. Jan, 2005 in Front Page
Today I received spam from a Cape Town based company, they sent it via a SAIX ADSL link and I just know complaining to SAIX will not get me anywhere.
So what to do?
I think putting the email addresses here for email harvesters to get and add to plenty of spam lists will be a good revenge, so here goes:
sales@compu-teers.co.za
john@compu-teers.co.za
rory@compu-teers.co.za
Have fun.
Movable Type Vulnerability
by R.I. Pienaar on 25. Jan, 2005 in Usefull Things
A new version of Movable Type has been released to fix a vulnerability that allowed attackers to send mail via your machine. You can get the upgrade here and the changelog is here.
Annoyingly this does not fix the known problem with email notifications not working so this is the 2nd release from Movable Type that has this bug and requires you to fiddle the source to fix it. You can read this forum posting for details of fixing the email bug.
Movable Type Upgrade
by R.I. Pienaar on 20. Jan, 2005 in Front Page
I just completed the upgrade of my blog from MT 2.64 to 3.14. The upgrade was fairly painless except for one known problem. Sending mail notifications stopped working. There is a temp solution on the MT support forum here.
I have also now enabled TypeKey on the main blog and all non TypeKey comments will require moderation before they appear on the site.
I will have to fiddle the templates for comments a bit to give them the same look and feel as my main site, this is not something I have done for the old MT either but I suppose its a good idea.
Photoblog
by R.I. Pienaar on 19. Jan, 2005 in Photography
So as I have been saying here I am hoping to launch a photoblog, I am now doing just that. It can be found at http://photoblog.devco.net/.
The idea is to post a photo a day, now I cannot take a photo a day, I am just too busy at work for that kind of thing. So I will get stuff from my 25gig or photos archive and will post new things as they come. As it is now there are posts for almost 2 weeks that I created.
It is powered by Movable Type 3.14 and making the templates was much easier than I first expected. My other sites are done from templates that I found on template sharing sites etc, this one I made myself so I’d appreciate any feedback on the design.
I like MT 3.x, I will be upgrading my other blogs to it, for now though I will need multiple installs of it unless I want to go and buy a full version of it, but I do not think this will break their T’s and C’s, I will just give each individual blog owner their own install which should be the same as someone on a shared hosting service installing their own copy, this should be well within the bounds of whats allowed.
On the comments question, I allow non registered comments but they need to be approved and I left TypeKey there in case people want to use that. Comments via TypeKey authenticated people will not need approval.
There are some changes I still want to make to the site:
1) Implement another RSS feed. Dave wants me to link to the full image in my feed, I guess this may annoy some people so I will make it a choice between thumbnails and full images.
2) Create some kind of people link section, like the one on this site, where I will link to other photoblogs that I like.
TypeKey
by R.I. Pienaar on 16. Jan, 2005 in Front Page
I set up a photoblog as I mentioned previously, I will put a more detailed item about it here when I am 100% happy with it. The main thing I am not 100% happy with is the comments situation.
If I allow open comments like I do on this site I will be battling comment spam all day and this will really annoy me. The alternative is to allow open comments but to moderate them, this will be even more work or I could use TypeKey.
TypeKey is MovableType’s single signon comment authentication service, you sign up once for an account with them and once logged in you can post comments on all TypeKey enabled blogs.
From the TypeKey Website:
TypeKey helps ensure that people who comment on a site have a verified identity, keeping conversations on track and helping to prevent abusive or offensive content (comment spam) from being posted. Sites that enable TypeKey have better accountability for the content that’s being published.
As a TypeKey user, you get your own free TypeKey Profile Page, displaying only the information you choose to share. Those who are interested in finding out more about the person behind the comments on a site can visit the identity page to see what information is publicly available. You can even publish a TypeKey Profile Page while remaining completely anonymous.
It sounds all fine and well, but will forcing people to use this service prevent them from commenting on my blog? I suspect it will, I know it was my first reaction when confronted with blogs that insists on TypeKey login.
If anyone has any views on this, I’d really appreciate some comments.
Spam Honeypots
by R.I. Pienaar on 14. Jan, 2005 in Usefull Things
There has been some talk in the last while about Project Honeypot. Their aim is to provide addresses on websites for email harvesters to get in order to catch them. The addresses that get served up are unique for each visitor, so should one of them receive spam they will know which IP is to blame for the harvesting.
Some articles mentioning them are on tech:knowledge and on Security Focus, read those for a much better overview of what is going on, also check out their FAQ.
I signed up, so should you.
All about Photoblogs
by R.I. Pienaar on 14. Jan, 2005 in Uncategorized
Shutterbug has a nice article about photoblogs, not much news there for people who are already into blogging but a nice article with some good links.
I’ve been thinking of doing my own photoblog for a while now, maybe one day I will get off my back side and bother with movable type templates again to put one together, maybe even try the new MT as well while I am at it.
