<rss version="2.0"><channel><title>RSS feed for InstantSpot site Dave Shuck&apos;s InstantSpot</title><link>http://daveshuck.instantspot.com</link><language>en-us</language><copyright>This work is Copyright &#xA9; 2008 by Dave Shuck&apos;s InstantSpot</copyright><generator>RSSVille ColdFusion FeedMaker, version 1.0</generator><pubDate>Sat, 17 May 2008 08:03:24 GMT</pubDate><item><title>Firebug with Firefox 3 in Ubuntu Hardy Heron</title><link>http://daveshuck.instantspot.com/blog/2008/05/06/Firebug-with-Firefox-3-in-Ubuntu-Hardy-Heron</link><description>Several months ago when I first tried out Firefox 3, I found that I couldn&apos;t get Firebug to work.  At that time, I was still on 7.10 (Gutsy) and just rolled back to Firefox 2 and carried on about my business.  Once I upgraded to 8.04 (Hardy), where its default Firefox is FF3, I tried again.  I still had failures and no matter which &quot;fix&quot; I came across, I still was never able to open Firebug in a panel, but only in a separate window.  &lt;br /&gt;&lt;br /&gt;That all changed this morning!  I was looking through packages and discovered that there is a Firebug package in the Ubuntu repos.  I promptly uninstalled Firebug from the extensions settings in the Firefox and closed my browser.  I went to terminal and typed:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ sudo apt-get install firebug&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;... I then opened up Firefox 3 and BAM!  It works exactly like it should.  I have no idea what the difference is in this version of Firebug, but for whatever reason, my problems are solved.</description><pubDate>Tue, 06 May 2008 14:42:06 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/05/06/Firebug-with-Firefox-3-in-Ubuntu-Hardy-Heron</guid><category>Browsers,Ubuntu</category></item><item><title>CF8 error after upgrading to Ubuntu 8.10 Hardy Heron -   libstdc++.so.5</title><link>http://daveshuck.instantspot.com/blog/2008/05/01/CF8-error-after-upgrading-to-Ubuntu-810-Hardy-Heron----libstdcso5</link><description>This afternoon I did an upgrade from Gutsy to Hardy on my main development environment.  I experienced *almost* no disruption to my system, with one exception (so far!).  When I instantiated a ColdFusion 8 application which instantiates a webservice onApplicationStart, I received the following exception:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;
					
						
							
								
			jikes: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory&lt;/b&gt;
					&lt;br /&gt;&lt;br /&gt;Jikes!  Well fortunately the fix is quite simple.  Go to a terminal and install libstdc++5 like so:&lt;br /&gt;&lt;code&gt;$ sudo apt-get install libstdc++5&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Restart your application and carry on!  I am not sure what changed between the distros, but apparently the libraries that ColdFusion uses for invoking webservices depend on this package.&lt;br /&gt;</description><pubDate>Thu, 01 May 2008 23:07:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/05/01/CF8-error-after-upgrading-to-Ubuntu-810-Hardy-Heron----libstdcso5</guid><category>ColdFusion,Ubuntu,Linux</category></item><item><title>Strange component path behavior with event gateway</title><link>http://daveshuck.instantspot.com/blog/2008/04/22/Strange-component-path-behavior-with-event-gateway</link><description>&lt;p&gt;I am working on a client project using an SMS event gateway using CF8.  I had written out a proxy API to allow the SMS gateway to talk to the core application using a shared data model that is strapped together using ColdSpring.   I had written a test harness cfm template during development and just kind of assumed that I could instantiate this proxy component from my event gateway without issue and carry on about my business.  For some reason, however, I am seeing some behavior that I wasn&apos;t expecting.  I have resolved this by way of using a ColdSpring mapping in the CF Admin.  However, I am still curious why the following takes place. &lt;br /&gt;
&lt;br /&gt;
Here is the general picture:&lt;br /&gt;
&lt;br /&gt;
I have an app that sits in /www/myclientapp/www&lt;br /&gt;
&lt;br /&gt;
The proxy components and event gateway component sit in /www/myclientapp/api/proxy and there is an Application.cfc in the &amp;quot;api&amp;quot; directory.  I have a coldspring directory in both /www/myclientapp/www/coldspring and /www/myclientapp/api/proxy/coldspring.&lt;br /&gt;
&lt;br /&gt;
When I run a testharness file in /www/myclientapp/api/proxy/testharness.cfm, I can instantiate the data model properly and there are no issues.  However, when I talk to the event gateway component that sits in the ..../proxy directory, I get errors instantiating ColdSpring in the Application.cfc stating &lt;br /&gt;
&lt;em&gt;&amp;quot;&lt;font size=&quot;3&quot;&gt;Could not find the ColdFusion Component or Interface coldspring.beans.DefaultXmlBeanFactory. --- path: /www/myclientapp/api/proxy/coldspring/beans/DefaultXmlBeanFactory.cfc&amp;quot;&lt;/font&gt;.&lt;br /&gt;
&lt;/em&gt;&lt;br /&gt;
So, digging into this a bit further I did a FileExists() test on that cfc and it returns true.  HUH?  &lt;br /&gt;
&lt;br /&gt;
Here is my question.  How can the following two statements be true:&lt;br /&gt;
&lt;br /&gt;
1)  FileExists(ExpandPath(&amp;quot;coldspring/beans/DefaultXmlBeanFactory.cfc&amp;quot;)) returns &amp;quot;true&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
2)  CreateObject(&amp;quot;component&amp;quot;,&amp;quot;coldspring.beans.DefaultXmlBeanFactory&amp;quot;) errors out with the error you see above.&lt;br /&gt;
&lt;br /&gt;
Hopefully someone smarter than me can shed some light on this problem!&lt;/p&gt;</description><pubDate>Tue, 22 Apr 2008 13:41:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/04/22/Strange-component-path-behavior-with-event-gateway</guid><category>ColdFusion</category></item><item><title>ColdFusion in odd places - using the directory watcher on my desktop</title><link>http://daveshuck.instantspot.com/blog/2008/04/21/ColdFusion-in-odd-places--using-the-directory-watcher-on-my-desktop</link><description>&lt;p&gt;Since recently installling yet another distro on my laptop, I was unable to get the FTP functionality of my webcam software (Camorama) to work properly.  The program will save snapshots locally, but bombs on transfer.   Rather than troubleshoot it to death, I decided to whip out a quick and dirty ColdFusion directory watcher event gateway and have it watch for updated images, and then push them to my webserver via FTP.&lt;/p&gt;
&lt;p&gt;For anyone interested in this non-earth shattering bit of code, here it is.  First I created a config file:&lt;/p&gt;
&lt;p&gt;WebcamWatcher.cfg&lt;div class=&quot;code&quot; &gt;&lt;pre&gt;# The directory we want to watch. 
directory=/home/dshuck/Webcam_Pictures

