<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6413936821755549970</id><updated>2025-11-06T18:22:55.041+08:00</updated><category term="LOTW"/><category term="Opinion"/><category term="Programming"/><category term="News"/><category term="google"/><category term="life"/><category term="Java"/><category term="books"/><category term="lisp"/><category term="php"/><category term="scalability"/><category term="Continuous Integration"/><category term="Fun"/><category term="Management"/><category term="Oracle"/><category term="POG"/><category term="Tools"/><category term="VIM"/><category term="ZFS"/><category term="agile"/><category term="analytics"/><category term="android"/><category term="appengine"/><category term="arcgis"/><category term="debian"/><category term="eclipse"/><category term="estimation"/><category term="facebook"/><category term="fedora"/><category term="firefox"/><category term="hbase"/><category term="leaflet"/><category term="linux"/><category term="mysql"/><category term="node.js"/><category term="nosql"/><category term="sheevaplug"/><category term="spring"/><category term="ubuntu"/><category term="videos"/><category term="weblogic"/><category term="yii"/><title type='text'>Stephen on Software</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>54</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-8063873298520876194</id><published>2013-05-20T16:43:00.002+08:00</published><updated>2013-05-20T16:43:37.398+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arcgis"/><category scheme="http://www.blogger.com/atom/ns#" term="leaflet"/><title type='text'>Leaflet, ArcGIS Server Invalid SRS</title><content type='html'>I encoutered some problems with ArcGIS Server and Leaflet WMS api. Namely its because the API sends the &quot;srs&quot; parameter to ArcGIS server with the value EPSG3857 while ArcGIS server expects EPSG4326.&lt;br /&gt;
&lt;br /&gt;
Basically these EPSG values refers to the spatial reference of the maps 
in which they are drawn, they are what determines where exactly the 
position is when you say a certain location like 1N 103E.&lt;br /&gt;
&lt;br /&gt;
How can you discover this error? You can use firebug to trap what URL calls the webpage is calling the WMS server, then you paste the URLs into a new window there should be an xml telling you the error if there is any, if not then a picture with the portion of the map as specified in the URL should be displayed. &lt;br /&gt;
&lt;br /&gt;
Found the solution in &lt;a href=&quot;https://groups.google.com/forum/#!msg/leaflet-js/UdIUYQJsvJs/n-hSo9v65OAJ&quot; target=&quot;_blank&quot;&gt;Google Groups&lt;/a&gt; bascially you need to setup the map upfront by stating what spatial reference it should use.&lt;br /&gt;
&amp;nbsp;e.g&lt;br /&gt;
&lt;br /&gt;
var map=L.map(&#39;map&#39;,&lt;span style=&quot;color: red;&quot;&gt;{crs:L.CRS.EPSG4326}&lt;/span&gt;).setView([51,0],13);&lt;br /&gt;
&lt;br /&gt;
It&#39;s specified as a option to the map function. &lt;br /&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/8063873298520876194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2013/05/leaflet-arcgis-server-invalid-srs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/8063873298520876194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/8063873298520876194'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2013/05/leaflet-arcgis-server-invalid-srs.html' title='Leaflet, ArcGIS Server Invalid SRS'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-601933435258560134</id><published>2013-05-08T13:49:00.002+08:00</published><updated>2013-05-08T13:49:46.205+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="spring"/><category scheme="http://www.blogger.com/atom/ns#" term="weblogic"/><title type='text'>Weblogic and Spring Log4jConfigListener [java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded]</title><content type='html'>If you are using Weblogic and Spring&#39;s Log4JConfigListener you might encounter a problem when in your testing envrionment when you deploy from your IDE to your Weblogic instance it seems ok.&lt;br /&gt;
&lt;br /&gt;
But when you package it into a war file and deploy it. You get an&lt;br /&gt;
[java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded].&lt;br /&gt;
&lt;br /&gt;
This is due to the &lt;a href=&quot;http://static.springsource.org/spring/docs/1.2.x/api/org/springframework/web/util/Log4jConfigListener.html&quot; target=&quot;_blank&quot;&gt;Log4JConfigListener&amp;nbsp; &lt;/a&gt;requiring to look up the log4j.properties file and from a war file it can&#39;t do that.&lt;br /&gt;
&lt;br /&gt;
You can either always deploy it in a exploded war file or simply adding the following to your weblogic.xml file.&lt;br /&gt;
&lt;br /&gt;
&lt;container-descriptor&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;show-archived-real-path-enabled&gt;true&lt;/show-archived-real-path-enabled&gt;&lt;/container-descriptor&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This should solve the problem.</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/601933435258560134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2013/05/weblogic-and-spring-log4jconfiglistener.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/601933435258560134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/601933435258560134'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2013/05/weblogic-and-spring-log4jconfiglistener.html' title='Weblogic and Spring Log4jConfigListener [java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded]'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-381599713952974818</id><published>2013-05-01T06:56:00.001+08:00</published><updated>2013-05-01T06:56:23.523+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="scalability"/><category scheme="http://www.blogger.com/atom/ns#" term="videos"/><title type='text'>InfoQ: Scaling Pintrest</title><content type='html'>&lt;div&gt;
Some things i learnt from the a InfoQ video about &lt;a href=&quot;http://www.infoq.com/presentations/Pinterest&quot; target=&quot;_blank&quot;&gt;Scaling Pintrest&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Clustering is complicated&lt;/div&gt;
&lt;div&gt;
This changed my whole point of view about High Availability. The comment made about how your application is depending on some complicated&amp;nbsp;algorithm&amp;nbsp;for&amp;nbsp;synchronising&amp;nbsp;and making sure every node is in a correct state is bad because if anything goes wrong you will have a lot of trouble. Which is a problem with a lot of clustering solutions, they are complicated to setup and if anything goes wrong you have a hard time figuring out what&#39;s wrong, most of the time I just pray and reboot the servers hoping that everything works.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Compared that to Sharding where you know how your data is stored and partitioned (You wrote the algo). But the problem with Sharding is that your application will need to be smarter on how to find the data, perform joins and you need to have a robust plan for data migration. You will need to plan for future capacity when you are designing the Shard so you don&#39;t have to perform migration too often.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The video does show how they designed their sharding algo and considerations made.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Keep things simple in the technology stack&lt;/div&gt;
&lt;div&gt;
This has got to be the rule that everyone knows but damn hard to follow. The Pintrest guys started off with a complicated stack but eventually they settle down to well known technology in terms of maturity, stability and simplicity. They eventually just settled on MySQL, Redis and Memcache. Which are all well know and simple to understand systems.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Cache, Cache, Cache&lt;/div&gt;
&lt;div&gt;
For any large system, caching your reads is important for performance. (But you already know that :))&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/381599713952974818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2013/05/infoq-scaling-pintrest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/381599713952974818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/381599713952974818'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2013/05/infoq-scaling-pintrest.html' title='InfoQ: Scaling Pintrest'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-1793285117921117725</id><published>2012-12-27T09:42:00.000+08:00</published><updated>2012-12-27T09:42:20.597+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="agile"/><title type='text'>Agile Fluency</title><content type='html'>Nice Article from Martin Flower (or more specifically by Diana Larsen and James Shore) on&lt;a href=&quot;http://martinfowler.com/articles/agileFluency.html&quot; target=&quot;_blank&quot;&gt; Agile Fluency&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Good read on how to agile teams should evolve&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://martinfowler.com/articles/agileFluency.html&quot;&gt;http://martinfowler.com/articles/agileFluency.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/1793285117921117725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2012/12/agile-fluency.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/1793285117921117725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/1793285117921117725'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2012/12/agile-fluency.html' title='Agile Fluency'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-4655951272751313652</id><published>2012-06-18T10:26:00.000+08:00</published><updated>2012-06-18T10:26:07.725+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hbase"/><category scheme="http://www.blogger.com/atom/ns#" term="nosql"/><title type='text'>HBase schema design</title><content type='html'>&lt;br /&gt;
The HBase reference documentation dosen&#39;t really say much about schema design and most of us coming from a relational back ground will need to change our way of thinking in order to swtich to a more column based kind of designs.&lt;br /&gt;
&lt;br /&gt;
You need to look more at the types of queries that you will be needing to access your data rather that just nomarlise every thing to 3rd normal form as in traditional relational databases. And that itself might not be easy. I will be writing more as i try to design my current application&#39;s data base into a Hbase kind of design, and what are the challenges i find.&lt;br /&gt;
&lt;br /&gt;
Below are some of the useful resources that&amp;nbsp;helped me&amp;nbsp;in understanding column based kind of designs.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ianvarley.com/coding/HBaseSchema_HBaseCon2012.pdf&quot;&gt;http://ianvarley.com/coding/HBaseSchema_HBaseCon2012.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://traackit.blogspot.sg/2010/05/20090713-hbase-schema-design-case.html&quot;&gt;http://traackit.blogspot.sg/2010/05/20090713-hbase-schema-design-case.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Schema Design Guidelines and Case Studies&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/viewer?a=v&amp;amp;q=cache:Oe0Kf9oQhO0J:india.paxcel.net:6060/LargeDataMatters/wp-content/uploads/2010/08/Schema-Design-Guidelines.doc+&amp;amp;hl=en&amp;amp;pid=bl&amp;amp;srcid=ADGEEShyf8WIXTdsWbYRTWWLHUgvYbWDa2AilTnm6xUWnaHDvpX6gARtzDNBx6GlsbE1hjdZoR3hYBYjk03zlwq8LLkA9VRYlLwihD4S75pxlMtitX640uwrQsOa0cC5K5JPGfhAfQIK&amp;amp;sig=AHIEtbR8TyqVgcc3WFGtpKWX7eZOZBpnFQ&amp;amp;pli=1&quot;&gt;https://docs.google.com/viewer?a=v&amp;amp;q=cache:Oe0Kf9oQhO0J:india.paxcel.net:6060/LargeDataMatters/wp-content/uploads/2010/08/Schema-Design-Guidelines.doc+&amp;amp;hl=en&amp;amp;pid=bl&amp;amp;srcid=ADGEEShyf8WIXTdsWbYRTWWLHUgvYbWDa2AilTnm6xUWnaHDvpX6gARtzDNBx6GlsbE1hjdZoR3hYBYjk03zlwq8LLkA9VRYlLwihD4S75pxlMtitX640uwrQsOa0cC5K5JPGfhAfQIK&amp;amp;sig=AHIEtbR8TyqVgcc3WFGtpKWX7eZOZBpnFQ&amp;amp;pli=1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Varley Masters report (as referenced by HBase documentation)&lt;br /&gt;
&lt;a href=&quot;http://ianvarley.com/UT/MR/Varley_MastersReport_Full_2009-08-07.pdf&quot;&gt;http://ianvarley.com/UT/MR/Varley_MastersReport_Full_2009-08-07.pdf&lt;/a&gt;&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/4655951272751313652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2012/06/hbase-schema-design.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/4655951272751313652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/4655951272751313652'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2012/06/hbase-schema-design.html' title='HBase schema design'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-5829817980385463567</id><published>2012-05-29T13:46:00.001+08:00</published><updated>2012-05-29T13:46:32.535+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="scalability"/><title type='text'>Big List of 20 common bottles necks</title><content type='html'>All developers and implementors should take a look at this list of bottles necks from HighScalability.com&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://highscalability.com/blog/2012/5/16/big-list-of-20-common-bottlenecks.html&quot;&gt;http://highscalability.com/blog/2012/5/16/big-list-of-20-common-bottlenecks.html&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Great stuff wish i have this list before i started work on any big systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/5829817980385463567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2012/05/big-list-of-20-common-bottles-necks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/5829817980385463567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/5829817980385463567'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2012/05/big-list-of-20-common-bottles-necks.html' title='Big List of 20 common bottles necks'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-6172240797153309830</id><published>2012-05-15T10:05:00.000+08:00</published><updated>2012-05-15T10:05:02.240+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="lisp"/><title type='text'>Common Lisp the untold story</title><content type='html'>&lt;br /&gt;
Nice history about the Common Lisp standardization process by Kent Pitman who wrote the Common Lisp Hyperspec.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.nhplace.com/kent/Papers/cl-untold-story.html&quot;&gt;http://www.nhplace.com/kent/Papers/cl-untold-story.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/6172240797153309830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2012/05/common-lisp-untold-story.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/6172240797153309830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/6172240797153309830'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2012/05/common-lisp-untold-story.html' title='Common Lisp the untold story'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-428233808393939691</id><published>2012-05-02T09:37:00.001+08:00</published><updated>2012-05-02T09:37:23.635+08:00</updated><title type='text'>Opening Slides from Oracle vs Google</title><content type='html'>&lt;br /&gt;
The opening slides from Oracle&lt;br /&gt;
&lt;a href=&quot;http://www.oracle.com/us/corporate/features/opening-slides-1592541.pdf&quot;&gt;http://www.oracle.com/us/corporate/features/opening-slides-1592541.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The opening slides from Google&lt;br /&gt;
&lt;a href=&quot;http://www.groklaw.net/images/GoogleOpeningStatementSlides.pdf&quot;&gt;http://www.groklaw.net/images/GoogleOpeningStatementSlides.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It will be interesting to see how all this will come out, since it involves whether the API it self is copyrighted, not the implementation but the API signature itself, it the implmentation is the same then all the &quot;worse&quot; in Oracle&#39;s eyes.&lt;br /&gt;
&lt;br /&gt;
Dr Dobbs has an interesting article @ &lt;a href=&quot;http://www.drdobbs.com/jvm/232901227?itc=edit_stub&quot;&gt;http://www.drdobbs.com/jvm/232901227?itc=edit_stub&lt;/a&gt;&amp;nbsp;talking about how all this has an impact on all programming languages and even OS&#39;s. Like JRuby is an implementation of Ruby and not forgetting the python implementations (CPython, Jython, IronPython).&lt;br /&gt;
&lt;br /&gt;
Let&#39;s hope all this comes out in Google&#39;s favour though, i think it would be a major step backwards if no one can come up with a better implementation or an alternative implementation of the APIs.&lt;br /&gt;
&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/428233808393939691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2012/05/opening-slides-from-oracle-vs-google.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/428233808393939691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/428233808393939691'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2012/05/opening-slides-from-oracle-vs-google.html' title='Opening Slides from Oracle vs Google'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-4564626021127122715</id><published>2012-04-06T11:31:00.001+08:00</published><updated>2012-04-06T11:31:51.900+08:00</updated><title type='text'>Better Coding: Dealing with Exceptions</title><content type='html'>&lt;link href=&quot;csharp.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;&lt;/link&gt;During code reviews or debugging sessions, i always find new programmers having a hard time trying to deal with exceptions especially when the compiler forces you to do something with them. And the thing with exceptions is that if you don&#39;t handle them properly, you might have a hard time trying to debug your programs.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What are exceptions anyway?&lt;/b&gt;&lt;br /&gt;
Exceptions are conditions that change the normal flow of the program, they are usually in reponse to some part of the code having an unexpected error that the programmer needs to handle. Things like when you are reading a file you might get an IOException when something went wrong with IO operations, or when you are converting from a String to a number, you will get a NumberFormatException when the string is not a number.&lt;br /&gt;
&lt;br /&gt;
So what are some wrong ways to handle them,&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Don&#39;t just print the stacktrace.&lt;/b&gt;&lt;br /&gt;
IDE&#39;s tries to be helpful and will help you to automatically write the &quot;try catch&quot; block statements, and they will usually put in a e.printStackTrace() for you.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public void readAFile(){
    try{
        //Some code that tries to open and read a file
    }catch(IOException e){
        e.printStackTrace();
    }
}&lt;/pre&gt;
What most people do after that is to forget about it. Printing out stacktraces usually is not advised, hackers can find out what your application does in the back end, and sometimes if you are not careful, SQL errors are printed out and the hackers can devise an attack based on SQL Injection.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Do Nothing!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public void readAFile(){
    try{
        //Some code that tries to open and read a file
    }catch(IOException e){
       //Do nothing;
    }
}&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
And then we are left&amp;nbsp;scratching&amp;nbsp;our heads what went wrong with the program because nothing was print out when there was an error! These are they type of errors that can make you stay up late in the office, because you simply can&#39;t see what went wrong from the UI, console or the logs.&lt;br /&gt;
&lt;br /&gt;
So what should you do?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Rethrow the exception if the class can&#39;t handle it.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
It is likely that your method might not be the best place to handle the exception, so you rethrow to the calling method to handle it.&lt;br /&gt;
&lt;br /&gt;
Example: The &lt;b&gt;FileLoader &lt;/b&gt;class tries to &lt;b&gt;readAFile &lt;/b&gt;but things do go wrong when reading a file, but the &lt;b&gt;FileLoader &lt;/b&gt;is probably not the best place to handle the error. The calling class and method would like to know when there is an error so that they can either do some remedy action, inform the user or log it. In this case &lt;b&gt;SomeUIClass &lt;/b&gt;is trying to read the file and when &lt;b&gt;FileLoader &lt;/b&gt;throws the exception, a messagebox comes out and logs the error to the log file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;  public class FileLoader{  
      public void readAFile(File f) throws IOException{  
           //file reading code  
      }  
 }  
 public class SomeUIClass{  
      public void readFile(File f){  
           try{  
                FileLoader.readAFile(f);  
           }catch(IOExecption e){  
                //Print some message to the UI to inform the UI that it failed to read a file  
                //Maybe log something to the log file  
           }  
      }  
 }  
