<?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>Netbeans for the Coffee Drinker</title>
	<atom:link href="http://netbeansboy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://netbeansboy.wordpress.com</link>
	<description>Netbeansboy works on Android, IOS, Mac, Java, Netbeans and much more www.netbeansboy.org</description>
	<lastBuildDate>Thu, 05 Jan 2012 10:10:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='netbeansboy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8b689b526f0f850741b2c83768634eaf?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Netbeans for the Coffee Drinker</title>
		<link>http://netbeansboy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://netbeansboy.wordpress.com/osd.xml" title="Netbeans for the Coffee Drinker" />
	<atom:link rel='hub' href='http://netbeansboy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Using threading to do processing. Improving the User Experience.</title>
		<link>http://netbeansboy.wordpress.com/2012/01/05/using-threading-to-do-processing-improving-the-user-experience/</link>
		<comments>http://netbeansboy.wordpress.com/2012/01/05/using-threading-to-do-processing-improving-the-user-experience/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 10:10:52 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/2012/01/05/using-threading-to-do-processing-improving-the-user-experience/</guid>
		<description><![CDATA[One great thing about Java is that it&#8217;s easy to create Threads. My UML diagrams are showing how I am now splitting processing away from the user interface. Why make a user wait, when a background thread could be fired to do a calculation, produce a report and it&#8217;s not only users that can benefit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=337&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One great thing about Java is that it&#8217;s easy to create Threads. My UML diagrams are showing how I am now splitting processing away from the user interface.</p>
<p>Why make a user wait, when a background thread could be fired to do a calculation, produce a report and it&#8217;s not only users that can benefit from background processing. I have a comms routine which basically get&#8217;s a UDP message, puts it in a database and responds to the unit. Then, in the background, runs a thread that processes the data into the system. </p>
<p>To create a thread is very easy. You can either use an EJB timer function to start a threaded routine, or create a class that extends a Thread, and then use new Thread(new yourClass()).start();</p>
<p> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/337/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=337&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2012/01/05/using-threading-to-do-processing-improving-the-user-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
		<item>
		<title>Finding out where I am without an external API.</title>
		<link>http://netbeansboy.wordpress.com/2011/11/16/finding-out-where-i-am-without-an-external-api/</link>
		<comments>http://netbeansboy.wordpress.com/2011/11/16/finding-out-where-i-am-without-an-external-api/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 13:00:35 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/?p=323</guid>
		<description><![CDATA[My work is incredibly interesting. I do a LOT of mapping and location software, often it&#8217;s easy to plug in to something like Google Maps who provide their awesome API for programmers to hack. But sometimes this isn&#8217;t possible. Of of my projects involves a world map with a plot of different devices locations. However [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=323&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My work is incredibly interesting. I do a LOT of mapping and location software, often it&#8217;s easy to plug in to something like Google Maps who provide their awesome API for programmers to hack. But sometimes this isn&#8217;t possible.</p>
<p>Of of my projects involves a world map with a plot of different devices locations. However in this case, as it was run in a back end query it would not be covered by any web api&#8217;s license. My own solution was needed. The first thing I did was to get some data, a cities table with 2.6 million entries is available free on the internet, and a countries table, I modified the cities table to include the country name.</p>
<p>Then I simply used a nested query on the cities table.</p>
<pre>select * from cities where (lat&gt;4.3142004 and lat&lt;4.7142)
and (cities.long&gt;-74.0833 and cities.long&lt;-73.683304) limit 1</pre>
<p>This effectively is a box surrounding the point I&#8217;m looking for. Note that if the box fails to find anything I can just increase the parameters and rerun the query.</p>
<p>You can see that the figures form a box around the point I&#8217;m looking for, in this case I did not need the address, just what country it was in. (returned the whole record for testing).</p>
<p>Incidentally the cities table is pretty interesting, you wouldn&#8217;t believe how many London&#8217;s there are!</p>
<p>The cities file can be downloaded <a href="http://www.ad901.com/cities.csv.zip" target="_blank">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/323/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=323&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2011/11/16/finding-out-where-i-am-without-an-external-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
		<item>
		<title>Primefaces Tree in a layout or panel doesn&#8217;t work</title>
		<link>http://netbeansboy.wordpress.com/2011/10/20/primefaces-tree-in-a-layout-or-panel-doesnt-work/</link>
		<comments>http://netbeansboy.wordpress.com/2011/10/20/primefaces-tree-in-a-layout-or-panel-doesnt-work/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 07:31:07 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Primefaces]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/?p=317</guid>
		<description><![CDATA[I must be losing more hair than anything. The tree function in a layout doesn&#8217;t work, although the backing bean is called the selectedItems array passed to it is empty. So here&#8217;s the fix. Your code now looks like this probably (or something like it). &#60;p:panel style="height:80%"&#62;   &#60;p:tree selection="#{indextree.selectedNodes}" update="Map" propagateSelectionUp="true" propagateSelectionDown="true" nodeSelectListener="#{indextree.onNodeSelect}" id="tree" [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=317&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I must be losing more hair than anything. The tree function in a layout doesn&#8217;t work, although the backing bean is called the selectedItems array passed to it is empty. So here&#8217;s the fix.</p>
<p>Your code now looks like this probably (or something like it).</p>
<pre>&lt;p:panel style="height:80%"&gt;   &lt;p:tree selection="#{indextree.selectedNodes}"
 update="Map" propagateSelectionUp="true" propagateSelectionDown="true"
 nodeSelectListener="#{indextree.onNodeSelect}" id="tree"
 style="font-size:12pt" selectionMode="checkbox" value="#{indextree.root}" var="node"&gt; &lt;p:treeNode&gt; &lt;h:outputText value="#{node}"/&gt; &lt;/p:treeNode&gt;
&lt;/p:tree&gt;
&lt;/p:panel&gt;</pre>
<p>So simply create another xhtml file and put the tree in it on it&#8217;s own. In this case I called it treeTest.xhtml</p>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:p="http://primefaces.prime.com.tr/ui" xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"&gt;
&lt;f:view contentType="text/html"&gt;&lt;h:head&gt;
&lt;title&gt;Tracking&lt;/title&gt;
&lt;/h:head&gt;
&lt;h:body style="font-size:8pt" &gt;
&lt;h:form id="boris" enctype="multipart/form-data"&gt;
&lt;p:tree selection="#{indextree.selectedNodes}" update="Map" propagateSelectionUp="true" propagateSelectionDown="true" nodeSelectListener="#{indextree.onNodeSelect}" id="tree" style="font-size:12pt" selectionMode="checkbox" value="#{indextree.root}" var="node"&gt;
&lt;p:treeNode&gt;
&lt;h:outputText value="#{node}"/&gt;
&lt;/p:treeNode&gt;
&lt;/p:tree&gt;&lt;/h:form&gt;&lt;/h:body&gt;
&lt;/f:view&gt;
 &lt;/html&gt;</pre>
<p>Now in your original file replace your tree code with an iframe! Tada, it all works! (note it should have &lt; at the start and &gt; at the end but wordpress goes a bit mad if I do that.</p>
<pre>
iframe src="treeTest.xhtml" style="height:80%;border-style:none;border-width:1px;" &gt;&lt;/iframe</pre>
<p>By the way this is fixed in the latest V3.0M</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=317&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2011/10/20/primefaces-tree-in-a-layout-or-panel-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
		<item>
		<title>Now that&#8217;s clever.</title>
		<link>http://netbeansboy.wordpress.com/2011/10/13/now-thats-clever/</link>
		<comments>http://netbeansboy.wordpress.com/2011/10/13/now-thats-clever/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 09:26:48 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/?p=315</guid>
		<description><![CDATA[OK, So to upgrade my iPhone to IOS 5 I decided to go to the pub, have a nice meal and a pint of cider. Great idea you say. But, due to the cider I unplugged my  iPhone before it had finished syncing the apps. No problem, I thought I&#8217;ll just sync it in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=315&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK,</p>
<p>So to upgrade my iPhone to IOS 5 I decided to go to the pub, have a nice meal and a pint of cider. Great idea you say. But, due to the cider I unplugged my  iPhone before it had finished syncing the apps. No problem, I thought I&#8217;ll just sync it in the morning. Some of the apps were missing some would not work when I touched them.</p>
<p>Morning comes, upgrade iPad&#8230;and guess what&#8230; all my apps are working, seems little iPhone synced itself with the cloud and fixed itself&#8230;scary wonderful technology.</p>
<p>Well done Apple. Steve would be proud because I know I am.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/315/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=315&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2011/10/13/now-thats-clever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
		<item>
		<title>IOS 5 out NOW but&#8230;</title>
		<link>http://netbeansboy.wordpress.com/2011/10/12/ios-5-out-now-but/</link>
		<comments>http://netbeansboy.wordpress.com/2011/10/12/ios-5-out-now-but/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 17:18:36 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/?p=313</guid>
		<description><![CDATA[&#160; I think their servers are suffering, 16 hours on a broad band line for the iPhone version 53 minutes though for the iPad version &#8230;. Apple, you should have started the update WHILE THE USA WAS ASLEEP! silly. Ok some of us have been sitting in iTunes and hitting Check for Update all day&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=313&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>I think their servers are suffering, 16 hours on a broad band line for the iPhone version 53 minutes though for the iPad version &#8230;.</p>
<p>Apple, you should have started the update WHILE THE USA WAS ASLEEP! silly.</p>
<p>Ok some of us have been sitting in iTunes and hitting Check for Update all day&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=313&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2011/10/12/ios-5-out-now-but/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
		<item>
		<title>RIP Steve Jobs</title>
		<link>http://netbeansboy.wordpress.com/2011/10/06/rip-steve-jobs/</link>
		<comments>http://netbeansboy.wordpress.com/2011/10/06/rip-steve-jobs/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 14:32:29 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/?p=310</guid>
		<description><![CDATA[I just wanted to pay tribute to Steve Jobs for his incredible contribution to IT on this Blog. I look forward to the future but Steve will be a sad loss to all of us who use Apple stuff and a few who don&#8217;t. &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=310&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just wanted to pay tribute to Steve Jobs for his incredible contribution to IT on this Blog. I look forward to the future but Steve will be a sad loss to all of us who use Apple stuff and a few who don&#8217;t.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=310&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2011/10/06/rip-steve-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
		<item>
		<title>com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.</title>
		<link>http://netbeansboy.wordpress.com/2011/09/27/com-mysql-jdbc-exceptions-jdbc4-mysqlnontransientconnectionexception-no-operations-allowed-after-connection-closed/</link>
		<comments>http://netbeansboy.wordpress.com/2011/09/27/com-mysql-jdbc-exceptions-jdbc4-mysqlnontransientconnectionexception-no-operations-allowed-after-connection-closed/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 09:11:00 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[MYSQL]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/?p=303</guid>
		<description><![CDATA[&#160; Before you do any of the following make sure you are using the very latest MYSQL driver. I have been hunting through the internet to find a solution to this one, after about 24 hours it seemed that the Glassfish 3 server could no longer find connections. The solution was actually in the error [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=303&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Before you do any of the following make sure you are using the very latest MYSQL driver.</p>
<p>I have been hunting through the internet to find a solution to this one, after about 24 hours it seemed that the Glassfish 3 server could no longer find connections. The solution was actually in the error message (but you know how you never read ALL the way through a java error message).</p>
<pre>The last packet successfully received from the server was 48,673,937 milliseconds ago. The last packet sent successfully
to the server was 48,673,937 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should
consider either expiring and/or testing connection validity before use in your application, increasing the server
configured values for client timeouts, <strong>or using the Connector/J connection property 'autoReconnect=true' to avoid this problem. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at </strong>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at</pre>
<p>Actually this is middy deceptive, because you need to set more than that.</p>
<p>I set in my sun-resources.xml file&#8230;</p>
<pre>&lt;jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="10" connection-creation-retry-interval-in-seconds="1" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="30000" max-wait-time-in-millis="60000" name="mysql_sollatek_adminPool" non-transactional-connections="false" pool-resize-quantity="3" res-type="javax.sql.ConnectionPoolDataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false"&gt;
    &lt;property name="User" value="admin"/&gt;
    &lt;property name="Password" value="xxxx"/&gt;
    &lt;property name="serverName" value="xxxx"/&gt;
    &lt;property name="portNumber" value="3306"/&gt;
<strong> &lt;property name="autoReconnect" value="true"/&gt;</strong>
<strong> &lt;property name="autoReconnectForPools" value="true"/&gt;</strong>
    &lt;property name="databaseName" value="xxxx"/&gt;
    &lt;property name="URL" value="jdbc:mysql://xxxx&gt;
    &lt;property name="driverClass" value="com.mysql.jdbc.Driver"/&gt;
  &lt;/jdbc-connection-pool&gt;</pre>
<p>And in fact any where else you make a connection. Ensure that the auto reconnect is set to true. You could also set the number of retries in the reconnections to a higher property (default is 3).</p>
<p>Full details of these properties are usefully available <a href="http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html" target="_blank">here</a></p>
<p>Oh and a gotcha, don&#8217;t forget that if you have an app/jdbc resource on the server you need to add the properties to it in the jDBC connection pool and restart the server otherwise it won&#8217;t get there!</p>
<p>If none of that works, try making sure that the glass fish server only keeps the connections open for a shorter time than the mysql server.</p>
<p>In your connection pools&#8230;</p>
<div>Pool Settings</div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="left" valign="top">
<div>Initial and Minimum Pool Size:</div>
</td>
<td>
<div>Connections</p>
<div id="propertyForm:sheet:poolSettingsPropertySheet:initSizeProp:initSizeProp_helpText">Minimum and initial number of connections maintained in the pool</div>
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<div>Maximum Pool Size:</div>
</td>
<td>
<div>Connections</p>
<div id="propertyForm:sheet:poolSettingsPropertySheet:maxProp:maxProp_helpText">Maximum number of connections that can be created to satisfy client requests</div>
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<div>Pool Resize Quantity:</div>
</td>
<td>
<div>Connections</p>
<div id="propertyForm:sheet:poolSettingsPropertySheet:resizeProp:resizeProp_helpText">Number of connections to be removed when pool idle timeout expires</div>
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<div>Idle Timeout:</div>
</td>
<td>
<div>Seconds</p>
<div id="propertyForm:sheet:poolSettingsPropertySheet:idleProp:idleProp_helpText">Maximum time that connection can remain idle in the pool</div>
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<div>Max Wait Time:</div>
</td>
<td>
<div>Milliseconds</p>
<div id="propertyForm:sheet:poolSettingsPropertySheet:maxWaitProp:maxWaitProp_helpText">Amount of time caller waits before connection timeout is sent</div>
</div>
</td>
</tr>
</tbody>
</table>
<p><strong>If none of this works and you still have the problem (which is odd on one glass fish server this fixed it) then change the datasource from a connection pool driver to an XA datasource driver. </strong></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="left" valign="top" nowrap="nowrap">
<div>Pool Name:</div>
</td>
<td>
<div>my connectionpoolname</div>
</td>
</tr>
<tr>
<td align="left" valign="top" nowrap="nowrap">
<div>Resource Type:</div>
</td>
<td>
<div>    javax.sql.DataSource  javax.sql.XADataSource  javax.sql.ConnectionPoolDataSource  java.sql.Driver </p>
<div id="propertyForm:sheet:generalSheet:resTypeEditProp:resTypeEditProp_helpText">Must be specified if the datasource class implements more than 1 of the interface.</div>
</div>
</td>
</tr>
<tr>
<td align="left" valign="top" nowrap="nowrap">
<div>Datasource Classname:</div>
</td>
<td>
<div></div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=303&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2011/09/27/com-mysql-jdbc-exceptions-jdbc4-mysqlnontransientconnectionexception-no-operations-allowed-after-connection-closed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
		<item>
		<title>Sending a text through txtlocal.com (or how to do a post to a page)</title>
		<link>http://netbeansboy.wordpress.com/2011/09/09/sending-a-text-through-txtlocal-com-or-how-to-do-a-post-to-a-page/</link>
		<comments>http://netbeansboy.wordpress.com/2011/09/09/sending-a-text-through-txtlocal-com-or-how-to-do-a-post-to-a-page/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 07:56:59 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/?p=299</guid>
		<description><![CDATA[The java examples they provide require the use of an apache library that has superseded. So I wrote my own using simple java libraries. No extras needed. Obviously you&#8217;ll have to get yourself a txt local free text account before you go ahead&#8230;. http://www.txtlocal.co.uk/?tlrx=89707 /* * To change this template, choose Tools &#124; Templates * [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=299&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The java examples they provide require the use of an apache library that has superseded. So I wrote my own using simple java libraries. No extras needed.</p>
<p>Obviously you&#8217;ll have to get yourself a txt local free text account before you go ahead&#8230;.</p>
<p><a href="http://www.txtlocal.co.uk/?tlrx=89707">http://www.txtlocal.co.uk/?tlrx=89707</a></p>
<pre>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package phj;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;

/**
 *
 * @author paulc
 */
public class SMSSender {

    public String sendSms(String sToPhoneNo,String sMessage) {

    try {
    // Construct data
    String data = URLEncoder.encode("uname", "UTF-8") + "=" + URLEncoder.encode("txtlocalusername****", "UTF-8");
    data += "&amp;" + URLEncoder.encode("pword", "UTF-8") + "=" + URLEncoder.encode("txtlocalpassword****", "UTF-8");
    data += "&amp;" + URLEncoder.encode("message", "UTF-8") + "=" + URLEncoder.encode(sMessage, "UTF-8");
    data += "&amp;" + URLEncoder.encode("from", "UTF-8") + "=" + URLEncoder.encode("from email address", "UTF-8");
    data += "&amp;" + URLEncoder.encode("selectednums", "UTF-8") + "=" + URLEncoder.encode(sToPhoneNo, "UTF-8");
    data += "&amp;" + URLEncoder.encode("info", "UTF-8") + "=" + URLEncoder.encode("1", "UTF-8");
    // Send data
    URL url = new URL("https://www.txtlocal.com/sendsmspost.php");
    URLConnection conn = url.openConnection();
    conn.setDoOutput(true);
    OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
    wr.write(data);
    wr.flush();

    // Get the response
    BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    String line;
    String sResult="";
    while ((line = rd.readLine()) != null) {
        // Process line...
        sResult=sResult+line+" ";
    }
    wr.close();
    rd.close();
    return sResult;
} catch (Exception e) {
    System.out.println("Error SMS "+e);
    return "Error "+e;
}

    }
}</pre>
<p>Obviously mine is more complex now (hence not final/static), just replace username, password and from email.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=299&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2011/09/09/sending-a-text-through-txtlocal-com-or-how-to-do-a-post-to-a-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
		<item>
		<title>Javascript isDate function for UK</title>
		<link>http://netbeansboy.wordpress.com/2011/09/02/javascript-isdate-function-for-uk/</link>
		<comments>http://netbeansboy.wordpress.com/2011/09/02/javascript-isdate-function-for-uk/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 09:17:42 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[Javscript]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/?p=293</guid>
		<description><![CDATA[Us splendid chaps in the UK have our date formatted  dd-mm-yyyy, whilst this is obviously the correct way one should speak, it means that most is date functions for javascript don&#8217;t work for us. Here&#8217;s one I found someone else modified for the UK. Splendid! &#160; function isDate(dateStr) { var datePat = /^(\d{1,2})(\/&#124;-)(\d{1,2})(\/&#124;-)(\d{4})$/; var matchArray [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=293&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Us splendid chaps in the UK have our date formatted  dd-mm-yyyy, whilst this is obviously the correct way one should speak, it means that most is date functions for javascript don&#8217;t work for us.</p>
<p>Here&#8217;s one I found someone else modified for the UK. Splendid!</p>
<p>&nbsp;</p>
<pre>function isDate(dateStr) {

var datePat = /^(\d{1,2})(\/|-)(\d{1,2})(\/|-)(\d{4})$/;
var matchArray = dateStr.match(datePat); // is the format ok?

if (matchArray == null) {
alert("Please enter date as either dd/mm/yyyy or dd-mm-yyyy.");
return false;
}

month = matchArray[3]; // p@rse date into variables
day = matchArray[1];
year = matchArray[5];

if (month &lt; 1 || month &gt; 12) { // check month range
alert("Month must be between 1 and 12.");
return false;
}

if (day &lt; 1 || day &gt; 31) {
alert("Day must be between 1 and 31.");
return false;
}

if ((month==4 || month==6 || month==9 || month==11) &amp;&amp; day==31) {
alert("Month "+month+" doesn`t have 31 days!")
return false;
}

if (month == 2) { // check for february 29th
var isleap = (year % 4 == 0 &amp;&amp; (year % 100 != 0 || year % 400 == 0));
if (day &gt; 29 || (day==29 &amp;&amp; !isleap)) {
alert("February " + year + " doesn`t have " + day + " days!");
return false;
}
}
return true; // date is valid
}</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=293&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2011/09/02/javascript-isdate-function-for-uk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
		<item>
		<title>My Macbook Pro broke :-( (well I installed something I shouldn&#8217;t have)</title>
		<link>http://netbeansboy.wordpress.com/2011/08/30/my-macbook-pro-broke-well-i-installed-something-i-shouldnt-have/</link>
		<comments>http://netbeansboy.wordpress.com/2011/08/30/my-macbook-pro-broke-well-i-installed-something-i-shouldnt-have/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 16:47:25 +0000</pubDate>
		<dc:creator>Paul C</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://netbeansboy.wordpress.com/?p=289</guid>
		<description><![CDATA[&#160; TRAGEDY! (well actually it wasn&#8217;t) My Macbook Pro took a dislike to an app I installed (geektools!) and went into a slow down mode I&#8217;ve never known, to the point the only option was to restore my Time Machine backup. I keep a 200gb drive plugged in via USB as Time Machine allows me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=289&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>TRAGEDY! (well actually it wasn&#8217;t)</p>
<p>My Macbook Pro took a dislike to an app I installed (geektools!) and went into a slow down mode I&#8217;ve never known, to the point the only option was to restore my Time Machine backup.</p>
<p>I keep a 200gb drive plugged in via USB as Time Machine allows me to restore individual files. But doing a whole restore was a completely different thing.</p>
<p>Here&#8217;s how.</p>
<p>a. Boot Computer and Hold Down CONTROL<br />
b. Choose Recovery (you&#8217;ll see your normal drive and the recovery option)<br />
c. Choose Recover from Time Machine&#8230;.</p>
<p>Drink tea and wait 2 hours.</p>
<p>After then, rebooted and everything was restored.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netbeansboy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netbeansboy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netbeansboy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netbeansboy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netbeansboy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netbeansboy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netbeansboy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netbeansboy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netbeansboy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netbeansboy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netbeansboy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netbeansboy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netbeansboy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netbeansboy.wordpress.com/289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netbeansboy.wordpress.com&amp;blog=2851804&amp;post=289&amp;subd=netbeansboy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netbeansboy.wordpress.com/2011/08/30/my-macbook-pro-broke-well-i-installed-something-i-shouldnt-have/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7773ec997fbdc48f8ea17a95e60d2655?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pncblessed</media:title>
		</media:content>
	</item>
	</channel>
</rss>
