<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>waelchatila.com</title>
  <link>http://waelchatila.com:80/</link>
  <description>Notes on Software, Engineering and Science</description>
  <language>en</language>
  <copyright>Wael Chatila</copyright>
  <lastBuildDate>Thu, 11 Mar 2010 03:23:48 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Spot the spelling mistake for this lake</title>
    <link>http://waelchatila.com:80/2010/03/10/1268277828367.html</link>
    
      
        <description>
          A number of signs placed by local Massachusetts authorities incorrectly said &lt;b&gt;Lake Chargoggagoggmanchaoggagoggchaubunaguhgamaugg&lt;/b&gt;...while the correct spelling is &lt;b&gt;Chargoggagoggmanchauggagoggchaubunagungamaugg&lt;/b&gt;
&lt;p/&gt;
&lt;p/&gt;
Maybe they should be using Amazon&#039;s naming conventions: &lt;b&gt;LAKE C45G&lt;/b&gt;
&lt;p/&gt;
&lt;a href=&#034;http://en.wikipedia.org/wiki/Lake_Chaubunagungamaug&#034;&gt;Wikipedia Entry&lt;/a&gt;



        </description>
      
      
    
    
    
    <comments>http://waelchatila.com:80/2010/03/10/1268277828367.html#comments</comments>
    <guid isPermaLink="true">http://waelchatila.com:80/2010/03/10/1268277828367.html</guid>
    <pubDate>Thu, 11 Mar 2010 03:23:48 GMT</pubDate>
  </item>
  
  <item>
    <title>Pox Pay - PayPal X Innovate Challenge</title>
    <link>http://waelchatila.com:80/2010/03/02/1267570326347.html</link>
    
      
        <description>
          PayPal is currently holding a developer contest. I&#039;ve an entry. Anyone (developers or not) can vote for the best app. At stake is $100,000 USD. My entry is using voice biometric technology to authorize payments using PayPal&#039;s pre-approval API&#039;s. There is no password or pin involved. This 2-min youtube video below explains how it works.
&lt;br/&gt;
&lt;br/&gt;
&lt;object width=&#034;425&#034; height=&#034;344&#034;&gt;&lt;param name=&#034;movie&#034; value=&#034;http://www.youtube.com/v/XgsuR5fcwC8&amp;hl=en_US&amp;fs=1&amp;&#034;&gt;&lt;/param&gt;&lt;param name=&#034;allowFullScreen&#034; value=&#034;true&#034;&gt;&lt;/param&gt;&lt;param name=&#034;allowscriptaccess&#034; value=&#034;always&#034;&gt;&lt;/param&gt;&lt;embed src=&#034;http://www.youtube.com/v/XgsuR5fcwC8&amp;hl=en_US&amp;fs=1&amp;&#034; type=&#034;application/x-shockwave-flash&#034; allowscriptaccess=&#034;always&#034; allowfullscreen=&#034;true&#034; width=&#034;425&#034; height=&#034;344&#034;&gt;&lt;/embed&gt;&lt;/object&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
If you like my app, I humbly ask for your vote! Voting ends on March 6th 2010
&lt;br/&gt;
&lt;br/&gt;
To vote, goto 
&lt;a href=&#034;http://www.x.com/community/ppx/devchallenge1&#034;&gt;http://www.x.com/community/ppx/devchallenge1&lt;/a&gt;
&lt;br/&gt;(this is a PayPal owned site)
Search for &#034;PoxPay&#034;
&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&#034;http://www.poxpay.com&#034;&gt;http://www.poxpay.com&lt;/a&gt;
        </description>
      
      
    
    
    
    <comments>http://waelchatila.com:80/2010/03/02/1267570326347.html#comments</comments>
    <guid isPermaLink="true">http://waelchatila.com:80/2010/03/02/1267570326347.html</guid>
    <pubDate>Tue, 02 Mar 2010 22:52:06 GMT</pubDate>
  </item>
  
  <item>
    <title>Turn your roomba into a walking google bot </title>
    <link>http://waelchatila.com:80/2010/03/01/1267514760000.html</link>
    
      
        <description>
          When my latest son was born I got a little worried since he didn&#039;t look at all like me. I decided I needed a discrete device to spy on my wife while I was at work. I started hacking my roomba and made a  &lt;b&gt;G&amp;#229;&amp;#229;gleBot&lt;/b&gt; (pronounced &lt;i&gt;/google-bot/&lt;/i&gt;). G&amp;#229;&amp;#229;gleBot is a &#034;home crawler&#034; consisting of a vacuum roomba with an on board webserver and camera.
        While the vacuum goes about its business, it extracts text from the images it takes.
        The text is later put in a database on the roomba and searchable through a web interface. This was a good pretext for my wife. I, of course, also added the ability to remote control the roomba using AJAX...for spying purposes...hehe.

