<?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>Web Coder Diary</title>
	<atom:link href="http://blog.rushproject.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.rushproject.com</link>
	<description>Quit programming before it&#039;s too late</description>
	<lastBuildDate>Tue, 05 Oct 2010 12:37:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Kinesis Freestyle keyboard + Magic trackpad</title>
		<link>http://blog.rushproject.com/?p=73</link>
		<comments>http://blog.rushproject.com/?p=73#comments</comments>
		<pubDate>Sun, 03 Oct 2010 16:43:49 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kinesis Freestyle Keyboard]]></category>
		<category><![CDATA[Magic Trackpad]]></category>

		<guid isPermaLink="false">http://blog.rushproject.com/?p=73</guid>
		<description><![CDATA[I wore down two Microsoft Natural keyboards already, and I still believe it is simply the best keyboard on the market thanks to big control/middle keys and curved key placement. I was early adopter of Logitech MX Revolution Mouse, and &#8230; <a href="http://blog.rushproject.com/?p=73">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wore down two <a href="http://www.microsoft.com/hardware/mouseandkeyboard/ProductDetails.aspx?pid=043">Microsoft  Natural keyboards</a> already, and I still believe it is simply the best keyboard on the market thanks to big control/middle keys and curved key placement. I was early adopter of Logitech MX Revolution Mouse, and I still did not hold in hands any mice that would be at least comparable to the Revolution model. However, in never ending search for excellence I got to retire both devices recently.</p>
<p>The Natural Keyboard was so comfortable, that constantly moving right hand about 45 degrees clockwise to reach the mouse turned to annoying exercise over time. Thanks to excellent design of the mouse I did not come even close to any injures, but at the end of a day the discomfort was obvious. So, one day I asked myself &#8211; why can&#8217;t I have a keyboard with multitouch trackpad, to work the way I do while traveling with MacBook Pro?</p>
<p>No need to be a genius to come up with an idea of pairing Kinesis Freestyle keyboard with Apple Magic Trackpad. Couple of online orders, and voila: split keyboard with trackpad are sitting on my desk:</p>
<p><img src="http://blog.rushproject.com/wp-content/uploads/2010/10/freestyleup.jpg" alt="Kinesis Freestyle with Magic Trackpad" /></p>
<p>Please note the alignment of trackpad &#8211; unlike laptops or keyboard/trackpad combos it is rotated 45 degrees counter clockwise to be aligned with my right hand.</p>
<p>Also, after typing a couple paragraphs I felt pain in my wrists &#8211; keeping palms in horisontal position and without support was too unusual to me. So, I had to order VIP kit for the keyboard. The kit consists of palm rest pads and keyboard risers.</p>
<p><img src="http://blog.rushproject.com/wp-content/uploads/2010/10/freestylelow.jpg" alt="Kinesis Freestyle with Magic Trackpad" /></p>
<p>Some observations after 3 weeks of using the split keys with trackpad.</p>
<ul>
<li>The Microsoft Natural keyboard is still the best. I miss big Control/Option/Command keys, I miss curved key rows (especially when typing square brackets and -/+/=) and I miss &#8230; Esc key, as it is unexpectedly placed far far away on Kinesis keyboard.</li>
<li>I enjoy additional free space on my desk, because Kinesis keyboard has smaller footprint.</li>
<li>I quit using mouse. It is still here, and I happened to grab it infrequently during first days, but now I consider retiring it completely.</li>
<li>Apple made good decision to support only a few trackpad gestures. You may find both free and commercial software (such as <a href="http://boastr.net/">BetterTouchTool</a>) that recognizes a whole lot of additional gestures, but unfortunately you must be very careful when touching the pad to make sure the system will not treat your &#8220;three finger tap&#8221; as &#8220;single finger tap right side middle&#8221;. Your mileage may vary, but in my experience even being a piano player does not  help much, so I had to uninstall the enhancements.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.rushproject.com/?feed=rss2&amp;p=73</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>JPA 2.0 with Hibernate in NetBeans 6.9</title>
		<link>http://blog.rushproject.com/?p=58</link>
		<comments>http://blog.rushproject.com/?p=58#comments</comments>
		<pubDate>Wed, 04 Aug 2010 01:28:29 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[JPA 2.0]]></category>
		<category><![CDATA[Netbeans]]></category>

		<guid isPermaLink="false">http://blog.rushproject.com/?p=58</guid>
		<description><![CDATA[NetBeans 6.9 does not allow to configure Hibernate as JPA 2.0 persistence provider out of the box. Only Hibernate(JPA 1.0) is in the list of providers when setting up a persistence unit. You must create a custom persistence library (Hibernate &#8230; <a href="http://blog.rushproject.com/?p=58">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>NetBeans 6.9 does not allow to configure <a href="http://www.hibernate.org/">Hibernate</a> as JPA 2.0 persistence provider out of the box. Only Hibernate(JPA 1.0) is in the list of providers when setting up a persistence unit. You must create a custom persistence library (Hibernate 3.5+) for JPA 2.0, see <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=183327">Bug 183327</a> for further info. Unfortunately bundled repositories do not always have recent version of Hibernate available &#8211; at the moment of writing the Central Repository has only 3.5.3, while the latest is 3.5.4, thus more tweaking needed. Here is the walkthrough:</p>
<p>1) Add jBoss Releases repository to the NetBeans Maven repository list. Use <em>Window/Other/Maven Repository Browser </em>to open repositories window. When adding new repository use the following URLs:</p>
<p>Repository URL: https://repository.jboss.org/nexus/content/repositories/releases/</p>
<p>Index URL: https://repository.jboss.org/nexus/content/repositories/releases/.index/</p>
<p>2) Add <em>hibernate-entitymanager</em> dependency to your project libraries (right-click on <em>Libraries</em> in Project window to activate context menu). Use</p>
<p>GroupId: <em>org.hibernate</em><br />
ArtifactId: <em>hibernate-entitymanager</em><br />
Version: <em>you decide, I use latest, which is 3.5.4 now</em></p>
<p>The first two steps allows to setup dependencies and to download latest versions of Hibernate libraries. Now you may proceed with custom persistence library setup.</p>
<p>3) Either open existing persistence.xml (if you want to change provider) or create new one (right-click on your project, <em>New/Persistence Unit</em>) and select <em>New Persistence Library</em> from Persistence Provider drop down list. You must add the following libraries:</p>
<p><small>hibernate-entitymanager/3.5.4-Final/hibernate-entitymanager-3.5.4-Final.jar<br />
hibernate-annotations/3.5.4-Final/hibernate-annotations-3.5.4-Final.jar<br />
hibernate-commons-annotations/3.2.0.Final/hibernate-commons-annotations-3.2.0.Final.jar<br />
hibernate-core/3.5.4-Final/hibernate-core-3.5.4-Final.jar<br />
hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.jar</small></p>
<p>All paths are relative to local repository (usually ~/.m2) and I assume that Hibernate version is 3.5.4. Submit the <em>New Persistence Library</em> form and now you may select <em>Hibernate(JPA 2.0)</em> from the provider list.</p>
<p>4) (optional) Now you have all dependencies in <em>pom.xml </em>and the libraries are available through your local Maven repository. However the <em>pom.xml</em> will not work on another computer, because it does not provide any info on jBoss repository. You may add the following code to your <em>pom.xml</em> to fix this issue:</p>
<p><small>
<pre><span style="font-size:12px">
&lt;repositories>
...
 &lt;repository>
    &lt;id>jboss-public-repository-group&lt;/id>
    &lt;name>JBoss Public Repository Group&lt;/name>
    &lt;url>http://repository.jboss.org/nexus/content/groups/public/&lt;/url>
    &lt;layout>default&lt;/layout>
    &lt;releases>
        &lt;enabled>true&lt;/enabled>
        &lt;updatePolicy>never&lt;/updatePolicy>
    &lt;/releases>
    &lt;snapshots>
        &lt;enabled>true&lt;/enabled>
        &lt;updatePolicy>never&lt;/updatePolicy>
    &lt;/snapshots>
 &lt;/repository>
