<?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>Pete's blog</title>
	<atom:link href="http://blog.weijmarshausen.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.weijmarshausen.com</link>
	<description>My personal Blog, about my hobbies and work</description>
	<pubDate>Sat, 29 May 2010 12:31:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>iPad HTML5 design</title>
		<link>http://blog.weijmarshausen.com/?p=110</link>
		<comments>http://blog.weijmarshausen.com/?p=110#comments</comments>
		<pubDate>Sat, 29 May 2010 12:31:11 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Computers]]></category>

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

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=110</guid>
		<description><![CDATA[Since a little bit I have been playing with the new Apple iPad and I have to say it is great. As a technology lover and hobby programmer, of course I had to dive in and test a view things myself. The first thing that cought my eye was the rotation and possibilities it gives [...]]]></description>
			<content:encoded><![CDATA[<p>Since a little bit I have been playing with the new Apple iPad and I have to say it is great. As a technology lover and hobby programmer, of course I had to dive in and test a view things myself. The first thing that cought my eye was the rotation and possibilities it gives for webdesign and therefore I was very surprised to learn that this is already supported in the new HTML5 (draft?) spec.<br />
Anyways I want to share how you can make a page that looks different based on how you hold your iPad, which is actually quite simple.<br />
You need two style sheets, one for each orientation of your iPad. Lets call them portrait.css and landscape.css. In your head definition of your page you put: </p>
<pre>
&lt;link rel="stylesheet" media="all and (orientation:portrait)"
href="portrait.css"&gt;
&lt;link rel="stylesheet" media="all and (orientation:landscape)"
href="landscape.css"&gt;
</pre>
<p>Also helpful if you want to start defining absolute sizes for your sheets depending on how you look at them, you can use:</p>
<pre>
&lt;meta name="viewport" content="initial-scale=1.0"&gt;
&lt;meta name="viewport" content="maximum-scale=1.0"&gt;
&lt;meta name="viewport" content="minimum-scale=1.0"&gt;
</pre>
<p>With a quick definition of portrait.css and landscape.css you are now able to transform the look of your page based on the orientation!</p>
<p>In a follow up post, I will add some examples and also some other useful JavaScript I found that helps in making more advanced pages.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=110</wfw:commentRss>
		</item>
		<item>
		<title>Google Chrome on Slackware</title>
		<link>http://blog.weijmarshausen.com/?p=109</link>
		<comments>http://blog.weijmarshausen.com/?p=109#comments</comments>
		<pubDate>Sun, 31 Jan 2010 22:27:44 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Google Chrome Linux Slackware Packages]]></category>

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=109</guid>
		<description><![CDATA[Thanks @bartv I was just remotivated to try and get Google Chrome working on Slackware. A previous attempt did not work and also this attempt took some work, so I decided to share it for other potential Slackware users.
Based on knowledge from this blogpost I made a few packages that should be easy to install [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks @bartv I was just remotivated to try and get Google Chrome working on Slackware. A previous attempt did not work and also this attempt took some work, so I decided to share it for other potential Slackware users.</p>
<p>Based on knowledge from <a href="http://www.infinityperl.org/post/2009/12/09/How-to-install-Google-Chrome-on-Slackware-13" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.infinityperl.org');">this blogpost</a> I made a few packages that should be easy to install and get you going.<br />
These are based on <a href="http://slackbuilds.org/repository/13.0/libraries/ORBit2/" onclick="javascript:pageTracker._trackPageview('/outbound/article/slackbuilds.org');">ORbit2</a> and <a href="http://slackbuilds.org/repository/13.0/libraries/GConf/" onclick="javascript:pageTracker._trackPageview('/outbound/article/slackbuilds.org');">GConf</a> from Slackbuilds and the original Google Chrome RPM (version 4.0.249.43). I used rpm2tgz to get the contents and then modified the doinstall script to not only install, but also copy the google-chrome.desktop file to /usr/share/applications and /usr/share/apps/kappfinder/apps (assuming you are using KDE). </p>
<p>For you, all you need to do is download these 3 packages and run installpkg on them. Pretty simple.</p>
<ul>
<li><a href="http://www.weijmarshausen.com/public/slackware/ORBit2-2.14.17-i486-1_SBo.tgz" onclick="javascript:pageTracker._trackPageview('/downloads/public/slackware/ORBit2-2.14.17-i486-1_SBo.tgz');">ORBit2-2.14.17-i486-1_SBo.tgz</a></li>
<li><a href="http://www.weijmarshausen.com/public/slackware/GConf-2.26.0-i486-1_SBo.tgz" onclick="javascript:pageTracker._trackPageview('/downloads/public/slackware/GConf-2.26.0-i486-1_SBo.tgz');">GConf-2.26.0-i486-1_SBo.tgz</a></li>
<li><a href="http://www.weijmarshausen.com/public/slackware/google-chrome-4.0.249.43-i486.tgz" onclick="javascript:pageTracker._trackPageview('/downloads/public/slackware/google-chrome-4.0.249.43-i486.tgz');">google-chrome-4.0.249.43-i486.tgz</a></li>
</ul>
<p>There is one important assumption in the Chrome package, which is that Firefox needs to be installed in /usr/lib/firefox (this is standard in Slackware). The install script of Chrome makes a few symbolic links needed to make things work. If you get library errors it is worthwhile to check whether the symlinks are made.<br />
Goto /usr/lib/ and check for the following:</p>
<blockquote><p>
libssl3.so.1d -> /usr/lib/firefox/libssl3.so<br />
libsmime3.so.1d -> /usr/lib/firefox/libsmime3.so<br />
libplds4.so.0d -> /usr/lib/firefox/libplds4.so<br />
libplc4.so.0d -> /usr/lib/firefox/libplc4.so<br />
libnssutil3.so.1d -> /usr/lib/firefox/libnssutil3.so<br />
libnss3.so.1d -> /usr/lib/firefox/libnss3.so<br />
libnspr4.so.0d -> /usr/lib/firefox/libnspr4.so
</p></blockquote>
<p>Hope you succeed, if you do you can let me know on <a href="http://twitter.com/weijmarshausen" onclick="javascript:pageTracker._trackPageview('/outbound/article/twitter.com');">twitter</a>.</p>
<p>Peter</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=109</wfw:commentRss>
		</item>
		<item>
		<title>New game - call of duty modern warfare 2</title>
		<link>http://blog.weijmarshausen.com/?p=107</link>
		<comments>http://blog.weijmarshausen.com/?p=107#comments</comments>
		<pubDate>Thu, 19 Nov 2009 00:37:43 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Hobby]]></category>

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=107</guid>
		<description><![CDATA[It has been a long time since the last blog and I feel this has to change. So from now on, new content every week or perhaps more. My intent is to blog about my hobbies and the cool stuff we are doing over at shapeways
For today it is simple. Last weekend I bought a [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a long time since the last blog and I feel this has to change. So from now on, new content every week or perhaps more. My intent is to blog about my hobbies and the cool stuff we are doing over at <a href="http://shapeways.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/shapeways.com');">shapeways</a></p>
<p>For today it is simple. Last weekend I bought a new game called Call of Duty - Modern Warfare 2. Reviews can be found <a href="http://http://www.gamespot.com/ps3/action/modernwarfare2/review.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.gamespot.com');">here</a>. The game is almost photo realistic and if you like a tactical shooter, check it out. The day you are part of your own movie are not far away. More to follow.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=107</wfw:commentRss>
		</item>
		<item>
		<title>File syncing with Unison how-to</title>
		<link>http://blog.weijmarshausen.com/?p=87</link>
		<comments>http://blog.weijmarshausen.com/?p=87#comments</comments>
		<pubDate>Tue, 22 Apr 2008 19:59:05 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Computers]]></category>

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

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=87</guid>
		<description><![CDATA[Just updated the Tech-notes pages with a short HOW-TO about using UNISON. It is an excellent way to sync two document roots across the internet.
If you find yourself behind different computers and struggling with current versions of documents it is an excellent tool. Look here for more info.
My page is located here
]]></description>
			<content:encoded><![CDATA[<p>Just updated the <a href="http://blog.weijmarshausen.com/?page_id=81" >Tech-notes</a> pages with a short HOW-TO about using UNISON. It is an excellent way to sync two document roots across the internet.<br />
If you find yourself behind different computers and struggling with current versions of documents it is an excellent tool. Look <a href="http://www.linuxjournal.com/article/7712" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.linuxjournal.com');">here</a> for more info.</p>
<p>My page is located <a href="http://blog.weijmarshausen.com/?page_id=86" >here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=87</wfw:commentRss>
		</item>
		<item>
		<title>Where I work</title>
		<link>http://blog.weijmarshausen.com/?p=77</link>
		<comments>http://blog.weijmarshausen.com/?p=77#comments</comments>
		<pubDate>Fri, 04 Apr 2008 21:48:21 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Rapid Manufacturing]]></category>

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=77</guid>
		<description><![CDATA[It is about time I get a bit more concrete about where I work. Just over a year ago now, I got a new job as venture owner at Philips&#8217; Lifestyle Incubator. The Lifestyle Incubator is part of Philips Corporate Technologies. 
The idea of Incubators was conceived by the previous CTO of Philips. It allows [...]]]></description>
			<content:encoded><![CDATA[<p>It is about time I get a bit more concrete about where I work. Just over a year ago now, I got a new job as venture owner at Philips&#8217; Lifestyle Incubator. The Lifestyle Incubator is part of Philips Corporate Technologies. </p>
<p>The idea of Incubators was conceived by the previous CTO of Philips. It allows new ideas or technologies coming from every part of Philips to form into solid businesses. These new businesses can become a part of Philips or if they are not a strategic fit can go outside and become independent companies.</p>
<p>The venture of which I am CEO is called shapeways. You can find us at <a href="http://www.shapeways.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.shapeways.com');">www.shapeways.com</a>. Shapeways allows you to upload your 3D models (CAD files) to our site. They can be shared and previewed and if you want we will produce them for you using so called Rapid Prototyping. This is a technique which can be described as 3D printing.<br />
If you want to see how it works click <a href="http://video.shapeways.com/video2.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/video.shapeways.com');">here</a></p>
<p>After a year we are currently testing the service in a closed beta. So, if you are interested do not hesitate to sign-up using the <a href="http://www.shapeways.com/beta" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.shapeways.com');">beta-signup</a>.</p>
<p>More to follow&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=77</wfw:commentRss>
		</item>
		<item>
		<title>MP4 for the iPod-touch</title>
		<link>http://blog.weijmarshausen.com/?p=78</link>
		<comments>http://blog.weijmarshausen.com/?p=78#comments</comments>
		<pubDate>Tue, 25 Mar 2008 22:30:53 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=78</guid>
		<description><![CDATA[A quick post about making videos for the iPod-touch.
Just recently I bought one of these little machines and quite frankly they are great! Of course I wanted to upload some of the
video content I already had and it took some figuring out to get it to work (especially because I wanted to get it to [...]]]></description>
			<content:encoded><![CDATA[<p>A quick post about making videos for the iPod-touch.<br />
Just recently I bought one of these little machines and quite frankly they are great! Of course I wanted to upload some of the<br />
video content I already had and it took some figuring out to get it to work (especially because I wanted to get it to work using linux and ffmpeg). To prevent some of you the same trouble here my findings.</p>
<p>First: The format you need for the iPod is mp4 (h264) with aac audio. </p>
<p>Second: have a look at this excellent post from Robert Swain: <a href="http://rob.opendot.cl/index.php/useful-stuff/ipod-video-guide/" onclick="javascript:pageTracker._trackPageview('/outbound/article/rob.opendot.cl');">here</a></p>
<p>Third: be carefull with the frame rate. The iPod does not like &#8220;23.96542-like&#8221; frame rates. So if you have a file with a frame rate like that, specify it like 23.96 or something.</p>
<p>Last: here the ffmpeg command line params I use (based on Robert&#8217;s post)<br />
I use two pass encoding<br />
<code><br />
ffmpeg -threads 2 -i "$file" -vcodec libx264 -b $VBITRATE -deinterlace -r $fps\<br />
         -an -flags +loop -cmp +chroma -partitions 0 -me epzs -subq 1 -trellis 0\<br />
         -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40\<br />
         -i_qfactor 0.71 -bt $VBITRATE -maxrate 768k -bufsize 2M\<br />
         -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10\<br />
         -qmax 51 -qdiff 4 -level 30 -passlogfile "$file".log -pass 1 "$file".tmp.mp4<br />
<code><br />
ffmpeg -threads 2 -i "$file" -vcodec libx264 -b $VBITRATE -deinterlace -r $fps\<br />
        -ab 112kb -acodec libfaac -ar 44100 -ac 2\<br />
        -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me umh\<br />
        -subq 5 -trellis 1 -refs 1\<br />
        -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71\<br />
        -bt $VBITRATE -maxrate 768k -bufsize 2M -rc_eq 'blurCplx^(1-qComp)'<br />
        -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30\<br />
        -passlogfile "$file".log -pass 2 "$file".tmp.mp4<br />
</code></p>
<p>Where:<br />
file=&#8221;inputfilename&#8221;<br />
VBITRATE=&#8221;600&#8243; # video bitrate<br />
fps=&#8221;25&#8243; # video framerate</p>
<p>Make sure you have a recent version of ffmpeg installed with support for h264 and libfaac</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=78</wfw:commentRss>
		</item>
		<item>
		<title>Really cool article on Wired</title>
		<link>http://blog.weijmarshausen.com/?p=76</link>
		<comments>http://blog.weijmarshausen.com/?p=76#comments</comments>
		<pubDate>Sat, 23 Feb 2008 13:59:46 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Cars]]></category>

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=76</guid>
		<description><![CDATA[Well some time ago I found this totally cool article on wired.com
click here
It is about a cross country time trial of a guy with an M5. It really reads like a
adventure book! Have fun, I did.
]]></description>
			<content:encoded><![CDATA[<p>Well some time ago I found this totally cool article on wired.com<br />
<a href="http://www.wired.com/cars/coolwheels/magazine/15-11/ff_cannonballrun" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.wired.com');">click here</a><br />
It is about a cross country time trial of a guy with an M5. It really reads like a<br />
adventure book! Have fun, I did.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=76</wfw:commentRss>
		</item>
		<item>
		<title>Nice sound on M3CSL</title>
		<link>http://blog.weijmarshausen.com/?p=75</link>
		<comments>http://blog.weijmarshausen.com/?p=75#comments</comments>
		<pubDate>Fri, 05 Oct 2007 23:22:48 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Cars]]></category>

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=75</guid>
		<description><![CDATA[Wow what a sound!!


BMW M3 CSL ONEandONLY Sound (E46)
Download!

Enjoy!
Pete
]]></description>
			<content:encoded><![CDATA[<p>Wow what a sound!!</p>
<div class="wpv_videoc">
<div class="wpv_video"><object data="http://www.youtube.com/v/N3tjL3LhHSA" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/N3tjL3LhHSA"></param></object></div>
<div class="wpv_titleauthor">BMW M3 CSL ONEandONLY Sound (E46)</div>
<div class="wpv_download"><a href="http://downthisvideo.com/?url=http://www.youtube.com/watch?v=N3tjL3LhHSA"target="_blank"  onclick="javascript:pageTracker._trackPageview('/outbound/article/downthisvideo.com');">Download!</a></div>
</div>
<p>Enjoy!</p>
<p>Pete</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=75</wfw:commentRss>
		</item>
		<item>
		<title>Some mad guys and an M6</title>
		<link>http://blog.weijmarshausen.com/?p=74</link>
		<comments>http://blog.weijmarshausen.com/?p=74#comments</comments>
		<pubDate>Wed, 26 Sep 2007 23:05:20 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Cars]]></category>

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=74</guid>
		<description><![CDATA[I found this on autoblog.nl.
Jeez these guys are nuts. Also check out the acceleration of the M6 wow!!


BMW M6 reaching 340km/h at Attiki Odos in Greece!
Download!

]]></description>
			<content:encoded><![CDATA[<p>I found this on autoblog.nl.</p>
<p>Jeez these guys are nuts. Also check out the acceleration of the M6 wow!!</p>
<div class="wpv_videoc">
<div class="wpv_video"><object data="http://www.youtube.com/v/UWhkGybzzIw" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/UWhkGybzzIw"></param></object></div>
<div class="wpv_titleauthor">BMW M6 reaching 340km/h at Attiki Odos in Greece!</div>
<div class="wpv_download"><a href="http://downthisvideo.com/?url=http://www.youtube.com/watch?v=UWhkGybzzIw"target="_blank"  onclick="javascript:pageTracker._trackPageview('/outbound/article/downthisvideo.com');">Download!</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=74</wfw:commentRss>
		</item>
		<item>
		<title>Trip back to San Francisco</title>
		<link>http://blog.weijmarshausen.com/?p=73</link>
		<comments>http://blog.weijmarshausen.com/?p=73#comments</comments>
		<pubDate>Wed, 12 Sep 2007 04:40:10 +0000</pubDate>
		<dc:creator>pete</dc:creator>
		
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://blog.weijmarshausen.com/?p=73</guid>
		<description><![CDATA[Today we went back to San Francisco. After a last visit to Monterey&#8217;s Fisherman&#8217;s Warf we were off around noon. It was a 2.5 hours drive to San Francisco. We needed to get gas, so we took an early exit and ended up in&#8230;. well we wanted to get back onto the freeway ASAP. This [...]]]></description>
			<content:encoded><![CDATA[<p>Today we went back to San Francisco. After a last visit to Monterey&#8217;s Fisherman&#8217;s Warf we were off around noon. It was a 2.5 hours drive to San Francisco. We needed to get gas, so we took an early exit and ended up in&#8230;. well we wanted to get back onto the freeway ASAP. This was not where we wanted to be&#8230;.</p>
<p>Luckily we got to the hotel without a problem and when returning the car, a fuel pump was across the road. So end of the road for our loyal friend the Mustang. After 2000!! miles (3200 km) we were back walking.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weijmarshausen.com/?feed=rss2&amp;p=73</wfw:commentRss>
		</item>
	</channel>
</rss>
