Tuesday, September 29, 2009

Converting floating point to string

This is not as simple as one could think:

Ref:
http://patrakov.blogspot.com/2009/03/dont-use-old-dtoac.html

http://en.wikipedia.org/wiki/Fixed-point_arithmetic

http://www.w3.org/TR/xmlschema-2/#float

Floating Point in XML:
http://discuss.joelonsoftware.com/default.asp?joel.3.653326.31

Monday, September 28, 2009

Installing Visual C++ Toolkit 2003

I am banging my head trying to install Installing Visual C++ Toolkit 2003.

Instructions from:
http://root.cern.ch/root/Procedure/Procedure%20to%20install%20the%20free%20Microsoft%20Visual%20C.htm
http://www.ogre3d.org/forums/viewtopic.php?t=15131&highlight=&sid=ce193664e1d3d7c4af509e6f4e2718c6

However I cannot find msvcrt.lib:

Steps:
$ winetricks dotnet20
$ cd .wine
$ find . | grep -i msvcrt
./drive_c/windows/system32/msvcrt.dll

Where is msvcrt.lib ?

Tuesday, September 15, 2009

The passionate developer: I do like my profession, I don't like my job

http://blog.jonasbandi.net/2009/09/passionate-developer-i-do-like-my.html

http://www.martinfowler.com/bliki/AlphaGeek.html
The term alpha geek, has got most of its currency through a talk and online essay by Tim O'Reilly. In this talk he says that by watching what alpha geeks are doing you get a sense of what the future is like for the technology industry as a whole.

Alpha geeks are typically experimenting with technology. In software development they are the people who first try new languages and frameworks. They are also inclined to build things to solve their problems if there isn't a viable alternative out there. Although they can be wedded to a particular platform, most of them will use what makes them most effective, hopping between platforms. They usually are very passionate about software development and spend more time, often spare time, reading books, going to conference, and tinkering.

Tim's view was that alpha geeks, as a whole, are leading indicators. This isn't true of an individual, who may try all sorts of things and drop if they don't end up being useful. But the aggregate result is important. If many alpha geeks are liking the same thing, then there's a good chance that this is something that's important. It may be several years before it hits the mainstream, but when it does it will matter.

I tend to agree with this view. Although most of my work is playing around with the recent past, trying to capture things we know in a comprehensible way, I do keep an eye on what alpha geeks are looking at and liking. So far its tended to lead to me things that are usually interesting, and more often than not to things that make an important difference to our profession as a whole.

In many ways the name "alpha geek" is unfortunate. In this context, at least, it doesn't necessarily indicate that the alpha geeks are the best technologists - someone who is very expert in a particular technology but doesn't look for new stuff wouldn't fit. "Alpha" also has connotations of superiority and dominance that also don't necessarily fit. The point in this context is that alpha geeks are the people who like to explore and try new things.

Monday, September 14, 2009

C++: Want Speed? Pass by Value.

Something that might surprise some people:

http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/