<?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>Philip Yurchuk</title>
	<atom:link href="http://philip.yurchuk.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://philip.yurchuk.com</link>
	<description>Software Development Blog</description>
	<lastBuildDate>Sun, 13 Sep 2009 07:32:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why You Should Keep Your Launch Dates Secret</title>
		<link>http://philip.yurchuk.com/2009/09/13/why-apple-keeps-its-launch-dates-secret/</link>
		<comments>http://philip.yurchuk.com/2009/09/13/why-apple-keeps-its-launch-dates-secret/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 07:31:26 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/?p=62</guid>
		<description><![CDATA[It occurred to me that by keeping launch dates secret, Apple never appears to suck at software estimation. Microsoft gives a date, sails right past it, and everyone is up in arms about it.
A better question is why doesn&#8217;t MS keep things secret? Or all software companies, for that matter? I know with sales, everyone [...]]]></description>
			<content:encoded><![CDATA[<p>It occurred to me that by keeping launch dates secret, Apple never appears to suck at software estimation. Microsoft gives a date, sails right past it, and everyone is up in arms about it.</p>
<p>A better question is why doesn&#8217;t MS keep things secret? Or all software companies, for that matter? I know with sales, everyone wants to know when the next version is out so they can hold off on buying the current one. Or the sales person tries to keep you from buying their competitor&#8217;s product because their next version will be much better. But everyone knows there&#8217;s no guarantee of that happening, and there&#8217;s a potential opportunity cost in waiting. And since the estimates that drive the schedule were done by the wrong people at the wrong time, without being updated,<sup>1</sup> you&#8217;ll probably be waiting longer than they claim.</p>
<p>I think the best policy would be to launch whenever it&#8217;s ready, and everyone who purchased within the last 60 days &#8211; or better yet, has a support contract &#8211; gets the new version for free.</p>
<p>Of course, this only applies to software. For hardware, you&#8217;re forced to apply common sense: do I need this right now? Does it do what need at a fair price? Or you can visit http://buyersguide.macrumors.com/ and hope they&#8217;re right.</p>
<ol class="footnotes"><li id="footnote_0_62" class="footnote">See the Estimation section of <a href="http://www.amazon.com/gp/product/0321117425?ie=UTF8&amp;tag=thcrte-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0321117425"><em>Facts and Fallacies of Software Engineering</em></a>.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2009/09/13/why-apple-keeps-its-launch-dates-secret/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deleting (undeletable) Tasks In Eclipse</title>
		<link>http://philip.yurchuk.com/2009/07/11/deleting-undeletable-tasks-in-eclipse/</link>
		<comments>http://philip.yurchuk.com/2009/07/11/deleting-undeletable-tasks-in-eclipse/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 11:27:03 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/?p=41</guid>
		<description><![CDATA[I recently had some more frustration with Eclipse, with no solution on the web, so I&#8217;m posting mine.
The problem:
I had an auto-generated task (TODO) from creating a class that implemented an interface. At some point, I noticed the task comment was gone, but the task indicator (checkbox icon) was still there. Probably because I have [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had some more frustration with Eclipse, with no solution on the web, so I&#8217;m posting mine.</p>
<p><strong>The problem</strong>:</p>
<p>I had an auto-generated task (TODO) from creating a class that implemented an interface. At some point, I noticed the task comment was gone, but the task indicator (checkbox icon) was still there. Probably because I have it set to reformat on save, but maybe I deleted the task comment without hitting the task button (or both). Anyway, I could not clear it no matter what:</p>
<ul>
<li>Double clicking the icon didn&#8217;t work since it couldn&#8217;t find the comment.</li>
<li>Clicking the &#8220;Clean and Redetect Tasks&#8221; button did nothing.</li>
<li>Restarting Eclipse (which I do more often than a Windows admin reboots), did naught.</li>
<li>The Task View displayed the offending tasks, but the Delete option was greyed out. Selecting the task and hitting delete 3 million times while cursing furiously at the screen brought no justice.</li>
</ul>
<p><strong>The solution</strong>:</p>
<ol>
<li>Go to Window &gt;&gt; Preferences, then Java/Compiler/Task Tags. Select the TODO task tag, or whatever accursed tag haunts you.</li>
<li>Click Remove. When it threatens a rebuild, call it&#8217;s bluff (that is, agree). When it&#8217;s done (and it took its sweet time), the offending tasks will be gone. Rejoice!</li>
<li>Click New&#8230; and restore the TODO tag. All legitimate TODO tasks will be restored.  <a title="Jabberwocky" href="http://en.wikipedia.org/wiki/Jabberwocky">Callooh! Callay!</a></li>
</ol>
<p>keywords: can&#8217;t delete tasks, task tags, eclipse 3.4, mylyn</p>
]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2009/07/11/deleting-undeletable-tasks-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Survey Hurdles And Incentives</title>
		<link>http://philip.yurchuk.com/2009/05/15/survey-hurdles-and-incentives/</link>
		<comments>http://philip.yurchuk.com/2009/05/15/survey-hurdles-and-incentives/#comments</comments>
		<pubDate>Sat, 16 May 2009 06:20:11 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Marketing]]></category>
		<category><![CDATA[surveys]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/?p=37</guid>
		<description><![CDATA[I just quit another survey before completing it, this one from Rhapsody. I like Rhapsody, and I don&#8217;t mind giving them my opinions to improve their service (or even to keep it the same). However, my time is valuable, and I can&#8217;t waste it on sites that don&#8217;t institute the simplest of usability measures. For [...]]]></description>
			<content:encoded><![CDATA[<p>I just quit another survey before completing it, this one from Rhapsody. I like Rhapsody, and I don&#8217;t mind giving them my opinions to improve their service (or even to keep it the same). However, my time is valuable, and I can&#8217;t waste it on sites that don&#8217;t institute the simplest of usability measures. For example, if I leave a question blank, and there is a very reasonable conversion for blank (like zero or n/a), don&#8217;t come back to me with &#8220;answer all questions properly.&#8221; They didn&#8217;t even highlight which question they had a problem with or what, specifically, was wrong. The second time I got that message, I just closed the tab. They said the survey would take 10-15 minutes. Well guess what? If you coded it nicely, it&#8217;d only take us 5.</p>
<p>This is similar to telemarketers who give phone surveys and, because of some stupid rule set up by their management, must tell you what the numbers 1 through 5 represent for every single question. At that point, I&#8217;m thinking 1 for slightly annoyed, 2 for really annoyed, 3 for angry, 4 for hanging up right now&#8230;</p>
<p>And offering a chance of winning a single $100 Amazon gift card (which seems to be a new survey standard) is really no incentive at all. If you really want to incentivize, why not say 100 people will get a free month of Rhapsody to Go? Wouldn&#8217;t that improve your image without costing you much, since it&#8217;s your survey to begin with?</p>
<p>Look, for many topics, I&#8217;m a guy who actually cares. I&#8217;m happy to give you my opinions and insights. Please stop making me care less.</p>
]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2009/05/15/survey-hurdles-and-incentives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Tivo Wishlist For Those Without Tivo</title>
		<link>http://philip.yurchuk.com/2009/05/05/a-tivo-wishlist-for-those-without-tivo/</link>
		<comments>http://philip.yurchuk.com/2009/05/05/a-tivo-wishlist-for-those-without-tivo/#comments</comments>
		<pubDate>Wed, 06 May 2009 00:10:42 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/?p=36</guid>
		<description><![CDATA[I had this idea and considered creating it as a service, but I&#8217;ve got my own web startup going and don&#8217;t need the distraction. Several sites, such as Zap2it, TV Guide, and TitanTV (beta) already have the infrastructure (as well as the TV listings I&#8217;d have to license) so hopefully this won&#8217;t be too hard [...]]]></description>
			<content:encoded><![CDATA[<p>I had this idea and considered creating it as a service, but I&#8217;ve got my own web startup going and don&#8217;t need the distraction. Several sites, such as <a href="http://Zap2it.com">Zap2it</a>, <a href="http://tvguide.com/listings">TV Guide</a>, and <a href="http://beta.titantv.com">TitanTV</a> (beta) already have the infrastructure (as well as the TV listings I&#8217;d have to license) so hopefully this won&#8217;t be too hard for one of them to implement.</p>
<p>I&#8217;m looking for a clone of the <a href="http://www.tivo.com/mytivo/howto/getthemostoutoftv/howto_create_wishlist_search.html">Tivo Wishlist</a>. The difference is that instead of recording, you get email alerts. I imagine if you have a DVR/PVR that is internet programmable, the service could take advantage of that, but I&#8217;ve got my cable company&#8217;s DVR (Scientific Atlanta) like most people and must program it with the remote. So this provides a wishlist feature for everyone without a Tivo, which I think is compelling.</p>
<p>The search features of current TV listings sites are missing critical fields for a wishlist to work (not to mention the email reminder part). Filtering (both inclusive and exclusive) by genre and channel are required.</p>
<p>Here are a couple strong (IMHO) use cases:</p>
<ul>
<li>You want to be notified if anyone on a list of people is scheduled to be on a talk show. You enter description:&#8221;Quentin Tarantino, Kevin Smith, Judd Apatow&#8221; and genre: talk and every time any of them appear on a talk show you&#8217;re notified. If Tarantino&#8217;s <em>Reservoir Dogs </em>is played on HBO, nothing happens.</li>
<li>You&#8217;re planning a vacation and you want to record travel shows about various places. You enter keywords:&#8221;Prague,Tokyo,Paris&#8221; and interest:travel (or perhaps channels:travel,discovery,tlc,pbs) and you get notified for any travel shows relevant to you.</li>
</ul>
<p>Of course, the above would be done via a nice GUI/query builder.</p>
<p>When you get your email, there would be links to hide/exclude shows in the future, which is useful for anything that gets rerun frequently (especially basic cable shows).</p>
<p>You can monetize this through targeted ads, since the user is telling you what he/she wants.</p>
<p>Another service would be to send a post-mortem email that includes links to the shows you want on Hulu, YouTube, the network&#8217;s website, etc. after they&#8217;ve been uploaded.Â  At that point you&#8217;re much closer to a real Tivo service and could possibly charge for it. Possibly.</p>
<p>I should point out that <a href="http://http://www3.tivo.com/tivo-tco/search/advanced/show.do">Tivo&#8217;s own advanced search</a> is great and includes categories (and subs) and is open to the public.</p>
<p>And if you are only interested in the talk show part, you can set a calendar reminder to check the <a href="http://www.interbridge.com/lineups.html">talk show lineups page</a> once a week. However, I&#8217;d much rather have something automated that allows me to set it and forget it.Â  I could probably whip up a script to parse that page and run it as a service/cron job to notify me when there&#8217;s a match, but still, it would only work for talk shows. And parsing poorly formed HTML is a pain.</p>
<p>No, the easiest solution is to convince someone else to implement it for me <img src='http://philip.yurchuk.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Update: If you want to see Yahoo TV implement this, <a title="Actor/Keyword wishlist" href="http://suggestions.yahoo.com/detail/?prop=tv&amp;fid=143805">upvote it here</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2009/05/05/a-tivo-wishlist-for-those-without-tivo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Should Apple Buy Sun?</title>
		<link>http://philip.yurchuk.com/2009/03/27/should-apple-buy-sun/</link>
		<comments>http://philip.yurchuk.com/2009/03/27/should-apple-buy-sun/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 08:17:05 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/?p=34</guid>
		<description><![CDATA[That question was posed on the LAJUG mailing list in a response to a rumor about IBM buying Sun. I think it&#8217;s clear that Apple doesn&#8217;t really want to get into enterprise computing. Their entry, the OS X Server, at that price point, shows they are not serious about it.
This may sound ridiculous, but I [...]]]></description>
			<content:encoded><![CDATA[<p>That question was posed on the LAJUG mailing list in a response to a rumor about IBM buying Sun. I think it&#8217;s clear that Apple doesn&#8217;t really want to get into enterprise computing. Their entry, the OS X Server, at that price point, shows they are not serious about it.</p>
<p>This may sound ridiculous, but I believe Apple doesn&#8217;t think enterprise computing is a <strong>cool </strong>enough market to enter. They really seem to love being in the spotlight with consumer products. And the fact that the art and entertainment industries use their stuff. It&#8217;s glamorous and I don&#8217;t blame them for it.</p>
<p>Because of all that, acquiring Sun, or even merging with them, doesn&#8217;t make strategic sense. The only major synergy would be Apple&#8217;s GUI and integration from their server OS added to Solaris. Sun would lose training income driven by an OS that&#8217;s unwieldy to manage, but they could charge for it as a product. It would certainly save their customers money on admin labor costs. However, they could probably license that from Apple and avoid a fruitless merger.</p>
<p>In addition, Sun is a bigger pill to swallow than most realize. IBM is much better suited for them. And despite heavy list traffic on the subject, I haven&#8217;t heard anyone voice their opposition to the idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2009/03/27/should-apple-buy-sun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Want a Java Example Project Directory</title>
		<link>http://philip.yurchuk.com/2009/02/27/i-want-a-java-example-project-directory/</link>
		<comments>http://philip.yurchuk.com/2009/02/27/i-want-a-java-example-project-directory/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 09:55:11 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[integration]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/?p=30</guid>
		<description><![CDATA[I&#8217;m starting a new project with some new (to me) technologies and finding the start up process &#8211; setting up my IDE and build script to play nice together &#8211; to be somewhat frustrating. I kept thinking to myself, &#8220;Somebody already solved this; wouldn&#8217;t it be great if I could grab their project and just [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m starting a new project with some new (to me) technologies and finding the start up process &#8211; setting up my IDE and build script to play nice together &#8211; to be somewhat frustrating. I kept thinking to myself, &#8220;Somebody already solved this; wouldn&#8217;t it be great if I could grab their project and just start coding?&#8221;</p>
<p>My idea is for a directory of Java example projects.<sup>1</sup> It would make it easy to search projects by stack: IDE, tools, frameworks, libraries, and app server. Projects would include the minimum to show the integration points. The directory would also have basic social features: a way to vote up projects and a forum for discussing integration, setup, and architecture best practices. This is probably something a CMS expert could tackle fairly easily.</p>
<p>I admit there are a few problems with this idea. People expect to thrash around during project startup. They learn from it. When it&#8217;s over, they start doing real work. They probably don&#8217;t want to share their lessons learned. Those that do are typically evangelists for a particular framework. Spring, as an integration framework, comes to mind with its Pet Clinic and Pet Store examples. Hibernate&#8217;s Caveat Emptor is probably the best example app I&#8217;ve seen. AppFuse also demonstrates integration, although earlier versions seemed more explicit (the new version built with Maven seems to hide a lot of the details).</p>
<p>However, these apps don&#8217;t cover IDE configuration, and the IDE/build tool mismatch problem is where most of the difficulty lies. The most important IDE features, IMHO, are incremental building for syntax checking, and debugging. So you have this natural duplication of effort. The IDE/build script conversion tools (in either direction) seem narrow in scope; granted, I&#8217;m limiting myself to Eclipse/Flex Builder to/from Ant. I don&#8217;t know if full integration between the IDE and the build tool is the answer, but it would certainly go a long way in making things easier.</p>
<p>In the meantime, however, a project directory would be a welcome resource.</p>
<ol class="footnotes"><li id="footnote_0_30" class="footnote">You don&#8217;t need to host the projects themselves when there are already sites like code.google.com and Source Forge.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2009/02/27/i-want-a-java-example-project-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syncing Thunderbird Contacts and Calendar with Blackberry</title>
		<link>http://philip.yurchuk.com/2009/02/13/syncing-thunderbird-contacts-and-calendar-with-blackberry/</link>
		<comments>http://philip.yurchuk.com/2009/02/13/syncing-thunderbird-contacts-and-calendar-with-blackberry/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 10:12:41 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Life Hacks]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/?p=29</guid>
		<description><![CDATA[Sometime late last year I switched from Outlook 2003 to Thunderbird.1 I liked Outlook, I was used to it from work, so I didn&#8217;t want to switch. But it didn&#8217;t take long before it&#8217;s abysmal IMAP support drove me nuts with bogus error messages. I know Microsoft makes money off Exchange servers, not IMAP servers, [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime late last year I switched from Outlook 2003 to Thunderbird.<sup>1</sup> I liked Outlook, I was used to it from work, so I didn&#8217;t want to switch. But it didn&#8217;t take long before it&#8217;s <strong>abysmal IMAP support </strong>drove me nuts with bogus error messages. I know Microsoft makes money off Exchange servers, not IMAP servers, but how hard can it be? Every other free mail client works great with IMAP!</p>
<p>This includes Thunderbird. Sure, it&#8217;s not as polished or mature as Outlook when it comes to contacts<sup>2</sup> or tasks, but I am no longer getting error messages every 10 minutes. Unfortunately, Blackberry Desktop software won&#8217;t sync Thunderbird contacts and calendar items.</p>
<p>Enter Google. Now, I still haven&#8217;t jumped on the Gmail bandwagon; I use Yahoo Mail for my spammy accounts, simply because I already had that account. But I do have a Google account, and I recently learned that their <a href="http://mail.google.com/mail/contacts/ui/ContactManager">Contact Manager</a> and <a href="http://www.google.com/calendar">Calendar</a> apps have their own home pages that don&#8217;t require Gmail accounts. And they allow 2-way syncing! So here&#8217;s what you need:</p>
<p>A Google Calendar &#8211; use the links above. Make note of the private XML link; to find that, you must click on Settings, then the link for your calendar.</p>
<p><a href="http://www.mozilla.org/projects/calendar/lightning/">Lightning</a><br />
This Thunderbird add-on gives you calendar and task functions. I&#8217;m assuming you already have this installed.</p>
<p><a href="https://addons.mozilla.org/en-US/thunderbird/addon/4631">Provider for Google Calendar</a><br />
This Thunderbird add-on allows syncing with your Google calendar. Unfortunately, your current Thunderbird calendar is no good anymore. If you already have stuff in it, you have to export it. <strong>Use iCalendar (.ics) format!</strong> The other formats do not support recurring events like birthdays or any weekly reminders you have set up. Import that file into Google Calendar, disable your current Thunderbird calendar (under Properties), and then create a new Google calendar within Thunderbird (this requires the private XML calendar link).</p>
<p><a href="http://www.zindus.com/faq-thunderbird/">Zindus</a><br />
This Thunderbird add-on syncs your contacts with Google Contact Manager. Make sure your contacts are clean before you sync. For instance, I imported my Outlook Contacts into a Contacts address book, but Thunderbird defaults to a Personal Address Book. I should have copied them over right away, but didn&#8217;t. Thunderbird automatically collected addresses, so I wound up with duplicates I had to merge or delete. Zindus will spot duplicates during the syncing process and let you pick one and delete the other, but it&#8217;s probably safer to do this by hand. When that&#8217;s done, go to Tools &gt;&gt; Zindus and sync.</p>
<p><a href="http://www.google.com/mobile/default/sync.html">Google Sync</a></p>
<p>This mobile app syncs your contacts and calendar with what you just set up on Google. It can be installed from within Google Mobile, which I already had installed so I could get Google Maps Mobile.<sup>3</sup> Install it, sign in, and you&#8217;re done!</p>
<ol class="footnotes"><li id="footnote_0_29" class="footnote">This was after switching from SquirrelMail to Outlook.</li><li id="footnote_1_29" class="footnote">Why can&#8217;t I highlight text on the contact card? This drives me nuts!</li><li id="footnote_2_29" class="footnote">BTW, Maps is way better than Sprint Navigation. Sure, there&#8217;s no voice nav (which I admit is important), but for seeing where you are, scrolling around that map, and doing local searches, it wins hands down. Its routes are far superior, so if you can remember the directions, you&#8217;ll get where you&#8217;re going faster than the Sprint voice navigation.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2009/02/13/syncing-thunderbird-contacts-and-calendar-with-blackberry/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>When Do You Stop Adding Unit Tests?</title>
		<link>http://philip.yurchuk.com/2009/02/07/when-do-you-stop-adding-unit-tests/</link>
		<comments>http://philip.yurchuk.com/2009/02/07/when-do-you-stop-adding-unit-tests/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 12:20:03 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[unit testing]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/?p=28</guid>
		<description><![CDATA[Joel Spolsky recently posted a transcript of a conversation he and Jeff Atwood had on the Stack Overflow podcast.Â  It&#8217;s a nice reminder to think about the situations where unit tests add value and where they add maintenance hassle.
The takeaway was that there are a few places where code coverage makes a lot of sense [...]]]></description>
			<content:encoded><![CDATA[<p>Joel Spolsky recently posted a <a title="Stack Overflow podcast transcript" href=" http://www.joelonsoftware.com/items/2009/01/31.html">transcript of a conversation</a> he and Jeff Atwood had on the Stack Overflow podcast.Â  It&#8217;s a nice reminder to think about the situations where unit tests add value and where they add maintenance hassle.</p>
<p>The takeaway was that there are a few places where code coverage makes a lot of sense because change is rare and breakage has a big negative impact. These include APIs, especially plugin architectures where others are depending on the contract of your code, and mature business logic that should rarely change.<sup>1</sup> You really want to think about the number of people or LOC that are depending on that code to work.</p>
<p>In contrast, there are a lot <strong>more </strong>places where you&#8217;re slowing down your coders and their ability to respond to customer needs.</p>
<p>Another contradiction Spolsky suggests: many of the same agile programmers who espouse <a href="http://en.wikipedia.org/wiki/YAGNI">YAGNI</a> require an arbitrary percentage for code coverage (often close to 100%). Shouldn&#8217;t YAGNI also apply to unit tests?</p>
<p>I believe the key is simply thinking about what you&#8217;re doing. Here are some guidelines:</p>
<ul>
<li>If it&#8217;s foundation code (frameworks, libraries, etc. &#8211; anything that gets called a lot) write the tests.</li>
<li>If you&#8217;re about to refactor the code, write the tests.</li>
<li>Even if you&#8217;re not going to write the test, channel the spirit of Test First Development &#8211; design the code so that it&#8217;s easy to unit test should you have to later on.</li>
</ul>
<p>I realize this might sound obvious, but a) not everyone agrees with this, and b) sometimes you can lose sight of what&#8217;s &#8220;obvious&#8221; when others are persuasively defending blind adherence to &#8220;principles&#8221;.</p>
<ol class="footnotes"><li id="footnote_0_28" class="footnote">Like, say, the state mandated 7-day waiting period for the purchase of weasels.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2009/02/07/when-do-you-stop-adding-unit-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse &#8220;cannot be resolved to a type&#8221; error</title>
		<link>http://philip.yurchuk.com/2008/12/03/eclipse-cannot-be-resolved-to-a-type-error/</link>
		<comments>http://philip.yurchuk.com/2008/12/03/eclipse-cannot-be-resolved-to-a-type-error/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 04:43:57 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/?p=25</guid>
		<description><![CDATA[So I&#8217;m coding along and all of a sudden, Eclipse (3.4) can&#8217;t resolve classes. Classes that are in the same package as the class I&#8217;m editing. Classes that are fully qualified in the import statement.
Not good.
The last thing I had done was add a Spring @Autowired annotation. I saved the file and voila, everything goes [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m coding along and all of a sudden, Eclipse (3.4) can&#8217;t resolve classes. Classes that are in the same package as the class I&#8217;m editing. Classes that are fully qualified in the import statement.</p>
<p>Not good.</p>
<p>The last thing I had done was add a Spring @Autowired annotation. I saved the file and voila, everything goes to crap. I then spend a stupid amount of time trying to track down the cause. I took the changes out. I did a clean and rebuild and retest (everything passed; this was Eclipse-only). I added new classes to see if they broke (they did). I did a false modify (add space, remove space, save) to see if that broke said file (it did). It was a death spiral. No matter how I changed the code, the same problem was there.</p>
<p>Turns out, it wasn&#8217;t the annotation, or anything else in Spring, or any of my code, or any of my Eclipse plugins. It was a step before that killed me. I was doing a little cleanup and I created a temp directory at the top of my project folder so I could move some files there. It wasn&#8217;t nested in anything, other than the top level directory. What could go wrong?</p>
<p>Apparently, that makes Eclipse see red. Squiggly red.</p>
<p>The solution was simply to do a refresh (F5) on my project. Just as quickly as it started, the problem went away. That smells like a bug to me, but if it was I figure I&#8217;d see a lot more mentions in Google or the Eclipse bug tracker. I&#8217;m really hoping this helps someone save some time.</p>
<p><strong>Update: If that doesn&#8217;t help you, see more solutions in the comments. Thanks to those who contributed them.</strong></p>
<p>Keywords: false error, bogus error, eclipse bug</p>
]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2008/12/03/eclipse-cannot-be-resolved-to-a-type-error/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Selecting Technology Using Job Ads</title>
		<link>http://philip.yurchuk.com/2007/10/13/select-technology-using-job-ads/</link>
		<comments>http://philip.yurchuk.com/2007/10/13/select-technology-using-job-ads/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 02:35:02 +0000</pubDate>
		<dc:creator>Philip Yurchuk</dc:creator>
				<category><![CDATA[Career]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[job trends]]></category>

		<guid isPermaLink="false">http://philip.yurchuk.com/2007/10/13/select-technology-using-job-ads/</guid>
		<description><![CDATA[In IT (as in most industries), there are many factors to consider when choosing a new technology. One must carefully consider cost, features, ease of blah blah blah who cares? The only thing that matters is: will this look good on a resume?
Enter Indeed job trends. Indeed is a job website that searches many databases [...]]]></description>
			<content:encoded><![CDATA[<p>In IT (as in most industries), there are many factors to consider when choosing a new technology. One must carefully consider cost, features, ease of blah blah blah who cares? The only thing that matters is: will this look good on a resume?</p>
<p>Enter <a href="http://www.indeed.com/jobtrends">Indeed job trends</a>. Indeed is a job website that searches many databases at once. They have launched a nifty tool that allows you to graph job trends based on keyword; it even does comparisons.</p>
<p>Comparisons are perfect for choosing technologies. To do a comparison, you separate keywords with commas. You can also have multi-keyword searches by separating them with spaces. And you can quote exact phrases. Yeah, that&#8217;s not terribly clear so I&#8217;ll just give examples.</p>
<p>Consider the many technologies used to create rich internet applications (RIA). It&#8217;s ridiculous. You want to know what&#8217;s in demand and what&#8217;s gaining ground. I used a context keyword in my search phrase since some frameworks use common words with multiple meanings (dojo might be found in karate instructor jobs, flex in body builder jobs, etc.). So requiring &#8220;ajax&#8221; to be in the job description makes the search more relevant:</p>
<p><a href="http://www.indeed.com/jobtrends?q=ajax+scriptaculous%2C+ajax+yui%2C+ajax+dojo%2C+ajax+flex&amp;l=">ajax scriptaculous, ajax yui, ajax dojo, ajax flex</a><br />
<img src="http://www.indeed.com/trendgraph/jobgraph.png?q=ajax+scriptaculous,+ajax+yui,+ajax+dojo,+ajax+flex" alt="Scriptaculous, YUI, Dojo, and Flex job trends" /></p>
<p>Here we can see that my choice to begin <a href="http://labs.adobe.com/technologies/flex/">Flex 3</a> classes was freakin&#8217; brilliant.</p>
<p>Since these are statistics, they can help persuade others by lying. For instance, two popular Java build tools are <a href="http://ant.apache.org/">Ant</a> and <a href="http://maven.apache.org/">Maven</a>. You want to use Maven 2 because it&#8217;s newer so it must be better. Let&#8217;s compare:</p>
<p><a href="http://www.indeed.com/jobtrends?q=java+maven%2C+java+ant&amp;l=">java maven, java ant</a><br />
<img src="http://www.indeed.com/trendgraph/jobgraph.png?q=java+maven%2C+java+ant" alt="Maven vs. Ant job trends" /></p>
<p>Crap. That won&#8217;t help convince your boss. Which is bad, because the <strong>real</strong> reason you want to use Maven 2 is that you&#8217;ve heard <a href="http://atlassian.com">Atlassian</a> uses it, and you want work for them so you can move to Australia and be around <a href="http://us.imdb.com/name/nm0057150/" title="Jacinda Barrett">sheilas</a> <a href="http://www.imdb.com/name/nm0211087/" title="Emilie de Ravin">with</a> <a href="http://us.imdb.com/name/nm0279545/" title="Isla Fisher">cute</a> <a href="http://www.imdb.com/name/nm0000173/" title="Nicole Kidman">accents</a> (never mind the spiders the size of small dogs). No worries, Indeed has you covered. Just change the scale from Absolute to Relative:</p>
<p><img src="http://www.indeed.com/trendgraph/jobgraph.png?q=java+maven%2C+java+ant&amp;relative=1" alt="Maven vs. Ant job trends - relative comparison" /></p>
<p>Wow, Maven is taking off like crazy &#8211; 600% job growth! That totally makes up for Ant having 4 times as many jobs. And this technique works with every other cutting edge framework and tool. I mean, it has to; that&#8217;s just how math works. You go from zero jobs to some jobs, that&#8217;s like infinity percent increase for significantly small positive values of zero. Math doesn&#8217;t lie.</p>
<p>Hopefully by now you&#8217;ve realized I&#8217;m employing  some tongue in cheek humor. At the same time, being able to chart industry trends is valuable for both your business&#8217;s technical strategy and your career planning. Use it wisely.</p>
]]></content:encoded>
			<wfw:commentRss>http://philip.yurchuk.com/2007/10/13/select-technology-using-job-ads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
