The interview with Robert Mekis

A must-read for all photograph-lovers :) Robert is one of the famous landscape (but not only!) photographers in CZ – believe me, I’m telling the truth :). And I’m glad to know him for many years, because he is my schoolmate :)

and don’t forget to read the interview!

Damn IE JS event behaviour

I’ve written some application in Rails, using prototype/scriptaculous javascript library. It works great in FF, but in IE it has some fails…

I’ve had following code:


<%= check_box "adsl_cpe_chk", "yes", {:onChange => "if (this.checked) { Element.show('adsl_cpe');} else { Element.hide('adsl_cpe');}"} %>
  
  

and if I clicked (set) checkbox, the select field was still hidden – until I clicked somewhere else – with IE only. I’ve discovered, if I replace onChange with onClick, it works ok. A few hours of trying everything are gone :(

Using GOOGLE API (WSDL example)

def search
  require 'soap/wsdlDriver'
  @title = 'Search Results'
  key = 'YOUR GOOGLE API KEY HERE'
  yoursite = 'YOUR SITE ADDRESS HERE'
  driver = SOAP::WSDLDriverFactory.new("http://api.google.com/GoogleSearch.wsdl").createDriver
  @results = driver.doGoogleSearch(key, @params['term']+" site:#{yoursite}", 0, 10, true, " ", false, " ", " ", " ")
end

and parsing data

<% for result in @results.resultElements %>
 <%= result.title %>
 <%= result.snippet %>
 <%= result.URL %>
<% end %>

Welcome home, 30D :)

I’m a brand new (and proud) owner of this master piece… Purchased in Germany – Czech Rep is at the end of resellers list :(

Items to be purchased in the near future…

  • Canon SpeedLite 580 EX
  • Canon EF 17-40 mm f/4 L USM
  • Canon EF 70-200mm f/2.8 L IS USM
  • Canon EF 50mm f/1.8 II
  • Canon EF-S 10-22 mm f/3.5-4.5 USM
  • Canon EF 100-400mm f/4.5-5.6 L IS USM
  • Canon TC-80N3
  • SIGMA 50-500/4.0-6.3 APO EX DG / HSM (as an option)
  • tripod (Manfrotto 055ProB) & 3D head (Manfrotto 329RC4/229)
  • a set of filters (gradient, color, polarizer…)
  • monopod (Manfrotto 234) & head (Manfrotto 681B)
  • xGB CF card
  • photobag (Lowepro Compu Trekker PLUS AW)