&lt;br/&gt;
&lt;a href=&#034;http://www.gaaglebot.com&#034;&gt;&lt;img src=&#034;http://www.gaaglebot.com/building/r2.jpg&#034; alt=&#034;GaagleBot&#034;/&gt;&lt;/a&gt;
&lt;br/&gt;
I created a dedicated site for the little fellow for fun with showcase app. &lt;a href=&#034;http://www.gaaglebot.com&#034;&gt;http://www.GaagleBot.com&lt;/a&gt;
&lt;br/&gt;
&lt;br/&gt;
This is the next version of &lt;a href=&#034;http://waelchatila.com/2006/07/13/1152788433678.html&#034;&gt;My AJAX Lego Robot&lt;/a&gt;.
I&#039;m working on yet another version of my AJAX Remote Controlled thingies...stay tuned.
        </description>
      
      
    
    
    
    <category>AJAX</category>
    
    <category>Hardware</category>
    
    <category>Java</category>
    
    <category>Games &amp; Fun</category>
    
    <category>Web</category>
    
    <comments>http://waelchatila.com:80/2010/03/01/1267514760000.html#comments</comments>
    <guid isPermaLink="true">http://waelchatila.com:80/2010/03/01/1267514760000.html</guid>
    <pubDate>Tue, 02 Mar 2010 07:26:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Running Jetty as Non Root</title>
    <link>http://waelchatila.com:80/2009/01/20/1232522160000.html</link>
    
      
        <description>
          I&#039;m kicking the tires of Jetty and am in the process of setting it up on a production machine and found that the latest Jetty realeas (6.1.14) has a really easy way to start jetty out running as root and later switch to a uid of your choice which enables you to open up server sockets on the privileged ports 80 &amp; 443. See the README file under {jetty.root}/extras/setuid. The process is just a one-liner...well, there are some more perks as you&#039;ll see at the end.
&lt;p&gt;
The README seems little bit out of date as my
&lt;div class=&#034;codeSample&#034;&gt;mvn install&lt;/div&gt;
did all of the compiling and copying steps. However, when I try to launch jetty with the new jetty-setuid.xml config file I get the following error.

&lt;div class=&#034;codeSample&#034;&gt;
2009-01-20 23:10:33.887::WARN:  Config error at &amp;lt;Set name=&#034;uid&#034;&amp;gt;jetty&amp;lt;/Set&amp;gt;
2009-01-20 23:10:33.888::WARN:  EXCEPTION
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Constructor.newInstance(libgcj.so.81)
   at org.mortbay.xml.XmlConfiguration.set(XmlConfiguration.java:405)
   at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:248)
   at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:214)
   at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:974)
   at java.lang.reflect.Method.invoke(libgcj.so.81)
   at org.mortbay.start.Main.invokeMain(Main.java:194)
   at org.mortbay.start.Main.start(Main.java:523)
   at org.mortbay.start.Main.main(Main.java:119)
Caused by: java.lang.NumberFormatException: invalid character at position 1 in jetty
   at java.lang.Integer.parseInt(libgcj.so.81)
   at java.lang.Integer.&amp;lt;init&amp;gt;(libgcj.so.81)
   at java.lang.reflect.Constructor.newInstance(libgcj.so.81)
   ...8 more
