<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-7855900</atom:id><lastBuildDate>Sat, 20 Mar 2010 16:22:04 +0000</lastBuildDate><title>www.secondbestblog.com</title><description>The second best blog ever! Read all about my amazing stupendous adventures!</description><link>http://www.secondbestblog.com/</link><managingEditor>noreply@blogger.com (Sybrand Strauss)</managingEditor><generator>Blogger</generator><openSearch:totalResults>146</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-8074500078714893485</guid><pubDate>Sat, 20 Mar 2010 16:22:00 +0000</pubDate><atom:updated>2010-03-20T18:22:04.974+02:00</atom:updated><title>This blog has moved</title><description>&lt;br /&gt;       This blog is now located at http://sybrand.blogspot.com/.&lt;br /&gt;       You will be automatically redirected in 30 seconds, or you may click &lt;a href='http://sybrand.blogspot.com/'&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;       For feed subscribers, please update your feed subscriptions to&lt;br /&gt;       http://sybrand.blogspot.com/feeds/posts/default.&lt;br /&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-8074500078714893485?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2010/03/this-blog-has-moved.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-2948877992175843758</guid><pubDate>Fri, 19 Mar 2010 21:46:00 +0000</pubDate><atom:updated>2010-03-19T23:48:34.075+02:00</atom:updated><title>Evolution - GMail - IMAP</title><description>&lt;p&gt;Lies and more lies.&lt;/p&gt;&lt;p&gt;Here's how I got evolution to work with Gmail using IMAP&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Receive:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;IMAP&lt;/p&gt;&lt;p&gt;imap.gmail.com:993&lt;/p&gt;&lt;p&gt;SSL&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Send:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;SMTP&lt;/p&gt;&lt;p&gt;smtp.gmail.com:465&lt;/p&gt;&lt;p&gt;server requires authentication&lt;/p&gt;&lt;p&gt;ssl encryption&lt;/p&gt;&lt;p&gt;authentication type PLAIN&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-2948877992175843758?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2010/03/evolution-gmail-imap.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-3816023202054672169</guid><pubDate>Mon, 25 Jan 2010 05:22:00 +0000</pubDate><atom:updated>2010-01-25T07:26:57.358+02:00</atom:updated><title>ffmpeg and mp3</title><description>I went to the trouble of compiling ffmpeg on windows - but there was an issue with compiling lame. It felt so unnatural on windows anyway. I'm so used to just having all the tools right there. With Ubuntu it's just so EASY. Most programs are just  a quick apt-get away. If I need to compile something, it's just make install and you're away!&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I'm supposed to be studying - but looks like this post : http://symbiotix.net/articles/compiling-ffmpeg-mp3-ubuntu-revised-ubuntu-gutsy-server is what I need. I'll give it a try when I have time - or maybe medibuntu has a ffmpeg with it build in?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Stolen from his site:&lt;/div&gt;&lt;div&gt;"&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; font-size: medium; color: rgb(85, 85, 85); font-weight: 200; line-height: 36px; "&gt;However, we’re using Ubuntu based servers and Ubuntu has a strict policy not to include non-free software. This means that the ffmpeg version in the repositories is not built with essential functionality, like mp3 support for audio conversion.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; font-size: medium; color: rgb(85, 85, 85); font-weight: 200; line-height: 36px; "&gt;&lt;p&gt;Solution: compile from source. Don’t run away screaming. It’s real easy.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;1. enable universe and multiverse repositories&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://ubuntuguide.org/wiki/Ubuntu:Gutsy#General_Notes" style="color: rgb(102, 153, 204); text-decoration: none; border-bottom-style: dotted; border-bottom-width: 1px; border-bottom-color: rgb(102, 153, 204); "&gt;UbuntuGuide » general notes » how to add extra repositories&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;2. get your tools&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre style="overflow-x: scroll; width: 700px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(102, 102, 102); color: rgb(255, 255, 255); padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; background-position: initial initial; background-repeat: initial initial; "&gt;sudo apt-get install checkinstall build-essential subversion &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;3. get the latest ffmpeg sources&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre style="overflow-x: scroll; width: 700px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(102, 102, 102); color: rgb(255, 255, 255); padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; background-position: initial initial; background-repeat: initial initial; "&gt;cd /usr/local/src sudo svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;4. get the necessary dependencies&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre style="overflow-x: scroll; width: 700px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(102, 102, 102); color: rgb(255, 255, 255); padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; background-position: initial initial; background-repeat: initial initial; "&gt;sudo apt-get install liblame-dev libfaad-dev libfaac-dev libxvidcore4-dev liba52-0.7.4 liba52-0.7.4-dev libx264-dev  &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;5. configure&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre style="overflow-x: scroll; width: 700px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(102, 102, 102); color: rgb(255, 255, 255); padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; background-position: initial initial; background-repeat: initial initial; "&gt;cd ffmpeg sudo ./configure --enable-gpl --enable-liba52 --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads --disable-vhook &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;6. compile&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre style="overflow-x: scroll; width: 700px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(102, 102, 102); color: rgb(255, 255, 255); padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; background-position: initial initial; background-repeat: initial initial; "&gt;sudo make &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;7. go have a snack&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;8. create the .deb package&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre style="overflow-x: scroll; width: 700px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(102, 102, 102); color: rgb(255, 255, 255); padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; background-position: initial initial; background-repeat: initial initial; "&gt;sudo checkinstall &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;note: just press [return] each time when asked for a configuration option&lt;/p&gt;&lt;p&gt;&lt;strong&gt;9. install the .deb package&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre style="overflow-x: scroll; width: 700px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(102, 102, 102); color: rgb(255, 255, 255); padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; background-position: initial initial; background-repeat: initial initial; "&gt;sudo dpkg -i [ffmpeg_your_version.deb] &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;10. rejoice&lt;/strong&gt; "&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-3816023202054672169?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2010/01/ffmpeg-and-mp3.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-8154256385971016820</guid><pubDate>Sun, 27 Dec 2009 20:23:00 +0000</pubDate><atom:updated>2009-12-27T22:36:37.257+02:00</atom:updated><title>ffmpeg - MTS to MOV with DNxHD</title><description>&lt;div&gt;So I'm trying to get some insane high quality .MTS video, down to the same quality as my DSC's .MP4 stuff in DNxHD.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I can't for the life of me convince ffmpeg to get the FPS right. So for now my solution is NOT to take it to DNxHD, but to MJPEG&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The video is easier than the sound - due to Vegas having that stupid sound bug. I spent more than an hour today trying to find an audio stream that Vegas likes. So far I have this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;ffmpeg -i source.MTS -vcodec mjpeg -s 1280x720 -qscale 1 -r 30 -acodec ac3 -ac 2 -ab 192k -ar 44100 target.AVI&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Video works sweet - sound still messed up!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-8154256385971016820?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/12/ffmpeg-mts-to-mov-with-dnxhd.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-7525192505203401823</guid><pubDate>Fri, 25 Dec 2009 05:16:00 +0000</pubDate><atom:updated>2009-12-27T21:19:16.795+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>video editing</category><title>Sony Vegas - it's worth the trouble to get it to work</title><description>&lt;div&gt;After battling for hours - I have the solution.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Problem: Sony Vegas won't play audio for .MP4 - they blame QuickTime (LAME!!). All other non-pro video editors suck. Apart from the ones I blogged about - I tried a whole bunch of open source ones. They all suck.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Solution: &lt;/div&gt;&lt;div&gt;1. Pay for Sony Vegas (incentive to get it to work + I'm a Sony whore even though their laptops suck)&lt;/div&gt;&lt;div&gt;2. Download &lt;a href="http://www.avid.com/dnxhd/"&gt;DNxHD codec from Avid&lt;/a&gt; woohoo for open standards!&lt;/div&gt;&lt;div&gt;3. Set up a nice &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt; install in &lt;a href="http://www.virtualbox.org/"&gt;VirtualBox&lt;/a&gt; (I'll have to dual boot until Civilization and Vegas run native under Linux.) Skip this step if you are &lt;a href="http://ffmpeg.arrozcru.org/"&gt;hard core&lt;/a&gt; enough to compile ffmpeg to work under Windows.&lt;/div&gt;&lt;div&gt;4. Praise the mighty &lt;a href="http://ffmpeg.org/"&gt;ffmpeg&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;ffmpeg -i INPUT.MP4 -vcodec dnxhd -b 60Mb -acodec pcm_s16be OUTPUT.MOV&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. Boom. You're ready!!!&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-7525192505203401823?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/12/sony-vegas-its-worth-trouble-to-get-it.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-6588269425122520461</guid><pubDate>Wed, 23 Dec 2009 05:32:00 +0000</pubDate><atom:updated>2009-12-23T07:47:48.144+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>video editing</category><title>Video Editing - With Adobe Premier Elements 8</title><description>Awesome i7 chip, 7200rpm drive is decent enough - lets give this a spin&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Massive download, install Adobe Premier Elements 8&lt;/div&gt;&lt;div&gt;2) Woohoo! It can edit .MP4 files!!!&lt;/div&gt;&lt;div&gt;3) Ok. It stopped working. W.T.F??? &lt;/div&gt;&lt;div&gt;3.1) Damnit! Fine - I'm learning how to use ffmpeg&lt;/div&gt;&lt;div&gt;3.2) Install ubuntu in virtualbox - I'm not rebooting all the time&lt;/div&gt;&lt;div&gt;3.3) ffmpeg -i M4H00471.MP4 -vcodec mjpeg -sameq output.avi&lt;/div&gt;&lt;div&gt;4) Ok - sweet - I can open my files&lt;/div&gt;&lt;div&gt;4.1) I wonder if it works in Vegas now?&lt;/div&gt;&lt;div&gt;4.1.1) Nope&lt;/div&gt;&lt;div&gt;5) Ok - lets do some easy fade in / fade out effects&lt;/div&gt;&lt;div&gt;5.1) Damn this shit is slow.&lt;/div&gt;&lt;div&gt;5.2) DAMN!!! THIS IS SLOW!!!&lt;/div&gt;&lt;div&gt;5.3) W.T.F? It's not even touching my processor! My machine is just sitting back and relaxing! &lt;/div&gt;&lt;div&gt;5.3.1) Lots of free memory also... hmmm...&lt;/div&gt;&lt;div&gt;5.4) Ok ok - maybe I need to defrag?&lt;/div&gt;&lt;div&gt;5.5) Still slow as all hell.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Come on!!! How hard can this be! I just want to edit some some video mp4 video from my little digital camera. 720p 30 - that's not even a crazy high resolution. It should be a dream!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-6588269425122520461?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/12/video-editing-with-adobe-premier.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-4642343419957301353</guid><pubDate>Mon, 07 Dec 2009 03:04:00 +0000</pubDate><atom:updated>2009-12-23T07:48:06.311+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>video editing</category><title>Video Editing - With Kdenlive</title><description>New laptop with Ubuntu Karmic Koala. Time to edit those holiday videos.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Hello Kdenlive. Ok.. lets load in all the clips... BOOM CRASH.&lt;/div&gt;&lt;div&gt;2) Ok. Let's try only one. Hmm... sound playback kinda broken. Let's drag it on anyway. BOOM CRASH.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SOD THIS!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-4642343419957301353?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/12/video-editing-with-kdenlive.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-5627415703967260196</guid><pubDate>Mon, 07 Dec 2009 02:14:00 +0000</pubDate><atom:updated>2009-12-23T07:48:16.861+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>video editing</category><title>Video Editing - With Sony Vegas Platinum 9.0</title><description>New laptop with Windows 7. Time to edit those holiday videos.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) After messing around and trying to figure out what I was doing wrong.... No sound? Oh excuse me - mp4 from my Sony DVC doesn't provide a understandable audio track?&lt;/div&gt;&lt;div&gt;1.1) Ok - I'll convert it to something else&lt;/div&gt;&lt;div&gt;1.1.1) To VLC!&lt;/div&gt;&lt;div&gt;1.1.1.1)  .OGG maybe? .OGG with VLC - bad quality, and sound is skippy. And Vegas can't play it.&lt;/div&gt;&lt;div&gt;1.1.1.2) .ASF then. Blegh. I think VLC is a bit ill.&lt;/div&gt;&lt;div&gt;1.1.2) Sod VLF - there must be something else! Ooow how about handbrake?&lt;/div&gt;&lt;div&gt;1.1.2.1) Nope - only for transcoding to nice little happy viewable formats.&lt;/div&gt;&lt;div&gt;1.1.3) MediaCoder?&lt;/div&gt;&lt;div&gt;1.1.3.1) Need 7zip to extract&lt;/div&gt;&lt;div&gt;1.1.3.2) Error code 8? That doesn't help me!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Forget this!!! I'm booting back into ubuntu!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-5627415703967260196?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/12/video-editing-with-sony-vegas-platinum.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-5007336357444907314</guid><pubDate>Mon, 23 Nov 2009 10:18:00 +0000</pubDate><atom:updated>2009-11-23T12:18:11.459+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><category domain='http://www.blogger.com/atom/ns#'>terminate</category><title>xkill</title><description>alt-f2 xkill&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;killing those nasty applications that i make...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-5007336357444907314?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/11/xkill.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-5543019826341101251</guid><pubDate>Mon, 23 Nov 2009 04:05:00 +0000</pubDate><atom:updated>2009-11-23T06:07:06.645+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>internet radio</category><category domain='http://www.blogger.com/atom/ns#'>streaming music</category><title>I should be studying</title><description>So of course - even under the pressure of imminent exams (11 hours left) I find distractions - like turning my old laptop into a media center.....&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://www.soma.fm/&lt;/div&gt;&lt;div&gt;http://www.bpm.fm/&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-5543019826341101251?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/11/i-should-be-studying.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-2188140686231198488</guid><pubDate>Wed, 11 Nov 2009 22:58:00 +0000</pubDate><atom:updated>2009-11-23T06:04:22.235+02:00</atom:updated><title>Dell Studio 15 (1557)</title><description>Got my new Dell Studio 15 (Studio 1557) yesterday!!&lt;br /&gt;&lt;br /&gt;I love it. Hello i7. I love your fast speedy cpu Intel!!!!&lt;br /&gt;&lt;br /&gt;Wasted no time in reinstalling Windows 7 on a small partition. (Thanks Dell for only increasing the memory footprint by 200meg with your random crapware - but I still prefer a clean install)&lt;br /&gt;&lt;br /&gt;Ubuntu install was a bit painful. I haven't had a clean install since 8.10 - things started going wrong for me at 9.04. Don't let this happen Canonical! So q.c please!&lt;br /&gt;&lt;br /&gt;The problems are all sound related - using the default volume keys caused craziness - and after installing a few things, sounds stopped working. Maybe that ATI drivers caused it? Anyway - solution to no sound on the dell is:&lt;br /&gt;In file&lt;br /&gt;/etc/modprobe.d/alsa-base:&lt;br /&gt;Add another entry:&lt;br /&gt;options snd-hda-intel model=dell-m6&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-2188140686231198488?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/11/dell-studio-15-1557.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-6420902301276513076</guid><pubDate>Mon, 19 Oct 2009 21:23:00 +0000</pubDate><atom:updated>2009-10-19T23:32:46.095+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>boring</category><category domain='http://www.blogger.com/atom/ns#'>code</category><category domain='http://www.blogger.com/atom/ns#'>c#</category><category domain='http://www.blogger.com/atom/ns#'>net</category><category domain='http://www.blogger.com/atom/ns#'>geek</category><title>WPF and the modal dialog (boring)</title><description>&lt;div&gt;Warning boring tech related blog entry follows:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Holy cows! WPF has made it VERY difficult to create a modal dialog box. It's difficult, because to do it properly, your modal dialog has to have a pointer to it's parent window. You can skip this step, have have one of those really junky applications that hide away your modal dialog in a land far far away.&lt;br /&gt;&lt;br /&gt;The trick (hack) is the following&lt;br /&gt;&lt;br /&gt;1) You need a System.IntPtr containing a pointer to the windows handle (this.Handle if you are lucky enough to be in a System.Windows.Window.Form)&lt;br /&gt;&lt;br /&gt;2) You need to feed this pointer into your dialog thusly:&lt;br /&gt;&lt;br /&gt;WindowInteropHelper wih = new WindowInteropHelper(myUserControl);&lt;br /&gt;wuh.Owner = myIntPtr;&lt;br /&gt;// then, with magical flair:&lt;br /&gt;myUserControl.ShowDialog();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-6420902301276513076?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/10/wpf-and-modal-dialog-boring.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-2038345885500459099</guid><pubDate>Tue, 13 Oct 2009 21:59:00 +0000</pubDate><atom:updated>2009-11-24T22:26:37.880+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>.net</category><category domain='http://www.blogger.com/atom/ns#'>programming</category><category domain='http://www.blogger.com/atom/ns#'>log4net</category><category domain='http://www.blogger.com/atom/ns#'>coding</category><title>log4net</title><description>I keep forgetting how to switch on log4net (using app.config)&lt;br /&gt;&lt;br /&gt;I always end up wasting time on the apache docs, and searching the net to find this&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 0:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Ensure that the first declaration of&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;div&gt;"private static readonly log4net.ILog Log =log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);"&lt;/div&gt;&lt;div&gt;Occurs in your main assembly - if the first declaration is in linked assemblies, it won't load the setting correctly.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Step 1: Edit AssemblyInfo.cs&lt;/b&gt;&lt;br /&gt;[assembly: log4net.Config.XmlConfigurator(Watch = true)]&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step 2: Edit App.config&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Important! The configSections bit has to be at the top of your config file. So if you've got an existing one, don't just add it on to the end!&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;br /&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&amp;lt;configSections&amp;gt;&lt;br /&gt;&amp;lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /&amp;gt;&lt;br /&gt;&amp;lt;/configSections&amp;gt;&lt;br /&gt;&amp;lt;log4net&amp;gt;&lt;br /&gt;&amp;lt;appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" &amp;gt;&lt;br /&gt;  &amp;lt;layout type="log4net.Layout.PatternLayout"&amp;gt;&lt;br /&gt;    &amp;lt;conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" /&amp;gt;&lt;br /&gt;  &amp;lt;/layout&amp;gt;&lt;br /&gt;&amp;lt;/appender&amp;gt;&lt;br /&gt;&amp;lt;root&amp;gt;&lt;br /&gt;  &amp;lt;level value="INFO" /&amp;gt;&lt;br /&gt;  &amp;lt;appender-ref ref="ConsoleAppender" /&amp;gt;&lt;br /&gt;&amp;lt;/root&amp;gt;&lt;br /&gt;&amp;lt;/log4net&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 3:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Need more example files - go to &lt;a href="http://logging.apache.org/log4net/release/config-examples.html"&gt;http://logging.apache.org/log4net/release/config-examples.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-2038345885500459099?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/10/log4net.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-3833239738939680906</guid><pubDate>Thu, 27 Aug 2009 03:31:00 +0000</pubDate><atom:updated>2009-12-23T07:48:43.521+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>photography</category><title>"enfuse - poor man's HDR"</title><description>Maybe I'm just too lazy for HDR.&lt;br /&gt;&lt;br /&gt;I think align_image_stack and enfuse are my new best friends.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/align_image_stack_enfuse_2726-790421.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://www.secondbestblog.com/uploaded_images/align_image_stack_enfuse_2726-790069.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-3833239738939680906?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/08/enfuse-poor-mans-hdr.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-5927813117143762257</guid><pubDate>Thu, 25 Jun 2009 06:27:00 +0000</pubDate><atom:updated>2009-06-25T08:29:21.981+02:00</atom:updated><title>North Korea!!</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/sybrand_world_map-735662.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 175px;" src="http://www.secondbestblog.com/uploaded_images/sybrand_world_map-735346.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;I totally forgot about North Korean!!! An updated world map is in order!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-5927813117143762257?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/06/north-korea.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-322071661627270826</guid><pubDate>Sat, 04 Apr 2009 01:10:00 +0000</pubDate><atom:updated>2009-04-04T03:15:32.113+02:00</atom:updated><title>Spring time in Calgary</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/DSC08511.resized-709622.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://www.secondbestblog.com/uploaded_images/DSC08511.resized-709565.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;It's spring time in Calgary! (Which is kind of like saying it's summer at the North Pole)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-322071661627270826?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/04/spring-time-in-calgary.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-5420343255319165350</guid><pubDate>Tue, 03 Mar 2009 17:53:00 +0000</pubDate><atom:updated>2009-03-04T21:03:46.745+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Johann</category><category domain='http://www.blogger.com/atom/ns#'>javafx</category><title>A game for a sad friend</title><description>One of my friends is a bit sad. So... I made a game to cheer him up!!!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.secondbestblog.com/happy_game/HappyGame.jnlp"&gt;Click here to launch it!&lt;/a&gt; (You need Java)&lt;br /&gt;&lt;br /&gt;It's a text based adventure game, that simulates real life.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-5420343255319165350?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/03/game-for-sad-friend.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-381357397517519498</guid><pubDate>Fri, 27 Feb 2009 01:17:00 +0000</pubDate><atom:updated>2009-02-27T04:02:26.069+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>java</category><category domain='http://www.blogger.com/atom/ns#'>dom</category><category domain='http://www.blogger.com/atom/ns#'>xml</category><title>XML, DOM, JAVA</title><description>One of those things that I never bother remembering the exact details of, but end up having to look up on the internet all the time.&lt;br /&gt;&lt;br /&gt;Note to self: XML, DOM, JAVA&lt;br /&gt;Taken from this guys site: http://www.genedavis.com/library/xml/java_dom_xml_creation.jsp&lt;br /&gt;Also a bit from here: http://www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html&lt;br /&gt;&lt;br /&gt;// get dom doc&lt;br /&gt;DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();&lt;br /&gt;DocumentBuilder docBuilder = dbfac.newDocumentBuilder();&lt;br /&gt;Document doc = docBuilder.newDocument();&lt;br /&gt;// Document doc = docBuilder.parse(new File(inputFilename));&lt;br /&gt;&lt;br /&gt;// -- insert building dom here&lt;br /&gt;        &lt;br /&gt;// get dom transformer&lt;br /&gt;TransformerFactory transfac = TransformerFactory.newInstance();&lt;br /&gt;Transformer trans = transfac.newTransformer();&lt;br /&gt;// make dom into something useful&lt;br /&gt;FileWriter fw = new FileWriter(new File(outputFilename));&lt;br /&gt;StreamResult result = new StreamResult(fw);&lt;br /&gt;DOMSource source = new DOMSource(doc);&lt;br /&gt;trans.transform(source, result);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-381357397517519498?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2009/02/xml-dom-java.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-6675797225421009083</guid><pubDate>Thu, 27 Nov 2008 02:28:00 +0000</pubDate><atom:updated>2008-11-27T04:32:19.475+02:00</atom:updated><title>World Map Update</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/sybrand_world_map-732519.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 175px;" src="http://www.secondbestblog.com/uploaded_images/sybrand_world_map-730227.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Explosions in Mumbai, have earned India a red dot.&lt;br /&gt;&lt;br /&gt;World wide piracy also, can no longer be ignore.&lt;br /&gt;&lt;br /&gt;I present, my most up to date "World Map of Places that are too dangerous or uncomfortable to live in"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-6675797225421009083?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2008/11/world-map-update.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-8052852804449342570</guid><pubDate>Tue, 11 Nov 2008 03:28:00 +0000</pubDate><atom:updated>2008-11-11T05:55:03.914+02:00</atom:updated><title>Bored with blogging</title><description>I'm bored with blogging. (For a while at least)&lt;br /&gt;&lt;br /&gt;If you want to know what I've been up to - check out &lt;a href="http://picasaweb.google.com/sybrand.strauss"&gt;http://picasaweb.google.com/sybrand.strauss&lt;/a&gt; - I'm keeping that up to date.&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/7mmK2sjZKs4"&gt; &lt;/param&gt; &lt;embed src="http://www.youtube.com/v/7mmK2sjZKs4" type="application/x-shockwave-flash" width="425" height="350"&gt; &lt;/embed&gt; &lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-8052852804449342570?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2008/11/bored-with-blogging.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-1724682906716684820</guid><pubDate>Wed, 22 Oct 2008 03:37:00 +0000</pubDate><atom:updated>2008-10-22T06:13:24.310+02:00</atom:updated><title>Went biking in Kan an as kis</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/DSC06819-741862.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://www.secondbestblog.com/uploaded_images/DSC06819-741303.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Hmmm... why do I blog if Picasa Web is so much nicer?&lt;br /&gt;&lt;br /&gt;More photos here - &lt;a href="http://picasaweb.google.com/sybrand.strauss/KanAnAsKis#"&gt;http://picasaweb.google.com/sybrand.strauss/KanAnAsKis#&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-1724682906716684820?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2008/10/went-biking-in-kan-as-kis.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-247677848454458038</guid><pubDate>Tue, 21 Oct 2008 03:53:00 +0000</pubDate><atom:updated>2008-10-21T06:14:04.529+02:00</atom:updated><title>Busy busy busy</title><description>No blogging for a while now, because I've been VERY busy writing &lt;a href="http://en.wikipedia.org/wiki/University_of_South_Africa"&gt;exams&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;First thing, the most delayed - I have to document Daniels epic trip from Calgary to Montreal.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;August 30, 2008&lt;/span&gt; - Daniel leaves on an epic bike trip, from Calgary, to Montreal. Adina accompanies him on his 1st day.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/boy_08_30.resized-718921.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://www.secondbestblog.com/uploaded_images/boy_08_30.resized-718601.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;September 3rd, 2008&lt;/span&gt; - Daniel leaves on an epic bike trip, from Calgary, to Montreal. I accompany him an entire city block.&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/boy_09_01.resized-719324.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://www.secondbestblog.com/uploaded_images/boy_09_01.resized-719025.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;September 8, 2008&lt;/span&gt; - Daniel leaves on an epic flight, from Calgary to Ottawa.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/boy_09_08.resized-746869.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://www.secondbestblog.com/uploaded_images/boy_09_08.resized-746542.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-247677848454458038?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2008/10/busy-busy-busy.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-8581190149922371482</guid><pubDate>Sat, 06 Sep 2008 04:42:00 +0000</pubDate><atom:updated>2008-10-31T00:28:44.711+02:00</atom:updated><title>WindowsXP on HP dv2716ca</title><description>&lt;div&gt;XP can be installed and run on "Vista only" HP machines - at least on the dv2716ca - I have done so.&lt;br /&gt;&lt;br /&gt;I don't like Vista. I gave it a fair chance, it was so bad - that I moved away from Microsoft completely, to Ubuntu. Ubuntu is a dream compared to Vista. I like XP - but lets face it, it's dying (or being killed). The future is Linux, Tiger and Vista. I'm not going to hold onto XP, the reality is, that if Microsoft doesn't move forward, and doesn't kill XP - they will lose to Mac and GNU.&lt;/div&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;I can spew lots of negative things about Microsoft and HP at this point, for colliding to killing XP by deliberately hiding their XP drivers, but whatever. I wanted XP on my laptop, because neither Vista, nor Ubuntu is any good for the collection of computer games I have amassed over the years. I like computer games, that's why I like XP. Maybe one day Wine will be good enough - but I don't think so.&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;What follows, is a brief description of what is needed to get an HP Pavilion dv2716ca to boot Vista, XP and Ubuntu. The same should go for most dv2700.&lt;br /&gt;&lt;br /&gt;I should put in here - HP does NOT recommend you do this. You probably will lose all support, and for all I know your warranty to. For that matter - don't hold me responsible if your computer is completely useless after doing all of this. Put on you adventure hat!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Install Ubuntu.&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Resize your Vista partition. I booted into &lt;a href="http://www.knoppix.net/"&gt;knoppix &lt;/a&gt;and used gparted. Sizes are up to you. Make a NTFS partition for your XP install, and leave the rest of the space unallocated, for your &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt; install. I created a 5 gig XP partition, it's enough for XP and nothing else, because I'll be installing my software on my Vista drive, and on a removable hard drive.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Install Ubuntu.&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;Create a slipstreamed XP install CD.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Your old XP code won't work, because it doesn't have the right drivers.  If you slipstream it on Vista, your CD key might stop working. So you need to slipstream a XP install CD on an XP machine.&lt;br /&gt;&lt;br /&gt;I don't have another XP machine, so I installed VirtualBox OSE on Ubuntu, and installed a copy of XP there.&lt;br /&gt;&lt;br /&gt;You can do it manually, or the easy way, use &lt;a href="http://www.nliteos.com/"&gt;nLite&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I found my SATA drivers on the HP site, but they are on the Intel site also.  (Intel Matrix Storage Manager - &lt;a href="http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-56416-1&amp;amp;lc=en&amp;amp;dlc=&amp;amp;cc=us&amp;amp;lang=&amp;amp;os=228&amp;amp;product=3653336"&gt;sp38088.exe&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Install XP and get back Ubuntu and Vista&lt;/span&gt;&lt;br /&gt;XP will now work, but Vista and Ubuntu have disappeared.&lt;br /&gt;There are a few million different ways to do this. Ubuntu is easy, but you need to fix Vista first, that's just how it goes. There are lots of places on the net that say how - I'm not going to repeat - &lt;a href="http://www.google.com/search?q=vista+recover+boot&amp;amp;sourceid=navclient-ff&amp;amp;ie=UTF-8&amp;amp;rlz=1B3GGGL_enCA285CA285"&gt;Google&lt;/a&gt; it!&lt;br /&gt;Getting Ubuntu back is easy also, I'm not going to pretend I know what bootloader you are using - so you have to figure that out. I used grub. Basically boot up Ubuntu with your live cd and Google it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Install drivers&lt;/span&gt;&lt;br /&gt;This the tricky bit. I spent a few hours using lspci on linux to identify drivers, and try them on XP. ALL the drivers are there. Mostly on the Intel site, and on the HP site. The only trick was the card reader - that took lots of searching.&lt;br /&gt;The only thing I haven't been able to get to work thus far - is the sound. Well - it works, but plugging in the headphones doesn't mute the built in speakers.&lt;br /&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-8581190149922371482?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2008/09/windowsxp-on-hp-dv2716ca.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-1173023833560657433</guid><pubDate>Mon, 01 Sep 2008 03:21:00 +0000</pubDate><atom:updated>2008-09-01T05:26:10.950+02:00</atom:updated><title>Why I brought my bicycle to Canada</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/DSC06290-DSC06293_again-770152.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://www.secondbestblog.com/uploaded_images/DSC06290-DSC06293_again-769751.jpg" alt="" border="0" /&gt;&lt;/a&gt;The first time I went to lake &lt;a href="http://en.wikipedia.org/wiki/Lake_Minnewanka"&gt;Mini Wanker&lt;/a&gt;, I kept thinking to myself - "it would be nice to bring my mountain bike here".&lt;br /&gt;&lt;br /&gt;So I did.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-1173023833560657433?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2008/09/why-i-brought-my-bicycle-to-canada.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7855900.post-765461435440200916</guid><pubDate>Thu, 21 Aug 2008 00:22:00 +0000</pubDate><atom:updated>2008-08-21T05:40:52.623+02:00</atom:updated><title>Sony Walkman (NWZ-B105F) on Ubuntu</title><description>Every now and then Ubuntu isn't quite as user friendly as I'd like it to be - and I have to learn something new about linux.&lt;br /&gt;This time, my dandy new Sony Walkman (NWZ-B105F) doesn't get auto-deteced when I plug it in. (It's being discontinued, so it's going for cheap at the sony store in Calgary)&lt;br /&gt;&lt;br /&gt;Thanks to &lt;a href="http://ubuntu-virginia.ubuntuforums.org/showthread.php?t=866297"&gt;http://ubuntu-virginia.ubuntuforums.org/showthread.php?t=866297&lt;/a&gt; - it's not a problem - just use &lt;a href="http://en.wikipedia.org/wiki/Mount_%28Unix%29"&gt;pmount&lt;/a&gt; to mount a device accessible by any user.&lt;br /&gt;&lt;br /&gt;where is my walkman?&lt;br /&gt;sudo fdisk -l&lt;br /&gt;mount it!&lt;br /&gt;pmount /dev/sdb1 /media/Walkman&lt;br /&gt;&lt;br /&gt;Done! Ubuntu pops up with a link on my desktop to unmount it - but it doesn't work - so I have to do:&lt;br /&gt;sudo umount /media/Walkman&lt;br /&gt;&lt;br /&gt;ALTERNATIVELY!!!&lt;br /&gt;Go to the Sony site, and download the new firmware. Then it just works. :)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.secondbestblog.com/uploaded_images/DSC06145-DSC06146-746396.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://www.secondbestblog.com/uploaded_images/DSC06145-DSC06146-745717.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;What have I been up to?? Nothing much... Last thing of note was going to &lt;a href="http://picasaweb.google.com/sybrand.strauss/Saskatchewoozle"&gt;Saskatchamawoozle&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7855900-765461435440200916?l=www.secondbestblog.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.secondbestblog.com/2008/08/sony-walkman-nwz-b105f-on-ubuntu.html</link><author>noreply@blogger.com (Sybrand Strauss)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item></channel></rss>