2010-04-28

Why Floating-Point Arithmetic is Just Wrong?!

....or why 0.1 + 0.1 + 0.1 - 0.3 is NOT equal to zero !

I know that floating point operations in computer languages are inherently wrong! In fact every seasoned developer knows this; often with some painful memories of bug-hunting sessions in the past. But newcomers might be suprised by this behavior.

So, let me first explain what is wrong with the floating point numbers? Let's use Python as our guinea pig:

2010-04-24

Just What is Python? My Initial Thoughts

As I've made some progress on my Python adventures, now may be a good time to express some of my initial opinions on the language.

Fırst of all, I've realized some of my beginner frustrations would have been greatly eased if I had understood just what kind of language was Python. So, I will try to list some primary concepts here:

2010-04-20

Visibility Analysis: one way of doing it

It has been 18 days since I've started working on my Visibility Analysis Plugin for QGIS mini-project. Between my day job and many other activities I am more or less satisfied with my progress.

2010-04-02

Viewshed Analysis mini-project

Ok folks, I've just started to learn the widely acclaimed Python language primarily to use it for my thesis study concerning with the GIS (Geographical Information Systems). It looks like just the right type of language for my purposes, which is to develop a viewshed analysis tool... fast!