<?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"
	>

<channel>
	<title>alex.moskalyuk</title>
	<atom:link href="http://www.moskalyuk.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.moskalyuk.com/blog</link>
	<description></description>
	<pubDate>Wed, 30 Apr 2008 03:48:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>MapReduce usage at Google</title>
		<link>http://www.moskalyuk.com/blog/mapreduce-usage-at-google/1544</link>
		<comments>http://www.moskalyuk.com/blog/mapreduce-usage-at-google/1544#comments</comments>
		<pubDate>Mon, 28 Apr 2008 01:17:25 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Optimization]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/mapreduce-usage-at-google/1544</guid>
		<description><![CDATA[Via High Scalability blog (a great addition to any RSS reader out there) there&#8217;s a link to Jefrrey Dean&#8217;s presentation on MapReduce usage in Google. Actually, his presentation touches upon a few aspects of Google infrastructure, such as GFS, and BigTable, so there&#8217;s more on this video. What caught my eye is the relative growth [...]]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://highscalability.com/behind-scenes-google-scalability">High Scalability blog</a> (a great addition to any RSS reader out there) there&#8217;s a link to <a href="http://research.google.com/people/jeff/index.html">Jefrrey Dean</a>&#8217;s presentation on MapReduce usage in Google. Actually, his presentation touches upon a few aspects of Google infrastructure, such as GFS, and BigTable, so there&#8217;s more <a href="http://research.yahoo.com/node/2135">on this video</a>. What caught my eye is the relative growth of MapReduce inside Google - 2.2 mln jobs run in September 2007.</p>
<p><a href="http://www.moskalyuk.com/blog/wp-content/uploads/2008/04/image.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 5px; border-right-width: 0px" src="http://www.moskalyuk.com/blog/wp-content/uploads/2008/04/image-thumb.png" border="0" alt="image" width="504" height="242" /></a></p>
<p>In the table above, note the drastic growth of input data analyzed and output data generated. The number of actual MapReduce jobs has also grown significantly and reached 10,000 in September 2007.</p>
<p><a href="http://www.moskalyuk.com/blog/wp-content/uploads/2008/04/image1.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 5px; border-right-width: 0px" src="http://www.moskalyuk.com/blog/wp-content/uploads/2008/04/image-thumb1.png" border="0" alt="image" width="504" height="302" /></a></p>
<p>Dean also presented an interesting graph about the frequency of commits of new MapReduce jobs into the repository - as you can see there are months when the number of new projects goes through the roof, followed by a spike.</p>
<p><a href="http://www.moskalyuk.com/blog/wp-content/uploads/2008/04/image2.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 5px; border-right-width: 0px" src="http://www.moskalyuk.com/blog/wp-content/uploads/2008/04/image-thumb2.png" border="0" alt="image" width="504" height="271" /></a></p>
<p>The reason? Summer interns.</p>
<p><a href="http://www.moskalyuk.com/blog/wp-content/uploads/2008/04/image3.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 5px; border-right-width: 0px" src="http://www.moskalyuk.com/blog/wp-content/uploads/2008/04/image-thumb3.png" border="0" alt="image" width="504" height="275" /></a></p>
<p>Complete set of slides is <a href="http://research.yahoo.com/files/6DeanGoogle.pdf">available from Yahoo! Research</a>, which organized the Data-Intensive Computing Symposium.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/mapreduce-usage-at-google/1544/feed</wfw:commentRss>
		</item>
		<item>
		<title>24 Web site performance tips</title>
		<link>http://www.moskalyuk.com/blog/24-web-site-performance-tips/1535</link>
		<comments>http://www.moskalyuk.com/blog/24-web-site-performance-tips/1535#comments</comments>
		<pubDate>Sun, 30 Mar 2008 07:17:03 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/?p=1535</guid>
		<description><![CDATA[Yahoo! Developer Network blog had an entry by Stoyan Stefanov and presentation from PHP Quebec conference. A few points to take away, in case you don&#8217;t feel like going through 76-slide presentation:

A drop of 100ms in page rendering time leads to 10% in sales on Amazon. A drop of 500 ms leads to 20% less [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Yahoo! Developer Network</strong> blog had <a href="http://developer.yahoo.net/blog/archives/2008/03/yahoos_latest_p.html">an entry by Stoyan Stefanov</a> and presentation from PHP Quebec conference. A few points to take away, in case you don&#8217;t feel like going through 76-slide presentation:</p>
<ol>
<li>A drop of 100ms in page rendering time leads to 10% in sales on Amazon. A drop of 500 ms leads to 20% less traffic to Google.</li>
<li>Make fewer HTTP requests - combine CSS and JS files into single downloads. Minify both JS and CSS.</li>
<li>Combine images into <a href="http://www.csssprites.com/">CSS sprites</a>.</li>
<li>Bring static content closer to the users. That usually means CDNs like Akamai or Limelight, but sometimes a co-location facility or data center in a foreign country is the only option.</li>
<li>Static content should have Expires: headers way into the future, so that they&#8217;re never re-requested.</li>
<li>Dynamic content should have Cache Control: header.</li>
<li>Offer content gzip&#8217;ed.</li>
<li>Stoyan claims nothing will be rendered in the browser till the last piece of CSS has been served, and therefore it&#8217;s critical to send CSS as early in the process as possible. I happen to have <a href="http://www.moskalyuk.com/">a document</a> with CSS declared at the very end, and disagree with this statement - at least the content <em>seems</em> to render OK without CSS, and then self-corrects when CSS finally loads.</li>
<li>Move the scripts all the way to the bottom to avoid the download block - Stoyan&#8217;s example shows placing the javascript includes right before &lt;/body&gt; and &lt;/html&gt;, although it&#8217;s possible to place them even further down (well, you&#8217;d break XHTML purity, I suppose, if you declare your documents to be XHTML).</li>
<li>Avoid CSS expressions.</li>
<li>Consider placing the minified CSS and JS files on separate servers to fight browser&#8217;s default pipelining settings - not everybody has <a href="http://fasterfox.mozdev.org/">FasterFox</a> or tweaked pipeline settings.</li>
<li>For super-popular pages consider inlining JS for fewer HTTP requests.</li>
<li>Even though placing content on external servers with different domains will help you with HTTP pipelining, don&#8217;t go crazy with various domains - they all require DNS lookups.</li>
<li>Every 301 redirect is a wasted HTTP request.</li>
<li>For busy backend servers consider PHP&#8217;s <a href="http://us2.php.net/flush">flush()</a>.</li>
<li>Use GET over POST any time you have a choice.</li>
<li>Analyze your cookies - large number of them could substantially increase the number of TCP packets.</li>
<li>For faster JavaScript and DOM parsing, reduce the number of DOM elements.</li>
<li>document.getElementByTagName(&#8217;*').length will give you the number of total elements. Look at those abusive &lt;div&gt;s.</li>
<li>Any missing JS file is a significant performance penalty - the browser will browse the 404 page you generate, trying to see if it has valid &lt;script&gt;s.</li>
<li>Optimize your PNGs - check out <a href="http://pmt.sourceforge.net/pngcrush/">pngcrush</a>, <a href="http://psydk.org/PngOptimizer.php">pngoptimizer</a></li>
<li>Optimize JPEGs - <a href="http://www.gsp.com/cgi-bin/man.cgi?section=1&amp;topic=jpegtran">jpegtran</a></li>
<li>Make sure you have favicon.ico - generating those 404s will be expensive, plus once you have it, it&#8217;s cache-able.</li>
<li>Toolkits for measuring page loads: <a href="http://pagetest.wiki.sourceforge.net/">AOL PageTest</a>, <a href="http://www.fiddlertool.com/fiddler/">FiddlerTool</a> HTTP debugging proxy, <a href="http://www.research.ibm.com/pagedetailer/">IBM Page Detailer</a> instrumentation tool, YSlow, and Firebug are suggested in the presentation. My personal addition to the list is <a href="http://www.xk72.com/charles/">Charles</a> that has been recommended by a colleague.</li>
</ol>
<p>And here&#8217;s the whole presentation, although it&#8217;s not possible to follow links from Slideshare slides.
<div style="width:425px;text-align:left" id="__ss_319798"><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=high-performance-web-pages-20-new-best-practices-1206389190195598-3"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=high-performance-web-pages-20-new-best-practices-1206389190195598-3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"><a href="http://www.slideshare.net/?src=embed"><img src="http://static.slideshare.net/swf/logo_embd.png" style="border:0px none;margin-bottom:-5px" alt="SlideShare"/></a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/24-web-site-performance-tips/1535/feed</wfw:commentRss>
		</item>
		<item>
		<title>Giving an old PSP a new life</title>
		<link>http://www.moskalyuk.com/blog/giving-an-old-psp-a-new-life/1533</link>
		<comments>http://www.moskalyuk.com/blog/giving-an-old-psp-a-new-life/1533#comments</comments>
		<pubDate>Mon, 24 Mar 2008 02:18:28 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/giving-an-old-psp-a-new-life/1533</guid>
		<description><![CDATA[Over the past few months my PSP started to show the signs of old age. Whether it&#8217;s my addiction to World Tour Soccer series that completely worn out the analog stick, or frequent uses of the device in the train, on the beach, and on the planes that resulted in a dirty screen and what [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past few months my PSP started to show the signs of old age. Whether it&#8217;s my addiction to <a href="http://apps.facebook.com/videogames/game.php?asin=B000FKP2OE">World Tour Soccer</a> series that completely worn out the analog stick, or frequent uses of the device in the train, on the beach, and on the planes that resulted in a dirty screen and what not. Cleaning out your PSP is actually pretty easy, and is roughly a 20-30 minute project. Things you&#8217;ll need (and I got them all from one place, your shopping experience may differ):</p>
<ul>
<li>a <a href="http://www.dealextreme.com/details.dx/sku.11268~r.40178818">high precision screwdriver</a> for hard to reach bolts</li>
<li>a <a href="http://www.dealextreme.com/details.dx/sku.3373~r.40178818">replacement analog stick</a> if yours is worn out</li>
<li><a href="http://www.dealextreme.com/details.dx/sku.2979~r.40178818">button replacement kit</a>, if yours are dirty or unusable. If you only need specific buttons replaced, check out <a href="http://www.dealextreme.com/details.dx/sku.642~r.40178818">this kit</a>.</li>
</ul>
<p>Unscrew three bolts on the back of PSP to separate the front and the back of the device. The last screw might be tough to find, and it is under the battery, which you need to take out. There&#8217;s a protective seal that warns you about warranty being void if you remove it. If you have any kind of warranty left on the device, you should probably have it replaced instead of cleaning it out yourself.</p>
<p><a href="http://www.moskalyuk.com/blog/wp-content/uploads/2008/03/cimg1772.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="364" alt="CIMG1772" src="http://www.moskalyuk.com/blog/wp-content/uploads/2008/03/cimg1772-thumb.jpg" width="484" border="0" /></a> </p>
<p>Separate the front panel of PSP, and remove it. It contains many small buttons such as Start and Select, which could fall out, and get in the way. The front panel frame hardly needs any cleaning, so it&#8217;s safe to just put it away for the time being.</p>
<p><a href="http://www.moskalyuk.com/blog/wp-content/uploads/2008/03/cimg1773.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="364" alt="CIMG1773" src="http://www.moskalyuk.com/blog/wp-content/uploads/2008/03/cimg1773-thumb.jpg" width="484" border="0" /></a> </p>
<p>The back of the panel, however, contains the analog stick, and 4-directional button. The analog stick can be replaced, if you have a replacement handy, or just cleaned out, if it&#8217;s just the matter of dust and a few odds and ends getting in. If you remove it, that&#8217;s the only electronic part on the front panel. The rest of it can have a date with Mr. Windex for brighter shine.</p>
<p>Replace the analog stick of 4-directional button, and you&#8217;re pretty much done. Check out the top buttons, R and L, that are not used in all the games, and therefore might be in different state of wear and tear. Those can be washed and cleaned out as well, nothing but white plastic there.</p>
<p>Time to put the PSP back together, and remember - no spare parts.</p>
<p><a href="http://www.moskalyuk.com/blog/wp-content/uploads/2008/03/cimg1776.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="364" alt="CIMG1776" src="http://www.moskalyuk.com/blog/wp-content/uploads/2008/03/cimg1776-thumb.jpg" width="484" border="0" /></a></p>
<p>For a pretty small budget, and 20-30 minutes of work you have a good-looking shiny gadget back in shape. </p>
<p> <a href="http://www.moskalyuk.com/blog/wp-content/uploads/2008/03/cimg1777.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="364" alt="CIMG1777" src="http://www.moskalyuk.com/blog/wp-content/uploads/2008/03/cimg1777-thumb.jpg" width="484" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/giving-an-old-psp-a-new-life/1533/feed</wfw:commentRss>
		</item>
		<item>
		<title>Stress testing Web services</title>
		<link>http://www.moskalyuk.com/blog/stress-testing-web-services/1523</link>
		<comments>http://www.moskalyuk.com/blog/stress-testing-web-services/1523#comments</comments>
		<pubDate>Thu, 20 Mar 2008 04:06:26 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/stress-testing-web-services/1523</guid>
		<description><![CDATA[Pylot is a new stress testing tool for Web services testing. As creators describe it:
 You begin by defining your test cases in an XML file.  Test cases are where you specify the requests  (url, method, body/payload, etc) and verifications.  Server responses can be verified by matching content  to regular expressions [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pylot.org/">Pylot</a> is a new stress testing tool for Web services testing. As creators describe it:</p>
<blockquote><p> You begin by defining your test cases in an XML file.  Test cases are where you specify the requests  (url, method, body/payload, etc) and verifications.  Server responses can be verified by matching content  to regular expressions and with HTTP status codes.  You can adjust the load settings in the workload controls  on the GUI before you start a test run (number of agents, request intervals, rampup time, test duration).   These settings enable you to model tests based on various load scenarios.  At runtime, the cases are loaded  and passed to the load generating engine.  Agents are dispatched and run concurrently to send HTTP requests  to your web service.  Real-time stats and error reporting are displayed for monitoring the test as it executes.</p></blockquote>
<p>It&#8217;s a Python script with command-line and graphical interfaces.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/stress-testing-web-services/1523/feed</wfw:commentRss>
		</item>
		<item>
		<title>register_shutdown_function possible use cases</title>
		<link>http://www.moskalyuk.com/blog/register_shutdown_function-possible-use-cases/1522</link>
		<comments>http://www.moskalyuk.com/blog/register_shutdown_function-possible-use-cases/1522#comments</comments>
		<pubDate>Tue, 18 Mar 2008 06:57:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/register_shutdown_function-possible-use-cases/1522</guid>
		<description><![CDATA[Eirik Hoem on his blog provides an overview of PHP&#8217;s register_shutdown_function, and suggests using it for the cases when for whatever reason your Web page ran out of memory, fatal&#8217;ed, and you don&#8217;t want to display a blank page to the users.
register_shutdown_function is also useful for command-line scripts with PHP. Pretty frequently your script has [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Eirik Hoem</strong> on his blog <a href="http://eirikhoem.wordpress.com/2008/03/15/dying-with-grace-phps-register_shutdown_function/">provides an overview</a> of PHP&#8217;s <a href="http://us.php.net/register_shutdown_function">register_shutdown_function</a>, and suggests using it for the cases when for whatever reason your Web page ran out of memory, fatal&#8217;ed, and you don&#8217;t want to display a blank page to the users.</p>
<p>register_shutdown_function is also useful for command-line scripts with PHP. Pretty frequently your script has to do some task like parse a large XML file, and the test examples when it was originally written did not account for the XML file possible being huge. Therefore your script dies with like 23% completion, and you&#8217;re left with 23% of the XML file parsed. Not ideal, but a quick duct-tape-style fix, would be to introduce a register_shutdown_function call to system(), to which you pass the script itself.</p>
<p>If you happen to keep track of which line you&#8217;re on while parsing, you can pass the line number as the first parameter to your own script, and make it start off after that 23% mark, or wherever it died. The script then needs to be launched with 0 passed as the first parameter. It will run out of memory, die, launch register_shutdown_function, which will launch another copy of the script (while successfully shutting down the original process) with a new line number, which will repeat the process.</p>
<p>Again, this is a duct tape approach to PHP memory consumption issues while working with large data sets.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/register_shutdown_function-possible-use-cases/1522/feed</wfw:commentRss>
		</item>
		<item>
		<title>A perfect push-up</title>
		<link>http://www.moskalyuk.com/blog/a-perfect-push-up/1521</link>
		<comments>http://www.moskalyuk.com/blog/a-perfect-push-up/1521#comments</comments>
		<pubDate>Mon, 17 Mar 2008 06:27:16 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Health]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/a-perfect-push-up/1521</guid>
		<description><![CDATA[There was a lengthy article earlier this month in The New York Times on the importance of doing pushups, and how it&#8217;s an all-around exercise, responsible for exercising quite a few muscles in a human body.
The push-up is the ultimate barometer of fitness. It tests the whole body, engaging muscle groups in the arms, chest, [...]]]></description>
			<content:encoded><![CDATA[<p>There was a lengthy article earlier this month in The New York Times on the <a href="http://www.nytimes.com/2008/03/11/health/nutrition/11well.html?_r=1&amp;oref=slogin">importance of doing pushups</a>, and how it&#8217;s an all-around exercise, responsible for exercising quite a few muscles in a human body.</p>
<blockquote><p>The push-up is the ultimate barometer of fitness. It tests the whole body, engaging muscle groups in the arms, chest, abdomen, hips and legs. It requires the body to be taut like a plank with toes and palms on the floor. The act of lifting and lowering one’s entire weight is taxing even for the very fit.</p></blockquote>
<p>Then there&#8217;s <a href="http://well.blogs.nytimes.com/2008/03/11/the-art-of-the-push-up/?scp=1-b&amp;sq=pushup&amp;st=nyt">a blog post</a> on NYT site as well, featuring 93-year-old <a href="http://en.wikipedia.org/wiki/Jack_LaLanne">Jack LaLanne</a>, who still incorporates push-ups into his daily workout. They link to <a href="http://www.exrx.net/Calculators/PushUps.html">push-up calculator</a>, which says that an average 27-year-old should be able to do 37 push-ups on average, and above 50 in a single session to be considered excellent. Google Video has a few videos on what&#8217;s considered <a href="http://video.google.com/videosearch?q=push-up&amp;sitesearch=">a proper push-up</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/a-perfect-push-up/1521/feed</wfw:commentRss>
		</item>
		<item>
		<title>The most expensive query</title>
		<link>http://www.moskalyuk.com/blog/the-most-expensive-query/1520</link>
		<comments>http://www.moskalyuk.com/blog/the-most-expensive-query/1520#comments</comments>
		<pubDate>Thu, 28 Feb 2008 02:55:30 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Optimization]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/the-most-expensive-query/1520</guid>
		<description><![CDATA[What&#8217;s the most expensive query you can think of? How about this one - USPS money orders are sold throughout the United States at numerous post office locations. Each money order has a unique ID number, and while there&#8217;s no data on how many money orders are sold annually, you&#8217;d assume that finding out about [...]]]></description>
			<content:encoded><![CDATA[<p>What&#8217;s the most expensive query you can think of? How about this one - <a href="http://www.usps.com/money/sendingmoney/moneyorders/welcome.htm">USPS money orders</a> are sold throughout the United States at numerous post office locations. Each money order has a unique ID number, and while there&#8217;s no data on how many money orders are sold annually, you&#8217;d assume that finding out about the status of the money order is running a SELECT query on some large table that has that <strong>money_order_id</strong> as unique index.</p>
<p>How long would that query take?</p>
<p>Well, for one, a trip to the post office (20 minutes sound reasonable, but your mileage may vary). You have to physically request <a href="http://www.usps.com/missingmoneyorders/welcome.htm">Form 6401</a>, as there&#8217;s no option to pre-fill it online. So make it another 10 minutes at postal window.</p>
<p>Then it takes $5, as specified in the USPS money order rules. After that the filled 6401 travels to some place in Iowa, which would get back to you two weeks later in an official letter from some kind of USPS database query execution department.</p>
<p><strong>Total cost</strong>: 2 weeks + 20 minutes + 10 minutes + $5.00</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/the-most-expensive-query/1520/feed</wfw:commentRss>
		</item>
		<item>
		<title>TVTrip - videos of hotels worldwide</title>
		<link>http://www.moskalyuk.com/blog/tvtrip-videos-of-hotels-worldwide/1519</link>
		<comments>http://www.moskalyuk.com/blog/tvtrip-videos-of-hotels-worldwide/1519#comments</comments>
		<pubDate>Mon, 25 Feb 2008 04:38:50 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Entertainment]]></category>

		<category><![CDATA[Startups]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/tvtrip-videos-of-hotels-worldwide/1519</guid>
		<description><![CDATA[Pretty cool idea - instead of exploring officially approved photos on the travel agent&#8217;s Web site, see what the hotel looks like in a short video. TVTrip is founded by Expedia alumni, and has videos of the hotels from around the world. They claim 3,825 videos so far, and include a variety of destinations including [...]]]></description>
			<content:encoded><![CDATA[<p>Pretty cool idea - instead of exploring officially approved photos on the travel agent&#8217;s Web site, see what the hotel looks like in a short video. <a href="http://www.tvtrip.com/">TVTrip</a> is founded by Expedia alumni, and has videos of the hotels from around the world. They claim 3,825 videos so far, and include a variety of destinations including some <a href="http://www.tvtrip.com/palo_alto-hotels/americas-best-value-inn-sky-ranch">motel in Palo Alto</a> as well as <a href="http://www.tvtrip.com/paris-hotels/radisson-sas-hotel-champs-elysees">Radisson SAS</a> in Paris, France.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/tvtrip-videos-of-hotels-worldwide/1519/feed</wfw:commentRss>
		</item>
		<item>
		<title>PHP contest from PHParchitect.com</title>
		<link>http://www.moskalyuk.com/blog/php-contest-from-phparchitectcom/1518</link>
		<comments>http://www.moskalyuk.com/blog/php-contest-from-phparchitectcom/1518#comments</comments>
		<pubDate>Sun, 24 Feb 2008 06:27:14 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/php-contest-from-phparchitectcom/1518</guid>
		<description><![CDATA[Guys at PHParchitect are running a PHP contest for smallest, fastest, most efficient command-line PHP script. A seemingly simple link parser task is probably very tricky, but the task itself is somewhat poorly specced out, as several things are not clear:

Their example lists the href enclosed in &#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;/css/c7y.css&#8221; id=&#8221;Main C7Y CSS&#8221;&#62;&#60;/link&#62;. So [...]]]></description>
			<content:encoded><![CDATA[<p>Guys at <strong>PHParchitect</strong> <a href="http://c7y-bb.phparchitect.com/viewtopic.php?f=2&amp;t=1108">are running a PHP contest</a> for smallest, fastest, most efficient command-line PHP script. A seemingly simple link parser task is probably very tricky, but the task itself is somewhat poorly specced out, as several things are not clear:</p>
<ol>
<li>Their example lists the href enclosed in &lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; <strong>href=&#8221;/css/c7y.css&#8221;</strong> id=&#8221;Main C7Y CSS&#8221;&gt;&lt;/link&gt;. So is that a valid link? Anything in href qualifies as a link?</li>
<li>Does a JavaScript window.open qualifies as a link?</li>
<li>What about &lt;a href=&#8221;http://www.yahoo.com&#8221; onclick=&#8221;window.location=http://www.google.com&#8221;&gt;link&lt;/a&gt; or any similar shenanigans? What qualifies as a link there?</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/php-contest-from-phparchitectcom/1518/feed</wfw:commentRss>
		</item>
		<item>
		<title>__DIR__ in PHP 5.3</title>
		<link>http://www.moskalyuk.com/blog/__dir__-in-php-53/1517</link>
		<comments>http://www.moskalyuk.com/blog/__dir__-in-php-53/1517#comments</comments>
		<pubDate>Sat, 23 Feb 2008 04:08:57 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/__dir__-in-php-53/1517</guid>
		<description><![CDATA[Lars Strojny says that a new magic constant __DIR__ is coming to PHP 5.3. __DIR__ will refer to the current directory of the script. It&#8217;s useful for those include and include_once directives where it&#8217;s preferable to use absolute paths to avoid navigating down the include path.
]]></description>
			<content:encoded><![CDATA[<p><strong>Lars Strojny</strong> says that <a href="http://usrportage.de/archives/878-New-magic-constant-in-PHP-5.3.html">a new magic constant</a> __DIR__ is coming to PHP 5.3. __DIR__ will refer to the current directory of the script. It&#8217;s useful for those <a href="http://us3.php.net/include">include</a> and <a href="http://us3.php.net/include_once">include_once</a> directives where it&#8217;s preferable to use absolute paths to avoid navigating down the include path.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/__dir__-in-php-53/1517/feed</wfw:commentRss>
		</item>
		<item>
		<title>Online .htaccess editor</title>
		<link>http://www.moskalyuk.com/blog/online-htaccess-editor/1516</link>
		<comments>http://www.moskalyuk.com/blog/online-htaccess-editor/1516#comments</comments>
		<pubDate>Fri, 22 Feb 2008 05:04:42 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Webmaster tools]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/online-htaccess-editor/1516</guid>
		<description><![CDATA[htaccesseditor.com is an online editor for .htaccess files specifically. It&#8217;s a fairly easy way to set up custom pages for each of the HTTP errors, set up redirects for specific destinations, default pages for Web servers, and a few other things. What it doesn&#8217;t have is preventing image hotlinking via mod_rewrite, or setting up .htaccess [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.htaccesseditor.com/en.shtml">htaccesseditor.com</a> is an online editor for .htaccess files specifically. It&#8217;s a fairly easy way to set up custom pages for each of the HTTP errors, set up redirects for specific destinations, default pages for Web servers, and a few other things. What it doesn&#8217;t have is <a href="http://code.techinterviews.com/blocking-certain-sites-from-hotlinking-images-via-mod_rewrite/39">preventing image hotlinking via mod_rewrite</a>, or <a href="http://code.techinterviews.com/apache-rewrite-rules-for-hosting-multiple-domains/48">setting up .htaccess for a virtual host</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/online-htaccess-editor/1516/feed</wfw:commentRss>
		</item>
		<item>
		<title>Emotiv publishes neuro SDK</title>
		<link>http://www.moskalyuk.com/blog/emotiv-publishes-neuro-sdk/1515</link>
		<comments>http://www.moskalyuk.com/blog/emotiv-publishes-neuro-sdk/1515#comments</comments>
		<pubDate>Thu, 21 Feb 2008 05:30:13 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Science]]></category>

		<category><![CDATA[Startups]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/emotiv-publishes-neuro-sdk/1515</guid>
		<description><![CDATA[Slashdot had a story on brain control headsets coming out soon from Emotiv. The company seems to have done a fair bit of research in linking various neural activity to explicit emotions. They&#8217;re targeting gaming market, and hoping to introduce game that analyze your emotions as well as kinetic signals that the brain is sending [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://emotiv.com/corporate/ASSETS/2_0/2_0hdpix.jpg" alt="Emotiv brain headset" align="right" border="0" height="304" hspace="5" vspace="5" width="335" /><strong>Slashdot</strong> <a href="http://hardware.slashdot.org/article.pl?sid=08/02/20/1314254">had a story on brain control headsets</a> coming out soon from <a href="http://emotiv.com/corporate/2_0/2_1.htm">Emotiv</a>. The company seems to have done a fair bit of research in linking various neural activity to explicit emotions. They&#8217;re targeting gaming market, and hoping to introduce game that analyze your emotions as well as kinetic signals that the brain is sending towards the other body organs. What&#8217;s also cool is <a href="http://www.businesswire.com/portal/site/home/?epi_menuItemID=989a6827590d7dda9cdf6023a0908a0c&amp;epi_menuID=c791260db682611740b28e347a808a0c&amp;epi_baseMenuID=384979e8cc48c441ef0130f5c6908a0c&amp;ndmViewId=news_view&amp;newsLang=en&amp;div=-762569457&amp;newsId=20080220005298">they&#8217;re launching an SDK</a>:</p>
<blockquote><p>       Additionally, Emotiv has announced the commercial availability of its        full SDK. The SDK has been upgraded significantly since it was first        announced in March 2007 at last year<span id="bwanpa6">’</span>s GDC.        The commercially available version of the kit now includes:</p>
<ul>
<li class="bwlistitemmarginbottom">         2 beta-version neuroheadsets</li>
<li class="bwlistitemmarginbottom">         Software toolkit that exposes the APIs</li>
<li class="bwlistitemmarginbottom">         Full access to detection libraries</li>
<li class="bwlistitemmarginbottom">         Suite of development tools for effective creation and integration of          applications with content</li>
</ul>
<p>The Emotiv EPOC is the world<span id="bwanpa7">’</span>s first consumer        neuroheadset. It detects and processes human conscious thoughts and        expressions and non-conscious emotions. By integrating the Emotiv EPOC        into their games or other applications, developers can dramatically        enhance interactivity, gameplay and player enjoyment by, for example,        enabling characters to respond to a player<span id="bwanpa8">’</span>s        smile, laugh or frown; by adjusting the game dynamically in response to        player emotions such as frustration or excitement; and enabling players        to manipulate objects in a game or even make them disappear using the        power of their thoughts.</p></blockquote>
<p>Headset itself will cost $299 once released into commercial production, the SDK details are available <a href="http://www.emotiv.com/1_0/1_3.htm">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/emotiv-publishes-neuro-sdk/1515/feed</wfw:commentRss>
		</item>
		<item>
		<title>Bionic arm nears completion</title>
		<link>http://www.moskalyuk.com/blog/bionic-arm-nears-completion/1514</link>
		<comments>http://www.moskalyuk.com/blog/bionic-arm-nears-completion/1514#comments</comments>
		<pubDate>Sat, 02 Feb 2008 21:29:59 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[Health]]></category>

		<category><![CDATA[Immortality]]></category>

		<category><![CDATA[Science]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/bionic-arm-nears-completion/1514</guid>
		<description><![CDATA[The bionic arm project, sponsored by DARPA and executed by Deka Research and Development Corp. run by Dean Kamen (inventor of Segway, among other things), is nearing completion and might undergo clinical trials if DARPA sees the project fit, IEEE Spectrum says: &#8220;The arm has motor control fine enough for test subjects to pluck chocolate-covered [...]]]></description>
			<content:encoded><![CDATA[<p>The bionic arm project, sponsored by DARPA and executed by Deka Research and Development Corp. run by Dean Kamen (inventor of Segway, among other things), is nearing completion and <a href="http://spectrum.ieee.org/feb08/5957">might undergo clinical trials</a> if DARPA sees the project fit, IEEE Spectrum says: &#8220;The arm has motor control fine enough for test subjects to pluck chocolate-covered coffee beans one by one, pick up a power drill, unlock a door, and shake a hand. Six preconfigured grip settings make this possible, with names like chuck grip, key grip, and power grip. The different grips are shortcuts for the main operations humans perform daily.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/bionic-arm-nears-completion/1514/feed</wfw:commentRss>
		</item>
		<item>
		<title>Planning for failure</title>
		<link>http://www.moskalyuk.com/blog/planning-for-failure/1513</link>
		<comments>http://www.moskalyuk.com/blog/planning-for-failure/1513#comments</comments>
		<pubDate>Fri, 25 Jan 2008 18:27:10 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/planning-for-failure/1513</guid>
		<description><![CDATA[Most of the e-commerce sites upon errors generate some cryptic self-exonerating error messages such as &#8220;Oops, something unexpected happened, come back soon&#8221; or &#8220;Error C333. Please describe in detail what you were doing, and what you were wearing, and send it over to our technical team for further investigation&#8221;. Not Pottery Barn, which seems to [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the e-commerce sites upon errors generate some cryptic self-exonerating error messages such as &#8220;Oops, something unexpected happened, come back soon&#8221; or &#8220;Error C333. Please describe in detail what you were doing, and what you were wearing, and send it over to our technical team for further investigation&#8221;. Not Pottery Barn, which seems to plan ahead for failures. Whether it&#8217;s shrewd planning, or an ordering system that consistently screws up, Pottery Barn has a separate notification system in place for the cases when you tried to buy something off their site, and failed at checkout.</p>
<p><img src="http://www.moskalyuk.com/blog/wp-content/uploads/2008/01/potterybarn.gif" alt="Pottery Barn" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/planning-for-failure/1513/feed</wfw:commentRss>
		</item>
		<item>
		<title>NYT on Boltzmann&#8217;s brains and infinite Universes</title>
		<link>http://www.moskalyuk.com/blog/nyt-on-boltzmanns-brains-and-infinite-universes/1511</link>
		<comments>http://www.moskalyuk.com/blog/nyt-on-boltzmanns-brains-and-infinite-universes/1511#comments</comments>
		<pubDate>Wed, 16 Jan 2008 07:25:15 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Immortality]]></category>

		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/nyt-on-boltzmanns-brains-and-infinite-universes/1511</guid>
		<description><![CDATA[There&#8217;s a pretty interesting article in today&#8217;s New York Times on Boltzmann&#8217;s brains and probability of a human reincarnation arising purely from the entropy in the Universe. Among the infinitesimal amount of atoms, what is the probability of a combination forming, replicating your structure entirely?
In an interview Dr. Linde described these brains as a form [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a <a href="http://www.nytimes.com/2008/01/15/science/15brain.html?ei=5087&amp;em=&amp;en=c3b4dba4881c96e2&amp;ex=1200632400&amp;pagewanted=all">pretty interesting article</a> in today&#8217;s <strong>New York Times </strong>on <a href="http://cosmicvariance.com/2006/08/01/boltzmanns-anthropic-brain/">Boltzmann&#8217;s brains</a> and probability of a human reincarnation arising purely from the entropy in the Universe. Among the infinitesimal amount of atoms, what is the probability of a combination forming, replicating your structure entirely?</p>
<blockquote><p>In an interview Dr. Linde described these brains as a form of reincarnation. Over the course of eternity, he said, anything is possible. After some Big Bang in the far future, he said, “it’s possible that you yourself will re-emerge. Eventually you will appear with your table and your computer.” But it’s more likely, he went on, that you will be reincarnated as an isolated brain, without the baggage of stars and galaxies. In terms of probability, he said, “It’s cheaper.”</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/nyt-on-boltzmanns-brains-and-infinite-universes/1511/feed</wfw:commentRss>
		</item>
		<item>
		<title>Cuill getting heavy with indexing</title>
		<link>http://www.moskalyuk.com/blog/cuill-getting-heavy-with-indexing/1510</link>
		<comments>http://www.moskalyuk.com/blog/cuill-getting-heavy-with-indexing/1510#comments</comments>
		<pubDate>Wed, 26 Dec 2007 02:20:06 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Silicon Valley]]></category>

		<category><![CDATA[Startups]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/cuill-getting-heavy-with-indexing/1510</guid>
		<description><![CDATA[Might be coincidental, but looking through the logs of a few sites I host, I noticed Cuill, a new search engine with supposedly faster indexing methods, going through quite a few pages:38.99.13.123 - - [25/Dec/2007:17:21:10 -0800] &#8220;GET /page.php HTTP/1.0&#8243; 200 17123 &#8220;-&#8221; &#8220;Mozilla/5.0 (Twiceler-0.9 http://www.cuill.com/twiceler/robot.html)&#8221;Looks like there are a few other folks perplexed with the [...]]]></description>
			<content:encoded><![CDATA[<p>Might be coincidental, but looking through the logs of a few sites I host, I noticed <a href="http://www.cuill.com/index.html">Cuill</a>, a new search engine with <a href="http://www.crunchbase.com/company/cuill">supposedly faster</a> indexing methods, going through quite a few pages:<code>38.99.13.123 - - [25/Dec/2007:17:21:10 -0800] &#8220;GET /page.php HTTP/1.0&#8243; 200 17123 &#8220;-&#8221; &#8220;Mozilla/5.0 (Twiceler-0.9 http://www.cuill.com/twiceler/robot.html)&#8221;</code>Looks like there are a <a href="http://forums.digitalpoint.com/showthread.php?t=369570">few other folks</a> perplexed with the intensity of Cuill indexing (it wasn&#8217;t anything to stress about in my case, but was pretty noticeable).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/cuill-getting-heavy-with-indexing/1510/feed</wfw:commentRss>
		</item>
		<item>
		<title>Unpaid credit cards surge</title>
		<link>http://www.moskalyuk.com/blog/unpaid-credit-cards-surge/1509</link>
		<comments>http://www.moskalyuk.com/blog/unpaid-credit-cards-surge/1509#comments</comments>
		<pubDate>Mon, 24 Dec 2007 18:57:59 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Money]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/unpaid-credit-cards-surge/1509</guid>
		<description><![CDATA[Here&#8217;s a great example of having wrong motivation factors in place:

Issue subprime loans to a variety of people.
Announce a government-supported plan to bailout existing debtors only if they have poor credit score.
Watch the rest of those guys try to decrease their credit score by missing credit card payments.
Have the malaises of real estate markets transfer [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a great example of having wrong motivation factors in place:</p>
<ol>
<li>Issue subprime loans to a variety of people.</li>
<li>Announce a government-supported plan to bailout existing debtors <strong>only</strong> if they have poor credit score.</li>
<li>Watch the rest of those guys try to <strong>decrease</strong> their credit score by <a href="http://www.forbes.com/feeds/ap/2007/12/23/ap4470942.html">missing credit card payments</a>.</li>
<li>Have <a href="http://www.nytimes.com/2007/12/23/business/23house.html?_r=1&amp;oref=slogin">the malaises</a> of real estate markets transfer to credit card market, previously unaffected.</li>
</ol>
<p>Wonder if the <a href="http://freakonomics.blogs.nytimes.com/2007/12/20/what-should-be-done-about-standardized-tests-a-freakonomics-quorum/">Freakonomics blog</a> will pick it up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/unpaid-credit-cards-surge/1509/feed</wfw:commentRss>
		</item>
		<item>
		<title>Hulu.com opens up a bit more</title>
		<link>http://www.moskalyuk.com/blog/hulucom-open-up-a-bit-more/1508</link>
		<comments>http://www.moskalyuk.com/blog/hulucom-open-up-a-bit-more/1508#comments</comments>
		<pubDate>Tue, 18 Dec 2007 07:55:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Entertainment]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/hulucom-open-up-a-bit-more/1508</guid>
		<description><![CDATA[Hulu.com today expanded their userbase by sending out a bunch of invites to those who signed up for beta, which this time included me. Generally it&#8217;s pretty hard to get excited about visiting media company sites due to small video size and a bunch of DRM they put in (such as displaying video only if [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hulu.com/">Hulu.com</a> today expanded their userbase by sending out a bunch of invites to those who signed up for beta, which this time included me. Generally it&#8217;s pretty hard to get excited about visiting media company sites due to small video size and a bunch of DRM they put in (such as displaying video only if you use RealPlayer 9 on Windows XP Service Pack 2), but Hulu.com presently surprises - the videos work well, the site is easy to browse, the quality of videos is quite nice, and they still look reasonable when expanded fullscreen on a 24&#8243; monitor.</p>
<p><img src="http://www.moskalyuk.com/blog/wp-content/uploads/2007/12/hulu-1.jpg" alt="Hulu" /></p>
<p>The list of available network shows is available <a href="http://www.hulu.com/browse/alphabetical">here</a>. I watched a few episodes of Family Guy, American Dad, and Simpsons. They do not have a comprehensive collection of all the episodes, but they do have the latest stuff (including episodes that were on TV this past Sunday), and they seem to be filling up their content starting from Season 1. The site is easy to browse, has direct URLs to each episode ( such as <a href="http://www.hulu.com/watch/2991/keeping-up-with-the-kardashians-helping-out">http://www.hulu.com/watch/2991/keeping-up-with-the-kardashians-helping-out</a>). The ads are inserted on a regular schedule - before and after the episode, as well as 2 insertions for a 30 minute episode. The commercials I got were those annoying eSurance.com ads, which I tolerate on TV and can tolerate online. All the videos are pausable and viewable later.</p>
<p><img src="http://www.moskalyuk.com/blog/wp-content/uploads/2007/12/hulu-2.jpg" alt="Hulu" /></p>
<p>I don&#8217;t see setting the site up to be my homepage, but as far as number of episodes of good network shows, the quality and selection is generally better than any other video sharing site out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/hulucom-open-up-a-bit-more/1508/feed</wfw:commentRss>
		</item>
		<item>
		<title>The Black Swan</title>
		<link>http://www.moskalyuk.com/blog/the-black-swan/1505</link>
		<comments>http://www.moskalyuk.com/blog/the-black-swan/1505#comments</comments>
		<pubDate>Fri, 07 Dec 2007 08:07:40 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/the-black-swan/1505</guid>
		<description><![CDATA[I just finished reading Nassim Nicholas Taleb&#8217;s The Black Swan: The Impact of the Highly Improbable. I enjoyed Fooled by Randomness by the same author, and Black Swan has a few references to his previous work. In the previous title Taleb discusses a typical human mistake of taking the result of a random outcome for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/dp/1400063515?tag=moskalyukcom-20&amp;camp=0&amp;creative=0&amp;linkCode=as1&amp;creativeASIN=1400063515&amp;adid=1PVMF5FGPQ9DW216JK7W&amp;"><img src="http://rcm-images.amazon.com/images/I/115F93ETH7L._SL110_.jpg" alt="Black swan" align="left" border="0" height="110" hspace="5" vspace="5" width="73" /></a>I just finished reading Nassim Nicholas Taleb&#8217;s <a href="http://www.amazon.com/dp/1400063515?tag=moskalyukcom-20&amp;camp=0&amp;creative=0&amp;linkCode=as1&amp;creativeASIN=1400063515&amp;adid=1PVMF5FGPQ9DW216JK7W&amp;">The Black Swan: The Impact of the Highly Improbable</a>. I enjoyed <a href="http://www.moskalyuk.com/blog/fooled-by-randomness/1467">Fooled by Randomness</a> by the same author, and Black Swan has a few references to his previous work. In the previous title Taleb discusses a typical human mistake of taking the result of a random outcome for skill or deserved result. In Black Swan, Taleb discusses traditional models for forecasting anything (financial markets, political scenarios, weather), and theory of chaos, which basically says that systems with high entropy cannot provide any degree of predictability.</p>
<p>Political analysts of the late 80s did not predict the collapse of the Soviet Union, financial markets of the 21st century did not predict Russian default with subsequent sweep on Asian markets, and security analysts did not predict two planes flying into the towers of World Trade Center. However, in the retrospect, we tend to exhibit surprising hindsight, stating that all those events were inevitable, due to [insert a variety of geopolitical arguments here].</p>
<p>Taleb insists that the human mind frequenty:</p>
<ol>
<li><strong>Overestimates the odds of success when applied to oneself. </strong>Everybody buying a lottery ticket mentally assumes a much better probability of winning than reality usually presents.</li>
<li><strong>Attributes random events in the past as contributing to success/failure</strong>. Survivors of the shipwreck would tell the story of how they all prayed for their lives, and thus got saved. While some religious groups would tend to pick up the story as the proof of whatever agenda they&#8217;re pitching, nobody generally listens to the stories of those who prayed, but still drowned. Business journalists (with CBS MarketWatch being the worst) frequently abuse this by pitching headlines like <em>Stocks down after Congress increasing military spending</em> in the morning, and <em>Stocks up as Congress approves larger military budget</em> in the afternoon.</li>
<li><strong>Looks for order and sequence where it doesn&#8217;t exist</strong>. Business book writers made a cottage industry out of this by surveying the life stories of prominent individuals, and then reselling those as recipes for success. The quirkier the trait, the better it suits the public. <a href="http://money.cnn.com/2007/11/13/magazines/fortune/paypal_mafia.fortune/">Peter Thiel wakes up early and runs in the morning</a> - I see, so that&#8217;s a secret recipe for running a successful hedge fund.</li>
<li><strong>Listens to the experts that don&#8217;t know any better</strong>. There&#8217;s a whole bunch of occupations, where expertise is learned, and re-learning it requires significant time investments. Mechanics, doctors, and foreign language interpreters all have such skills. Other kinds of expertise involve looking back at what happened and trying to draw the line of correlation among discordant and random events. Such experts involve financial analysts and government economists.</li>
<li><strong>Hungs up on small things without seeing the big picture</strong>. If you have significant money in savings accounts, you&#8217;re probably busy looking for a better rate. However, the bigger picture, the Black Swan of the US banking industry, is significant asset consolidation among major banks. If one of them gets hit, all of them get hit significantly. The possibility of over-exposure to subprime loans and possible collapse of the banking industry generally escapes the model that your financial analyst presented.</li>
</ol>
<p>The book is pretty interesting, but hardly coherent. Nevertheless, it&#8217;s full of interesting anecdotes and personal observations, that make the book somewhat witty. After reading it I went around reading some other reviews - <a href="http://www.nytimes.com/2007/04/22/books/review/Easterbrook.t.html?_r=1&amp;pagewanted=all&amp;oref=slogin">NYT seemed to not like it</a>, <a href="http://www.fool.com/investing/general/2007/08/10/foolish-book-review-the-black-swan.aspx">Fool.com did a pretty comprehensive review of the points</a> presented, <a href="http://www.slate.com/id/2167993/pagenum/all/">Slate reviewer seemed to like it</a>. There&#8217;s also <a href="http://www.comedycentral.com/motherload/player.jhtml?ml_video=86522&amp;ml_collection=&amp;ml_gateway=&amp;ml_gateway_id=&amp;ml_comedian=&amp;ml_runtime=&amp;ml_context=show&amp;ml_origin_url=%2Fmotherload%2Findex.jhtml%3Fml_video%3D86522&amp;ml_playlist=&amp;lnk=&amp;is_large=true">author&#8217;s interview on Colbert report</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/the-black-swan/1505/feed</wfw:commentRss>
		</item>
		<item>
		<title>The starfish and the spider</title>
		<link>http://www.moskalyuk.com/blog/the-starfish-and-the-spider/1504</link>
		<comments>http://www.moskalyuk.com/blog/the-starfish-and-the-spider/1504#comments</comments>
		<pubDate>Sun, 02 Dec 2007 05:55:17 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/the-starfish-and-the-spider/1504</guid>
		<description><![CDATA[For a highly acclaimed book, according to the number of accolades on the back cover, The Starfish and The Spider is surely repetitive, but makes for a quick read. In a nutshell, the author applies the analogy of starfish and spider anatomy to the corporate world. While spider has many legs growing from the center, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://rcm-images.amazon.com/images/I/11GNZ2GWFDL._SL110_.jpg" alt="Starfish and the spider" align="left" border="0" height="110" hspace="5" vspace="5" width="73" />For a highly acclaimed book, according to the number of accolades on the back cover, <a href="http://www.amazon.com/dp/1591841437?tag=moskalyukcom-20&amp;camp=0&amp;creative=0&amp;linkCode=as1&amp;creativeASIN=1591841437&amp;adid=11M72YZJSKYTN4CE337X&amp;">The Starfish and The Spider</a> is surely repetitive, but makes for a quick read. In a nutshell, the author applies the analogy of starfish and spider anatomy to the corporate world. While spider has many legs growing from the center, cut off its head - and the whole organism falls dead. With starfish cutting off one of the legs won&#8217;t achieve any fatal scenarios - you will just get two starfish organisms, as the anatomy is completely decentralized. Apply that to the corporate world, and you have two kinds of companies - one where the head directs everything, and such organization, when made headless, turns into chaos. And a company where every employee is so autonomous, that removing the person on the top, as well as layers of management organization would damage the organizational body somewhat, but won&#8217;t be fatal.</p>
<p>Authors take a look at Kazaa, Skype, Alcoholics Anonymous, Craigslist, Wikipedia, eBay, Apache Indian tribes, and Toyota as examples of successful decentralized organizations. Successful in different respects - The eMule Project, covered in the book, doesn&#8217;t earn any revenues per se, but manages to sustain all sorts of attempts to exterminate it. Wikipedia is not a money-maker either, but undoubtedly successful as far as the quality of content is concerned. With the Toyota example, the authors point out GM&#8217;s Fremont, CA plant as an example of highly centralized, and unsuccessful, project management approach, and compare it to Toyota&#8217;s decentralized and highly autonomous approach, where bottom-up innovation is welcomed. The case of the auto plant was apparently covered in the movie <a href="http://www.imdb.com/title/tt0091159/">Gung Ho</a>, but haven&#8217;t seen the movie, I can&#8217;t really comment on that.</p>
<p>The authors fill some pages with interviews with Craig Newmark and Jimmy Wales. Valuable content otherwise, it doesn&#8217;t really add much to the book - we learn that Jimmy Wales doesn&#8217;t do any article editing himself anymore (so they&#8217;re even more decentralized than you might have thought), and that Craig Newmark is very user-centric and responds to customer support e-mails. The authors also make a passing remark on the cases when the centralized structure is preferred (U.S. Army, commercial airline, etc.), but don&#8217;t really expand on this point, so you&#8217;re sold on the idea that decentralized management is applicable to every single company out there.</p>
<p>Sometimes the authors seem to confuse decentralization with just employee empowerment. They quote Jack Welch and current GE as an excellent example of decentralization, while in reality it looks like the corporate structure is still pretty rigid - employees just got motivated to make more decisions themselves, instead of relying on management to tell them what to do.</p>
<p>Overall, <a href="http://www.starfishandspider.com/">the book</a> exposes a good idea, but seems to be hung up on the idea of making the right number of pages to publish a book. Reading<a href="http://www.redhatmagazine.com/2007/02/05/book-review-the-starfish-and-the-spider/"> this review</a> provides a pretty good overview on what to expect in nine chapters.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/the-starfish-and-the-spider/1504/feed</wfw:commentRss>
		</item>
		<item>
		<title>How openness is a motto at Renaissance Technologies</title>
		<link>http://www.moskalyuk.com/blog/how-openness-is-a-motto-at-renaissance-technologies/1503</link>
		<comments>http://www.moskalyuk.com/blog/how-openness-is-a-motto-at-renaissance-technologies/1503#comments</comments>
		<pubDate>Wed, 28 Nov 2007 07:46:48 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/how-openness-is-a-motto-at-renaissance-technologies/1503</guid>
		<description><![CDATA[Bloomberg has a long article on Renaissance Technologies LLC and its founder Jim Simons, in which the point out an interesting value inside the multi-billion dollar hedge fund with a few hundred employees:
 From Simons on down, the company encourages openness, whether it&#8217;s about market signals that show where a security might be headed or [...]]]></description>
			<content:encoded><![CDATA[<p>Bloomberg <a href="http://www.bloomberg.com/apps/news?pid=20601213&amp;sid=aq33M3X795vQ&amp;refer=home">has a long article</a> on <a href="http://www.rentec.com/">Renaissance Technologies LLC</a> and its founder Jim Simons, in which the point out an interesting value inside the multi-billion dollar hedge fund with a few hundred employees:</p>
<blockquote><p> From Simons on down, the company encourages openness, whether it&#8217;s about market signals that show where a security might be headed or about technology or trading. Frey says he doesn&#8217;t recall Simons ever raising his voice at an employee. Simons says new hires are encouraged to troll computer files detailing Renaissance&#8217;s past strategies, successful or not. &#8220;If Simons&#8217;s door was open, you could walk in,&#8221; Weinberger says. That would go for everyone from secretaries on up.</p></blockquote>
<p>What&#8217;s also interesting from that description of the company, is there doesn&#8217;t seem to be the &#8220;corporate way&#8221;, or &#8220;invented here&#8221; syndrome - everyone who just joined the company is invited to question the established beliefs and practices. The fund, nevertheless, is very secretive to the outsiders, but remains hugely profitable, and beats the market even in highly bearish environments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/how-openness-is-a-motto-at-renaissance-technologies/1503/feed</wfw:commentRss>
		</item>
		<item>
		<title>Some things you can see in Maui</title>
		<link>http://www.moskalyuk.com/blog/some-things-you-can-see-in-maui/1502</link>
		<comments>http://www.moskalyuk.com/blog/some-things-you-can-see-in-maui/1502#comments</comments>
		<pubDate>Wed, 28 Nov 2007 01:53:39 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Entertainment]]></category>

		<guid isPermaLink="false">http://www.moskalyuk.com/blog/some-things-you-can-see-in-maui/1502</guid>
		<description><![CDATA[A pretty helpful breakdown of the parking costs.

Pardon me, where&#8217;s the restroom? Oh, forget it, where&#8217;s more restrooms?

The sign is behind the protective glass, which makes me think it was intentional, or installed by a quite disgruntled [ex-]employee.

]]></description>
			<content:encoded><![CDATA[<p>A pretty helpful breakdown of the parking costs.</p>
<p><img src="http://photos-c.ak.facebook.com/photos-ak-sf2p/v168/30/41/500013218/n500013218_417706_61.jpg" alt="Parking daily special" border="0" height="480" hspace="5" vspace="5" width="360" /></p>
<p>Pardon me, where&#8217;s the restroom? Oh, forget it, where&#8217;s more restrooms?</p>
<p><img src="http://photos-b.ak.facebook.com/photos-ak-sf2p/v168/30/41/500013218/n500013218_417705_9794.jpg" alt="Restrooms and more restrooms" border="0" height="360" hspace="5" vspace="5" width="480" /></p>
<p>The sign is behind the protective glass, which makes me think it was intentional, or installed by a quite disgruntled [ex-]employee.</p>
<p><img src="http://photos-d.ak.facebook.com/photos-ak-sf2p/v168/30/41/500013218/n500013218_417707_287.jpg" alt="Hoe fetish" border="0" height="360" hspace="5" vspace="5" width="480" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moskalyuk.com/blog/some-things-you-can-see-in-maui/1502/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
