Koke’s

My English alter-ego

Ruby vs Math Laws

Posted by Jorge Bernal July 25, 2006

Ruby is driving me crazy, but this time is not beacuse of its elegance.

See for yourself:

>> (205.0 / 100)
=> 2.05
>> (205.0 / 100) - 2
=> 0.0499999999999998

Weird!! Reminds me of something

Update: After some chat in the #ruby-lang channel, it seems it’s normal behaviour for IEEE floats.

New funny QOTD:

<teferi> Stupid damn double-extended precision

AddThis Social Bookmark Button   AddThis Feed Button

Interview with Jakob Nielsen

Posted by Jorge Bernal July 19, 2006

Sitepoint has just published an interview with Jakob Nielsen. I’d like to remark two key points.

Talking about AJAX:

They are irrelevant for the vast majority of business web sites. (And by “business web site” I also mean sites for government agencies and non-profits.)

A business site will profit much more from writing better headlines than from sticking a programming trick on its pages.

And another practical example:

Similarly, when we tested a large number of investor relations sites, we found that advanced tools for plotting stock trends and financial numbers only confused most individual investors. A better alternative is to show the most important information in a static plot that’s been optimized by a good designer. (Yes, institutional investors in our test did use advanced visualization tools, but they did so on their Bloomberg terminals. On a company’s own IR site, they were looking for the CEO’s vision for the company’s direction.)

I think the concept is clear… Content is the key factor.

Techgnology in websites (and in general, too) should be only a tool to communicate a message, not the inverse. Just a note to myself for the next Warp Networks website redesign.

(Via: Ajaxian)

AddThis Social Bookmark Button   AddThis Feed Button