<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Virtuous cycle &#187; Technology</title>
	<atom:link href="http://www.owczarek.com.pl/blog/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.owczarek.com.pl/blog</link>
	<description>Bartlomiej Owczarek weblog</description>
	<lastBuildDate>Mon, 10 Jan 2011 13:52:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Savants and hierarchical memory</title>
		<link>http://www.owczarek.com.pl/blog/2010/02/14/savants-and-hierarchical-memory/</link>
		<comments>http://www.owczarek.com.pl/blog/2010/02/14/savants-and-hierarchical-memory/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 23:07:17 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ai]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=610</guid>
		<description><![CDATA[Savants are capable of amazing performance in a number of specialized tasks (e.g. rapid counting). In the same time they have difficulties with tasks requiring higher level of abstraction, and display poor general intelligence. Is integer arithmetic fundamental to mental processing? the mind&#8217;s secret arithmetic, A. W. Snyder, D. J. Mitchell: In contrast to the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.owczarek.com.pl/blog/wp-content/uploads/2010/02/chart-150x150.png" alt="" title="chart" width="100" height="100" class="entry-img-left" />Savants are capable of amazing performance in a number of specialized tasks (e.g. rapid counting). In the same time they have difficulties with tasks requiring higher level of abstraction, and display poor general intelligence.</p>
<p><a href="http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1689812/pdf/10212449.pdf"><em>Is integer arithmetic fundamental to mental processing? the mind&#8217;s secret arithmetic</em></a>, A. W. Snyder, D. J. Mitchell:</p>
<blockquote><p>In contrast to the popular views discussed above, the unique aspect of our perspective is that the mechanism and information drawn on for savant mathematics resides equally in us all but it cannot be recruited by us for mathematics. In other words, we believe that mathematical savants, like all autistic savants, arise from thei<strong>r privileged access to lower levels of raw information</strong>. </p>
<p>Why is it that savants have privileged access to lower levels of information ? Perhaps it is promoted by a loss of those centres that control executive or integrative mechanisms (&#8230;)</p>
<p>An intriguing question remains. Although we do not normally have access to lower levels of information as do savants, is there nonetheless some artificial means to promote this access, say via induced altered states of consciousness?</p></blockquote>
<p>A reference to the theory of hierarchical memory (<em>Jeff Hawkins, On intelligence</em>, see <a href="http://www.owczarek.com.pl/blog/2009/12/30/on-intelligence-recommended-reading/">earlier post</a>).</p>
<p>From the point of view of this theory savants would be somehow unable to develop higher level memory patterns. </p>
<p>On the flip side, a normal person cannot recognize lower level memory patterns anymore, and therefore doesn&#8217;t have access to savant-like abilities, which are based on this raw access.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2010/02/14/savants-and-hierarchical-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Intelligence: recommended reading</title>
		<link>http://www.owczarek.com.pl/blog/2009/12/30/on-intelligence-recommended-reading/</link>
		<comments>http://www.owczarek.com.pl/blog/2009/12/30/on-intelligence-recommended-reading/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 21:49:19 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ai]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=569</guid>
		<description><![CDATA[I&#8217;m fascinated by the topic of artificial intelligence, but the fact is, despite all the hype in the last half a century, this faculty hasn&#8217;t come up with anything even remotely close to capabilities of a human brain, and many pundits started to lose hope that it ever will. Development focused on custom solutions designed [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.owczarek.com.pl/blog/wp-content/uploads/2009/12/jeff_hawkins.jpeg" alt="" title="jeff_hawkins" width="100" height="150" class="entry-img-left" />I&#8217;m fascinated by the topic of artificial intelligence, but the fact is, despite all the hype in the last half a century, this faculty hasn&#8217;t come up with anything even remotely close to capabilities of a human brain, and many pundits started to lose hope that it ever will. </p>
<p>Development focused on custom solutions designed to tackle specific, narrowly defined problems. The books I read so far tended to be technical reviews of various types of neural networks, which are of course inspired by the brain&#8217;s circuitry, but share little with it in terms of flexibility and adaptability.</p>
<p>Hawkins&#8217; book is a rare attempt to come up with general view on how brain really works. In the process, it uses concepts from both biological and technological sides. Its general idea is not obscured by technical jargon, which makes it easy to follow.</p>
<p>In summary, the book offers a glimmer of hope, that some kind of breakthrough in the field might be around the corner.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2009/12/30/on-intelligence-recommended-reading/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visualization &#8211; Microsoft Pivot</title>
		<link>http://www.owczarek.com.pl/blog/2009/12/05/visualization-microsoft-pivot/</link>
		<comments>http://www.owczarek.com.pl/blog/2009/12/05/visualization-microsoft-pivot/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 23:01:16 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=567</guid>
		<description><![CDATA[Microsoft previewed one of its new technologies from the labs, the Pivot. (on a separate note, while watching the video I realized that till now I didn&#8217;t know how to spell pivot correctly) From the video, it seems that new Pivot does the same thing as it&#8217;s desktop older brother in Excel, namely allows to [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft previewed one of its new technologies from the labs, the <a href="http://getpivot.com/">Pivot</a>.</p>
<p>(on a separate note, while watching the video I realized that till now I didn&#8217;t know how to spell <em>pivot</em> correctly)</p>
<p>From the video, it seems that new Pivot does the same thing as it&#8217;s desktop older brother in Excel, namely allows to slice a collection of data along available dimensions.</p>
<p>What new Pivot seems to offer on top of that is a more immersive way of exploring data sets, especially those whose items can be visualized somehow. So it&#8217;s like a very visual drill-down capability.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2009/12/05/visualization-microsoft-pivot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New war of platforms?</title>
		<link>http://www.owczarek.com.pl/blog/2009/11/16/new-war-of-platforms/</link>
		<comments>http://www.owczarek.com.pl/blog/2009/11/16/new-war-of-platforms/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 19:48:16 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Social web]]></category>
		<category><![CDATA[Strategy]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web2.0]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=558</guid>
		<description><![CDATA[Interesting article by Tom O&#8217;Reilly. Perhaps days of fragmented but free-for-all web are coming to an end, as the gravitational pull of proprietary platforms &#8211; Facebook, iPhone, Google services &#8211; steadily increases. On the other hand, many of these platforms in fact broke open spaces that were previously off limits to anyone but owners of [...]]]></description>
			<content:encoded><![CDATA[<p>Interesting <a href="http://radar.oreilly.com/2009/11/the-war-for-the-web.html">article by Tom O&#8217;Reilly</a>.</p>
<p>Perhaps days of fragmented but free-for-all web are coming to an end, as the gravitational pull of proprietary platforms &#8211; Facebook, iPhone, Google services &#8211; steadily increases.</p>
<p>On the other hand, many of these platforms in fact broke open spaces that were previously off limits to anyone but owners of the closed ecosystems and the few who bought their way in. </p>
<p>iPhone allowed everyone to write and distribute apps without mobile carrier&#8217;s blessing, and Facebook granted access to its social graph, allowing third party apps to take advantage of it. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2009/11/16/new-war-of-platforms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D map visualizations of data from presidential inauguration</title>
		<link>http://www.owczarek.com.pl/blog/2009/06/13/3d-map-visualizations-of-data-from-presidential-inauguration/</link>
		<comments>http://www.owczarek.com.pl/blog/2009/06/13/3d-map-visualizations-of-data-from-presidential-inauguration/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 16:24:01 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Market research]]></category>
		<category><![CDATA[Personal productivity]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=524</guid>
		<description><![CDATA[Some impressive map overlays (phone calls data during Obama inauguration): http://senseable.mit.edu/obama/index.html I find visualizing data to be such a cool topic &#8211; which can easily be seen from the number of posts related to statistics on Ogito blog, like this one. But there is often a gap between aesthetics and usefulness of advanced visuals. To [...]]]></description>
			<content:encoded><![CDATA[<p>Some impressive map overlays (phone calls data during Obama inauguration):</p>
<p><img src="http://www.owczarek.com.pl/blog/wp-content/uploads/2009/06/the-city-logo.jpg" alt="" title="the-city-logo" width="500" height="109" class="alignnone size-full wp-image-523" /></p>
<p><a href="http://senseable.mit.edu/obama/index.html">http://senseable.mit.edu/obama/index.html</a></p>
<p>I find visualizing data to be such a cool topic &#8211; which can easily be seen from the number of posts related to statistics on Ogito blog, like <a href="http://blog.ogito.eu/2009/06/08/statystyki-w-warszawie-cd/">this one</a>.</p>
<p>But there is often a gap between aesthetics and usefulness of advanced visuals.</p>
<p>To be useful we typically require easy access to lots of context, to be able to draw any conclusions from the data, for example:</p>
<ul>
<li>ability to drill down &#8211; investigate what contributes to the variable value</li>
<li>ability to compare variable level through time</li>
<li>ability to compare variable level in case of different objects (e.g. competitors, regions, etc.)</li>
</ul>
<p>(Ogito <a href="http://www.ogito.eu/pl/miasta/warszawa/stats">statistics for cities</a> &#8212; registration required to see the charts &#8212; use simple Google Charts and tables with links to underlying sets of objects, and this is already enough to get the basic understanding outlined above) </p>
<p>Sometimes complex visualizations add difficulty to perform these basic operations rather than reduce it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2009/06/13/3d-map-visualizations-of-data-from-presidential-inauguration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Giving ground to the kids</title>
		<link>http://www.owczarek.com.pl/blog/2009/06/08/giving-ground-to-the-kids/</link>
		<comments>http://www.owczarek.com.pl/blog/2009/06/08/giving-ground-to-the-kids/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 21:09:06 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Economy]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=518</guid>
		<description><![CDATA[It used to be like this: kids were first to learn new technologies, and then explained them to their less savvy parents. In my family it was always the case, with stuff like VCR and computers. I was always curious if that situation will remain with my generation, or if perhaps we are different &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>It used to be like this: kids were first to learn new technologies, and then explained them to their less savvy parents.</p>
<p>In my family it was always the case, with stuff like VCR and computers.</p>
<p>I was always curious if that situation will remain with my generation, or if perhaps we are different &#8211; world is so much about learning something new all the time, that we simply cannot afford to fall back on getting used to new things quickly.</p>
<p>I got my first feeling that I was behind a kid (10 years old daughter of a friend) a couple of days ago, when we were skyping and she used XD emoticon (written form), and I didn&#8217;t know what she meant.</p>
<p><img src="http://www.owczarek.com.pl/blog/wp-content/uploads/2009/06/xd.jpg" alt="" title="xd" width="100" height="100" class="entry-img-center" /></p>
<p>First sparrow?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2009/06/08/giving-ground-to-the-kids/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Waves goodbye to email (and Microsoft)</title>
		<link>http://www.owczarek.com.pl/blog/2009/05/30/google-waves-goodbye-to-email-and-microsoft/</link>
		<comments>http://www.owczarek.com.pl/blog/2009/05/30/google-waves-goodbye-to-email-and-microsoft/#comments</comments>
		<pubDate>Sat, 30 May 2009 01:53:26 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Social web]]></category>
		<category><![CDATA[Startups]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web2.0]]></category>
		<category><![CDATA[bing]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[wave]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=512</guid>
		<description><![CDATA[Google revealed its stealth Wave project, with the announcement timed, by the way, within minutes after Microsoft Bing&#8217;s coming out. Wave is an attempt to redefine and merge communication media, possibly replacing email, IM and others. The demo looked really cool. Sadly Wave is not available yet &#8211; but I am really eager to check [...]]]></description>
			<content:encoded><![CDATA[<p>Google revealed its stealth Wave project, with the announcement timed, by the way, within minutes after Microsoft Bing&#8217;s coming out. </p>
<p>Wave is an attempt to redefine and merge communication media, possibly replacing email, IM and others.</p>
<p>The demo looked really cool. Sadly Wave is not available yet &#8211; but I am really eager to check it out when it opens.</p>
<p><img src="http://www.owczarek.com.pl/blog/wp-content/uploads/2009/05/wave.png" alt="" title="Google Wave" width="400" height="260" class="entry-img-center" /></p>
<p>Demo lasted more than an hour, the video is available at <a href="http://wave.google.com/">project&#8217;s homepage</a>.</p>
<p>Briefly, Wave aims to replace exchanging messages back and forth, which is the current practice, with single threads, called <em>waves</em>.</p>
<p>Different stuff can be added to waves &#8211; messages, but also photos and instant messaging.</p>
<p>In fact they implemented IM in a way that allows to follow each keystroke of the counterpart &#8211; like in good old days of Talk sessions on unix systems.</p>
<p>Meanwhile, Microsoft rebranded its search engine to &#8220;Bing&#8221; and tries to promote it as a &#8220;decision engine&#8221;, tailoring search results layout depending on the recognized query context (e.g. travel related search) and presenting structured information on its own page, rather than rely on user to go to any of the results.</p>
<p>I like the direction Microsoft is taking, but at this point I would be more excited about Wave&#8217;s ability to change my daily routing rather than Bing.</p>
<p>Bing is at most evolutionary step in the right direction, while Wave has more revolutionary feeling to it. </p>
<p>Note: this doesn&#8217;t bode well for Microsoft, which is an underdog compared to Google. In this position it should be Microsoft coming up with revolutionary ideas, not Google. Microsoft fails to show real innovation for all the dollars it sinks into search (for years already).</p>
<p>Another note: Wave makes me think of tremendous advantage Google has thanks to it capabilities in mass scale, real time processing. Building a system like this would be a challenge for a small startup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2009/05/30/google-waves-goodbye-to-email-and-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser to gain lots of power, soon</title>
		<link>http://www.owczarek.com.pl/blog/2009/05/28/browser-to-gain-lots-of-power-soon/</link>
		<comments>http://www.owczarek.com.pl/blog/2009/05/28/browser-to-gain-lots-of-power-soon/#comments</comments>
		<pubDate>Thu, 28 May 2009 01:34:19 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=509</guid>
		<description><![CDATA[Just reading stuff from Google I/O. The event was used to showcase some of the things we can expect from the browsers in the (near?) future. Screenshot from one of the demos: All this purely browser computing (javascript and html). Soon things like video and location will be available in the browser without any plugins. [...]]]></description>
			<content:encoded><![CDATA[<p>Just reading stuff from Google I/O.</p>
<p>The event was used to showcase some of the things we can expect from the browsers in the (near?) future. Screenshot from one of the demos:</p>
<p><img src="http://www.owczarek.com.pl/blog/wp-content/uploads/2009/05/canvas-300x223.png" alt="" title="canvas" width="300" height="223" class="entry-img-center" /></p>
<p>All this purely browser computing (javascript and html). Soon things like video and location will be available in the browser without any plugins.  </p>
<p>Check out the <a href="http://htmlfive.appspot.com/">rest of the demos</a>.</p>
<p><a href="http://www.techcrunch.com/2009/05/27/live-from-google-io-2009/">Notes from the event</a> at Techcrunch.</p>
<p>The browser is going to be really powerful, and the promise of writing software that can run anywhere without need of any installation will inspire developers to push the envelope ever further. </p>
<p>Browser apps, which now often look quite rudimentary, might evolve rapidly.</p>
<p>All this erodes value of the underlying OS, so it&#8217;s not surprising that Microsoft is dragging its feet in this area.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2009/05/28/browser-to-gain-lots-of-power-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RESTful Ogito: I need to clean up some mess</title>
		<link>http://www.owczarek.com.pl/blog/2009/05/08/restful-ogito-i-need-to-clean-up-some-mess/</link>
		<comments>http://www.owczarek.com.pl/blog/2009/05/08/restful-ogito-i-need-to-clean-up-some-mess/#comments</comments>
		<pubDate>Thu, 07 May 2009 23:47:46 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ogito]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=488</guid>
		<description><![CDATA[I decided to rebuild something I specifically hoped would not need to be touched, namely Ogito&#8217;s internal routes structure in Rails. Ogito uses links looking like this: http://www.ogito.eu/en/place/polska/warszawa/luna-marszalkowska http://www.ogito.eu/en/directory/contentitem/movies/2003/bialy-krol-czerwony-kauczuk-czarna-smierc The idea in itself is ok &#8211; links include context information like city and country, so that they are more meaningful. Much better, in my opinion, [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to rebuild something I specifically hoped would not need to be touched, namely Ogito&#8217;s internal routes structure in Rails.</p>
<p>Ogito uses links looking like this:</p>
<pre>http://www.ogito.eu/en/place/polska/warszawa/luna-marszalkowska

http://www.ogito.eu/en/directory/contentitem/movies/2003/bialy-krol-czerwony-kauczuk-czarna-smierc
</pre>
<p>The idea in itself is ok &#8211; links include context information like city and country, so that they are more meaningful. </p>
<p>Much better, in my opinion, than links like /places/4652. Not even from the point of view of SEO, but rather of users who are given additional hint if the link is relevant to their search or not.</p>
<p>However, the purpose doesn&#8217;t really justify the way I implemented them<span id="more-488"></span>, that is by defining plenty of custom routes like this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">  map.<span style="color:#9900CC;">place_edit</span>          <span style="color:#996600;">'place/edit/:country_id/:city_id/:place_id'</span>, <span style="color:#ff3333; font-weight:bold;">:controller</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'places'</span>, <span style="color:#ff3333; font-weight:bold;">:action</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'edit'</span>
  map.<span style="color:#9900CC;">place_destroy</span>       <span style="color:#996600;">'place/delete/:country_id/:city_id/:place_id'</span>, <span style="color:#ff3333; font-weight:bold;">:controller</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'places'</span>, <span style="color:#ff3333; font-weight:bold;">:action</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'destroy'</span>
  map.<span style="color:#9900CC;">place_add</span>           <span style="color:#996600;">'place/add/:country_id/:city_id'</span>, <span style="color:#ff3333; font-weight:bold;">:controller</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'places'</span>, <span style="color:#ff3333; font-weight:bold;">:action</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'new'</span>
  map.<span style="color:#9900CC;">place</span>               <span style="color:#996600;">'place/:country_id/:city_id/:place_id'</span>, <span style="color:#ff3333; font-weight:bold;">:controller</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'places'</span>, <span style="color:#ff3333; font-weight:bold;">:action</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'show'</span>
  map.<span style="color:#9900CC;">places</span>              <span style="color:#996600;">'places/:country_id/:city_id'</span>, <span style="color:#ff3333; font-weight:bold;">:controller</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'places'</span>, <span style="color:#ff3333; font-weight:bold;">:action</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'index'</span>, <span style="color:#ff3333; font-weight:bold;">:defaults</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#006600; font-weight:bold;">&#123;</span>:country_id<span style="color:#006600; font-weight:bold;">=&gt;</span>nil,:city_id<span style="color:#006600; font-weight:bold;">=&gt;</span>nil<span style="color:#006600; font-weight:bold;">&#125;</span></pre></div></div>

<p>Complexity is created mainly by having countries and cities as part of the route, which has additional downside of having to provide all these objects when creating a link. </p>
<p>Instead I could use simple resource-based routes with some nesting, which would look more or less like this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">map.<span style="color:#9900CC;">resources</span>           <span style="color:#ff3333; font-weight:bold;">:cities</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>city<span style="color:#006600; font-weight:bold;">|</span>
    city.<span style="color:#9900CC;">resources</span>        <span style="color:#ff3333; font-weight:bold;">:places</span>, <span style="color:#ff3333; font-weight:bold;">:only</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:index</span><span style="color:#006600; font-weight:bold;">&#93;</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
map.<span style="color:#9900CC;">resources</span>           <span style="color:#ff3333; font-weight:bold;">:countries</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>country<span style="color:#006600; font-weight:bold;">|</span>
    country.<span style="color:#9900CC;">resources</span>     <span style="color:#ff3333; font-weight:bold;">:places</span>, <span style="color:#ff3333; font-weight:bold;">:only</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:index</span><span style="color:#006600; font-weight:bold;">&#93;</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
map.<span style="color:#9900CC;">resources</span>           <span style="color:#ff3333; font-weight:bold;">:places</span>, <span style="color:#ff3333; font-weight:bold;">:except</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:index</span><span style="color:#006600; font-weight:bold;">&#93;</span></pre></div></div>

<p>Nesting resources allows index links to include country or city, for example:</p>
<pre>http://www.ogito.eu/en/countries/polska/places</pre>
<p>I could go extreme with nesting, since for example place belongs to city which belongs to country, but I think the links would be too long as a result.</p>
<p>Urls of individuals objects are not nested, but they can include all the details in the id string:</p>
<pre>http://www.ogito.eu/en/places/1161-adria-torunska-bydgoszcz</pre>
<p>The result is the same, but there is no deviation from Rails standard and the application is much easier to develop and maintain.</p>
<p>Often being a novice brings benefit of fresh perspective and new ideas, but in this case I would prefer to have enough experience to get it right first time. Making changes now is not a big problem, but Google already indexed something like 3,000 subpages, so some redirection strategy will have to be in place.</p>
<p>Uff just hope it&#8217;s the final version this time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2009/05/08/restful-ogito-i-need-to-clean-up-some-mess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Witcher for consoles on hold, Widescreen Games and CDP blame each other</title>
		<link>http://www.owczarek.com.pl/blog/2009/05/06/witcher-for-consoles-on-hold-widescreen-games-and-cdp-blame-each-other/</link>
		<comments>http://www.owczarek.com.pl/blog/2009/05/06/witcher-for-consoles-on-hold-widescreen-games-and-cdp-blame-each-other/#comments</comments>
		<pubDate>Wed, 06 May 2009 18:43:18 +0000</pubDate>
		<dc:creator>BOwczarek</dc:creator>
				<category><![CDATA[Startups]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[poland]]></category>
		<category><![CDATA[witcher]]></category>

		<guid isPermaLink="false">http://www.owczarek.com.pl/blog/?p=475</guid>
		<description><![CDATA[I was very sad to hear that CD Project RED put their Witcher console version on hold. Original PC Witcher game was a resounding success and the console port had a chance to steer the project into a much wider market. CDP release cites quality as a reason behind the decision, meaning specifically that a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.owczarek.com.pl/blog/wp-content/uploads/2009/05/witcher-logo.jpg" alt="" title="witcher" width="100" height="62" class="entry-img-left" />I was very sad to hear that CD Project RED <a href="http://www.thewitcher.com/community/en/twrotww_news/898.html">put their Witcher console version on hold</a>. </p>
<p>Original PC Witcher game was a resounding success and the console port had a chance to steer the project into a much wider market. </p>
<p>CDP release cites quality as a reason behind the decision, meaning specifically that a French contractor they hired for the job, <a href="http://www.wsg.fr/">Widescreen Games</a>, didn&#8217;t deliver neither on time nor appopriate quality.</p>
<p>WSG in press release <a href="http://finance.yahoo.com/news/Development-of-the-new-Game-prnews-15071782.html?.v=33">defends their &#8220;propriety technology&#8221;</a> and blames CDP for missing payments.</p>
<p>There is an <a href="http://polygamia.pl/Polygamia/1,95338,6556537,Ekskluzywny_wywiad_z_Michalem_Kicinskim.html">interview with CDP founder at Polygamia</a> (Polish), in which he explains in detail quality issues with WSG and asserts payment delay were only linked to WSG missing the milestones, with last payment not to be made since the milestone was not completed and the contract canceled:</p>
<blockquote><p>We put an enormous effort to make sure the production goes the right way, and still the plans were becoming invalid, and there were new delays? After a few such incidents, we sent a large team over to Lyon. The group consisted not only of people involved in the project, but also of technology managers from RED and Metropolis. They spent one whole week to examine thoroughly the whole project and its technology. </p>
<p>As a result, we found out that WSG&#8217;s promises had no grounds in reality and that the game&#8217;s premiere date and quality cannot be guaranteed. So, after a long discussion, we decided to suspend the cooperation with WSG, because we understood there is too much risk in it. And actually we haven&#8217;t paid for the last milestone, but only because it wasn&#8217;t complete and we have already started the termination of the contract.</p></blockquote>
<p>Michal claims that redundancies and savings at CDP, though they are unpopular and generate lots of gossip, will allow the company to continue its key projects.</p>
<p>In any case, the situation is pretty sad. The only good news is that CDP claims that their current flagship project, kept in secret but assumed to be Witcher 2, is on track. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.owczarek.com.pl/blog/2009/05/06/witcher-for-consoles-on-hold-widescreen-games-and-cdp-blame-each-other/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

