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

<channel>
	<title>Beak's Blog</title>
	<atom:link href="http://www.bekas.org/john/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bekas.org/john/blog</link>
	<description>Random comments about technology and life in Mexico</description>
	<lastBuildDate>Tue, 18 Nov 2008 01:13:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Testing a SOAP interface using the Apache Axis2 Plugin</title>
		<link>http://www.bekas.org/john/blog/2008/11/17/apache-axis2-plugin-for-grails-testing/</link>
		<comments>http://www.bekas.org/john/blog/2008/11/17/apache-axis2-plugin-for-grails-testing/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 00:58:22 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[axis2]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/?p=20</guid>
		<description><![CDATA[There&#8217;s a lot of information online about using various frameworks to add SOAP functionality to a Grails application, but not much for performing a simple test of your new SOAP service.
Before starting this sample, it is necessary for you to create a Book domain object as described in the Grails Quick Start tutorial.  Create one [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a lot of information online about using various frameworks to add SOAP functionality to a Grails application, but not much for performing a simple test of your new SOAP service.</p>
<p>Before starting this sample, it is necessary for you to create a Book domain object as described in the Grails <a title="Grails Quick Start Tutorial" href="http://www.grails.org/Quick+Start" target="_self">Quick Start</a> tutorial.  Create one or two books for testing purposes.</p>
<p>After you initialize your data and have your application up and running, we can proceed.  Let&#8217;s create a SOAP service to access this data.  For this example, I utilized the <a title="Apache Axis2 Plugin for Grails" href="http://www.grails.org/Apache+Axis2+Plugin" target="_self">Apache Axis2 plugin instructions</a> to create my service.</p>
<p>To test, we can use the command line utility curl.  To do so, we first need to create a simple XML document to pass to our service.  Create a file called availableBooks.xml</p>
<pre style="padding-left: 30px;">&lt;soap:Envelope
  xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
  xmlns:axis="http://ws.apache.org/axis2"&gt;
  &lt;soap:Header/&gt;
  &lt;soap:Body&gt;
    &lt;axis:availableBooks /&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>
<p>We can now try passing this document to our service:</p>
<pre style="padding-left: 30px;">curl --header "Content-type: application/soap+xml" -i \
    --data @availableBooks.xml -X POST http://localhost:8080/soap-proto/services/test</pre>
<p>The default plugin configuration will give you this error:<br />
<strong>Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml</strong></p>
<p>You can&#8217;t just follow the instructions here because the Grails plugin framework has changed the location of this parameter.  Locate the file Axis2GrailsPlugin.groovy, and update the disableREST parameter:</p>
<pre>    "disRest"(org.wso2.spring.ws.beans.ParameterBean) {
        name = "disableREST"
        value = "false"
        locked = "false"
    }</pre>
<p>You may have to perform a &#8220;grails clean&#8221; and a restart of your application for this setting to take effect.</p>
<p>Retry your curl command from earlier.  You should now get the desired response (formatted for readability):</p>
<pre style="padding-left: 30px;">HTTP/1.1 200 OK
Content-Type: multipart/related;
  boundary=MIMEBoundaryurn_uuid_6A2C4C79E6979D3E371226968077707;
  type="application/soap+xml";
  start="&lt;0.urn:uuid:6A2C4C79E6979D3E371226968077708@apache.org&gt;";
  action="urn:availableBooksResponse"
Transfer-Encoding: chunked
Server: Jetty(6.1.4)</pre>
<pre style="padding-left: 30px;">--MIMEBoundaryurn_uuid_6A2C4C79E6979D3E371226968077707
Content-Type: application/soap+xml; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID: &lt;0.urn:uuid:6A2C4C79E6979D3E371226968077708@apache.org&gt;

&lt;?xml version='1.0' encoding='UTF-8'?&gt;
&lt;soapenv:Envelope
  xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"&gt;
  &lt;soapenv:Body&gt;
    &lt;ns:getBookByIdResponse xmlns:ns="http://ws.apache.org/axis2"&gt;
      &lt;ns:return xmlns:ax21="http://ws.apache.org/axis2/xsd" type="Book"&gt;
        &lt;ax21:author&gt;John&lt;/ax21:author&gt;
        &lt;ax21:id&gt;1&lt;/ax21:id&gt;
        &lt;ax21:name&gt;HOWTO Program&lt;/ax21:name&gt;
        &lt;ax21:version&gt;0&lt;/ax21:version&gt;
      &lt;/ns:return&gt;
    &lt;/ns:getBookByIdResponse&gt;
  &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;
--MIMEBoundaryurn_uuid_6A2C4C79E6979D3E371226968077707--</pre>
<p>You can try the same thing if you need to pass a parameter by modifying the XML request:</p>
<pre style="padding-left: 30px;">&lt;soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
  xmlns:axis="http://ws.apache.org/axis2"&gt;
   &lt;soap:Header/&gt;
   &lt;soap:Body&gt;
      &lt;axis:getBookById&gt;
        &lt;axis:id&gt;1&lt;/axis:id&gt;
      &lt;/axis:getBookById&gt;
   &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>
<p>Please note that we need to set the content type header for curl to &#8220;application/soap+xml&#8221;.  Without setting it, your application won&#8217;t know how to deal with the XML document.  Here are some common errors for other content types that I tried.  They don&#8217;t work with axis2, but they may work for other SOAP libraries:</p>
<pre style="padding-left: 30px;">"application/xml": &lt;faultstring&gt;The endpoint reference (EPR) for the Operation not
found is /soap-proto/services/test and the WSA Action = null&lt;/faultstring&gt;</pre>
<pre style="padding-left: 30px;">"text/xml" - &lt;faultstring&gt;com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]&lt;/faultstring&gt;</pre>
<p>I&#8217;ve included those error messages because it was near impossible to find the reason for them elsewhere.  Hopefully they help solve your problem.</p>
<p>If you are looking for a way to test your SOAP API through a Grails application, you can do so by creating a simple Controller:</p>
<pre style="padding-left: 30px;">class TestController {</pre>
<pre style="padding-left: 60px;">def index = {</pre>
<pre style="padding-left: 90px;">def soapRequest = """
&lt;soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:axis="http://ws.apache.org/axis2"&gt;
&lt;soap:Header/&gt;
&lt;soap:Body&gt;
&lt;axis:availableBooks /&gt;
&lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;
"""
def soapUrl =</pre>
<pre style="padding-left: 120px;">new URL("http://localhost:8080/my-project/services/test")</pre>
<pre style="padding-left: 90px;">def connection = soapUrl.openConnection()
connection.setRequestMethod("POST" )
connection.setRequestProperty("Content-Type" ,</pre>
<pre style="padding-left: 120px;">"application/soap+xml" )</pre>
<pre style="padding-left: 90px;">connection.doOutput = true
Writer writer = new OutputStreamWriter(connection.outputStream)
writer.write(soapRequest)
writer.flush()
writer.close()
connection.connect()
def soapResponse = connection.content.text
render(soapResponse)</pre>
<pre style="padding-left: 60px;">}</pre>
<pre style="padding-left: 30px;">}</pre>
<p>Change the XML document as necessary.  Notice the &#8220;application/soap+xml&#8221; content type being set here as well.</p>
<p>Hopefully someone else benefits from my experience piecing together this puzzle.  If so, let me know by leaving a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2008/11/17/apache-axis2-plugin-for-grails-testing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Grails documentation is not the holy grail</title>
		<link>http://www.bekas.org/john/blog/2008/11/17/grails-documentation-is-not-the-holy-grail/</link>
		<comments>http://www.bekas.org/john/blog/2008/11/17/grails-documentation-is-not-the-holy-grail/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 23:51:46 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[groovy]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/?p=17</guid>
		<description><![CDATA[Well, I obviously haven&#8217;t had much to write about this year.  That is probably going to change.  A new client I am working with is using Groovy and Grails and I&#8217;m in the process of learning them both.  It&#8217;s been about 4 weeks, and one thing is clear &#8211; beyond the introduction tutorial, the Grails [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I obviously haven&#8217;t had much to write about this year.  That is probably going to change.  A new client I am working with is using Groovy and Grails and I&#8217;m in the process of learning them both.  It&#8217;s been about 4 weeks, and one thing is clear &#8211; beyond the introduction tutorial, the Grails documentation sucks.</p>
<p>The documentation at grails.org is available online in Wiki format.  This means that the community can help to make it suck less.  However, whoever wrote the Wiki software obviously thought that useless Ajax functionality was more important than important things like edit timestamps and revision comments.</p>
<p>Nonetheless, I&#8217;ll do my part to update the documentation when I find it outdated, missing essential information, or just plain wrong.</p>
<p>Besides the first tutorial on creating a Grails application, the <a title="grails.org" href="http://grails.org" target="_self">grails.org</a> website has not been the primary source of information for me to learn about Grails.  Most of my information comes from <a title="nabble.com" href="http://nabble.com" target="_self">nabble.com</a> and <a title="markmail.org" href="http://markmail.org" target="_self">markmail.org</a>, usually found with numerous Google searches.  I&#8217;ll also recommend the Pragmatic Bookshelf Groovy Recipes book, it&#8217;s a great resource for example code.</p>
<p>Ok, time for me to stop complaining and get back to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2008/11/17/grails-documentation-is-not-the-holy-grail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magellan Triton 2000 review</title>
		<link>http://www.bekas.org/john/blog/2008/02/24/magellan-triton-2000-review/</link>
		<comments>http://www.bekas.org/john/blog/2008/02/24/magellan-triton-2000-review/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 21:22:09 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/2008/02/24/magellan-triton-2000-review/</guid>
		<description><![CDATA[
&#160;
After years of disliking my Garmin eTrex, I decided to splurge and buy a new GPS.  I decided to try another brand, as I felt the Garmin firmware was difficult to use and sluggish.  Since I use my GPS unit to geocode local businesses, a camera to take photos, and a pad of [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img src="http://www.bekas.org/john/blog/wp-content/uploads/2008/02/magellan-triton-2000.thumbnail.jpg" alt="Magellan Triton 2000" /></p>
<p align="left">&nbsp;</p>
<p align="left">After years of disliking my Garmin eTrex, I decided to splurge and buy a new GPS.  I decided to try another brand, as I felt the Garmin firmware was difficult to use and sluggish.  Since I use my GPS unit to geocode local businesses, a camera to take photos, and a pad of paper to record notes, the all-in-one functionality provided by the Triton 2000 caught my eye.</p>
<p>I purchased my Triton 2000 in January, 2008.  The price was a bit steep &#8211; $420, but the feature set made the price tag seem reasonable. Without reading the manual, I turned on the unit and hated the user interface after 2 minutes of use.  I&#8217;ve shown the unit to 2 other people and they have had similar experiences.  It&#8217;s been a month now&#8230; I am much more proficient on the unit now, but I still hate the user interface as much as ever.  I don&#8217;t write product reviews, but I felt I needed to to either 1) get the company to update the firmware to solve many of these problems, or 2) convince other potential buyers to look elsewhere.</p>
<p>I&#8217;ve broken my review into 2 parts, one for the device/UI, and one for the Windows software, VantagePoint.</p>
<h3>The Magellan Triton 2000 unit and firmware</h3>
<p align="left">One of the features that immediately caught my eye was a touch screen and its pen input.  This has probably turned into the biggest disappointment of the entire unit.  It is nearly impossible to perform any task using only the pen or only the cursor control pad.  Also, small complaint about the pen position &#8211; the unit must be designed for the 10 percent of the world&#8217;s population that is left-handed (citing Wikipedia, see reference there), since the pen release is on the left side of the unit.  It is a hassle to release it when holding the unit in your left hand.</p>
<p>There are a few places where the pen input was implemented well.  The main menu, and sub menu have big icons, easy to find and use.  The text input screen is another.  However, the places where the pen input is poorly implemented greatly outnumber the positive uses.  For example, although the menus are layered (hitting ESC will generally return you to the previous menu), there is no way to close or cancel a menu using the pen.  This forces the user to use the ESC button.  Another example is the create waypoint screen.  If you quickly want to add a waypoint, you need to scroll down to see the green &#8220;accept&#8221; checkbox.  The scroll bar is so thin that you usually end up tapping in the large comment box, popping up the text entry screen.</p>
<p>The control pad is a complete piece of junk.  It is difficult to manuever, and makes an annoying squeaky noise every time it is pressed.  It feels cheap and I fear breaking it from pushing with enough force to have it accept my commands.  Pressing down on the cursor control pad is often mistaken for pressing the enter button, which frequently causes unintended behaviors.  All too often, the control pad ceases to function, until you use the touch screen to change screens.</p>
<p>The buttons on the sides and front of the unit are well designed and have a solid feel to them.  Kudos!</p>
<p>The user interface has a variety of issues.  As mentioned previously, the menus need close or cancel functionality.  The UI tends to become unresponsive to pen input time after time.  I find that I can tap something 4 or 5 times and it will not be accepted, but then pressing the enter button on the control pad will work immediately.  Taking a photo and attaching to a previous waypoint does not work because the only waypoints that show, regardless of sort order, are the first 4 or 5 waypoints stored on the unit.  There is no scroll bar to browse for additional ones, either.  The speed of the UI is sometimes quick and responsive, and other times sluggish and painful.  It has not crashed as of this writing.</p>
<p>Setting the time&#8230; why is this so difficult?  The the time can be determined based on the timestamp in the GPS signals, but changing the time zone was difficult to find, buried deep in the profile settings.  There should be a top level menu item for settings, and the time zone should be one of the first things you can change.</p>
<p>The camera&#8230; to take a photo, you need to click on View-Media-Take Photo.  Maybe I&#8217;m too nit-picky, but &#8220;Take Photo&#8221; being under the &#8220;View&#8221; menu does not seem intuitive &#8211; Create would have been more logical.  Enough about that.  The camera start up time is between 10-15 seconds, even between photos.  The image quality makes all photos appear dark and gloomy, even under bright sunlight.</p>
<p>Start up time is better than my 4 year old Garmin unit.  Although, a minute wait, even in the same location seems too long.</p>
<p>There is no feedback when a waypoint is saved.  You are only returned to the previous menu.</p>
<p>Scrolling through the GPS screens can only be done using the Page and ESC buttons.  There should be a popup menu that easily allows you to jump to a certain screen.</p>
<p>The metal contacts of the unit are always exposed.  I&#8217;m not sure this is a good design for boating or living in a tropical environment like I do.  They are gold plated, so I&#8217;m hoping they do not rust or corrode.  I am worried about scratching the contacts when I carry the unit in a backpack or my pocket.</p>
<p>After downloading all my saved waypoints to my compuer, I wanted to erase them from the unit.  After finding the settings menu, I clicked &#8220;Clear memory&#8221;.  This not only took the waypoints, but my saved profile information as well.  The waypoint images that I took remained, and I needed to manually remove those from the Media menu.  There was also an option for &#8220;Format SD card&#8221;, I&#8217;m not certain if that would have only removed the images, the waypoints, or the profile settings.</p>
<h3>VantagePoint software for Windows</h3>
<p>It amazes me at the poor quality of software that companies are still able to create.  This software looks like something a 13 year old could whip up over a two week period.  My apologies to 13 year old programmers!</p>
<p>The unit comes with an installation CD, but there is no software actually on the CD.  You have to go to the website and download it.  You are also forced to register in order to download the software.</p>
<p>There is no typical drop-down menu bar at the top of the application.  However, this appears to be a new trend in UI design &#8211; making things more difficult for the user to find.  After all, you can&#8217;t do anything wrong if you can&#8217;t DO anything!</p>
<p>The coordinate system on the unit is in decimal format (useful for Google Maps geocoding).  However, the units in the software are in degrees/minutes/seconds.  There is no way to change the displayed units.  If you export to CSV, the units are in degrees/minutes/seconds, but exporting to LOC you can get the decimal coordinates.</p>
<p>I have not used this software for too much just yet &#8211; there is no street map software for my city of Playa del Carmen.  Therefore, my use is limited to pulling off the stored information.  With that said, I have not yet been able to find a way to remove stored waypoints from the GPS unit or manage the photo waypoints I&#8217;ve taken.</p>
<p>The settings you can configure are very limited.  For example, there is no way to change the directory for saved media retrieved from the device.  It is saved automatically to a directory located under the installation directory for VantagePoint.</p>
<p>When trying to sync media, it complains about duplicate file names that it had previously downloaded from the unit.  All images are selected by default, so you need to unselect all duplicates manually, or it will download new versions of the images and create new copies with a number appended to the file name.  This wasn&#8217;t too bad with 20 images, but I can see this turning into a nightmare under heavy use.</p>
<p>I am hoping that many of these issues can be resolved with firmware and software updates.  The cheap feel of the contol pad, sluggish response of the camera, and poor picture quality of the camera probably cannot.</p>
<p>firmware: 1, 14, 0, 46, 2007/12/21<br />
VantagePoint v. 1.25</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2008/02/24/magellan-triton-2000-review/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Did you feel the earth move?</title>
		<link>http://www.bekas.org/john/blog/2007/10/23/did-you-feel-the-earth-move/</link>
		<comments>http://www.bekas.org/john/blog/2007/10/23/did-you-feel-the-earth-move/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 08:03:17 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Google Maps]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/2007/10/23/did-you-feel-the-earth-move/</guid>
		<description><![CDATA[Well, Google finally improved their 3 year old Google Map images for the Riviera Maya, as well as added 54 new countries. I guess the Earth must have shifted a bit since they last photographed the area &#8212; all of my custom street map images no longer lined up!
Unfortunately, whatever day the aerial view images [...]]]></description>
			<content:encoded><![CDATA[<p>Well, Google finally improved their 3 year old Google Map images for the Riviera Maya, as well as added <a href="http://google-latlong.blogspot.com/2007/09/more-of-world-for-you-to-explore.html" title="More of the World for you to explore" target="_blank">54 new countries</a>. I guess the Earth must have shifted a bit since they last photographed the area &#8212; all of my custom street map images no longer lined up!</p>
<p>Unfortunately, whatever day the aerial view images were taken, there were some serious clouds hanging over Playa del Carmen&#8217;s downtown area.  Nonetheless, the new map images appear much clearer than the old ones.  Plus, they provide great views of the two brand new shopping centers built here in the last year (Centro Maya and Plaza Las Americas).  All in all, I think I like images.</p>
<p>I have regenerated my map images and re-geo-coded all my locations over at <a href="http://intheroo.com" title="In The Roo" target="_blank">In The Roo</a>, my <a href="http://intheroo.com/map.php" title="Playa del Carmen Interactive Map and Business Directory">interactive map of Playa del Carmen</a>.  If you haven&#8217;t been there in a while, please click on over.  My street map coverage has been extended and I&#8217;ve also added many little tweaks here and there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2007/10/23/did-you-feel-the-earth-move/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iPhone in Mexico?</title>
		<link>http://www.bekas.org/john/blog/2007/08/05/iphone-in-mexico/</link>
		<comments>http://www.bekas.org/john/blog/2007/08/05/iphone-in-mexico/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 05:44:14 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/2007/08/05/iphone-in-mexico/</guid>
		<description><![CDATA[I was almost certain that I&#8217;d make it back to the US for the holidays before being inundated with people wanting to show me their wonderful new iPhones.  Unfortunately, at least one of the $600 cell phones made it&#8217;s way to the Riviera Maya, and was forced upon me 2 nights ago.
Is it wrong that [...]]]></description>
			<content:encoded><![CDATA[<p>I was almost certain that I&#8217;d make it back to the US for the holidays before being inundated with people wanting to show me their wonderful new iPhones.  Unfortunately, at least one of the $600 cell phones made it&#8217;s way to the Riviera Maya, and was forced upon me 2 nights ago.</p>
<p>Is it wrong that I almost laughed when it crashed within 2 minutes of being demo&#8217;ed to me?</p>
<p>I guess not.  I&#8217;m used to Apple products crashing&#8230; My iPod Nano locks up every five or so times that I turn it on.  Playing audio files for an hour a few times a week must be extremely difficult for &#8230; an audio device.  I would imagine that a combined phone/mp3/camera/video player/photo gallery/email client/instant messenger/game system must be a little more challenging to pull off.</p>
<p>In all honesty, it&#8217;s probably the heat and humidity of the tropical environment here that causes these types of problems.  However, it&#8217;s fun to rip on people for spending more than $150 on a glorified cell phone.  <img src='http://www.bekas.org/john/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2007/08/05/iphone-in-mexico/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Buying computer supplies in the Riviera Maya</title>
		<link>http://www.bekas.org/john/blog/2007/04/29/buying-computer-supplies-in-the-riviera-maya/</link>
		<comments>http://www.bekas.org/john/blog/2007/04/29/buying-computer-supplies-in-the-riviera-maya/#comments</comments>
		<pubDate>Sun, 29 Apr 2007 20:08:52 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Life in Mexico]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/2007/04/29/buying-computer-supplies-in-the-riviera-maya/</guid>
		<description><![CDATA[Here in Playa del Carmen and the Riviera Maya, we are in serious need of a Best Buy, a MicroCenter, or a Circuit City for computer supplies.  However, many little computer shops are popping up with random collections of supplies to feed the needs of the growing computer user population here.
USB thumb drives, web [...]]]></description>
			<content:encoded><![CDATA[<p>Here in Playa del Carmen and the Riviera Maya, we are in serious need of a Best Buy, a MicroCenter, or a Circuit City for computer supplies.  However, many little computer shops are popping up with random collections of supplies to feed the needs of the growing computer user population here.</p>
<p>USB thumb drives, web cameras, and wireless accessories are pretty standard gear at these shops.  However, looking for speciality equipment is sometimes a challenge.  Cat 5 cable and connectors are at one store, but the crimp tool I need is in a store across town (and they might need to have it shipped from their store in Cancun or Merida).  It can be quite frustrating at times.</p>
<p>I had an interesting experience yesterday.  I had a client with a fried video card in her business computer.  She needed a new one ASAP.  I went on a mission to find her a replacement.  After visiting 4 different stores, I was only able to locate 1 compatible card.  All the new AGP cards had prices marked, but the PCI card I needed did not.  I asked how much, but the employee was not sure &#8211;  he guessed it was around $90.  Unfortunately, he had no way of verifying the price until the owner came in the next day.  Say what?!</p>
<p>Great! I have a client who cannot do her job because her video card is dead and the only replacement card in town can&#8217;t be purchased because there was no price tag.</p>
<p>I spent a few minutes speaking horrendous Spanish, trying to explain that my client needed it <em>right now</em>.  After I got that point across, he asked if I lived here.  I assured him that I did and gave him my business card.  He said I could come back tomorrow to pay for it.  Wow!!  Although I&#8217;m honest, and he was obviously very trusting, I felt much better convincing him to let me pay the $90 now and promising to return the next day to settle any differences.</p>
<p>Experiences like this are priceless.   I can&#8217;t imagine something like this ever happening to me in a place like Chicago.</p>
<p>And, for the curious, there appears to be a markup between 20-30% on most computer equipment compared to U.S. prices.   I&#8217;d imagine bigger chain stores with more inventory would be able to cut that down a bit and still make a nice profit.  Hint, hint &#8211; Best Buy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2007/04/29/buying-computer-supplies-in-the-riviera-maya/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with Google APIs</title>
		<link>http://www.bekas.org/john/blog/2006/12/01/fun-with-google-apis/</link>
		<comments>http://www.bekas.org/john/blog/2006/12/01/fun-with-google-apis/#comments</comments>
		<pubDate>Fri, 01 Dec 2006 07:36:28 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/2006/12/01/fun-with-google-apis/</guid>
		<description><![CDATA[During my free time, I&#8217;ve been spending some time getting to know the Google Gadgets and Google Maps API.  I&#8217;ve decided that I needed to start putting this knowledge to use, and therefore decided to finally get started working on one of my pet projects.
According to the Guinness Book of Records, Playa del Carmen [...]]]></description>
			<content:encoded><![CDATA[<p>During my free time, I&#8217;ve been spending some time getting to know the Google Gadgets and Google Maps API.  I&#8217;ve decided that I needed to start putting this knowledge to use, and therefore decided to finally get started working on one of my pet projects.</p>
<p>According to the <em>Guinness Book of Records, </em>Playa del Carmen is currently the world&#8217;s fastest growing town (by a rate of 26 percent per annum).  Paper maps of streets, restaurants, bars and hotels in the area are outdated long before they hit the tourists.  And, unfortunately, this area (by area, I mean Mexico) does not yet have a wonderful resource like <a href="http://yp.yahoo.com/" target="_blank" title="Yahoo! Yellow Pages">Yahoo! Yellow Pages</a> to easily find and display this information.</p>
<p>So, when I&#8217;m out taking my frequent walks, I&#8217;m going to try and take my handy Garmin GPS unit with me and try to start plotting some of the area&#8217;s attractions.  Who knows, maybe one of these days Google or Yahoo! will wake up and realize that Mexico needs this type of service as well, and they&#8217;ll pay me lots of money to provide them with the data I&#8217;ve collected.</p>
<p>Currently, my work in progress demonstrates how to add custom overlays (street names) on the satellite images of the area.  This is where the I&#8217;ve spent a bulk of my time thus far (it&#8217;s isn&#8217;t obvious yet!), since Google has made it a painstaking process to piece together the image tiles and make a map to work with.</p>
<p>Another piece of my project is the use of markers.  I&#8217;ve added some markers showing some bars, restaurants and hotels.  In the future, I hope to use different colored markers for each attraction, and possibly toggle the display based on user preferences.</p>
<p>I&#8217;d like to discuss my accomplishments and hurdles, but it&#8217;s late.  I&#8217;ll hopefully get around to that in future installments.  Until then, check out my progress at <a href="http://intheroo.com/map.php" target="_blank" title="Interactive map of Playa del Carmen">In The Roo Google Map &#8211; Playa del Carmen</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2006/12/01/fun-with-google-apis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yet another blogger&#8217;s opinion of IE7</title>
		<link>http://www.bekas.org/john/blog/2006/10/19/ie7_review/</link>
		<comments>http://www.bekas.org/john/blog/2006/10/19/ie7_review/#comments</comments>
		<pubDate>Fri, 20 Oct 2006 02:20:42 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/2006/10/19/ie7_review/</guid>
		<description><![CDATA[So, IE7 was released today. Aren&#8217;t you excited?  Yeah, me neither.  But, I decided to download it and see if it sucked less than IE6.  There are already thousands of reviews of IE7 out there, so I figure one more wouldn&#8217;t hurt.
Even before I got to use the new browser, I was [...]]]></description>
			<content:encoded><![CDATA[<p>So, IE7 was released today. Aren&#8217;t you excited?  Yeah, me neither.  But, I decided to download it and see if it sucked less than IE6.  There are already thousands of reviews of IE7 out there, so I figure one more wouldn&#8217;t hurt.</p>
<p>Even before I got to use the new browser, I was put off by the fact that it took about 10 minutes to install and also required the typical post-Microsoft-install reboot.  And, I noticed that it disabled my virus scanner when it started installing &#8212; doesn&#8217;t that mean that any application can do that?</p>
<p>Anyhow, on to my first impressions&#8230;</p>
<p><strong>A slimmed down, cleaner user interface</strong>.  It&#8217;s not really a shock as other MS products have been going down this path for a number of years.  However, I&#8217;m not convinced that this is a good thing.</p>
<p><strong>Tabs</strong>. I didn&#8217;t like them when Opera introduced them, but over the years, I&#8217;ve grown to love them in Firefox.  Now I find it irritating when my browser opens new windows unless I explicitly tell it to do so.  IE7&#8217;s tabs blend too much into the UI, so it&#8217;s almost difficult to see them.  I like how IE7 has a nice little tab that you can click on to open a tab.</p>
<p><strong>RSS</strong>. I didn&#8217;t play with this, but it&#8217;s cool that it&#8217;s finally supported.</p>
<p><strong>Anti-phishing security</strong>. Again, I didn&#8217;t play with it, but hopefully it&#8217;ll help the average Joe.</p>
<p><strong>Login and form completion</strong>. IE7 must have remembered my preference to not ask to store passwords for IE6.  However, I couldn&#8217;t figure out how to convince it to start asking again.  The options were set correctly under the &#8220;AutoComplete Settings&#8221; dialog, they just weren&#8217;t working.  Since I didn&#8217;t have any special settings configured already, I just used the new &#8220;Reset Internet Explorer settings&#8221; feature under the Advanced tab to get rid of any IE6 preferences that might have been lingering.  That seemed to fix the problem for a few sites.  Saving a login/password for some restricted access sites like SharePoint doesn&#8217;t appear to be an option.</p>
<p><strong>View Page Source</strong>. Why is there still no keyboard command to do this?  As a web developer, this is extremely frustrating.</p>
<p><strong>Internet Options</strong>. Instead of trimming the browser UI, they should have cleaned this configuration section up.  I&#8217;m a tech guy, and I hate trying to find how to change options in their options menu.  I pretty much just leave things alone unless some reason or another forces me to find how to tweak an option.  (See Login and Form completion above).</p>
<p><strong>Crashes and shutdown delays</strong>. After 3 hours of moderate use, I&#8217;m happy to say that it hasn&#8217;t locked up yet.  Although it has become unresponsive and/or slow, and has forced me to close the window.  Sometimes clicking on the close window icon takes 15 seconds for IE7 to give up and die.</p>
<p><strong>First-run start page</strong>. It asks you some configuration questions when you start, then sets the home page to MSN.  Fine, but I changed it to a blank page because MSN takes too long to load.  2 hours later, it decided to change back to the First-run page again.  How often is this going to happen?</p>
<p><strong>Speed</strong>. I haven&#8217;t clocked anything, but page loads appear noticably slower than Firefox and IE6.</p>
<p><strong>Page load icon</strong>. The rotating &#8220;e&#8221; has been replaced with a spinning circle on the tabs.  It gives up waiting for pages that take a long time to load.  You can only tell that the connection is still open by looking at the bottom status bar that says &#8220;Waiting for &#8230;&#8221;</p>
<p>Although I&#8217;m happy Microsoft has finally updated it&#8217;s antiquated IE6 browser, I guess I&#8217;m just underwhelmed with this latest version.  This took how many months to deliver?</p>
<p>However, now that Microsoft is once again developing IE, I hope they continue to enhance it and get compliant with all of the existing web standards instead of waiting another 5 years for their next major overhaul.    We can only hope.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2006/10/19/ie7_review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A few reasons many people don&#8217;t switch to Linux</title>
		<link>http://www.bekas.org/john/blog/2006/10/08/a-few-reasons-many-people-dont-switch-to-linux/</link>
		<comments>http://www.bekas.org/john/blog/2006/10/08/a-few-reasons-many-people-dont-switch-to-linux/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 00:00:11 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/2006/10/08/a-few-reasons-many-people-dont-switch-to-linux/</guid>
		<description><![CDATA[As I mentioned in a previous article, I was anxious to get a new machine down here so I could once again have a serious development environment.  I&#8217;m happy to say that I&#8217;ve now been up and running with Fedora Core 5 for close to two weeks.  It wasn&#8217;t all fun and games.
First [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned in a previous article, I was anxious to get a new machine down here so I could once again have a serious development environment.  I&#8217;m happy to say that I&#8217;ve now been up and running with Fedora Core 5 for close to two weeks.  It wasn&#8217;t all fun and games.</p>
<p>First off, I had been using RedHat and Fedora Core versions of Linux for more than 5 years.  I wanted to try something new, just to see what was out there.  I heard wonderful things about Ubuntu, so I thought I would give that a shot.  After verifying that the install would work with my hardware, by using the LiveDVD, I installed Ubuntu 6.0.6 and got to work.  I am not sure exactly what I did wrong, but when I tried to install new applications using their package manager, I kept running into dependency mismatches that were not automatically resolved.</p>
<p>I honestly spent 2 days trying to get my system up and running with Eclipse, Postgres, IntelliJ, Apache ant, and the Sun JDK 1.5.  It did not go smoothly, and things just constantly felt broken.  Probably the biggest decision to bail was the fact that with a fresh install, Ubuntu did not recognize my dual core CPU.  I wasn&#8217;t about to go down the path of recompiling the kernel for smp support.  If I had more time, I would have attempted another install, in case I had selected a wrong option or something, but I had work that needed to be done.<br />
So, I downloaded the FC5 DVD and got to work.  After installing and applying all of the latest updates, I was ready to roll.  The installer even recognized the 2 CPUs and installed a pre-compiled smp kernel.  Nice!</p>
<p>Unfortunately, I soon discovered, that the brand new Shuttle I had custom built did not include the built-in internal 802.11g adapter.  The nice folks at Shuttle offered to fix the problem for me after 7 days of phone tag.  Their solution involved me sending the machine back so they could install the adapter.  I explained that this was not an option as I am now living in Mexico, and shipping packages to/from the US was too much of a gamble.  Well, at least they will refund my money&#8230; it&#8217;s been over 10 days and I still haven&#8217;t seen a credit, so I&#8217;ll be bugging them again this week.</p>
<p>Unfortunately, due to setup of our network, the router is located in our bedroom, and all our computer equipment is out in our living room.  Therefore, I had a few options&#8230; 1) Run a long cable across the apartment to hook into the LAN connector (my wife would kill me), 2) Move my computer into bedroom (there&#8217;s not enough room, and my wife would kill me), 3) Buy a USB wireless adapter (can I find one in this part of Mexico?), or 4) Bridge my Windows XP machine so that I could access the network.</p>
<p>I decided option 3 was going to be the best, but I needed to find an adapter first.  So, in the meantime, I was stuck with option 4.  Suprisingly, Windows XP made the process quite simple, I&#8217;m quite pleased to say.  Unfortunately, sharing a wifi connection bridged through another machine is probably a speed demons worst nightmare!</p>
<p>Eventually, a Belkin F5D7050 USB wireless adapter was located at the local Sam&#8217;s Club.  Thanks NAFTA!</p>
<p>I had a bad feeling about Linux and USB and wireless cards playing nicely together.  My fears soon became a reality.  I spent the next 3 days trying to find a driver that would work with my adapter.  The wireless chip on the card is supposedly a rt2500 (Ralink Tech 2500), although I can only access the card by using an unsupported legacy driver for the rt73.  I was able to hobble along for a few days with using a tool called ndiswrapper to load the Windows driver&#8230; however, besides the fact that it didn&#8217;t work with wireless encryption, the stupid thing would cause a total system lockup after a few hours of use.</p>
<p>Luckily, I stumbled upon the <a title="Rt2x00 Serial Monkey" href="http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page">Rt2&#215;00 SerialMonkey</a> website.  These guys took over the maintenance of the Ralink proprietary driver when Ralink open sourced it.  They are currently in the process of rewriting, from scratch, the drivers for all of the Ralink chips.  Excellent.  After I solved a few problems, namely compiling the driver on Fedora Core (it involves a manual patch), and finding the mislabeled firmware for my chip on Ralink&#8217;s site, I was up and running.  It&#8217;s now been 2 days without a lockup.</p>
<p>Although I&#8217;m up and running with the SerialMonkey driver, I&#8217;m sad to report that any high volume network traffic (bittorrent) will cause the driver to freak out and unload.   Luckily, I don&#8217;t need that to do my work.<br />
I love the stability and reliability of Linux, the massive amount of open source and free software available; however, I am not shocked that more people haven&#8217;t made the switch just yet.  Although things like the LiveDVD from Ubuntu will help some people get a feel for Linux, getting the system functional and easy to maintain still needs some work.  I am positive that things will continue to get better.  I look forward to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2006/10/08/a-few-reasons-many-people-dont-switch-to-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Patents and Open Source Software</title>
		<link>http://www.bekas.org/john/blog/2006/07/08/software-patents-and-open-source-software/</link>
		<comments>http://www.bekas.org/john/blog/2006/07/08/software-patents-and-open-source-software/#comments</comments>
		<pubDate>Sat, 08 Jul 2006 15:38:51 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[OSS]]></category>

		<guid isPermaLink="false">http://www.bekas.org/john/blog/2006/07/08/software-patents-and-open-source-software/</guid>
		<description><![CDATA[Here is an interesting story from Bruce Perens regarding 2 lawsuits regarding patents and Open Source Software.
Software Patent Lawsuits Against Open Source Developers
]]></description>
			<content:encoded><![CDATA[<p>Here is an interesting story from Bruce Perens regarding 2 lawsuits regarding patents and Open Source Software.</p>
<p><a href="http://technocrat.net/d/2006/6/30/5032">Software Patent Lawsuits Against Open Source Developers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bekas.org/john/blog/2006/07/08/software-patents-and-open-source-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