# Do we want to recurse the directories?
recurse=no

# miliseconds between checks
interval=6000

# The comma separated list of extensions to match.
extensions=*

# component method for change events
changeFunction=onChange

# component method for add events
addFunction=onAdd

# no delete events for now
deleteFunction= &lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Now to create the methods in our WebcamWatcher.cfc.  In short, either a changed file or an added file will trigger the putImage function which first creates the FTP connection, changes directories to my webcam directory, then pushes the file to the server.  Here is the code:&lt;/p&gt;
&lt;p&gt;WebcamWatcher.cfc&lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;cfcomponent output=&amp;quot;false&amp;quot;&amp;gt;
	&amp;lt;cffunction name=&amp;quot;onAdd&amp;quot; output=&amp;quot;false&amp;quot;&amp;gt;
		&amp;lt;cfargument name=&amp;quot;CFEvent&amp;quot; type=&amp;quot;struct&amp;quot; required=&amp;quot;yes&amp;quot;&amp;gt;
		&amp;lt;cfset var Data=CFEvent.data /&amp;gt;
	  	&amp;lt;cflog file=&amp;quot;DirectoryWatcher&amp;quot; application=&amp;quot;No&amp;quot; 
	     	text=&amp;quot; ACTION: #data.type#;  FILE: #data.filename#;  calling putImage()&amp;quot; /&amp;gt;
		&amp;lt;cfset putImage() /&amp;gt;
	&amp;lt;/cffunction&amp;gt;
	

	&amp;lt;cffunction name=&amp;quot;onChange&amp;quot; output=&amp;quot;false&amp;quot;&amp;gt;
	  	&amp;lt;cfargument name=&amp;quot;CFEvent&amp;quot; type=&amp;quot;struct&amp;quot; required=&amp;quot;yes&amp;quot;&amp;gt;
	  	&amp;lt;cfset var data=CFEvent.data&amp;gt;
	  	&amp;lt;cflog file=&amp;quot;DirectoryWatcher&amp;quot; application=&amp;quot;No&amp;quot; 
	      text=&amp;quot; ACTION: #data.type#;  FILE: #data.filename#; TIME: #timeFormat(data.lastmodified)# calling putImage();&amp;quot; /&amp;gt;
		&amp;lt;cfset putImage() /&amp;gt;
	&amp;lt;/cffunction&amp;gt;

	&amp;lt;cffunction name=&amp;quot;putImage&amp;quot; access=&amp;quot;private&amp;quot; output=&amp;quot;false&amp;quot; returntype=&amp;quot;void&amp;quot;&amp;gt;
		&amp;lt;cfftp action = &amp;quot;open&amp;quot;
	   		username = &amp;quot;joeuser&amp;quot;
	  		connection = &amp;quot;MyConnection&amp;quot;
	   		password = &amp;quot;mycoolpassword&amp;quot;
	   		server = &amp;quot;www.mywebserver.com&amp;quot;
	   		stopOnError = &amp;quot;true&amp;quot; /&amp;gt;
		
		&amp;lt;cfif cfftp.Succeeded&amp;gt;
			&amp;lt;cfftp 
				connection=&amp;quot;MyConnection&amp;quot; 
				action=&amp;quot;changedir&amp;quot; 
				directory=&amp;quot;htdocs/mywebcamdirectory&amp;quot; /&amp;gt;
			
			&amp;lt;cfif cfftp.Succeeded&amp;gt;
				&amp;lt;cfftp 
					connection = &amp;quot;MyConnection&amp;quot;
					action = &amp;quot;putFile&amp;quot; 
					name = &amp;quot;uploadFile&amp;quot; 
					transferMode = &amp;quot;binary&amp;quot; 
					localFile = &amp;quot;/home/dshuck/Webcam_Pictures/webcam.jpeg&amp;quot; 
					remoteFile = &amp;quot;DaveWebcam.jpg&amp;quot; /&amp;gt;
			&amp;lt;/cfif&amp;gt;
	
		&amp;lt;/cfif&amp;gt;
		&amp;lt;cflog file=&amp;quot;DirectoryWatcher&amp;quot; application=&amp;quot;false&amp;quot; text=&amp;quot;file push to webserver...#cfftp.Succeeded#&amp;quot; /&amp;gt;
	&amp;lt;/cffunction&amp;gt;