&lt;/repositories>
&lt;pluginRepositories>
    &lt;pluginRepository>
      &lt;id>jboss-public-repository-group&lt;/id>
      &lt;name>JBoss Public Repository Group&lt;/name>
      &lt;url>http://repository.jboss.org/nexus/content/groups/public/&lt;/url>
      &lt;releases>
        &lt;enabled>true&lt;/enabled>
      &lt;/releases>
      &lt;snapshots>
        &lt;enabled>true&lt;/enabled>
      &lt;/snapshots>
    &lt;/pluginRepository>
&lt;/pluginRepositories>
</span></pre>
<p></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rushproject.com/?feed=rss2&amp;p=58</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://blog.rushproject.com/?p=1</link>
		<comments>http://blog.rushproject.com/?p=1#comments</comments>
		<pubDate>Tue, 13 Jul 2010 02:29:43 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.rushproject.com/?p=1</guid>
		<description><![CDATA[Actually, my first “Hello, World” program was in PL/1 and the code was punched into a small deck of IBM 5081 cards. <a href="http://blog.rushproject.com/?p=1">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><code>int main()<br />
{<br />
&nbsp;&nbsp;&nbsp;printf("hello, world");<br />
}<br />
Brian Kernighan, Programming in C: A Tutorial,<br />
1974, Bell Laboratories, Murray Hill, N. J.<br />
</code></p>
<p style="text-align: left;">
Actually, my first “Hello, World” program was in PL/1 and the code was punched into a small deck of IBM 5081 cards. It happened back in 1982. Since then I was repeating this phrase many times in Assembler, FORTRAN, Basic, Pascal, C, C++, C#, Perl, Javascript, PHP and Java. First time I was paid for programming in 1985. But it was year 1988 when I finally saw my software installed on a somebody else’s computer.</p>
<p>Watching a complete stranger using <em>my</em> program was thrilling experience. It is like meeting somebody carrying a book you wrote or finding a poster made from your photo mounted on the wall in a hotel lobby. This spectacular feeling was probably the most important reason I still did not quit programming (and I tried, believe me). This feeling was also the most important reason for starting this blog. As time passes by, saying “Hello, World” using all possible means &#8211; software code, plain English, photo camera, whatever, is getting an irresistible habit. Because it&#8217;s a wonderful world.</p>
<p>So, I got WordPress installed on a Linux box, spent about an hour browsing available themes &#8211; just to find out that the default one is the most compelling to me, replaced the stock photo with the one I made near Córdoba, Spain in 2007, and here you are, welcome to Web Coder Diary!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rushproject.com/?feed=rss2&amp;p=1</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
