keskiviikko 19. toukokuuta 2010
Portal
tiistai 11. toukokuuta 2010
Software bugs and nerd humor
I recently came across a heisenbug: a software bug which disappeared or changed its nature when I added debug output into the program. The Wikipedia article explains other interesting types of bugs as well, such as a schroedinbug, bohrbug and phase of the Moon bug. Phase of the Moon bug links to another article, Time formatting and storage bugs. This article unfortunaly omits the favorite example of many: the Ubuntu bug #248619 where OpenOffice.org would not print on Tuesdays!? Matt Zimmerman writes that it's a great example of the aforementioned concept of bohrbug.
Related to bugs, the Global Nerdy blog recently compiled a list of New Programming Jargon. The list contains such gems as hindenbug ("A catastrophic data-destroying bug. Oh, the humanity!") and Loch Ness Monster Bug ("A bug that isn’t reproducible and has been sighted by only one person."). :)
tiistai 20. huhtikuuta 2010
Case: Lots of Flickr traffic
One of my photos, the Empire State Pigeon (also shown to the right), was recently featured in the official Flickr Blog. The Flickr Blog has the property that it is featured on the main page of Flickr, at least for the logged in users. Now, as Flickr is a high traffic site, anything on the front page is likely to get high traffic too, and so did my photo.
I posted the photo to Flickr about 19 months ago. In that time it had gathered some 5000 views, which I found an impressive number. However, when the blog post was published, the view count surged all the way up to 30000 in just a few days! Below is the graph that shows the daily traffic statistics before, during and after the event. Click to zoom to the full size view:
The graph shows that the photo was getting a steady amount of some thirty views a day and then, on April 14, it suddenly got 11133 views, 106 comments and 468 favorites. The next day it got even more views, 12635, but way less comments (8) and favorites (40). Why?
Well, that can be explained by drilling into the referrer statistics: on April 14, only 4784 of the 11000 visitors came through Flickr.com. Almost as many, 4594, came from another high traffic site called Reddit.com to where someone had posted a link to the photo. On April 15, 9798 visitors came via Reddit and only 517 via Flickr, as by then the Flickr Blog already had new posts. Reddit users don't necessarily have Flickr accounts and thus cannot leave comments or favorite the photos.
Another difference I observed in the behavior of Flickr visitors and Reddit visitors was that Flickr visitors looked at my other photos too. Thus the aggregate views over all of my photos was a lot higher on April 14 than it was on April 15, even though that one photo got more visitors on April 15:
(And now for something completely different. If those graphs above felt dry, try the GraphJam site instead!)
tiistai 6. huhtikuuta 2010
Tools for web developers
Another nifty tool, possibly for selecting the colors for your gradient, is Iconico's ColorPic. It can be used to pick a color anywhere from your screen. It's got an adjustable magnifier, you can nudge the mouse cursor pixel by pixel using the arrow keys, and you can select the average color of a small area of pixels in case selecting the color of a single pixel is not desired!
lauantai 20. maaliskuuta 2010
Firefox Personas
maanantai 15. maaliskuuta 2010
Opera 10.51 RC1
A month ago I wrote about Opera 10.50 beta. Now the 10.50 has already passed the beta stage and what's more, Opera 10.51 Release Candidate 1 for Windows has just been released. This version contains performance improvements and an even better JavaScript engine, especially what comes to memory management. These features are of course very welcome to all netbook users. :)
tiistai 9. maaliskuuta 2010
Image processing software
IrfanView does all this. It is a piece of freeware that I have used for as long as I have used the Opera browser and the NoteTab text editor, ten years or so. The user interface is minimalistic and the program is controlled using the menus or the shortcut keys. IrfanView can be used to batch process an entire folder full of images or just one image at a time. It can read dozens of file formats and write an impressive number of formats too. There are also lots of plugins for it bringing in some extra functionality. They are really easy to install because they are provided as one big installer file from the IrfanView homepage. What's also very important for netbook users is that IrfanView is a lightweight and fast program.Hint: If you work with images that have transparency, set the IrfanView background color to pink (Options | Properties/Settings... | Viewing | Main window color). Then you will know exactly where the transparency starts and where it ends, as pink is featured in really few pictures, unlike black and white.

