<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:georss="http://www.georss.org/georss" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0"><id>tag:blogger.com,1999:blog-38363827</id><updated>2009-06-13T05:02:38.499-07:00</updated><title type="text">Code on the Road</title><subtitle type="html">A laptop, some ideas, and a one-way ticket.</subtitle><link rel="alternate" type="text/html" href="http://www.expatsoftware.com/articles/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default?start-index=26&amp;max-results=25" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://feeds.feedburner.com/CodeOnTheRoad" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/CodeOnTheRoad" type="application/atom+xml" /><entry><id>tag:blogger.com,1999:blog-38363827.post-4400796869922411238</id><published>2009-06-13T04:30:00.000-07:00</published><updated>2009-06-13T05:02:38.509-07:00</updated><title type="text">Cloudfront Analytics from S3stat</title><content type="html">We're happy to announce that S3stat is now offering &lt;a href="http://www.s3stat.com/"&gt;Web Stats for Amazon Cloudfront&lt;/a&gt;.  
&lt;p/&gt;
It's actually pretty cool, if we do say so ourselves.  When you sign up for the service, we'll set up your Cloudfront Distributions so that they generate the necessary logfiles.  Each night, we'll download, translate and process those logs into useful reports.  You'll get web stats for your Cloudfront usage without having to do any work.  Sorted.
&lt;p/&gt;
&lt;a href="http://www.s3stat.com/" title="Web Log Analysis and Statistics for Cloudfront and Amazon S3" style="display:block;float:right;margin-left:20px;font-style:normal;text-align:center;font-size:80%;"&gt;&lt;img src="http://www.s3stat.com/images/logo_low_short.gif" border="0" style="border-width:0px!important;" alt="Web Log Analysis and Statistics for Cloudfront and Amazon S3"/&gt;&lt;br&gt;Web Stats for Cloudfront &amp; Amazon S3&lt;/a&gt; 
We also still do &lt;a href="http://www.s3stat.com/"&gt;S3 Analytics&lt;/a&gt;, just like always.  Check it out when you get a chance, and be sure to let us know what you think!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-4400796869922411238?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/_FsXhSBdT5U" height="1" width="1"/&gt;</content><link rel="related" href="http://www.s3stat.com/" title="Cloudfront Analytics from S3stat" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/4400796869922411238" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/4400796869922411238" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/_FsXhSBdT5U/cloudfront-analytics-from-s3stat.html" title="Cloudfront Analytics from S3stat" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2009/06/cloudfront-analytics-from-s3stat.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-8605391529371731166</id><published>2009-01-29T16:54:00.000-08:00</published><updated>2009-01-29T17:11:27.510-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="wordpress" /><category scheme="http://www.blogger.com/atom/ns#" term="vacation" /><category scheme="http://www.blogger.com/atom/ns#" term="Blogabond" /><title type="text">Travel Map theme for Wordpress</title><content type="html">A few months back, I spent a few hours putting together a 
&lt;a href="http://www.blogabond.com/Promo/BloggerTemplate.aspx"&gt;travel map template for Blogger&lt;/a&gt;, and mentioned it here.  Much to my surprise, people started downloading and using it.  Doing a quick search today, I see almost 500 sites running that theme now.
&lt;p/&gt;
Cool!
&lt;p/&gt;
So I figured I'd do the same for &lt;a href="http://www.wordpress.org"&gt;Wordpress&lt;/a&gt; users.  Here is a screenshot of the Theme in action:
&lt;p/&gt;
&lt;a href="http://www.blogabond.com/Promo/Wordpress-Travel-Blog-Template.aspx" title="Travel Blog theme for Wordpress"&gt;&lt;img src="http://www.blogabond.com/images/press/wordpress_template_600.jpg" alt="Travel Blog template for Blogger" border="0" width="450" /&gt;&lt;/a&gt;
&lt;p/&gt;
As you can see, it's a pretty clean look, with a Map up top that you can customize to show where you've been and where you're going.  Try it out and let me know what you think!
&lt;p/&gt;
&lt;a href="http://www.blogabond.com/Promo/Wordpress-Travel-Blog-Template.aspx"&gt;Get a free Travel Map theme for Wordpress&lt;/a&gt; from Blogabond.com!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-8605391529371731166?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/SJuiObS_qlk" height="1" width="1"/&gt;</content><link rel="related" href="http://www.blogabond.com/Promo/Wordpress-Travel-Blog-Template.aspx" title="Travel Map theme for Wordpress" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/8605391529371731166" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/8605391529371731166" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/SJuiObS_qlk/travel-map-theme-for-wordpress.html" title="Travel Map theme for Wordpress" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2009/01/travel-map-theme-for-wordpress.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-8192374674145562599</id><published>2009-01-21T11:12:00.000-08:00</published><updated>2009-01-22T11:17:54.865-08:00</updated><title type="text">Google Adsense Serving Malware?</title><content type="html">Last night, I noticed some strange behavior from one of my sites that uses AdSense.  In Internet Explorer, the site started asking me to install some plugins from google-adservice.com.  Naturally, I declined, but the install message came right back.  Eventually I had to kill the process to close the browser.
&lt;p/&gt;
This morning, I opened the same site in Chrome, and was immediately greeted with this:
&lt;p/&gt;
&lt;a href="http://img.expatsoftware.com.s3.amazonaws.com/blog/google_malware_800.gif"&gt;
&lt;img src="http://img.expatsoftware.com.s3.amazonaws.com/blog/google_malware_450.gif" border=0&gt;&lt;/a&gt;
&lt;p/&gt;
&lt;div style="font-size:8px;color:#999;border:solid 1px #ccc;padding:10px;"&gt;
"Warning: Visiting this site may harm your computer!
The website at oracle-dev.appspot.com contains elements from the site google-adservice.com, which appears to host malware – software that can hurt your computer or otherwise operate without your consent. Just visiting a site that contains malware can infect your computer.
For detailed information about the problems with these elements, visit the Google Safe Browsing diagnostic page for google-adservice.com.
Learn more about how to protect yourself from harmful software online.
 I understand that visiting this site may harm my computer.  "
&lt;/div&gt;
&lt;p/&gt;

My first suspiction was that something else was running on that page and impersonating AdSense, but no.  There's only one script include on that page, and it points to pagead2.googlesyndication.com.  It seems that somebody has found a way to push out some arbitrary script through AdSense.
&lt;p/&gt;
I did some digging around to see who else has been having this problem, and what Google was doing about it.  Nothing, it seems.  In fact, I only found one thread about it.  But 
&lt;a href="http://www.google.com/support/forum/p/AdSense/thread?tid=40ce71d66721b826&amp;hl=en&amp;fid=40ce71d66721b82600046102d76d9fc3"&gt;
that one thread&lt;/a&gt; is filled with real people that are seeing the same thing.
&lt;p/&gt;
I suspect this is an actual exploit.
&lt;p/&gt;
&lt;b&gt;EDIT: &lt;/b&gt;Here is &lt;a href="http://www.quartertothree.com/game-talk/showthread.php?t=49982"&gt;another thread&lt;/a&gt; discussing the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-8192374674145562599?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/4WFeumPqELs" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/8192374674145562599" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/8192374674145562599" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/4WFeumPqELs/google-adsense-serving-malware.html" title="Google Adsense Serving Malware?" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2009/01/google-adsense-serving-malware.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-8546212496137481247</id><published>2009-01-14T13:30:00.000-08:00</published><updated>2009-05-31T04:50:16.450-07:00</updated><title type="text">CloudFront costs compared to S3</title><content type="html">A little over a month ago, I did a quick writeup
&lt;a href="http://www.expatsoftware.com/articles/2008/11/cloudfront-performance-numbers.html"&gt;comparing Amazon's CloudFront CDN performance&lt;/a&gt; with that of Amazon S3 on its own.  The results weren't all that surprising.  CloudFront kicked the stuffing out of its older sibling in terms of latency.  Just like it was designed to do.
&lt;p/&gt;
That silly article kicked off 
&lt;a href="http://news.ycombinator.com/item?id=369366"&gt;quite a bit&lt;/a&gt; of &lt;a href="http://www.reddit.com/r/programming/comments/7ebgl/amazon_cloudfront_performance_numbers/"&gt;discussion&lt;/a&gt;, most of which was speculation about how much more expensive CloudFront was when compared with S3 on its own, and how its costs stacked up to other Content Delivery Networks.
&lt;p/&gt;
Well, keeping in the style of that last article, here is one statistically insignificant datapoint from which I'll draw a conclusion.  Namely, my Amazon Web Services bill for two months.  The following tables represent the costs of hosting imagery for &lt;a href="http://www.blogabond.com"&gt;Blogabond&lt;/a&gt;, a medium sized blog hosting platform that sees traffic of around 100,000 unique visitors per month and a little over a million pageviews:

&lt;p/&gt;
October - Amazon S3 alone&lt;br/&gt;
&lt;a href="http://img.expatsoftware.com/blog/s3_200810.gif"&gt;
&lt;img src="http://img.expatsoftware.com./blog/s3_200810_450.gif" border=0 /&gt;&lt;/a&gt;&lt;br/&gt;
&lt;b&gt;$8.12 Total&lt;/b&gt;
&lt;p/&gt;

December - Amazon S3 + CloudFront:&lt;br/&gt;
&lt;a href="http://img.expatsoftware.com.s3.amazonaws.com/blog/s3_200812.gif"&gt;
&lt;img src="http://img.expatsoftware.com.s3.amazonaws.com/blog/s3_200812_450.gif" border=0 /&gt;&lt;/a&gt;&lt;br/&gt;

&lt;a href="http://img.expatsoftware.com/blog/cloudfront_200812.gif"&gt;
&lt;img src="http://img.expatsoftware.com/blog/cloudfront_200812_450.gif" border=0 /&gt;&lt;/a&gt;&lt;br/&gt;
$6.09 + $6.28 = &lt;b&gt;$12.37 Total&lt;/b&gt;
&lt;p/&gt;

So there you have it:  It's a little less than twice as expensive to host the same content on CloudFront as compared to S3 alone.  And it's still dirt cheap at twice the price!  I don't know about you, but I'm going to stick with it.
&lt;p/&gt;


