Evan's post just now made me realize that I had intended to order a new book when it came out (which it just has, last week), so I went to the author's SO profile hoping to find an Amazon affiliate link where I could place an order. To my surprise I noticed that the Amazon links therein were not rewritten like they are elsewhere on the sites. I would consider this a loophole lost opportunity at best and at worst a bug.
Put into algorithm form (Note that I am NOT suggesting altering an existing affiliate link):
if (have amazon link in profile)
{
if (not affiliate link present already)
{
rewrite link with SO affiliate link
}
else
{
// user already has his own affiliate link; do nothing!
}
}
Now if someone could just explain to me why this book costs $26.39 US on the .com site and $47.99 CDN on the .ca site when the dollar is at par... grrr