The funny 8s and 9s in javascript

19 Jun 2007 This may be a known fact to those that have mastered javascript in real life scenarios, but just today I came across this: :: 1 Type in values like 02,03, etc. The underlying script will try to parse the input as an integer, and it appears that it ignores the...

Mr Evolute

08 Jun 2007 Can you remember that sad time when some people suddenly thought that it’s desperately necessary that God made Earth in a couple of thousand years? You mean that intelligent creator business? Yeah… Well, do you remember how that weird group, how did they call themselves… The evoluzzers Yeah, those. That...

Road to Reality - Continued Fractions

03 Jun 2007 Saturday my new book arrived - The Road to Reality by Roger Penrose. This is a much appraised book. The saying goes that it is somewhat too complex to be understood by the minds that, let’s say, usually deal with stuff that has not much connection to the thought processes...

Some testing is always going on

01 Jun 2007 In this case I am trying the Windows Live Writer to figure our whether there is a better way to post to my weblog. Clearly, for simple text this looks pretty straightforward, but it is rather unlikely that my posts containing code could be written with this. On the other hand,...

Haskell decision making

30 May 2007 A few days ago, while I was implementing something in PL/SQL for that dreaded Oracle Forms project I had to code some scary if-else construct spanning two logic checks that depending on the combination gave four different results. if a=true and b=true then 1 elsif a=true and b=false then 2...