<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>kstruct</title>
	
	<link>http://kstruct.com</link>
	<description>Matt Sheppard</description>
	<lastBuildDate>Mon, 27 Apr 2009 01:55:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/kstruct" /><feedburner:info uri="kstruct" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site, subject to copyright and fair use.</feedburner:browserFriendly><item>
		<title>Playing with an SMS poll tool</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/GcebPhUDtsI/</link>
		<comments>http://kstruct.com/2009/02/04/playing-with-an-sms-poll-tool/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 09:27:18 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Impro]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=192</guid>
		<description><![CDATA[If you&#8217;re in Australia and want to vote&#8230;
swfobject.embedSWF("http://www.smspoll.net/polls/charts/2556S7CwFNGcE9rlSP.swf", "SMSPollChart","530", "450", "9.0.115", expressinstall, flashvars, params, attributes);

You need to upgrade your Flash Player to view this page.

]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re in Australia and want to vote&#8230;</p>
<p><script type="text/javascript" src="http://www.smspoll.net/js/swfobject.js"></script><script type="text/javascript" src="http://www.smspoll.net/js/embedsmspoll.js"></script><script type="text/javascript">swfobject.embedSWF("http://www.smspoll.net/polls/charts/2556S7CwFNGcE9rlSP.swf", "SMSPollChart","530", "450", "9.0.115", expressinstall, flashvars, params, attributes);</script>
<div id="SMSPollChart">
<p>You need to <a href="http://www.macromedia.com/go/getflashplayer">upgrade your Flash Player</a> to view this page.</p>
</div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=GcebPhUDtsI:gsD2X4EhnVc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=GcebPhUDtsI:gsD2X4EhnVc:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2009/02/04/playing-with-an-sms-poll-tool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://kstruct.com/2009/02/04/playing-with-an-sms-poll-tool/</feedburner:origLink></item>
		<item>
		<title>ExtJS forum vs Stack Overflow</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/WoJ9WLe6jCI/</link>
		<comments>http://kstruct.com/2008/09/21/extjs-forum-vs-stack-overflow/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 06:25:15 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=188</guid>
		<description><![CDATA[Back late last week, I posted the same question to both the ExtJS forum and to Stack Overflow - basically an issue I was running into with layout of some components in IE 6. At the time I wondered if the Stack Overflow one would even get any attention at all &#8211; ExtJS is pretty obscure, [...]]]></description>
			<content:encoded><![CDATA[<p>Back late last week, I posted the same question to both the <a href="http://extjs.com/forum/showthread.php?t=47494">ExtJS forum</a> and to <a href="http://stackoverflow.com/questions/90181/width-issue-with-extpanel-bbar-in-ie-6">Stack Overflow</a> - basically an issue I was running into with layout of some components in IE 6. At the time I wondered if the Stack Overflow one would even get any attention at all &#8211; ExtJS is pretty obscure, the tag only having been used six times to date. You would imagine a question on specific forum would have a much better chance of being answered.</p>
<p>Three days later, the ExtJS Forum post has received no response at all where as there were two answers on Stack Overflow, one of which is reasonably helpful, and the other of which completely solved my problem. I guess it&#8217;s a testament to the power of offering people some sort of quantifiable &#8216;reputation&#8217; points.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=WoJ9WLe6jCI:oGkTWFUKWoE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=WoJ9WLe6jCI:oGkTWFUKWoE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2008/09/21/extjs-forum-vs-stack-overflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kstruct.com/2008/09/21/extjs-forum-vs-stack-overflow/</feedburner:origLink></item>
		<item>
		<title>Will JavaScript replace Objective-C as the primary language of Cocoa?</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/gK9EXyMKjmU/</link>
		<comments>http://kstruct.com/2008/09/19/will-javascript-replace-objective-c-as-the-primary-language-of-cocoa/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 12:56:21 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=182</guid>
		<description><![CDATA[Reading the announcement of SquirrelFish Extreme it crossed my mind that since Apple seems to be putting a lot of effort into JavaScript performance perhaps there&#8217; s more to it than speeding up Safari. Maybe Apple want to make JavaScript fast enough that it could replace Objective-C in the the majority of desktop Cocoa applications.
I never [...]]]></description>
			<content:encoded><![CDATA[<p>Reading the announcement of <a href="http://webkit.org/blog/214/introducing-squirrelfish-extreme/">SquirrelFish Extreme</a> it crossed my mind that since Apple seems to be putting a lot of effort into JavaScript performance perhaps there&#8217; s more to it than speeding up Safari. Maybe Apple want to make JavaScript fast enough that it could replace Objective-C in the the majority of desktop Cocoa applications.</p>
<p>I never used the ill fated Java version of Cocoa, but from the bit of exposure I&#8217;ve had, JavaScript seems like a much more suitable replacement for Objective-C than Java. In fact, I would say that JavaScript, being prototype based, is quite a bit more flexible than Objective-C (though whether that&#8217;s a good thing may be questionable). Presumably Java was originally chosen, despite its static typing, because of its popularity but these days is seems like JavaScript is getting more any more attention as a serious language. I suspect in a few years time, JavaScript will become the most common first programming language for engineers, much the way BASIC used to be, simply because it&#8217;s so widely deployed in the web browser platform.</p>
<p>Though Apple must be happy with the Objective-C ecosystem they&#8217;ve developed, no one else appears to be moving towards it as a language. When compared to C# as in .Net or the Java-ish platform Google is pushing for Android, Objective-C seems difficult to learn and quite low level, especially without garbage collection as on the iPhone. Fewer and fewer engineers even seem to learn C these days, which will no doubt make Objective-C appear more and more difficult to newcomers over time.</p>
<p>The obvious first objection to using JavaScript in the desktop application scenario would be performance, but with so much effort going into improving it, it seems like it won&#8217;t be long before it is at least on par with virtual machine languages like C# and Java. To add a bit more evidence to the pile, Apple is clearly somewhat taken with JavaScript if they&#8217;re talking about JavaScript frameworks like <a href="http://www.appleinsider.com/articles/08/06/16/apples_open_secret_sproutcore_is_cocoa_for_the_web.html">SproutCore (which I&#8217;m told is very Cocoa-like) at WWDC</a> and there are already bindings available for <a href="http://www.cocoadev.com/index.pl?JavaScriptCocoaBridge">Dashboard widget development</a>.</p>
<p>Ruby and Python might also be viable options if Apple were to move away from Objective-C, but currently suffer the same performance difficulties, and don&#8217;t seem to be getting the same level of performance attention (at least from Apple). Time will no doubt tell, but thinking about it, I can&#8217;t see a language which would be more suitable as a replacement for Objective-C than JavaScript.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=gK9EXyMKjmU:OOTqFUVMwbQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=gK9EXyMKjmU:OOTqFUVMwbQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2008/09/19/will-javascript-replace-objective-c-as-the-primary-language-of-cocoa/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://kstruct.com/2008/09/19/will-javascript-replace-objective-c-as-the-primary-language-of-cocoa/</feedburner:origLink></item>
		<item>
		<title>First page of users in StackOverflow</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/Wu9EH16X9Ls/</link>
		<comments>http://kstruct.com/2008/09/13/first-page-of-users-in-stackoverflow/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 13:29:36 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=178</guid>
		<description><![CDATA[As of this evening, I&#8217;ve made it to the first page of users on StackOverflow (sorted by reputation scores). I&#8217;m fairly please with myself, considering I&#8217;ve been staying out of all the meta discussions and don&#8217;t really know much about C#/.Net (the most popular topics by far).

I suspect my moment of glory will be brief [...]]]></description>
			<content:encoded><![CDATA[<p>As of this evening, I&#8217;ve made it to the first page of users on <a href="http://stackoverflow.com/">StackOverflow</a> (sorted by reputation scores). I&#8217;m fairly please with myself, considering I&#8217;ve been staying out of all the meta discussions and don&#8217;t really know much about C#/.Net (the most popular topics by far).</p>
<p><span style="color: #0000ee; text-decoration: underline;"><a href="http://kstruct.com/wp-content/uploads/2008/09/stackoverflow-page1-highlighted-small.png"></a><a href="http://kstruct.com/wp-content/uploads/2008/09/stackoverflow-page1-highlighted.png"><img class="alignnone size-full wp-image-180" title="stackoverflow-page1-highlighted-small" src="http://kstruct.com/wp-content/uploads/2008/09/stackoverflow-page1-highlighted-small.png" alt="" width="500" height="399" /></a></span></p>
<p>I suspect my moment of glory will be brief with StackOverflow opening to the whole wide world shortly, but I figured it was worth commemorating here (since there&#8217;s no badge for it).</p>
<p>I&#8217;ve been considering whether there&#8217;s some way I can easily cross post questions and answers I post to this blog, but haven&#8217;t come up with a good way to do it so far.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=Wu9EH16X9Ls:83vTLpCgx0Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=Wu9EH16X9Ls:83vTLpCgx0Y:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2008/09/13/first-page-of-users-in-stackoverflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kstruct.com/2008/09/13/first-page-of-users-in-stackoverflow/</feedburner:origLink></item>
		<item>
		<title>Returning from a java finally block</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/qCH_JYV5NeM/</link>
		<comments>http://kstruct.com/2008/08/08/returning-from-a-java-finally-block/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 11:38:05 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=177</guid>
		<description><![CDATA[It had never even crossed my mind until today, but it turns out that a java finally clause is allowed to overwrite the return value. This example prints 0 rather than 1.

package com.kstruct;

public class Main {

	public static void main(String[] args) {
		System.out.println(test());
	}

	private static int test() {
		try {
			return 1;
		} finally {
			return 0;
		}
	}
}

That could get really confusing in [...]]]></description>
			<content:encoded><![CDATA[<p>It had never even crossed my mind until today, but it turns out that a java finally clause is allowed to overwrite the return value. This example prints 0 rather than 1.</p>
<p><code></p>
<pre>package com.kstruct;

public class Main {

	public static void main(String[] args) {
		System.out.println(test());
	}

	private static int test() {
		try {
			return 1;
		} finally {
			return 0;
		}
	}
}</pre>
<p></code></p>
<p>That could get really confusing in a long / complex / poorly written function&#8230;</p>
<p>&#8230;and apparently things get <a href="http://weblogs.java.net/blog/staufferjames/archive/2007/06/_dont_return_in.html">worse</a> and <a href="http://www.cs.arizona.edu/projects/sumatra/hallofshame/">worse</a> the more you look into them.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=qCH_JYV5NeM:XMDs5pA5_C0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=qCH_JYV5NeM:XMDs5pA5_C0:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2008/08/08/returning-from-a-java-finally-block/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://kstruct.com/2008/08/08/returning-from-a-java-finally-block/</feedburner:origLink></item>
		<item>
		<title>Constant CSS</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/32A1J7TwDvo/</link>
		<comments>http://kstruct.com/2008/06/13/constant-css/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 07:50:25 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=176</guid>
		<description><![CDATA[Annoyed by CSS&#8217;s lack of #define style constants, and looking for an excuse to try out with the Google App Engine, I started building with a simple app to provide a simple CSS constant expansion service a few weeks back. It&#8217;s now up and running at http://www.constantcss.com/ if anyone would like to try it out.
The service [...]]]></description>
			<content:encoded><![CDATA[<p>Annoyed by CSS&#8217;s lack of #define style constants, and looking for an excuse to try out with the Google App Engine, I started building with a simple app to provide a simple CSS constant expansion service a few weeks back. It&#8217;s now up and running at <a href="http://www.constantcss.com/">http://www.constantcss.com/</a> if anyone would like to try it out.</p>
<p>The service is only intended for use while tweaking your design. You&#8217;ve got to be logged in to the site to actually fetch the updated CSS file (to avoid allowing people to use the site to serve up their site&#8217;s CSS file), but it does provide a cute tweaking option by reading parameters out of the referrer URL, meaning you can tweak the CSS without changing the actual CSS source in the web page.</p>
<p>Here&#8217;s a very simple example of the constant syntax.</p>
<pre>/* @cssconstants
    @define NORMAL_SIZE 10pt
*/
p {
    font-size: /*NORMAL_SIZE*/10pt/*NORMAL_SIZE*/;
}</pre>
<p>It isn&#8217;t elegant, but is nice in that</p>
<ul>
<li>The values can be updated without ever losing the information about which constants occurred where, which makes the tweaking workflow a bit smoother.</li>
<li>The file itself is still valid CSS, so you can serve it up with the constants still in there if you like.</li>
<li>If I ever go away, you could pretty easily update it with just a text editor which can do simple regular expression replacements.</li>
</ul>
<p>The source code is also available in a git repository at <a href="http://github.com/mattsheppard/constant-css/tree/master">http://github.com/mattsheppard/constant-css/tree/master</a> if anyone wants to run their own version or make improvements. This is my first time using Python and Git as well, so I imagine there are currently many things being done poorly, and any pointers are more than welcome.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=32A1J7TwDvo:w9jE77Kf32c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=32A1J7TwDvo:w9jE77Kf32c:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2008/06/13/constant-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kstruct.com/2008/06/13/constant-css/</feedburner:origLink></item>
		<item>
		<title>AllHomes RSS</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/YOUaX_M_yPw/</link>
		<comments>http://kstruct.com/2008/05/03/allhomes-rss/#comments</comments>
		<pubDate>Sat, 03 May 2008 06:34:24 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=174</guid>
		<description><![CDATA[I just put a python script up on google code which you can use to convert an allhomes.com.au page (like this one for all the property listings in Braddon). I&#8217;m using it with NetNewsWire&#8217;s script subscription feature, and it seems to have done exactly what I want for the last week or so.
http://code.google.com/p/allhomes-rss/
(I&#8217;m pretty new [...]]]></description>
			<content:encoded><![CDATA[<p>I just put a python script up on google code which you can use to convert an allhomes.com.au page (like this one for all the property listings in <a href="http://www.allhomes.com.au/ah/ah0069?lstype=res&amp;divid=10008">Braddon</a>). I&#8217;m using it with NetNewsWire&#8217;s script subscription feature, and it seems to have done exactly what I want for the last week or so.</p>
<p><a href="http://code.google.com/p/allhomes-rss/">http://code.google.com/p/allhomes-rss/</a></p>
<p>(I&#8217;m pretty new to python, so anyone who&#8217;d like to take the time to point out where I&#8217;m making life hard for myself in there is most welcome)</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=YOUaX_M_yPw:sTwBmaPhCg0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=YOUaX_M_yPw:sTwBmaPhCg0:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2008/05/03/allhomes-rss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kstruct.com/2008/05/03/allhomes-rss/</feedburner:origLink></item>
		<item>
		<title>iPhone developer program international</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/8ak7PALDJ40/</link>
		<comments>http://kstruct.com/2008/05/03/iphone-developer-program-international/#comments</comments>
		<pubDate>Sat, 03 May 2008 01:55:29 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=170</guid>
		<description><![CDATA[Looks like the iPhone developer program has gone international &#8211; I&#8217;m in Australia and just got my approval. Looks like there are now 28 countries (or at least currencies) on the list. (Actually, now I think of it, lots of those countries are in the EU and using the Euro. Hmmmmm)Time to start playing with [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like the iPhone developer program has gone international &#8211; I&#8217;m in Australia and just got my approval. Looks like there are now 28 countries (or at least currencies) on the list. (Actually, now I think of it, lots of those countries are in the EU and using the Euro. Hmmmmm)<span style="color: #0000ee; text-decoration: underline" class="Apple-style-span"><a href="http://kstruct.com/wp-content/uploads/2008/05/iphone_developer_international.png" title="Cropped version of the iPhone developer program country list"><img src="http://kstruct.com/wp-content/uploads/2008/05/iphone_developer_international_cropped.png" alt="Cropped version of the iPhone developer program country list" border="0" /></a></span>Time to start playing with that accelerometer&#8230;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=8ak7PALDJ40:yjoH7E12Ahw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=8ak7PALDJ40:yjoH7E12Ahw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2008/05/03/iphone-developer-program-international/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://kstruct.com/2008/05/03/iphone-developer-program-international/</feedburner:origLink></item>
		<item>
		<title>Credit card expiration dates are inclusive</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/j3n2Ta6lx0I/</link>
		<comments>http://kstruct.com/2008/04/11/credit-card-expiration-dates-are-inclusive/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 07:17:46 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=169</guid>
		<description><![CDATA[I tried to look this up a little while ago, but couldn&#8217;t find the info anywhere obvious. Anyway, since I recently got my new one, I can confirm that the expiration date on a credit card (or at least my MasterCard one) is inclusive (i.e. 03/08 means it expires at the end of march, not [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to look this up a little while ago, but couldn&#8217;t find the info anywhere obvious. Anyway, since I recently got my new one, I can confirm that the expiration date on a credit card (or at least my MasterCard one) is inclusive (i.e. 03/08 means it expires at the end of march, not the beginning).</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=j3n2Ta6lx0I:UI3NgfCA0WQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=j3n2Ta6lx0I:UI3NgfCA0WQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2008/04/11/credit-card-expiration-dates-are-inclusive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kstruct.com/2008/04/11/credit-card-expiration-dates-are-inclusive/</feedburner:origLink></item>
		<item>
		<title>Free text search + debugger</title>
		<link>http://feedproxy.google.com/~r/kstruct/~3/hIIqoqqwsIM/</link>
		<comments>http://kstruct.com/2008/04/10/free-text-search-debugger/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 07:46:10 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://kstruct.com/?p=168</guid>
		<description><![CDATA[
I&#8217;ve been spending quite a bit of my time lately learning my way around a big new code base. Being able to set random breakpoints and step through the code is a godsend, but quite often, it can be tricky to quickly narrow things down to the area you&#8217;re interested in. What I realised this [...]]]></description>
			<content:encoded><![CDATA[<p>
I&#8217;ve been spending quite a bit of my time lately learning my way around a big new code base. Being able to set random breakpoints and step through the code is a godsend, but quite often, it can be tricky to quickly narrow things down to the area you&#8217;re interested in. What I realised this afternoon is that my life would be much easier if I had a debugger combined with a free text search.
</p>
<p>
In the first instance, it would be enough to just search the source lines which are being executed (and maybe break whenever there&#8217;s a match). That would let me, for example, find exactly where that extra parameter is being added to my URL without having to step through everything or grep the source code for what turns out to be a very common string.
</p>
<p>
To take it a step further, it would be really handy if it searched values of variables along the way to catch the case where the parameter name was pulled out of a config file or database).
</p>
<p>
Of course, it would probably be very difficult to implement (at least in a compiled language) in a way that has reasonable performance, but even a very slow solution would work well from what I&#8217;m currently doing. Maybe the another way of looking at the problem is that I want to search through only the code which was actually executed during a particular invocation&#8230;
</p>
<p>
Anyway, it&#8217;s probably not something I&#8217;ll be heading off trying to implement (and I imagine at some point someone will tell me you can already do it in smalltalk), but it certainly would have been handy if it had been in eclipse today.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/kstruct?a=hIIqoqqwsIM:C0YYo0LchGo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/kstruct?a=hIIqoqqwsIM:C0YYo0LchGo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/kstruct?d=7Q72WNTAKBA" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kstruct.com/2008/04/10/free-text-search-debugger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kstruct.com/2008/04/10/free-text-search-debugger/</feedburner:origLink></item>
	</channel>
</rss>