&amp;lt;/cfcomponent&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;So, now the internet can yet again be graced with my &amp;quot;almost live&amp;quot; presence.   I can almost hear the selective sigh of relief.&lt;/p&gt;
&lt;p&gt;I have to consider this to be a somewhat odd place for ColdFusion and it got me thinking... What kinds of odd places do you or have you used ColdFusion?&lt;/p&gt;</description><pubDate>Mon, 21 Apr 2008 05:02:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/04/21/ColdFusion-in-odd-places--using-the-directory-watcher-on-my-desktop</guid><category>ColdFusion,InstantSpot,Tips and Tricks</category></item><item><title>Adding spell checking to Evolution mail client</title><link>http://daveshuck.instantspot.com/blog/2008/04/01/Adding-spell-checking-to-Evolution-mail-client</link><description>&lt;p&gt;I am not sure why I have never pusued this until today, but I for some reason have never spent the time to figure out why I didn&apos;t have spell checking in my Evolution mail client. I knew that Evolution used the packages aspell and gnome-spell, which I already had installed, so why wasn&apos;t it working?&lt;/p&gt;
&lt;p&gt;When I went into my composer settings in the Evolution preferences, I saw a big empty box that was the list of dictionaries that Evolution was using.&amp;nbsp; You would think there would be some method of adding them from there, but unfortunately it isn&apos;t quite that obvious. To add the English dictionary I had to install the package aspell-en. Once I added this I reopened Evolution and Bamn!&lt;/p&gt;
&lt;p&gt;There it is. For the copy/paste inclined, try the following:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#sudo apt-get install aspell gnome-spell aspell-en&lt;/code&gt;&lt;/p&gt;</description><pubDate>Tue, 01 Apr 2008 13:41:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/04/01/Adding-spell-checking-to-Evolution-mail-client</guid><category>Ubuntu,Tips and Tricks</category></item><item><title>Gone cruising... see you on the 9th!</title><link>http://daveshuck.instantspot.com/blog/2008/03/01/Gone-cruising-see-you-on-the-9th</link><description>The bags are packed and we are heading to Galveston tomorrow morning at 5am to board the Carnival Conquest.  We will be hitting Jamaica on Wednesday, Grand Cayman on Thursday and Cozumel on Friday, returning Sunday the 9th.</description><pubDate>Sun, 02 Mar 2008 05:47:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/03/01/Gone-cruising-see-you-on-the-9th</guid><category>General</category></item><item><title>We&apos;re on the ColdFusion Weekly!</title><link>http://daveshuck.instantspot.com/blog/2008/02/28/Were-on-the-ColdFusion-Weekly</link><description>&lt;p&gt;The latest version of the &lt;a href=&quot;http://www.coldfusionweekly.com/&quot;&gt;ColdFusion Weekly&lt;/a&gt; podcast was released yesterday.&amp;nbsp; &lt;a href=&quot;http://www.mattwoodward.com/blog/&quot;&gt;Matt&lt;/a&gt; and &lt;a href=&quot;http://blog.maestropublishing.com/&quot;&gt;Peter&lt;/a&gt; were kind enough to have &lt;a href=&quot;http://ajlcom.instantspot.com/blog/&quot;&gt;Aaron&lt;/a&gt; and I on to talk about &lt;a href=&quot;http://www.instantspot.com&quot;&gt;InstantSpot.&lt;/a&gt;&amp;nbsp; This was actually our second time to have this opportunity, although we had *much* more to talk about given our experiences over the last 14 months since the previous visit!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We covered a lot of areas from how it all came about in the first place, to some of our trials and tribulations rolling out the latest release and all points in between.&amp;nbsp;&amp;nbsp; If you would like to hear some of our experiences and the technology behind our network, I urge you to check it out.&lt;/p&gt;
&lt;h3&gt;&lt;img width=&quot;12&quot; height=&quot;12&quot; alt=&quot;Download Icon&quot; src=&quot;http://www.coldfusionweekly.com/images/icon_dl.png&quot; /&gt;  		&lt;a onclick=&quot;javascript:urchinTracker (&apos;/versions/3-02&apos;);&quot; href=&quot;http://media.libsyn.com/media/coldfusionweekly/cfweekly_3.02_final.mp3&quot;&gt;Download Version 3.02&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><pubDate>Thu, 28 Feb 2008 13:26:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/02/28/Were-on-the-ColdFusion-Weekly</guid><category>ColdFusion,InstantSpot</category></item><item><title>Playing with my new webcam under Linux  - watch me work!</title><link>http://daveshuck.instantspot.com/blog/2008/02/25/Playing-with-my-new-webcam-under-Linux---watch-me-work</link><description>&lt;p&gt;I made an impulse buy this past week ordering a Tripp-Lite clip-on webcam for my laptop.  My wife and I are leaving next weekend to go on a week-long cruise without our kids, and I thought it might be fun to post some video blog entries for them while we are gone so they (and ultimately you as well) can see what we are up to.&lt;br /&gt;
&lt;br /&gt;
I chose the Tripp-Lite camera due to pretty consistently positive cost/value reviews, although I was a bit worried that I couldn&apos;t find a single instance of anyone on the internet actually using one under Linux.  Why should that stop me, huh?   When it arrived I plugged it in and... nada... nothing!   Although my laptop could see the device, I couldn&apos;t seem to get the drivers to work.  After doing some digging around I found that it uses the Z-Star Microelectronics Corp. ZC0301 WebCam chipset, which seems to be very common in the cheapo-Chinese-made webcam space.   There is an &lt;a href=&quot;http://mxhaard.free.fr/download.html&quot;&gt;unbelievably awesome project&lt;/a&gt; out there where a guy named Michel Xhaard has written drivers for tons of webcam chipsets, and although mine was included I just couldn&apos;t seem to get it to work, no matter what I did.  &lt;br /&gt;
&lt;br /&gt;
Eventually it hit me that since I am using an Alpha version of Ubuntu (Hardy Heron), perhaps I should roll to a release version and see what happens.  Given how easy it is to swap distros in Linux, I decided to roll back to a 7.04 (Feisty) remaster disc that was laying around.  Upon plugging in my camera on the new distro it just worked natively!  YAY.&lt;br /&gt;
&lt;br /&gt;
So, now I am playing with the apps a bit.  I found Camorama which does video captures and can FTP them to a server at regular intervals.  I thought it might be fun to create a custom pod on my blog that shows a current picture of me working - or zoning out... picking my nose... whatever.  So, the pic of me you see on the left is the most recent of those.  The timestamp text is a little small when I resize the pic, but if you view it in full size (or pull out your magnifying glass), you can see the date. &lt;br /&gt;
&lt;br /&gt;
As for recording video in Linux, I created a launcher that allows me to record AVI files with audio using mencoder.  For those interested in doing that, you will first need to install mencoder:&lt;br /&gt;
&lt;code&gt;$ sudo apt-get install mencoder&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
I then created a shortcut icon that starts the recording:&lt;br /&gt;
&lt;code&gt;mencoder tv:// -tv driver=v4l:width=320:height=240:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o /home/dshuck/Desktop/webcam.avi&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Then I have another shortcut icon to stop the video:&lt;br /&gt;
&lt;code&gt;killall mencoder&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Look for pointless videos in the near future...&lt;/p&gt;</description><pubDate>Mon, 25 Feb 2008 16:10:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/02/25/Playing-with-my-new-webcam-under-Linux---watch-me-work</guid><category>Ubuntu,Fun,Linux</category></item><item><title>Happy birthday to my littlest sweetheart</title><link>http://daveshuck.instantspot.com/blog/2008/02/13/Happy-birthday-to-my-littlest-sweetheart</link><description>&lt;p&gt;My baby girl turns 2 today....&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;padding: 0pt 10px 10px 0pt;&quot;&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;/js/swfobject.js&quot;&gt;&lt;/script&gt;
			&lt;script type=&quot;text/javascript&quot;&gt;function updategallery() {	
				var so = new SWFObject(&quot;/swf/polaroid.swf&quot;, &quot;polaroid&quot;, &quot;100%&quot;, &quot;600px&quot;, &quot;8&quot;, &quot;#FFFFFF&quot;);	
				so.addVariable(&quot;xmlURL&quot;,&quot;/gospot/member.PolaroidXml/id/197&quot;);
				so.write(&quot;photos14DDCE78-9763-DB15-427A89164DF7EE60&quot;);	
			}
			&lt;/script&gt; &lt;div id=&quot;photos14DDCE78-9763-DB15-427A89164DF7EE60&quot;&gt;
			&lt;strong&gt;This site requires Flash Player 8.0 or greater&lt;/strong&gt;
			&lt;br /&gt; Please click &lt;a href=&quot;http://www.adobe.com/products/flashplayer/&quot;&gt;here&lt;/a&gt; to download.&lt;br /&gt; 
			If you are sure you have the required version, press this link: &lt;a href=&quot;readme.html?detectflash=false&quot;&gt;bypass the detection&lt;/a&gt;.
			&lt;/div&gt;&lt;script type=&quot;text/javascript&quot;&gt;updategallery();&lt;/script&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><pubDate>Wed, 13 Feb 2008 21:33:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/02/13/Happy-birthday-to-my-littlest-sweetheart</guid><category>Family</category></item><item><title>Interesting mashup - Selenium and CFCUnit testing tools</title><link>http://daveshuck.instantspot.com/blog/2008/02/13/Interesting-mashup--Selenium-and-CFCUnit-testing-tools</link><description>&lt;p&gt;At last night&apos;s &lt;a href=&quot;http://dfwcfug.instantspot.com&quot;&gt;DFW ColdFusion User Group&lt;/a&gt; meeting, Tom Woestman shared an interesting project that he is working on in which he has basically integrated CFCUnit with Selnium to perform both component level testing and clientside testing at the same time in a single suite.&amp;nbsp; I admittedly&amp;nbsp; had a hard time grasping this a bit at first as I have always considered CFCUnit tests to be a completely different category than clientside browser testing. &amp;nbsp; For example, when I create CFCUnit tests, I generally have 1-to-1 relationship between a particular test and a service component.&amp;nbsp; (FooService.cfc and FooServiceTest.cfc).&lt;/p&gt;
&lt;p&gt;He also showed how he is using Selenium-RC (Remote Control) which runs as a Java application and spawns the appropriate browser, peforms the test and returns results.&amp;nbsp; Pretty awesome stuff!&lt;/p&gt;
&lt;p&gt;He stated last night that he isn&apos;t quite ready to open this up to the general public yet as he feels that it is not quite polished.&amp;nbsp; However, he indicated that he is going to start a blog and begin talking about his use of it in the near future.&amp;nbsp; Expect some links from me as he does as I find this to be pretty interesting and valuable stuff!&lt;/p&gt;
&lt;p&gt;Also, DFWCFUG member Derek Bumpas video recorded the presentation last night, so I will try to make that video available if he gets it compressed down to a reasonable size.&lt;/p&gt;</description><pubDate>Wed, 13 Feb 2008 06:49:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/02/13/Interesting-mashup--Selenium-and-CFCUnit-testing-tools</guid><category>ColdFusion</category></item><item><title>Yes ColdFusion fans... we *are* a ColdFusion site!</title><link>http://daveshuck.instantspot.com/blog/2008/02/07/Yes-ColdFusion-fans-we-are-a-ColdFusion-site</link><description>&lt;p&gt;I don&apos;t know how pervasive this point of confusion is, but today a regular face in the ColdFusion community was making some remarks &lt;a href=&quot;http://daveshuck.instantspot.com/blog/2008/02/07/5-InstantSpot-invitations&quot;&gt;in this comment thread&lt;/a&gt; and further on his InstantSpot site that InstantSpot is not a ColdFusion-based application, with the insinuation that he won&apos;t support our efforts because of this.&lt;/p&gt;
&lt;p&gt;Just to be clear, no matter whether or not you actually see &amp;quot;.cfm&amp;quot; in the URL, we are running InstantSpot on Adobe ColdFusion 8, using Mach-II 1.6, ColdSpring and other community tools.   We are strong advocates for ColdFusion, work with our local ColdFusion User Group, try to be evangelists for it wherever we can, and we will continue to do so.&lt;/p&gt;</description><pubDate>Thu, 07 Feb 2008 19:32:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/02/07/Yes-ColdFusion-fans-we-are-a-ColdFusion-site</guid><category>ColdFusion,InstantSpot</category></item><item><title>5 InstantSpot invitations</title><link>http://daveshuck.instantspot.com/blog/2008/02/07/5-InstantSpot-invitations</link><description>&lt;p&gt;If anyone is interested in creating an InstantSpot blog, we are opening up 5 new Spots today and would love to see some more ColdFusion peeps!  Enter your invitation code on the &lt;a href=&quot;http://www.instantspot.com&quot;&gt;main page&lt;/a&gt;. As soon as someone uses a code it&apos;s gone:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;strike&gt;k7Nh92Sw&lt;/strike&gt;&lt;/li&gt;
    &lt;li&gt;&lt;strike&gt;GEAGGH7B&lt;/strike&gt;&lt;/li&gt;
    &lt;li&gt;&lt;strike&gt;rs4DPq9a&lt;/strike&gt;&lt;/li&gt;
    &lt;li&gt;&lt;strike&gt;OUWKCEgG&lt;/strike&gt;&lt;/li&gt;
    &lt;li&gt;&lt;strike&gt;lepvefKv&lt;/strike&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strike&gt;Get &apos;em while their hot! :)&lt;/strike&gt;&lt;/p&gt;

