<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-6336097031407610709</id><updated>2009-05-06T10:54:20.990+03:00</updated><title type='text'>Webmaster's Notes</title><subtitle type='html'>Notes to self about tricky solutions to common problems in web development, django/python, ruby on rails, ajax, life, and so on.</subtitle><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default'/><link rel='alternate' type='text/html' href='http://manida.com/ivan/'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://manida.com/ivan/atom.xml'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6336097031407610709.post-968545512779542465</id><published>2009-05-05T23:07:00.008+03:00</published><updated>2009-05-06T10:54:20.998+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='recommendation'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Windows 7 RC</title><summary type='text'>Sorry for another rant, but I must. I've been using Windows 7, Microsoft's successor to the failure that was Vista, since build 7000 (which was one of the first public betas). Yesterday Release Candidate version was released, available to TechNet/MSDN subscribers ( and everybody else). Keys for this version are freely available everywhere, both for 32 an 64 bit versions.So what are my experiences</summary><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/968545512779542465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://manida.com/ivan/2009/05/windows-7-rc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/968545512779542465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/968545512779542465'/><link rel='alternate' type='text/html' href='http://manida.com/ivan/2009/05/windows-7-rc.html' title='Windows 7 RC'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6336097031407610709.post-6678877567630588852</id><published>2008-12-18T13:28:00.010+02:00</published><updated>2009-03-05T01:03:02.079+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='service'/><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='sync'/><category scheme='http://www.blogger.com/atom/ns#' term='mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='recommendation'/><title type='text'>Multiple Computer Sync - DropBox and alternatives</title><summary type='text'>Life has become mobile. Even office workers have at least two locations - work and home - that they need to keep in sync if they want to be productive and have control over all their electronic appliances. More so if you also have notebook(s), smartphones, summer house computers, media station computers and so on. Each of these often requires access to your personal data like work projects, </summary><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/6678877567630588852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://manida.com/ivan/2008/12/multiple-computer-sync-dropbox-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/6678877567630588852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/6678877567630588852'/><link rel='alternate' type='text/html' href='http://manida.com/ivan/2008/12/multiple-computer-sync-dropbox-and.html' title='Multiple Computer Sync - DropBox and alternatives'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6336097031407610709.post-4318255939390777724</id><published>2008-05-25T11:03:00.007+03:00</published><updated>2008-05-25T11:55:34.160+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='mediamonkey'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>music: iPhone sync, iTunes alternative</title><summary type='text'>A post unrelated to coding - about a problem that was occupying my hobby time ever since I got the iPhone - it's called iTunes, one of the most offending pieces of commercial software I have seen, right after RealPlayer and Quicktime. Apple is notorious for unusable software (while having the best hardware design), as if they outsource their coding to some African tribe, receiving the </summary><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/4318255939390777724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://manida.com/ivan/2008/05/music-iphone-sync.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/4318255939390777724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/4318255939390777724'/><link rel='alternate' type='text/html' href='http://manida.com/ivan/2008/05/music-iphone-sync.html' title='music: iPhone sync, iTunes alternative'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6336097031407610709.post-480552949777189208</id><published>2008-03-25T23:16:00.010+02:00</published><updated>2008-03-26T00:12:14.828+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='association'/><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><category scheme='http://www.blogger.com/atom/ns#' term='cache'/><title type='text'>RoR: Caching  Dynamic Association Conditions</title><summary type='text'>The problem which is verbosely described in a previous post on dynamic associations still does not have a clean solution - I've been researching possible workarounds, and there is no definite answer. One feasible workaround is specifying :conditions =&gt; 'send(:method)' in single quotes, this way Rails will only eval the conditions when forming the SQL string. This, and what was suggested in my </summary><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/480552949777189208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://manida.com/ivan/2008/03/ror-more-on-dynamic-association.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/480552949777189208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/480552949777189208'/><link rel='alternate' type='text/html' href='http://manida.com/ivan/2008/03/ror-more-on-dynamic-association.html' title='RoR: Caching  Dynamic Association Conditions'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6336097031407610709.post-2266939874772665091</id><published>2008-02-27T12:39:00.003+02:00</published><updated>2008-02-27T12:44:45.700+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lamp'/><category scheme='http://www.blogger.com/atom/ns#' term='cache'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='optimization'/><title type='text'>PHP: XCache Installation</title><summary type='text'>A quick note to self: IBM site has a very nice writeup on installing XCache, a php opcode and variable caching which seems popular lately. Other sources of information are missing all the important details which leads to wasted time. Visit the linked page for details (http://www.ibm.com/developerworks/library/os-php-fastapps1/).It does not have a walkthrough on configuring xcache options in the </summary><link rel='related' href='http://www.ibm.com/developerworks/library/os-php-fastapps1/' title='PHP: XCache Installation'/><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/2266939874772665091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://manida.com/ivan/2008/02/php-xcache-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/2266939874772665091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/2266939874772665091'/><link rel='alternate' type='text/html' href='http://manida.com/ivan/2008/02/php-xcache-installation.html' title='PHP: XCache Installation'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6336097031407610709.post-7004396069968359992</id><published>2008-02-10T00:34:00.003+02:00</published><updated>2008-03-01T23:50:32.192+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='mixin'/><category scheme='http://www.blogger.com/atom/ns#' term='meta programming'/><title type='text'>RoR: Overriding Comparison Operators in Your Model</title><summary type='text'>Ruby allows you to override everything. Ruby allows you to override everything using two lines of code. You just got to love ruby! This small entry is about overriding comparison operators (or, to be correct, it is about bulk-defining comparison operators for user class).Common use case from Ruby on Rails is to define a simple model which is associating a Fixnum with some additional properties (</summary><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/7004396069968359992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://manida.com/ivan/2008/02/ror-overloading-comparison-operators.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/7004396069968359992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/7004396069968359992'/><link rel='alternate' type='text/html' href='http://manida.com/ivan/2008/02/ror-overloading-comparison-operators.html' title='RoR: Overriding Comparison Operators in Your Model'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6336097031407610709.post-6705239413391997827</id><published>2008-01-25T14:13:00.001+02:00</published><updated>2008-03-25T18:45:18.905+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='association'/><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>Ruby on Rails: Dynamic Association Conditions Using Reflection</title><summary type='text'>Associations between models are part of what makes Ruby on Rails framework so elegant, define Class Magazine belongs_to :publisher and Class Publisher has_many :magazines and you can simply use magazine.publisher or publisher.magazines without worrying about underlying database and object construction details. Basic associations do work for most cases, but sometimes you would need to go </summary><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/6705239413391997827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://manida.com/ivan/2008/01/ruby-on-rails-making-your-associations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/6705239413391997827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/6705239413391997827'/><link rel='alternate' type='text/html' href='http://manida.com/ivan/2008/01/ruby-on-rails-making-your-associations.html' title='Ruby on Rails: Dynamic Association Conditions Using Reflection'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>