<?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>I Grok2!</title>
	<atom:link href="http://www.grok2.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.grok2.com/blog</link>
	<description>Except when I don't....</description>
	<lastBuildDate>Sat, 04 Feb 2012 22:09:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Using LiveCode (RunRev) with SDK Platform Android 2.2, API 8, revision 3</title>
		<link>http://www.grok2.com/blog/2011/10/06/using-livecode-runrev-with-sdk-platform-android-2-2-api-8-revision-3/</link>
		<comments>http://www.grok2.com/blog/2011/10/06/using-livecode-runrev-with-sdk-platform-android-2-2-api-8-revision-3/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 07:11:34 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[livecode]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[runrev]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/2011/10/06/using-livecode-runrev-with-sdk-platform-android-2-2-api-8-revision-3/</guid>
		<description><![CDATA[The current (LiveCode 4.6.3, Oct 2011) release of LiveCode for Android development does not accept the revision 3 directory structure of the Android 2.2 (Froyo) SDK and needs some directory structure tweaking as below: Copy the folder &#60;android-sdk&#62;\platform-tools\ to &#60;android-sdk&#62;\platforms\android-8\tools\ You need to do this when in the Edit menu Preferences dialog for the Mobile [...]]]></description>
			<content:encoded><![CDATA[<!-- Easy AdSense Redux V2.82 -->
<!-- Post[count: 2] -->
<div class="ezAdsense adsense adsense-leadin" style="float:right;margin:6px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-2859704241898192";
/* blogpostad */
google_ad_slot = "1221128987";
google_ad_width = 180;
google_ad_height = 150;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p>The current (LiveCode 4.6.3, Oct 2011) release of <a href="http://www.runrev.com/">LiveCode</a> for Android development does not accept the revision 3 directory structure of the Android 2.2 (Froyo) SDK and needs some directory structure tweaking as below:</p>
<blockquote><p>Copy the folder</p>
<pre>&lt;android-sdk&gt;\platform-tools\</pre>
<p>to</p>
<pre>&lt;android-sdk&gt;\platforms\android-8\tools\</pre>
</blockquote>
<p>You need to do this when in the <em>Edit</em> menu <em>Preferences</em> dialog for the <em>Mobile Support</em> item, if it fails with an error message saying:<br />
<strong>The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 2.2 (Froyo).</strong></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2011%2F10%2F06%2Fusing-livecode-runrev-with-sdk-platform-android-2-2-api-8-revision-3%2F&amp;title=Using%20LiveCode%20%28RunRev%29%20with%20SDK%20Platform%20Android%202.2%2C%20API%208%2C%20revision%203" id="wpa2a_2"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2011/10/06/using-livecode-runrev-with-sdk-platform-android-2-2-api-8-revision-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fragmentation when allocating memory</title>
		<link>http://www.grok2.com/blog/2011/07/28/fragmentation-when-allocating-memory/</link>
		<comments>http://www.grok2.com/blog/2011/07/28/fragmentation-when-allocating-memory/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 22:21:15 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/2011/07/28/fragmentation-when-allocating-memory/</guid>
		<description><![CDATA[To reduce fragmentation specially in high-activity code, allocate temporary buffers (buffers that will live only for a short while) from a separate memory pool. The idea is to avoid long-lived buffers and short-lived buffers from being allocated from the same pool.]]></description>
			<content:encoded><![CDATA[<p>To reduce fragmentation specially in high-activity code, allocate temporary buffers (buffers that will live only for a short while) from a separate memory pool. The idea is to avoid long-lived buffers and short-lived buffers from being allocated from the same pool.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2011%2F07%2F28%2Ffragmentation-when-allocating-memory%2F&amp;title=Fragmentation%20when%20allocating%20memory" id="wpa2a_4"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2011/07/28/fragmentation-when-allocating-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Focus on the road not the wall</title>
		<link>http://www.grok2.com/blog/2011/03/31/focus-on-the-road-not-the-wall/</link>
		<comments>http://www.grok2.com/blog/2011/03/31/focus-on-the-road-not-the-wall/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 17:41:46 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hack-thought]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/2011/03/31/focus-on-the-road-not-the-wall/</guid>
		<description><![CDATA[An interesting essay on being the CEO by Ben Horowitz. The ideas he suggests for managing your own psychology as a CEO also appears useful in general. The following stood out for me: Focus on the road not the wall Focusing on things that need to be done and not focusing on things that bring [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://techcrunch.com/2011/03/31/what%E2%80%99s-the-most-difficult-ceo-skill-managing-your-own-psychology/">An interesting essay on being the CEO by Ben Horowitz</a>. The ideas he suggests for managing your own psychology as a CEO also appears useful in general. The following stood out for me:</p>
<blockquote><p><em><a href="http://techcrunch.com/2011/03/31/what%E2%80%99s-the-most-difficult-ceo-skill-managing-your-own-psychology/">Focus on the road not the wall</a></em></p></blockquote>
<p>Focusing on things that need to be done and not focusing on things that bring your project down can help you finish your project and not go crashing into a wall <img src='http://www.grok2.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2011%2F03%2F31%2Ffocus-on-the-road-not-the-wall%2F&amp;title=Focus%20on%20the%20road%20not%20the%20wall" id="wpa2a_6"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2011/03/31/focus-on-the-road-not-the-wall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding and Holding The Big Picture in Your Head</title>
		<link>http://www.grok2.com/blog/2011/02/03/coding-and-holding-the-big-picture-in-your-head/</link>
		<comments>http://www.grok2.com/blog/2011/02/03/coding-and-holding-the-big-picture-in-your-head/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 06:04:12 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/2011/02/03/coding-and-holding-the-big-picture-in-your-head/</guid>
		<description><![CDATA[I find that I am often unable to complete some piece of code unless I have a mental picture of the whole thing in my head. And this is a huge problem. For small things, it is fairly easy to get a mental picture of what needs to be done and my coding happens fast. [...]]]></description>
			<content:encoded><![CDATA[<p>I find that I am often unable to complete some piece of code unless I have a mental picture of the whole thing in my head. And this is a huge problem. For small things, it is fairly easy to get a mental picture of what needs to be done and my coding happens fast. But for something that is larger, requiring perhaps a multi-step process with things that can go wrong in each or all of the steps, it is much harder. I keep procrastinating for days on end until my puny brain has wrapped itself around whatever needs be done end-to-end and I feel that I will be able to take care of all the loose ends and all corner cases are considered &#8212; mentally. Only then can I start coding.</p>
<p>But this method does not scale and also it&#8217;s hard to give a project schedule and tell when you&#8217;ll be done with some module <img src='http://www.grok2.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> .</p>
<p>I need to figure out some way of divide-and-conquer programming where I don&#8217;t need to have the entire thing in my head, but have just pieces of it in my head at a time, code that piece and be comfortable that the particular piece has been coded correctly &#8212; and that the way it&#8217;s been coded it will interact correctly with all the other pieces making the old adage of the sum of the parts being larger than the whole come true.</p>
<p>Oh well. I guess I cannot be everything all the time. Back to wrapping my head around this current problem&#8230;why is it that people find web-development easy and I keeping finding it hard and wondering why no-one sees that it is complicated distributed programming? That things can go wrong anytime and everywhere.</p>
<p>How do you deal with coding of such nature? Let me know in the comments.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2011%2F02%2F03%2Fcoding-and-holding-the-big-picture-in-your-head%2F&amp;title=Coding%20and%20Holding%20The%20Big%20Picture%20in%20Your%20Head" id="wpa2a_8"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2011/02/03/coding-and-holding-the-big-picture-in-your-head/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Firebug Add-On Notes</title>
		<link>http://www.grok2.com/blog/2010/11/22/firefox-firebug-add-on-notes/</link>
		<comments>http://www.grok2.com/blog/2010/11/22/firefox-firebug-add-on-notes/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 22:01:04 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firebug]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/2010/11/22/firefox-firebug-add-on-notes/</guid>
		<description><![CDATA[If you don&#8217;t see JavaScript that you know is on the page you are browsing, in the Script tab, then reload the page. If you want to see JavaScript errors as they happen on the page, look in the Console tab. In the Script tab, breakpoints can only be set on lines whose line numbers [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>If you don&#8217;t see JavaScript that you know is on the page you are browsing, in the <i><b>Script </b></i>tab, then reload the page.</li>
<li>If you want to see JavaScript errors as they happen on the page, look in the <i><b>Console </b></i>tab.</li>
<li>In the <i><b>Script </b></i>tab, breakpoints can only be set on lines whose line numbers are green in color.</li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2010%2F11%2F22%2Ffirefox-firebug-add-on-notes%2F&amp;title=Firefox%20Firebug%20Add-On%20Notes" id="wpa2a_10"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2010/11/22/firefox-firebug-add-on-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ignoring white space when performing diff with Subversion</title>
		<link>http://www.grok2.com/blog/2010/11/18/ignoring-white-space-when-performing-diff-with-subversion/</link>
		<comments>http://www.grok2.com/blog/2010/11/18/ignoring-white-space-when-performing-diff-with-subversion/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 16:36:14 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/?p=305</guid>
		<description><![CDATA[Subversion doesn&#8217;t seem to have support for ignoring white space changes when performing a diff against revisions. But it has an option to invoke an external diff utility. So I generally invoke GNU diff with it&#8217;s ignore white-space option as in below: svn diff --diff-cmd diff -x -uw /path/to/file]]></description>
			<content:encoded><![CDATA[<p>Subversion doesn&#8217;t seem to have support for ignoring white space changes when performing a diff against revisions. But it has an option to invoke an external diff utility. So I generally invoke GNU diff with it&#8217;s ignore white-space option as in below:</p>
<pre style="padding-left: 30px;"><code>svn diff --diff-cmd diff -x -uw /path/to/file</code></pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2010%2F11%2F18%2Fignoring-white-space-when-performing-diff-with-subversion%2F&amp;title=Ignoring%20white%20space%20when%20performing%20diff%20with%20Subversion" id="wpa2a_12"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2010/11/18/ignoring-white-space-when-performing-diff-with-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP function and method names are case-insensitive</title>
		<link>http://www.grok2.com/blog/2010/11/12/php-function-and-method-names-are-case-insensitive/</link>
		<comments>http://www.grok2.com/blog/2010/11/12/php-function-and-method-names-are-case-insensitive/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 04:05:19 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/?p=302</guid>
		<description><![CDATA[Wow! You learn something new everyday. Today, I learned that PHP function and method names are case-insensitive! This after a couple of years of using PHP off and on&#8230;]]></description>
			<content:encoded><![CDATA[<p>Wow! You learn something new everyday. Today, I learned that PHP function and method names are case-insensitive! This after a couple of years of using PHP off and on&#8230;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2010%2F11%2F12%2Fphp-function-and-method-names-are-case-insensitive%2F&amp;title=PHP%20function%20and%20method%20names%20are%20case-insensitive" id="wpa2a_14"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2010/11/12/php-function-and-method-names-are-case-insensitive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosted SMTP / SMTP Relay Service</title>
		<link>http://www.grok2.com/blog/2010/10/18/hosted-smtp-smtp-relay-service-2/</link>
		<comments>http://www.grok2.com/blog/2010/10/18/hosted-smtp-smtp-relay-service-2/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 05:32:59 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/2010/10/18/hosted-smtp-smtp-relay-service-2/</guid>
		<description><![CDATA[A few hosted SMTP (or SMTP Relay Service) providers (their servers are whitelisted, they manage bounces and can send out large volumes of email without attracting the attention of spam blacklisters or ISPs): SendGridPostmarkCritSendSocketLabsAmazon SNS : It seems like SNS can be used for this and would be a cheaper option than the rest, but [...]]]></description>
			<content:encoded><![CDATA[<p>A few hosted SMTP (or SMTP Relay Service) providers (their servers are whitelisted, they manage bounces and can send out large volumes of email without attracting the attention of spam blacklisters or ISPs):</p>
<p><a href="http://www.sendgrid.com/">SendGrid</a><br /><a href="http://www.postmarkapp.com/">Postmark</a><br /><a href="http://www.critsend.com/">CritSend</a><br /><a href="https://www.socketlabs.com/">SocketLabs</a><br /><a href="http://aws.amazon.com/sns/">Amazon SNS</a> : It seems like SNS can be used for this and would be a cheaper option than the rest, but no personal experience with it.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2010%2F10%2F18%2Fhosted-smtp-smtp-relay-service-2%2F&amp;title=Hosted%20SMTP%20%2F%20SMTP%20Relay%20Service" id="wpa2a_16"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2010/10/18/hosted-smtp-smtp-relay-service-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who is suing who in the mobile world&#8230;</title>
		<link>http://www.grok2.com/blog/2010/10/06/who-is-suing-who-in-the-mobile-world/</link>
		<comments>http://www.grok2.com/blog/2010/10/06/who-is-suing-who-in-the-mobile-world/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 22:10:07 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/2010/10/06/who-is-suing-who-in-the-mobile-world/</guid>
		<description><![CDATA[Based on the diagram from here&#8230;]]></description>
			<content:encoded><![CDATA[<p>Based on the diagram from <a href="http://www.networkworld.com/community/node/67113">here</a>&#8230;<br /><img style="max-width: 800px;" src="http://www.grok2.com/blog/wp-content/uploads/2010/10/whoissuing.png" height="317" width="543" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2010%2F10%2F06%2Fwho-is-suing-who-in-the-mobile-world%2F&amp;title=Who%20is%20suing%20who%20in%20the%20mobile%20world%26%238230%3B" id="wpa2a_18"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2010/10/06/who-is-suing-who-in-the-mobile-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If you are going to print tablular information&#8230;</title>
		<link>http://www.grok2.com/blog/2010/10/04/if-you-are-going-to-print-tablular-information/</link>
		<comments>http://www.grok2.com/blog/2010/10/04/if-you-are-going-to-print-tablular-information/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 20:51:18 +0000</pubDate>
		<dc:creator>grok2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.grok2.com/blog/2010/10/04/if-you-are-going-to-print-tablular-information/</guid>
		<description><![CDATA[&#8230;in a console as a result of some debugging or control command, then try to ensure that any column that uses string or such similar output does not have spaces within that column. This helps with parsing output using tools like awk that are able to split by column and help with subsequent slicing and [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;in a console as a result of some debugging or control command, then try to ensure that any column that uses string or such similar output does not have spaces within that column. This helps with parsing output using tools like <b>awk </b>that are able to split by column and help with subsequent slicing and dicing of the information (specially when debugging).</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.grok2.com%2Fblog%2F2010%2F10%2F04%2Fif-you-are-going-to-print-tablular-information%2F&amp;title=If%20you%20are%20going%20to%20print%20tablular%20information%26%238230%3B" id="wpa2a_20"><img src="http://www.grok2.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.grok2.com/blog/2010/10/04/if-you-are-going-to-print-tablular-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