&lt;b&gt;EDIT:  All gone!&lt;/b&gt;</description><pubDate>Thu, 07 Feb 2008 14:26:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/02/07/5-InstantSpot-invitations</guid><category>InstantSpot</category></item><item><title>Apparently &quot;bringing about real change&quot; means spamming me to death</title><link>http://daveshuck.instantspot.com/blog/2008/02/04/Apparently-bringing-about-real-change-means-spamming-me-to-death</link><description>&lt;p&gt;Here is a little free advice to those running for office this election year, considering the fact that you have no idea what normal people do or what makes them tick.  People don&apos;t like spam.  In fact, there are billions of dollars spent every year to stop people from sending unsolicited email to people that are not interested in buying (or buying into!) services.   You have become part of the problem by sending me emails telling me about your &amp;quot;solutions&amp;quot;.&lt;/p&gt;
&lt;p&gt;If I am on the fence about a particular candidate - and I&apos;m not - and you really want to seal the deal and drive me to making a decision, then by all means go ahead and send me more spam.  I will remember that when I don&apos;t cast a ballet for you on election day.&lt;/p&gt;
&lt;p&gt;Oh yeah... and about the &amp;quot;opt out&amp;quot; form thingie on your website that you apparently ignore.  In the &amp;quot;internet world&amp;quot; that means that you are supposed to stop sending emails to the person that submits it.    Seriously Senator, stop going out of your way to push me away.  Your work is already done.&lt;/p&gt;</description><pubDate>Tue, 05 Feb 2008 04:42:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/02/04/Apparently-bringing-about-real-change-means-spamming-me-to-death</guid><category>Rant</category></item><item><title>New pseudo-steampunk theme on my blog</title><link>http://daveshuck.instantspot.com/blog/2008/02/01/New-pseudosteampunk-theme-on-my-blog</link><description>&lt;p&gt;I have a new addiction playing with the style editor for my blog... I hate to call this a steampunk theme, simply for the inevitable flow of hardcore steampunk people coming here and telling me about how I don&apos;t know what steampunk is... so let&apos;s settle for pseudo steampunk shall we?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regardless, at my current rate I will change it again in a few days anyway! :)&lt;/p&gt;
&lt;p&gt;I was also told this week that I look a lot different in my picture than I do in person.&amp;nbsp; I decided to add a headshot that says &amp;quot;Hey look... Dave was up all night coding again.&amp;quot;&amp;nbsp; I think it is fairly true to life.&lt;/p&gt;</description><pubDate>Fri, 01 Feb 2008 17:13:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/02/01/New-pseudosteampunk-theme-on-my-blog</guid><category>InstantSpot,Blog</category></item><item><title>My notes on Adobe&apos;s Flex 3 presentation: D-Flex UG kickoff meeting</title><link>http://daveshuck.instantspot.com/blog/2008/02/01/My-notes-on-Adobes-Flex-3-presentation-DFlex-UG-kickoff-meeting</link><description>&lt;p&gt;Last night was the kickoff meeting for D-Flex which is the &lt;a href=&quot;http://www.d-flex.org&quot;&gt;Dallas Flex User Group&lt;/a&gt;.  This meeting was planned in conjunction with the Flex 3 Launch and featured a presentation by local Flex guru Mark Pillar, of Midnight Coders, Inc who delivered a presentation that was created by Adobe.   As he went through the presentation, I took some very high level notes in bullet point format.  &lt;br /&gt;
&lt;br /&gt;
One thing of note specific to ColdFusion - Not *once* in Adobe&apos;s presentation materials did they even give the slightest mention to CF and how gracefully it natively interacts with Flex.  As a CF developer, I find this a bit troublesome and makes me wonder a bit about Adobe&apos;s commitment to promoting ColdFusion outside of the ColdFusion community itself.&lt;br /&gt;
&lt;br /&gt;
Here are my notes...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;big&gt;Mark Piller - Midnight Coders, Inc&lt;/big&gt;&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;General demo of features of Flex Builder
    &lt;ul&gt;
        &lt;li&gt;Design view&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul&gt;
        &lt;li&gt;Descriptions of XMXL &amp;amp; AS&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Adobe RIA technology principles
    &lt;ul&gt;
        &lt;li&gt;Deploy consistently no all browsers, and now on the desktop&lt;/li&gt;
        &lt;li&gt;Engaging, highly interactive, expressive experiences&lt;/li&gt;
        &lt;li&gt;Highly productive environment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Description of Adobe&apos;s stack of tools&lt;/li&gt;
    &lt;li&gt;Adobe reaches 700+ million PCs and 200+ devices&lt;/li&gt;
    &lt;li&gt;99% reach on connected PCs. 8 million installs per day&lt;/li&gt;
    &lt;li&gt;250,000,000 PDF Files on the internet&lt;/li&gt;
    &lt;li&gt;Discussion of the Designer Developer Workflow - Fw, Fx, Ps, Fl, Ai
    &lt;ul&gt;
        &lt;li&gt;Thermo&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Some interesting Flex implementations
    &lt;ul&gt;
        &lt;li&gt;Buzzword - very cool web based Flex word processing app (url: &lt;a href=&quot;http://www.buzzword.com&quot;&gt;http://www.buzzword.com&lt;/a&gt; )&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul&gt;
        &lt;li&gt;Small Worlds - Virtual 3d world written in Flex (url: &lt;a href=&quot;http://www.smallworlds.com/beta/&quot;&gt;http://www.smallworlds.com/beta/&lt;/a&gt; )&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Rich library of common UI Controls
    &lt;ul&gt;
        &lt;li&gt;video playback components&lt;/li&gt;
        &lt;li&gt;datagrids, date, controls, etc&lt;/li&gt;
        &lt;li&gt;charting components&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Extensible model
    &lt;ul&gt;
        &lt;li&gt;CSS support&lt;/li&gt;
        &lt;li&gt;skinnable components&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;price for Flex Builder -  $249 standard, professional $649 (upgrade pricing: Standard - 99 plugin, 249 standalone... I may have recorded the upgrade pricing incorrectly as I was still typing when he changed slides)&lt;/li&gt;
    &lt;li&gt;Import Skin Assets into Flex Builder
    &lt;ul&gt;
        &lt;li&gt;CS3 makes it easy to create custom skins, then use the Flex Import Wizard&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;New in Flex 3
    &lt;ul&gt;
        &lt;li&gt;visual CSS editor&lt;/li&gt;
        &lt;li&gt;view all component states in one view&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Design view enhancements
    &lt;ul&gt;
        &lt;li&gt;Enhanced Constraints Model
        &lt;ul&gt;
            &lt;li&gt;align components with edges of any vertical of horizontal coordinate&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul&gt;
            &lt;li&gt;support for basline alignment&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Skinning Model Improvements
        &lt;ul&gt;
            &lt;li&gt;New skin states simplify styling&lt;/li&gt;
            &lt;li&gt;Enhanced control over individual components&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;OpenType Font support&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Advanced Data Grid
    &lt;ul&gt;
        &lt;li&gt;New &amp;quot;Grouping&amp;quot; including multiple grouping in datagrids in Fx3.  Looks like an expandable folder tree view&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Charting enhancments&lt;/li&gt;
    &lt;li&gt;New list and detail enhancements&lt;/li&gt;
    &lt;li&gt;Working with Data
    &lt;ul&gt;
        &lt;li&gt;Web Services Introspection
        &lt;ul&gt;
            &lt;li&gt;Generate client proxy classes from wsdl signatures&lt;/li&gt;
            &lt;li&gt;Includes support for complex types returned from web services&lt;/li&gt;
            &lt;li&gt;enables complete code hinting for service methods and custom types&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Introductory Data Wizards
        &lt;ul&gt;
            &lt;li&gt;generates crud, etc but is mostly only useful to those just getting started&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;AIR
    &lt;ul&gt;
        &lt;li&gt;Previously named Apollo&lt;/li&gt;
        &lt;li&gt;Cross-OS application engine that enables hybrid desktop-internet application
        &lt;ul&gt;
            &lt;li&gt;New capabilities
            &lt;ul&gt;
                &lt;li&gt;Native OS drag and drop support&lt;/li&gt;
            &lt;/ul&gt;
            &lt;ul&gt;
                &lt;li&gt;multi-windowed apps&lt;/li&gt;
            &lt;/ul&gt;
            &lt;ul&gt;
                &lt;li&gt;access local file sys&lt;/li&gt;
            &lt;/ul&gt;
            &lt;ul&gt;
                &lt;li&gt;local database storage&lt;/li&gt;
            &lt;/ul&gt;
            &lt;ul&gt;
                &lt;li&gt;complete rendering support for html&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Flex Builder support for AIR apps&lt;/li&gt;
        &lt;li&gt;Platform evolution
        &lt;ul&gt;
            &lt;li&gt;Reduced application size&lt;/li&gt;
            &lt;li&gt;users only need to download the Adobe-signed F3 platform component once&lt;/li&gt;
            &lt;li&gt;Flash player cache stores it for use by any flex-enabled site&lt;/li&gt;
            &lt;li&gt;enter flex apps can no be as small as 50K (used to be around 250K)&lt;/li&gt;
            &lt;li&gt;Flex 3 RSL  - runtime shared library&lt;/li&gt;
            &lt;li&gt;RSL is potentially pulled from any Flex app.
            &lt;ul&gt;
                &lt;li&gt;question about the case where someone might modify the RSL on their site?  Handshake from the player maybe? No answer&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Example of the Flex Builder profiler that allowed visibility to bottle necks &amp;amp; high memory spots in the application.  Also shows how many instances of objects have been created.&lt;/li&gt;
    &lt;li&gt;JavaScript and Ajax Wrappers&lt;/li&gt;
    &lt;li&gt;Deep Linking
    &lt;ul&gt;
        &lt;li&gt;updates browser URL to represent application state&lt;/li&gt;
        &lt;li&gt;enables user to bookmark particular points in the app or share urls&lt;/li&gt;
        &lt;li&gt;standalone web-tier compiler modules for IIS and Apache&lt;/li&gt;
        &lt;li&gt;Mark questioned how usable it is in its current state and insinuated that there may be some issue with using this&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;AIR application stack
    &lt;ul&gt;
        &lt;li&gt;walk through of Seamless install (after you have AIR runtime installed which makes this a bit less than &amp;quot;seamless&amp;quot; for first timers)&lt;/li&gt;
        &lt;li&gt;web launcher&lt;/li&gt;
        &lt;li&gt;AIR installer contans&lt;/li&gt;
        &lt;li&gt;Privileges - AIR apps have full desktop application privileges
        &lt;ul&gt;
            &lt;li&gt;read/write files, background execution, network access&lt;/li&gt;
            &lt;li&gt;There is apparently some setting in the AIR runtime environment to limit this... (an operating system where the default user doesn&apos;t have admin rights is my personal suggestion)&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Window Chrome
        &lt;ul&gt;
            &lt;li&gt;use native OS window chrome&lt;/li&gt;
            &lt;li&gt;use custom chrome implemented by application&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Local File Access
        &lt;ul&gt;
            &lt;li&gt;create delete copy move, list directoreis, get system info on files, dirs&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Local database
        &lt;ul&gt;
            &lt;li&gt;SQL Lite
            &lt;ul&gt;
                &lt;li&gt;supports ACID transactions&lt;/li&gt;
                &lt;li&gt;zero-config allowing for embedded solution&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;AIR desktop integration
        &lt;ul&gt;
            &lt;li&gt;install/uninstall&lt;/li&gt;
            &lt;li&gt;task manager or process list&lt;/li&gt;
            &lt;li&gt;application shortcuts, drag/drop&lt;/li&gt;
            &lt;li&gt;clipboard&lt;/li&gt;
            &lt;li&gt;app can run in background, can show on taskbar&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Adobe Reader integration&lt;/li&gt;
        &lt;li&gt;AIR limitations
        &lt;ul&gt;
            &lt;li&gt;limited hardware accessibility&lt;/li&gt;
            &lt;li&gt;no access to native libraries/executables&lt;/li&gt;
            &lt;li&gt;no USB or serial port&lt;/li&gt;
            &lt;li&gt;limited support for accessibility,&lt;/li&gt;
            &lt;li&gt;limited printing support&lt;/li&gt;
            &lt;li&gt;limited localization
            &lt;ul&gt;
                &lt;li&gt;English only for 1.0&lt;/li&gt;
                &lt;li&gt;Japanese, German, French for 1.1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Flex Remoting, Data Management and Messaging
    &lt;ul&gt;
        &lt;li&gt;Java,.NET, PHP and Ruby solutions... no ColdFusion in your preso Adobe???&lt;/li&gt;
        &lt;li&gt;first connectivity for Java was FDS,
        &lt;ul&gt;
            &lt;li&gt;JAVA -open source on elater Granite Data Service, Red5, WebORB ***matches LiveCycle features***, BlazeDS&lt;/li&gt;
            &lt;li&gt;.NET - WebORB for .NET, Flourine, AMF.Net&lt;/li&gt;
            &lt;li&gt;PHP - WebORB for PHP, AMFPHP, SabreAMF&lt;/li&gt;
            &lt;li&gt;Ruby - WebORB for Rails, RubyAMF (*stronger than WebORB for Rails*)&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Introducing Open Source BlazeDS
        &lt;ul&gt;
            &lt;li&gt;Capabilites
            &lt;ul&gt;
                &lt;li&gt;Easily connects FLex and AIR apps to existing server logic&lt;/li&gt;
                &lt;li&gt;high performance data transfer&lt;/li&gt;
                &lt;li&gt;real-time data push over standard http&lt;/li&gt;
                &lt;li&gt;full pub/sub messaging that extends existing messaging infrastructure&lt;/li&gt;
                &lt;li&gt;publication of AMF3&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;bottom line: there is a free connector for almost every solution&lt;/li&gt;
        &lt;li&gt;Remoting performance example - significant performance with remoting vs http/web services - james ward google &amp;quot;Blaze Bench&amp;quot; ???&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;ILOG Elixir Components (charting)
    &lt;ul&gt;
        &lt;li&gt;advanced charting components&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Thermo - Convert Artwork to Functional Components&lt;/li&gt;
&lt;/ul&gt;</description><pubDate>Fri, 01 Feb 2008 15:54:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/02/01/My-notes-on-Adobes-Flex-3-presentation-DFlex-UG-kickoff-meeting</guid><category>AIR,Flex</category></item><item><title>My pointless wish for ColdFusion 9</title><link>http://daveshuck.instantspot.com/blog/2008/01/30/My-pointless-wish-for-ColdFusion-9</link><description>Before continuing, I am aware that the likelihood of this every happing is remote at best, but that won&apos;t keep me from dreaming.  If I could choose 1 thing - just 1! - for ColdFusion 9, it would have nothing at all to do with new features.  In fact, it would actually mean less features in way.

What is this wish? </description><pubDate>Wed, 30 Jan 2008 17:26:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/01/30/My-pointless-wish-for-ColdFusion-9</guid><category>ColdFusion</category></item><item><title>`c-&gt;xlib.lock&apos; failed error on Java applications</title><link>http://daveshuck.instantspot.com/blog/2008/01/29/cxliblock-failed-error-on-Java-applications</link><description>&lt;p&gt;I am currently using the Alpha 3 release of Ubuntu 8.04 Hardy Heron.&amp;nbsp; Considering the fact that it is an alpha release, I tend to not get worked up over little errors that might occur.&amp;nbsp; However, I have found one that I just couldn&apos;t get around.&amp;nbsp; I use Aqua Data Studio for my database client and since loading Hardy Heron, I have been unable to run it.&lt;br /&gt;
&lt;br /&gt;
When I would start it from a terminal, I would get a dump that looked like this:&lt;div class=&quot;code&quot; &gt;&lt;pre&gt;#0 /usr/lib/libxcb-xlib.so.0 [0x90d00767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x90d008b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0x9039429d]
#3 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0x9063e8ce]
#4 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0x9061b067]
#5 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0x9061b318]
#6 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0x9061b61f]
#7 [0xb4cff3aa]
#8 [0xb4cf7f0d]
#9 [0xb4cf7f0d]
#10 [0xb4cf5249]
#11 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/server/libjvm.so [0x637338d]
#12 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/server/libjvm.so [0x64fd168]
#13 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/server/libjvm.so [0x6373220]
#14 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x363) [0x63c90d3]
#15 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7d1096d]
#16 [0xb4cff3aa]
#17 [0xb4cf7da7]
#18 [0xb4cf5249]
#19 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/server/libjvm.so [0x637338d]
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c-&amp;gt;xlib.lock&apos; failed.
Aborted (core dumped)&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Considering the fact that I used the Ubuntu sun-java6-jdk package from the Ubuntu repository, I decided that I would try the self-extracting bin that is available on &lt;a href=&quot;http://java.sun.com&quot;&gt;http://java.sun.com&lt;/a&gt;.&amp;nbsp; After swapping to that JVM, I still received the same dump and abort.&amp;nbsp; After doing a bit of searching, I came across a patch in one of the bug reporting forums that effectively patches your JVM and prevents this error from occurring.&amp;nbsp; I ran the patch and now everything works as it should. &amp;nbsp; If you are receiving this error, create a shell script with the following content and run it.&amp;nbsp; Assuming that it runs successfully, you should then be able to open the Java application that was failing.&lt;div class=&quot;code&quot; &gt;&lt;pre&gt;#!/bin/sh
# S. Correia
# 2007 11 21
# A simple script to patch the java library in order
# to solve the problem with &amp;quot;Assertion &apos;c-&amp;gt;xlib.lock&apos; failed.&amp;quot;
# see bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373
LIB_TO_PATCH=libmawt.so
for f in `find /usr/lib/jvm -name &amp;quot;$LIB_TO_PATCH&amp;quot;`
do
echo &amp;quot;Patching library $f&amp;quot;
sudo sed -i &apos;s/XINERAMA/FAKEEXTN/g&apos; &amp;quot;$f&amp;quot;
done&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Big thanks to &amp;quot;S. Correia&amp;quot; for getting me back on my feet!&lt;/p&gt;</description><pubDate>Tue, 29 Jan 2008 21:16:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/01/29/cxliblock-failed-error-on-Java-applications</guid><category>Ubuntu,Java</category></item><item><title>Publishing blog entries with ScribeFire using XMLRPC API</title><link>http://daveshuck.instantspot.com/blog/2008/01/29/Publishing-blog-entries-with-ScribeFire-using-XMLRPC-API</link><description>&lt;p&gt;On the most recent release of InstantSpot, we added in XMLRPC support so that blog administration can happen anywhere, using any client that supports XMLRPC.  We are thinking it might be fun to create an AIR app for this purpose down the line (or better yet... someone else! hint...hint...), but until that time, there are a variety of clients that can be used, since we followed the MetaWeblog API standards.&lt;br /&gt;
&lt;br /&gt;
I am actually trying this out for the first time on our live instance with this blog entry by using a *sweet* Firefox plugin called ScribeFire.  Considering that we haven&apos;t really published this ability, I thought it might make sense to do a walk through of setting it up and using it.&lt;br /&gt;
&lt;br /&gt;
First, let&apos;s walk through the ScribeFire Account Wizard.  One you have installed the ScribeFire plugin (&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/1730&quot;&gt;available here&lt;/a&gt;), click on the little text pad icon in the bottom corner of your browser window and start the Account Wizard.  You should see a window that looks like the one below.  Choose &amp;quot;Manually Configure&amp;quot; and continue.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://daveshuck.instantspot.com/userfiles/073006/91/ScribeFireWizard01.png&quot; style=&quot;border: 1px solid rgb(48, 48, 48);&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
You will then be presented with a number of options of various &lt;ahem&gt;inferior&lt;/ahem&gt; blogging services.  Choose  &amp;quot;Custom Blog&amp;quot; and continue.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://daveshuck.instantspot.com/userfiles/073006/91/ScribeFireWizard02.png&quot; style=&quot;border: 1px solid rgb(48, 48, 48);&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
On the screen you see below, choose &amp;quot;MetaWeblog API&amp;quot; and enter this URL into the Server API URL input box:  &lt;strong&gt;http://www.instantspot.com/gospot/remote.metaweblogAPI&lt;/strong&gt; &lt;br /&gt;
Leave &amp;quot;Advanced Settings&amp;quot; unchecked and continue.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://daveshuck.instantspot.com/userfiles/073006/91/ScribeFireWizard03.png&quot; style=&quot;border: 1px solid rgb(48, 48, 48);&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
On the following screen you will be prompted for your username and password.  Since the new release of InstantSpot, your email address is now used as your username.  &lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://daveshuck.instantspot.com/userfiles/073006/91/ScribeFireWizard04.png&quot; style=&quot;border: 1px solid rgb(48, 48, 48);&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
That&apos;s it!  If you did this correctly you should see your blog listed in the following screen like this:&lt;br /&gt;
&lt;img src=&quot;http://daveshuck.instantspot.com/userfiles/073006/91/ScribeFireWizard05.png&quot; style=&quot;border: 1px solid rgb(48, 48, 48);&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Now, you should see a list of your categories (labeled in the interface as &amp;quot;tags&amp;quot;), blogposts, and in the future, saved &amp;quot;Notes&amp;quot; which are drafts stored locally by ScribeFire to the right of the ScribeFire window like this:&lt;br /&gt;
&lt;img src=&quot;http://daveshuck.instantspot.com/userfiles/073006/91/ScribeFireInterface01.png&quot; style=&quot;border: 1px solid rgb(48, 48, 48);&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
From here, the interface is pretty simple.  One thing that is noteworthy is that we even support the ability for you to upload and insert images through ScribeFire.  When you click on the image icon on the editor, you will see a window that looks like this:&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://daveshuck.instantspot.com/userfiles/073006/91/ScribeFireImageUpload.png&quot; style=&quot;border: 1px solid rgb(48, 48, 48);&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Choose &amp;quot;Image Upload&amp;quot;, then after browsing to your file, select &amp;quot;Upload Via API&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://daveshuck.instantspot.com/userfiles/073006/91/ScribeFireImage%20UploadWait.png&quot; style=&quot;border: 1px solid rgb(48, 48, 48);&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
When it completes you will see the following window.  Choose &amp;quot;Insert Image&amp;quot; and you will see your image inserted into your text.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://daveshuck.instantspot.com/userfiles/073006/91/ScribeFireUploadComplete.png&quot; style=&quot;border: 1px solid rgb(48, 48, 48);&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Now you can start posting away to your heart&apos;s content!&lt;/p&gt;
&lt;p class=&quot;poweredbyperformancing&quot;&gt;Powered by &lt;a href=&quot;http://scribefire.com/&quot;&gt;ScribeFire&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Tue, 29 Jan 2008 15:37:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/01/29/Publishing-blog-entries-with-ScribeFire-using-XMLRPC-API</guid><category>InstantSpot,Tips and Tricks</category></item><item><title>Free as in money, not as in pain - InstantSpot moves to ColdFusion 8</title><link>http://daveshuck.instantspot.com/blog/2008/01/28/Free-as-in-money-not-as-in-pain--InstantSpot-moves-to-ColdFusion-8</link><description>InstantSpot moved to ColdFusion 8 last week after discovering huge threading problems using Railo.</description><pubDate>Mon, 28 Jan 2008 15:28:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/01/28/Free-as-in-money-not-as-in-pain--InstantSpot-moves-to-ColdFusion-8</guid><category>ColdFusion</category></item><item><title>Wow... rough move from Ubuntu to PCLinuxOS!</title><link>http://daveshuck.instantspot.com/blog/2008/01/23/Wow-rough-move-from-Ubuntu-to-PCLinuxOS</link><description>&lt;p&gt;Seeing as it has been a few months since I tried out a new distro, I got a wild hair today and decided to give PCLinuxOS (Gnome version) a shot.&amp;nbsp; The way that I keep my drives partitioned - specifically keeping my /home directory as a separate partition- swapping distros is usually a pretty painless endeavor and I can be back up and running within an our or so, with all my old apps in place and with all my preferences still in tact.&lt;/p&gt;
&lt;p&gt;As I booted to the PCLinux Live CD, everything seemed to be business as usual.&amp;nbsp; The only notable point was that I thought that PCLinux has a nice default theme and icon set in the Gnome version of the distro.&lt;/p&gt;
&lt;p&gt;So without too much hesitation, I went ahead and began the install process.&amp;nbsp; After choosing the appropriate keyboard and timezone settings, I was presented with the choice of how I would like my partitions setup, which by default uses the entire physical disk.&amp;nbsp; By selecting the &amp;quot;do it yourself&amp;quot; mode, I expected to be able to choose my smaller /dev/sda2 partition as my / mount point, format it for the OS, and leave my /dev/sda3 alone mounting it has /home.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I entered what appeared to be a nice little partition configuration tool (Disk Drake I think?), which appeared to be exactly what I was needed.&amp;nbsp; I then selected the /dev/sda2 partition as the place I wanted my / mount point, and chose /dev/sda3 as my /home mount point.&amp;nbsp; When I chose the option to format my / mount point, I got a an error message that said that the partion could not be formatted.&amp;nbsp; Considering that my plan was to wipe it out anyway, I went ahead and removed that partition, and re-added it using that utility.&amp;nbsp;&amp;nbsp; As I tried to move forward, I got a message that indicated that I needed to reboot, restart the installation process, then choose &amp;quot;Use existing partitions&amp;quot;.&amp;nbsp; Simple enough right?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I then rebooted to the live CD and entered the installation again.&amp;nbsp; This time I was presented with a new option.&amp;nbsp; &amp;quot;Choose the partitions you would like to format&amp;quot; and it only listed my larger /dev/sda3 partition with a checkbox next to it, with no mention of my /dev/sda2.&amp;nbsp; I found this a bit interesting, and after carefully removing the checkbox I moved forward. As I entered the next step I went to a screen &amp;quot;Copying files...&amp;quot;.... wait... huh?&amp;nbsp; To where?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Apparently it now considered my /dev/sda3&amp;nbsp; (which I intended to be /home) as the only drive.&amp;nbsp; I cancelled the process and opened the terminal.&amp;nbsp; After browsing to that directory, I found new /usr and /boot directories in that directory, which confirmed my suspicions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Things then began moving downhill and picking up speed....&lt;/p&gt;
&lt;p&gt;I opened the partitioning tool GParted and was suprised to see that not only did my 15GB /dev/sda2 not exist anymore but that /dev/sda3 was now a 145GB partion of unallocated space.&amp;nbsp;&amp;nbsp; NOT GOOD, considering that about 110GB of it is *very* allocated with data that I didn&apos;t intend on losing.&lt;/p&gt;
&lt;p&gt;Even with all the steps I have taken since, I have been unable to mount /dev/sda2.&amp;nbsp; I even popped in Damn Small Linux to attempt some quick surgery and even it was unable to save me.&amp;nbsp;&amp;nbsp; I then tried an Ubuntu live CD and it didn&apos;t recogize anything on /dev/sda at all.&amp;nbsp; At some point during this process I noticed that I was getting &amp;quot;bad magic number&amp;quot; and &amp;quot;corrupted superblock&amp;quot; type messages in relation to that device.&lt;/p&gt;
&lt;p&gt;After putting the PCLinuxOS live CD back in, I was a bit relieved to see that it auto-mounted /dev/sda3 as /media/disk, and that I could at least access the files that were once safe and sound in my /home directory.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So.... here I sit waiting for GBs upon GBs of data to upload via FTP to various servers so that I can wipe the enter friggin thing out and start over.&amp;nbsp; Tomorrow I get the fun of retrieving it all and piecing my laptop world back together....&amp;nbsp;&amp;nbsp; &amp;lt;sigh/&amp;gt;&lt;/p&gt;
&lt;p&gt;More to come....&lt;/p&gt;</description><pubDate>Thu, 24 Jan 2008 03:06:00 GMT</pubDate><guid>http://daveshuck.instantspot.com/blog/2008/01/23/Wow-rough-move-from-Ubuntu-to-PCLinuxOS</guid><category>Linux</category></item></channel></rss>