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

<channel>
	<title>FarmSoft Studios Scratchpad</title>
	<atom:link href="http://scratchpad.farmsoftstudios.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://scratchpad.farmsoftstudios.com</link>
	<description>What We're Thinking About Right Now...</description>
	<lastBuildDate>Wed, 20 Jan 2010 16:50:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use class with semantics in mind</title>
		<link>http://scratchpad.farmsoftstudios.com/2010/01/uncategorized/use-class-with-semantics-in-mind/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2010/01/uncategorized/use-class-with-semantics-in-mind/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 16:50:32 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=192</guid>
		<description><![CDATA[&#8220;Use class with semantics in mind.&#8221;
via Use class with semantics in mind &#8211; Quality Web Tips.
]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;Use class with semantics in mind.&#8221;</p></blockquote>
<p>via <a href="http://www.w3.org/QA/Tips/goodclassnames">Use class with semantics in mind &#8211; Quality Web Tips</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2010/01/uncategorized/use-class-with-semantics-in-mind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP on OS X 10.6 Snow Leopard throwing errors</title>
		<link>http://scratchpad.farmsoftstudios.com/2010/01/uncategorized/php-on-os-x-10-6-snow-leopard-throwing-errors/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2010/01/uncategorized/php-on-os-x-10-6-snow-leopard-throwing-errors/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 23:04:06 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=187</guid>
		<description><![CDATA[Snow Leopard now uses PHP 5.3, so there are new rules in the playing field.  You can fix them by adding
date.timezone = "America/Anchorage";
in your php.ini file, or if you don&#8217;t have access to that, you can add this to your own project:
date_default_timezone_set('America/Chicago'); 
Use whatever timezone is appropriate for you, of course. The list is [...]]]></description>
			<content:encoded><![CDATA[<p>Snow Leopard now uses PHP 5.3, so there are new rules in the playing field.  You can fix them by adding</p>
<p><code>date.timezone = "America/Anchorage";</code></p>
<p>in your php.ini file, or if you don&#8217;t have access to that, you can add this to your own project:</p>
<p><code>date_default_timezone_set('America/Chicago'); </code></p>
<p>Use whatever timezone is appropriate for you, of course. The list is here: <a href="http://us3.php.net/manual/en/timezones.php">http://us3.php.net/manual/en/timezones.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2010/01/uncategorized/php-on-os-x-10-6-snow-leopard-throwing-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari Web Inspector Scrolling Bugs</title>
		<link>http://scratchpad.farmsoftstudios.com/2010/01/apple-computer/safari-web-inspector-scrolling-bugs/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2010/01/apple-computer/safari-web-inspector-scrolling-bugs/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 14:11:39 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=184</guid>
		<description><![CDATA[If the inspector is open in docked mode, interaction within the webkit content window – typing text into an input, using a menu, selecting text – causes it to frantically scroll downwards.
via BogoJoker » Improving the Web Inspector.
&#8230;Glad I&#8217;m not the only one that noticed that behavior!
]]></description>
			<content:encoded><![CDATA[<p>If the inspector is open in docked mode, interaction within the webkit content window – typing text into an input, using a menu, selecting text – causes it to frantically scroll downwards.</p>
<p>via <a href="http://blog.bogojoker.com/2009/10/improving-the-web-inspector/">BogoJoker » Improving the Web Inspector</a>.</p>
<p>&#8230;Glad I&#8217;m not the only one that noticed that behavior!</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2010/01/apple-computer/safari-web-inspector-scrolling-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL and Snow Leopard (Mac OS X, 10.6.x)</title>
		<link>http://scratchpad.farmsoftstudios.com/2010/01/apple-computer/mysql-and-snow-leopard-mac-os-x-10-6-x/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2010/01/apple-computer/mysql-and-snow-leopard-mac-os-x-10-6-x/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 14:19:46 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=181</guid>
		<description><![CDATA[After upgrading to Snow Leopard, the symlink was lost in /usr/local
cd /usr/local
sudo ln -s mysql-5.1.37-osx10.5-x86_64/ mysql
Simply run that in the Terminal, and you should be all set.
]]></description>
			<content:encoded><![CDATA[<p>After upgrading to Snow Leopard, the symlink was lost in /usr/local</p>
<p><code>cd /usr/local<br />
sudo ln -s mysql-5.1.37-osx10.5-x86_64/ mysql</code><br />
Simply run that in the Terminal, and you should be all set.</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2010/01/apple-computer/mysql-and-snow-leopard-mac-os-x-10-6-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Waves Best Use Cases &#8211; Wave &#8211; Lifehacker</title>
		<link>http://scratchpad.farmsoftstudios.com/2010/01/programming/google-waves-best-use-cases-wave-lifehacker/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2010/01/programming/google-waves-best-use-cases-wave-lifehacker/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 16:50:19 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ATC]]></category>
		<category><![CDATA[Google Apps]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Applications]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=179</guid>
		<description><![CDATA[Transportation: Controlling Air Traffic
James is a Traffic Management Coordinator at the Philadelphia International Airport Control Tower. He said:
My job is to reduce departure delays and to maintain an efficient flow of air traffic into and out of the Philadelphia International Airport. Currently we utilize a Google Spreadsheet to share real-time departure and weather issues, airport [...]]]></description>
			<content:encoded><![CDATA[<p>Transportation: Controlling Air Traffic</p>
<p>James is a Traffic Management Coordinator at the Philadelphia International Airport Control Tower. He said:</p>
<p>My job is to reduce departure delays and to maintain an efficient flow of air traffic into and out of the Philadelphia International Airport. Currently we utilize a Google Spreadsheet to share real-time departure and weather issues, airport construction updates, and snow removal operations with the airlines and other interested parties. Im excited at the prospect of being able to embed real-time weather radar gadgets to provide users an up-to-the-minute graphical look at the weather. We currently use the chat feature on Google Spreadsheets but it appears that the more robust communication capabilities in Wave would greatly enhance our communication with the airlines. The ability to review conversations and data will help us to further reduce delays at Philadelphia International Airport. This will result in a savings of time for passengers, reduced fuel and operating costs for the airlines, and fewer complaints from both.</p>
<p>via <a href="http://lifehacker.com/5381219/google-waves-best-use-cases">Google Waves Best Use Cases &#8211; Wave &#8211; Lifehacker</a>.</p>
<p>All I can say is: wow.  ATC on Google Apps? Nice.</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2010/01/programming/google-waves-best-use-cases-wave-lifehacker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Filter Small Files from the &#8216;du&#8217; Command with Grep</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/08/linux/finding-large-files-with-the-du-command/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/08/linux/finding-large-files-with-the-du-command/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 16:01:48 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=175</guid>
		<description><![CDATA[Ever wanted to filter out the files that were less than 1GB with the simple &#8216;du&#8217; (disk usage) command?  Simple.  Add the -h flag and a little grep magic, and you&#8217;re all set:
du -h &#124; grep '[0-9]G'
]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to filter out the files that were less than 1GB with the simple &#8216;du&#8217; (disk usage) command?  Simple.  Add the -h flag and a little grep magic, and you&#8217;re all set:</p>
<pre>du -h | grep '[0-9]G'</pre>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/08/linux/finding-large-files-with-the-du-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting a Mobile Phone &amp; Redirecting in PHP</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/07/uncategorized/detecting-a-mobile-phone-redirecting-in-php/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/07/uncategorized/detecting-a-mobile-phone-redirecting-in-php/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 18:26:59 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mobile web development]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/2009/07/uncategorized/detecting-a-mobile-phone-redirecting-in-php/</guid>
		<description><![CDATA[A nice article on that process here:
http://mobiforge.com/developing/story/lightweight-device-detection-php
]]></description>
			<content:encoded><![CDATA[<p>A nice article on that process here:<br />
<a href="http://mobiforge.com/developing/story/lightweight-device-detection-php">http://mobiforge.com/developing/story/lightweight-device-detection-php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/07/uncategorized/detecting-a-mobile-phone-redirecting-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone (OS 3.0) Camera Disappeared</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/07/apple-computer/iphone-os-3-0-camera-disappeared/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/07/apple-computer/iphone-os-3-0-camera-disappeared/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 15:02:55 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=166</guid>
		<description><![CDATA[So you have your new iPhone®, sync it up to your corporate Exchange® server, and go on your merry way.  Later that day, you go to take a picture of that adorable pose your daughter is in.  &#8220;Ha!&#8221; you think, &#8220;The iPhone has a great camera for times just like this!&#8221;  You [...]]]></description>
			<content:encoded><![CDATA[<p>So you have your new iPhone<sup><small>®</small></sup>, sync it up to your corporate Exchange<sup><small>®</small></sup> server, and go on your merry way.  Later that day, you go to take a picture of that adorable pose your daughter is in.  &#8220;Ha!&#8221; you think, &#8220;The iPhone has a great camera for times just like this!&#8221;  You smile as you pull your sleek little device out.  Your smile quickly fades as you frantically search in vain for the camera app.  You flip violently through the pages of apps, and finally succumb to your stupidity, and search for camera in spotlight.  No Go.  Your daughter is long gone, and you&#8217;re still there trying to figure out what is wrong.  You go through every setting, making sure the restrictions are off in the settings panel.  Yep, all&#8217;s good there&#8230;  Hmm.  As a last ditch effort, you get on the phone, and call your IT manager, asking if there is anything that he knows of to make a camera disappear in your iPhone.<br />
&#8220;Oh, yeah,&#8221; he says. &#8220;I didn&#8217;t check the box to allow your camera in Exchange.  I&#8217;ll be right on that.&#8221;  &#8220;Nice,&#8221; you think silently.</p>
<p>Ok, so nice story.  But you want to know how to get your camera back.  Here&#8217;s the lowdown:<br />
I found a solution to the problem.</p>
<p>Exchange 2007 has active sync policies. One of the options is to disallow the camera.</p>
<p>To resolve the problem do the following.</p>
<ol>
<li>Open Exchange Management Console</li>
<li>Click &#8220;Organization Configuration&#8221;</li>
<li>Click &#8220;Client Access&#8221;</li>
<li>On the right you should see your active sync policies. Right click the policy and chose &#8220;Properties&#8221;</li>
<li>Click the &#8220;Device&#8221; tab</li>
<li>Check &#8220;Allow camera&#8221;</li>
</ol>
<p>You should be all set.  For those of you who are NOT connected to an Exchange server, check the restrictions pane under <code>Settings &gt; General &gt; Restrictions</code></p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/07/apple-computer/iphone-os-3-0-camera-disappeared/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP 64-bit Edition is not compatible with Google Calendar Sync at this time</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/06/windows/windows-xp-64-bit-edition-is-not-compatible-with-google-calendar-sync-at-this-time/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/06/windows/windows-xp-64-bit-edition-is-not-compatible-with-google-calendar-sync-at-this-time/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 04:05:13 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=162</guid>
		<description><![CDATA[Calendar sync works in XP 64 using compatibility mode  
Well it does work for me &#8211; two way sync with Outlook 2007!
Simply save the installer to your machine, right click on the installer executable and select properties in the second tab Compatibility check the checkbox &#8220;Run this program in compatibility mode for: Windows XP.
Run [...]]]></description>
			<content:encoded><![CDATA[<p>Calendar sync works in XP 64 using compatibility mode <img src='http://scratchpad.farmsoftstudios.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Well it does work for me &#8211; two way sync with Outlook 2007!</p>
<p>Simply save the installer to your machine, right click on the installer executable and select properties in the second tab Compatibility check the checkbox &#8220;Run this program in compatibility mode for: Windows XP.</p>
<p>Run the installer</p>
<p>Then before running the program, navigate to the installed executable with windows explorer. It will probably be in: <code>C:\Program Files x86\Google\Google Calendar Sync\</code> right click on GoogleCalendarSync.exe and do the same as for the installer. Compatibility with Windows XP</p>
<p>run the sync&#8230;</p>
<p>via <a href="http://www.google.com/support/forum/p/Calendar/thread?tid=5b910c95a8bfb844&amp;hl=en">Windows XP 64-bit Edition is not compatible with Google Calendar Sync at this time &#8211; Calendar Help</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/06/windows/windows-xp-64-bit-edition-is-not-compatible-with-google-calendar-sync-at-this-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Table Is Marked As Crashed and Should Be Repaired</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/06/linux/mysql-table-is-marked-as-crashed-and-should-be-repaired/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/06/linux/mysql-table-is-marked-as-crashed-and-should-be-repaired/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 00:10:46 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=157</guid>
		<description><![CDATA[I was greeted by the following error this evening from within my SugarCRM instance:
MySQL error 1194: Table 'contacts' is marked as crashed and should be repaired
So this is what I did to fix it:

[root@crm ~]# mysql -p
Enter password: ********
Welcome to the MySQL monitor.  Commands end with ; or \g.

mysql> use sugarcrm
Reading table information for [...]]]></description>
			<content:encoded><![CDATA[<p>I was greeted by the following error this evening from within my SugarCRM instance:</p>
<pre>MySQL error 1194: Table 'contacts' is marked as crashed and should be repaired</pre>
<p>So this is what I did to fix it:</p>
<pre>
[root@crm ~]# mysql -p
Enter password: ********
Welcome to the MySQL monitor.  Commands end with ; or \g.

mysql> use sugarcrm
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> CHECK TABLE contacts;
+-------------------+-------+----------+-----------------------------+
| Table             | Op    | Msg_type | Msg_text                    |
+-------------------+-------+----------+-----------------------------+
| sugarcrm.contacts | check | error    | Found wrong record at 73544 |
| sugarcrm.contacts | check | error    | Corrupt                     |
+-------------------+-------+----------+-----------------------------+
2 rows in set (0.18 sec)

mysql> REPAIR TABLE contacts;
+-------------------+--------+----------+-----------------------------------------------------+
| Table             | Op     | Msg_type | Msg_text                                            |
+-------------------+--------+----------+-----------------------------------------------------+
| sugarcrm.contacts | repair | info     | Key 1 - Found wrong stored record at 73544          |
| sugarcrm.contacts | repair | info     | Found block with too small length at 78096; Skipped |
| sugarcrm.contacts | repair | warning  | Number of rows changed from 892 to 877              |
| sugarcrm.contacts | repair | status   | OK                                                  |
+-------------------+--------+----------+-----------------------------------------------------+
4 rows in set (0.26 sec)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/06/linux/mysql-table-is-marked-as-crashed-and-should-be-repaired/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
