tag:blogger.com,1999:blog-64139368217555499702019-05-06T16:37:43.029+08:00Stephen on SoftwareUnknownnoreply@blogger.comBlogger54125tag:blogger.com,1999:blog-6413936821755549970.post-80638732985208761942013-05-20T16:43:00.002+08:002013-05-20T16:43:37.398+08:00Leaflet, ArcGIS Server Invalid SRSI encoutered some problems with ArcGIS Server and Leaflet WMS api. Namely its because the API sends the "srs" parameter to ArcGIS server with the value EPSG3857 while ArcGIS server expects EPSG4326.<br /><br />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.<br /><br />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. <br /><br />Found the solution in <a href="https://groups.google.com/forum/#!msg/leaflet-js/UdIUYQJsvJs/n-hSo9v65OAJ" target="_blank">Google Groups</a> bascially you need to setup the map upfront by stating what spatial reference it should use.<br />&nbsp;e.g<br /><br />var map=L.map('map',<span style="color: red;">{crs:L.CRS.EPSG4326}</span>).setView([51,0],13);<br /><br />It's specified as a option to the map function. <br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0/" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0/" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/7n9fjsEuTKE" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2013/05/leaflet-arcgis-server-invalid-srs.htmltag:blogger.com,1999:blog-6413936821755549970.post-6019334352585601342013-05-08T13:49:00.002+08:002013-05-08T13:49:46.205+08:00Weblogic and Spring Log4jConfigListener [java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded]If you are using Weblogic and Spring'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.<br /><br />But when you package it into a war file and deploy it. You get an<br />[java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded].<br /><br />This is due to the <a href="http://static.springsource.org/spring/docs/1.2.x/api/org/springframework/web/util/Log4jConfigListener.html" target="_blank">Log4JConfigListener&nbsp; </a>requiring to look up the log4j.properties file and from a war file it can't do that.<br /><br />You can either always deploy it in a exploded war file or simply adding the following to your weblogic.xml file.<br /><br /><container-descriptor><br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <show-archived-real-path-enabled>true</show-archived-real-path-enabled></container-descriptor><br /><br /><br />This should solve the problem.<img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/7z_Fo1OZzmw" height="1" width="1" alt=""/>Unknownnoreply@blogger.com2http://www.stephenonsoftware.com/2013/05/weblogic-and-spring-log4jconfiglistener.htmltag:blogger.com,1999:blog-6413936821755549970.post-3815997139529748182013-05-01T06:56:00.001+08:002013-05-01T06:56:23.523+08:00InfoQ: Scaling Pintrest<div>Some things i learnt from the a InfoQ video about <a href="http://www.infoq.com/presentations/Pinterest" target="_blank">Scaling Pintrest</a>.</div><div><br /></div><div>1. Clustering is complicated</div><div>This changed my whole point of view about High Availability. The comment made about how your application is depending on some complicated&nbsp;algorithm&nbsp;for&nbsp;synchronising&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's wrong, most of the time I just pray and reboot the servers hoping that everything works.</div><div><br /></div><div>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't have to perform migration too often.</div><div><br /></div><div>The video does show how they designed their sharding algo and considerations made.</div><div><br /></div><div>2. Keep things simple in the technology stack</div><div>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.</div><div><br /></div><div>3. Cache, Cache, Cache</div><div>For any large system, caching your reads is important for performance. (But you already know that :))<br /><br /></div><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/b97n1DdqGuc" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2013/05/infoq-scaling-pintrest.htmltag:blogger.com,1999:blog-6413936821755549970.post-17932851179211177252012-12-27T09:42:00.000+08:002012-12-27T09:42:20.597+08:00Agile FluencyNice Article from Martin Flower (or more specifically by Diana Larsen and James Shore) on<a href="http://martinfowler.com/articles/agileFluency.html" target="_blank"> Agile Fluency</a>.<br /><br />Good read on how to agile teams should evolve<br /><br /><a href="http://martinfowler.com/articles/agileFluency.html">http://martinfowler.com/articles/agileFluency.html</a><br /><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><br /><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/XwJ6W99mffo" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2012/12/agile-fluency.htmltag:blogger.com,1999:blog-6413936821755549970.post-46559512727513136522012-06-18T10:26:00.000+08:002012-06-18T10:26:07.725+08:00HBase schema design<br />The HBase reference documentation dosen'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.<br /><br />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's data base into a Hbase kind of design, and what are the challenges i find.<br /><br />Below are some of the useful resources that&nbsp;helped me&nbsp;in understanding column based kind of designs.<br /><br /><a href="http://ianvarley.com/coding/HBaseSchema_HBaseCon2012.pdf">http://ianvarley.com/coding/HBaseSchema_HBaseCon2012.pdf</a><br /><br /><a href="http://traackit.blogspot.sg/2010/05/20090713-hbase-schema-design-case.html">http://traackit.blogspot.sg/2010/05/20090713-hbase-schema-design-case.html</a><br /><br />Schema Design Guidelines and Case Studies<br /><a href="https://docs.google.com/viewer?a=v&amp;q=cache:Oe0Kf9oQhO0J:india.paxcel.net:6060/LargeDataMatters/wp-content/uploads/2010/08/Schema-Design-Guidelines.doc+&amp;hl=en&amp;pid=bl&amp;srcid=ADGEEShyf8WIXTdsWbYRTWWLHUgvYbWDa2AilTnm6xUWnaHDvpX6gARtzDNBx6GlsbE1hjdZoR3hYBYjk03zlwq8LLkA9VRYlLwihD4S75pxlMtitX640uwrQsOa0cC5K5JPGfhAfQIK&amp;sig=AHIEtbR8TyqVgcc3WFGtpKWX7eZOZBpnFQ&amp;pli=1">https://docs.google.com/viewer?a=v&amp;q=cache:Oe0Kf9oQhO0J:india.paxcel.net:6060/LargeDataMatters/wp-content/uploads/2010/08/Schema-Design-Guidelines.doc+&amp;hl=en&amp;pid=bl&amp;srcid=ADGEEShyf8WIXTdsWbYRTWWLHUgvYbWDa2AilTnm6xUWnaHDvpX6gARtzDNBx6GlsbE1hjdZoR3hYBYjk03zlwq8LLkA9VRYlLwihD4S75pxlMtitX640uwrQsOa0cC5K5JPGfhAfQIK&amp;sig=AHIEtbR8TyqVgcc3WFGtpKWX7eZOZBpnFQ&amp;pli=1</a><br /><br />Varley Masters report (as referenced by HBase documentation)<br /><a href="http://ianvarley.com/UT/MR/Varley_MastersReport_Full_2009-08-07.pdf">http://ianvarley.com/UT/MR/Varley_MastersReport_Full_2009-08-07.pdf</a><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/HNydV8uPjmY" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2012/06/hbase-schema-design.htmltag:blogger.com,1999:blog-6413936821755549970.post-58298179803854635672012-05-29T13:46:00.001+08:002012-05-29T13:46:32.535+08:00Big List of 20 common bottles necksAll developers and implementors should take a look at this list of bottles necks from HighScalability.com<br /><br /><a href="http://highscalability.com/blog/2012/5/16/big-list-of-20-common-bottlenecks.html">http://highscalability.com/blog/2012/5/16/big-list-of-20-common-bottlenecks.html</a>.<br /><br />Great stuff wish i have this list before i started work on any big systems.<br /><br /><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/ucBH7k3_NAA" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2012/05/big-list-of-20-common-bottles-necks.htmltag:blogger.com,1999:blog-6413936821755549970.post-61722407971533098302012-05-15T10:05:00.000+08:002012-05-15T10:05:02.240+08:00Common Lisp the untold story<br />Nice history about the Common Lisp standardization process by Kent Pitman who wrote the Common Lisp Hyperspec.<br /><br /><a href="http://www.nhplace.com/kent/Papers/cl-untold-story.html">http://www.nhplace.com/kent/Papers/cl-untold-story.html</a><br /><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/pcTcnroEUGY" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2012/05/common-lisp-untold-story.htmltag:blogger.com,1999:blog-6413936821755549970.post-4282338083939396912012-05-02T09:37:00.001+08:002012-05-02T09:37:23.635+08:00Opening Slides from Oracle vs Google<br />The opening slides from Oracle<br /><a href="http://www.oracle.com/us/corporate/features/opening-slides-1592541.pdf">http://www.oracle.com/us/corporate/features/opening-slides-1592541.pdf</a><br /><br />The opening slides from Google<br /><a href="http://www.groklaw.net/images/GoogleOpeningStatementSlides.pdf">http://www.groklaw.net/images/GoogleOpeningStatementSlides.pdf</a><br /><br />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 "worse" in Oracle's eyes.<br /><br />Dr Dobbs has an interesting article @ <a href="http://www.drdobbs.com/jvm/232901227?itc=edit_stub">http://www.drdobbs.com/jvm/232901227?itc=edit_stub</a>&nbsp;talking about how all this has an impact on all programming languages and even OS's. Like JRuby is an implementation of Ruby and not forgetting the python implementations (CPython, Jython, IronPython).<br /><br />Let's hope all this comes out in Google'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.<br /><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/Nb077NyzYUI" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2012/05/opening-slides-from-oracle-vs-google.htmltag:blogger.com,1999:blog-6413936821755549970.post-45646260211271227152012-04-06T11:31:00.001+08:002012-04-06T11:31:51.900+08:00Better Coding: Dealing with Exceptions<link href="csharp.css" rel="stylesheet" type="text/css"></link>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't handle them properly, you might have a hard time trying to debug your programs.<br /><br /><b>What are exceptions anyway?</b><br />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.<br /><br />So what are some wrong ways to handle them,<br /><br /><b>Don't just print the stacktrace.</b><br />IDE's tries to be helpful and will help you to automatically write the "try catch" block statements, and they will usually put in a e.printStackTrace() for you.<br /><br /><pre class="brush: java">public void readAFile(){<br /> try{<br /> //Some code that tries to open and read a file<br /> }catch(IOException e){<br /> e.printStackTrace();<br /> }<br />}</pre>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.<br /><br /><b>Do Nothing!</b><br /><br /><pre class="brush: java">public void readAFile(){<br /> try{<br /> //Some code that tries to open and read a file<br /> }catch(IOException e){<br /> //Do nothing;<br /> }<br />}</pre><br /><br />And then we are left&nbsp;scratching&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't see what went wrong from the UI, console or the logs.<br /><br />So what should you do?<br /><br /><b>Rethrow the exception if the class can't handle it.</b><br /><br />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.<br /><br />Example: The <b>FileLoader </b>class tries to <b>readAFile </b>but things do go wrong when reading a file, but the <b>FileLoader </b>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 <b>SomeUIClass </b>is trying to read the file and when <b>FileLoader </b>throws the exception, a messagebox comes out and logs the error to the log file.<br /><br /><br /><pre class="brush: java"> public class FileLoader{ <br /> public void readAFile(File f) throws IOException{ <br /> //file reading code <br /> } <br /> } <br /> public class SomeUIClass{ <br /> public void readFile(File f){ <br /> try{ <br /> FileLoader.readAFile(f); <br /> }catch(IOExecption e){ <br /> //Print some message to the UI to inform the UI that it failed to read a file <br /> //Maybe log something to the log file <br /> } <br /> } <br /> } <br />&gt;</pre><br /><b>Rethrow a more generic exception. </b><br /><b><br /></b><br />We all like to "program to an interface", but sometimes programming to an interface can be made challenging if we rethrow a checked exception. An example.<br /><br />Let say we have an interface called <b>BooksDao. </b>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.<br /><br /><br /><pre class="brush: java">public interface BooksDao{ <br /> public List getBooks(String query);<br /> } <br /> public class JDBCBooksDao implements BooksDao{ <br /> public List getBooks(String query){ <br /> try{ <br /> //Some JDBC code<br /> }catch(SQLException e){ <br /><br /> } <br /> } <br /> } </pre><br /><b><br /></b><br />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.<br /><br /><br /><pre class="brush: java">public interface BooksDao{ <br /> public List getBooks(String query) throws SQLException;<br /> } <br /></pre><br /><br />What if we change the implementation of BooksDao to a MongoDBBooksDao ? and the MongoDB api dosen't throw an SQLException but throw a MongoDBException, we will be force to convert whatever exception that MongoDB has to an SQLException.<br /><br /><br /><pre class="brush: java">public class MongoDBBooksDao implments BooksDao{<br /> public List getBooks(String query)throws SQLException{<br /> try{<br /> //Some MongoDB api<br /> }catch(MondoDBException e){<br /> throw new SQLException(..);<br /> }<br /> }<br />}<br /></pre><br /><br />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.<br /><br /><pre class="brush: java">public interface BooksDao{ <br /> public List getBooks(String query) throws DataException;<br />} <br /><br /> public class JDBCBooksDao implements BooksDao{ <br /> public List getBooks(String query) throws DataException{ <br /> try{ <br /> //Some JDBC code<br /> }catch(SQLException e){ <br /> throw new DataException(..);<br /> } <br /> } <br /> } <br /><br />public class MongoDBBooksDao implments BooksDao{<br /> public List getBooks(String query)throws DataException{<br /> try{<br /> //Some MongoDB api<br /> }catch(MondoDBException e){<br /> throw new DataException(..);<br /> }<br /> }<br />}</pre><br />See it now looked much neater, what you should also consider is whether to&nbsp;re-throw&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&nbsp;conscious&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&nbsp;preference&nbsp;is that if you can throw an unchecked exception.<br /><b><br /></b><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><code style="color: black; word-wrap: normal;"></code><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/M-fodJ6qGPA" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2012/04/better-coding-dealing-with-exceptions.htmltag:blogger.com,1999:blog-6413936821755549970.post-2477487411000191392012-01-05T23:53:00.002+08:002012-01-05T23:54:38.717+08:00Hadoop World videosHadoop World videos can be found here&nbsp; <a href="http://www.cloudera.com/resources/Hadoop+World/">http://www.cloudera.com/resources/Hadoop+World/</a>. Seems like I will be spending some time watching these for the next few weeks.<br /><div><br />Links:<br /><a href="http://hadoop.apache.org/" target="_blank">Hadoop project</a><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0/" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0/" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table></div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/n2w3l1h50mc" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2012/01/hadoop-world-videos.htmltag:blogger.com,1999:blog-6413936821755549970.post-88425822355078768942011-12-29T22:03:00.000+08:002011-12-29T22:03:03.460+08:00Bing 2.0 API is uselessBing's 2.0 Search API is basically useless. The results dosen't match up with the Bing.com website and so testing is almost impossible.<br /><br />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't want to use it.<br /><br />But there is a lack of freely&nbsp;available&nbsp;search apis out there.<br />Google Custom search requires you to search only specific websites that you specify and not google itself.<br />Yahoo BOSS requires payment so its out for me.<br /><br />Anyone knows of what other options are out there?<br /><br />Links to the issue:<br /><a href="http://stackoverflow.com/questions/5498900/bing-api-search-results-show-different-description" target="_blank">Stack Overflow</a><br /><a href="http://www.bing.com/community/developer/f/12254/p/667751/9650589.aspx" target="_blank">Bing Community&nbsp;</a><br /><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0/" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0/" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/MBMCtAnZRNU" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2011/12/bing-20-api-is-useless.htmltag:blogger.com,1999:blog-6413936821755549970.post-2462666700749859472011-12-14T12:02:00.000+08:002011-12-14T12:02:11.650+08:00Sheevaplug Debian Install<span class="Apple-style-span" style="background-color: white;">Upgraded from the default Ubuntu install to Debian today, mainly followed the instruction by&nbsp;<span class="Apple-style-span" style="font-family: arial, sans-serif;"><a href="http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html" target="_blank">Martin Michlmayr</a>. Mostly worked but the instructions for after installation of Debian to the MMC card was slightly different for mine.</span></span><br /><div><span class="Apple-style-span" style="font-family: arial, sans-serif;"><br /></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif;">These are the ones that worked for me.</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif;"><br /></span></div><div><pre style="background-color: #e0e0e0; text-align: justify;">setenv bootargs_console console=ttyS0,115200<br />setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd'<br />setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000'<br />saveenv</pre></div><br />The main difference is the mmcinit command, on my uboot it was "mmcinit" together, for the instructions that Martin gave was "mmc init" with a space. <br /><br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0/" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0/" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/EpsqqgH69ic" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2011/12/sheevaplug-debian-install.htmltag:blogger.com,1999:blog-6413936821755549970.post-74466980690589148522011-07-25T16:58:00.004+08:002011-07-25T17:17:27.110+08:00Product Owner's Guide - Breaking down estimates<div class="posterous_autopost"><div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-cbbXTBgNQ84/Ti0zygjoMJI/AAAAAAAAAnY/hYAIeehPcVg/s1600/40918i55qm7uqmm.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="http://2.bp.blogspot.com/-cbbXTBgNQ84/Ti0zygjoMJI/AAAAAAAAAnY/hYAIeehPcVg/s320/40918i55qm7uqmm.jpg" width="320" /></a></div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"></span><br /><div style="text-align: center;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><a href="http://www.freedigitalphotos.net/images/view_photog.php?photogid=1499">Image: Ambro / FreeDigitalPhotos.net</a></span></div><div style="text-align: center;"><br /></div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Overhead this while at work.</span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">"The Product Owner wants us to break down our inital estimate on the development effort into parts like analysis, design and coding ...". </span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">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.</span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">But how is the team going to come up with such a figure anyway? I always found the statement like "Most of the time is spent in design but little in coding", 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&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.</span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">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.</span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">&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, <strong>an estimate</strong>, it's a educated guess base on whatever&nbsp;information&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 <a href="http://www.amazon.com/gp/product/0735605351/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;tag=stephensblo0a-20&amp;linkCode=as2&amp;camp=178%209&amp;creative=9325&amp;creativeASIN=0735605351">Software Estimatation</a>.</span></div><div><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><b>"Estimation should be treated as an unbiased, analytical process;</b></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><b>planning should be treated as a biased, goal-seeking process"</b></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span></div><div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">So if you ask someone for an estimate, you are asking for his opinion on how long it will take, and you shouldn't try to cut his estimate down.</span></div><div><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">More likely is the product owner is trying to get a plan from the team not an estimate, and the team's estimate isn't matching his plan. His plan can be anything, could be trying to meet some timeline for marketing, or some trade show demo.</span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">&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.</span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">&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.</span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">&nbsp; The only thing that can be reliably cut down to meet the target is actually the <strong>scope</strong> of the project. Does&nbsp;the Product Owner&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&nbsp;be good enough.<br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span></div><div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Main takeaway - Estimation and Planning are 2 different things, try to make sure what is it you are talking about.</span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=stephensblo0a-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=1934356581&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"></iframe>&nbsp; &nbsp;<iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=stephensblo0a-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=0735605351&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"></iframe></span></div></div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/miGhBnK9XF4" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2011/07/product-owner-gudie-breaking-down.htmltag:blogger.com,1999:blog-6413936821755549970.post-20207850796681905232011-04-28T00:08:00.004+08:002011-04-28T06:45:19.328+08:00Expanding your toolbox - Picking a new language to learn.<div><table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody><tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-2PUA0h3qgi4/Tbg-OU8t_3I/AAAAAAAAAlc/GdMvmlLyHps/s1600/main+thinking.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><img border="0" height="212" src="http://1.bp.blogspot.com/-2PUA0h3qgi4/Tbg-OU8t_3I/AAAAAAAAAlc/GdMvmlLyHps/s320/main+thinking.jpg" width="320" /></span></a></td></tr><tr><td class="tr-caption" style="text-align: center;"><a href="http://www.freedigitalphotos.net/images/view_photog.php?photogid=987"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">Image: graur razvan ionut / FreeDigitalPhotos.net</span></a></td></tr></tbody></table>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).<br /><br />Well as to whether Java is dying a not, I don'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.<br /><br />But the thought came to me, it is worth learning things that are marketable or should you learn things that broaden your knowledge? What's your take on it? Should you expand your toolbox or have more of the same tools?</div><div style="text-indent: 0px !important;"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></div><a href="http://www.streamhead.com/what-programming-language-to-learn-next/">Steamhead</a> takes the languages from <a href="http://www.amazon.com/gp/product/193435659X/ref=as_li_ss_tl?ie=UTF8&amp;tag=stephensblo0a-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399349&amp;creativeASIN=193435659X">Seven Languages in Seven weeks</a> 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&nbsp;interpreted&nbsp;languages like &nbsp;python and php, and the fact that their frameworks are usually simple as compared to Java ones where sometimes we&nbsp;descend&nbsp;into XML&nbsp;configuration&nbsp;hell.<br /><br /><a href="http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html">Steve Yegge</a> 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). <br /><br />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't really learn design, think stuff like design patterns (Gang of Four, <a href="http://java.sun.com/blueprints/corej2eepatterns/Patterns/">Java EE Design</a> ...), <a href="http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod">SOLID</a> principles, OO Metrics. Even if you know the syntax, you simply can't write maintainable programs and all you write lacks a certain <a href="http://manifesto.softwarecraftsmanship.org/">craftsmanship</a> to it.<br /><br />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 <b>"un OO"</b> like? Compare with Ruby its just number.abs(), simple and elegant and fits into the OO paradigm.<br /><br />In short <br /><br />If you know Java, C# go learn Lisp Dialects (Common Lisp, Clojure), Haskell, Ruby, Python...<br /><br />If you know Python, Ruby, you are pretty much there, since you straddle the limits between the 2 kingdoms.<br /><br />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.<br /><br />If in doubt just learn PHP to be marketable :)<br /><br /><br /><div style="text-indent: 0px !important;"></div><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><img border="0/" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></span></a></td><td><a href="http://www.twitter.com/stephenleejm"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><img border="0/" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></span></a></td></tr></tbody></table><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span><br /><div class="separator" style="clear: both; text-align: center;"></div><div><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=stephensblo0a-20&amp;l=bil&amp;camp=213689&amp;creative=392969&amp;o=1&amp;a=1590592395" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=stephensblo0a-20&amp;l=bil&amp;camp=213689&amp;creative=392969&amp;o=1&amp;a=193435659X" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=stephensblo0a-20&amp;l=bil&amp;camp=213689&amp;creative=392969&amp;o=1&amp;a=193435659X" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /></span></div><br /><script charset="utf-8" src="http://ws.amazon.com/widgets/q?rt=ss_mfw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822/US/stephensblo0a-20/8001/c72d110c-a7b1-4335-af9b-91e074df9294" type="text/javascript"> </script> <noscript><a href="http://ws.amazon.com/widgets/q?rt=ss_mfw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fstephensblo0a-20%2F8001%2Fc72d110c-a7b1-4335-af9b-91e074df9294&amp;Operation=NoScript">Amazon.com Widgets</a></noscript><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/KWgzkENzHO4" height="1" width="1" alt=""/>Unknownnoreply@blogger.com2http://www.stephenonsoftware.com/2011/04/expanding-your-toolbox-picking-new.htmltag:blogger.com,1999:blog-6413936821755549970.post-58742305736862258732011-02-02T11:14:00.001+08:002011-02-02T11:14:10.061+08:00One hour early a day...<div class='posterous_autopost'> My latest read is&nbsp;Robin Sharma's book (<a href="http://www.amazon.com/gp/product/1439109125?ie=UTF8&amp;tag=stephensblo0a-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1439109125">The Leader&nbsp;who had no&nbsp;title</a>), interesting read. But one statement struck me (I more or less paraphrase it) <p /> <div><strong>"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"</strong></div> <p /> <div>When i told this to some of my colleagues/friends they say wha sleep less one hour how ? Not enough time to sleep already.</div> <p /> <div><strong>"You have enough time to sleep when you are dead"&nbsp;</strong></div> <p /> <div>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&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.</div> <p /> <div>At the end of our life, lets not spend time regretting what it might have been, or what we might have done better.</div> <p /> <div>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 :)</div></div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/aX-P-xhswG0" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2011/02/one-hour-early-day.htmltag:blogger.com,1999:blog-6413936821755549970.post-11845755688640939562011-01-26T23:37:00.002+08:002011-01-26T23:37:53.414+08:00Ebooks from top StackOverflow answers<div class="posterous_autopost">Have you tried <a href="http://stackoverflow.com/">StackOverflow</a>, if you are a developer its probably one of the best resource for asking questions.<br /><div>Its a great site, what is even greater is that someone converted the best answers into an Ebook format.<br /><br />Great for bring around, the link is here&nbsp;<a href="http://hewgill.com/~greg/stackoverflow/ebooks/">http://hewgill.com/~greg/stackoverflow/ebooks/</a>. Whats nice is that it is broken up nicely into the different subject like ajax, python, c#.</div></div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/gaWzURW96zo" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2011/01/ebooks-from-top-stackoverflow-answers.htmltag:blogger.com,1999:blog-6413936821755549970.post-10655675395478413112011-01-25T17:53:00.001+08:002011-01-25T17:53:06.479+08:00Posting data with Node.js<div class='posterous_autopost'> 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't too helpful, it just say use request.write() to write data to the stream<p /> &nbsp; This is the first interation i got.<p /> &nbsp;<div class="CodeRay"> <div class="code"><pre>var http=require('http'); var post=http.createClient(80,'localhost'); var request=post.request('POST',/test.php'.{'host':'localhost'}); request.write('test=10'); request.end(); request.on('response',function(response){ response.setEncoding('utf8'); reponse.on('data',function(chunk){ console.log(chunk); } });</pre></div> </div> &nbsp;<br /> test.php is a simple php script that prints out the parameter value.<p /> &nbsp; I got nothing... nothing was printed out. What was wrong?<p /> &nbsp; Using curl and Fiddler, i did a little investigating about what went wrong, what was missing was the <strong>Content-Length</strong> and the <strong>Content-Type</strong> which needs to be <strong>application/x-www-form-urlencoded</strong>.<p /> &nbsp; Adding these 2 parameters to the script<br /><div class="CodeRay"> <div class="code"><pre>var http=require('http'); var post=http.createClient(80,'localhost'); var request=post.request('POST',/test.php'.{'host':'localhost','Content-Length':'7','Content-Type':'application/x-www-form-urlencoded'}); request.write('test=10'); request.end(); request.on('response',function(response){ response.setEncoding('utf8'); reponse.on('data',function(chunk){ console.log(chunk); } });</pre></div> </div> &nbsp;<br /> And yeah ! It works !</div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/ymJcpHxyEN4" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2011/01/posting-data-with-nodejs.htmltag:blogger.com,1999:blog-6413936821755549970.post-15537063573461033542011-01-11T17:29:00.001+08:002011-01-11T17:29:01.018+08:00JRex, Embedding Gecko (Firefox) in eclipse<div class='posterous_autopost'> 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&nbsp;of Gecko may not be the latest but should be good enough for whatever you&nbsp;would like to try out.<p />&nbsp;However looking at the code from Vijay (<a href="http://www.vijaykiran.com/2006/09/05/using-jrex-in-eclipse-rcp/">http://www.vijaykiran.com/2006/09/05/using-jrex-in-eclipse-rcp/</a><br />), i got it working and it seems to work fine, but Vijay dosen'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.<p />&nbsp;Downloads <br />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 (<a href="http://www.mozdev.org/sourc e/browse/jrex/downloads/#dirlist">http://www.mozdev.org/source/browse/jrex/downloads/#dirlist</a>).<p />&nbsp;2. But it dosen't include the jrex_gre files that are in the jnlp, those you can get them here (<a href="http://www.mozdev.org/source/browse/jrex/www/releases/jrex-1.0b1_dom3/">http://www.mozdev.org/source/browse/jrex/www/releases/jrex-1.0b1_dom3/</a>). Look for the jrex_gre.jar<p />&nbsp;Setting up your eclipse.<br />Put the jrex.dll in your&nbsp;eclipse directory, if not you will get a UnsatisfiedLinkError when you try to run the&nbsp;view. Put the&nbsp;jrex.jar in your lib folder of your project.<p />&nbsp;Unzip the jrex_gre.jar contents to a nice location you can remember. &nbsp;You will see in Vijay's code a place that you will need to supply the path to the file in org/mozilla/jrex/jrex_gre files.<p />&nbsp;That should fill up the missing pieces in Vijay's writeup.<p />I will try to package&nbsp;the source code into github at some later time.<br />&n bsp;</div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/tiLG_xYGYtU" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2011/01/jrex-embedding-gecko-firefox-in-eclipse.htmltag:blogger.com,1999:blog-6413936821755549970.post-32517317608414315002011-01-06T09:32:00.001+08:002011-01-06T09:32:09.243+08:00Fedora 14 - Using the DVD as a software repository<div class='posterous_autopost'> 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.<p /> &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/.<p /> 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.</div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/mCuBmd-wtsU" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2011/01/fedora-14-using-dvd-as-software.htmltag:blogger.com,1999:blog-6413936821755549970.post-31570083722985674802011-01-05T09:53:00.001+08:002011-01-05T09:53:24.172+08:00Resolutions 2011<div class='posterous_autopost'> My resolutions for 2011. <p /> <div style="font-family: Tahoma; font-size: 10pt;"><strong>For the personal geek in me (Probably have little to do with work)</strong></div> <div style="font-family: Tahoma; font-size: 10pt;"><br />I declare this to be the year of functional programming for me!<p /></div><img src="http://posterous.com/getfile/files.posterous.com/stephenonsoftware/gxzvGytuoADqHBEyAjHJubFJJtqutAbfFykxBeagkjmduvxuHErvqtmCcpfC/media_httpwwwlisperat_mnqzh.png.scaled500.png" width="256" height="223"/> <p /> <div style="font-family: Tahoma; font-size: 10pt;">Common Lisp&nbsp;</div> <div style="font-family: Tahoma; font-size: 10pt;">Begin by first completing Practical Common Lisp and<a href="http://www.amazon.com/gp/product/1593272812?ie=UTF8&amp;tag=stephensblo0a-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1593272812"> Land of Lisp</a>, 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.<br /></div> <p /> <div><img src="http://posterous.com/getfile/files.posterous.com/stephenonsoftware/abwuCwowIvhkkghFsAEFaGGCArpfpratdfnHqlsJIFdanqdAmFiJqEBhaACz/media_httpwwwerlangor_caDCv.png.scaled500.png" width="156" height="135"/> </div> <p /> <div><a href="http://en.wikipedia.org/wiki/Erlang_%28programming_language%29">Erlang</a></div> <div>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's designed for telephony (which has something like 9 9's of&nbsp;availability) you can actually swap in code while the system is running which i think its pretty cool.</div> <p /> <div style="font-family: Tahoma; font-size: 10pt;">Hadoop/Map Reduce</div> <div style="font-family: Tahoma; font-size: 10pt;">Always heard about MapReduce and Hadoop, I shall attempt to read google's paper on it and hopefully setup a working instance.</div> <p /> <div style="font-family: Tahoma; font-size: 10pt;">NoSQL</div> <div style="font-family: Tahoma; font-size: 10pt;"><a href="http://en.wikipedia.org/wiki/NoSQL">NoSQL</a> is getting big nowadays with <a href="http://www.readwriteweb.com/cloud/2011/01/how-twitter-uses-nosql.php">Twitter</a>&nbsp;and Facebook all moving/developing part of their infrastructure on top of NoSQL type of storage.</div> <div style="font-family: Tahoma; font-size: 10pt;">Learn at least one implementation and see how it can be worked into&nbsp;a project.</div> <p /> <div style="font-family: Tahoma; font-size: 10pt;"><strong>For the bookworm in me<br /></strong></div> <div style="font-family: Tahoma; font-size: 10pt;">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.<p />Read more "management" 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. <br />So far i have <a href="http://www.amazon.com/gp/product/0786868686?ie=UTF8&amp;tag=stephensblo0a-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0786868686">FISH! tales</a>, <a href="http://www.amazon.com/gp/product/B001OMHV0K?ie=UTF8&amp;tag=stephensblo0a-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B001OMHV0K">Why work sucks</a> from the library here with me.<p /></div> <div style="font-family: Tahoma; font-size: 10pt;"><strong>For the not so fit me<br /></strong></div> <div style="font-family: Tahoma; font-size: 10pt;">Finish taking my IPPT before June and pass it.</div> <div style="font-family: Tahoma; font-size: 10pt;">Run at least once a week at least 2.4km.</div> <div style="font-family: Tahoma; font-size: 10pt;">Attempt to run a half marathon by then end of the year. (Haha this will the hardest one in my list)<br /></div> <p /> <div style="font-family: Tahoma; font-size: 10pt;"><strong>For the bad habits in me<br /></strong></div> <div>Second guessing or&nbsp;interrupting&nbsp;people midway</div> <div>I don't know if people noticed but i do have a bad habit of either completing other people'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 <b>One Conversation at a time</b>.</div> <p /> <div style="font-family: Tahoma; font-size: 10pt;">Procrastination<br /></div> <div style="font-family: Tahoma; font-size: 10pt;">I have a habit of procrastinating, enuff said.<p /></div> <div style="font-family: Tahoma; font-size: 10pt;"><strong>For the father and husband in me</strong><br />Vacation</div> <div style="font-family: Tahoma; font-size: 10pt;">Hopefully I will have time to go for a vacation, hopefully it will be the first time that I am bringing Chloe overseas.</div> <p /> <div style="font-family: Tahoma; font-size: 10pt;">Better Father/husband</div> <div style="font-family: Tahoma; font-size: 10pt;">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, <strong>"Love for child. is simply being there"</strong>.<p />Lets look back again in 2012.<br /></div></div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/vE50xN9K9z4" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2011/01/resolutions-2011.htmltag:blogger.com,1999:blog-6413936821755549970.post-82532097004374039822010-12-28T21:07:00.001+08:002010-12-28T21:07:17.394+08:00Reflections on 2010<div class='posterous_autopost'> <div><img src="http://posterous.com/getfile/files.posterous.com/stephenonsoftware/yJBrEbBtGGtheHEncCttyGoDjFetmCnuCmmAHgueHBxEnjvrCDuDxburhfhj/media_httpfarm6static_cjeai.jpg.scaled500.jpg" width="500" height="375"/> </div><p />Well 2010 has come and soon will be gone, so time to look back.<p /><div style="font-family: Tahoma; font-size: 10pt;">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.</div><p /><div style="font-family: Tahoma; font-size: 10pt;">Being a father does entail some sacrifices, no longer will you have "your" time, but rather it will be the "family's" time or more accurately the "baby's" 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 :)</div><p /><div style="font-family: Tahoma; font-size: 10pt;">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.</div><p /><div style="font-family: Tahoma; font-size: 10pt;"><span style="font-size: small;"><a href='http://posterous.com/getfile/files.posterous.com/stephenonsoftware/iDqflifzlfDehCmyigdqhvqbsnJgqbCkBuwtwrgfdmdEwbuyrjcjhsblGAvA/media_httpdilbertcomd_aHoaf.gif.scaled1000.gif'><img src="http://posterous.com/getfile/files.posterous.com/stephenonsoftware/iDqflifzlfDehCmyigdqhvqbsnJgqbCkBuwtwrgfdmdEwbuyrjcjhsblGAvA/media_httpdilbertcomd_aHoaf.gif.scaled500.gif" width="500" height="221"/></a> </span></div><p /><div style="font-family: Tahoma; font-size: 10pt;">Work wise has been good, finally saw a project from the start to the OSAT phase, couldn'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 <a href="http://en.wikipedia.org/wiki/Peter_Principle">the Peter Principle</a>&nbsp;and the<a href="http://en.wikipedia.org/wiki/Dilbert_Principle"> Dilbert Principle</a>, hope that this is not the end yet :)</div><p /><div><a href='http://posterous.com/getfile/files.posterous.com/stephenonsoftware/bzarqIovsCiElIvfBmHaGIIAxdrDwtDnhGscBnldyegdarnudlJqAkFGeDhg/media_httpwwwsuzukimu_cIblv.jpg.scaled1000.jpg'><img src="http://posterous.com/getfile/files.posterous.com/stephenonsoftware/bzarqIovsCiElIvfBmHaGIIAxdrDwtDnhGscBnldyegdarnudlJqAkFGeDhg/media_httpwwwsuzukimu_cIblv.jpg.scaled500.jpg" width="500" height="185"/></a> </div><p /><div>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.&nbsp;</div><p /><div>Hope to play like this guy below someday!</div><div><object height="417" width="500"><param name="movie" value="http://www.youtube.com/v/JUHZy_8SGMw&hl=en&fs=1" /></param><param name="wmode" value="window" /><param name="allowFullScreen" value="true" /></param><param name="allowscriptaccess" value="always" /></param><embed src="http://www.youtube.com/v/JUHZy_8SGMw&hl=en&fs=1" allowfullscreen="true" type="application/x-shockwave-flash" allowscriptaccess="always" wmode="window" height="417" width="500"></embed></object></div><p /><div>or even this guy!</div><div><object height="417" width="500"><param name="movie" value="http://www.youtube.com/v/pJB1j5PFsQg&hl=en&fs=1" /></param><param name="wmode" value="window" /><param name="allowFullScreen" value="true" /></param><param name="allowscriptaccess" value="always" /></param><embed src="http://www.youtube.com/v/pJB1j5PFsQg&hl=en&fs=1" allowfullscreen="true" type="application/x-shockwave-flash" allowscriptaccess="always" wmode="window" height="417" width="500"></embed></object></div><p /><div>Till the next time...</div></div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/6DYzgRLs_fk" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2010/12/reflections-on-2010.htmltag:blogger.com,1999:blog-6413936821755549970.post-89472064574719191482010-11-26T21:53:00.001+08:002010-11-26T21:53:50.577+08:00Winston W Royce - Father of waterfall<div class='posterous_autopost'> &nbsp;Uncle Bob posted an article, What killed waterfall could kill agile.<a href="http://cleancoder.posterous.com/what-killed-waterfall-could-kill-agile">http://cleancoder.posterous.com/what-killed-waterfall-could-kill-agile</a>. He mentioned about a person named <a href="http://en.wikipedia.org/wiki/Winston_W._Royce">Dr Winston W Royce</a> (whom uncle bob called the "Father of waterfall") who published a paper,&nbsp; <a href="http://www.cs.umd.edu/class/spring2003/cmsc838p/Process/waterfall.pdf" class="external text" rel="nofollow">Managing the Development of Large Software Systems: Concepts and Techniques</a>, in which a system of developement now know as the Waterfall model was described.<p />&nbsp;What shocked me in that paper was not that he advocate the waterfall model, but rather he condemns it. In his own words <br />"I believe in this concept, but the implementation described above is <strong>risky and invites failure</strong>".<p />&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 "the" model of how software actually gets built. Now we know better, that's why we have things like the Agile movement,&nbsp;Kanban and so on<p /> &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.<p /> His&nbsp;4th and&nbsp;5th recommendation looked remarkably like Agile practices.<p /> &nbsp;<strong>Step 4: Plan, Control and Monitor Testing</strong><br /><strong>Testing</strong><br /><strong></strong>&nbsp;<br /><strong>Code inspection</strong><br />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.<p />&nbsp;Code Coverage<br />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.<p />&nbsp;<strong>Step 5: Involve the customer</strong><br />He knows that software design and specifications is open to a wide interpretation even after agreements, customer involvement in his words should be <strong>"formal, in-depth and continuing".&nbsp;</strong><p />&nbsp;Let's not remember Winston W Royce as "Father of the waterfall" but rather one who saw how software&nbsp;development could be done better 40 years ago.&nbsp;&nbsp;</div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/GjN9DA2ZTLI" height="1" width="1" alt=""/>Unknownnoreply@blogger.com2http://www.stephenonsoftware.com/2010/11/winston-w-royce-father-of-waterfall.htmltag:blogger.com,1999:blog-6413936821755549970.post-69252951237485786242010-11-20T08:27:00.001+08:002010-11-20T08:30:02.456+08:00Relational selects in YIIHow 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't have <a href="http://www.yiiframework.com/doc/guide/1.1/en/database.arr">many good examples</a> 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.<br /><br /><a href="http://www.yiiframework.com/tutorial/image?type=guide&amp;version=1.1&amp;lang=en&amp;file=er.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="192" src="http://www.yiiframework.com/tutorial/image?type=guide&amp;version=1.1&amp;lang=en&amp;file=er.png" width="320" /></a><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><div><br /></div><div><br />The above figure was taken from the YII <a href="http://www.yiiframework.com/doc/guide/1.1/en/database.arr">page on relational queries</a> (I was too lazy to do up my own example).</div><div><br /></div><div>We will just concentrate on the tbl_post , tbl_post_category and the tbl_category tables.</div><div><br /></div><div>I will assume you know how to <a href="http://www.yiiframework.com/doc/guide/1.1/en/database.arr#declaring-relationship">overwrite the relations function</a> in CActiveRecord to setup the relations correctly.<br /><br /></div><div>So the scenario is, I would like to retrieve posts that are in a certain category.&nbsp;</div><div><br /></div><div>The idea is to use the <a href="http://www.yiiframework.com/doc/api/1.1/CActiveRecord#with-detail"><b>with()</b> method</a> that is part of CActiveRecord, we would like to&nbsp;retrieve&nbsp;the categories together with the Posts.</div><div><br /></div><div>So the query would look like this:</div><div><br /></div><div><pre>$posts=Post::model()-&gt;with(<b>array('categories'=&gt;array('condition'=&gt;'name="FunStuff"'))</b>)-&gt;findAll();<br /></pre></div><div><br /></div><div>In the <b>with </b>portion you specify the relations that you want to load in this case <b>categories</b>, and with it you can specify the <a href="http://www.yiiframework.com/doc/guide/1.1/en/database.arr#relational-query-options">different relation query options</a> like select, condition and so on. In this case we use the "<b>condition</b>" option to specify what from categories that we want to retrieve. For this we want to retrieve all the <b>Post</b> with <b>categories</b> name = "FunStuff".<br /><br />Simple rite!<br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0/" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0/" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table></div><div><iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=stephensblo0a-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=1847199585&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"></iframe></div><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/wVYm2zz2VAw" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2010/11/relational-selects-in-yii.htmltag:blogger.com,1999:blog-6413936821755549970.post-30955702417521271682010-10-11T21:09:00.001+08:002010-10-11T21:13:10.045+08:00LOTW - 11 Oct 2010<a href="http://web.archive.org/web/20070213165045/users.ipa.net/~dwighth/smalltalk/byte_aug81/design_principles_behind_smalltalk.html">Design Principles Behind Smalltalk</a>&nbsp;- One of the most influential language although it didn't become popular. Java, Ruby all draw&nbsp;inspiration&nbsp;from it. If you are a programmer you owe it to yourself to go try Smalltalk. <a href="http://www.squeak.org/">Squeak</a> and <a href="http://pharo-project.org/home">Pharo</a>s are probably the more famous of the free implementation around.<br /><br /><a href="http://www.scribd.com/doc/38765815/Google-Answer-and-Counterclaims-v-Oracle-Filed">Google's answers to Oracle's allegations</a><br /><br />Doing quite a bit of PHP programming these days so there are the few links that might be useful<br /><a href="http://prajwalaa.wordpress.com/2009/03/19/using-emacs-to-edit-php-files/">Using Emacs to edit php files</a><br /><a href="http://code.google.com/p/geben-on-emacs/">Geben + XDebug</a> to debug php code on emacs -&nbsp; Haven tried this, so far with PHP, doing print statements still works for me.<br /><br /><a href="http://aptoncd.sourceforge.net/">AptOnCD</a> Backs up all the packages that you have installed, making it easy to restore your packages instead of downloading them all again.<br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/hOuSq0rij58" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2010/10/lotw-11-oct-2010.htmltag:blogger.com,1999:blog-6413936821755549970.post-22872523450370300922010-10-04T11:24:00.000+08:002010-10-04T11:24:00.324+08:00LOTW - 4 Oct 2010<a href="http://www.dzone.com/links/r/map_reduce_a_really_simple_introduction.html">A really simple introduction to Map Reduce</a> - Great intro to what Mappers, Groupers and Reducers are all about. I was scratching my head about <a href="http://labs.google.com/papers/mapreduce.html">Map Reduce</a> before this came about.<br /><br />How big are Facebook's data centers? This <a href="http://www.datacenterknowledge.com/the-facebook-data-center-faq/">FAQ</a> will tell you all that you need to know including servers, software, location and expansion plans.<br /><br /><a href="http://goo.gl/">Google URL shortener</a> goo.gl opens for business<br /><br />Heard of the <a href="http://www.arduino.cc/">Arduino</a>, unknown to me there is actually a&nbsp;<a href="http://netduino.com/">Netdunio </a>yeap, and it runs on .Net. <a href="http://www.hanselman.com/blog/TheNETMicroFrameworkHardwareForSoftwarePeople.aspx?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed:+ScottHanselman+(Scott+Hanselman+-+ComputerZen.com)">Scott Hanselman</a> talks about it.<br /><table><tbody><tr><td><a href="http://feeds.feedburner.com/StephenOnSoftware"><img border="0/" height="50" src="http://lh6.ggpht.com/_IWTPvXnAJ9g/TDFKTRkv3lI/AAAAAAAAAh8/d5Gx3GB-pzM/rss-85.png" width="50" /></a></td><td><a href="http://www.twitter.com/stephenleejm"><img border="0/" height="50" src="http://lh3.ggpht.com/_IWTPvXnAJ9g/TDFKToKrixI/AAAAAAAAAiA/zhGZwM_tDHc/twitter-85.png" width="50" /></a></td></tr></tbody></table><img src="http://feeds.feedburner.com/~r/StephenOnSoftware/~4/OW4qeSKIAnc" height="1" width="1" alt=""/>Unknownnoreply@blogger.com0http://www.stephenonsoftware.com/2010/10/lotw-4-oct-2010.html