&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Rethrow a more generic exception. &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
We all like to &quot;program to an interface&quot;, but sometimes programming to an interface can be made challenging if we rethrow a checked exception. An example.&lt;br /&gt;
&lt;br /&gt;
Let say we have an interface called &lt;b&gt;BooksDao. &lt;/b&gt;It is an Data Access Object used to retrieve books. So we have an implementation called JDBCBookDao that retrive books that is stored in a relational database using SQL. So there is a chance that it will throw a SQLException when trying to retrive some data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public interface BooksDao{  
      public List getBooks(String query);
 }  
 public class JDBCBooksDao implements BooksDao{  
      public List getBooks(String query){  
           try{  
                //Some JDBC code
           }catch(SQLException e){  

           }  
      }  
 }  &lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
But you see what happens if there is an error, it would be quite hard to tell the call method that an error has occured. But if we rethrow the SQLException like the previous rule then we are saying that all implementations of BooksDao.getBooks needs to throw an SQLException.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public interface BooksDao{  
      public List getBooks(String query) throws SQLException;
 }  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
What if we change the implementation of BooksDao to a MongoDBBooksDao ? and the MongoDB api dosen&#39;t throw an SQLException but throw a MongoDBException, we will be force to convert whatever exception that MongoDB has to an SQLException.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class MongoDBBooksDao implments BooksDao{
 public List getBooks(String query)throws SQLException{
  try{
   //Some MongoDB api
  }catch(MondoDBException e){
   throw new SQLException(..);
  }
 }
}
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
The trick here is to create your own exceptions for your classes, this makes it easy to handle the different exceptions that the various underlying implementations can throw. All you need to do if just to re-throw the specific exception like SQLException to your custom exception.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public interface BooksDao{  
      public List getBooks(String query) throws DataException;
}  

 public class JDBCBooksDao implements BooksDao{  
      public List getBooks(String query) throws DataException{  
           try{  
                //Some JDBC code
           }catch(SQLException e){  
    throw new DataException(..);
           }  
      }  
 } 

