Representation error refers to fact that some (most, actually) decimal fractions cannot be represented exactly as binary (base 2) fractions. This is the chief reason why Python (or Perl, C, C++, Java, Fortran, and many others) often won’t display the exact decimal number you expect:
>>> 0.1
0.10000000000000001Why is that? 1/10 is not exactly representable as [...]
Archive for the ‘Technology’ Category
Representation Error in Python
Posted in Technology on June 7, 2007 | 1 Comment »
Fake AJAX
Posted in Technology on March 1, 2007 | Leave a Comment »
If you are not comfortable with
AJAX, here is an alternative. The idea is you use
IE inter page transitions. Put these tags in the head of your html document.
<META http-equiv=”Page-Enter” content=”blendTrans(Duration=0.2)”>
<META http-equiv=”Page-Exit” content=”blendTrans(Duration=0.2)”>
Essentially what IE does is capture an image of the page before, and then
Renders the new page in memory first to create a second [...]
What Languages Mix
Posted in Technology on February 19, 2007 | 1 Comment »
Platform Vs Application(War is over)
Posted in Technology on August 11, 2006 | Leave a Comment »
A ‘platform always beats an application’ myth has been made irrelevant by open source community. In each of its past confrontations with rivals, Microsoft has successfully played the platform card, trumping even the most dominant applications. Windows allowed Microsoft to displace Lotus 1-2-3 with Excel, WordPerfect with Word, and Netscape Navigator with Internet Explorer.
This time, though, [...]
Microsoft and Yahoo(New IM buddies)
Posted in Technology on August 10, 2006 | Leave a Comment »
Microsoft and Yahoo have joined hands on instant messaging,their instant messaging (IM) services that enable users of Windows Live Messenger, the next generation of MSN Messenger, and Yahoo Messenger with Voice to connect with each other. This interoperability — the first of its kind between two distinct, global consumer IM providers will form the world’s [...]
Software as Commodity
Posted in Technology on June 24, 2006 | 3 Comments »
The word commodity is used today to represent fodder for industrial processes: things or substances that are found to be valuable as basic building blocks for many different purposes. Because of their very general value, they are typically used in large quantities and in many different ways. Commodities are always sourced by more than one [...]
Don’t get confused if you hear about .NET Framework 3.0
Posted in Technology on June 14, 2006 | Leave a Comment »
Relax this is not something new,WinFX has been renamed as .NET Framework 3.0. .NET Framework 3.0 aptly identifies the technology for exactly what it is – the next version of our developer framework. The change is in name only and will not affect the technologies being delivered as part of the product. The .NET Framework [...]