<?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"
	>

<channel>
	<title>bits and bytes</title>
	<atom:link href="http://blog.pczone.be/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.pczone.be</link>
	<description>Fix (Bjorn Monnens) his personal and business blog</description>
	<pubDate>Thu, 10 Jun 2010 22:42:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Upgrade Ubuntu fail (again)</title>
		<link>http://blog.pczone.be/?p=254</link>
		<comments>http://blog.pczone.be/?p=254#comments</comments>
		<pubDate>Thu, 10 Jun 2010 22:42:16 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[linux ubuntu upgrade]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=254</guid>
		<description><![CDATA[A couple of weeks ago Ubuntu released their new version (10.04). This time I waited a bit to perform the upgrade of my laptop. The promosed very fast startups (sub 10 seconds). So yesterday night I upgraded. This morning booting took twice as long as before, some tools didn&#8217;t even work, my wifi didn&#8217;t want [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago Ubuntu released their new version (10.04). This time I waited a bit to perform the upgrade of my laptop. The promosed very fast startups (sub 10 seconds). So yesterday night I upgraded. This morning booting took twice as long as before, some tools didn&#8217;t even work, my wifi didn&#8217;t want to connect anymore,&#8230;</p>
<p>I&#8217;ve been a ubuntu user since the very first  release. Pretty much every time they did an upgrade to the next version I ended up reinstalling everything. So like always I reinstalled my Ubuntu. But this time is really the last time, if with the next release I have to reinstall I&#8217;ll just switch to basic Debian. In the end it just has to work, right?</p>
<p>Maybe it&#8217;s also my mistake to add extra repositories to install tools that are not available in default Ubuntu. But I prefer that over installing straight from a .deb file.</p>
<p>Anybody else also having these issues? (I know a friend of mine had to reinstall as well, broken wifi)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=254</wfw:commentRss>
		</item>
		<item>
		<title>Video editing in Linux</title>
		<link>http://blog.pczone.be/?p=252</link>
		<comments>http://blog.pczone.be/?p=252#comments</comments>
		<pubDate>Mon, 31 May 2010 19:42:02 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Informatics]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=252</guid>
		<description><![CDATA[I like many people always had problems with doing video editing on Linux. A couple of weeks ago I found the openshot video editor . I haven&#8217;t done much with it, but it looks very promossing. I&#8217;ll start using it for building my future screencasts and video&#8217;s. As soon as they are available I&#8217;ll post [...]]]></description>
			<content:encoded><![CDATA[<p>I like many people always had problems with doing video editing on Linux. A couple of weeks ago I found the <a href="http://www.openshotvideo.com/">openshot video editor</a> . I haven&#8217;t done much with it, but it looks very promossing. I&#8217;ll start using it for building my future screencasts and video&#8217;s. As soon as they are available I&#8217;ll post a link to them on this site.</p>
<p>What I&#8217;ve done so far is adding a couple of video&#8217;s and doing picture in picture view of the 2 movies. I can&#8217;t rememeber if I could do that using Pitivi or Kino. Another nice feature was the inclusion of a transparant PNG file, I would then put it in the bottom have of the picture and you could add some text underneath a movie (like they do in the news). It gave it a nice touch.</p>
<p>The only minor thing was the exporting of the video. I found it not that clear, on the other hand I&#8217;m no video guru so I might have to brush up on that. However I do think that somebody who knows nothing at all about video&#8217;s and codecs&#8217; will have a difficult time creating the end result.</p>
<p>Keep you posted on my adventures <img src='http://blog.pczone.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=252</wfw:commentRss>
		</item>
		<item>
		<title>Printing in Gnome</title>
		<link>http://blog.pczone.be/?p=248</link>
		<comments>http://blog.pczone.be/?p=248#comments</comments>
		<pubDate>Mon, 12 Apr 2010 21:44:26 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=248</guid>
		<description><![CDATA[Today I had to print +30 invoices. I had created 30 pdf&#8217;s but couldn&#8217;t find a way to print them all at once. In Windows you just drag them to the printer you want to print on (doesn&#8217;t matter what format) and Windows does the rest.
Does anybody know how you can do this in Gnome, [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to print +30 invoices. I had created 30 pdf&#8217;s but couldn&#8217;t find a way to print them all at once. In Windows you just drag them to the printer you want to print on (doesn&#8217;t matter what format) and Windows does the rest.</p>
<p>Does anybody know how you can do this in Gnome, this would be very handy at the end of every quartor <img src='http://blog.pczone.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=248</wfw:commentRss>
		</item>
		<item>
		<title>alps touchpad multi touch</title>
		<link>http://blog.pczone.be/?p=244</link>
		<comments>http://blog.pczone.be/?p=244#comments</comments>
		<pubDate>Thu, 07 Jan 2010 18:38:43 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Informatics]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=244</guid>
		<description><![CDATA[A couple off weeks ago my Dell Latitude E6500 arrived, it was installed with a Windows 7. Off course it was only a matter of hours before a fresh Linux kernel was doing the heavy lifting on that machine.
Before I used the Dell I was using an Acer. I was pretty satisfied but it was [...]]]></description>
			<content:encoded><![CDATA[<p>A couple off weeks ago my Dell Latitude E6500 arrived, it was installed with a Windows 7. Off course it was only a matter of hours before a fresh Linux kernel was doing the heavy lifting on that machine.</p>
<p>Before I used the Dell I was using an Acer. I was pretty satisfied but it was already an old machine. One thing I really liked about it was the multi touch scrolling, much like you have with Apple. For those who don&#8217;t know. If you are surfing and you have to scroll down. You just put both your fingers on the touchpad and drag them down. The page will scroll. On my Dell this didn&#8217;t work however, so I started investigating and after a while I found out that Dell uses a ALPS touchpad. Most other vendors use a synaptic touchpad. It seems the people from ALPS haven&#8217;t released any (good) documentation and therefor the Linux hackers can&#8217;t enable the multitouch.</p>
<p>This seems to be the first downside of my new Machine. For the rest pretty much everything worked out of the box. Wifi, Compiz, &#8230; Even my new usb headset with micro worked out of the box. Only real thing you have to add is the MP3 codecs.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=244</wfw:commentRss>
		</item>
		<item>
		<title>DWR call count is not a number</title>
		<link>http://blog.pczone.be/?p=242</link>
		<comments>http://blog.pczone.be/?p=242#comments</comments>
		<pubDate>Wed, 23 Dec 2009 20:54:08 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Informatics]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=242</guid>
		<description><![CDATA[For all our applications we use pretty much the defacto standards. For us DWR is also a defacto standard for doing AJAX with a JEE backend. Like many of our applications we can&#8217;t dictate what type of browser the customer should use, so we have to check all browsers. So during the last sprint we [...]]]></description>
			<content:encoded><![CDATA[<p>For all our applications we use pretty much the defacto standards. For us DWR is also a defacto standard for doing AJAX with a JEE backend. Like many of our applications we can&#8217;t dictate what type of browser the customer should use, so we have to check all browsers. So during the last sprint we checked it on all versions of ie, no problems. We deployed and one of our main testers create a defect ticket.</p>
<p>In the ticket he described the application as always creating alerts with the description <strong>call count is not a number</strong> . He used ie7, you would expect this from ie6 but not from ie7. However off course other users with ie7 didn&#8217;t have this issue. After some googling this seemed related to DWR, however we couldn&#8217;t really find the cause for the problem. However we did find a workaround for the issue.</p>
<p>We added this small piece of code</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
$(document).ready(function(){<br />
function errH(msg){}</p>
<p>dwr.engine.setErrorHandler(errH);<br />
dwr.engine.setWarningHandler(errH);<br />
});<br />
&lt;/script&gt;</p></blockquote>
<p>This might not be the best solution, but after losing quite some time this was the preferred solution</p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=242</wfw:commentRss>
		</item>
		<item>
		<title>jquery apache tomcat ajp issues , ie6 hangs</title>
		<link>http://blog.pczone.be/?p=240</link>
		<comments>http://blog.pczone.be/?p=240#comments</comments>
		<pubDate>Wed, 23 Dec 2009 19:42:20 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Informatics]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=240</guid>
		<description><![CDATA[The application I work on is accessed from all over the world, we don&#8217;t have any control over what kind of browser access it. So we have to check pretty much all possible combinations. After our latest release we had trouble with some users who were running windows 2000 with internet explorer 6.
I know this [...]]]></description>
			<content:encoded><![CDATA[<p>The application I work on is accessed from all over the world, we don&#8217;t have any control over what kind of browser access it. So we have to check pretty much all possible combinations. After our latest release we had trouble with some users who were running windows 2000 with internet explorer 6.</p>
<p>I know this is an old system, but we can&#8217;t force them to upgrade, neither can we force them to install a real browser (i.e. firefox) as they don&#8217;t have local admin accounts. I checked windows xp with ie6 and this worked without any problems. So I picked up a windows 2000 cd and installed it in a vm. I upgraded the browser to the same version as the customer but couldn&#8217;t reproduce the problem.</p>
<p>After some emailing and friendly help from their local IT sysadmins, I could access an identical vm on their local systems. I user our test environment to do some tests changing settings here and there. After a couple of minutes I found out that the problem had to do with the jquery library. So I tried accessing it with the actual URL, maybe there was a security constraint or something but this worked without any problem. Even stranger when I accessed the applicaiton again everything worked perfectly, normally after the login the page would freeze and you had to kill the iexplore process.</p>
<p>After a while I figured it out. To shrink the size of the html we were using the compression options of apache. This shrinked the actual html sometimes with 80%. However we also shrinked all javascript libraries. JQuery default ships with a minimized library. It seems that some internet explorer versions have problems with accessing this file. I imagine that ie6 can&#8217;t handle a file that is minimized file and gziped at the same time.</p>
<p>So any one out there experiencing the same problems, you can check if you didn&#8217;t run into the same problem as we did.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=240</wfw:commentRss>
		</item>
		<item>
		<title>Linux vs Windows maven building</title>
		<link>http://blog.pczone.be/?p=238</link>
		<comments>http://blog.pczone.be/?p=238#comments</comments>
		<pubDate>Thu, 17 Dec 2009 21:11:05 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Informatics]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=238</guid>
		<description><![CDATA[I recently received a new Dell laptop. It came with windows 7, I tried it and it didn&#8217;t look bad. But for my personal stuff I prefer Linux over Windows. The computer at the office is managed by somebody else, that off course runs windows. It&#8217;s a very good machine and the guys who manage [...]]]></description>
			<content:encoded><![CDATA[<p>I recently received a new Dell laptop. It came with windows 7, I tried it and it didn&#8217;t look bad. But for my personal stuff I prefer Linux over Windows. The computer at the office is managed by somebody else, that off course runs windows. It&#8217;s a very good machine and the guys who manage it know what what they are doing. As soon as somebody has a virus somewhere (e.g. usb stick from a customer) they are standing next to the person within a matter of minutes. Or if somebody is consuming a lot of bandwith and effecting others, they&#8217;ll notice it. However I&#8217;m a developer and all these extra monitoring tools (network consumption isn&#8217;t on my own computer off course) consume resources from my machine.</p>
<p>As we build all our projects with maven, it&#8217;s pretty easy to do the build on another system. I always have a version on my laptop, so I also checked out one to my new Ubuntu 9.10 laptop. If I do a <strong>mvn clean install -DskipTests</strong> on my laptop it takes about 27 seconds. If I do this on my main workstation (that actually is a dual cpu dual core machine) it takes 4 minutes 30 seconds.</p>
<p>Noted that the maven version isn&#8217;t the same and that I&#8217;m running 64 bit Linux instead of Windows xp 32 bit. This still seems a big difference, but then again every time I access a file the antivirus kicks in and who knows what else.</p>
<p>If I had a big company I would make all my developers work on Linux machines, reducing licensing costs and gaing time <img src='http://blog.pczone.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If they were .net developers, well that would make it a bit more difficult but I&#8217;ld definitely give it a go. Time is money and loosing 4 minutes for every clean build is way to much. Luckily <strong>mvn compile</strong> and some ant tasks run much faster.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=238</wfw:commentRss>
		</item>
		<item>
		<title>EU&#8217;s delay on Sun acquisition also impacts me as a software developer</title>
		<link>http://blog.pczone.be/?p=236</link>
		<comments>http://blog.pczone.be/?p=236#comments</comments>
		<pubDate>Mon, 30 Nov 2009 20:59:30 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Informatics]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=236</guid>
		<description><![CDATA[Microsoft are going to release the &#8220;Silverlight: Universal GUI toolkit&#8221;. This will allow them to build desktop appz, much like Adobe is doing with AIR. As soon as they do that, I think Silverlight and Flex have pretty much the same features for doing web and desktop development. I&#8217;m just wondering where JavaFX is?
During Devoxx [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft are going to release the &#8220;Silverlight: Universal GUI toolkit&#8221;. This will allow them to build desktop appz, much like Adobe is doing with AIR. As soon as they do that, I think Silverlight and Flex have pretty much the same features for doing web and desktop development. I&#8217;m just wondering where JavaFX is?</p>
<p>During Devoxx I followed some JavaFX sessions. It looks promossing, but we&#8217;re already waiting for it for quite a while now. If the EU approves the Sun acquisition, Oracle could finally publicly announce their intentions with all the Sun Products. I actually think they will start pushing JavaFX very hard, so hard it will have pretty much the same features as Flex and Silverlight within a couple of months. Probably the release of Java 7 will also be moved forward again. A while ago, I was very sceptic about JavaFX, but I&#8217;m allowed to change my opinion, right? I see many benefits for Oracle investing in JavaFX and make it a real competitor for Silverlight.</p>
<p>Or off course they will just kill JavaFX and buy Adobe, who knows. But for me a Java software developer, what frontend should I choose, what language should I invest in? I&#8217;ve already done some Flex development and it works really good. But I believe that the power behind Silverlight (Not only Microsoft, but all big component vendors) are giving Silverlight much more momentum. Just look at the number of components available for the platforms.</p>
<p>If Oracle would invest in JavaFX, I imagine they also would start contacting component vendors and <em>ask</em> them to start developing commercial components. As soon as that happens and we get more momentum, more developers will start developing opensource components as well.</p>
<p>I see this as the chicken and the egg problem, so come on EU let Oracle lay its egg so we as a software community know what we should do.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=236</wfw:commentRss>
		</item>
		<item>
		<title>DWR weirdness</title>
		<link>http://blog.pczone.be/?p=231</link>
		<comments>http://blog.pczone.be/?p=231#comments</comments>
		<pubDate>Tue, 27 Oct 2009 19:49:57 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Informatics]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=231</guid>
		<description><![CDATA[Like many developers I use DWR in my java enterprise app. This facilitates communication between Javascript and backend Java code. However for a new feature I overloaded the Java backend function. I also modified the frontend to add the new parameters where necessary. On my windows machine everything worked fine. I then pulled in the [...]]]></description>
			<content:encoded><![CDATA[<p>Like many developers I use DWR in my java enterprise app. This facilitates communication between Javascript and backend Java code. However for a new feature I overloaded the Java backend function. I also modified the frontend to add the new parameters where necessary. On my windows machine everything worked fine. I then pulled in the data on my Linux laptop and wanted to start a debug session. However when I tried the app, the filtering wasn&#8217;t working. Hmm pretty strange, after a long debugging session I finally found the issue. I&#8217;m still not sure why or how, but this is what I noticed.</p>
<p>I&#8217;m sending 3 int values to the backend. It seems that for a weird reason on windows he converts the var productId = &#8216;4&#8242; to an int and on Linux he didn&#8217;t do this. What happened was that my old method was executed without the new argument (as he couldn&#8217;t convert it). I would have actually expected the ap to also do this on windows as the &#8216;4&#8242; isn&#8217;t an int in my eyes.</p>
<p>From now on I will never use overloading with DWR services. As Javascript doesn&#8217;t really check the number of arguments supplied for a function, this can do weird things!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=231</wfw:commentRss>
		</item>
		<item>
		<title>Create a vmware esxi 4 bootable disk using linux</title>
		<link>http://blog.pczone.be/?p=225</link>
		<comments>http://blog.pczone.be/?p=225#comments</comments>
		<pubDate>Sun, 23 Aug 2009 11:15:23 +0000</pubDate>
		<dc:creator>fix</dc:creator>
		
		<category><![CDATA[Informatics]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.pczone.be/?p=225</guid>
		<description><![CDATA[This is pretty straight forward, but why not put in in a post anyway.
You go to the vmware site and download the latest vmware esxi build. Download it somewhere in your home drive. After downloading perform following tasks:
Become root (su - or sudo -s)
mount the iso file. I made a dir /media/isoimage to mount it [...]]]></description>
			<content:encoded><![CDATA[<p>This is pretty straight forward, but why not put in in a post anyway.</p>
<p>You go to the vmware site and download the latest vmware esxi build. Download it somewhere in your home drive. After downloading perform following tasks:</p>
<p>Become root (su - or sudo -s)</p>
<p>mount the iso file. I made a dir <strong>/media/isoimage</strong> to mount it to:</p>
<p><code><br />
mkdir /media/isomage/<br />
mount -o loop -t iso9660 ./VMware-VMvisor-Installer-4.0.0-171294.x86_64.iso /media/isoimage/<br />
</code></p>
<p>I made a dir in my root folder to work in, copy the image.tgz file to there.</p>
<p><code><br />
cd /media/isoimage/<br />
mkdir /root/vmware-esxi-stuff<br />
cp image.tgz /root/vmware-esxi-stuff/<br />
</code></p>
<p>Extract the image file<br />
<code><br />
tar xzpfv image.tgz<br />
</code></p>
<p>Extract the actual file you need</p>
<p><code><br />
bunzip2 VMware-VMvisor-big-171294-x86_64.dd.bz2<br />
</code></p>
<p>Now connect your usbdisk to your linux computer, make sure you know how it gets connected. I always tail my log files to make sure.</p>
<p><code><br />
tail -f /var/log/messages<br />
</code></p>
<p>When you connect your usbdisk you will see a lot of entries passing by. You will see something like</p>
<p><code><br />
Aug 23 12:43:06 bjornmonnens-desktop kernel: [1134680.672567] sd 6:0:0:0: [sdc] 7818240 512-byte hardware sectors: (4.00 GB/3.72 GiB)<br />
</code></p>
<p>So now you know it is on sdc. Make sure there aren&#8217;t any partitions on there or delete everything using fdisk (this might not be necessary, but I did it anyway)</p>
<p><code><br />
fdisk /dev/sdc<br />
Command (m for help): p</p>
<p>Disk /dev/sdc: 4002 MB, 4002938880 bytes<br />
64 heads, 32 sectors/track, 3817 cylinders<br />
Units = cylinders of 2048 * 512 = 1048576 bytes<br />
Disk identifier: 0x49e2fd2f</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdc1               5         900      917504    5  Extended<br />
/dev/sdc4   *           1           4        4080    4  FAT16 &lt;32M<br />
/dev/sdc5               5         254      255984    6  FAT16<br />
/dev/sdc6             255         504      255984    6  FAT16<br />
</code></p>
<p>Delete all and write to disk</p>
<p><code><br />
Command (m for help): d<br />
Partition number (1-8): 1</p>
<p>Command (m for help): w<br />
The partition table has been altered!</p>
<p>Calling ioctl() to re-read partition table.<br />
Syncing disks.<br />
</code></p>
<p>Ok now everything should be empty, so go ahead and write your dd image to the usbdisk using the following command.</p>
<p><code><br />
dd if=VMware-VMvisor-big-171294-x86_64.dd of=/dev/sdc<br />
</code></p>
<p>Ok it&#8217;s pretty easy, but it might help somebody. And for you windows guys us a bootable linux cd and perform these task instead of installing all kinds of rubbish on your computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pczone.be/?feed=rss2&amp;p=225</wfw:commentRss>
		</item>
	</channel>
</rss>
