<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-8217532012163037420</atom:id><lastBuildDate>Mon, 15 Mar 2010 21:18:15 +0000</lastBuildDate><title>Leslie Steward</title><description></description><link>http://lesliesteward.com/index.php</link><managingEditor>noreply@blogger.com (Les)</managingEditor><generator>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-3176968569842254086</guid><pubDate>Mon, 15 Mar 2010 21:06:00 +0000</pubDate><atom:updated>2010-03-15T14:18:15.900-07:00</atom:updated><title>ABC Url</title><description>How to play:&lt;div&gt;&lt;ol&gt;&lt;li&gt;Open a browser&lt;/li&gt;&lt;li&gt;In the url bar, type each letter&lt;/li&gt;&lt;li&gt;Put those websites in a list.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;From my laptop's Chrome:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;a - www.alistapart.com &lt;/li&gt;&lt;li&gt;b - blogger.com&lt;/li&gt;&lt;li&gt;c - chatroulette.com (last week I found a webcam simulator, mwahaha)&lt;/li&gt;&lt;li&gt;d - dailymile.com&lt;/li&gt;&lt;li&gt;e - en.wikipedia.org&lt;/li&gt;&lt;li&gt;f - facebook.com&lt;/li&gt;&lt;li&gt;g - gmail.com&lt;/li&gt;&lt;li&gt;h - &lt;b&gt;h&lt;/b&gt;ttp://lesliesteward.com&lt;/li&gt;&lt;li&gt;i - imdb.com&lt;/li&gt;&lt;li&gt;j - jquery.com&lt;/li&gt;&lt;li&gt;k - kirklandweather.com&lt;/li&gt;&lt;li&gt;l - lesliesteward.com&lt;/li&gt;&lt;li&gt;m - mail.google.com&lt;/li&gt;&lt;li&gt;n - news.ycombinator.com&lt;/li&gt;&lt;li&gt;o - okcupid.com&lt;/li&gt;&lt;li&gt;p - pandora.com&lt;/li&gt;&lt;li&gt;q - quake.usgs.gov (seattle traffic is doomed)&lt;/li&gt;&lt;li&gt;r - reddit.com&lt;/li&gt;&lt;li&gt;s - smellsfunny.com (not sure why)&lt;/li&gt;&lt;li&gt;t - twitter.com&lt;/li&gt;&lt;li&gt;u - business.gov "Official business link to the &lt;b&gt;U&lt;/b&gt;.S. government"&lt;/li&gt;&lt;li&gt;v - video.google.com&lt;/li&gt;&lt;li&gt;w - warlight.net&lt;/li&gt;&lt;li&gt;x - xbox.com (huh)&lt;/li&gt;&lt;li&gt;y - youtube.com&lt;/li&gt;&lt;li&gt;z - zillow.com&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;You should make your own list and put a link in the comments.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-3176968569842254086?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2010/03/abc-url.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-2653247061224953304</guid><pubDate>Wed, 24 Feb 2010 02:44:00 +0000</pubDate><atom:updated>2010-02-23T18:54:32.286-08:00</atom:updated><title>Pictures Gallery is Alive!</title><description>&lt;p&gt;Instead of fighting with zend, php, and godaddy, I've added a prebuilt javascript gallery to the pictures page. Give it a try. If you see something that's not quite right, please let me know.&lt;/p&gt;&lt;p&gt;&lt;a href="http://lesliesteward.com/pictures/"&gt;http://lesliesteward.com/pictures/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Many thanks to Jesse Berman's &lt;a href="http://sourceforge.net/projects/pwa/"&gt;javascript interface for Picasa&lt;/a&gt;. It needed to be tweaked to work with jQuery, IE, and my discriminating tastes&lt;a href="http://en.wikipedia.org/wiki/Sarcasm"&gt;*&lt;/a&gt;, but was very easy to use.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-2653247061224953304?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2010/02/pictures-gallery-is-alive.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-5002411086279472141</guid><pubDate>Mon, 22 Feb 2010 23:00:00 +0000</pubDate><atom:updated>2010-02-22T15:07:13.578-08:00</atom:updated><title>Little program to Use Integer math to find the Date</title><description>&lt;blockquote&gt;&lt;/blockquote&gt;I was skimming my feeds this morning and saw a puzzle by Paul Jungwirth in the &lt;a href="http://www.codinghorror.com/blog/2010/02/the-nonprogramming-programmer.html"&gt;Coding Horror&lt;/a&gt; comments.&lt;div&gt;&lt;blockquote&gt;You have the numbers 123456789, in that order. Between each number, you must insert either nothing, a plus sign, or a multiplication sign, so that the resulting expression equals 2001. Write a program that prints all solutions. (There are two.) This is a pretty tricky problem, actually, if you don't think to use recursion. I was satisfied with pseudocode, but the Perl Mongers version was to fit the whole thing into 80 characters!&lt;/blockquote&gt;So here's my solution (in php, because I've been using that recently):&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://lesliesteward.com/projects/datemath/"&gt;http://lesliesteward.com/projects/datemath/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Included is a form so that you can try it out on just about any number.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-5002411086279472141?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2010/02/little-program-to-use-integer-math-to.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-3116499822592345338</guid><pubDate>Thu, 11 Feb 2010 23:58:00 +0000</pubDate><atom:updated>2010-02-11T16:05:06.672-08:00</atom:updated><title>PHP Pic Tweaker</title><description>As I was flipping through the pages of PHP Cookbook, I saw that you could manipulate images. All productivity for the rest of the day was lost as I built php functions to resize, add a dropshadow, and add a border to almost any image.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://lesliesteward.com/projects/pictweaker/"&gt;PHP Dropshadow, Border, and Resize Functions&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For example, you can turn this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;img src="http://lesliesteward.com/projects/pictweaker/cat-vs-domokun.jpg" alt="before" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Into this all within the html image tag.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;img src="http://lesliesteward.com/projects/pictweaker/pretty.php?src=cat-vs-domokun.jpg&amp;amp;resize=0.4&amp;amp;padding=10&amp;amp;matcolor=ffeeff&amp;amp;backgroundcolor=fff&amp;amp;bordercolor=933&amp;amp;format=png" alt="after" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Kinda neat, huh.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-3116499822592345338?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2010/02/php-pic-tweaker.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-6956139078464406362</guid><pubDate>Wed, 10 Feb 2010 23:52:00 +0000</pubDate><atom:updated>2010-02-10T16:03:00.999-08:00</atom:updated><title>How to disable Google Buzz</title><description>The idea of Google Buzz is great. It provides a way to get fast feedback on small issues. But sometimes you don't want it.&lt;div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Log into Gmail&lt;/li&gt;&lt;li&gt;Scroll down to the bottom of the screen&lt;/li&gt;&lt;li&gt;By "Gmail view:" click "Turn off Buzz"&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;Maybe you're like me and you don't want everything in &lt;a href="http://video.adultswim.com/aqua-teen-hunger-force/billywitchdoctorcom.html"&gt;one convenient locations&lt;/a&gt;, in Gmail. You could try &lt;a href="http://twitter.com/lesliesteward/"&gt;twitter&lt;/a&gt; quick thoughts. Perhaps &lt;a href="http://www.google.com/reader"&gt;Google reader&lt;/a&gt; for reading headlines. And a &lt;a href="http://www.pidgin.im/"&gt;desktop chat client&lt;/a&gt; for, um, chatting.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-6956139078464406362?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2010/02/how-to-disable-google-buzz.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-8745468400598289335</guid><pubDate>Thu, 04 Feb 2010 21:40:00 +0000</pubDate><atom:updated>2010-02-04T14:02:54.402-08:00</atom:updated><title>Interview Questions from January</title><description>The heart of software is solving problems. To practice you need to ask questions. Here's a few questions that were asked during an interview last month. I didn't get the job.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Describe a test plan to test Netflix's search.&lt;/b&gt;&lt;br /&gt;My abridged answer: test basic functionality, create use cases, possibly performance test, focus on specific input and expected output.&lt;/div&gt;&lt;div&gt;Their answer: Don't remember, didn't write it down, but something similar.&lt;/div&gt;&lt;div&gt;Shoulda said: Not sure. Talk about different testing techniques.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;Write a SQL statement that would pull the second oldest employee from a table.&lt;/b&gt;&lt;br /&gt;My answer: "select top 2 * from employees order by age desc" then use the calling function to extract the second.&lt;br /&gt;Their answer: Use a nested query. Grab the two oldest, grab the second in that list using max. (Not sure why max() since it only returns 1, but the hour was up so I didn't press.)&lt;/div&gt;&lt;div&gt;Shoulda said: What they said. They were looking for a query only way to get the result.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A corporate phone directory is in nested folders. Your name is a folder under your boss up to the CEO. In each folder is a phone.txt file with a number with the format xxx-xxx-xxxx. Write a script to change the formats to (xxx)xxx-xxx.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;My answer: Use a script that would start at the root and recursively visit each folder, so depth first. In each folder, if there is a phone.txt file, open it and look for the regular expression matching the phone number. If there was a match replace with a correct syntax.&lt;/div&gt;&lt;div&gt;Their answer: None given.&lt;/div&gt;&lt;div&gt;Shoulda said: Upgrade to database. Or, maybe, pull all phone.txt into a list, then iterate through list.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-8745468400598289335?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2010/02/interview-questions-from-january.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-4366599280505610527</guid><pubDate>Fri, 29 Jan 2010 23:17:00 +0000</pubDate><atom:updated>2010-01-29T15:26:30.513-08:00</atom:updated><title>Infernal Machine</title><description>Machine, for reference only. Made about a year ago.&lt;div&gt;&lt;ul&gt;&lt;li&gt;Processor: Intel Core 2 Quad 2.33 GHz @ 1333. 4mb cache.&lt;/li&gt;&lt;li&gt;Ram: 8gb Crucial DDR2 Ballistix PC6400&lt;/li&gt;&lt;li&gt;GPU: Radeon HD 4670 PCIE&lt;/li&gt;&lt;li&gt;Mobo: Gigabyte EP45-UD3LR&lt;/li&gt;&lt;li&gt;HD: 500GB Seagate Barracuda 3.5" SATA 7200rpm&lt;/li&gt;&lt;li&gt;Power: 600w Zalman ZM600HP. 4 +12 vde rails&lt;/li&gt;&lt;li&gt;NIC: DLink Wireless PCIE DWA556&lt;/li&gt;&lt;li&gt;Drive: LG 20x DVD-RW SATA&lt;/li&gt;&lt;li&gt;Case: Cooler Master Chassis Sileo 500&lt;/li&gt;&lt;li&gt;OS: Windows Vista Ultimate, Ubuntu 9.10&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-4366599280505610527?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2010/01/infernal-machine.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-3120731314727322579</guid><pubDate>Thu, 31 Dec 2009 01:09:00 +0000</pubDate><atom:updated>2009-12-30T17:20:46.633-08:00</atom:updated><title>New Menu Using jQuery</title><description>I wasn't happy with the existing title menu that spread across the top of the screen but didn't provide much value. There was a lot of blue gradient with no content, especially on very wide screens. It needed to be changed.&lt;div&gt;What I was hoping for was an expanding menu with a small foot print, kind of like the Windows 7 jewel. At first I started shuffling around some divs with homemade dhtml, but that was a pain. I'm not sure where I came across jQuery, but it solved all the problems I was having; working in different browsers, easy syntax, minimal code, etc. It's really a nice library, and I can see why it was so highly recommended.&lt;/div&gt;&lt;div&gt;So the new menu contains 2 parts. The first part is a little icon that, when clicked, shows the navigation. It expands it to fit and I was very surprised at how easy it was. Essentially, this is all the code needed:&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;/includes/jquery132.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;  $(document).ready(function() {&lt;br /&gt;    $(&amp;quot;#slider&amp;quot;).hide();&lt;br /&gt;    $(&amp;quot;#button&amp;quot;).toggle(function() {&lt;br /&gt;      $(&amp;quot;#slider&amp;quot;).show(&amp;quot;fast&amp;quot;);&lt;br /&gt;    },function(){&lt;br /&gt;      $(&amp;quot;#slider&amp;quot;).hide(&amp;quot;fast&amp;quot;);&lt;br /&gt;    });&lt;br /&gt;    $(&amp;quot;#slider h1&amp;quot;).click(function() {&lt;br /&gt;      $(&amp;quot;$slider&amp;quot;).hide(&amp;quot;fast&amp;quot;);&lt;br /&gt;    });&lt;br /&gt;  });&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;I hope you like the little icon and new menu. Try it by clicking him in the upper left. I'm definitely going to look into jQuery more for cool dynamic webpages or if I need to have javascript do other magical things.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-3120731314727322579?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/12/new-menu-using-jquery.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-3014231018436457139</guid><pubDate>Wed, 23 Dec 2009 01:21:00 +0000</pubDate><atom:updated>2009-12-22T18:18:21.397-08:00</atom:updated><title>Mom's Rhubarb Muffins &amp; Bars</title><description>&lt;p&gt;Found some rhubarb recipes while cleaning house. Image from &lt;a href="http://www.timesonline.co.uk/"&gt;Time Online UK&lt;/a&gt;.&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lesliesteward.com/uploaded_images/RHUBARB_BOWL_OF_163701a-761123.jpg"&gt;&lt;img style="margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 191px;" src="http://lesliesteward.com/uploaded_images/RHUBARB_BOWL_OF_163701a-761120.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;h3&gt;Rhubarb Muffins&lt;/h3&gt;&lt;div&gt;Makes 18 muffins or 2 large loaves.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1 1/2 cups brown sugar&lt;/div&gt;&lt;div&gt;2 1/2 cups flour&lt;/div&gt;&lt;div&gt;1 tsp baking soda&lt;/div&gt;&lt;div&gt;1 tsp salt&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2/3 cup vegetable oil&lt;/div&gt;&lt;div&gt;1 egg&lt;/div&gt;&lt;div&gt;1 cup milk&lt;/div&gt;&lt;div&gt;1 tsp vanilla extract&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1 1/2 cups diced rhubarb&lt;/div&gt;&lt;div&gt;1/2 cup nuts&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Cinnamon and sugar&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Mix sugar, flour, soda, and salt together in a bowl that will hold everything. Mix oil, egg, milk, and vanilla in another bowl. Mix wet mixture into dry. Fold in rhubarb and nuts. Pour into greased muffin pans or loaf pans. Sprinkle top with cinnamon and sugar.&lt;/div&gt;&lt;div&gt;Bake muffins at 350 degrees for 20-25 minutes.&lt;/div&gt;&lt;div&gt;Bake loaves at 350 degrees for 40-45 minutes.&lt;/div&gt;&lt;h3&gt;Rhubarb Bars&lt;/h3&gt;&lt;div&gt;Makes a 9x13 pan&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Crust&lt;/b&gt;&lt;/div&gt;&lt;div&gt;2 cups flour&lt;/div&gt;&lt;div&gt;1/2 cup margarine or butter&lt;/div&gt;&lt;div&gt;1/2 cup shortening&lt;/div&gt;&lt;div&gt;&lt;div&gt;2 tbsp sugar&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Mix, mash, and bake into bottom of 9 by 13 pan, 375 degrees for 15 minutes.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Filling&lt;/b&gt;&lt;/div&gt;&lt;div&gt;3 cups rhubarb&lt;/div&gt;&lt;div&gt;1 1/2 cup sugar&lt;/div&gt;&lt;div&gt;2 tbsp flour&lt;/div&gt;&lt;div&gt;1/2 cup cream&lt;/div&gt;&lt;div&gt;1/3 cup orange juice&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Meanwhile, in a large saucepan cook all filling ingredients till thick. Remove from heat and blend in 3 egg yolks.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Meringue&lt;/b&gt;&lt;/div&gt;&lt;div&gt;3 egg whites&lt;/div&gt;&lt;div&gt;6 tbsp white sugar&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There's probably more instructions, but that's all ma wrote. Maybe she wants you to use your powers of deduction.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-3014231018436457139?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/12/moms-rhubarb-muffins-bars.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-1967278474811161600</guid><pubDate>Fri, 18 Dec 2009 22:40:00 +0000</pubDate><atom:updated>2009-12-18T14:44:41.073-08:00</atom:updated><title>Hubble Ultra Deep Field Background</title><description>&lt;p&gt;After reviewing Boston Big Picture's &lt;a href="http://www.boston.com/bigpicture/2009/12/the_decade_in_news_photographs.html"&gt;Decade in News Photographs&lt;/a&gt;, I was reminded how awesome the Hubble Ultra Deep Field photo was. And since I like dark backgrounds, I just figured I'd make some wallpaper to share. This one is 1680 x 1050. The original is available through &lt;a href="http://en.wikipedia.org/wiki/Hubble_Ultra_Deep_Field"&gt;Wikipedia&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;table style="width:auto;"&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://picasaweb.google.com/lh/photo/q5BbEaJOClY_sM4n_R0q2w?feat=embedwebsite"&gt;&lt;img src="http://lh5.ggpht.com/_mLh2vioA7_E/SywEk_aNLgI/AAAAAAAADF8/LdRvr4hCzZA/s400/hudf1680x1050.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="font-family:arial,sans-serif; font-size:11px; text-align:right"&gt;From &lt;a href="http://picasaweb.google.com/lessteward/RandomAwesomeness?feat=embedwebsite"&gt;Random Awesomeness&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-1967278474811161600?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/12/hubble-ultra-deep-field-background.php</link><author>noreply@blogger.com (Les)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_mLh2vioA7_E/SywEk_aNLgI/AAAAAAAADF8/LdRvr4hCzZA/s72-c/hudf1680x1050.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-6923358014637679719</guid><pubDate>Thu, 10 Dec 2009 23:43:00 +0000</pubDate><atom:updated>2009-12-10T15:53:26.804-08:00</atom:updated><title>Odd Number Counter Finder 3000</title><description>&lt;p&gt;So after bombing an Amazon technical interview because I couldn't remember syntax and the efficiencies of data structures, it seemed like a good idea to fix that. So here's the question and the code I'm going to say is correct. I'm still reviewing the java documentation, but if you have suggestions please comment.&lt;/p&gt;&lt;div&gt;&lt;blockquote&gt;Create and test a function that accepts a positive integer array and returns the value that appears an odd number of times. There should only be one integer in the array that has an odd number of occurences.&lt;/blockquote&gt;&lt;/div&gt;&lt;p&gt;Here's some broken code below. I realize this accepts non-positive integers, has bad commenting, and other issues, but my biggest question is if I'm using the most efficient data structures.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;RunTests.java&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import java.lang.reflect.Array;&lt;br /&gt;public class RunTests {&lt;br /&gt; public static void main(String[] args) {&lt;br /&gt;  OddNumberFinder onf = new OddNumberFinder();&lt;br /&gt;&lt;br /&gt;  TestCase[] testCases = {&lt;br /&gt;    new TestCase(new int[] {1}, 1),    &lt;br /&gt;    new TestCase(null, 0),&lt;br /&gt;    new TestCase(new int[] { 1, 1, 2, 2, 3 }, 3),&lt;br /&gt;    new TestCase(new int[] { 1, 1, 0, -1, -1 }, 0),&lt;br /&gt;    //new TestCase(new int[] { 'a', 'b', 'c' }, null),&lt;br /&gt;    //new TestCase(new int[] { }, null),&lt;br /&gt;    //new TestCase(new int[] { 1, 1 }, null)&lt;br /&gt;  };&lt;br /&gt;  &lt;br /&gt;  for(int i = 0; i &lt; testCases.length; i++) {&lt;br /&gt;   TestCase tc = testCases[i];&lt;br /&gt;   try {&lt;br /&gt;    System.out.print("For test set ");&lt;br /&gt;    System.out.print(tc.toString());&lt;br /&gt;    System.out.println(" the odd value is " + &lt;br /&gt;      onf.FindOddNumber(tc.numberSet));&lt;br /&gt;   }&lt;br /&gt;   catch (Exception e) {&lt;br /&gt;    System.out.println("Exception");&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;OddNumberFinder.java&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import java.util.HashMap;&lt;br /&gt;import java.util.Iterator;&lt;br /&gt;import java.util.Set;&lt;br /&gt;import java.util.Map;&lt;br /&gt;import java.lang.Exception;&lt;br /&gt;&lt;br /&gt;public class OddNumberFinder {&lt;br /&gt; public OddNumberFinder() {&lt;br /&gt; }&lt;br /&gt;  &lt;br /&gt; public int FindOddNumber(int[] numbers) throws Exception {&lt;br /&gt;  int numbersLength = numbers.length;&lt;br /&gt;&lt;br /&gt;  //ArrayList&lt;Integer&gt; counts = new ArrayList(); // what do I use? map?&lt;br /&gt;  HashMap&lt;Integer, Integer&gt; counts = &lt;br /&gt;   new HashMap&lt;Integer, Integer&gt;(numbersLength);&lt;br /&gt;  &lt;br /&gt;  for(int i = 0; i &lt; numbersLength; i++) {&lt;br /&gt;   int key = numbers[i];&lt;br /&gt;   int newValue = 0;&lt;br /&gt;   if(counts.containsKey(key)) {&lt;br /&gt;    newValue = (Integer) counts.get(key) + 1;&lt;br /&gt;   }&lt;br /&gt;   else {&lt;br /&gt;    newValue = 1;&lt;br /&gt;   }&lt;br /&gt;   counts.put(key, newValue);&lt;br /&gt;  }&lt;br /&gt;  Set countSet = counts.entrySet();&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;  Iterator i = countSet.iterator();&lt;br /&gt;  while(i.hasNext()) {&lt;br /&gt;   Map.Entry me = (Map.Entry)i.next();&lt;br /&gt;   if((Integer)me.getValue()%2 != 0) {&lt;br /&gt;    return (Integer)me.getKey();&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  throw new Exception();&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;TestCase.java&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;public class TestCase {&lt;br /&gt; public int length;&lt;br /&gt; public int[] numberSet;&lt;br /&gt; public int expectedValue;&lt;br /&gt; &lt;br /&gt; public TestCase(int[] numberSet, int expectedValue) {&lt;br /&gt;  this.numberSet = numberSet;&lt;br /&gt;  this.expectedValue = expectedValue;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public String toString() {&lt;br /&gt;  String s = "{";&lt;br /&gt;  for(int i = 0; i &lt; numberSet.length; i++) {&lt;br /&gt;   s += numberSet[i];&lt;br /&gt;   // Add a comma unless we have reached the last of the set. &lt;br /&gt;   if(i != numberSet.length - 1) s += ", ";&lt;br /&gt;  }&lt;br /&gt;  return s + "}";&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-6923358014637679719?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/12/odd-number-counter-finder-3000.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-7065540322207910404</guid><pubDate>Tue, 08 Dec 2009 07:17:00 +0000</pubDate><atom:updated>2009-12-07T23:23:31.681-08:00</atom:updated><title>Mobius Bagel</title><description>&lt;div&gt;The wonderful worlds of food and mathematics have merged in a marvel of thought and engineering.&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Behold!&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;The Mobius Bagel&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lesliesteward.com/uploaded_images/bagel5-778909.jpg"&gt;&lt;img style="margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 276px;" src="http://lesliesteward.com/uploaded_images/bagel5-778906.jpg" border="0" alt="Mobius Bagel" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Its glorious conception and instructions are here: &lt;a href="http://www.georgehart.com/bagel/bagel.html"&gt;http://www.georgehart.com/bagel/bagel.html&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-7065540322207910404?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/12/mobius-bagel.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-3555849279857021651</guid><pubDate>Mon, 23 Nov 2009 04:53:00 +0000</pubDate><atom:updated>2009-11-22T20:57:00.110-08:00</atom:updated><title>Pioneers</title><description>&lt;div&gt;Walt Whitman has a way with words. Thanks to &lt;a href="http://artofmanliness.com/2009/11/21/manvotional-pioneers-o-pioneers-by-walt-whitman/"&gt;Art of Manliness&lt;/a&gt; and Levi's for reminding me.&lt;/div&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/7hWeTaL4ovI&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/7hWeTaL4ovI&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-3555849279857021651?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/11/pioneers.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-4413681265354245586</guid><pubDate>Fri, 13 Nov 2009 07:33:00 +0000</pubDate><atom:updated>2009-11-12T23:34:46.842-08:00</atom:updated><title>Random Number Generator</title><description>Hey, I made you a &lt;a href="http://lesliesteward.com/projects/random/"&gt;random number generator&lt;/a&gt;. Hope you like it. I use it all the time. Les&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-4413681265354245586?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/11/random-number-generator.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-9217158081009050241</guid><pubDate>Wed, 04 Nov 2009 18:43:00 +0000</pubDate><atom:updated>2009-11-04T10:54:31.675-08:00</atom:updated><title>A Dozen Electrocuted Animals</title><description>&lt;div&gt;Strange territory up here in Montana. This article should stay alive, so I'm copying from &lt;a href="http://www.tobaccovalleynews.com/"&gt;Eureka's Tobacco Valley News&lt;/a&gt;. I almost wish there were photos.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Crews find 12 dead animals on Pinkham Mountain power line&lt;/div&gt;&lt;div&gt;By Krista Tincher&lt;/div&gt;&lt;div&gt;Of the Tobacco Valley News&lt;/div&gt;&lt;div&gt;Lincoln Electric Co-op repair crews stumbled upon a grisly scene last week.&lt;/div&gt;&lt;div&gt;The carcasses of four whitetail deer, four black bear, two wolves, a coyote, and a turkey vulture lay strewn about a snow-skiffed remote power line on Pinkham Mountain, in various stages of decay.&lt;/div&gt;&lt;div&gt;It must have been months ago, speculated Tim Engleson of Lincoln Electric, that a dead lodgepole pine had toppled onto the power line, which services communications equipment on the mountain.&lt;/div&gt;&lt;div&gt;But the pine dropped the line to within a foot of the ground, and the line remained hot.&lt;/div&gt;&lt;div&gt;The power company had no way of knowing about it.&lt;/div&gt;&lt;div&gt;So it may have started with a deer, stumbling over the line. &lt;/div&gt;&lt;div&gt;The deer's carcass then attracted predators, which in turn were zapped by the live wire, attracting further predators.&lt;/div&gt;&lt;div&gt;And it was only when the weather turned wet enough last week for the electricity to find a path to the ground, said Engleson, that Lincoln Electric became aware of the outage.&lt;/div&gt;&lt;div&gt;With no residences on that line, even a dimming or flickering of lights couldn't be reported, Engleson said.&lt;/div&gt;&lt;div&gt;"It was kind of a freaky deal," he acknowledged. He has never heard of such an occurrence, he said. "We've had cases with a single critter," he said, but never 13.&lt;/div&gt;&lt;div&gt;"It was something I hadn't seen before," said game warden Jim Roberts, who also responded to the power line scene. "Like a regular little killing field."&lt;/div&gt;&lt;div&gt;The black bears consisted of one yearling, two females, and a male, he said. You could still see the singe marks on one bear's back, he said.&lt;/div&gt;&lt;div&gt;The male wolf and a younger wolf were likely members of the Lydia pack, he noted. &lt;/div&gt;&lt;div&gt;"It's just kind of one of those things. Strange things happen," said Roberts.&lt;/div&gt;&lt;div&gt;The event serves as a reminder, said Engleson, for people to stay away from downed power lines. You never know when they might still be hot.&lt;/div&gt;&lt;div&gt;"It's probably a good thing we found it before hunting season," added Engleson. "It was an unfortunate deal."&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-9217158081009050241?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/11/dozen-electricuted-animals.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-3816576878106820799</guid><pubDate>Tue, 13 Oct 2009 01:45:00 +0000</pubDate><atom:updated>2009-12-07T23:16:46.098-08:00</atom:updated><title>Google Sky</title><description>Mom was the art teacher at the school I attended. Every year she organized an inflatable planetarium to be sent to the school. After it was packed full of air, it was packed full of kids who would sit on the well worn plastic. They would listen with undivided *cough* attention as the cosmos was projected onto the inside of the bubble. The best part was the ability to see the connections between the stars to actually see what the constellations looked like.&lt;div&gt;Later I found some pictures of the &lt;a href="http://en.wikipedia.org/wiki/Hubble_Deep_Field"&gt;Hubble Deep Field&lt;/a&gt;, which I still can't quite comprehend.&lt;/div&gt;&lt;div&gt;This is all leads me to &lt;a href="http://www.google.com/sky/"&gt;http://www.google.com/sky/&lt;/a&gt; which lets you search for you favorite star (did you know the middle star in the big dipper handle is a &lt;a href="http://en.wikipedia.org/wiki/Mizar_(star)"&gt;double star&lt;/a&gt;?), or get a glimpse of the Milky Way, or see the Horsehead Nebula.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-3816576878106820799?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/10/google-sky.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-459516236526052851</guid><pubDate>Sat, 26 Sep 2009 19:28:00 +0000</pubDate><atom:updated>2009-09-26T12:35:50.631-07:00</atom:updated><title>Dance Party</title><description>Good News.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://lesliesteward.com/projects/danceparty/"&gt;Eli's Dance Party&lt;/a&gt; is back!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-459516236526052851?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/09/elis-dance-party.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-1507942873011344119</guid><pubDate>Fri, 04 Sep 2009 23:10:00 +0000</pubDate><atom:updated>2010-02-01T18:44:49.014-08:00</atom:updated><title>How to make Facebook your homepage</title><description>&lt;div&gt;Someone asked recently how to make Facebook their homepage. Although this might not be a good idea for productivity, here's how you do it.&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Figure out which browser you have. You probably have Internet Explorer, Firefox, Safari, or Chrome. You can usually tell by the program icon.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lesliesteward.com/uploaded_images/browsericons-743224.png"&gt;&lt;img src="http://lesliesteward.com/uploaded_images/browsericons-743223.png" border="0" alt="Browser icons for making facebook your homepage" style="cursor: pointer; width: 165px; height: 126px; " /&gt;&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Set your homepage to Facebook.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Internet Explorer&lt;/b&gt;&lt;ol&gt;&lt;li&gt;Press the alt key&lt;/li&gt;&lt;li&gt;Click Tools&lt;/li&gt;&lt;li&gt;Click Internet Options&lt;/li&gt;&lt;li&gt;In the homepage input box type "http://www.facebook.com"&lt;/li&gt;&lt;li&gt;Click OK&lt;/li&gt;&lt;li&gt;Test by clicking the Home icon&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Firefox&lt;/b&gt;&lt;ol&gt;&lt;li&gt;Click Tools&lt;/li&gt;&lt;li&gt;Click Options&lt;/li&gt;&lt;li&gt;Change when firefox starts to "Show my homepage"&lt;/li&gt;&lt;li&gt;Replace everything in the homepage input box with "http://www.facebook.com/"&lt;/li&gt;&lt;li&gt;Click OK&lt;/li&gt;&lt;li&gt;Test by clicking the Home icon&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Chrome&lt;/b&gt;&lt;ol&gt;&lt;li&gt;Click the customize button in the upper right. It looks like a wrench.&lt;/li&gt;&lt;li&gt;Click options&lt;/li&gt;&lt;li&gt;In basics, in the startup section, click "Open the homepage"&lt;/li&gt;&lt;li&gt;In the homepage section, click "Open this page:"&lt;/li&gt;&lt;li&gt;In the box, type "http://www.facebook.com"&lt;/li&gt;&lt;li&gt;Make sure the "Show Home button on toolbar" is checked&lt;/li&gt;&lt;li&gt;Click Close&lt;/li&gt;&lt;li&gt;Test by clicking the Home icon&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Safari&lt;/b&gt;&lt;ol&gt;&lt;li&gt;Click Preferences&lt;/li&gt;&lt;li&gt;Click General&lt;/li&gt;&lt;li&gt;In the home page box type "http://www.facebook.com"&lt;/li&gt;&lt;li&gt;Close the preferences box&lt;/li&gt;&lt;li&gt;Test by opening a new window with ctrl-n&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;For other browsers, look for a preferences or settings section. Within there should be a method for setting the homepage.&lt;/div&gt;&lt;div&gt;Good luck.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-1507942873011344119?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/09/how-to-make-facebook-your-homepage.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-3532809334439137884</guid><pubDate>Mon, 17 Aug 2009 00:46:00 +0000</pubDate><atom:updated>2009-08-16T18:28:35.466-07:00</atom:updated><title>Simple and Encompassing is Dead</title><description>&lt;p&gt;A long, long time ago I created a blogspot website to post fun and exciting thing found on the internet (other than this one). Well, I didn't maintain it, but fortunately no one looked at it. But rather than toss it away, I've compiled a list of the best stuff here. Farewell, simple and encompassing.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Best Game Ever: &lt;a href="http://www.nekogames.jp/mt/2008/01/cursor10.html"&gt;Cursor*10&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://discovermagazine.com/2007/nov/this-man-wants-to-control-the-internet"&gt;This man wants to control the internet&lt;/a&gt;&lt;/li&gt;&lt;li&gt;TED: &lt;a href="http://www.ted.com/talks/craig_venter_on_dna_and_the_sea.html"&gt;Craig Ventner on DNA and the Sea&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://patrick.net/housing/contrib/parr.html"&gt;George Parr explains subprime market&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Image:Solvay_conference_1927.jpg"&gt;http://en.wikipedia.org/wiki/Image:Solvay_conference_1927.jpg&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Video: &lt;a href="http://www.youtube.com/watch?v=3g-yrjh58ms"&gt;Keepon dancing&lt;/a&gt; to Spoon's "I turn my camera on"&lt;/li&gt;&lt;li&gt;&lt;a href="http://strangemaps.wordpress.com/"&gt;http://strangemaps.wordpress.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.damninteresting.com/reanimated-rodents-and-the-meaning-of-life"&gt;Reanimated rodents&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://discovermagazine.com/2008/jan/robots-evolve-and-learn-how-to-lie"&gt;Robots evolve and lie&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.phdcomics.com/comics/archive.php?comicid=847"&gt;Seminar bingo&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Video: &lt;a href="http://www.youtube.com/watch?v=qN3kC_4xURA"&gt;Frankie Valley - Beggin'&lt;/a&gt; Remix&lt;/li&gt;&lt;li&gt;Video: &lt;a href="http://www.youtube.com/watch?v=MUTo6kSZlPI"&gt;Faith No More - I started a joke&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Video: &lt;a href="http://www.youtube.com/watch?v=lBvaHZIrt0o"&gt;Ryksopp - Remind Me&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://flickrvision.com/"&gt;http://flickrvision.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Video: &lt;a href="http://www.youtube.com/watch?v=W1czBcnX1Ww"&gt;Big dog&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Video: &lt;a href="http://www.youtube.com/watch?v=Ahg6qcgoay4"&gt;Awareness Test&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://iowahawk.typepad.com/iowahawk/2007/12/please-dont-des.html"&gt;Don't destroy my American Dream&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.landoverbaptist.org/quizlist.html"&gt;Landover Baptist Quiz&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://eatliver.com/i.php?n=2654"&gt;LSD Drawings&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Video: &lt;a href="http://www.youtube.com/watch?v=gaFZTAOb7IE"&gt;They're made of meat&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-3532809334439137884?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/08/simple-and-encompassing-is-dead.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-3492012701412385588</guid><pubDate>Sun, 09 Aug 2009 05:27:00 +0000</pubDate><atom:updated>2009-08-08T22:32:54.107-07:00</atom:updated><title>Haiku Generator</title><description>You ever felt like you needed a randomly generated haiku? Yeah, me too. So here it is:&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://lesliesteward.com/projects/haiku/"&gt;Les's Haiku Generator&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you want your haiku added, just add it to the comments, or email them. :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-3492012701412385588?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/08/haiku-generator.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-4177032051893266907</guid><pubDate>Fri, 07 Aug 2009 02:35:00 +0000</pubDate><atom:updated>2009-08-09T17:23:39.713-07:00</atom:updated><title>Kill Internet Explorer 6</title><description>&lt;p&gt;&lt;a href="http://ie6nomore.com/"&gt;&lt;img src="http://lesliesteward.com/images/ie6nomore.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Jump on the bandwagon. Kill IE6. Visit &lt;a href="http://ie6nomore.com/"&gt;ie6nomore.com&lt;/a&gt;, grab their code, and add it into your site.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Q: But why? What did IE ever do to deserve this?&lt;/p&gt;&lt;p&gt;A: IE6 was pretty good 8 years ago when it came out. But web development standards have improved significantly since then. The web has incredible potential, but disproportionate amounts of time are spent working around IE6's peccadillos. That's time that could be spent creating incredible new things, like HTML 5.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Help your developer buddies out and encourage people to upgrade to a cool new browser, instead of driving around in a busted old one.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-4177032051893266907?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/08/kill-internet-explorer-6.php</link><author>noreply@blogger.com (Les)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-1128426037134194207</guid><pubDate>Sun, 12 Jul 2009 17:42:00 +0000</pubDate><atom:updated>2009-07-12T10:45:11.186-07:00</atom:updated><title>New Golf Terms</title><description>Thanks Sully!&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "James Joyce," an impossible read&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Rock Hudson," looked straight, but wasn't&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Cuban," needed one more revolution&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;An "Elton John," a big bender that lips the rim&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Lou Gehrig," a dead Yank&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;An "Adolf Hitler," two shots in the bunker&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Saddam Hussein," from one bunker straight into another bunker&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Yasser Arafat," ugly and in the sand&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Kate Winslett," a little fat but otherwise perfect&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "JFK, Jr.," didn't make it over the water&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Rodney King," over-clubbed&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;An " O.J. Simpson," got away with it&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Princess Grace," should have taken a driver&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Princess Di," shouldn't have taken a driver&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "George W.," steadily fading&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Condom," safe, but didn't feel very good&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Rush Limbaugh," too far to the right&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;A "Nancy Pelosi," too far to the left&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-1128426037134194207?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/07/new-golf-terms.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-2002507970676066149</guid><pubDate>Tue, 07 Jul 2009 06:18:00 +0000</pubDate><atom:updated>2009-07-06T23:25:11.248-07:00</atom:updated><title>How to redirect the www version of your site to non-www</title><description>Let's suppose you have a website. Did you know you probably have 2 versions of the same site? Try it, remove or add www and see what you get. If you want to consolidate your URLs, as the folks at &lt;a href="http://no-www.org/"&gt;http://no-www.org/&lt;/a&gt; would advise, and you have a linux server follow these steps.&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;1. Login to your server so that you can create a file called .htaccess in the root directory.&lt;/div&gt;&lt;div&gt;2. Add this code to your .htaccess file.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new', fantasy;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;RewriteEngine On&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;RewriteBase /&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;RewriteCond %{HTTP_HOST} !^lesliesteward.com$ [NC]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;RewriteRule ^(.*)$ http://lesliesteward.com/$1 [L,R=301]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Replace lesliesteward.com with your website name.&lt;/div&gt;&lt;div&gt;4. Save&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now all your www.foo.com will point to foo.com. Good luck. If you have trouble, just leave a comment.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-2002507970676066149?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/07/how-to-redirect-www-version-of-your.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-459157207739073977</guid><pubDate>Fri, 15 May 2009 23:31:00 +0000</pubDate><atom:updated>2009-05-15T16:33:06.918-07:00</atom:updated><title>Solution to Goose/Fox/Seed in a boat problem</title><description>(4:13:43 PM) les: if you needed to get a fox, goose, and bag of seed to an island, but you only had room in your boat for two and yourself how would you get them all on the island?&lt;br /&gt;(4:14:39 PM) Eli: dude - that's not right - geese and foxes don't get along&lt;br /&gt;(4:15:06 PM) les: yes. geese eat foxes&lt;br /&gt;(4:15:18 PM) les: er&lt;br /&gt;(4:15:20 PM) Eli: so i'd have the fox eat the goose&lt;br /&gt;(4:15:22 PM) Eli: then go&lt;br /&gt;(4:15:42 PM) Eli: for two and myself?&lt;br /&gt;(4:15:45 PM) Eli: that means 3 right&lt;br /&gt;(4:15:52 PM) Eli: that's enough room for all of us&lt;br /&gt;(4:15:57 PM) Eli: hold the seed in my lap&lt;br /&gt;(4:16:06 PM) Eli: or the goose&lt;br /&gt;(4:16:09 PM) les: boat will sinc&lt;br /&gt;(4:16:15 PM) Eli: you said room&lt;br /&gt;(4:16:22 PM) les: now i'm saying sink&lt;br /&gt;(4:16:27 PM) Eli: didn't say there was a weight limit&lt;br /&gt;(4:16:57 PM) Eli: i'd untwine the bag and make a rope, tie it around the gooses neck and have it either fly or paddle behind the boat&lt;br /&gt;(4:17:14 PM) les: gesse are unpredictable&lt;br /&gt;(4:17:22 PM) Eli: that's why i'd have the rope&lt;br /&gt;(4:17:24 PM) Eli: silly&lt;br /&gt;(4:17:25 PM) les: it will eat the bag&lt;br /&gt;(4:17:33 PM) Eli: too late, i already made it into a rope&lt;br /&gt;(4:17:46 PM) les: how you gonna get the seed across?&lt;br /&gt;(4:18:04 PM) Eli: fox, seeds and me in the boat&lt;br /&gt;(4:18:06 PM) Eli: goose behind&lt;br /&gt;(4:18:16 PM) les: goose is too big for ropes&lt;br /&gt;(4:18:30 PM) les: tough goose. no neck&lt;br /&gt;(4:18:35 PM) les: or feet&lt;br /&gt;(4:18:36 PM) Eli: do i need the seeds when i get to the island?&lt;br /&gt;(4:18:39 PM) les: or wings&lt;br /&gt;(4:18:50 PM) les: eventually&lt;br /&gt;(4:19:17 PM) Eli: but i could use the seeds as a trail for the goose to follow&lt;br /&gt;(4:19:36 PM) Eli: geese luv seeds!&lt;br /&gt;(4:19:39 PM) les: goose can't follow. no feet&lt;br /&gt;(4:19:49 PM) les: or wings&lt;br /&gt;(4:19:56 PM) Eli: why would i want to bring a footless/wingless goose with me?&lt;br /&gt;(4:20:05 PM) les: it's part of the purchase order&lt;br /&gt;(4:20:22 PM) Eli: why am i going to an island to sell something? it's uninhabited&lt;br /&gt;(4:21:03 PM) les: there's goose/seed/fox cooks there&lt;br /&gt;(4:21:34 PM) les: neutral zone. international waters. no cops&lt;br /&gt;(4:21:39 PM) Eli: i'd mail the seeds via ups&lt;br /&gt;(4:21:45 PM) Eli: then take the goose and fox in the boat&lt;br /&gt;(4:21:57 PM) les: fox will eat the goose&lt;br /&gt;(4:22:03 PM) les: and it's sunday&lt;br /&gt;(4:22:06 PM) Eli: not if i sit between them&lt;br /&gt;(4:22:18 PM) les: fox is crafty&lt;br /&gt;(4:22:20 PM) Eli: wait till monday&lt;br /&gt;(4:22:26 PM) Eli: i'm craftier&lt;br /&gt;(4:22:33 PM) les: cooks have a timelimit&lt;br /&gt;(4:22:41 PM) Eli: please..since when?&lt;br /&gt;(4:22:59 PM) les: these are international waters man. pirate cooks&lt;br /&gt;(4:23:12 PM) Eli: you said it was neutral territory&lt;br /&gt;(4:23:16 PM) Eli: doesn't soudn that way&lt;br /&gt;(4:23:25 PM) les: pirates are crafty&lt;br /&gt;(4:23:48 PM) Eli: what's your point?&lt;br /&gt;(4:24:32 PM) les: don't remember&lt;br /&gt;(4:24:47 PM) Eli: nice story, can i kill the goose now?&lt;br /&gt;(4:25:41 PM) les: died of starvation&lt;br /&gt;(4:25:58 PM) Eli: what?&lt;br /&gt;(4:26:01 PM) Eli: who did?&lt;br /&gt;(4:26:09 PM) les: the goose&lt;br /&gt;(4:26:11 PM) les: and the fox&lt;br /&gt;(4:26:14 PM) les: and the pirates&lt;br /&gt;(4:26:22 PM) Eli: why was i going to the island again?&lt;br /&gt;(4:27:01 PM) les: to deliver the purchase order&lt;br /&gt;(4:27:13 PM) Eli: a dead order?&lt;br /&gt;(4:27:18 PM) Eli: to dead pirate cooks?&lt;br /&gt;(4:27:53 PM) les: you didn't fulfil the terms of the purchase order&lt;br /&gt;(4:28:11 PM) les: pirate cooks aren't going to work with you now&lt;br /&gt;(4:28:25 PM) Eli: i really think i need a new profession&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-459157207739073977?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/05/solution-to-goosefoxseed-in-boat.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8217532012163037420.post-9061781112679559369</guid><pubDate>Thu, 07 May 2009 15:46:00 +0000</pubDate><atom:updated>2009-05-07T08:46:21.981-07:00</atom:updated><title>Laser Kitten Vertices</title><description>This is a test.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8217532012163037420-9061781112679559369?l=lesliesteward.com%2Findex.php' alt='' /&gt;&lt;/div&gt;</description><link>http://lesliesteward.com/2009/05/laser-kitten-vertices.php</link><author>noreply@blogger.com (Les)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item></channel></rss>