Archive for the 'leisure' Category
Iterators in PHP
Recently, while playing with Scala/Python/PHP comparative implementation of lazy algorithms (I will hopefully describe them some days later) with colleague and friend of mine Michael Fuks, I sorrowfully discovered that, despite there are several SPL units, which define basic Iterator interfaces and functionality, most of the functionality available for arrays is missing for Iterators.
So [...]
[ Back to top ]
Programming in Scala
Got the Programming in Scala eBook. I hope to get time and build an experimental Eclipse Plugin with it.
[ Back to top ]
Design Patterns
Recently I’ve seen the inter-blog discussion by some PHP guys I don’t know which touches among other things the issue of design patterns. And when they define design patterns they use some canonical or less definitions which seem a bit fuzzy to me.
When I think of design patterns, I always think about patterns of design, [...]
[ Back to top ]
Prototype styled Google Analytics javascript snippet
Recently I’ve created a prototype styled javascript snippet to enable google analytics on one of my sites. Save this code in google.analytics.js file and include it from the head tag of the page just after including of the prototype.js:
gaTrackerId = ’ss-ddddddd-d’; // insert your tracker id here
document.observe(’dom:loaded’, function() {
var gaJsHost = (
(’https:’ == document.location.protocol)
? ‘https://ssl.’
: [...]
[ Back to top ]
R+R
Today (yesterday, actually) Development Tools group enjoyed the day of recreational activities.
Here comes the brief list of our activities at National Park of Gan ha-Shlosha:
Two team orienteering competition - The group was randomly divided into 2 teams, each of them received maps, showing where envelops with parts of a puzzle were hidden. The assembled [...]
[ Back to top ]

