<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3" -->
<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/"
	>

<channel>
	<title>Classified</title>
	<link>http://toshkov.org/blog</link>
	<description>Don't read this, or I'll have to shoot you in the foot!</description>
	<pubDate>Mon, 10 Dec 2007 09:35:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
	<language>en</language>
			<item>
		<title>JUnit vs. TestNG</title>
		<link>http://toshkov.org/blog/?p=30</link>
		<comments>http://toshkov.org/blog/?p=30#comments</comments>
		<pubDate>Fri, 07 Dec 2007 14:47:11 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[unit-testing]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=30</guid>
		<description><![CDATA[The problem: We have several XML transformations, which we want to test with several inputs each.  The tests are done by running the transformation on a source XML file and comparing the result with an expected XML file (using XMLUnit&#8217;s Diff class).  These XMLs are stored in directories in the file system, where [...]]]></description>
			<content:encoded><![CDATA[<p>The problem: We have several XML transformations, which we want to test with several inputs each.  The tests are done by running the transformation on a source XML file and comparing the result with an expected XML file (using <a href="http://xmlunit.sourceforge.net/">XMLUnit</a>&#8217;s Diff class).  These XMLs are stored in directories in the file system, where each such directory contains the input file, the expected result and info of which transformation to use them against.</p>
<p>I want each directory to be treated as a separate unit test, but I don&#8217;t want to actually write a separate test method for that.  Thus the XML test will be well integrated with the rest of the unit test of the system and I don&#8217;t have to develop separate reports and other management stuff for them.</p>
<p>I couldn&#8217;t find anything like that for <a href="http://junit.org/">JUnit</a>, other than the advise to read JUnit&#8217;s source code and try to figure out where to hook my changes.  But I also found <a href="http://www.jroller.com/alexRuiz/entry/junit_4_vs_testng_extensibility">this</a> blog entry, discussing JUnit extensions.  Yes, I know, his needs were different than mine.  Anyway, I decided to give <a href="http://testng.org/">TestNG</a> a try, because I&#8217;ve also considered it before for a different project.  And guess what I found!  They have a nice little feature, called &#8220;<a href="http://testng.org/doc/documentation-main.html#factories">factories</a>,&#8221; which allow you to dynamically generate test cases.  Just what I needed.</p>
<p>There are TestNG plugins for various IDEs, including Eclipse, and it is supported by Maven.  So, it seems TestNG is the right answer for this situation.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=30</wfw:commentRss>
		</item>
		<item>
		<title>Paul Graham predicted iPhone?</title>
		<link>http://toshkov.org/blog/?p=29</link>
		<comments>http://toshkov.org/blog/?p=29#comments</comments>
		<pubDate>Mon, 03 Dec 2007 08:41:24 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[ipod]]></category>

		<category><![CDATA[paul graham]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=29</guid>
		<description><![CDATA[I was rereading the essay &#8220;The Other Road Ahead&#8221; from &#8220;Hackers &#38; Painters&#8221; and I was quite surprised by the following note (it&#8217;s number 14):
If the Mac was so great, why did it lose? Cost, again. Microsoft concentrated on the software business and unleashed a swarm of cheap component suppliers on Apple hardware. It did [...]]]></description>
			<content:encoded><![CDATA[<p>I was rereading the essay &#8220;The Other Road Ahead&#8221; from &#8220;Hackers &amp; Painters&#8221; and I was quite surprised by the following note (it&#8217;s number 14):</p>
<blockquote><p>If the Mac was so great, why did it lose? Cost, again. Microsoft concentrated on the software business and unleashed a swarm of cheap component suppliers on Apple hardware. It did not help, either that suits took over during a critical period. (And it hasn&#8217;t lost yet. If Apple were to grow the iPod into a cell phone with a web browser, Microsoft would be in big trouble.)</p></blockquote>
<p>This was back in 2004, mind you! And Apple <a href="http://en.wikipedia.org/wiki/IPhone">announced iPhone</a> in January 2007. &#8220;The Other Road Ahead&#8221; was originally <a href="http://paulgraham.com/road.html">published</a> in September 2001, and is missing the part between the parentheses, but it turned out that Apple <a href="http://en.wikipedia.org/wiki/IPod">announced iPod</a> one month later.</p>
<p>Most impressive.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=29</wfw:commentRss>
		</item>
		<item>
		<title>Getting &#8220;Getting Things Done&#8221; &#8212; Done!</title>
		<link>http://toshkov.org/blog/?p=26</link>
		<comments>http://toshkov.org/blog/?p=26#comments</comments>
		<pubDate>Thu, 04 Oct 2007 08:05:40 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Family]]></category>

		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=26</guid>
		<description><![CDATA[Finally the book arrived and it looks very promising.  I read a few pages already and I like the style.  I also found GTDInbox, which is a Firefox extension, that integrates GTD methodology with GMail.
]]></description>
			<content:encoded><![CDATA[<p>Finally the <a href="http://www.amazon.com/Getting-Things-Done-Stress-Free-Productivity/dp/0142000280/sr=8-1/qid=1172067347/ref=pd_bbs_sr_1/002-7360679-5393606?ie=UTF8&#038;s=books">book</a> arrived and it looks very promising.  I read a few pages already and I like the style.  I also found <a href="http://www.gtdgmail.com/">GTDInbox</a>, which is a Firefox extension, that integrates GTD methodology with <a href="http://www.gmail.com/">GMail</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=26</wfw:commentRss>
		</item>
		<item>
		<title>Common Lisp Tutorial</title>
		<link>http://toshkov.org/blog/?p=27</link>
		<comments>http://toshkov.org/blog/?p=27#comments</comments>
		<pubDate>Thu, 20 Sep 2007 08:14:01 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Lisp]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=27</guid>
		<description><![CDATA[Peter Siebel points out the fact that googling for &#8220;common lisp tutorial&#8221; gives poor results.  I hope that this post will help a bit in improving the situation, because I think Practical Common Lisp is the best introduction to Lisp.

Update
It&#8217;s now up to 3rd place! Not bad.
]]></description>
			<content:encoded><![CDATA[<p>Peter Siebel <a href="http://www.gigamonkeys.com/blog/2007/09/19/bomb-me.html">points out</a> the fact that <a href="http://www.google.com/search?q=lisp+tutorial">googling</a> for &#8220;<a href="http://www.gigamonkeys.com/book/">common lisp tutorial</a>&#8221; gives poor results.  I hope that this post will help a bit in improving the situation, because I think <a href="http://www.gigamonkeys.com/book/">Practical Common Lisp</a> <em>is</em> the best introduction to Lisp.
</p>
<p><em>Update</em><br />
It&#8217;s now up to 3<sup>rd</sup> place! Not bad.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=27</wfw:commentRss>
		</item>
		<item>
		<title>EA releases unprotected game.  Pirates lock it with a &#8220;zero day&#8221; crack!</title>
		<link>http://toshkov.org/blog/?p=17</link>
		<comments>http://toshkov.org/blog/?p=17#comments</comments>
		<pubDate>Sat, 31 Mar 2007 23:23:59 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=17</guid>
		<description><![CDATA[In a stunning move, yesterday EA officially released the shining new FIFA&#8217;08 with state of the art copy protection missing, in the hopes of catching the cracker community off-guard.  A member of a well known cracker group was quoted to say that &#8220;[they] expected the worst,&#8221; but nevertheless they&#8217;ve released an &#8220;official&#8221; zero-day crack.
EA [...]]]></description>
			<content:encoded><![CDATA[<p>In a stunning move, yesterday EA officially released the shining new FIFA&#8217;08 with state of the art copy protection missing, in the hopes of catching the cracker community off-guard.  A member of a well known cracker group was quoted to say that &#8220;[they] expected the worst,&#8221; but nevertheless they&#8217;ve released an &#8220;official&#8221; zero-day crack.</p>
<p>EA spokesmen refused to comment these events.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=17</wfw:commentRss>
		</item>
		<item>
		<title>Save the Bulgarian Medics in Libya</title>
		<link>http://toshkov.org/blog/?p=24</link>
		<comments>http://toshkov.org/blog/?p=24#comments</comments>
		<pubDate>Sun, 31 Dec 2006 09:02:37 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=24</guid>
		<description><![CDATA[Six innocent people are sentenced to dead in Libya!  The five Bulgarian nurses and the Palestinian doctor are accused of deliberately infecting more than 400 Libyan children with the AIDS virus and the death sentence was recently reconfirmed by the Libyan high court.
There are multiple proofs by independent experts that these children were already [...]]]></description>
			<content:encoded><![CDATA[<p>Six innocent people are sentenced to dead in Libya!  The five Bulgarian nurses and the Palestinian doctor are accused of deliberately infecting more than 400 Libyan children with the AIDS virus and the death sentence was recently reconfirmed by the Libyan high court.</p>
<p>There are multiple proofs by independent experts that these children were already infected before our medics start working there, but these were dismissed in favor of confessions obtained by torture.</p>
<p>I&#8217;m supporting <a href="http://standartnews.com/bg/campaignen.php">this</a> (and others) campaigns for whatever good they bring.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=24</wfw:commentRss>
		</item>
		<item>
		<title>First rule of Emacs-related blog: don&#8217;t talk about emacs</title>
		<link>http://toshkov.org/blog/?p=21</link>
		<comments>http://toshkov.org/blog/?p=21#comments</comments>
		<pubDate>Mon, 04 Dec 2006 20:24:18 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=21</guid>
		<description><![CDATA[Second rule of Emacs-related blog: don&#8217;t talk about emacs.

Let&#8217;s see if anybody brakes them on Planet Emacsen.
]]></description>
			<content:encoded><![CDATA[<p>Second rule of <a href="?p=20">Emacs-related blog</a>: don&#8217;t talk about emacs.
</p>
<p>Let&#8217;s see if anybody brakes them on <a href="http://planet.emacsen.org/">Planet Emacsen</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=21</wfw:commentRss>
		</item>
		<item>
		<title>Planet Emacsen</title>
		<link>http://toshkov.org/blog/?p=20</link>
		<comments>http://toshkov.org/blog/?p=20#comments</comments>
		<pubDate>Thu, 30 Nov 2006 12:12:05 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=20</guid>
		<description><![CDATA[Just stumbled on Planet Emacsen.  At last, there is an aggregation for Emacs-related blogs.  Currently it doesn&#8217;t seem to filter emacs unrelated posts, but I guess that will happen over time.
]]></description>
			<content:encoded><![CDATA[<p>Just stumbled on <a href="http://planet.emacsen.org/">Planet Emacsen</a>.  At last, there is an aggregation for Emacs-related blogs.  Currently it doesn&#8217;t seem to filter emacs unrelated posts, but I guess that will happen over time.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=20</wfw:commentRss>
		</item>
		<item>
		<title>SBCL 1.0 Released!</title>
		<link>http://toshkov.org/blog/?p=19</link>
		<comments>http://toshkov.org/blog/?p=19#comments</comments>
		<pubDate>Thu, 30 Nov 2006 11:44:38 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Lisp]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=19</guid>
		<description><![CDATA[Today, the SBCL team released the long awaited version 1.0.   Besides the bugfixes, this version introduces several interesting optimizations:

method calls with &#038;OPTIONAL or &#038;KEY arguments are faster and don&#8217;t cause extra consing
MAP and MAP-INTO are significantly faster on vectors whose elements types have been declared.
Improvements to SB-SPROF:

Support for allocation profiling
Reduced profiling overhead, especially [...]]]></description>
			<content:encoded><![CDATA[<p>Today, the <a href="http://www.sbcl.org/">SBCL</a> team released the long awaited version 1.0.   Besides the <a href="http://www.sbcl.org/news.html#1.0">bugfixes</a>, this version introduces several interesting optimizations:</p>
<ul>
<li>method calls with &#038;OPTIONAL or &#038;KEY arguments are faster and don&#8217;t cause extra consing</li>
<li>MAP and MAP-INTO are significantly faster on vectors whose elements types have been declared.</li>
<li>Improvements to SB-SPROF:
<ul>
<li>Support for allocation profiling</li>
<li>Reduced profiling overhead, especially for long profiling runs</li>
</ul>
</li>
</ul>
<p>There are also improvements to the Windows port.</p>
<p>Great work! Congratulations, guys.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=19</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;Organized&#8221; is my middle name.  &#8220;Poorly&#8221; is my first.</title>
		<link>http://toshkov.org/blog/?p=15</link>
		<comments>http://toshkov.org/blog/?p=15#comments</comments>
		<pubDate>Fri, 02 Jun 2006 10:58:46 +0000</pubDate>
		<dc:creator>ivan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://toshkov.org/blog/?p=15</guid>
		<description><![CDATA[This quote from a Garfield comics is a pretty accurate description of my organization problems.  I periodically try to do something about this, which is to use some tool to organize.  I&#8217;ve tried several things, including Palm IIIc (I hadn&#8217;t used it for quite awhile, by the time it got stolen), KOrganizer, Evolution, [...]]]></description>
			<content:encoded><![CDATA[<p>This quote from a Garfield comics is a pretty accurate description of my organization problems.  I periodically try to do something about this, which is to use some tool to organize.  I&#8217;ve tried several things, including Palm IIIc (I hadn&#8217;t used it for quite awhile, by the time it got stolen), KOrganizer, Evolution, an old Sharp Zaurus, Planner&#8211;the Emacs mode, and several on-line organizers.  Not surprisingly, none of these helped very much.  Part of the problem is, that none of these is 100% of the time with me: the PDAs are a bit large, especially when in summer outfit; and contrary to what my wife believes, I&#8217;m not on-line 24/7.
</p>
<p>The more important reason is, that tools can only help you so much.  One needs some method and a bit of discipline to follow it.  And I just read an article titled &#8220;<a href="http://blog.technomadic.org/wp-trackback.php/87">Getting Things Done</a>&#8221; (via Planet Lisp), which lead me to want to read the book and probably use its principles.
</p>
<p>I don&#8217;t have the book, but I the <a href="http://en.wikipedia.org/wiki/Gtd">description</a> in Wikipedia and the links from there give some information to start with.  The <a href="http://en.wikipedia.org/wiki/Hipster_PDA">Hipster PDA</a> seems like a good idea, too, though I&#8217;ll probably try using Gmail first.</p>
]]></content:encoded>
			<wfw:commentRss>http://toshkov.org/blog/?feed=rss2&amp;p=15</wfw:commentRss>
		</item>
	</channel>
</rss>
