<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6336097031407610709</id><updated>2008-07-18T16:30:42.696+03:00</updated><title type='text'>Webmaster's Notes</title><link rel='alternate' type='text/html' href='http://manida.com/ivan/'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default'/><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>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><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='alternate' type='text/html' href='http://manida.com/ivan/2008/05/music-iphone-sync.html' title='music: iPhone sync, iTunes alternative'/><link rel='replies' type='application/atom+xml' href='http://manida.com/ivan/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/4318255939390777724'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/4318255939390777724'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author></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='alternate' type='text/html' href='http://manida.com/ivan/2008/03/ror-more-on-dynamic-association.html' title='RoR: Caching  Dynamic Association Conditions'/><link rel='replies' type='application/atom+xml' href='http://manida.com/ivan/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/480552949777189208'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/480552949777189208'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author></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='alternate' type='text/html' href='http://manida.com/ivan/2008/02/php-xcache-installation.html' title='PHP: XCache Installation'/><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://manida.com/ivan/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/2266939874772665091'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/2266939874772665091'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author></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='alternate' type='text/html' href='http://manida.com/ivan/2008/02/ror-overloading-comparison-operators.html' title='RoR: Overriding Comparison Operators in Your Model'/><link rel='replies' type='application/atom+xml' href='http://manida.com/ivan/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/7004396069968359992'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/7004396069968359992'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author></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 deeper.

</summary><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'/><link rel='replies' type='application/atom+xml' href='http://manida.com/ivan/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/6705239413391997827'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6336097031407610709/posts/default/6705239413391997827'/><author><name>kibitzer</name><uri>http://www.blogger.com/profile/02481263853203895939</uri><email>noreply@blogger.com</email></author></entry></feed>