REALbasic: ColourTinting class

Matthias Buercher posted the following sepia-tinting function on the MonkeyBread plug-in mailing list:

function sepia(c as color) as color
   dim gray as integer
   gray = 0.3*c.red + 0.59*c.green + 0.11*c.blue
   return rgb(gray*235/255,gray*75/255,gray*20)
end function

His function hard-codes the grey value and the tint value to provide a sepia look. I decided to have some fun with it and extend it a [...]

Breaking up the BBC

Talk about shooting the messenger:

The government is considering a plan to break up the BBC and remove its independent status in the wake of a bitter row with the state-funded broadcaster over the Iraq war, a report said.
The dispute came after a BBC radio report alleged in May last year that Prime Minister Tony Blair’s [...]

It’s all RSS to me

Mark Pilgrim dissects the various flavours of RSS floating about in The myth of RSS compatibility:

I would like to publicly apologize for my previous misstatements. There are not 7 different and incompatible versions of RSS; there are 9.

There are 9 versions of RSS, all of which are incompatible with various other versions. RSS 0.90 is [...]

iCal appointment lock-in?

Why can’t I drag an appointment from iCal to iChat or into Mail and send it to someone? Why can’t I drag it to the desktop or copy it to the clipboard?
(Consider those feature requests).

Date a ‘leet geek

Over on Hacktivismo lowhalo’s lookin’ to pick up. Now’s your chance!

Explosive decompression of the digital kind

Want to have fun with a Windows user running WinXP? Send them this file and watch it get automatically unzipped:

The file contains 16 zipped files, which again contains 16 zipped files, which again contains 16 zipped files, which again contains 16 zipped, which again contains 16 zipped files, which contain 1 file, with the size [...]

Got smart people?

Scott Berkun on managing smart people. It’s easier and harder than it sounds.

The big risk here that some managers have complained about is that now the manager has to actually go think about what the employee said, which can be complex and time consuming. My response: Shut up. It’s your job. What else are you [...]

Bounced spoofed mail redux

Sigh. Of all the technical issues facing the world today, virus-checking software that’s smart enough not to send spam about emails infected by viruses and worms known to spoof the From: address should really be one of the easier issues to solve:

The following message Mail Transaction Failed has been quarantined by the Wincanton eMail servers [...]

Falling

If you climb, this is some funny shit: Falling.

“One of the reasons I enjoy making fun of climbers is because you can mock them right to their face and 8 out of 10 just look at you with a confused how-will-this-help-me-climb-five-thirteen blankness. Go for it. Grab a fork, dip it in [...]

Think in code?

If you’re a developer, check out this excellent slide presentation by Yukihiro “Matz” Matsumoto, the creator of Ruby, on how programming languages should affect programmers: The Power and Philosophy of Ruby.

« go backkeep looking »