&lt;/div&gt;
My jetty-setuid.xml file looks like:
&lt;div class=&#034;codeSample&#034;&gt;
&amp;lt;Configure id=&#034;Server&#034; class=&#034;org.mortbay.setuid.SetUIDServer&#034;&amp;gt;
  &amp;lt;Set name=&#034;startServerAsPrivileged&#034;&amp;gt;false&amp;lt;/Set&amp;gt;
  &amp;lt;Set name=&#034;umask&#034;&amp;gt;2&amp;lt;/Set&amp;gt;
  &amp;lt;Set name=&#034;uid&#034;&amp;gt;jetty&amp;lt;/Set&amp;gt;
  &amp;lt;Set name=&#034;gid&#034;&amp;gt;jetty&amp;lt;/Set&amp;gt;
&amp;lt;/Configure&amp;gt;
&lt;/div&gt;
For some reason its expecting an integer instead of &#034;jetty&#034;...well well
&lt;div class=&#034;codeSample&#034;&gt;
&amp;gt; su jetty
&amp;gt; id
uid=1002(jetty) gid=1003(jetty) groups=1003(jetty)
&lt;/div&gt;
My jetty-setuid.xml now looks like:
&lt;div class=&#034;codeSample&#034;&gt;
&amp;lt;Configure id=&#034;Server&#034; class=&#034;org.mortbay.setuid.SetUIDServer&#034;&amp;gt;
  &amp;lt;Set name=&#034;startServerAsPrivileged&#034;&amp;gt;false&amp;lt;/Set&amp;gt;
  &amp;lt;Set name=&#034;umask&#034;&amp;gt;2&amp;lt;/Set&amp;gt;
  &amp;lt;Set name=&#034;uid&#034;&amp;gt;1002&amp;lt;/Set&amp;gt;
  &amp;lt;Set name=&#034;gid&#034;&amp;gt;1003&amp;lt;/Set&amp;gt;
&amp;lt;/Configure&amp;gt;
&lt;/div&gt;
...works like a charm.
        </description>
      
      
    
    
    
    <category>Unix/Linux</category>
    
    <category>Java</category>
    
    <category>Web</category>
    
    <comments>http://waelchatila.com:80/2009/01/20/1232522160000.html#comments</comments>
    <guid isPermaLink="true">http://waelchatila.com:80/2009/01/20/1232522160000.html</guid>
    <pubDate>Wed, 21 Jan 2009 07:16:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Virtualbox Port Forwarding Problems</title>
    <link>http://waelchatila.com:80/2008/11/30/1228105320000.html</link>
    
      
        <description>
          &lt;p&gt;
I&#039;ve recently started using &lt;a href=&#034;http://virtualbox.org&#034;&gt;VirtualBox&lt;/a&gt; and find it really good. However, I was setting up port forwarding with NAT according to the documentation and must have made a mistake since I got the following error while restarting the virtual machine
&lt;div class=&#034;codeSample&#034;&gt;
Failed to start virtual machine XYZ -56 (VERR_NO_DIGITS) 
&lt;/div&gt;
I tried to remove the newly added settings using 
&lt;div class=&#034;codeSample&#034;&gt;
vboxmanage setextradata XYZ ... &amp;lt;null&amp;gt;
&lt;/div&gt;
but I guess I had a typo somewhere in my initial attempt to use setextradata, and I couldn&#039;t figure out what the typo was (I had closed the command prompt window and there was no history available). I couldn&#039;t find anything online using google so I simple deleted the virtual machine and added it again using the same vdi...worked like a charm. Hope this helps someone out there.
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Unix/Linux</category>
    
    <category>Windows</category>
    
    <comments>http://waelchatila.com:80/2008/11/30/1228105320000.html#comments</comments>
    <guid isPermaLink="true">http://waelchatila.com:80/2008/11/30/1228105320000.html</guid>
    <pubDate>Mon, 01 Dec 2008 04:22:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>
