rulururu

post Photos of “Voices Of Tomorrow” Launch Gig Uploaded

March 20th, 2006

Filed under: Photography — Ian @ 11:29 pm

Pictures from the launch gig from the 17th March 06 with Kids Choir 2000 featuring Hayley Okines have been uploaded, there are more to come. The colours and general image quality for these are pretty bad, this is due to the stage lighting being almost totally red. To the human eye this can look fine as the brain adjusts (google chromatic adaption or von Kries adaption) but there is a limit to what electronics can do to recover. This goes way beyond what camera White Balance controls can compensate for.
(more…)

post Bug in Opera’s eval() function and JS ObjectLiteral notation

March 17th, 2006

Filed under: General — Ian @ 3:31 pm

I was working through some errors with my AJAX application running on Opera and found a problem parsing the JSON response from the server. Testing things out I found that this script won’t work in Opera 8.53, but does in IE & FF.

var f = eval( “( { 1337: ‘Hello World’ } )” );
alert( f[1337] );

The problem is that Opera doesn’t seem to like the fact that the PropertyName ( 1337 ) is not an Identifier. This is a spec violation as having NumericLiteral as PropertyName inside ObjectLiteral is valid, see ECMA-262 3rd Edition Page 158.

Note this is unrelated to the bug below about Opera and evalScripts().
(more…)

post Bug in Opera? Problems calling Prototype’s evalScripts()

March 16th, 2006

Filed under: General — Ian @ 4:17 pm

Prototype is a great JS library for building your AJAX enabled web pages and I am using it in a project I am working on. However when I was testing my application inside Opera 8.53 one of my little interactive widgets stopped working. The problem was due to the widget downloaded a little piece of extra scripting capability which needed to be added to the page, so evalScripts was being called from the AJAX responder. But this was doing nothing inside Opera.

Don’t ask me what the problem is, but I have got round it, here is the quick fix in case anybody else needs it.
(more…)

ruldrurd
Powered by WordPress, Web Design by Laurentiu Piron
Entries (RSS) and Comments (RSS)