<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Favorite Headache</title>
	<atom:link href="http://myfavoriteheadache.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://myfavoriteheadache.wordpress.com</link>
	<description>An ounce of perception, a pound of obscure.</description>
	<lastBuildDate>Sun, 08 Jan 2012 16:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='myfavoriteheadache.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My Favorite Headache</title>
		<link>http://myfavoriteheadache.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://myfavoriteheadache.wordpress.com/osd.xml" title="My Favorite Headache" />
	<atom:link rel='hub' href='http://myfavoriteheadache.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The Spirit of Radio</title>
		<link>http://myfavoriteheadache.wordpress.com/2011/01/17/the-spirit-of-radio/</link>
		<comments>http://myfavoriteheadache.wordpress.com/2011/01/17/the-spirit-of-radio/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 06:25:55 +0000</pubDate>
		<dc:creator>myfavoriteheadache</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://myfavoriteheadache.wordpress.com/?p=125</guid>
		<description><![CDATA[Nothing&#8217;s like good music when you&#8217;re coding&#8230; 97.7 HTZ-FM<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=125&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Nothing&#8217;s like good music when you&#8217;re coding&#8230;</p>
<p style="text-align:center;"><a title="97.7 HTZ-FM" href="http://www.htzfm.com/" target="_blank">97.7 HTZ-FM</a></p>
<p><a href="http://myfavoriteheadache.files.wordpress.com/2011/01/old-radio.jpg"><img class="aligncenter size-full wp-image-126" title="Old radio" src="http://myfavoriteheadache.files.wordpress.com/2011/01/old-radio.jpg?w=470&#038;h=545" alt="" width="470" height="545" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myfavoriteheadache.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myfavoriteheadache.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myfavoriteheadache.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myfavoriteheadache.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myfavoriteheadache.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myfavoriteheadache.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myfavoriteheadache.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myfavoriteheadache.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myfavoriteheadache.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myfavoriteheadache.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myfavoriteheadache.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myfavoriteheadache.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myfavoriteheadache.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myfavoriteheadache.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=125&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myfavoriteheadache.wordpress.com/2011/01/17/the-spirit-of-radio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2ac415a04fb569e2d8b05853a307e043?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">myfavoriteheadache</media:title>
		</media:content>

		<media:content url="http://myfavoriteheadache.files.wordpress.com/2011/01/old-radio.jpg" medium="image">
			<media:title type="html">Old radio</media:title>
		</media:content>
	</item>
		<item>
		<title>A Certain Measure Of Innocence</title>
		<link>http://myfavoriteheadache.wordpress.com/2011/01/12/a-certain-measure-of-innocence/</link>
		<comments>http://myfavoriteheadache.wordpress.com/2011/01/12/a-certain-measure-of-innocence/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 04:32:29 +0000</pubDate>
		<dc:creator>myfavoriteheadache</dc:creator>
				<category><![CDATA[Eth]]></category>
		<category><![CDATA[InterBase]]></category>
		<category><![CDATA[MS-Access]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Pharo]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://myfavoriteheadache.wordpress.com/?p=119</guid>
		<description><![CDATA[Slowly getting there&#8230; The sign of eth is rising in the air!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=119&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Slowly getting there&#8230; The sign of eth is rising in the air!</p>
<p><a href="http://myfavoriteheadache.files.wordpress.com/2011/01/testrunner.jpg"><img class="aligncenter size-full wp-image-120" title="TestRunner" src="http://myfavoriteheadache.files.wordpress.com/2011/01/testrunner.jpg?w=470&#038;h=237" alt="" width="470" height="237" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myfavoriteheadache.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myfavoriteheadache.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myfavoriteheadache.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myfavoriteheadache.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myfavoriteheadache.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myfavoriteheadache.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myfavoriteheadache.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myfavoriteheadache.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myfavoriteheadache.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myfavoriteheadache.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myfavoriteheadache.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myfavoriteheadache.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myfavoriteheadache.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myfavoriteheadache.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=119&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myfavoriteheadache.wordpress.com/2011/01/12/a-certain-measure-of-innocence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2ac415a04fb569e2d8b05853a307e043?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">myfavoriteheadache</media:title>
		</media:content>

		<media:content url="http://myfavoriteheadache.files.wordpress.com/2011/01/testrunner.jpg" medium="image">
			<media:title type="html">TestRunner</media:title>
		</media:content>
	</item>
		<item>
		<title>The Sign Of Eth Is Rising In The Air</title>
		<link>http://myfavoriteheadache.wordpress.com/2011/01/11/the-sign-of-eth-is-rising-in-the-air/</link>
		<comments>http://myfavoriteheadache.wordpress.com/2011/01/11/the-sign-of-eth-is-rising-in-the-air/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 16:34:29 +0000</pubDate>
		<dc:creator>myfavoriteheadache</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[Dolphin]]></category>
		<category><![CDATA[Eth]]></category>
		<category><![CDATA[Firebird]]></category>
		<category><![CDATA[InterBase]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[MS-Access]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Pharo]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Squeak]]></category>
		<category><![CDATA[VisualAge Smalltalk]]></category>

		<guid isPermaLink="false">http://myfavoriteheadache.wordpress.com/?p=108</guid>
		<description><![CDATA[Brief pause of that Sudoku series :  I&#8217;m working on my object-relational mapping framework code-named Eth. It&#8217;s vaguely similar to Glorp but much simpler and not as intelligent as Glorp.  This time, the resurrection of my framework is more like&#8230; a rewrite from scratch.  It all started on VAST, then I ported it to Dolphin [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=108&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Brief pause of that Sudoku series :  I&#8217;m working on my object-relational mapping framework code-named <a title="Eth" href="http://en.wikipedia.org/wiki/Eth" target="_blank">Eth</a>.</p>
<p>It&#8217;s vaguely similar to <a title="Generic Lightweight Object-Relational Persistence" href="http://glorp.org" target="_blank">Glorp</a> but much simpler and not as <em>intelligent</em> as Glorp.  This time, the resurrection of my framework is more like&#8230; a rewrite from scratch.  It all started on VAST, then I ported it to Dolphin then Squeak and now Pharo.  Hopefully, now I will spend more time <em>writing</em> it than porting it! Also, it will exclusively support <a title="Pharo Smalltalk" href="http://www.pharo-project.org" target="_blank">Pharo</a>.  I also decided to write some SUnit tests to make sure I can properly handle PostgreSQL, MySQL and Interbase for the first version.  But I am also planning on supporting SQL Server, Oracle, DB2, Access and Firebird.  Eventually!</p>
<p>Besides, I&#8217;m also spending quite some time solving mathematical problems at <a title="Project Euler" href="http://projecteuler.net/" target="_blank">ProjectEuler</a> with Pharo Smalltalk.  Lots of fun!</p>
<p>But stay tuned as I should be back soon with part 2 of that Sudoku article!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myfavoriteheadache.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myfavoriteheadache.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myfavoriteheadache.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myfavoriteheadache.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myfavoriteheadache.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myfavoriteheadache.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myfavoriteheadache.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myfavoriteheadache.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myfavoriteheadache.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myfavoriteheadache.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myfavoriteheadache.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myfavoriteheadache.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myfavoriteheadache.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myfavoriteheadache.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=108&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myfavoriteheadache.wordpress.com/2011/01/11/the-sign-of-eth-is-rising-in-the-air/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2ac415a04fb569e2d8b05853a307e043?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">myfavoriteheadache</media:title>
		</media:content>
	</item>
		<item>
		<title>A Pattern So Grand and Complex! (Part 1)</title>
		<link>http://myfavoriteheadache.wordpress.com/2010/12/15/a-pattern-so-grand-and-complex-part-1/</link>
		<comments>http://myfavoriteheadache.wordpress.com/2010/12/15/a-pattern-so-grand-and-complex-part-1/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 03:55:25 +0000</pubDate>
		<dc:creator>myfavoriteheadache</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Pharo]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Sudoku]]></category>

		<guid isPermaLink="false">http://myfavoriteheadache.wordpress.com/?p=60</guid>
		<description><![CDATA[The art of simplicity is a puzzle of complexity. (Douglas Horton) No puzzle looks simpler than a Sudoku.  But behind the very few rules of this game hides enormous complexity.  It&#8217;s now proved that there are 6670903752021072936960 different grids for a standard 9&#215;9 Sudoku.  More refinements and subtleties taking symmetries into account have been examined [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=60&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>The art of simplicity is a puzzle of complexity.</em> (Douglas Horton)</p>
<p>No puzzle looks simpler than a <a title="Sudoku" href="http://en.wikipedia.org/wiki/Sudoku">Sudoku</a>.  But behind the very few rules of this game hides enormous complexity.  It&#8217;s now proved that there are 6670903752021072936960 different grids for a standard 9&#215;9 Sudoku.  More refinements and subtleties taking symmetries into account have been examined as well as other variants of Sudoku.  Solving strategies have been studied inside out, enumerated and refined.  Sudoku grids and <a title="Latin Squares" href="http://en.wikipedia.org/wiki/Latin_squares" target="_blank">Latin squares</a> have kept mathematicians busy for a long time and lots of hidden patterns and complex concepts still remain to be discovered.  This little game is a treasure island for mathematicians and developers : we only need to dig deep enough and long enough&#8230;</p>
<p>This series of posts will only focus on 9&#215;9 standard Sudoku to keep things simple.  We&#8217;ll try to find a <em>SQL only</em> solution to solve Sudoku puzzles, with no stored procedures, no scripts nor functions : only plain SQL statements!  This first article will focus on creating the data we will need for this optimization marathon!</p>
<p>But before you start, you need to know the <a title="Sudoku rules" href="http://www.sudoku.name/rules/en" target="_blank">rules</a> and some <a title="Solving strategies &amp; lingo" href="http://www.sudocue.net/guide.php" target="_blank">solving strategies and lingo</a> of Sudoku !</p>
<p>The solution and data representation I came up with is trivial : let&#8217;s create all possible <a title="Permutations" href="http://en.wikipedia.org/wiki/Permutation" target="_blank">permutations</a> for one row and store those in a table and self-join this table 9 times while adding all Sudoku rules constraints to make sure we end up with a valid Sudoku grid.  For 9 items, I had to create 9! (362880) rows.</p>
<p>I created the data for all the INSERT statements with a simple Smalltalk script in <a title="Pharo Smalltalk" href="http://www.pharo-project.org/home" target="_blank">Pharo</a>.</p>
<p style="text-align:center;"><a href="http://myfavoriteheadache.files.wordpress.com/2010/12/generate-positions-with-pharo-smalltalk.jpg"><img class="aligncenter" title="Generate positions with Pharo Smalltalk" src="http://myfavoriteheadache.files.wordpress.com/2010/12/generate-positions-with-pharo-smalltalk.jpg?w=300&#038;h=216" alt="Generate positions with Pharo Smalltalk" width="300" height="216" /></a></p>
<p>The constraints were also generated with a Pharo Smalltalk script.  This script eliminates all unnecessary clauses and constraints to keep their number to the absolute strict minimum while making sure we would still have valid Sudoku :</p>
<p>1) Eliminate duplicate clauses (for instance, no need to specify (r1.c3 &lt;&gt; r2.c3) and (r2.c3 &lt;&gt; r1.c3), it&#8217;s the same thing!) ;</p>
<p>2) Eliminate all rules related to rows (we know that all rows in our positions table are valid Sudoku rows).</p>
<p><a href="http://myfavoriteheadache.files.wordpress.com/2010/12/generate-sudoku-constraints-from-pharo-smalltalk.jpg"><img class="aligncenter size-medium wp-image-83" title="Generate sudoku constraints from Pharo Smalltalk" src="http://myfavoriteheadache.files.wordpress.com/2010/12/generate-sudoku-constraints-from-pharo-smalltalk.jpg?w=300&#038;h=216" alt="Generate sudoku constraints from Pharo Smalltalk" width="300" height="216" /></a></p>
<p>Now we&#8217;re ready to go! All necessary files used in this article can be found <a title="sql_sudoku_part_1.zip" href="http://www.4shared.com/file/bVW6GNDX/sql_sudoku_part_1.html" target="_blank">here</a> (1.3 Mb zip file). <strong>If you have a problem with the download, contact me and I&#8217;ll send you the zip file by email.  Look at my &#8220;<em>About Me</em>&#8221; page for info</strong>!</p>
<p>Take note that scripts 3 &amp; 5 might take few minutes to execute!</p>
<p>So we need:</p>
<p>1) create the <em>sudoku</em> database;</p>
<p>2) create the <em>positions</em> table;</p>
<p>3) populate the positions table;</p>
<p>4) create the <em>sudoku_view</em> view with the necessary constraints (sudoku rules)</p>
<p>5) create indexes on the base table <em>positions</em>.</p>
<p><a href="http://myfavoriteheadache.files.wordpress.com/2010/12/creation-of-everything-needed.jpg"><img class="aligncenter size-medium wp-image-84" title="creation of everything needed" src="http://myfavoriteheadache.files.wordpress.com/2010/12/creation-of-everything-needed.jpg?w=300&#038;h=177" alt="creation of everything needed" width="300" height="177" /></a></p>
<p>Now that we&#8217;re done, let&#8217;s see how it works for this grid:</p>
<p><a href="http://myfavoriteheadache.files.wordpress.com/2010/12/sudoku_grid_01.jpg"><img class="aligncenter size-full wp-image-88" title="sudoku_grid_01" src="http://myfavoriteheadache.files.wordpress.com/2010/12/sudoku_grid_01.jpg?w=470" alt="sudoku_grid_01"   /></a></p>
<p>To solve this, we have to execute this query :</p>
<p><a href="http://myfavoriteheadache.files.wordpress.com/2010/12/solution-for-grid-1.jpg"><img class="aligncenter size-medium wp-image-89" title="solution for grid 1" src="http://myfavoriteheadache.files.wordpress.com/2010/12/solution-for-grid-1.jpg?w=300&#038;h=199" alt="solution for grid 1" width="300" height="199" /></a></p>
<p>Here&#8217;s what the EXPLAIN had to say:</p>
<p><a href="http://myfavoriteheadache.files.wordpress.com/2010/12/explain-no-1-for-grid-1.jpg"><img class="aligncenter size-medium wp-image-90" title="explain no 1 for grid 1" src="http://myfavoriteheadache.files.wordpress.com/2010/12/explain-no-1-for-grid-1.jpg?w=300&#038;h=226" alt="explain no 1 for grid 1" width="300" height="226" /></a></p>
<p><a href="http://myfavoriteheadache.files.wordpress.com/2010/12/explain-no-2-for-grid-1.jpg"><img class="aligncenter size-medium wp-image-91" title="explain no 2 for grid 1" src="http://myfavoriteheadache.files.wordpress.com/2010/12/explain-no-2-for-grid-1.jpg?w=300&#038;h=226" alt="explain no 2 for grid 1" width="300" height="226" /></a></p>
<p>Voilà!</p>
<p>Works like a charm!  Only 0.39 seconds to solve !</p>
<p>Too easy! Hmmmm !? Unless&#8230;</p>
<p>Well, lots of problems (and hopefully&#8230; solutions!) ahead but that&#8217;s gonna be my next article!</p>
<p>Enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myfavoriteheadache.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myfavoriteheadache.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myfavoriteheadache.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myfavoriteheadache.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myfavoriteheadache.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myfavoriteheadache.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myfavoriteheadache.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myfavoriteheadache.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myfavoriteheadache.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myfavoriteheadache.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myfavoriteheadache.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myfavoriteheadache.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myfavoriteheadache.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myfavoriteheadache.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=60&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myfavoriteheadache.wordpress.com/2010/12/15/a-pattern-so-grand-and-complex-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2ac415a04fb569e2d8b05853a307e043?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">myfavoriteheadache</media:title>
		</media:content>

		<media:content url="http://myfavoriteheadache.files.wordpress.com/2010/12/generate-positions-with-pharo-smalltalk.jpg?w=300" medium="image">
			<media:title type="html">Generate positions with Pharo Smalltalk</media:title>
		</media:content>

		<media:content url="http://myfavoriteheadache.files.wordpress.com/2010/12/generate-sudoku-constraints-from-pharo-smalltalk.jpg?w=300" medium="image">
			<media:title type="html">Generate sudoku constraints from Pharo Smalltalk</media:title>
		</media:content>

		<media:content url="http://myfavoriteheadache.files.wordpress.com/2010/12/creation-of-everything-needed.jpg?w=300" medium="image">
			<media:title type="html">creation of everything needed</media:title>
		</media:content>

		<media:content url="http://myfavoriteheadache.files.wordpress.com/2010/12/sudoku_grid_01.jpg" medium="image">
			<media:title type="html">sudoku_grid_01</media:title>
		</media:content>

		<media:content url="http://myfavoriteheadache.files.wordpress.com/2010/12/solution-for-grid-1.jpg?w=300" medium="image">
			<media:title type="html">solution for grid 1</media:title>
		</media:content>

		<media:content url="http://myfavoriteheadache.files.wordpress.com/2010/12/explain-no-1-for-grid-1.jpg?w=300" medium="image">
			<media:title type="html">explain no 1 for grid 1</media:title>
		</media:content>

		<media:content url="http://myfavoriteheadache.files.wordpress.com/2010/12/explain-no-2-for-grid-1.jpg?w=300" medium="image">
			<media:title type="html">explain no 2 for grid 1</media:title>
		</media:content>
	</item>
		<item>
		<title>Finding My Way</title>
		<link>http://myfavoriteheadache.wordpress.com/2010/12/13/finding-my-way/</link>
		<comments>http://myfavoriteheadache.wordpress.com/2010/12/13/finding-my-way/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 17:53:01 +0000</pubDate>
		<dc:creator>myfavoriteheadache</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[Pharo]]></category>
		<category><![CDATA[Smalltalk]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Sudoku]]></category>

		<guid isPermaLink="false">http://myfavoriteheadache.wordpress.com/?p=30</guid>
		<description><![CDATA[I am preparing a series of posts related to Sudoku. I am revisiting the &#8220;SQL only&#8221; solution I posted somewhere else a long time ago&#8230;  This time, we&#8217;ll get serious and optimize everything we can!  This lemon will be squeezed to the maximum! Start your Pharo image (not mandatory since I will provide all necessary [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=30&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am preparing a series of posts related to Sudoku.  I am revisiting the &#8220;SQL only&#8221; solution I posted somewhere else a long time ago&#8230;  This time, we&#8217;ll get serious and optimize everything we can!  This lemon will be squeezed to the maximum!</p>
<p>Start your Pharo image (not mandatory since I will provide all necessary SQL scripts) and MySQL server as we&#8217;ll try to solve some Sudoku puzzles only with <strong>one</strong> SQL statement (no stored procedures or functions)!</p>
<p>Part 1 coming soon!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myfavoriteheadache.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myfavoriteheadache.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myfavoriteheadache.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myfavoriteheadache.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myfavoriteheadache.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myfavoriteheadache.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myfavoriteheadache.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myfavoriteheadache.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myfavoriteheadache.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myfavoriteheadache.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myfavoriteheadache.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myfavoriteheadache.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myfavoriteheadache.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myfavoriteheadache.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=30&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myfavoriteheadache.wordpress.com/2010/12/13/finding-my-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2ac415a04fb569e2d8b05853a307e043?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">myfavoriteheadache</media:title>
		</media:content>
	</item>
		<item>
		<title>Worn by Persistence</title>
		<link>http://myfavoriteheadache.wordpress.com/2010/12/12/worn-by-persistence/</link>
		<comments>http://myfavoriteheadache.wordpress.com/2010/12/12/worn-by-persistence/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 07:55:15 +0000</pubDate>
		<dc:creator>myfavoriteheadache</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://myfavoriteheadache.wordpress.com/?p=22</guid>
		<description><![CDATA[Let me know what&#8217;s your favorite database! Enter the poll!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=22&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let me know what&#8217;s your favorite database!</p>
<p><a href="http://polldaddy.com/poll/4234947/">Enter the poll!</a><span style="font-size:9px;"><a href="http://polldaddy.com/features-surveys/"></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myfavoriteheadache.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myfavoriteheadache.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myfavoriteheadache.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myfavoriteheadache.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myfavoriteheadache.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myfavoriteheadache.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myfavoriteheadache.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myfavoriteheadache.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myfavoriteheadache.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myfavoriteheadache.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myfavoriteheadache.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myfavoriteheadache.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myfavoriteheadache.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myfavoriteheadache.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=22&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myfavoriteheadache.wordpress.com/2010/12/12/worn-by-persistence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2ac415a04fb569e2d8b05853a307e043?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">myfavoriteheadache</media:title>
		</media:content>
	</item>
		<item>
		<title>Test For Echo</title>
		<link>http://myfavoriteheadache.wordpress.com/2010/12/11/test-for-echo/</link>
		<comments>http://myfavoriteheadache.wordpress.com/2010/12/11/test-for-echo/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 02:51:37 +0000</pubDate>
		<dc:creator>myfavoriteheadache</dc:creator>
				<category><![CDATA[Smalltalk]]></category>

		<guid isPermaLink="false">http://myfavoriteheadache.wordpress.com/?p=13</guid>
		<description><![CDATA[Tell me what is your favorite headache! What&#8217;s your favorite Smalltalk environment?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=13&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tell me what is your favorite headache!</p>
<p><a href="http://polldaddy.com/poll/4234284/">What&#8217;s your favorite Smalltalk environment?</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myfavoriteheadache.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myfavoriteheadache.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myfavoriteheadache.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myfavoriteheadache.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myfavoriteheadache.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myfavoriteheadache.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myfavoriteheadache.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myfavoriteheadache.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myfavoriteheadache.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myfavoriteheadache.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myfavoriteheadache.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myfavoriteheadache.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myfavoriteheadache.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myfavoriteheadache.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=13&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myfavoriteheadache.wordpress.com/2010/12/11/test-for-echo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2ac415a04fb569e2d8b05853a307e043?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">myfavoriteheadache</media:title>
		</media:content>
	</item>
		<item>
		<title>Here Again</title>
		<link>http://myfavoriteheadache.wordpress.com/2010/12/11/here-again/</link>
		<comments>http://myfavoriteheadache.wordpress.com/2010/12/11/here-again/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 02:14:12 +0000</pubDate>
		<dc:creator>myfavoriteheadache</dc:creator>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[Dolphin]]></category>
		<category><![CDATA[Firebird]]></category>
		<category><![CDATA[InterBase]]></category>
		<category><![CDATA[literature]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Pharo]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Smalltalk]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Squeak]]></category>
		<category><![CDATA[VisualAge Smalltalk]]></category>
		<category><![CDATA[VisualWorks]]></category>
		<category><![CDATA[Literature]]></category>

		<guid isPermaLink="false">http://myfavoriteheadache.wordpress.com/?p=6</guid>
		<description><![CDATA[I&#8217;m back in the blogosphere! This blog will focus on Smalltalk (mostly Pharo, Squeak, Dolphin, VAST and VW), databases (usually MySQL, PostgreSQL, SQL Server, DB2, InterBase and Firebird), algorithms and open source tools.  I&#8217;ll throw in some literature, music and mathematics occasionally. Requirements to enjoy this blog : an interest in problem solving, a database [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=6&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m back in the blogosphere!</p>
<p>This blog will focus on Smalltalk (mostly Pharo, Squeak, Dolphin, VAST and VW), databases (usually MySQL, PostgreSQL, SQL Server, DB2, InterBase and Firebird), algorithms and open source tools.  I&#8217;ll throw in some literature, music and mathematics occasionally.</p>
<p>Requirements to enjoy this blog : an interest in problem solving, a database and a Smalltalk environment!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myfavoriteheadache.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myfavoriteheadache.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myfavoriteheadache.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myfavoriteheadache.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myfavoriteheadache.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myfavoriteheadache.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myfavoriteheadache.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myfavoriteheadache.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myfavoriteheadache.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myfavoriteheadache.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myfavoriteheadache.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myfavoriteheadache.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myfavoriteheadache.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myfavoriteheadache.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myfavoriteheadache.wordpress.com&amp;blog=18354101&amp;post=6&amp;subd=myfavoriteheadache&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myfavoriteheadache.wordpress.com/2010/12/11/here-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2ac415a04fb569e2d8b05853a307e043?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">myfavoriteheadache</media:title>
		</media:content>
	</item>
	</channel>
</rss>