public class MongoDBBooksDao implments BooksDao{
 public List getBooks(String query)throws DataException{
  try{
   //Some MongoDB api
  }catch(MondoDBException e){
   throw new DataException(..);
  }
 }
}&lt;/pre&gt;
&lt;br /&gt;
See it now looked much neater, what you should also consider is whether to&amp;nbsp;re-throw&amp;nbsp;all checked exceptions into unchecked exceptions. One limitation of Java is that if you throw a checked exception you need to declare it in the method, for unchecked you need not and it makes your interface cleaner because it does not need to depend on the exception. However you will need to make a&amp;nbsp;conscious&amp;nbsp;effort to try and catch the exception in your code. There are lots of debate on whether checked exceptions are better or not, i leave that up to you. My&amp;nbsp;preference&amp;nbsp;is that if you can throw an unchecked exception.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/4564626021127122715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2012/04/better-coding-dealing-with-exceptions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/4564626021127122715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/4564626021127122715'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2012/04/better-coding-dealing-with-exceptions.html' title='Better Coding: Dealing with Exceptions'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-247748741100019139</id><published>2012-01-05T23:53:00.002+08:00</published><updated>2012-01-05T23:54:38.717+08:00</updated><title type='text'>Hadoop World videos</title><content type='html'>Hadoop World videos can be found here&amp;nbsp;
&lt;a href=&quot;http://www.cloudera.com/resources/Hadoop+World/&quot;&gt;http://www.cloudera.com/resources/Hadoop+World/&lt;/a&gt;. Seems like I will be spending some time watching these for the next few weeks.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Links:&lt;br /&gt;
&lt;a href=&quot;http://hadoop.apache.org/&quot; target=&quot;_blank&quot;&gt;Hadoop project&lt;/a&gt;&lt;br /&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/247748741100019139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2012/01/hadoop-world-videos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/247748741100019139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/247748741100019139'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2012/01/hadoop-world-videos.html' title='Hadoop World videos'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-8842582235507876894</id><published>2011-12-29T22:03:00.000+08:00</published><updated>2011-12-29T22:03:03.460+08:00</updated><title type='text'>Bing 2.0 API is useless</title><content type='html'>Bing&#39;s 2.0 Search API is basically useless. The results dosen&#39;t match up with the Bing.com website and so testing is almost impossible.&lt;br /&gt;
&lt;br /&gt;
And worse the results returned by the API are mostly irrelevant. 