&lt;i&gt;
DISCLAIMER:  This is not intended to be a thorough, or even fair, comparison of every available CDN on the planet.  So if you happen to be a sales rep for, say, 
&lt;a href="http://www.reddit.com/r/programming/comments/7ebgl/amazon_cloudfront_performance_numbers/"&gt;Akamai, and you've got your feelings all hurt because of this post&lt;/a&gt;, please remember that it was not directed at you.
I'm sure your thing is really really great, but we're not talking about it here.
&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-8546212496137481247?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/SW2og5o4994" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/8546212496137481247" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/8546212496137481247" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/SW2og5o4994/cloudfront-costs-compared-to-s3.html" title="CloudFront costs compared to S3" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2009/01/cloudfront-costs-compared-to-s3.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-7855878293473371409</id><published>2008-11-19T02:35:00.000-08:00</published><updated>2008-11-19T02:52:21.760-08:00</updated><title type="text">CloudFront Performance Numbers</title><content type="html">Yesterday, Amazon finally released the Content Delivery Network (CDN) they had been promising for several months.  They're calling it 
&lt;a href="http://aws.amazon.com/cloudfront/"&gt;CloudFront&lt;/a&gt;, and so far it seems to be living up to expectations.
&lt;p/&gt;
It's dead simple to set up if you're already using S3 to store your content.  Both 
&lt;a href="http://www.bucketexplorer.com/documentation/cloudfront--amazon-cloudfront.html"&gt;Bucket Explorer&lt;/a&gt;
and &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/3247"&gt;S3fox&lt;/a&gt;
have already integrated CloudFront support, so you don't even need to write any new code.  Just configure a few settings, switch the CNAME records in your DNS, and suddenly your content is serving a lot faster.
&lt;p/&gt;
How much faster?  Lots.  Here are my numbers for serving a one pixel .gif file to my development machine here in the North of England (I've given URLs that are guaranteed to point to the right places, even after my CNAME changes propagate):
&lt;p/&gt;
Amazon S3:&lt;br/&gt;
&lt;a href="http://img.twiddla.com.s3.amazonaws.com/images/pixel.gif"&gt;
http://img.twiddla.com.s3.amazonaws.com/images/pixel.gif&lt;/a&gt;&lt;br/&gt;
&lt;b&gt;300ms - 800ms latency&lt;/b&gt;, ~0s download time
&lt;p/&gt;
CloudFront:&lt;br/&gt;
&lt;a href="http://d2livl246cusvi.cloudfront.net/images/pixel.gif"&gt;
http://d2livl246cusvi.cloudfront.net/images/pixel.gif&lt;/a&gt;&lt;br/&gt;
&lt;b&gt;46ms latency&lt;/b&gt;, ~0s download time
&lt;p/&gt;
S3 performance is all over the map.  As expected.  Amazon never intended S3 to be used as a direct web host, so it's no surprise that it performs like a big dumb file storage system.  
&lt;p/&gt;
CloudFront, however, is amazingly well tuned.  That 46ms time remained constant within 2ms every single time I loaded that file.  In other words, CloudFront is so much faster and more consistent that there is simply no reason not to use it for all your S3 content hosting starting today.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-7855878293473371409?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/tn52D5Mh_uY" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/7855878293473371409" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/7855878293473371409" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/tn52D5Mh_uY/cloudfront-performance-numbers.html" title="CloudFront Performance Numbers" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/11/cloudfront-performance-numbers.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-2339190379808104183</id><published>2008-10-13T06:19:00.000-07:00</published><updated>2008-10-13T06:49:12.510-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices" /><category scheme="http://www.blogger.com/atom/ns#" term="development" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="frustration" /><title type="text">How close to Zero Friction is your signup process?</title><content type="html">&lt;a href="http://stackoverflow.com"&gt;StackOverflow.com&lt;/a&gt;
just launched this last week, and it looks pretty cool.  It seems like it might be our best shot at getting back to the sort of useful discussion that we used to have on the Usenet back in the 90's.  Lots of signal, hardly any noise, and even the occasional correct answer.  Sign me up!
&lt;p/&gt;
Uh... wait a sec...  I can't sign up.
&lt;p/&gt;
StackOverflow has made the inexplicable blunder of requiring its users to sign in via &lt;a href="http://openid.net"&gt;OpenID&lt;/a&gt;.  That means you can't simply pick a username and password, but must instead go away and find yourself an OpenID provider, sign up for that, and bring it back to StackOverflow.  It's like 14 steps, depending on which provider you choose.  Observe:

&lt;p/&gt;
&lt;img src="http://img.expatsoftware.com.s3.amazonaws.com/blog/stackoverflow-logo-250.png" border="0" style="border:none;" alt="StackOverflow"/&gt;

&lt;p/&gt;
&lt;ul&gt;
&lt;li&gt;Click login
&lt;li&gt;Read a ton of instructions
&lt;li&gt;Locate and click the "get one" link
&lt;li&gt;Dismiss the javascript error popup from &lt;a href="http://openid.net"&gt;openid.net&lt;/a&gt;
&lt;li&gt;Read a bunch more instructions
&lt;li&gt;Find and click the "&lt;a href="http://www.claimid.com/"&gt;ClaimID&lt;/a&gt;" link (it's the first one on the list of providers)
&lt;li&gt;Click "Create a new account"
&lt;li&gt;Type in your information
&lt;li&gt;Open your email, find their email, click the link
&lt;li&gt;Go back to StackOverflow, click login again
&lt;li&gt;Paste in that giant URL that is now your OpenID 
&lt;li&gt;Type in your Username &amp; Password
&lt;li&gt;Type in a bunch of Personal Info
&lt;li&gt;... and you're in!  Easy as that!
&lt;/ul&gt;
&lt;p/&gt;
Now, for sake of comparison, let's take a look at the steps required to start using 
&lt;a href="http://www.twiddla.com/"&gt;
Twiddla
&lt;/a&gt;
 (the web meeting playground that we've been working on these last several months here at Expat):
&lt;p/&gt;
&lt;img src="http://www.twiddla.com/images/press/logo_100.png" border="0" alt="Twiddla" style="border:none;float:left;margin-right:20px;"/&gt;
&lt;br/&gt;
&lt;ul&gt;
&lt;li&gt;Click the "&lt;a href="http://www.twiddla.com/NewMeeting.aspx"&gt;New Meeting&lt;/a&gt;" button
&lt;/ul&gt;
&lt;br style="clear:both;"/&gt;
&lt;p/&gt;
Can you spot the difference?
&lt;p/&gt;
Look, it's not just me saying this.  Talk to any Usability expert you like, and they'll tell you that every barrier that you put in front of your users will cause a certain percentage of them to leave and not come back.  For most sites, even stopping to ask for a Username &amp; Password is too intrusive.  That's why we built Twiddla the way we did.  
&lt;p/&gt;
Our stated goal with Twiddla is to get the hell out of your way so that you can get some work done.  We've taken that idea so far that most of our users will never see a login screen of any description.  Some might not ever know they've used Twiddla at all, since we keep our Logo hidden away in the corner where it's not in your way.
&lt;p/&gt;
Can we say the same about StackOverflow's new registration system?   Unfortunately not.  For me, it was 10 minutes of grumbling "StackOverflow", "F'ng StackOverflow" under my breath while stumbling through the painful OpenID signup process.  Complete usability failure.  I can only hope they'll come to their senses and put in a reasonable username/password login like everybody else.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-2339190379808104183?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/H6sE1ppHj3I" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2339190379808104183" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2339190379808104183" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/H6sE1ppHj3I/how-close-to-zero-friction-is-your.html" title="How close to Zero Friction is your signup process?" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/10/how-close-to-zero-friction-is-your.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-4357065577308605012</id><published>2008-09-11T03:33:00.000-07:00</published><updated>2008-09-11T03:59:42.143-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="development" /><category scheme="http://www.blogger.com/atom/ns#" term="twiddla" /><title type="text">Canvas Rendering Issue in Google Chrome</title><content type="html">Pop Quiz.  What's wrong with this picture?
&lt;p/&gt;
&lt;a href="http://www.twiddla.com/test/ChromeCanvas.html" title="Google Chrome misrendering a Canvas element"&gt;
&lt;img src="http://www.twiddla.com/test/canvas_chrome.gif" alt="Google Chrome misrendering a Canvas element"/&gt;
&lt;/a&gt;
&lt;p/&gt;
That's what you'll see if you use Google Chrome to draw a rounded box in a 
&lt;a href="http://www.twiddla.com/"&gt;Twiddla meeting&lt;/a&gt; today, and it highlights a minor cosmetic issue in Chrome's Canvas rendering engine.  Oops.
&lt;p/&gt;
If you think about how you would draw a rounded box on a canvas (straight line, curve, straight line, curve...), you can quickly see what's going on in that picture.  We've told it to "turn right 90 degrees", and it though we meant "270 degrees".  Or, in math terms, &amp;pi;/2 vs. -&amp;pi;/2, which is the same as 3&amp;pi;/2, since it ends you up in the same place.
&lt;p/&gt;
&lt;a href="http://www.twiddla.com/test/ChromeCanvas.html"&gt;
Here is a Test Page that reproduces the Issue.  
&lt;/a&gt;
Try it in a few browsers and see it for yourself.
&lt;p/&gt;
The strange thing here is that Chrome is supposed to be using WebKit's Canvas engine.  WebKit runs Safari, and Safari draws that box just fine.  Funky.
&lt;p/&gt;
As far as I'm concerned, Chrome is a great browser.  With this one minor exception, it ran &lt;a href="http://www.twiddla.com/"&gt;Twiddla&lt;/a&gt; perfectly right out of the box, which is certainly more than I can say for FireFox 3 (but that's another post...), and it's rendering engine is a bit faster than Safari (but not quite as fast as Internet Explorer.  Go figure.) 
&lt;p/&gt;
Keep up the good work!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-4357065577308605012?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/QuITH23bpW4" height="1" width="1"/&gt;</content><link rel="related" href="http://www.twiddla.com/test/ChromeCanvas.html" title="Canvas Rendering Issue in Google Chrome" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/4357065577308605012" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/4357065577308605012" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/QuITH23bpW4/canvas-rendering-issue-in-google-chrome.html" title="Canvas Rendering Issue in Google Chrome" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/09/canvas-rendering-issue-in-google-chrome.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-4401216833341026566</id><published>2008-08-21T10:11:00.000-07:00</published><updated>2008-08-22T03:06:58.155-07:00</updated><title type="text">Windows Search gets worse!</title><content type="html">I have no idea how they  pulled it off, but Microsoft has somehow made it even harder to find files on your computer.  
&lt;p/&gt;
I'm already wistful for the good old days, when hitting "Search" from windows explorer would pull up an annoying dialog asking a 
&lt;a href="http://secretgeek.net/ms_search.asp"&gt;bunch of stupid questions &lt;/a&gt;
about what you wanted to search for.
&lt;p/&gt;
The one thing that old dialog had going for it, and I'm afraid that I never gave it its due credit, 
is that when you hit the Search button, it would actually, you know, 
&lt;b&gt;search your hard drive for files&lt;/b&gt;.
&lt;p/&gt;
Well, that's all gone with the new &amp; improved Search dialog.  Now, you get a bunch of even stupider questions to look at, but when you hit the Search button it immediately comes up with this:
&lt;p/&gt;
&lt;div class='borderedPhoto' &gt;&lt;a href='http://www.blogabond.com/Photos/PhotoView.aspx?imageID=31493' class='photoLink' title='Nothing found for query "manage.py" because the folder F:\ is not indexed.' &gt;&lt;img src='http://www.blogabond.com/UserPhotos/1/580/windows-search.jpg' border=0 width=480 alt='Nothing found for query "manage.py" because the folder F:\ is not indexed.'&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;i&gt;Nothing found for query "manage.py" because the folder F:\ is not indexed.&lt;/i&gt;
&lt;p/&gt;
Roughly translated:  "I didn't find anything because I didn't actually look."
&lt;p/&gt;
Now, being a reasonably computer-savvy guy, I figured it should be a simple matter of hitting the "Index this folder" button somewhere on that screen.
Uhh... maybe it's in a dropdown someplace...  in a menu maybe???

Nope.  It's nowhere.  To this day, I have no idea where to even look for the tool that might be responsible for indexing that folder.
It just became impossible to search for files anywhere except for my C drive.
&lt;p/&gt;
So here is my advice for anybody on the Microsoft Search team that might be reading this.
In the case where your clever little index of "Things on this drive" doesn't know about the 
file I'm searching for, or maybe if your clever little index doesn't actually 
&lt;b&gt;&lt;i&gt;know&lt;/i&gt;&lt;/b&gt;
anything about the hard drive in the first place,
maybe you should fall back to, you know, 
&lt;b&gt;&lt;i&gt;searching the hard drive&lt;/i&gt;&lt;/b&gt;.

It would make my life a little easier.
&lt;p/&gt;
As it is, I'm back to DOS, pulling out commands I haven't used in 15 years.

Thanks Microsoft!
&lt;p/&gt;

&lt;div style="border:solid 1px #ccc;background-color:#f0f0f0;padding:5px;font-size:90%;"&gt;
&lt;b&gt;UPDATE: 
LazyWeb&amp;trade; to the rescue!  
&lt;/b&gt;&lt;p/&gt;
This got picked up by Reddit, and 20,000 people have since written comments explaining how to actually convince Windows Search to index new content.
Since this page is now the #1 Google result for that annoying message, I figured it might help if I actually explained how to turn indexing on.   
&lt;p/&gt;
You've got three basic choices:
&lt;ul&gt;
&lt;li&gt;
Go to My Computer, right click F:\, Properties, check "Allow Indexing Service to index this disk for fast file searching."
&lt;/li&gt;
&lt;li&gt;
or, click the &lt;b&gt;text&lt;/b&gt; of that helpful error message (not the help icon), which will pop up a help page.  Read through the longwinded description of how Indexing works and how it's making your life better, and eventually you'll find some form of link that sends you to a control panel that should let you turn it on.  Somehow. 
&lt;/li&gt;
&lt;li&gt;
or, of cource, the obvious solution that anybody who's not a complete idiot (according to Reddit) would immediately know:
&lt;b&gt;Click the Dog!&lt;/b&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-4401216833341026566?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/WjzC2is4za0" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/4401216833341026566" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/4401216833341026566" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/WjzC2is4za0/windows-search-gets-worse.html" title="Windows Search gets worse!" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/08/windows-search-gets-worse.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-3911176833906766949</id><published>2008-05-28T04:02:00.000-07:00</published><updated>2008-05-28T04:25:17.306-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="vacation" /><category scheme="http://www.blogger.com/atom/ns#" term="Blogabond" /><title type="text">Travel Map template for  Blogger</title><content type="html">&lt;a href="http://www.blogabond.com/"&gt;Blogabond&lt;/a&gt; has been growing steadily this year, and one thing that has really taken off is the &lt;a href="http://www.blogabond.com/Promo/GetABlogMap.aspx"&gt;Travel Map Widget&lt;/a&gt; that lets you embed an itinerary map into your blog.
&lt;p/&gt;
At first, it might seem strange that a blogging site like Blogabond should offer tools to help people blogging elsewhere.  After all, why not just force people to migrate their stuff over to Blogabond if they want to get a little map up on top of their blog?  
&lt;p/&gt;
But there's the rub.  Forcing people to do things is &lt;b&gt;BAD&lt;/b&gt;.  People &lt;b&gt;hate&lt;/b&gt; being told what to do.  In this case, they've got a perfectly good blog going already, thank you very much, and all they want is a stinking map to put on it.  Personally, I'll take a little goodwill over a new user any day, so it makes a lot of sense to just give these little freebies away.
&lt;p/&gt;
In that spirit, you can now &lt;a href="http://www.blogabond.com/Promo/BloggerTemplate.aspx"&gt;download an entire Blogger template&lt;/a&gt; that will give you the best of all possible worlds.  Here's what it will look like if you install it on your blog:
&lt;p/&gt;
&lt;a href="http://blogabondtest.blogspot.com/" title="Travel Blog template for Blogger"&gt;&lt;img src="http://www.blogabond.com/images/press/blogger_template_400.gif" alt="Travel Blog template for Blogger" border="0" /&gt;&lt;/a&gt;
&lt;p/&gt;
So yeah, go nuts and try it out for yourself.
&lt;p/&gt;
&lt;a href="http://www.blogabond.com/Promo/BloggerTemplate.aspx"&gt;Get a free Travel Map template for Blogger&lt;/a&gt; from Blogabond.com!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-3911176833906766949?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/3iCSVea9QuA" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/3911176833906766949" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/3911176833906766949" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/3iCSVea9QuA/travel-map-template-for-blogger.html" title="Travel Map template for  Blogger" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/05/travel-map-template-for-blogger.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-2254904202347054714</id><published>2008-05-27T09:54:00.000-07:00</published><updated>2008-05-30T09:45:29.006-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="frustration" /><title type="text">The One Rule of DHTML Programming</title><content type="html">I just don't get it.
&lt;p/&gt;
How can so many smart people be so collectively bad at something as simple as Javascript on a web page?
&lt;p/&gt;
It's just not that hard.  And yet, not an hour goes by when I'm not stopped in my tracks by at least one javascript error.  And it's especially sad because many of these errors are coming from well known sites, with huge development budgets and plenty of good talent that really should know better.  Observe:
&lt;p/&gt;
&lt;img src='http://img.twiddla.com/blog/error_aws.png' style='padding:5px;border:solid 1px #ccc;'/&gt;
&lt;img src='http://img.twiddla.com/blog/error_tc.png' style='padding:5px;border:solid 1px #ccc;'/&gt;
&lt;img src='http://img.twiddla.com/blog/error_mash.png' style='padding:5px;border:solid 1px #ccc;'/&gt;
&lt;img src='http://img.twiddla.com/blog/error_oreilly.png' style='padding:5px;border:solid 1px #ccc;'/&gt;
&lt;img src='http://img.twiddla.com/blog/error_scoble.jpg' style='padding:5px;border:solid 1px #ccc;'/&gt;
&lt;p/&gt;
That was just a ten minute sample of browsing today.  
&lt;p/&gt;
&lt;h2&gt;The One Rule of DHTML Programming&lt;/h2&gt;
&lt;p/&gt;
Look, it's not that hard to do this stuff right.  In fact, here is everything you'll ever need to know about Dynamic HTML Programming with Javascript:
&lt;p/&gt;
&lt;div align='center' style='font-size:150%;font-weight:bold;border:solid 1px #ccc;padding:10px;'&gt;
Test EVERYTHING before you reference it.
&lt;/div&gt;
&lt;p/&gt;
That's it.  Simple.  Every little scrap of code you write needs to live inside its own little IF block that tests to make sure that the things it's expecting to interact with really exist.  Here's how:
&lt;p/&gt;
&lt;table border=1 style='border-collapse:collapse'&gt;
  &lt;tr valign='top'&gt;
    &lt;td width='50%' style='font-size:10px;'&gt;
      &lt;b&gt;BAD:&lt;/b&gt;
      &lt;pre&gt;gbN2Loaded.style.display='none';&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td width='50%' style='font-size:10px;'&gt;
      &lt;b&gt;Good:&lt;/b&gt;
      &lt;pre&gt;if (window.gbN2Loaded)
{
  gbN2Loaded.style.display='none';
}&lt;/pre&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr valign='top'&gt;
    &lt;td width='50%' style='font-size:10px;'&gt;
      &lt;b&gt;BAD:&lt;/b&gt;
      &lt;pre&gt;document.getElementById('myDiv').innerHTML
     = 'stuff';&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td width='50%' style='font-size:10px;'&gt;
      &lt;b&gt;Good:&lt;/b&gt;
      &lt;pre&gt;if (document.getElementById('myDiv'))
{
  document.getElementById('myDiv').innerHTML
       = 'stuff';
}&lt;/pre&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;

&lt;p/&gt;
I don't care that &lt;a href="http://code.google.com/apis/maps/documentation/"&gt;Google's API Reference&lt;/a&gt; told you to put &lt;code&gt;&amp;lt;body onunload='GUnload()'&gt;&lt;/code&gt; into all your pages.  That's just example code, and it's &lt;a href="http://www.expatsoftware.com/articles/2007/03/examplecode-productioncode.html"&gt;not intended to be used in the real world&lt;/a&gt;.  
&lt;p/&gt;
Real World Javascript will need to survive in dozens of strange browser environments that do things in strange unexpected ways, and as soon as you get it working right, Junior Dev Jimmy will accidently include it on every single page on your site and suddenly it won't be able to find the things it needs to live.  When that happens, it needs to quietly stop trying to do stuff instead of throwing error messages all over the place.
&lt;p/&gt;
&lt;h2&gt;What you need to do about it&lt;/h2&gt;
&lt;p/&gt;
Ok, cool, you've fixed everything, but you're not done yet.  There's one more thing you need to do right this second.  You need to turn on those annoying Script Error popups in both Internet Explorer and Firefox, and you need to keep them on from here on out.  Don't just do it for your own machine, but for every computer owned by every employee of your company.  
&lt;p/&gt;
Yes, I know that you turned them off on purpose because they make the internet basically unsurfable, but most casual users of your site will have them on by default.  That means that most casual users will see every single little script error that your site throws at them, and they won't like it.  Those errors are pissing off real people right this minute, and you need to know about it.  If you arrange it so that they start pissing off you and your co-workers too, you just might find the incentive to get rid of them once and for all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-2254904202347054714?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/4IJT-aFbNkM" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2254904202347054714" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2254904202347054714" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/4IJT-aFbNkM/one-rule-of-dhtml-programming.html" title="The One Rule of DHTML Programming" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/05/one-rule-of-dhtml-programming.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-5701211455469095666</id><published>2008-05-08T10:33:00.000-07:00</published><updated>2008-05-28T04:01:02.590-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="employee value" /><category scheme="http://www.blogger.com/atom/ns#" term="vacation" /><category scheme="http://www.blogger.com/atom/ns#" term="quality of life" /><title type="text">Laid off?  The one thing you absolutely need to do on the first day</title><content type="html">You're in IT, right?  So chances are you've been laid off at least once from some crappy company and it's going to happen again.  Here is my one piece of advice to you.  The single most important thing to do as soon as you make it back to your house with that box full of stuff:
&lt;p/&gt;
&lt;div style='font-size:200%;font-weight:bold;text-align:center;border:solid 1px #ccc'&gt;Book a flight&lt;/div&gt;
&lt;p/&gt;
Seriously.  Do it now, before the initial shock wears off and that logical side of your brain starts coming up with lame excuses.  You will never have a better chance to get out and see the world than right now.  You have a pile of saving and a severance package.  You've got 6 months to a year before your skills start getting rusty.  There is absolutely no reason to start looking for work immediately, and every reason to take that round-the-world trip you've always dreamed about.  Right.  Now.
&lt;p/&gt;
Trust me, your career will be just fine.  
&lt;p/&gt;
&lt;h3&gt;Where to go&lt;/h3&gt;
This is the easiest question to answer:  
&lt;a href="http://www.blogabond.com/Thailand/Bangkok"&gt;Bangkok&lt;/a&gt;.  Seriously, the mere fact that you had to ask the question indicates that you're probably not a seasoned traveler and therefore should be going to Thailand first.  I know you always wanted to do Europe, but it's crazy expensive and frankly, it's just not relaxed enough for you right now.  You're going to need some serious chilling to recover from a layoff.  Southeast Asia has that in Spades.
&lt;p/&gt;
Make your way to Khao San Road, find a room, grab a Beer Chang and talk to a few other travelers.  Your trip will plan itself from there.
&lt;p/&gt;
&lt;h4&gt;Where to go if it's May&lt;/h4&gt;
Ok, one modification to the above.  Thailand is thoroughly uninhabitable for a few months between May and July.  In that case, you're going to Africa.  Book a flight to Cape Town instead.  Follow &lt;a href="http://www.blogabond.com/TripView.aspx?tripID=6"&gt;this itinerary&lt;/a&gt; up through Zambia, Malawi and Tanzania.  Everybody there speaks English and you can get a room for $0.75.  You'll do fine.
&lt;p/&gt;
&lt;h3&gt;How long to go for&lt;/h3&gt;
You're going to want to stay gone for 6-9 months.  Less than that and it you'll be kicking yourself for not leaving enough time, and you'll be rushing through entire countries just to keep up with your itinerary.  I know that this seems silly now, but somewhere along the way somebody will ask how long you've been in Vietnam for and you'll answer "Only one month."  Timescales work differently on the road.
&lt;p/&gt;
In my experience (did I mention that I take about 9 months vacation a year and spend most of that traveling in the developing world?), I tend to start missing work after about 6 months away.  By 9 months, I'm pretty much ready to commit to a real job in a real office just so that I can start using my brain again.  Talking to other software guys on the road, it seems that this is pretty common.  You're going to want to come back eventually, so be sure to keep a few good contacts back home.
&lt;p/&gt;
Regardless of how long you plan to be gone, &lt;a href="http://www.blogabond.com/CommentView.aspx?CommentID=8226"&gt;try to book your flight one-way&lt;/a&gt;.  It will give you unlimited flexibility with your travel plans and let you pick your return date later when you know what you actually want to do.  As a last resort, pick the return date furthest in the future, since it's a lot easier to move it forward than to push it back.
&lt;p/&gt;
&lt;h3&gt;How much will it cost?&lt;/h3&gt;
I budget about $1,000 a month when I'm traveling in Southeast Asia, Central America, Africa or the Middle East.  I seldom go through that much if I'm sticking to ground transport, but over the course of a year if you consider flights into the calculations, $1,000 a month is about right.  &lt;b&gt;Stay away from the developed world&lt;/b&gt; at all costs though, or you'll quickly triple that figure!
&lt;p/&gt;
&lt;h3&gt;How do I get another job when I get back?&lt;/h3&gt;
The nice thing about a 6 month timeframe is that it gives all of your ex-coworkers time to entrench themselves in other hopeless software companies.  Email them and notice how everything around them seems to be on fire.  They need you to start tomorrow.  Line up a good offer based on one of their recommendations and book a flight home.
&lt;p/&gt;
&lt;h3&gt;Three Lame Excuses and why they're not valid:&lt;/h3&gt;

&lt;h4&gt;But I don't have any money saved...&lt;/h4&gt;
You can't possibly be serious.  Are you saying that you've been working in IT for all these years and haven't put away a lousy ten grand??? Shame on you. Get a book on life skills and open a bank account fer cryin' out loud.
&lt;p/&gt;
&lt;h4&gt;But nobody will hire me after six months away...&lt;/h4&gt;
Not true.  Nobody will hire you if you're bad at what you do and have terrible interviewing skills.  Those things won't change over the course of six months, but you might possibly wind up more relaxed (and with some good stories to tell) and that's actually a benefit when it comes to interviewing.  
&lt;p/&gt;
Regardless of what you may have heard, &lt;a href="http://www.expatsoftware.com/articles/2007/02/two-weeks-vacation-is-only.html"&gt;skilled developers are very hard to find&lt;/a&gt;.  If you fit that category, there's very little that you can do to poison your resume.  Certainly, heading off on your once-in-a-lifetime trip won't leave you unemployable. 
&lt;p/&gt;
&lt;h4&gt;But I'm married with a family and a house...&lt;/h4&gt;
Ok, you win.  You're screwed, but that's the life you chose for yourself so you're going to have to live it.  It's worth noting, however, that most Europeans wouldn't consider that a reason not to travel.  Right this second, there is a German couple pushing a stroller down a remote beach in Thailand, and they're not going home for another month.  What's your excuse again?
&lt;p/&gt;
&lt;h3&gt;Why you're not actually going to do it&lt;/h3&gt;
When you get right down to it, you'll probably find a way to talk yourself out of taking that dream trip.  You'll come up with some pretty believable excuses, but really it will come down to the fact that you're scared.
&lt;p/&gt;
That's cool.  Travel is pretty scary when you look at it from the outside. But here's the thing.  It stops being scary the moment your feet hit the pavement on Khao San Road in Bangkok.  You're going to get blasted by 100 degree heat, power-wafted by smells of the most amazing street food one minute and an open sewer the next, assaulted with music from a thousand bars, and crammed into a tiny room overlooking it all with a fan that doesn't work.  And you won't be able to wipe the silly grin off your face.
&lt;p/&gt;
Book the flight today, because every day you delay it is one more day wasted on the couch, and one more day to come up with lame excuses for why you shouldn't go.
&lt;p/&gt;
It is all good here.  Get your ass on a plane.
&lt;p/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-5701211455469095666?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/jQ1uZtlQMf4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/5701211455469095666" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/5701211455469095666" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/jQ1uZtlQMf4/laid-off-one-thing-you-absolutely-need.html" title="Laid off?  The one thing you absolutely need to do on the first day" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/05/laid-off-one-thing-you-absolutely-need.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-7853144189606155341</id><published>2008-05-03T08:43:00.000-07:00</published><updated>2008-05-28T03:58:08.459-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><title type="text">No Magic</title><content type="html">PHP used to have a cool little feature where it would automatically detect single quotes in text strings and escape them for you whenever they needed to be.  It was called Magic_quotes_runtime.  Maybe you've heard of it.  &lt;a href="http://www.google.com/search?q=magic_quotes_runtime+bug"&gt;It was a disaster&lt;/a&gt;.
&lt;p/&gt;
Countless developer hours were spent trying to chase down mysterious runtime errors where single quotes were either introduced, doubled up, or removed, causing disastrous crashes, data corruption and so much untold havoc that the feature was deprecated and eventually &lt;a href="http://es.php.net/manual/en/info.configuration.php#ini.magic-quotes-runtime"&gt;removed from PHP entirely&lt;/a&gt;.
&lt;p/&gt;
You would think that people would have learned their lesson.
&lt;p/&gt;
People are, by and large, dumb.  We make the same dumb mistakes over and over again because we didn't bother to do any research or read about the last time that somebody tried whatever stupid idea we just re-invented.  As a result, we have development frameworks and tools like &lt;a href="http://www.google.com/search?hl=en&amp;q=java+hibernate+bug"&gt;Hibernate&lt;/a&gt;, ASP.NET's &lt;a href="http://www.google.com/search?hl=en&amp;q=smartnavigation+bug"&gt;SmartNav&lt;/a&gt;, and Rails' &lt;a href="http://www.google.com/search?hl=en&amp;q=rails+activerecord+bug"&gt;ActiveRecord&lt;/a&gt;, all trying to magically solve problems that weren't very hard in the first place, and silently making a lot of people's lives a lot harder without them even realizing it.  
&lt;p/&gt;
The big problem with Magic tools is that they work fine the first time you try them.  "Wow!", you say, " It posted the page back and scrolled my browser back down to the Submit button!"  So you turn that feature on for all your pages and start to trust it.  You get used to it.  You take it for granted.  You forget you're even using it.  Then suddenly something weird starts happening with one of your pages and you can't figure out why.  
&lt;p/&gt;
Examples of this sort of side effect abound, but nobody yet has taken a stand and done something about it.  How many developer hours have been lost trying to figure out what magical SQL statement was running behind the scenes and only “Hibernating” half of an object?  How many CPU cycles have been squandered (and slanderous blog entries written) because some poor developer didn’t realize that ActiveRecord was hitting the database three times for every single row in that recordset?  Are we really so scared of Outer Joins that we allow ourselves to be subject to this torment?
&lt;p/&gt;
I’ll leave you with an axiom that I’ve been telling developers for years without much success.  Call it Kester’s Caution:
&lt;p/&gt;
&lt;div style="border:solid 1px #cccccc;padding:5px;margin:5px;background:#f0f0f0"&gt;

&lt;b&gt;Never use any language feature that describes itself as "Smart" or "Magic."&lt;/b&gt;
Such features will invariably be trying to abstract
out some behavior that is not that hard to deal with anyway, and will
make any number of incorrect assumptions about your application that
will result in strange behavior cropping up that could possibly be
described as "Magic", but certainly would never be labeled "Smart".
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-7853144189606155341?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/7Sf6K4yIOAc" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/7853144189606155341" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/7853144189606155341" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/7Sf6K4yIOAc/no-magic.html" title="No Magic" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/05/no-magic.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-7827490299206606281</id><published>2008-03-21T13:34:00.000-07:00</published><updated>2008-05-28T04:00:10.074-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices" /><category scheme="http://www.blogger.com/atom/ns#" term="Scalability" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="dogfood" /><title type="text">6 million hits a day.  Time to think scale!</title><content type="html">&lt;a href="http://twiddla.blogspot.com/2008/03/oh-yeah-we-won.html" style="float:right"&gt;&lt;img src="http://img.twiddla.com/blog/2008_web_awards.jpg" border=0&gt;&lt;/a&gt;
&lt;a href="http://www.twiddla.com/"&gt;Twiddla&lt;/a&gt; has been getting a ton of attention this week.  We picked up the &lt;a href="http://2008.sxsw.com/interactive/web_awards/winners/"&gt;Technical Achievement award at SXSW Interactive&lt;/a&gt;, and have been getting a bunch of good press ever since.  25,000 people have signed up for the service since the award was mentioned, with 7,500 of those signups happening in a single day.  It's about to get good.
&lt;p/&gt;
For me though, it's been even better.  We're finally getting enough traffic to start thinking about scaling issues. You might remember an article that I wrote a few months back, where I told people
&lt;a href="http://www.expatsoftware.com/articles/2007/06/getting-your-priorities-straight.html"&gt;not to sweat Performance and Scaling issues too much&lt;/a&gt;, but rather to focus on Readability, Debugability, Maintainability, and Development Pace.  The idea was that getting your product to market quickly and being able to move fast if necessary are more important than having the Perfect Dream System that takes forever to build.  Of course, the implied point was that when and if that Big Day came, you'd be able to move fast enough to deal with Scalability and Performance concerns as they appeared.
&lt;p/&gt;
On March 12th, 2008, I got to see first hand whether I was talking out my arse…
&lt;p/&gt;
&lt;h2&gt;3/11/2008 7:00pm: 150 signups/hr, 50 hits/sec, 0-5% CPU&lt;/h2&gt;
It's the day after the awards, and the first brief announcements are out.  Traffic has been building steadily all day, but we've seen worse.  The only crisis at the moment is that we don't yet have a &lt;a href="http://www.twiddla.com/wiki/about-us.ashx"&gt;Press Kit&lt;/a&gt;, so we're seeing writeups with the old logo and screenshots from the old UI.  D'oh!
&lt;p/&gt;
&lt;h2&gt;3/11/2008 11:00pm: 350 signups/hr, 120 hits/sec, 1-9% CPU&lt;/h2&gt;
Japan wakes up.  The Asian press really liked us, so we saw a big spike in users from China and Japan the first few days.  &lt;a href="http://www.twiddla.com/Demo/Sandbox.aspx"&gt;The sandbox&lt;/a&gt; is pretty clogged, and with 30 people drawing simultaneously it's starting to tax people's browsers.  Every once in a while, somebody navigates the sandbox over to a porn site, and people write our support line to complain.  We're wiping the sandbox every 5 minutes, but it's still not acceptable.  Gotta get a handle on that.
&lt;p/&gt;
&lt;a href="http://jas9.blogspot.com/2008/03/twiddla.html"&gt;&lt;img src="http://img.twiddla.com/blog/twiddla_mr_sparkle.png" border=0&gt;&lt;/a&gt;
&lt;p/&gt;
&lt;h2&gt;3/12/2008 9:00am: 300 signups/hr, 100 hits/sec, 1-6% CPU&lt;/h2&gt;
The sandbox is completely overloaded.  There are 100 people in there, which is too many people communicating at once for any medium to really handle.  Imagine 100 people drawing on a real whiteboard at the same time, or 100 people talking over each other on a conference call.  It just doesn't work.  To bring a little order into the picture, I fire up the Visual Studio.NET and add a little switcher that will direct traffic to any one of 5 sandboxes, each one holding 8 users.  Throw that live, and now there are 5 overloaded sandboxes. 
&lt;p/&gt;&lt;h2&gt;
3/12/2008 9:30am: 500 signups/hr, 300 hits/sec, 3-15% CPU&lt;/h2&gt;
I bump up the sandbox count to 10.  Then think better of it and bump it up to 20 before pushing.  Then think better of THAT and add a new page to show users in case all 20 of those sandboxes fill up.  Push that live.
&lt;p/&gt;&lt;h2&gt;
3/12/2008 9:41am&lt;/h2&gt;
Testing out the above changes, I am immediately redirected to a page saying "Sorry, all the Sandboxes are full."  Let me restate that:  From the time I pushed those changes live to the time I could test them out, 160 people had beaten me into the sandboxes.  Wow.
&lt;p/&gt;&lt;h2&gt;
3/12/2008 10:00am: 700 signups/hr, 500 hits/sec, 5-20% CPU&lt;/h2&gt;
Looking through the error logs, I'm starting to see our first concurrency issues.  These are the little one-in-a-million things that you'd never find in test, but that happen every ten minutes under load.  They're mostly low-hanging fruit, so I spend the next hour patching and re-deploying until the error logs go silent.  
&lt;p/&gt;&lt;h2&gt;
3/12/2008 12:00pm: 600 signups/hr, 400 hits/sec, 5-17% CPU&lt;/h2&gt;
I'd been doing all of this from my sister's house up in Ft. Worth, who I had supposedly been visiting for a couple days, but whose house I had been mostly using for an office (thanks Lisa for tolerating that, and I promise to get out and visit sometime when I'm not trying to launch a new website!)  Now I had to hop in the car and drive back to Austin to fly home.  Our trusty server will be on its own for the next 12 hours, taking the beating of its life.  I won't even know if it goes down.
&lt;p/&gt;&lt;h2&gt;
3/13/2008 4000 signups/day, 100 hits/sec, 3-10% CPU&lt;/h2&gt;
&lt;a href="http://img.twiddla.com/blog/twiddla_art_1_800.jpg" style="float:right"&gt;&lt;img src="http://img.twiddla.com/blog/twiddla_art_1.jpg" border=0&gt;&lt;br&gt;Twiddla Art&lt;/a&gt;Back in a stable place, and ready to deal with the flood of feedback emails we've been getting.  This part is fun, since most people have nice things to say, and it becomes readily apparent what features everybody wants to see.  Nothing has broken, so I actually have some time to put a few minor features live.  The "Wite-out" button was added this day, I think, and I re-did the way we handle snapshots and image exporting.
&lt;p/&gt;&lt;h2&gt;
3/14/2008 3000 signups/day, 100 hits/sec, 2-5% CPU&lt;/h2&gt;
I implemented a fix for the last little concurrency bug that we'd been seeing.  Then, while profiling that fix on the server, I noticed that TwiddleBot was flipping out.  TwiddleBot is the little service that runs the Guided Tour feature, and is also responsible for clearing out the sandboxes from time to time.  Turns out, he was also pounding the database 20 times a second, asking for instructions.  Hmm…  Chill, TwiddleBot.  Pushed a fix for that, and suddenly CPU usage dropped to zero.  Like, ZERO!  Every 5 seconds, it would spike up to 1%.  Cool.  I think we're gonna be able to scale this thing…
&lt;p/&gt;&lt;h2&gt;
One week later, ~1000 signups per day, 50 hits/sec, 0% CPU&lt;/h2&gt;
In the end, we came through our first little scaling event rather well.  We were actually a bit over-prepared.  Our colocation facility (&lt;a href="http://www.easystreet.com/"&gt;Easystreet&lt;/a&gt; in Beaverton, Oregon) had a couple extra boxes waiting to go for us, and I had taken the time a week earlier to write up and test a little software load balancer to allocate whiteboard sessions to various boxes when needed.  In the end, we didn't get to try any of that out.  Hell, we never spiked the processor on our one server over 50%.  I'd love to congratulate myself for the design choices I made all those months back when I wrote that article, but I think it's still too early in the game to conclude that we'll really scale when we ramp up to the next level.
&lt;p/&gt;
Still, it's worth noting that everything in Twiddla was built using the simple, Readable, Debuggable backend that we've been using on our more pedestrian sites for years, and it held up just fine under traffic.  When it turned out that parts of that backend needed refactoring to handle the kind of concurrency we saw last week, it was a simple 5 minute task to crack open the code, find what needed to change, and change it.  
&lt;p/&gt;
Readable, Debuggable, Maintainable.  That's the plan.  Thus far, that has enabled us to keep on top of any Performance and Scalability issues that have come along.  With luck, things will continue to work that way!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-7827490299206606281?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/Q0Su-eYLnwQ" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/7827490299206606281" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/7827490299206606281" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/Q0Su-eYLnwQ/6-million-hits-day-time-to-think-scale.html" title="6 million hits a day.  Time to think scale!" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/03/6-million-hits-day-time-to-think-scale.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-6682442719525389531</id><published>2008-02-16T03:16:00.000-08:00</published><updated>2008-02-16T03:23:04.233-08:00</updated><title type="text">Amazon goes down.  Everybody flips out.</title><content type="html">Everybody in the world is talking about the &lt;a href="http://www.techcrunch.com/2008/02/15/amazon-web-services-goes-down-takes-many-startup-sites-with-it/"&gt;Big Amazon Outage&lt;/a&gt; yesterday.  It hit us pretty hard.  A few of our sites were serving broken image links for several hours yesterday, and a service we run that relies on SQS was completely dead in the water.
&lt;p/&gt;
You know what though?  It's just not that big a deal.  I think about how reliable my stuff was before I put it up on Amazon's machines, and really it wasn't any better.  The only difference here is that I couldn't jump onto the server and do the hotfixing myself.  I didn't get to spend all day writing a patch to some low-level shared thing that suddenly started misbehaving system wide.
&lt;p/&gt;
Hey, wait a minute.  Scratch that.
&lt;p/&gt;
I didn't HAVE to do anything at all.  It was somebody else getting that page at 3AM and scrambling to get my site back up.  This is actually better from my perspective.
&lt;p/&gt;
So yeah, my sites still see the rare hour-long down window.  But now it's not my problem anymore.
&lt;p/&gt;
Cool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-6682442719525389531?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/5OCnsQrByp8" height="1" width="1"/&gt;</content><link rel="related" href="http://www.techcrunch.com/2008/02/15/amazon-web-services-goes-down-takes-many-startup-sites-with-it/" title="Amazon goes down.  Everybody flips out." /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/6682442719525389531" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/6682442719525389531" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/5OCnsQrByp8/amazon-goes-down-everybody-flips-out.html" title="Amazon goes down.  Everybody flips out." /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/02/amazon-goes-down-everybody-flips-out.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-4530771269647317324</id><published>2008-02-15T07:04:00.000-08:00</published><updated>2008-02-15T07:20:31.353-08:00</updated><title type="text">XSLT Test</title><content type="html">You can safely ignore this post.  I'm using it as a shortcut to get this page about &lt;a href="http://www.blogabond.com/xsl/vistacular.xml"&gt;vistacular margarine&lt;/a&gt; indexed as quickly as possible.
&lt;p/&gt;
If you're interested in what I'm up to, view source on that page.  It's a test to see if it's feasible to publish content as simple XML documents that look like HTML, and do all the site navigation and chrome using client-side XSLT.
&lt;p/&gt;
At this point, I doubt it's going to work, but we'll see...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-4530771269647317324?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/0YXpCpOJOg8" height="1" width="1"/&gt;</content><link rel="related" href="http://www.blogabond.com/xsl/vistacular.xml" title="XSLT Test" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/4530771269647317324" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/4530771269647317324" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/0YXpCpOJOg8/xslt-test.html" title="XSLT Test" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/02/xslt-test.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-6274013754073736387</id><published>2008-02-12T06:02:00.000-08:00</published><updated>2008-02-12T06:25:27.947-08:00</updated><title type="text">S3stat in the spotlight</title><content type="html">Amazon's Jeff Barr was kind enough to do a writeup of &lt;a href="http://www.s3stat.com/"&gt;S3stat&lt;/a&gt; on the &lt;a href="http://aws.typepad.com/aws/2008/02/s3-stat---usage.html"&gt;Amazon Web Services blog&lt;/a&gt;.  Thanks for that!
&lt;p/&gt;
I doubt that S3stat will ever bring in enough income to pay the rent, but it's nice to see that people are getting some use out of the thing.  At the end of the day, that's sorta why we build software in the first place, right?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-6274013754073736387?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/Sg6oH6rvyhk" height="1" width="1"/&gt;</content><link rel="related" href="http://aws.typepad.com/aws/2008/02/s3-stat---usage.html" title="S3stat in the spotlight" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/6274013754073736387" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/6274013754073736387" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/Sg6oH6rvyhk/s3stat-in-spotlight.html" title="S3stat in the spotlight" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/02/s3stat-in-spotlight.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-2241939183559768748</id><published>2008-02-06T13:32:00.000-08:00</published><updated>2008-05-28T03:59:32.873-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="example code" /><title type="text">A Naive Bayesian Spam Filter for C#</title><content type="html">Human-powered comment spam has been piling up recently at &lt;a href="http://www.blogabond.com"&gt;Blogabond&lt;/a&gt;, so I spent a few hours putting together a C# implementation of &lt;a href="http://www.paulgraham.com/spam.html"&gt;Paul Graham's Naive Bayesian Spam Filter algorithm&lt;/a&gt;.
&lt;p/&gt;
You can find a nice long-winded article along with the source code over at &lt;a href="http://www.codeproject.com/"&gt;The Code Project&lt;/a&gt;.  Let me know if you find it useful.  Here's a link:
&lt;p/&gt;
&lt;a href="http://www.codeproject.com/KB/recipes/BayesianCS.aspx"&gt;http://www.codeproject.com/KB/recipes/BayesianCS.aspx&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-2241939183559768748?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/W6FYbv-cvVc" height="1" width="1"/&gt;</content><link rel="related" href="http://www.codeproject.com/KB/recipes/BayesianCS.aspx" title="A Naive Bayesian Spam Filter for C#" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2241939183559768748" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2241939183559768748" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/W6FYbv-cvVc/naive-bayesian-spam-filter-for-c.html" title="A Naive Bayesian Spam Filter for C#" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/02/naive-bayesian-spam-filter-for-c.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-8798237457539295631</id><published>2008-02-03T04:07:00.000-08:00</published><updated>2009-01-29T16:51:23.790-08:00</updated><title type="text">How to Watch the Superbowl over the Internet</title><content type="html">&lt;div style="border:solid 1px #ccc;background-color:yellow;padding:10px;"&gt;
&lt;h2&gt;WARNING:  This Article is Out Of Date&lt;/h2&gt;
I wrote this a year ago and, checking now, the link below is broken.  Sorry about that!
&lt;p/&gt;
If you do find a good site that's working this year, please let me know at jason@expatsoftware.com and I'll update this article.
&lt;/div&gt;
&lt;p/&gt;

The Superbowl may be the most important event in the American sports calendar, but most of the world just doesn't care about it.  So what do you do if you're out of the country when it happens?
&lt;p/&gt;
I grew up in the Pacific Northwest, a place where it generally sucks to be most of the winter.  As soon as I could do anything about it, I made a point of getting away for at least a month or so every winter.  That did great things for my suntan, but I always seemed to be out of the country for the Superbowl.
&lt;p/&gt;
In most parts of the developing world, that wasn't such a big deal.  In Honduras, I watched the game in a beach bar over marlin steaks and beers.  In Malaysia, it was just a matter of banging on the door of the local "english pub", waking up the barman, and finding the game on TV.  On the beach in Thailand, all it took was a 6am raid to kick on the generator at one of the beach bars, thus waking up the staff and asking for a large pot of coffee while I figured out how to work the TV.   
&lt;p/&gt;
Europe, however, is a different matter.  Try convincing the surly Basque behind the counter to keep his bar open until 2am on a Sunday, and you'll see what I mean.  If you can find a hotel room with a TV, maybe you'll be in good shape, but only if they happen to have a good satellite provider that happens to carry the game.
&lt;p/&gt;
So here I am, with 11 hours to spare, furiously scouring the web, looking to find a way to stream the game to my laptop.  If you're reading this article on Superbowl Sunday, chances are you're doing the same thing.  Here's the story:
&lt;p/&gt;
The big players in streaming video don't seem to be much help.  &lt;a href="http://sports.yahoo.com/nflgamepass"&gt;Yahoo's NFL Game Pass&lt;/a&gt; doesn't do postseason games.  &lt;a href="http://www.nfl.com/superbowl"&gt;The NFL&lt;/a&gt; doesn't seem too interested in streaming their games, even after 
&lt;a href="http://www.armchairgm.com/Petition_To_The_National_Football_League"&gt;a petition from football fans&lt;/a&gt; asking for it.  &lt;a href="http://www.engadget.com/2007/08/29/nfl-and-directv-partner-on-streaming-games"&gt;DirectTV&lt;/a&gt; will actually let you watch the Superbowl live!  You just need to sign up for their $269 football season pass and then give them another $99 for their "SuperFan" program that gives you access to the Big Game.  Uh...  Thanks?
&lt;p/&gt;
&lt;h2&gt;Cricket to the rescue!&lt;/h2&gt;
What to do then?  This obscure British website called &lt;a href=""&gt;Cricket on TV&lt;/a&gt; will give you a pass to watch the Superbowl for $15.  It's that easy.  Just sign up at their site, give them your credit card details, and go start stocking up on beer &amp; pretzels.  Sorted.
&lt;p/&gt;
Again, for those just scanning down:
&lt;p/&gt;
&lt;a href=""&gt;This site had last year's Superbowl on Streaming Video, but it's gone now.&lt;/a&gt;
&lt;p/&gt;
Too bad you can't get it for free.  But hey, if you're a football fan, you know that this is important.  It's worth the money.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-8798237457539295631?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/hA6UJmwANYQ" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/8798237457539295631" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/8798237457539295631" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/hA6UJmwANYQ/how-to-watch-superbowl-over-internet.html" title="How to Watch the Superbowl over the Internet" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2008/02/how-to-watch-superbowl-over-internet.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-1453473433929836967</id><published>2007-11-05T07:34:00.000-08:00</published><updated>2007-12-14T02:37:15.175-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices" /><category scheme="http://www.blogger.com/atom/ns#" term="S3" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="S3stat" /><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title type="text">Roll your own Web Stats for Amazon S3</title><content type="html">&lt;div style="border:solid 1px #cccccc;font-style:italic;padding:5px;background-color:#f0f0f0;font-size:90%;"&gt;
&lt;b&gt;Edit:&lt;/b&gt;
&lt;br&gt;
&lt;a href="http://www.s3stat.com/" title="Web Log Analysis and Statistics for Amazon S3" style="display:block;float:right;margin-left:20px;font-style:normal;text-align:center;"&gt;&lt;img src="http://www.s3stat.com/images/logo_low_short.gif" border="0" style="border-width:0px!important" alt="Web Log Analysis and Statistics for Amazon S3"/&gt;&lt;br&gt;Web Stats for Amazon S3&lt;/a&gt;
This was written before we launched &lt;a href="http://www.s3stat.com/"&gt;S3stat&lt;/a&gt;, a service that parses your Amazon S3 server access logs and delivers usage reports back to your S3 bucket. 
&lt;br&gt;&lt;br&gt;
So if you're not interested in the technical details, and just want web stats for your S3 account, you can head over to &lt;a href="http://www.s3stat.com/"&gt;www.S3stat.com&lt;/a&gt; and save yourself a bunch of hassle.
&lt;/div&gt;
&lt;p/&gt;
Amazon's &lt;a href="s3.amazonaws.com"&gt;Simple Storage Service&lt;/a&gt; (S3) is a great content delivery network for those of us with modest needs.  It's got all the buzzwords you could possibly want: geo-targeted delivery, fully redundant storage, guaranteed 99.9% uptime, and a bunch of other stuff that you could never pull off on your own.  And it's dirt cheap.
&lt;p/&gt;
Of course, there's always a catch, and in S3's case you'll soon find that your $4.83 a month doesn't buy you much in the way of reports.  With some digging around at Amazon's AWS site, you can find out how much you were charged last month, but that's about it.  (OK, If you're persistent, you can download a CSV report full of tiny fractions of pennies that, when added together, tell you how much you were charged last month.)
&lt;p/&gt;
&lt;h2&gt;The Motivation&lt;/h2&gt;
I love my web statistics.  I'm up and waiting at 12:07am every morning for the nightly Webalizer job to run so that I can see how many unique visitors came in to &lt;a href="http://www.blogabond.com/"&gt;Blogabond&lt;/a&gt; today (1227), and what they were searching for (&lt;a href="http://www.blogabond.com/CommentView.aspx?CommentID=176"&gt;tourist trap in Beijing&lt;/a&gt;).  I've been hosting my user's photos out at S3 for a few months now, and though I've watched my bandwidth usage drop through the floor, I've also been missing my web stats fix for all those precious pageviews.  Something had to be done.  I started digging around through Amazon's AWS docs.
&lt;p/&gt;
It turns out that you can actually get detailed usage logs out of S3, and if you're willing to suffer through some tedium, you can even get useful reports out of them. 
&lt;p/&gt;
&lt;h2&gt;Setting it up&lt;/h2&gt;
&lt;!--&lt;div style="border:1px solid #cccccc;padding:10px;margin:10px;width:40%;float:right;"&gt;&lt;b&gt;Edit:&lt;/b&gt;
I'm going to walk you through the process, and then I'm going to offer to do it for you.  So if you don't really care how it works, and just want to see the pretty graphs, scroll down to the bottom of this article and click the link to &lt;a href="http://www.s3stat.com/"&gt;get your stats&lt;/a&gt;
&lt;/div&gt;--&gt;Turning on Server Access Logging is just about the easiest thing that you can do in S3.  If you've ever tried to use Amazon's APIs, you can translate that to mean that it's hard.  It takes two steps, and unless you're looking at a Unix command prompt, you'll need to write some custom code to pull it off.  Here's what you do:
&lt;p/&gt;
1. Set the proper permissions for the bucket you'd like to log.  You'll need to add a special Logging user to the Access Control List for the bucket, and give that user permission to upload and modify files.
&lt;p/&gt;
2. Send the "Start Logging" command, including a little XML packet filled with settings for your bucket.
&lt;p/&gt;
The nice people at Amazon have put together a &lt;a href="http://docs.amazonwebservices.com/AmazonS3/2006-03-01/LoggingHowTo.html"&gt;simple 4 page walkthrough&lt;/a&gt; that you can follow to accomplish the above.  I've run through it, and it works as advertised
&lt;p/&gt;
&lt;h2&gt;Parsing the logs&lt;/h2&gt;
Now we're getting to the fun part.  Remember above where we noted that S3 has servers living all over the world delivering redundant copies of your content to users in different countries?  Well now we get to pay the price for that.  You see, Amazon sort of punted on the issue of how to put all those server logs back together into something you can use.  Instead, every once in a while, each server will hand you back a little log fragment containing anywhere between 1 and 1,000,000 lines of data.  Over a 24 hour period, you can expect to accumulate about 200 files, ordered roughly by date but overlapping substantially with one another.
&lt;p/&gt;
So, now in order to get a single day's logs into a usable form, we get to:
&lt;p/&gt;
3. Download the day's logs.  This is simple enough, as the S3 Rest API gives us a nice ListBucket() method that accepts a file filter.  We can ask for, say all files that match the pattern "log/access_log-2007-10-25-*", and download each file individually.  We'll end up with a folder containing something like this:
&lt;p/&gt;
&lt;pre style="width:500px;overflow:auto;"&gt;10/30/2007  02:13 PM            21,380 access_log-2007-10-25-10-22-37-2C695527C7FEAEE5
10/30/2007  02:13 PM            19,653 access_log-2007-10-25-10-22-37-8FFF80109E278103
10/30/2007  02:13 PM            15,829 access_log-2007-10-25-10-23-24-D97886677E5A8670
10/30/2007  02:13 PM           185,195 access_log-2007-10-25-10-24-11-7F5172BFA139167D
10/30/2007  02:13 PM            94,795 access_log-2007-10-25-10-27-14-3EDC4E89A03E96EB
10/30/2007  02:13 PM             3,812 access_log-2007-10-25-10-32-20-DD96FC8F8B880232
10/30/2007  02:13 PM           121,863 access_log-2007-10-25-10-33-59-A44E699EE741CEF7
10/30/2007  02:13 PM            51,315 access_log-2007-10-25-10-39-52-313F98B8F52AA150
10/30/2007  02:13 PM            34,984 access_log-2007-10-25-11-18-37-DE9AB5D324881BC2
10/30/2007  02:13 PM             8,451 access_log-2007-10-25-11-22-16-BC5BCE4A49C4EC44
10/30/2007  02:13 PM            10,271 access_log-2007-10-25-11-22-54-54F77DE85AD20F84
10/30/2007  02:13 PM            14,949 access_log-2007-10-25-11-23-28-08D3DED923404EA5&lt;/pre&gt;
&lt;p/&gt;
4. Transform columns from S3's &lt;a href="http://docs.amazonwebservices.com/AmazonS3/2006-03-01/LogFormat.html"&gt;Server Access Log Format&lt;/a&gt; into the more useful &lt;a href="http://httpd.apache.org/docs/1.3/mod/mod_log_config.html"&gt;Combined Logfile Format&lt;/a&gt;.  In the Unix world, we could easily pull this off with sed.  In this case though, we might actually want to process each line by hand, since we still need to...
&lt;p/&gt;
5. Concatenate and Sort records into a single file.  There are lots of ways to accomplish this, and they're all a bit painful and slow.  When I did this myself, I wrote a little combined transformer/sorter that spun through all the files at once and accomplished steps 4 and 5 in a single pass.  Still, there's lots of room here for speed tweaking, so I'll leave this one as an exercise for the reader.
&lt;p/&gt;
6. Feed the output from Step 5 into your favorite Web Log Analyzer.  This is the big payoff, since you'll soon be looking at some tasty HTML files full of charts and graphs.  I prefer the output produced by &lt;a href="http://www.mrunix.net/webalizer/
"&gt;The Webalizer&lt;/a&gt;, but there are plenty of free and cheap options out there for this.
&lt;p/&gt;
&lt;h2&gt;Wrapping up&lt;/h2&gt;
And that's about it.  Now all that's left is to tape it all together into a single script and set it to run as a nightly job.  Keep in mind that S3 dates its files using Greenwich Mean Time, so, depending where you live, you might have to wait a few extra hours past midnight before you can process your logs.
&lt;p/&gt;
All together, this took me a little more than a day of effort to get a good script running.  It wasn't easy, but then nothing about administering S3 ever is.  
&lt;p/&gt;
&lt;h2&gt;Epilogue (the birth of S3&lt;small&gt;STAT&lt;/small&gt;.com)&lt;/h2&gt;
I went through this pain and wrote this article about a week ago.  Before posting it, it occurred to me that hardly anybody will ever actually follow the steps that I outlined above.  It's just too much work, with too little payoff.
&lt;p/&gt;
What the world needs is a simple service that people can use to just automate the process.  Type in your access keys and bucket name, and it will just set everything up for you.
&lt;p/&gt;
Let's see...  People need this thing...  I've already built it...   ...umm...  Hey!  I've got an idea!
&lt;p/&gt;
&lt;a href="http://www.s3stat.com/" title="Web Log Analysis and Statistics for Amazon S3" style="float:right;margin-left:20px;"&gt;&lt;img src="http://www.s3stat.com/images/logo_low_short.gif" border="0" style="border-width:0px!important" alt="Web Log Analysis and Statistics for Amazon S3"/&gt;&lt;/a&gt;So yeah, get yourself over to &lt;a href="http://www.s3stat.com/"&gt;www.s3stat.com&lt;/a&gt; and sign up for an account.  It's a service that does everything I described above, and gives you pretty charts and graphs of your S3 usage without any setup hassle.  At some point I'm going to start charging a buck a month to cover the bandwidth of moving all those log files around, but for now I just want to get some feedback as to how it's working.

Let me know what you think!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-1453473433929836967?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/dLz0zpmH4Ik" height="1" width="1"/&gt;</content><link rel="related" href="http://www.s3stat.com/" title="Roll your own Web Stats for Amazon S3" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/1453473433929836967" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/1453473433929836967" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/dLz0zpmH4Ik/roll-your-own-web-stats-for-amazon-s3.html" title="Roll your own Web Stats for Amazon S3" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2007/11/roll-your-own-web-stats-for-amazon-s3.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-2366551512112554998</id><published>2007-10-15T10:55:00.000-07:00</published><updated>2007-10-17T02:10:46.163-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices" /><category scheme="http://www.blogger.com/atom/ns#" term="Scalability" /><category scheme="http://www.blogger.com/atom/ns#" term="development" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title type="text">How to do all that website optimizing stuff that Yahoo recommends if you're running ASP.NET and storing your content at Amazon S3</title><content type="html">&lt;style type="text/css"&gt;
.csharpcode, .csharpcode pre
{
 font-size: smaller;
 color: black;
 font-family: Consolas, "Courier New", Courier, Monospace;
 background-color: #ffffff;
 line-height:100%;
 /*white-space: pre;*/
}

.csharpcode pre {  margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt
{
 background-color: #f4f4f4;
 width: 100%;
 margin: 0em;
}

.csharpcode .lnum { color: #606060; }
&lt;/style&gt;
If you've come within 30 feet of the internet this last month, you'll have come across &lt;a href="http://developer.yahoo.com/performance/rules.html"&gt;this list of best practices&lt;/a&gt; at least a dozen times.  Everybody seems to be writing about it and linking to it and &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/5369"&gt;building little tools that tell you you're not doing it right.&lt;/a&gt;
&lt;p/&gt;
&lt;a href="http://www.expatsoftware.com/articles/uploaded_images/performance_report-790251.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://www.expatsoftware.com/articles/uploaded_images/performance_report-790245.png" border="0" alt="" /&gt;&lt;/a&gt;Most of the stuff on that list is low hanging fruit.  You can spend 5 minutes in IIS, flipping compression on and telling all your /images/ directories not to expire content until we're all driving flying cars, and suddenly you'll find your site loading a lot faster.
&lt;p/&gt;
That's cool and all, but what if you also followed their advice and stuck a bunch of your static content out on Amazon S3?  I guess you just fire up &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/3247"&gt;S3Fox&lt;/a&gt; and start playing with the metadata on all those… whoa, hang on… hey, you can't change that stuff once it's written.  Crap.  You've gotta upload all those files again.  And you can't use that cool Firefox tool to do it anymore, because it has no way to set an "Expires" header when you upload a file.  Crap.  Crap.  Crap.
&lt;p/&gt;
Well if you're running C# and ASP.NET, you're in luck.  Because I just went through that pain for &lt;a href="http://www.twiddla.com/"&gt;a few&lt;/a&gt; &lt;a href="http://www.blogabond.com/"&gt;of my&lt;/a&gt; &lt;a href="http://www.rootdown.us/"&gt;sites&lt;/a&gt;, and now I'm going to let you mooch off my code.
&lt;p/&gt;
&lt;h2&gt;First step: download the right library from Amazon&lt;/h2&gt;
In this case, you're going to need the &lt;a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=130&amp;categoryID=47"&gt;Amazon S3 REST Library for C#&lt;/a&gt;. No, not the SOAP library, because evidently &lt;a href="http://developer.amazonwebservices.com/connect/thread.jspa?messageID=67395"&gt;that one is crap&lt;/a&gt;.  Either drop the source straight into your project or build it elsewhere and link it in.  
&lt;p/&gt;
&lt;h2&gt;Last step: swipe this code&lt;/h2&gt;
&lt;a href="http://www.expatsoftware.com/freebies/S3Uploader.zip"&gt;This zip contains everything you'll need&lt;/a&gt;.  Just airlift it into your project and you'll be good to go.  Now, since this is an article about programming, I'm legally obligated to provide at least one code sample for you to gloss over.  So here is the meat of what we're doing:
&lt;p/&gt;

&lt;div style="width:500px;border:solid 1px #cccccc;overflow:auto;"&gt;

&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;
&lt;pre class="csharpcode"&gt;
&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; PushToAmazonS3ViaREST(&lt;span class="kwrd"&gt;string&lt;/span&gt; bucket, &lt;span class="kwrd"&gt;string&lt;/span&gt; relativePath, HttpServerUtility server)
{
    relativePath = relativePath.TrimStart(&lt;span class="str"&gt;'/'&lt;/span&gt;);
    &lt;span class="kwrd"&gt;string&lt;/span&gt; fullPath = _basePath + relativePath.Replace(&lt;span class="str"&gt;@"/"&lt;/span&gt;, &lt;span class="str"&gt;@"\");

    AWSAuthConnection s3 = new AWSAuthConnection(_publicKey, _secretKey);
    string sContentType = "&lt;/span&gt;image/jpeg&lt;span class="str"&gt;";
    SortedList sList = new SortedList();
    sList.Add("&lt;/span&gt;Content-Type&lt;span class="str"&gt;", sContentType);

    // Set access control list to "&lt;/span&gt;publicly readable&lt;span class="str"&gt;"
    sList.Add("&lt;/span&gt;x-amz-acl&lt;span class="str"&gt;", "&lt;/span&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt;-read&lt;span class="str"&gt;"); 

    // Set to expire in ten years
    sList.Add("&lt;/span&gt;Expires", GetHttpDateString(DateTime.Now.AddYears(10))); 

    S3Object obj = &lt;span class="kwrd"&gt;new&lt;/span&gt; S3Object(FileContentsAsString(fullPath), sList);
    s3.PutObjectAsStream(bucket, relativePath, fullPath, obj.Metadata);
}
&lt;/pre&gt;

&lt;/div&gt;
&lt;p/&gt;

There's only two lines you need to care about if you're using S3 to host web content, and they're both commented.  One sets the file to be readable by the public, and the other tells it not to expire until after you've left the company.  Sorted.
&lt;p/&gt;
I've included a cheesy .aspx page that you can use to push your files by hand.  Hopefully you can figure out how to change which directories it's putting in the list, and how to add your own.  It's actually pretty ugly code, but hey, it's just an admin tool that you'll only run a few times in your life.
&lt;p/&gt;
Be Warned though:  I've stripped out the security that keeps people from the outside world (and GoogleBot) from hitting this page and bogging your server.  If there's any chance that this might escape to the live site, be sure to lock it down so that you can't see it unless you're logged in as an admin!
&lt;p/&gt;
Anyway, I hope you find some use out of that code.  I certainly wasn't planning to publish it, so please refrain from mentioning the 47-odd things in it that you &lt;a href="http://www.expatsoftware.com/articles/2007/03/examplecode-productioncode.html"&gt;should never do in production&lt;/a&gt;!
&lt;p/&gt;
Enjoy!
&lt;p/&gt;
&lt;a href="http://www.twiddla.com/wiki/paint-chat-software.ashx"&gt;paint chat software&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-2366551512112554998?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/yO7slIAdVao" height="1" width="1"/&gt;</content><link rel="related" href="http://developer.yahoo.com/performance/rules.html" title="How to do all that website optimizing stuff that Yahoo recommends if you're running ASP.NET and storing your content at Amazon S3" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2366551512112554998" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2366551512112554998" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/yO7slIAdVao/how-to-do-all-that-website-optimizing.html" title="How to do all that website optimizing stuff that Yahoo recommends if you're running ASP.NET and storing your content at Amazon S3" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2007/10/how-to-do-all-that-website-optimizing.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-6392938178944340816</id><published>2007-09-17T03:12:00.000-07:00</published><updated>2007-09-17T04:22:39.579-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="frustration" /><category scheme="http://www.blogger.com/atom/ns#" term="freelancing" /><title type="text">How to Fail at Freelancing, in 5 Easy Steps</title><content type="html">Let's say you're a freelance web designer, and you come across a project description for, say, the redesign of a little site that lets you &lt;a href="http://www.twiddla.com/"&gt;host web meetings&lt;/a&gt;.  This could be your ticket to fame and fortune.  But how should you proceed?  Well, frankly, you could have proceeded in just about any moderately professional way imaginable last week and scored that gig, but instead you did the following.  All 200 of you.
&lt;p/&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;div class='borderedPhoto'  style='margin-left:10px;float:right;border:solid 1px #cccccc;padding:5px;font-size:90%;text-align:center;'&gt;&lt;a href="http://www.expatsoftware.com/articles/uploaded_images/freelance_150-774296.gif"&gt;&lt;img src="http://www.expatsoftware.com/articles/uploaded_images/freelance_150-774295.gif" border="0" alt="" style="border:1px solid #cccccc;" /&gt;&lt;/a&gt;&lt;br&gt;Solid Gold!!!&lt;/div&gt;1. &lt;b&gt;Send out a Canned Proposal&lt;/b&gt;.  And not just any canned proposal, send a giant letter filled with the entire contents of your website, but without the proofreading.  Make sure it reads like a long-form sales letter, complete with opening phrases such as "Webmaster, your search is over!  We're just the candidate for you!!!", but with more exclamation points.  Be sure to include links to at least 500 websites that you may have been remotely involved with.
&lt;p/&gt;
2. &lt;b&gt;Send that Canned Proposal within the first 20 minutes&lt;/b&gt;, because time is of the essence.  You want to make the statement that "I Didn't Give This Any Thought At All!"  And you want to make that statement fast.  Good employers tend to hand out knowledge work on a first-come, first-served basis, so you want to make sure you end up on top of the stack.  Extra credit for sending the same bid twice!
&lt;p/&gt;
3. &lt;b&gt;Don't Read the Project Description&lt;/b&gt;, or visit the site you're expected to be writing a proposal for.  Bid on pieces that weren't up for bid.  Ignore the direct questions asked of you in the project description.
&lt;p/&gt;
&lt;div style="border:1px solid #cccccc;padding:10px;margin:10px;width:40%;float:right;"&gt;
&lt;i&gt;&lt;b&gt;Honorable mention:&lt;/b&gt;&lt;br/&gt;
To the guy in Florida who tallied up his hours, then tacked on the 5% overhead that this particular freelance site charges (expected to be borne by the freelancer, not the employer), then made a point of demanding payment up front.  Good way to break the ice and build confidence.&lt;/i&gt;&lt;/div&gt;
4. &lt;b&gt;Don't, under any circumstances, write any text specific to the project at hand&lt;/b&gt;.  If you somehow feel obligated to write a sentence or two to show how much thought you've put into your proposal, be sure to tack it on to the bottom.  After your cheesy promo text, after that list of 50 links to your class projects, and after that special offer of a 20% discount if I ACT NOW because it's your Fall Sale!
&lt;p/&gt;
5. &lt;b&gt;Quote an exact dollar figure&lt;/b&gt;, after having completed the steps above.  This is a nice final touch, as it shows that even though you didn't bother to skim through the project description before sending off your automated response, you still have a firm grasp on our needs.
&lt;p/&gt;

&lt;h2&gt;How to do it right:&lt;/h2&gt;
Freelancing on Guru, Elance, Rentacoder, etc. is all about first impressions.  Your prospective client will no doubt be swamped with dozens if not hundreds of proposals, and you need to find a way to make yours stand out.  This is surprisingly easy to do in the current climate, as even the slightest hint of professionalism will do it.  Your competition is all trying to shout over the top of each other, thinking that's how you get heard.  But you know what?  Shouting "I'm an Idiot" at the top of your lungs may in fact get you heard, but it won't usually get you hired.
&lt;p/&gt;
So here's what you need to do if you actually want to hear back from a potential client:  Write a simple, three paragraph proposal, from scratch.  Spend the whole first paragraph summarizing the project and explaining why it's something you're good at.  Go over your planned approach in the second paragraph, and end it with a ballpark estimate if the project description gave you enough information to do so.  And finally, wrap up with a little pleasantry, and give the client a way of learning more about your operation and contacting you if they want to proceed.  
&lt;p/&gt;
Sounds simple, eh?  Well, I used to do a lot of freelancing, and got a lot of work with that approach.  Trust me, nobody else is doing it.  Behave like a professional, and you'll clean up!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-6392938178944340816?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/YXBKuh46IDo" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/6392938178944340816" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/6392938178944340816" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/YXBKuh46IDo/how-to-fail-at-freelancing-in-5-easy.html" title="How to Fail at Freelancing, in 5 Easy Steps" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2007/09/how-to-fail-at-freelancing-in-5-easy.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-7805852421032108734</id><published>2007-09-07T04:10:00.000-07:00</published><updated>2007-09-07T04:25:43.963-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices" /><category scheme="http://www.blogger.com/atom/ns#" term="development" /><category scheme="http://www.blogger.com/atom/ns#" term="frustration" /><title type="text">Navigating The Minefield that is Visual Source Safe</title><content type="html">I have a new candidate for the Most Infuriating Feature Ever.  It's an innocuous little part of the source control implementation for Visual Studio.NET.
&lt;p/&gt;
Let's say you're working on a new and risky set of changes to a project in Visual Studio.NET.  You set off and start breaking things in existing files, safe in the knowledge that if you can't make it all work in the end, you'll be able to roll everything back in source control.  Cut to half an hour later: things are hopelessly broken, and it's apparent that you're heading in the wrong direction.  Best to cut your losses and start again from scratch, so you right click the solution in VS.NET and select "Undo Checkout" to roll everything back.  As if to confirm, the following dialog pops up:
&lt;p/&gt;
&lt;a href="http://www.expatsoftware.com/articles/uploaded_images/evil_dialog-796121.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.expatsoftware.com/articles/uploaded_images/evil_dialog-796118.gif" border="0" alt="" /&gt;&lt;/a&gt;
&lt;p/&gt;
Note the default option.  It's not really very descriptive, but what it's actually saying is &lt;b&gt;"Roll these changes back in a half-baked way that virtually guarantees I'll accidentally re-implement them all the next time I modify any of these files."&lt;/b&gt;
&lt;p/&gt;
You see, what it's doing by default is leaving a copy of your broken code sitting on your local machine.  Forever.  Getting latest won't even overwrite it.  Neither will checking the file out.  So the next time you want to modify that file, it will pull up the changes you thought you had un-done and not even warn you about it.  You'll make some innocuous little text modification, check in, and find that the whole application is broken.
&lt;p/&gt;
This is just one of many hazardous dialogs that developers running VSS have to tiptoe their way past every day.  Dialogs with FIVE BUTTONS, only one of which does what Source Control was intended to do, and that one is hidden second from the left.  It's enough to make you want to switch over to subversion.
&lt;p/&gt;
Oh, and in case you're wondering, the correct response (and the only one that anybody should ever use) to that dialog above is to tick the "Replace your local file…" radio button, check the box, and hit OK.  Any other combination and you're screwed.
&lt;p&gt;
&lt;i&gt;
ps.  We're currently rebranding &lt;a href="http://www.twiddla.com/"&gt;Twiddla&lt;/a&gt; as a &lt;a href="http://www.twiddla.com/wiki/design-collaboration-tool-for-distributed-teams.ashx"&gt;design collaboration tool for distributed teams&lt;/a&gt;.  If you're in the industry, we'd love to hear your feedback!
&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-7805852421032108734?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/scRUJnhDkzY" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/7805852421032108734" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/7805852421032108734" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/scRUJnhDkzY/minefield-that-is-visual-source-safe.html" title="Navigating The Minefield that is Visual Source Safe" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2007/09/minefield-that-is-visual-source-safe.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-2854964412311090744</id><published>2007-08-23T23:05:00.000-07:00</published><updated>2007-08-23T23:30:26.178-07:00</updated><title type="text">Redundant is never Redundant enough.</title><content type="html">&lt;div class='borderedPhoto'  style='margin-right:10px;float:left;border:solid 1px #cccccc;padding:5px;font-size:90%;text-align:center;'&gt;&lt;a href='http://flickr.com/photo_zoom.gne?id=268482207&amp;size=m' target='preview' onclick='openPreviewWindow();'&gt;&lt;img src='http://www.blogabond.com/UserPhotos/1/300/kitten.jpg' border=0&gt;&lt;/a&gt;&lt;br&gt;Common Housecat&lt;/div&gt;
&lt;a href="http://www.blogabond.com/"&gt;Blogabond&lt;/a&gt; went down for about 20 minutes on Friday.  Our Five Nines of uptime were dashed to the ground by the uncommon treachery of the common housecat.  We really need to get into a Colocation facility.  
&lt;p/&gt;
It's amazing how industrious our servers are at removing themselves from the internet.  We have redundant backups for everything, uninterruptible power to everything, tons of bandwidth and beefy boxes.  Still, we keep getting nailed by silly things.  Our RAID drives find a way to die at the precise second that we finish wiping the backup.  Our old router knew to take itself offline as soon as it was sure the entire team was out of town.  Everything from faulty house wiring to funky drive controllers have taken us offline at some point.
&lt;p/&gt;

But Friday took the cake.  We suddenly found ourselves unable to reach the outside world.  Somehow the router had gone down.  But how???  It's on an Uninterruptible Power Supply!  And we hadn't had a power outage in months!  Ah, but on top of that UPS is a big red power button.  

&lt;div class='borderedPhoto'  style='margin-left:10px;float:right;border:solid 1px #cccccc;padding:5px;font-size:90%;text-align:center;'&gt;&lt;a href='http://www.blogabond.com/Photos/PhotoView.aspx?imageID=15391' target='preview' onclick='openPreviewWindow();'&gt;&lt;img src='http://www.blogabond.com/UserPhotos/1/300/spikedrouter.jpg' border=0&gt;&lt;/a&gt;&lt;br&gt;&lt;b&gt;Cat Spikes&lt;/b&gt; (artist's rendition)&lt;/div&gt;

And on that button sits the cat.  Sure, it's not as warm as it was about 20 minutes ago, but it's still warmer than the rest of the house.
&lt;p/&gt;

Somebody needs to design a UPS that is not flat and comfortable, does not warm up nicely on a cold day, and does not have a hair-trigger OFF switch right on top of it.  Either that or they need to ship it with cat spikes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-2854964412311090744?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/M62mfUTUKjQ" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2854964412311090744" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/2854964412311090744" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/M62mfUTUKjQ/redundant-is-never-redundant-enough.html" title="Redundant is never Redundant enough." /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2007/08/redundant-is-never-redundant-enough.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-1095191548361128594</id><published>2007-07-20T03:14:00.000-07:00</published><updated>2007-07-20T03:46:42.252-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices" /><category scheme="http://www.blogger.com/atom/ns#" term="Development Pace" /><category scheme="http://www.blogger.com/atom/ns#" term="productivity" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><title type="text">Sprinting</title><content type="html">I didn't get anything done last week.  Nothing at all.  Most of my days were spent reading random stuff on the internet, making minor tweaks to &lt;a href="http://www.blogabond.com"&gt;Blogabond&lt;/a&gt;, and obsessing over traffic stats for &lt;a href="http://www.twiddla.com/"&gt;Twiddla&lt;/a&gt; (why did 5000 people suddenly show up from StumbleUpon in one day???)
&lt;p&gt;
This week, on the other hand, I've been on fire.  In the last 4 days, here's what I've accomplished:
&lt;ul&gt;

&lt;li&gt; Built a Reddit clone from the ground up for &lt;a href="http://www.rootdown.com/"&gt;Rootdown's&lt;/a&gt; soon-to-be-live Clinical Pearls section.
&lt;li&gt; Built a Google-Maps powered acupuncture chart, cut up 3000 tiles for it, incorporated effective Lat/Lon coordinates into Rootdown's database, and built a little Ajax data entry tool to drag &amp; drop acupuncture points and meridians onto the chart.
&lt;li&gt; Reworked the Photo uploading and Photo management pieces of Blogabond.
&lt;li&gt; Tore out and streamlined the installation process for &lt;a href="http://www.regressor.net"&gt;Regressor.NET&lt;/a&gt;
&lt;li&gt; Wrote this lame article
&lt;/ul&gt;
Trust me, that's a lot of stuff.
&lt;p&gt;
I've noticed this same pattern happening over and over again.  I think of it as Sprinting, and I think I'm getting better at harnessing it.  There are a few factors that play into it, but I think the key is knowing that I have an entire day to Sprint on whatever it is that I want to do.  Knowing Absolutely that the door to my office won't open, the phone won't ring, and no little IM popups will bother me for the Next Twelve Hours.  Knowing that I'm free to get as deep into what I'm doing as I need to get whatever I'm doing Done and Done for good.  Those are the days that I get the most accomplished.
&lt;p&gt;
&lt;div style="float:right;border:solid 1px #cccccc;padding:5px;font-size:90%" &gt;&lt;a href='http://www.blogabond.com/Photos/PhotoView.aspx?imageID=1198'&gt;&lt;img src='http://img.blogabond.com/UserPhotos/1/580/bulls01.jpg' width=280 border=0&gt;&lt;/a&gt;&lt;br&gt;Sprinting for a different reason:&lt;br&gt;Team Expat, Running with the Bulls in 1998&lt;/div&gt;

Another thing that seems to help, at least for me, is to have more than one ball in the air at a time.  When I've only got one project, I seem more content to move slowly, check my email, read the occasional blog, and essentially stuff my productivity.  But when I've got 3 things the Need to Get Done, and there just aren't enough hours in the day to do it all, I find that I work a lot faster.  
&lt;p&gt;
Better still is to have something ELSE that I should really be doing.  You &lt;a href="http://www.expatsoftware.com/articles/2007/07/free-online-flash-card-software.html"&gt;should&lt;/a&gt; &lt;a href="http://www.expatsoftware.com/articles/2007/04/zero-to-dogfood-in-one-day.html"&gt;SEE&lt;/a&gt; the days I spend blowing off paid work to Sprint on a side project.  
&lt;p&gt;
But it more than just blowing off one project for another.  The real advantage of having more than one project going at a time is that if I get blocked for any reason, I can switch over to another project and continue Sprinting at the same pace.  If I'm motivated to move fast, it doesn't really matter all that much what I'm moving on, provided I'm moving.  If I can ignore the little bottlenecks and keep Sprinting until the inspiration fades, I can get a lot more done overall.  If I only had a single thing to work on, any minor distraction, such as missing graphics from a screen designer, could derail me and send me off to check Reddit (and thus get stuck there for six hours.)  
&lt;p&gt;
I don't think that any of this is new.  It's common knowledge that developers tend to work in bursts.  I guess the difference for me is that I'm starting to work on ways to facilitate those bursts.  To keep them going once they get started.  To finally look up and find it's dark out, and I haven't eaten for 16 hours and wow, did I really get all that done in a single day???  That's where I want to be.  That's Sprinting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-1095191548361128594?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/g2Pqq0WkEU4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/1095191548361128594" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/1095191548361128594" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/g2Pqq0WkEU4/sprinting.html" title="Sprinting" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2007/07/sprinting.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-38363827.post-5968502659298506491</id><published>2007-07-07T03:55:00.000-07:00</published><updated>2007-07-07T09:49:35.975-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="spanish" /><category scheme="http://www.blogger.com/atom/ns#" term="flash cards" /><category scheme="http://www.blogger.com/atom/ns#" term="web2.0" /><category scheme="http://www.blogger.com/atom/ns#" term="flash card" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="memory" /><title type="text">Free Online Flash Card Software</title><content type="html">I've been taking Spanish lessons these last couple weeks.  I'm getting to the point where I can usually communicate my thoughts, but my vocabulary is seriously lacking.  No sweat, I thought, I'll just hop online and find a little Flash Card site.  There's got to be half a dozen websites where you can make flash cards and test yourself with them, right?  
&lt;p&gt;
Uh...  Hang on.  They all suck!  And they're trying to sell me something.  This is lame.
&lt;p&gt;
Fortunately for me, I write software for a living.  Cut to six hours later, and we now have &lt;a href="http://www.flash-card.org/"&gt;flash-card.org&lt;/a&gt;, a site where you can actually make some flash cards and test yourself with them.  It will even pay attention to your answers, and stop showing you cards that you always get right after a while.  
&lt;p&gt;
&lt;img src="http://www.flash-card.org/images/screen_01.gif" border="0" alt="Flash Card Software from www.flash-card.org" /&gt;
&lt;p&gt;
I'm going to keep taking more classes, so I bet the site will get some more attention soon, as I become frustrated by things it can't do.  And, since I can never leave things alone, it will probably get a few more useless bells and whistles tacked on.  Check it out if you're a student or otherwise need to memorize stuff.  Let me know what you think!
&lt;p&gt;
&lt;a href="http://www.flash-card.org/"&gt;www.flash-card.org - Online Flash Cards&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38363827-5968502659298506491?l=www.expatsoftware.com%2Farticles'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeOnTheRoad/~4/v0NGLZgNF4c" height="1" width="1"/&gt;</content><link rel="related" href="http://www.flash-card.org/" title="Free Online Flash Card Software" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/5968502659298506491" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/38363827/posts/default/5968502659298506491" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CodeOnTheRoad/~3/v0NGLZgNF4c/free-online-flash-card-software.html" title="Free Online Flash Card Software" /><author><name>Jason Kester</name><uri>http://www.blogger.com/profile/12989666544231246331</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="02910238399468218934" /></author><feedburner:origLink>http://www.expatsoftware.com/articles/2007/07/free-online-flash-card-software.html</feedburner:origLink></entry></feed>
