Monday, October 24 2005

[UPDATE 2005-10-26 : One of the web tools is available at http://www.yafla.com/yaflaColor/ColorRGBHSL.aspx]

I have a couple of fun little web services that I worked on over the weekend that I'm going to stick on here in the coming days. One is a simple utility that allows you to punch in Hue/Saturation/Lightness (e.g. 327 degrees, 75% saturation, 55% lightness), or alternately an RGB combo (e.g. #8C235C), and it gives the alternative encoding (e.g. from RGB to HSL, or vice versa). Additionally, and usefully, it provides a listing of saturation/lightness variations so you can easily get correlated shades and saturations for color themes. This is really scratching my own itch, as I constantly find myself picking a base color, and then manually, and imprecisely, varying the RGB components to form a theme (e.g. a slightly lighter variation for a side element, a darker one to go behind another element, and so on).

HSL is a vastly superior way of dealing with colors, and is extraordinarily more intuitive than the 24-bit color-space RGB (e.g. #FF0000). Eventually HSL will be widely available via CSS 3, which means that you should be able to use it natively by around 2009 (if only I were joking...). HSL breaks color into its hue, which is from 0 to 360 degrees, saturation from 0 - 100%, and lightness from 0 - 100%. Understanding the relationship between RGB and HSL was eye opening to me, and I discovered that I had significant misperceptions about how they correlated.

To add to the usefulness, it also gives complimentary and triad colors, as well as complete color sets for your themeing fun based upon common color theory. Each of the colors are linked to be the new base color, so you can browse around to find the perfect collection. Fun little tool.

One other micro-application that I'm releasing, as a downloadable Win32 command-line EXE, is a tool that gives a weighted "suggested photo environment". It analyzes an image, using an outer weighting that you select, and recommends a core environment HSL for it to be contained within. You can then use that to create a color theme, and make gorgeous aesthetically pleasing pages, such that Flickr often does.

This tool alternately allows you to monotone an image to a given hue if that's your desire. e.g. to make a photo fit within an existing color theme. This will be a very easy, lightweight, free method of doing what you can do in most good imaging apps.

Anyways, just a "weekend update". This work was all for some R&D of something much different.

   
Monday, October 24 2005

If you've participated in online forums, you've probably had the NSFW (Not Safe For Work) experience: Someone posts a link to something NSFW without adding appropriate warnings or disclaimers - either as a blatant troll, or without considering varied tastes and situations (e.g. someone sitting in their underwear at home posts a link to a questionable "funny" video that others are blindly opening in their workplace). Often the URL is obscured and indecipherable courtesy of "helpful" services like http://tinyurl.com/

Web 2.0 to the rescue!

Through the magic of collaboration and the power of many eyes making all troll/porn/questionable sites shallow, I propose an innovative new web service that allows users to add URLs, or whole domains, indicating the degrees and types of questionable content, perhaps using the power of folksonomy to tag the URLs. They can add descriptions using a Wiki-style interface, all powered by an AJAX-rich DHTML web application. Think http://del.icio.us/ + http://www.flickr.com + http://www.wikipedia.com + http://www.netnanny.com/.

Via an exposed open-API XML web service, an extension for Firefox can be created that would allow work users to browse more safely, as it automatically validates all URLs through the NSFW service, blocking or warning on potentially questionable content. For those who worry about the privacy ramifications of having all URLs auto-validated, they could manually validate select URLs, or perhaps download the latest "Current Widely Seen NSFW Websites" filter list and use that in their browser extension.

Sounds good, doesn't it? Any VCs out there ready to send me some start-up capital? I'm thinking in the 7-figures range.

Of course in actuality I think it would be a disaster. Not only is it the sort of service that most people wouldn't pay a penny for (yet without a large userbase you can't have useable community-driven rankings, and of course you can't have a professional taxonomy classification of the sites without revenue, as that costs real money), there are limited ancillary revenue options (it'd just be a tiny service that people use almost unconsciously - there is no stickiness). Until it gets a large userbase - which it is doubtful that it ever would as a user-contributed service -  it would suffer from significant false-negatives through exclusion as well, not to mention that it could be easily gamed to cause false-positives.

A classic chicken-egg problem.

On top of that, varying scales of puritanism, as well as trolling with the site itself, would lead to extraordinary pollution of the database. You could try some sort of web-of-trust with relationships and personal networks, for instance only trusting rankings coming from those you trust (or who people you trust trust, and so on) but again that would vastly limit the scope of applicable NSFW rankings, rendering it close to useless for all but the most common of links.

[I should also note that people were tossing around ideas for collaborative, community-driven rankings of websites over a decade ago. The idea of community-driven content is hardly new. What is new is that people think they can build a revenue model on it, largely on the back of Google's innovative and prolific Adsense]

   


About the Author
Dennis Forbes Dennis Forbes is a Toronto-based software architect. While focused primarily on the .NET and SQL Server worlds, Dennis frequently ventures outside of this comfort zone into game development and image processing. He has been published in several industry magazines, has been quoted in the Wall Street Journal and has been interviewed by NPR.

He is a vice president and lead software architect at an innovative New York City hedge fund back-office services firm.

Dennis has been working on solutions for the financial, telecommunications, and power generation markets for over 15 years.





 
Earlier EntriesLater Entries

Dennis Forbes