I think Microsoft needs to seriously look at what are they targeting the Bing API for. Because as a developer i won&#39;t want to use it.&lt;br /&gt;
&lt;br /&gt;
But there is a lack of freely&amp;nbsp;available&amp;nbsp;search apis out there.&lt;br /&gt;
Google Custom search requires you to search only specific websites that you specify and not google itself.&lt;br /&gt;
Yahoo BOSS requires payment so its out for me.&lt;br /&gt;
&lt;br /&gt;
Anyone knows of what other options are out there?&lt;br /&gt;
&lt;br /&gt;
Links to the issue:&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/5498900/bing-api-search-results-show-different-description&quot; target=&quot;_blank&quot;&gt;Stack Overflow&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.bing.com/community/developer/f/12254/p/667751/9650589.aspx&quot; target=&quot;_blank&quot;&gt;Bing Community&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/8842582235507876894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/12/bing-20-api-is-useless.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/8842582235507876894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/8842582235507876894'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/12/bing-20-api-is-useless.html' title='Bing 2.0 API is useless'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-246266670074985947</id><published>2011-12-14T12:02:00.000+08:00</published><updated>2011-12-14T12:02:11.650+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="sheevaplug"/><title type='text'>Sheevaplug Debian Install</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Upgraded from the default Ubuntu install to Debian today, mainly followed the instruction by&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html&quot; target=&quot;_blank&quot;&gt;Martin Michlmayr&lt;/a&gt;. Mostly worked but the instructions for after installation of Debian to the MMC card was slightly different for mine.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;These are the ones that worked for me.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #e0e0e0; text-align: justify;&quot;&gt;setenv bootargs_console console=ttyS0,115200
setenv bootcmd_mmc &#39;mmcinit; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd&#39;
setenv bootcmd &#39;setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000&#39;
saveenv&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
The main difference is the mmcinit command, on my uboot it was &quot;mmcinit&quot; together, for the instructions that Martin gave was &quot;mmc init&quot; with a space.
&lt;br /&gt;
&lt;br /&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/246266670074985947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/12/sheevaplug-debian-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/246266670074985947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/246266670074985947'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/12/sheevaplug-debian-install.html' title='Sheevaplug Debian Install'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-7446698069058914852</id><published>2011-07-25T16:58:00.004+08:00</published><updated>2011-07-25T17:17:27.110+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="estimation"/><category scheme="http://www.blogger.com/atom/ns#" term="POG"/><title type='text'>Product Owner&amp;#39;s Guide - Breaking down estimates</title><content type='html'>&lt;div class=&quot;posterous_autopost&quot;&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW_tarGEYzW7RYaGufq0LPx_10DY6MeSE4-jnC5OpkfWcCtfSRPOhhO8euwNDoFx_Lkcn5cHpqPLpiAhbe-thUnGTM5X1eheUKK5JyNZ2lcwiAHm61_wO3fo7gfxGkEpdYalMhi951rmg/s1600/40918i55qm7uqmm.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW_tarGEYzW7RYaGufq0LPx_10DY6MeSE4-jnC5OpkfWcCtfSRPOhhO8euwNDoFx_Lkcn5cHpqPLpiAhbe-thUnGTM5X1eheUKK5JyNZ2lcwiAHm61_wO3fo7gfxGkEpdYalMhi951rmg/s320/40918i55qm7uqmm.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.freedigitalphotos.net/images/view_photog.php?photogid=1499&quot;&gt;Image: Ambro / FreeDigitalPhotos.net&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Overhead this while at work.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&quot;The Product Owner wants us to break down our inital estimate on the development effort into parts like analysis, design and coding ...&quot;. &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;That sounds to me like the Product Owner(PO) thinks that whatever estimate that the team came up with is too long and wants to cut the estimate. If the team gives such such a breakdown, then be prepared for the negotiation about the time needed for the project to be discussed.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;But how is the team going to come up with such a figure anyway? I always found the statement like &quot;Most of the time is spent in design but little in coding&quot;, or using the 80-20 rule that 80% is spent in design and 20% in coding. Is that statement still relavant today? In the past (I&amp;nbsp;mean way way past), people do spent a lot of time in design because computers process ur programs in batches and you better get it right the first time if not you wait a day for the next run.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Fast forward to today, where we have powerful ides, programs run almost instantly, where you can code a little, test a little, you are more likely to try a program a vertical slice and then build up your system from there, with refactoring tools so powerful, changing methods, implementing interfaces no longer is such a chore.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;Now back to the story, not matter what the project team tries to justify their number the PO will just try to cut it. The problem with most people is that they have some prenotion of when the project will end, but they do not realised that an estimate is just that, &lt;strong&gt;an estimate&lt;/strong&gt;, it&#39;s a educated guess base on whatever&amp;nbsp;information&amp;nbsp;you have. An estimate is not an accurate prediction of the future and couple with the fact that software estimates are usually wrong. Steve McConnell says it well in his book &lt;a href=&quot;http://www.amazon.com/gp/product/0735605351/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;amp;tag=stephensblo0a-20&amp;amp;linkCode=as2&amp;amp;camp=178%209&amp;amp;creative=9325&amp;amp;creativeASIN=0735605351&quot;&gt;Software Estimatation&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&quot;Estimation should be treated as an unbiased, analytical process;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;planning should be treated as a biased, goal-seeking process&quot;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;So if you ask someone for an estimate, you are asking for his opinion on how long it will take, and you shouldn&#39;t try to cut his estimate down.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;More likely is the product owner is trying to get a plan from the team not an estimate, and the team&#39;s estimate isn&#39;t matching his plan. His plan can be anything, could be trying to meet some timeline for marketing, or some trade show demo.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; Product Owners please just tell the team what is your plan, it may be because of marketing, budget and other reasons that you need to slim it down. But please tell the real reason and not by trying to get the estimate within your plan.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; For the development team, try to find out the underlying reason for doing such an exercise, buy a copy of Steve McConnell Estimation book and give it to him. Negatiate on the scope, not all features need to be a mercedes, sometimes a vespa is good enough.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; The only thing that can be reliably cut down to meet the target is actually the &lt;strong&gt;scope&lt;/strong&gt; of the project. Does&amp;nbsp;the Product Owner&amp;nbsp;need 100% of all the features of the software to be done to be really useful? More likely than not something like 50-70% will probably&amp;nbsp;be good enough.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Main takeaway - Estimation and Planning are 2 different things, try to make sure what is it you are talking about.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=stephensblo0a-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=1934356581&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&amp;nbsp; &amp;nbsp;&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=stephensblo0a-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=0735605351&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/7446698069058914852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/07/product-owner-gudie-breaking-down.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/7446698069058914852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/7446698069058914852'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/07/product-owner-gudie-breaking-down.html' title='Product Owner&amp;#39;s Guide - Breaking down estimates'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW_tarGEYzW7RYaGufq0LPx_10DY6MeSE4-jnC5OpkfWcCtfSRPOhhO8euwNDoFx_Lkcn5cHpqPLpiAhbe-thUnGTM5X1eheUKK5JyNZ2lcwiAHm61_wO3fo7gfxGkEpdYalMhi951rmg/s72-c/40918i55qm7uqmm.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-2020785079668190523</id><published>2011-04-28T00:08:00.004+08:00</published><updated>2011-04-28T06:45:19.328+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Opinion"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Expanding your toolbox - Picking a new language to learn.</title><content type='html'>&lt;div&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQgti3DZpFz0rI0KhJ9KGI06KLlxrJVvDB5HMgRjJLcXXVUWC0xvsfouYuv7k7YGx_lCBMz9FUJq0NcYosdj1nbCQGQJjwzdc-_x0akn1jk3C3f5O4ziT3MzRFeALXW3bWpm2R5WvuNfw/s1600/main+thinking.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQgti3DZpFz0rI0KhJ9KGI06KLlxrJVvDB5HMgRjJLcXXVUWC0xvsfouYuv7k7YGx_lCBMz9FUJq0NcYosdj1nbCQGQJjwzdc-_x0akn1jk3C3f5O4ziT3MzRFeALXW3bWpm2R5WvuNfw/s320/main+thinking.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.freedigitalphotos.net/images/view_photog.php?photogid=987&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Image: graur razvan ionut / FreeDigitalPhotos.net&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;One day a developer on my team came up to me and asked, what should he programming language should he learn next to be marketable (and by the way he also thinks that Java is slowly dying).&lt;br /&gt;
&lt;br /&gt;
Well as to whether Java is dying a not, I don&#39;t think so, a quick check with TIOBE shows that Java is still ranked among the top few languages and lots of places still runs Java. So i do have a job for the next few years.&lt;br /&gt;
&lt;br /&gt;
But the thought came to me, it is worth learning things that are marketable or should you learn things that broaden your knowledge? What&#39;s your take on it? Should you expand your toolbox or have more of the same tools?&lt;/div&gt;&lt;div style=&quot;text-indent: 0px !important;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;http://www.streamhead.com/what-programming-language-to-learn-next/&quot;&gt;Steamhead&lt;/a&gt;  takes the languages from &lt;a href=&quot;http://www.amazon.com/gp/product/193435659X/ref=as_li_ss_tl?ie=UTF8&amp;amp;tag=stephensblo0a-20&amp;amp;linkCode=as2&amp;amp;camp=217145&amp;amp;creative=399349&amp;amp;creativeASIN=193435659X&quot;&gt;Seven Languages in Seven weeks&lt;/a&gt; and puts it into a nice flow chart. I think all should go check that out and pick something out from that list. After doing quite a lot in Java I begin to appreciate the simplicity of using&amp;nbsp;interpreted&amp;nbsp;languages like &amp;nbsp;python and php, and the fact that their frameworks are usually simple as compared to Java ones where sometimes we&amp;nbsp;descend&amp;nbsp;into XML&amp;nbsp;configuration&amp;nbsp;hell.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html&quot;&gt;Steve Yegge&lt;/a&gt; has a interesting way of categorizing the various languages, he breaks them down into Nouns (Java, C# or OO languages), Verbs (LISP, Clojure or Functional Programming) and Verbs and Nouns (Scala, Ruby, Python, C++ or a Mixture of both). &lt;br /&gt;
&lt;br /&gt;
Well for me I am more for the expand your toolbox model, go learn something that makes you have a new way of looking at things. A lot of people learn languages but they don&#39;t really learn design, think stuff like design patterns (Gang of Four, &lt;a href=&quot;http://java.sun.com/blueprints/corej2eepatterns/Patterns/&quot;&gt;Java EE Design&lt;/a&gt; ...), &lt;a href=&quot;http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod&quot;&gt;SOLID&lt;/a&gt; principles, OO Metrics. Even if you know the syntax, you simply can&#39;t write maintainable programs and all you write lacks a certain &lt;a href=&quot;http://manifesto.softwarecraftsmanship.org/&quot;&gt;craftsmanship&lt;/a&gt; to it.&lt;br /&gt;
&lt;br /&gt;
By learning a different language and looking at the api, you can have a different idea about how to design your programs. An example will be like in Java. You have Math.abs a static function to get the absolute value of a number, have you ever wonder why its so &lt;b&gt;&quot;un OO&quot;&lt;/b&gt; like? Compare with Ruby its just number.abs(), simple and elegant and fits into the OO paradigm.&lt;br /&gt;
&lt;br /&gt;
In short &lt;br /&gt;
&lt;br /&gt;
If you know Java, C# go learn Lisp Dialects (Common Lisp, Clojure), Haskell, Ruby, Python...&lt;br /&gt;
&lt;br /&gt;
If you know Python, Ruby, you are pretty much there, since you straddle the limits between the 2 kingdoms.&lt;br /&gt;
&lt;br /&gt;
If you know Common Lisp, Clojure, dont bother learning any other thing since you will think why in the world Java, C# programmers are typing so much code and configuring so much XML.&lt;br /&gt;
&lt;br /&gt;
If in doubt just learn PHP to be marketable :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-indent: 0px !important;&quot;&gt;&lt;/div&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=stephensblo0a-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=1590592395&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=stephensblo0a-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=193435659X&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=stephensblo0a-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=193435659X&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;script charset=&quot;utf-8&quot; src=&quot;http://ws.amazon.com/widgets/q?rt=ss_mfw&amp;amp;ServiceVersion=20070822&amp;amp;MarketPlace=US&amp;amp;ID=V20070822/US/stephensblo0a-20/8001/c72d110c-a7b1-4335-af9b-91e074df9294&quot; type=&quot;text/javascript&quot;&gt;
 
