<?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>No Clue Incorporated &#187; Programming</title>
	<atom:link href="http://www.floydwing.com/musings/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.floydwing.com/musings</link>
	<description>Blogging in Accordance with the German Beer Purity Law of 1516 since 2005</description>
	<lastBuildDate>Sun, 25 Jul 2010 19:54:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A post with a forgotten name</title>
		<link>http://www.floydwing.com/musings/2010/03/12/705/</link>
		<comments>http://www.floydwing.com/musings/2010/03/12/705/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 04:33:32 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.floydwing.com/musings/?p=705</guid>
		<description><![CDATA[Don&#8217;t hold me up now,
I can stand my own ground,
I don&#8217;t need your help now,
You won&#8217;t let me down, down, down!
Rise Against &#8211; Prayer of the Refugee
I&#8217;ve been extremely unproductive of late and I really hate myself for it.  It seems like ever since I got the new job offer, I&#8217;ve not been able to [...]


Related posts:<ol><li><a href='http://www.floydwing.com/musings/2007/01/01/first-post-of-2007/' rel='bookmark' title='Permanent Link: First post of 2007'>First post of 2007</a></li><li><a href='http://www.floydwing.com/musings/2005/05/22/finally-a-post/' rel='bookmark' title='Permanent Link: Finally, a post!'>Finally, a post!</a></li><li><a href='http://www.floydwing.com/musings/2009/10/28/civilized-facebooking/' rel='bookmark' title='Permanent Link: Civilized Facebooking'>Civilized Facebooking</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t hold me up now,<br />
I can stand my own ground,<br />
I don&#8217;t need your help now,<br />
You won&#8217;t let me down, down, down!</p>
<p>Rise Against &#8211; Prayer of the Refugee</p>
<p>I&#8217;ve been extremely unproductive of late and I really hate myself for it.  It seems like ever since I got the new job offer, I&#8217;ve not been able to find the time for the side project programming.  When time presents itself, I usually find an excuse to do something else.  It&#8217;s very distressing.  I need to just get started into something because then the drive will take over.  I want to get back into that flow when I was working on my Android conference app.  I found a way to work on that every night back when I was developing it.</p>
<p>I&#8217;m all about the Android phone development, but that would lock out my friends who don&#8217;t have one from playing anything I create.  I&#8217;ve got like 5 programming books laying around waiting to be read.  There&#8217;s about 2 that I&#8217;m actively reading in now and then, but their not technology specific.  One is career oriented and the other is interviews with a variety of IT professionals.</p>
<p>Just feeling a little sorry for myself right now, instead of doing some programming.  :)</p>
<p>The posts are coming few and far between.  Facebook seems to be taking the few things I have to say of late.  I still need to figure out what&#8217;s up with not getting notified of comments.  If you post a comment, maybe send me an email to, so I know to check.  It&#8217;s supposed to let your comments show up if you&#8217;ve been approved before, but I found last week that that wasn&#8217;t working either.  Looks like I need to upgrade again.</p>
<h3>On this day&#8230;</h3>
<ul>
<li>2009: <a href="http://www.floydwing.com/musings/2009/03/12/the-future-is-near-tomorrow/">The future is near, tomorrow</a> &mdash; You have got to check this out from TED conference.  Some pretty cool ideas here.  It&#8217;s pretty futuristic, I don&#8217;t [...]</li>
<li>2005: <a href="http://www.floydwing.com/musings/2005/03/12/another-game/">Another game</a> &mdash; One of my latest acquisitions on the board game front is called Circus Maximus.  It&#8217;s a chariot racing game [...]</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.floydwing.com/musings/2007/01/01/first-post-of-2007/' rel='bookmark' title='Permanent Link: First post of 2007'>First post of 2007</a></li><li><a href='http://www.floydwing.com/musings/2005/05/22/finally-a-post/' rel='bookmark' title='Permanent Link: Finally, a post!'>Finally, a post!</a></li><li><a href='http://www.floydwing.com/musings/2009/10/28/civilized-facebooking/' rel='bookmark' title='Permanent Link: Civilized Facebooking'>Civilized Facebooking</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2010/03/12/705/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Old Programmers</title>
		<link>http://www.floydwing.com/musings/2010/02/28/old-programmers/</link>
		<comments>http://www.floydwing.com/musings/2010/02/28/old-programmers/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 23:21:55 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.floydwing.com/musings/?p=701</guid>
		<description><![CDATA[Holy crap!  I&#8217;m posting this so that I can read it in a few years.  I didn&#8217;t realize I&#8217;ll be considered an old programmer in less than a few years.
On this day&#8230;
No other posts on this day.


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Holy crap!  I&#8217;m posting <a title="Old developers" href="http://www.lessonsoffailure.com/developers/pervasive-myths-older-software-developers/">this</a> so that I can read it in a few years.  I didn&#8217;t realize I&#8217;ll be considered an old programmer in less than a few years.</p>
<h3>On this day&#8230;</h3>
<p>No other posts on this day.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2010/02/28/old-programmers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CodeMash 2010</title>
		<link>http://www.floydwing.com/musings/2010/01/11/codemash-2010/</link>
		<comments>http://www.floydwing.com/musings/2010/01/11/codemash-2010/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 03:20:28 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[codemash]]></category>

		<guid isPermaLink="false">http://www.floydwing.com/musings/?p=692</guid>
		<description><![CDATA[Only one more day of work before I head to CodeMash.  I can&#8217;t wait.  It was painful not being able to go last year.  The problem always is trying to fit in all the great sessions that I want to go to.  Plus, I plan to keep an eye on the Open Spaces topics for [...]


Related posts:<ol><li><a href='http://www.floydwing.com/musings/2010/05/15/rest-of-the-2010-scp/' rel='bookmark' title='Permanent Link: Rest of the 2010 SCP'>Rest of the 2010 SCP</a></li><li><a href='http://www.floydwing.com/musings/2010/04/13/2010-stanley-cup-round-1/' rel='bookmark' title='Permanent Link: 2010 Stanley Cup Round 1'>2010 Stanley Cup Round 1</a></li><li><a href='http://www.floydwing.com/musings/2010/04/28/2010-stanley-cup-conference-semi-finals-round-2/' rel='bookmark' title='Permanent Link: 2010 Stanley Cup Conference Semi Finals (Round 2)'>2010 Stanley Cup Conference Semi Finals (Round 2)</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Only one more day of work before I head to CodeMash.  I can&#8217;t wait.  It was painful not being able to go last year.  The problem always is trying to fit in all the great sessions that I want to go to.  Plus, I plan to keep an eye on the Open Spaces topics for Android topics or other things that catch my eye.  So session wise, it&#8217;s going to be tough.</p>
<p>This year they are even having a game room and a coding jam room.  Add in that the evenings are usually filled with something (opening night panel, cocktail party) and I doubt I&#8217;ll make it to the water park area again.  Just too much to do.  This is such a great conference for the price.  I hope I can continue to go every year.</p>
<h3>On this day&#8230;</h3>
<ul>
<li>2009: <a href="http://www.floydwing.com/musings/2009/01/11/mini-review-santas-butt-winter-porter/">Mini review: Santa&#8217;s Butt Winter Porter</a> &mdash; Santa&#8217;s Butt has a rear view of Santa looking over a list and holding a mug of brew while sitting [...]</li>
<li>2009: <a href="http://www.floydwing.com/musings/2009/01/11/2009-goals-professional/">2009 Goals: Professional</a> &mdash; These are my goals of the professional variety.
<p>Continue to work hard and enjoy my job.<br />
This hasn&#8217;t been a problem so [...]</li>
<li>2007: <a href="http://www.floydwing.com/musings/2007/01/11/spam-vassal-exercise/">Spam, VASSAL, Exercise</a> &mdash; Sorry, no The Mighty Endeavor after action report yet.  Hopefully this weekend I can put some time into that [...]</li>
<li>2005: <a href="http://www.floydwing.com/musings/2005/01/11/wellies/">Wellies</a> &mdash; Tonight was a very entertaining evening for me.  For once I wasn&#8217;t the target of my children&#8217;s laughter.<br />
My wife [...]</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.floydwing.com/musings/2010/05/15/rest-of-the-2010-scp/' rel='bookmark' title='Permanent Link: Rest of the 2010 SCP'>Rest of the 2010 SCP</a></li><li><a href='http://www.floydwing.com/musings/2010/04/13/2010-stanley-cup-round-1/' rel='bookmark' title='Permanent Link: 2010 Stanley Cup Round 1'>2010 Stanley Cup Round 1</a></li><li><a href='http://www.floydwing.com/musings/2010/04/28/2010-stanley-cup-conference-semi-finals-round-2/' rel='bookmark' title='Permanent Link: 2010 Stanley Cup Conference Semi Finals (Round 2)'>2010 Stanley Cup Conference Semi Finals (Round 2)</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2010/01/11/codemash-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JPA</title>
		<link>http://www.floydwing.com/musings/2009/10/14/jpa/</link>
		<comments>http://www.floydwing.com/musings/2009/10/14/jpa/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 02:39:42 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[JPA]]></category>

		<guid isPermaLink="false">http://floydwing.com/musings/?p=627</guid>
		<description><![CDATA[Over the summer at work, one of my projects was creating an application to print a new Bill of Lading that showed an itemized record of each package.  This involved pulling data from a legacy system and using BIRT (Business Intelligence and Reporting Tool) from the Eclipse Foundation.  I&#8217;m not a huge fan of BIRT, [...]


Related posts:<ol><li><a href='http://www.floydwing.com/musings/2009/08/07/programming-ive-been-up-to/' rel='bookmark' title='Permanent Link: Programming I&#8217;ve been up to'>Programming I&#8217;ve been up to</a></li><li><a href='http://www.floydwing.com/musings/2009/07/30/josephus-circle-of-doom-or-links-of-the-day/' rel='bookmark' title='Permanent Link: Josephus&#8217; Circle of Doom or &#8220;links of the day&#8221;'>Josephus&#8217; Circle of Doom or &#8220;links of the day&#8221;</a></li><li><a href='http://www.floydwing.com/musings/2008/03/22/the-part-time-developer-6-adding-hibernate-to-the-spring-tutorial/' rel='bookmark' title='Permanent Link: The Part Time Developer 6: Adding Hibernate to the Spring Tutorial'>The Part Time Developer 6: Adding Hibernate to the Spring Tutorial</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Over the summer at work, one of my projects was creating an application to print a new Bill of Lading that showed an itemized record of each package.  This involved pulling data from a legacy system and using BIRT (Business Intelligence and Reporting Tool) from the Eclipse Foundation.  I&#8217;m not a huge fan of BIRT, mainly for the fact that I&#8217;m not a fan of report writing.  But I got the short straw and had to learn it for our main project.  So using it on this project made sense.</p>
<p>I decided to use JPA (Java Persistence API) for my data access.  It would give me an opportunity to learn something new, get a different perspective from Hibernate, and since the other members on my team had used it I had ready tech support.</p>
<p>The project was a success, though making the &#8220;Holy Grail&#8221; of Bill of Ladings seems a little like overkill it was a good learning experience and was my first project that I was a major part of to make into production.  We&#8217;ve had some peculiarities caused by the legacy system that we&#8217;ve had to accommodate for.</p>
<p>I did have one major mistake that I rectified this week after a swift kick to the head from a team member.  I&#8217;d been letting Spring inject an EntityManager into each one of my DAOs (Data Access Objects).  I&#8217;d found a great series of articles on using JPA and setting up a generic framework for your DAOs.  But I&#8217;d neglected to realize that the articles must not have been written for the web world and threading.  EntityManager&#8217;s  aren&#8217;t thread safe.  While this wasn&#8217;t seeming to cause us a problem, it was a good idea to rectify it.</p>
<p>EntityManagerFactory&#8217;s are thread safe, so it was a pretty easy change to switch over to injecting the correct entity factory and then creating an EntityManager as needed for every method that required one and then closing it.  Hopefully, this will circumvent one issue that was caused by our legacy database driver.  Fingers crossed.</p>
<p>I really like JPA.  I used EclipseLink as the JPA provider.  Annotations rule for all this ORM (object relational mapping) stuff.  So much nicer than the load of Hibernate XML files.  I believe Shindo told me this years ago, and I&#8217;m glad I finally had an opportunity to use it.  On our main project, we&#8217;ll be stuck in Hibernate XML hell forever, most likely.  I know Hibernate has it&#8217;s own annotations for this, as well as coming JPA support, but I really like the seemingly lightweight feel that EclipseLink gives me.</p>
<h3>On this day&#8230;</h3>
<ul>
<li>2007: <a href="http://www.floydwing.com/musings/2007/10/14/catch-up-1/">Catch-up 1</a> &mdash; Let&#8217;s try to kill a few of these.
<p>Birthday Money<br />
I got something like $60-65 for my birthday.  While it&#8217;s probably [...]</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.floydwing.com/musings/2009/08/07/programming-ive-been-up-to/' rel='bookmark' title='Permanent Link: Programming I&#8217;ve been up to'>Programming I&#8217;ve been up to</a></li><li><a href='http://www.floydwing.com/musings/2009/07/30/josephus-circle-of-doom-or-links-of-the-day/' rel='bookmark' title='Permanent Link: Josephus&#8217; Circle of Doom or &#8220;links of the day&#8221;'>Josephus&#8217; Circle of Doom or &#8220;links of the day&#8221;</a></li><li><a href='http://www.floydwing.com/musings/2008/03/22/the-part-time-developer-6-adding-hibernate-to-the-spring-tutorial/' rel='bookmark' title='Permanent Link: The Part Time Developer 6: Adding Hibernate to the Spring Tutorial'>The Part Time Developer 6: Adding Hibernate to the Spring Tutorial</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2009/10/14/jpa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts of recent yesterdays</title>
		<link>http://www.floydwing.com/musings/2009/08/26/thoughts-of-recent-yesterdays/</link>
		<comments>http://www.floydwing.com/musings/2009/08/26/thoughts-of-recent-yesterdays/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 01:33:13 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[A Victory Denied]]></category>
		<category><![CDATA[A Victory Lost]]></category>
		<category><![CDATA[GWT]]></category>
		<category><![CDATA[Mini Cooper Clubman]]></category>

		<guid isPermaLink="false">http://floydwing.com/musings/?p=582</guid>
		<description><![CDATA[This week is seeing a variety of things arrive for me.  Yesterday, Beginning Google Web Toolkit arrived.   It&#8217;s a book on GWT which is one of the things I&#8217;ve been tinkering around with lately.  (Someday I&#8217;ll continue the what have I been programming lately posts.)  I got it for like $3 from one of [...]


Related posts:<ol><li><a href='http://www.floydwing.com/musings/2009/10/01/a-victory-denied/' rel='bookmark' title='Permanent Link: A Victory Denied'>A Victory Denied</a></li><li><a href='http://www.floydwing.com/musings/2009/09/04/long-road-to/' rel='bookmark' title='Permanent Link: Long road to'>Long road to</a></li><li><a href='http://www.floydwing.com/musings/2009/08/22/shelving-guadalara-for-now-and-avl/' rel='bookmark' title='Permanent Link: Shelving Guadalara (for now) and AVL'>Shelving Guadalara (for now) and AVL</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>This week is seeing a variety of things arrive for me.  Yesterday, Beginning Google Web Toolkit arrived.   It&#8217;s a book on GWT which is one of the things I&#8217;ve been tinkering around with lately.  (Someday I&#8217;ll continue the what have I been programming lately posts.)  I got it for like $3 from one of Amazon&#8217;s partners.  This is very much a beginners book, there&#8217;s not much it offers me I haven&#8217;t already figured out.  I should have probably went for a more in depth book, but the price and the relative newness of it wouldn&#8217;t let me pass it up.  With GWT 1.7 release, things are moving toward a better event model handling approach, so nothing is new enough to address that yet, besides blogs and YouTube videos.</p>
<p>Monday, <a title="A Victory Denied" href="http://www.boardgamegeek.com/boardgame/31954">A Victory Denied</a> arrived from <a title="Multiman Publishing" href="http://www.multimanpublishing.com/index1.php">MMP</a>.  This is looking to be just as cool as A Victory Lost.  I&#8217;ve read through the section on combat so far.  So far, it&#8217;s very similiar to AVL rules-wise, but has enough differences to stay fresh.  Elite Russian units popping up in an attack should be enough to keep the German player holding their breath everytime the Russian rolls an attack.  The unit activation differs slightly from AVL also.  The activated HQ can activate other HQ&#8217;s within its command range which can then activate units.  Also the activation for Panzer Groups is a little different also.  I&#8217;ll try to do a &#8220;live&#8221; box opening sometime, though the contents are pretty close to what AVL had.  I&#8217;m looking forward to getting this on the table with #4 in the future.</p>
<p>Not exactly this week, but Thursday saw the arrival of a shiny new toy.  I eluded to this last week of something arriving to take up some space in our newly cleaned garage.  The story goes that our old Grand Caravan has slowly been degrading.  We were without air conditioning for going on 2 years now, not wanting to sink the money into it.  Then, it started flooding on the inside.  The van had been sitting outside for most of the spring and summer.  Over the last month, whenever I would drive it after it rained, I would be assaulted by water coming in from under the passenger side dash.</p>
<p>The final straw came when I went on a business trip and had to leave the van parked where we met.  When I came back, it seemed like near sink fulls of water were pouring in.  I had to pull over and open up the door.  I&#8217;m the first one to admit I can be somewhat dense, but this finally convinced me that with &#8220;cash for clunkers&#8221; going on, I&#8217;d be an idiot not to let the government help buy me a new car.  I sure wasn&#8217;t going to get that much trading it in on my own.</p>
<p>So we began our search.  We looked around the area.  I really wanted to buy an American car, especially after dealing with Taylor Kia.  But amazingly (just like when we ended up with the Rondo) there wasn&#8217;t any super good deals that knocked our socks off.  Then, the wifal-unit did some research into what cars were eligible.  One that was was a car that we had both always really liked but thought would be way too expensive.  She looked up the nearest dealer and found that the prices were at the same level as the other vehicles we were looking at.  So a little trip, a few test drives, a little bargaining, an amazing deal, and a whole lot of pain dealing with the Ohio BMV to get proof of my previous registration and we replaced our clunker.</p>
<p>Here it is:</p>
<div id="attachment_585" class="wp-caption alignleft" style="width: 310px"><a href="http://floydwing.com/musings/wp-content/myfiles/2009/08/100_1951.jpg"><img class="size-medium wp-image-585" title="Mini Cooper Clubman (front)" src="http://floydwing.com/musings/wp-content/myfiles/2009/08/100_1951-300x200.jpg" alt="Front view of our Clubman" width="300" height="200" /></a><p class="wp-caption-text">Front view of our Clubman</p></div>
<div id="attachment_584" class="wp-caption alignleft" style="width: 310px"><a href="http://floydwing.com/musings/wp-content/myfiles/2009/08/100_1950.jpg"><img class="size-medium wp-image-584" title="Mini Cooper Clubman (side)" src="http://floydwing.com/musings/wp-content/myfiles/2009/08/100_1950-300x200.jpg" alt="Side View of our Clubman" width="300" height="200" /></a><p class="wp-caption-text">Side View of our Clubman</p></div>
<h3>On this day&#8230;</h3>
<ul>
<li>2007: <a href="http://www.floydwing.com/musings/2007/08/26/blog-frustration/">Blog Frustration</a> &mdash; I decided to write a post through the web interface to this blog.  It was a longer post that [...]</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.floydwing.com/musings/2009/10/01/a-victory-denied/' rel='bookmark' title='Permanent Link: A Victory Denied'>A Victory Denied</a></li><li><a href='http://www.floydwing.com/musings/2009/09/04/long-road-to/' rel='bookmark' title='Permanent Link: Long road to'>Long road to</a></li><li><a href='http://www.floydwing.com/musings/2009/08/22/shelving-guadalara-for-now-and-avl/' rel='bookmark' title='Permanent Link: Shelving Guadalara (for now) and AVL'>Shelving Guadalara (for now) and AVL</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2009/08/26/thoughts-of-recent-yesterdays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming I&#8217;ve been up to</title>
		<link>http://www.floydwing.com/musings/2009/08/07/programming-ive-been-up-to/</link>
		<comments>http://www.floydwing.com/musings/2009/08/07/programming-ive-been-up-to/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 01:24:14 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[SWT]]></category>

		<guid isPermaLink="false">http://floydwing.com/musings/?p=574</guid>
		<description><![CDATA[It&#8217;s been a while since I discussed anything programming related.  Believe it or not, I have been doing some tinkering.  First, let me talka little about what I&#8217;ve been working at on and off at work going back a few months.  If that doesn&#8217;t drag on too long, maybe I can talk about some cool [...]


Related posts:<ol><li><a href='http://www.floydwing.com/musings/2008/04/22/programming-as-a-game/' rel='bookmark' title='Permanent Link: Programming as a game'>Programming as a game</a></li><li><a href='http://www.floydwing.com/musings/2008/11/17/news-you-cant-use/' rel='bookmark' title='Permanent Link: News you can&#8217;t use'>News you can&#8217;t use</a></li><li><a href='http://www.floydwing.com/musings/2008/03/16/the-part-time-developer-5-spring/' rel='bookmark' title='Permanent Link: The Part Time Developer 5: Spring'>The Part Time Developer 5: Spring</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I discussed anything programming related.  Believe it or not, I have been doing some tinkering.  First, let me talka little about what I&#8217;ve been working at on and off at work going back a few months.  If that doesn&#8217;t drag on too long, maybe I can talk about some cool non-work stuff I&#8217;ve been playing with.</p>
<p>One of my team was working on a side project that had a somewhat dynamic data aspect to it.  What I mean is depending on a certain type selection made by the user, there was some data for that selection that wasn&#8217;t needed for other selections.  This was a fairly large aspect of the application.  He had a data model worked out on how to set up for these special types, and getting them to and from the database.  Displaying it was the problem.</p>
<p>Very simplistically making this more concrete, let&#8217;s say that if the user picked selection A, he&#8217;d have to supply fields 1, 2, 3.  If selection B was picked, fields 4, 5, 6 would need supplied.  Given that future selections may need to be added that required other data, a flat model where each selection would just have all the fields didn&#8217;t make sense.  While each selection had a number static fields common across the selections, each selection had it&#8217;s own distinct data.</p>
<p>Initially he was thinking he was going to have to create a separate screen for each type of selection or at the least a separate panel unique to each selection.  I told him he shouldn&#8217;t have to do that.  We could make a special panel that would dynamically display the data depending on what was needed.  So I set about tinkering with it in my spare time.</p>
<p>This whole app is supposed to be a tempory hack to get the users through the next couple years.  So I wouldn&#8217;t say my solution is extreme enterprise quality.  I didn&#8217;t take the time to figure out how to get my controls binding to a data structure.  We&#8217;ve got some pretty slick (when it&#8217;s not causing troubles) binding in our Eclipse RCP app that automagically binds back and forth between controls and a data obect.  I haven&#8217;t dug into exactly how that works yet, but it&#8217;s on my list of todos.</p>
<p>I created two controls for displaying this dynamic unknown data: a dynamic grid table and a dynamic composite.  Both would add controls (Text, Combo, etc) based on what type of data was needed.  This was all backed by a list of property objects that described each required field, such things as the data type, value object, field title to display, etc.  The table would show a list of two columns, one for title and one for a control to hold the value.  The composite (which was used and subsequently more work put into) would layout a set of labels and controls as defined by the backing list.</p>
<p>The underlying database model stores everything as string so I added some convenience methods to load and extract the data from the underlying list as strings.  All in all it works pretty well and saved a lot of time that would have been stuck in making special panels for each selection type.  Not to mention the time that will be saved when a user requests some additional field to be added to a particular selection or a whole new selection added.  My co-worker made a pretty slick admin panel to handle the building of the dynamic data and additions.</p>
<p>This little side trip helped me learn a lot more about straight SWT.  I really enjoy being a developer of tools for other developers to use.  I have plans to add an easy builder way of creating the underlying list and being able to magically bind to and object.  But, there&#8217;s always new priorities so I may not be able to get back to it.  Perhaps I&#8217;ll someday find a need for such a thing in my own projects and can create a better version from the experience I&#8217;ve gathered.</p>
<p>Well, I didn&#8217;t get to the other side project at work that I detoured on involving JPA, so I&#8217;ll have to save that for another time.</p>
<h3>On this day&#8230;</h3>
<p>No other posts on this day.</p>


<p>Related posts:<ol><li><a href='http://www.floydwing.com/musings/2008/04/22/programming-as-a-game/' rel='bookmark' title='Permanent Link: Programming as a game'>Programming as a game</a></li><li><a href='http://www.floydwing.com/musings/2008/11/17/news-you-cant-use/' rel='bookmark' title='Permanent Link: News you can&#8217;t use'>News you can&#8217;t use</a></li><li><a href='http://www.floydwing.com/musings/2008/03/16/the-part-time-developer-5-spring/' rel='bookmark' title='Permanent Link: The Part Time Developer 5: Spring'>The Part Time Developer 5: Spring</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2009/08/07/programming-ive-been-up-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Josephus&#8217; Circle of Doom or &#8220;links of the day&#8221;</title>
		<link>http://www.floydwing.com/musings/2009/07/30/josephus-circle-of-doom-or-links-of-the-day/</link>
		<comments>http://www.floydwing.com/musings/2009/07/30/josephus-circle-of-doom-or-links-of-the-day/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 00:06:51 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://floydwing.com/musings/?p=570</guid>
		<description><![CDATA[No energy to really say anything intelligent, so I might as well pass along some links that caught my eye.
An interesting take on the recent announcement of Google&#8217;s Chrome OS.  Kind of long, but I must say it sounds reasonable.
A very surprising math technique for multiplication.  Good thing it wasn&#8217;t the peasants we were in [...]


Related posts:<ol><li><a href='http://www.floydwing.com/musings/2007/08/30/found-the-games-i-couldnt-remember/' rel='bookmark' title='Permanent Link: Found the games I couldn&#8217;t remember'>Found the games I couldn&#8217;t remember</a></li><li><a href='http://www.floydwing.com/musings/2007/12/27/avl-end-of-turn-3/' rel='bookmark' title='Permanent Link: AVL &#8211; End of Turn 3'>AVL &#8211; End of Turn 3</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>No energy to really say anything intelligent, so I might as well pass along some links that caught my eye.</p>
<p>An <a title="Google Chrome OS" href="http://www.artima.com/weblogs/viewpost.jsp?thread=262565">interesting</a> take on the recent announcement of Google&#8217;s Chrome OS.  Kind of long, but I must say it sounds reasonable.</p>
<p>A very <a title="Russian Peasant Multiplication" href="http://thedailywtf.com/Articles/Programming-Praxis-Russian-Peasant-Multiplication.aspx">surprising</a> math technique for multiplication.  Good thing it wasn&#8217;t the peasants we were in the Cold War against.  Is there some kind of mathematical proof backing this?</p>
<p>An <a title="Josephus' Circle of Doom" href="http://thedailywtf.com/Articles/Programming-Praxis-Josephus-Circle.aspx">intriquing</a> programming problem that wouldn&#8217;t seem to be too elusive but does tickle my curiosity to start up the old IDE.  I bet Josephus was always the last picked during recess.</p>
<h3>On this day&#8230;</h3>
<ul>
<li>2008: <a href="http://www.floydwing.com/musings/2008/07/30/the-shirt/">The Shirt</a> &mdash; I forgot to mention.  Saturday, after having already made one trip and frustratingly realizing the need for more trips, I [...]</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.floydwing.com/musings/2007/08/30/found-the-games-i-couldnt-remember/' rel='bookmark' title='Permanent Link: Found the games I couldn&#8217;t remember'>Found the games I couldn&#8217;t remember</a></li><li><a href='http://www.floydwing.com/musings/2007/12/27/avl-end-of-turn-3/' rel='bookmark' title='Permanent Link: AVL &#8211; End of Turn 3'>AVL &#8211; End of Turn 3</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2009/07/30/josephus-circle-of-doom-or-links-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beer equilibrium and flow</title>
		<link>http://www.floydwing.com/musings/2009/05/12/beer-equilibrium-and-flow/</link>
		<comments>http://www.floydwing.com/musings/2009/05/12/beer-equilibrium-and-flow/#comments</comments>
		<pubDate>Wed, 13 May 2009 01:01:08 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Beer]]></category>
		<category><![CDATA[Deep Ramblings]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[pit]]></category>
		<category><![CDATA[ramblings]]></category>

		<guid isPermaLink="false">http://floydwing.com/musings/?p=526</guid>
		<description><![CDATA[Note: I&#8217;m not endorsing drinking in any way as a way of achieving a heightened sense of being.  As always, never drink and drive or set a bad example for your kids.  I don&#8217;t claim to have the G-variant gene.  This is only a post comparing what they found with some strange feelings I&#8217;ve encountered [...]


Related posts:<ol><li><a href='http://www.floydwing.com/musings/2008/09/19/bells-beer-ballet/' rel='bookmark' title='Permanent Link: Bell&#8217;s Beer Ballet'>Bell&#8217;s Beer Ballet</a></li><li><a href='http://www.floydwing.com/musings/2008/09/21/la-chouffe-and-the-floydwing-beer-scale-revealed/' rel='bookmark' title='Permanent Link: La Chouffe and the FloydWing beer scale revealed'>La Chouffe and the FloydWing beer scale revealed</a></li><li><a href='http://www.floydwing.com/musings/2010/03/12/705/' rel='bookmark' title='Permanent Link: A post with a forgotten name'>A post with a forgotten name</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Note: I&#8217;m not endorsing drinking in any way as a way of achieving a heightened sense of being.  As always, never drink and drive or set a bad example for your kids.  I don&#8217;t claim to have the G-variant gene.  This is only a post comparing what they found with some strange feelings I&#8217;ve encountered in my life.</p>
<p>I&#8217;ve known about this <a title="Beer and creativity" href="http://www.prospect-magazine.co.uk/article_details.php?id=10751">G-variant gene</a> for years.  I always called it beer equilibrium and never knew there was an official study pertaining to it.  Amazing the things that universities spend money on.</p>
<p>Beer equilibrium is that place after drinking x number of beers where you achieve <a title="flow" href="http://en.wikipedia.org/wiki/Flow_(psychology)">flow</a>.  Flow does not require alcohol to be reached however.  Flow is very common in the programming world when a programmer becomes so engrossed in what he&#8217;s working on that the rest of the world around him ceases to exist.  There is only the problem, and all the intricate possibilities are clear.</p>
<p>I&#8217;ve achieved the programming flow sober and alcohol induced.  Most of Pit was coded by me sitting in a hotel room after a few beers.  Yeah, it may be crap code, but the bits flew from my fingers and everything was clear.</p>
<p>Flow is that feeling of playing Civilization until 3am and not being able to recall the last 4 hours going by.  There is only you and the problem at hand, the rest of the world dissolves away.</p>
<p>The other most prominent flows that I&#8217;ve achieved of the beer equilibrium (BE) flavor is while playing pool or golf.  A certain amount of beer consumed does something to relax me enough that the club becomes the extension that it&#8217;s supposed to be.  Drives, chips, everything just happen the way they&#8217;re supposed to.  The tricky part with BE, is maintaining it.  Consume too much and the golf game returns to the craptastic game it normally is.  It&#8217;s a fine line (as eluded to in the article) between being in the creative state and going over the edge to the tired side.</p>
<p>Flow is an awesome state of being, the sober version even more so than BE.  If I can ever get my ducks in a row here at home, I hope to achieve some programming flow on some personal projects.</p>
<h3>On this day&#8230;</h3>
<ul>
<li>2005: <a href="http://www.floydwing.com/musings/2005/05/12/blogging-todo-list/">Blogging ToDo List</a> &mdash; Talk about poker night<br />
Latest after action report of my B-17 campaign<br />
Talk about the work wing-off I&#8217;m cooking in this weekend<br />
Talk [...]</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.floydwing.com/musings/2008/09/19/bells-beer-ballet/' rel='bookmark' title='Permanent Link: Bell&#8217;s Beer Ballet'>Bell&#8217;s Beer Ballet</a></li><li><a href='http://www.floydwing.com/musings/2008/09/21/la-chouffe-and-the-floydwing-beer-scale-revealed/' rel='bookmark' title='Permanent Link: La Chouffe and the FloydWing beer scale revealed'>La Chouffe and the FloydWing beer scale revealed</a></li><li><a href='http://www.floydwing.com/musings/2010/03/12/705/' rel='bookmark' title='Permanent Link: A post with a forgotten name'>A post with a forgotten name</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2009/05/12/beer-equilibrium-and-flow/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Write in C</title>
		<link>http://www.floydwing.com/musings/2009/03/06/write-in-c/</link>
		<comments>http://www.floydwing.com/musings/2009/03/06/write-in-c/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 02:32:27 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://floydwing.com/musings/?p=494</guid>
		<description><![CDATA[While I don&#8217;t know if I necessarily agree with the choice of language, I still recommend watching this quick before the record industry shuts it down with their greedy claws.

On this day&#8230;

2010: SteamBirds &#8212; This game is a little bit addicting.
SteamBirds
Related posts:First post of 2007Finally, a post!Civilized Facebooking
2005: Poker Season Session 3 &#8212; Time to [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>While I don&#8217;t know if I necessarily agree with the choice of language, I still recommend watching this quick before the record industry shuts it down with their greedy claws.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/XHosLhPEN3k&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/XHosLhPEN3k&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h3>On this day&#8230;</h3>
<ul>
<li>2010: <a href="http://www.floydwing.com/musings/2010/03/06/steambirds/">SteamBirds</a> &mdash; This game is a little bit addicting.<br />
SteamBirds</p>
<p>Related posts:First post of 2007Finally, a post!Civilized Facebooking</li>
<li>2005: <a href="http://www.floydwing.com/musings/2005/03/06/poker-season-session-3/">Poker Season Session 3</a> &mdash; Time to review this month&#8217;s poker night.  This time we went back to the garage that started it all [...]</li>
</ul>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2009/03/06/write-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>V-day and code tinkering</title>
		<link>http://www.floydwing.com/musings/2009/03/02/v-day-and-code-tinkering/</link>
		<comments>http://www.floydwing.com/musings/2009/03/02/v-day-and-code-tinkering/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 03:42:28 +0000</pubDate>
		<dc:creator>FloydWing</dc:creator>
				<category><![CDATA[Beer]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Bell's Hopslam]]></category>
		<category><![CDATA[Google Collections Library]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[Valentine's Day]]></category>

		<guid isPermaLink="false">http://floydwing.com/musings/?p=485</guid>
		<description><![CDATA[The year has been flying past so far.  Here&#8217;s some catchup.
We had a very nice Valentine&#8217;s Day here.  The amazing wifal unit had a pretty cool gift awaiting me on the table when I woke up.  In one of those clear plastic box like thingies that roses come, were six(!) bottles of Bell&#8217;s Hopslam lying [...]


Related posts:<ol><li><a href='http://www.floydwing.com/musings/2008/03/16/the-part-time-developer-5-spring/' rel='bookmark' title='Permanent Link: The Part Time Developer 5: Spring'>The Part Time Developer 5: Spring</a></li><li><a href='http://www.floydwing.com/musings/2009/03/18/what-the-grand-am-said-to-ubuntu-while-coaching-pit/' rel='bookmark' title='Permanent Link: What the Grand Am said to Ubuntu while coaching Pit&#8230;'>What the Grand Am said to Ubuntu while coaching Pit&#8230;</a></li><li><a href='http://www.floydwing.com/musings/2009/02/15/spring-integration/' rel='bookmark' title='Permanent Link: Spring Integration'>Spring Integration</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>The year has been flying past so far.  Here&#8217;s some catchup.</p>
<p>We had a very nice Valentine&#8217;s Day here.  The amazing wifal unit had a pretty cool gift awaiting me on the table when I woke up.  In one of those clear plastic box like thingies that roses come, were six(!) bottles of Bell&#8217;s Hopslam lying ever so gently on a bed of peanuts.  There were six there, but there was another six hidden in the garage.  What an amazing women!</p>
<p>We had some shopping to do that day and ate an early supper at Applebee&#8217;s.  The FloydWing&#8217;s don&#8217;t normally partake of dessert when eating out but we decided to splurge given the day.  We let the girlywogs get an ice cream float and we got this triple chocolate thing that came with ice cream on the side.  This thing was to die for!  It was a brownie-like piece of cake (I don&#8217;t normally care for brownies), covered in a chocolate sauce, that had some other kind of chocolate caramel sauce hidden inside it.  And it was warm.  If anyone was watching us eat this thing, they probably thought something was going on under the table.  It was so good!  I&#8217;d recommend you save room the next time you&#8217;re at Applebee&#8217;s.</p>
<p>I took President&#8217;s Day off since the girlywogs were off.  It was a pretty good day.  I got up at my normal work time to get some personal development time in.  I played around with the Spring Integration tutorial that talked about in an earlier <a title="Spring Integration" href="http://floydwing.com/musings/2009/02/15/spring-integration/">post</a>.  I&#8217;m still trying to figure out how the heck step 10 worked.  I made the Gateway interface, referenced it in the config.  There was no class that implemented the interface, but somehow it still worked.  Blows my mind.  I&#8217;m gonna need some additional exploration with that.  I&#8217;ve found another tutorial that I hope to go through soon.</p>
<p>I also started some work on an idea I&#8217;ve had for years.  I&#8217;ll devote a whole post to that someday.  Needless to say I used part of the Google Collections Library to make reading a file as simple as stepping through a list.  <a title="AbstractIterator" href="http://publicobject.com/2008/08/coding-in-small-with-google-collections_13.html">This</a> article shows how to use the AbstractIterator from the library to wrap a Reader and step through a file line by line.  Some pretty cool stuff.</p>
<h3>On this day&#8230;</h3>
<ul>
<li>2005: <a href="http://www.floydwing.com/musings/2005/03/02/gaining-strength/">Gaining Strength</a> &mdash; Well, hopefully I turned the corner in the old sickness.  I&#8217;m still feeling rundown and stuffed up to all [...]</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.floydwing.com/musings/2008/03/16/the-part-time-developer-5-spring/' rel='bookmark' title='Permanent Link: The Part Time Developer 5: Spring'>The Part Time Developer 5: Spring</a></li><li><a href='http://www.floydwing.com/musings/2009/03/18/what-the-grand-am-said-to-ubuntu-while-coaching-pit/' rel='bookmark' title='Permanent Link: What the Grand Am said to Ubuntu while coaching Pit&#8230;'>What the Grand Am said to Ubuntu while coaching Pit&#8230;</a></li><li><a href='http://www.floydwing.com/musings/2009/02/15/spring-integration/' rel='bookmark' title='Permanent Link: Spring Integration'>Spring Integration</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.floydwing.com/musings/2009/03/02/v-day-and-code-tinkering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
