Cookies and port in host’s location

I’ve just discovered setting cookies with port number in domain does not sets cookie (at least in Flock). Let’s assume we have Rails application web server (default on TCP 3000 port). And in JS we use to set cookie something similar to: function setCookie(name, value, expires, path, domain, secure) { cookie= name + “=” + …

Debugging AJAX in IE

I’m using both Debugbar and MS Developer Toolbar (more details in this entry) and still they lack features of Webdeveloper Toolbar for Firefox. This is View Generated Source, which allows to see HTML code for current state of page. Not page downloaded with first HTTP request (it is just View source), but page with all …

Google Mail and counter of doom

You know Gmail. And now how marvelous service it is… A lot space for emails… And even on front page, they assure You how much space there is available Right now it says: Lots of space Over 2757.272164 megabytes (and counting) of free storage so you’ll never need to delete another message. And counter goes …

JavaScript – no automatic conversion to number

I was surprised when I wrote code to extract values from cookie and using it to set map center. Well it looks like in JS there is no automatic conversion from string to number. Code looks like: if ( res = getCookie(“rnsloc”).match(“(.*)-(.*)-(.*)”) ) { map.setCenter( new GLatLng(res[1], res[2]), res[3] ) } else map.setCenter( new GLatLng(52.2419, …