&lt;/script&gt; &lt;noscript&gt;&lt;a href=&quot;http://ws.amazon.com/widgets/q?rt=ss_mfw&amp;amp;ServiceVersion=20070822&amp;amp;MarketPlace=US&amp;amp;ID=V20070822%2FUS%2Fstephensblo0a-20%2F8001%2Fc72d110c-a7b1-4335-af9b-91e074df9294&amp;amp;Operation=NoScript&quot;&gt;Amazon.com Widgets&lt;/a&gt;&lt;/noscript&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/2020785079668190523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/04/expanding-your-toolbox-picking-new.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/2020785079668190523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/2020785079668190523'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/04/expanding-your-toolbox-picking-new.html' title='Expanding your toolbox - Picking a new language to learn.'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQgti3DZpFz0rI0KhJ9KGI06KLlxrJVvDB5HMgRjJLcXXVUWC0xvsfouYuv7k7YGx_lCBMz9FUJq0NcYosdj1nbCQGQJjwzdc-_x0akn1jk3C3f5O4ziT3MzRFeALXW3bWpm2R5WvuNfw/s72-c/main+thinking.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-5874230573686225873</id><published>2011-02-02T11:14:00.001+08:00</published><updated>2011-02-02T11:14:10.061+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>One hour early a day...</title><content type='html'>&lt;div class=&#39;posterous_autopost&#39;&gt;   My latest read is&amp;nbsp;Robin Sharma&#39;s book (&lt;a href=&quot;http://www.amazon.com/gp/product/1439109125?ie=UTF8&amp;amp;tag=stephensblo0a-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=1439109125&quot;&gt;The Leader&amp;nbsp;who had no&amp;nbsp;title&lt;/a&gt;), interesting read. But one statement struck me (I more or less paraphrase it) &lt;p /&gt; &lt;div&gt;&lt;strong&gt;&quot;If you wake up one hour early each day for a month, in 30 days you will have almost one weeks worth of working time, think of the things you could do&quot;&lt;/strong&gt;&lt;/div&gt; &lt;p /&gt; &lt;div&gt;When i told this to some of my colleagues/friends they say wha sleep less one hour how ? Not enough time to sleep already.&lt;/div&gt; &lt;p /&gt; &lt;div&gt;&lt;strong&gt;&quot;You have enough time to sleep when you are dead&quot;&amp;nbsp;&lt;/strong&gt;&lt;/div&gt; &lt;p /&gt; &lt;div&gt;I guess this is the difference between people who do impressive/great things (physically fit, be it in doing voluntary work, open source projects, making lots of money, hobbies, making a difference, side business, execise often) and the rest of us. They spent the time not just dreaming and talking&amp;nbsp;about it but actually doing it. I am not actually saying that you forgo sleep altogether but think of the possibilities that could happen if you think about how to spend your time wisely.&lt;/div&gt; &lt;p /&gt; &lt;div&gt;At the end of our life, lets not spend time regretting what it might have been, or what we might have done better.&lt;/div&gt; &lt;p /&gt; &lt;div&gt;Remember the saying that you need 10,000 hours to become good at what u do, maybe i should start doing things instead of writing things on my blog :)&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/5874230573686225873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/02/one-hour-early-day.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/5874230573686225873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/5874230573686225873'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/02/one-hour-early-day.html' title='One hour early a day...'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-1184575568864093956</id><published>2011-01-26T23:37:00.002+08:00</published><updated>2011-01-26T23:37:53.414+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="books"/><title type='text'>Ebooks from top StackOverflow answers</title><content type='html'>&lt;div class=&quot;posterous_autopost&quot;&gt;Have you tried &lt;a href=&quot;http://stackoverflow.com/&quot;&gt;StackOverflow&lt;/a&gt;, if you are a developer its probably one of the best resource for asking questions.&lt;br /&gt;
&lt;div&gt;Its a great site, what is even greater is that someone converted the best answers into an Ebook format.&lt;br /&gt;
&lt;br /&gt;
Great for bring around, the link is here&amp;nbsp;&lt;a href=&quot;http://hewgill.com/~greg/stackoverflow/ebooks/&quot;&gt;http://hewgill.com/~greg/stackoverflow/ebooks/&lt;/a&gt;. Whats nice is that it is broken up nicely into the different subject like ajax, python, c#.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/1184575568864093956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/01/ebooks-from-top-stackoverflow-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/1184575568864093956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/1184575568864093956'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/01/ebooks-from-top-stackoverflow-answers.html' title='Ebooks from top StackOverflow answers'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-1065567539547841311</id><published>2011-01-25T17:53:00.001+08:00</published><updated>2011-01-25T17:53:06.479+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="node.js"/><title type='text'>Posting data with Node.js</title><content type='html'>&lt;div class=&#39;posterous_autopost&#39;&gt;   Recently i needed to post data using node.js, I was not trying to post a long string of data but rather parameters from a form. But the Node.js help page isn&#39;t too helpful, it just say use request.write() to write data to the stream&lt;p /&gt; &amp;nbsp; This is the first interation i got.&lt;p /&gt; &amp;nbsp;&lt;div class=&quot;CodeRay&quot;&gt; &lt;div class=&quot;code&quot;&gt;&lt;pre&gt;var http=require(&#39;http&#39;); var post=http.createClient(80,&#39;localhost&#39;); var request=post.request(&#39;POST&#39;,/test.php&#39;.{&#39;host&#39;:&#39;localhost&#39;}); request.write(&#39;test=10&#39;); request.end(); request.on(&#39;response&#39;,function(response){ response.setEncoding(&#39;utf8&#39;); reponse.on(&#39;data&#39;,function(chunk){ console.log(chunk); } });&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &amp;nbsp;&lt;br /&gt; test.php is a simple php script that prints out the parameter value.&lt;p /&gt; &amp;nbsp; I got nothing... nothing was printed out. What was wrong?&lt;p /&gt; &amp;nbsp; Using curl and Fiddler, i did a little investigating about what went wrong, what was missing was the &lt;strong&gt;Content-Length&lt;/strong&gt; and the &lt;strong&gt;Content-Type&lt;/strong&gt; which needs to be &lt;strong&gt;application/x-www-form-urlencoded&lt;/strong&gt;.&lt;p /&gt; &amp;nbsp; Adding these 2 parameters to the script&lt;br /&gt;&lt;div class=&quot;CodeRay&quot;&gt; &lt;div class=&quot;code&quot;&gt;&lt;pre&gt;var http=require(&#39;http&#39;); var post=http.createClient(80,&#39;localhost&#39;); var request=post.request(&#39;POST&#39;,/test.php&#39;.{&#39;host&#39;:&#39;localhost&#39;,&#39;Content-Length&#39;:&#39;7&#39;,&#39;Content-Type&#39;:&#39;application/x-www-form-urlencoded&#39;}); request.write(&#39;test=10&#39;); request.end(); request.on(&#39;response&#39;,function(response){ response.setEncoding(&#39;utf8&#39;); reponse.on(&#39;data&#39;,function(chunk){ console.log(chunk); } });&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &amp;nbsp;&lt;br /&gt; And yeah ! It works !&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/1065567539547841311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/01/posting-data-with-nodejs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/1065567539547841311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/1065567539547841311'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/01/posting-data-with-nodejs.html' title='Posting data with Node.js'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-1553706357346103354</id><published>2011-01-11T17:29:00.001+08:00</published><updated>2011-01-11T17:29:01.018+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="firefox"/><title type='text'>JRex, Embedding Gecko (Firefox) in eclipse</title><content type='html'>&lt;div class=&#39;posterous_autopost&#39;&gt;   Jrex is a Java component that embeds Mozila Gecko in your application. The project has been dead for some time since 2008 from what the mozdev.org page. So the version&amp;nbsp;of Gecko may not be the latest but should be good enough for whatever you&amp;nbsp;would like to try out.&lt;p /&gt;&amp;nbsp;However looking at the code from Vijay (&lt;a href=&quot;http://www.vijaykiran.com/2006/09/05/using-jrex-in-eclipse-rcp/&quot;&gt;http://www.vijaykiran.com/2006/09/05/using-jrex-in-eclipse-rcp/&lt;/a&gt;&lt;br /&gt;), i got it working and it seems to work fine, but Vijay dosen&#39;t really go into how to setup the project like where to download the jars and where to put the dll and so on, and I did have some hard time trying to find out where to find the jars.&lt;p /&gt;&amp;nbsp;Downloads &lt;br /&gt;1. At first i took apart the jnlp file on jrex.mozdev.org to find out what are the dependencies, but after looking around the mozdev site, i finally found the downloads for the jars, source and docs in here (&lt;a href=&quot;http://www.mozdev.org/sourc e/browse/jrex/downloads/#dirlist&quot;&gt;http://www.mozdev.org/source/browse/jrex/downloads/#dirlist&lt;/a&gt;).&lt;p /&gt;&amp;nbsp;2. But it dosen&#39;t include the jrex_gre files that are in the jnlp, those you can get them here (&lt;a href=&quot;http://www.mozdev.org/source/browse/jrex/www/releases/jrex-1.0b1_dom3/&quot;&gt;http://www.mozdev.org/source/browse/jrex/www/releases/jrex-1.0b1_dom3/&lt;/a&gt;). Look for the jrex_gre.jar&lt;p /&gt;&amp;nbsp;Setting up your eclipse.&lt;br /&gt;Put the jrex.dll in your&amp;nbsp;eclipse directory, if not you will get a UnsatisfiedLinkError when you try to run the&amp;nbsp;view. Put the&amp;nbsp;jrex.jar in your lib folder of your project.&lt;p /&gt;&amp;nbsp;Unzip the jrex_gre.jar contents to a nice location you can remember. &amp;nbsp;You will see in Vijay&#39;s code a place that you will need to supply the path to the file in org/mozilla/jrex/jrex_gre files.&lt;p /&gt;&amp;nbsp;That should fill up the missing pieces in Vijay&#39;s writeup.&lt;p /&gt;I will try to package&amp;nbsp;the source code into github at some later time.&lt;br /&gt;&amp;n bsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/1553706357346103354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/01/jrex-embedding-gecko-firefox-in-eclipse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/1553706357346103354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/1553706357346103354'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/01/jrex-embedding-gecko-firefox-in-eclipse.html' title='JRex, Embedding Gecko (Firefox) in eclipse'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-3251731760841431500</id><published>2011-01-06T09:32:00.001+08:00</published><updated>2011-01-06T09:32:09.243+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Fedora 14 - Using the DVD as a software repository</title><content type='html'>&lt;div class=&#39;posterous_autopost&#39;&gt;   Installed Fedora today at office in order to try out some web acceleration stuff lile squid and varnish. I used the DVD iso version, so that i can have most of the essential software already.&lt;p /&gt; &amp;nbsp; When i rebooted i found that the dvd is not recongnised as a software repository, because there is no entry in /etc/yum.repos.d/.&lt;p /&gt; No biggie, just mount the dvd, in the root of the dvd there is a file media.repo, jus copy the file to /etc/yum.repos.d/ as packagekit-media.repo and you are all set, your dvd becomes a software repository.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/3251731760841431500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/01/fedora-14-using-dvd-as-software.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/3251731760841431500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/3251731760841431500'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/01/fedora-14-using-dvd-as-software.html' title='Fedora 14 - Using the DVD as a software repository'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-3157008372298567480</id><published>2011-01-05T09:53:00.001+08:00</published><updated>2011-01-05T09:53:24.172+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>Resolutions 2011</title><content type='html'>&lt;div class=&#39;posterous_autopost&#39;&gt;     My resolutions for 2011. &lt;p /&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;strong&gt;For the personal geek in me (Probably have little to do with work)&lt;/strong&gt;&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;br /&gt;I declare this to be the year of functional programming for me!&lt;p /&gt;&lt;/div&gt;&lt;img src=&quot;http://posterous.com/getfile/files.posterous.com/stephenonsoftware/gxzvGytuoADqHBEyAjHJubFJJtqutAbfFykxBeagkjmduvxuHErvqtmCcpfC/media_httpwwwlisperat_mnqzh.png.scaled500.png&quot; width=&quot;256&quot; height=&quot;223&quot;/&gt; &lt;p /&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Common Lisp&amp;nbsp;&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Begin by first completing Practical Common Lisp and&lt;a href=&quot;http://www.amazon.com/gp/product/1593272812?ie=UTF8&amp;amp;tag=stephensblo0a-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=1593272812&quot;&gt; Land of Lisp&lt;/a&gt;, and the little pet project that i do when i have free time, the idea of closures and high order functions really appeal to me.&lt;br /&gt;&lt;/div&gt; &lt;p /&gt; &lt;div&gt;&lt;img src=&quot;http://posterous.com/getfile/files.posterous.com/stephenonsoftware/abwuCwowIvhkkghFsAEFaGGCArpfpratdfnHqlsJIFdanqdAmFiJqEBhaACz/media_httpwwwerlangor_caDCv.png.scaled500.png&quot; width=&quot;156&quot; height=&quot;135&quot;/&gt; &lt;/div&gt; &lt;p /&gt; &lt;div&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Erlang_%28programming_language%29&quot;&gt;Erlang&lt;/a&gt;&lt;/div&gt; &lt;div&gt;Another Functional Language that I hopefully have time for this year. Invented by Ericsson for using in telephony applications, it has some interesting properties like fault tolerant and hot swapping. Since it&#39;s designed for telephony (which has something like 9 9&#39;s of&amp;nbsp;availability) you can actually swap in code while the system is running which i think its pretty cool.&lt;/div&gt; &lt;p /&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Hadoop/Map Reduce&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Always heard about MapReduce and Hadoop, I shall attempt to read google&#39;s paper on it and hopefully setup a working instance.&lt;/div&gt; &lt;p /&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;NoSQL&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/NoSQL&quot;&gt;NoSQL&lt;/a&gt; is getting big nowadays with &lt;a href=&quot;http://www.readwriteweb.com/cloud/2011/01/how-twitter-uses-nosql.php&quot;&gt;Twitter&lt;/a&gt;&amp;nbsp;and Facebook all moving/developing part of their infrastructure on top of NoSQL type of storage.&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Learn at least one implementation and see how it can be worked into&amp;nbsp;a project.&lt;/div&gt; &lt;p /&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;strong&gt;For the bookworm in me&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Read The Elements of Style, one of the great books on the writing for the English language. Time to get better at my writing, better written communication is essential as you go along ur working life.&lt;p /&gt;Read more &quot;management&quot; style books especially in the realm of making people happy at work, I am quite interested in how great organizations retain their people and keep them happy. &lt;br /&gt;So far i have &lt;a href=&quot;http://www.amazon.com/gp/product/0786868686?ie=UTF8&amp;amp;tag=stephensblo0a-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=0786868686&quot;&gt;FISH! tales&lt;/a&gt;, &lt;a href=&quot;http://www.amazon.com/gp/product/B001OMHV0K?ie=UTF8&amp;amp;tag=stephensblo0a-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B001OMHV0K&quot;&gt;Why work sucks&lt;/a&gt; from the library here with me.&lt;p /&gt;&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;strong&gt;For the not so fit me&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Finish taking my IPPT before June and pass it.&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Run at least once a week at least 2.4km.&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Attempt to run a half marathon by then end of the year. (Haha this will the hardest one in my list)&lt;br /&gt;&lt;/div&gt; &lt;p /&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;strong&gt;For the bad habits in me&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt; &lt;div&gt;Second guessing or&amp;nbsp;interrupting&amp;nbsp;people midway&lt;/div&gt; &lt;div&gt;I don&#39;t know if people noticed but i do have a bad habit of either completing other people&#39;s sentence or second guessing what they will say. I will let others finish what they want to say before I start, I will try to follow the rule of &lt;b&gt;One Conversation at a time&lt;/b&gt;.&lt;/div&gt; &lt;p /&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Procrastination&lt;br /&gt;&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;I have a habit of procrastinating, enuff said.&lt;p /&gt;&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;strong&gt;For the father and husband in me&lt;/strong&gt;&lt;br /&gt;Vacation&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Hopefully I will have time to go for a vacation, hopefully it will be the first time that I am bringing Chloe overseas.&lt;/div&gt; &lt;p /&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Better Father/husband&lt;/div&gt; &lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Its quite hard trying to be specific as to what makes a better father, could be a variety of factors but i sorta like this one that I got from FISH! Tales book, &lt;strong&gt;&quot;Love for child. is simply being there&quot;&lt;/strong&gt;.&lt;p /&gt;Lets look back again in 2012.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/3157008372298567480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2011/01/resolutions-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/3157008372298567480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/3157008372298567480'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2011/01/resolutions-2011.html' title='Resolutions 2011'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-8253209700437403982</id><published>2010-12-28T21:07:00.001+08:00</published><updated>2010-12-28T21:07:17.394+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>Reflections on 2010</title><content type='html'>&lt;div class=&#39;posterous_autopost&#39;&gt;   &lt;div&gt;&lt;img src=&quot;http://posterous.com/getfile/files.posterous.com/stephenonsoftware/yJBrEbBtGGtheHEncCttyGoDjFetmCnuCmmAHgueHBxEnjvrCDuDxburhfhj/media_httpfarm6static_cjeai.jpg.scaled500.jpg&quot; width=&quot;500&quot; height=&quot;375&quot;/&gt; &lt;/div&gt;&lt;p /&gt;Well 2010 has come and soon will be gone, so time to look back.&lt;p /&gt;&lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;I have been married for 2 years now although there are ups and downs but I am happy that I have a nice wife and a cute (and she continues to amaze me everyday) daughter.&lt;/div&gt;&lt;p /&gt;&lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Being a father does entail some sacrifices, no longer will you have &quot;your&quot; time, but rather it will be the &quot;family&#39;s&quot; time or more accurately the &quot;baby&#39;s&quot; time. But the smile of Chloe when she see you wake up and when she is scared and runs to hugs you ( only when the mum in law not around) makes it all worth while. But as for having another one .... lets wait and see :)&lt;/div&gt;&lt;p /&gt;&lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Hdb finally decides to give me my house, and it is in the process of renovating, left the painting and the carpentry to be done and it should be ready to move in.&lt;/div&gt;&lt;p /&gt;&lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&#39;http://posterous.com/getfile/files.posterous.com/stephenonsoftware/iDqflifzlfDehCmyigdqhvqbsnJgqbCkBuwtwrgfdmdEwbuyrjcjhsblGAvA/media_httpdilbertcomd_aHoaf.gif.scaled1000.gif&#39;&gt;&lt;img src=&quot;http://posterous.com/getfile/files.posterous.com/stephenonsoftware/iDqflifzlfDehCmyigdqhvqbsnJgqbCkBuwtwrgfdmdEwbuyrjcjhsblGAvA/media_httpdilbertcomd_aHoaf.gif.scaled500.gif&quot; width=&quot;500&quot; height=&quot;221&quot;/&gt;&lt;/a&gt; &lt;/span&gt;&lt;/div&gt;&lt;p /&gt;&lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;Work wise has been good, finally saw a project from the start to the OSAT phase, couldn&#39;t see it all the way to the end though, got rope into another project, as a Software Develop ment Manager, its sort of like a Project Lead kinda thing. Challenging though because the project had already been running for sometime before I came in and there are lots of stuff that I need to pick up and be very familiar with. I am aware of &lt;a href=&quot;http://en.wikipedia.org/wiki/Peter_Principle&quot;&gt;the Peter Principle&lt;/a&gt;&amp;nbsp;and the&lt;a href=&quot;http://en.wikipedia.org/wiki/Dilbert_Principle&quot;&gt; Dilbert Principle&lt;/a&gt;, hope that this is not the end yet :)&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;a href=&#39;http://posterous.com/getfile/files.posterous.com/stephenonsoftware/bzarqIovsCiElIvfBmHaGIIAxdrDwtDnhGscBnldyegdarnudlJqAkFGeDhg/media_httpwwwsuzukimu_cIblv.jpg.scaled1000.jpg&#39;&gt;&lt;img src=&quot;http://posterous.com/getfile/files.posterous.com/stephenonsoftware/bzarqIovsCiElIvfBmHaGIIAxdrDwtDnhGscBnldyegdarnudlJqAkFGeDhg/media_httpwwwsuzukimu_cIblv.jpg.scaled500.jpg&quot; width=&quot;500&quot; height=&quot;185&quot;/&gt;&lt;/a&gt; &lt;/div&gt;&lt;p /&gt;&lt;div&gt;On more personal note, I have been trying to pick up the Diatonic Harmonica, practicing while waiting for my wife to go off work. Always sort of regretted that I never did pick up a musical instr ument, haha now trying to catch up. Seems like a lot of people around my age are playing catch up in music, I know a few who are trying to pick up the piano, trumpet and the violin.&amp;nbsp;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Hope to play like this guy below someday!&lt;/div&gt;&lt;div&gt;&lt;object height=&quot;417&quot; width=&quot;500&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/JUHZy_8SGMw&amp;hl=en&amp;fs=1&quot; /&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;window&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot; /&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/JUHZy_8SGMw&amp;hl=en&amp;fs=1&quot; allowfullscreen=&quot;true&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; wmode=&quot;window&quot; height=&quot;417&quot; width=&quot;500&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;or even this guy!&lt;/div&gt;&lt;div&gt;&lt;object height=&quot;417&quot; width=&quot;500&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/pJB1j5PFsQg&amp;hl=en&amp;fs=1&quot; /&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;window&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot; /&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/pJB1j5PFsQg&amp;hl=en&amp;fs=1&quot; allowfullscreen=&quot;true&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; wmode=&quot;window&quot; height=&quot;417&quot; width=&quot;500&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Till the next time...&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/8253209700437403982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2010/12/reflections-on-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/8253209700437403982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/8253209700437403982'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2010/12/reflections-on-2010.html' title='Reflections on 2010'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-8947206457471919148</id><published>2010-11-26T21:53:00.001+08:00</published><updated>2010-11-26T21:53:50.577+08:00</updated><title type='text'>Winston W Royce - Father of waterfall</title><content type='html'>&lt;div class=&#39;posterous_autopost&#39;&gt;   &amp;nbsp;Uncle Bob posted an article, What killed waterfall could kill agile.&lt;a href=&quot;http://cleancoder.posterous.com/what-killed-waterfall-could-kill-agile&quot;&gt;http://cleancoder.posterous.com/what-killed-waterfall-could-kill-agile&lt;/a&gt;. He mentioned about a person named &lt;a href=&quot;http://en.wikipedia.org/wiki/Winston_W._Royce&quot;&gt;Dr Winston W Royce&lt;/a&gt; (whom uncle bob called the &quot;Father of waterfall&quot;) who published a paper,&amp;nbsp; &lt;a href=&quot;http://www.cs.umd.edu/class/spring2003/cmsc838p/Process/waterfall.pdf&quot; class=&quot;external text&quot; rel=&quot;nofollow&quot;&gt;Managing the Development of Large Software Systems: Concepts and Techniques&lt;/a&gt;, in which a system of developement now know as the Waterfall model was described.&lt;p /&gt;&amp;nbsp;What shocked me in that paper was not that he advocate the waterfall model, but rather he condemns it. In his own words &lt;br /&gt;&quot;I believe in this concept, but the implementation described above is &lt;strong&gt;risky and invites failure&lt;/strong&gt;&quot;.&lt;p /&gt;&amp;nbsp;The funny thing is so many generations of programmers who studied in colleges and university were brought up believing that it was one of (or depending on how old you are) or &quot;the&quot; model of how software actually gets built. Now we know better, that&#39;s why we have things like the Agile movement,&amp;nbsp;Kanban and so on&lt;p /&gt; &amp;nbsp;If you read the paper, you will discover he has views on how to improve the process and what is surprising is how similar it is to practices that we are advocating today.&lt;p /&gt; His&amp;nbsp;4th and&amp;nbsp;5th recommendation looked remarkably like Agile practices.&lt;p /&gt; &amp;nbsp;&lt;strong&gt;Step 4: Plan, Control and Monitor Testing&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Testing&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;br /&gt;&lt;strong&gt;Code inspection&lt;/strong&gt;&lt;br /&gt;He advocates the use of code inspection by a second party, he said the use of computers would be too expensive for this task. But with the computing power we have today. Software like Findbugs or JTest can help in the first line of bad code detection and Pair Programming helps in that aspect too.&lt;p /&gt;&amp;nbsp;Code Coverage&lt;br /&gt;Code coverage is also advocated in fact he advocates testing every logical path if possible and if he is the customer he would not accept delivery until this step is done. Although he acknowledges the difficulty in accomplishing this step for large programs.&lt;p /&gt;&amp;nbsp;&lt;strong&gt;Step 5: Involve the customer&lt;/strong&gt;&lt;br /&gt;He knows that software design and specifications is open to a wide interpretation even after agreements, customer involvement in his words should be &lt;strong&gt;&quot;formal, in-depth and continuing&quot;.&amp;nbsp;&lt;/strong&gt;&lt;p /&gt;&amp;nbsp;Let&#39;s not remember Winston W Royce as &quot;Father of the waterfall&quot; but rather one who saw how software&amp;nbsp;development could be done better 40 years ago.&amp;nbsp;&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/8947206457471919148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2010/11/winston-w-royce-father-of-waterfall.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/8947206457471919148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/8947206457471919148'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2010/11/winston-w-royce-father-of-waterfall.html' title='Winston W Royce - Father of waterfall'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-6925295123748578624</id><published>2010-11-20T08:27:00.001+08:00</published><updated>2010-11-20T08:30:02.456+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="yii"/><title type='text'>Relational selects in YII</title><content type='html'>How do you do relational selects in YII? The kind where you have a many to many relationship on a table. The YII page on relational queries didn&#39;t have &lt;a href=&quot;http://www.yiiframework.com/doc/guide/1.1/en/database.arr&quot;&gt;many good examples&lt;/a&gt; on how to do it, so I tried it out and found it to be actually quite easy, its quite like how you would do for single table query.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.yiiframework.com/tutorial/image?type=guide&amp;amp;version=1.1&amp;amp;lang=en&amp;amp;file=er.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;http://www.yiiframework.com/tutorial/image?type=guide&amp;amp;version=1.1&amp;amp;lang=en&amp;amp;file=er.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
The above figure was taken from the YII &lt;a href=&quot;http://www.yiiframework.com/doc/guide/1.1/en/database.arr&quot;&gt;page on relational queries&lt;/a&gt; (I was too lazy to do up my own example).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;We will just concentrate on the tbl_post , tbl_post_category and the tbl_category tables.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;I will assume you know how to &lt;a href=&quot;http://www.yiiframework.com/doc/guide/1.1/en/database.arr#declaring-relationship&quot;&gt;overwrite the relations function&lt;/a&gt; in CActiveRecord to setup the relations correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;So the scenario is, I would like to retrieve posts that are in a certain category.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;The idea is to use the &lt;a href=&quot;http://www.yiiframework.com/doc/api/1.1/CActiveRecord#with-detail&quot;&gt;&lt;b&gt;with()&lt;/b&gt; method&lt;/a&gt; that is part of CActiveRecord, we would like to&amp;nbsp;retrieve&amp;nbsp;the categories together with the Posts.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;So the query would look like this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;pre&gt;$posts=Post::model()-&amp;gt;with(&lt;b&gt;array(&#39;categories&#39;=&amp;gt;array(&#39;condition&#39;=&amp;gt;&#39;name=&quot;FunStuff&quot;&#39;))&lt;/b&gt;)-&amp;gt;findAll();
&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;In the &lt;b&gt;with &lt;/b&gt;portion you specify the relations that you want to load in this case &lt;b&gt;categories&lt;/b&gt;, and with it you can specify the &lt;a href=&quot;http://www.yiiframework.com/doc/guide/1.1/en/database.arr#relational-query-options&quot;&gt;different relation query options&lt;/a&gt; like select, condition and so on. In this case we use the &quot;&lt;b&gt;condition&lt;/b&gt;&quot; option to specify what from categories that we want to retrieve. For this we want to retrieve all the &lt;b&gt;Post&lt;/b&gt; with &lt;b&gt;categories&lt;/b&gt; name = &quot;FunStuff&quot;.&lt;br /&gt;
&lt;br /&gt;
Simple rite!&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=stephensblo0a-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=1847199585&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/6925295123748578624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2010/11/relational-selects-in-yii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/6925295123748578624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/6925295123748578624'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2010/11/relational-selects-in-yii.html' title='Relational selects in YII'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-3095570241752127168</id><published>2010-10-11T21:09:00.001+08:00</published><updated>2010-10-11T21:13:10.045+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="LOTW"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>LOTW - 11 Oct 2010</title><content type='html'>&lt;a href=&quot;http://web.archive.org/web/20070213165045/users.ipa.net/~dwighth/smalltalk/byte_aug81/design_principles_behind_smalltalk.html&quot;&gt;Design Principles Behind Smalltalk&lt;/a&gt;&amp;nbsp;- One of the most influential language although it didn&#39;t become popular. Java, Ruby all draw&amp;nbsp;inspiration&amp;nbsp;from it. If you are a programmer you owe it to yourself to go try Smalltalk. &lt;a href=&quot;http://www.squeak.org/&quot;&gt;Squeak&lt;/a&gt; and &lt;a href=&quot;http://pharo-project.org/home&quot;&gt;Pharo&lt;/a&gt;s are probably the more famous of the free implementation around.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.scribd.com/doc/38765815/Google-Answer-and-Counterclaims-v-Oracle-Filed&quot;&gt;Google&#39;s answers to Oracle&#39;s allegations&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Doing quite a bit of PHP programming these days so there are the few links that might be useful&lt;br /&gt;
&lt;a href=&quot;http://prajwalaa.wordpress.com/2009/03/19/using-emacs-to-edit-php-files/&quot;&gt;Using Emacs to edit php files&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/geben-on-emacs/&quot;&gt;Geben + XDebug&lt;/a&gt; to debug php code on emacs -&amp;nbsp; Haven tried this, so far with PHP, doing print statements still works for me.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://aptoncd.sourceforge.net/&quot;&gt;AptOnCD&lt;/a&gt; Backs up all the packages that you have installed, making it easy to restore your packages instead of downloading them all again.&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/3095570241752127168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2010/10/lotw-11-oct-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/3095570241752127168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/3095570241752127168'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2010/10/lotw-11-oct-2010.html' title='LOTW - 11 Oct 2010'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6413936821755549970.post-2287252345037030092</id><published>2010-10-04T11:24:00.000+08:00</published><updated>2010-10-04T11:24:00.324+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="LOTW"/><title type='text'>LOTW - 4 Oct 2010</title><content type='html'>&lt;a href=&quot;http://www.dzone.com/links/r/map_reduce_a_really_simple_introduction.html&quot;&gt;A really simple introduction to Map Reduce&lt;/a&gt; - Great intro to what Mappers, Groupers and Reducers are all about. I was scratching my head about &lt;a href=&quot;http://labs.google.com/papers/mapreduce.html&quot;&gt;Map Reduce&lt;/a&gt; before this came about.&lt;br /&gt;
&lt;br /&gt;
How big are Facebook&#39;s data centers? This &lt;a href=&quot;http://www.datacenterknowledge.com/the-facebook-data-center-faq/&quot;&gt;FAQ&lt;/a&gt; will tell you all that you need to know including servers, software, location and expansion plans.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://goo.gl/&quot;&gt;Google URL shortener&lt;/a&gt; goo.gl opens for business&lt;br /&gt;
&lt;br /&gt;
Heard of the &lt;a href=&quot;http://www.arduino.cc/&quot;&gt;Arduino&lt;/a&gt;, unknown to me there is actually a&amp;nbsp;&lt;a href=&quot;http://netduino.com/&quot;&gt;Netdunio &lt;/a&gt;yeap, and it runs on .Net. &lt;a href=&quot;http://www.hanselman.com/blog/TheNETMicroFrameworkHardwareForSoftwarePeople.aspx?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+ScottHanselman+(Scott+Hanselman+-+ComputerZen.com)&quot;&gt;Scott Hanselman&lt;/a&gt; talks about it.&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://feeds.feedburner.com/StephenOnSoftware&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.twitter.com/stephenleejm&quot;&gt;&lt;img border=&quot;0/&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5FyjGg5swDHw2CBxmvOcGq1Q_FuVVG0fyy6zwAz9sQyL1QW03_ord3ScnXfQeYpiSbnUc5tQ874GBOv-D5Fbc0f7zIZVHMbNYLYg_KJOvBzGohMzn1Vcp2ScEIP8cyeGDWAYW9anaxqU/&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stephenonsoftware.com/feeds/2287252345037030092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stephenonsoftware.com/2010/10/lotw-4-oct-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/2287252345037030092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6413936821755549970/posts/default/2287252345037030092'/><link rel='alternate' type='text/html' href='http://www.stephenonsoftware.com/2010/10/lotw-4-oct-2010.html' title='LOTW - 4 Oct 2010'/><author><name>Stephen Lee</name><uri>http://www.blogger.com/profile/09742074895698848479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0j55Bi-T2i1IWVR9QJX4ALR0fF3zscSVFsdSxNsJgvxWCEWCNQkVw1szOMCZN6XAdFz_dDa_rJzxv6m1b_JxyHLm_g1oAovUrKqJ0zZzf6piNoF0caQEAfFbrGSsx4rptgK4OaW5vw0/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry></feed>