<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AndrewsBlog &#187; Technology</title>
	<atom:link href="http://andrewsblog.org/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewsblog.org</link>
	<description>Stories of an ex-erasmus student</description>
	<lastBuildDate>Fri, 26 Mar 2010 15:02:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Partition Recovery and Virus removing</title>
		<link>http://andrewsblog.org/2009/02/27/partition-recovery-and-virus-removing/</link>
		<comments>http://andrewsblog.org/2009/02/27/partition-recovery-and-virus-removing/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 15:58:38 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/2009/02/27/partition-recovery-and-virus-removing/</guid>
		<description><![CDATA[If you ever find that some partitions are missing on your Windows PC, try using Active Partition Recovery. It saved my ass two times already.
Today I booted my bloody windows box and 3 partitions were missing, and I had a pretty bad Virus infection. Booting windows in safe mode i could remove the entries made [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever find that some partitions are missing on your Windows PC, try using <a href="http://www.partition-recovery.com/" title="Active@ Partition Recovery. Recover Deleted Partition. Undelete NTFS &#038; FAT partitions.">Active Partition Recovery</a>. It saved my ass two times already.</p>
<p>Today I booted my bloody windows box and 3 partitions were missing, and I had a pretty bad <a href="http://www.threatexpert.com/report.aspx?md5=93d1e90733f8f936ef1f292f104389da" title="ThreatExpert Report: Trojan-GameThief.Win32.Magania.avlc, PWS-Gamania.gen.g, Worm:Win32/Taterf.B..">Virus infection</a>. Booting windows in safe mode i could remove the entries made to my system from the trojan and scan the systems folders for more trojans with ClamWin open source anti-virus software.</p>
<p>Problem 2 was a bit easier as I had already dealt with &#8216;deleted&#8217; partitions before. Booting from the floppy and searching for the missing partitions was not too hard. </p>
<p>After two hours of misery, the machine is working again. I swear this is the last Windows box I&#8217;ll ever buy. I&#8217;ll probably replace it with a MacMini when the new version comes out.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2009/02/27/partition-recovery-and-virus-removing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The future of user interfaces</title>
		<link>http://andrewsblog.org/2008/11/16/the-future-of-user-interfaces/</link>
		<comments>http://andrewsblog.org/2008/11/16/the-future-of-user-interfaces/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 18:04:12 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[minority report]]></category>
		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/?p=45</guid>
		<description><![CDATA[John Underkoffler, a technical advisor for Minority Report, worked on the 3D computersystem for the 2002 Spielberg movie. Today he is the head researcher for Oblong Industries, a company that develops a &#8220;spacial operating environment&#8221; named g-speak. Take a look for yourself:

(click on the full screen button on the lower right of the movie player)

If [...]]]></description>
			<content:encoded><![CDATA[<p>John Underkoffler, a technical advisor for Minority Report, worked on the 3D computersystem for the 2002 Spielberg movie. Today he is the head researcher for Oblong Industries, a company that develops a &#8220;spacial operating environment&#8221; named g-speak. Take a look for yourself:</p>
<p align="center">
<object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2229299&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2229299&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object><br/><small><em>(click on the full screen button on the lower right of the movie player)</em></small>
</p>
<p>If this is how future user interfaces will look like, i want one!</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2008/11/16/the-future-of-user-interfaces/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mounting a Linux software raid array with lvm</title>
		<link>http://andrewsblog.org/2008/11/16/mounting-a-linux-software-raid-array-lvm/</link>
		<comments>http://andrewsblog.org/2008/11/16/mounting-a-linux-software-raid-array-lvm/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 16:44:59 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/?p=46</guid>
		<description><![CDATA[I recently had a hard drive crash on my home Linux NAS box. The important files were on a software raid 5 array, but the root filesystem (with the majority of the OS) were on a separate IDE hard drive. 
Only the IDE drive crashed so my important files were safe, but I needed to [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a hard drive crash on my home Linux <a href="http://en.wikipedia.org/wiki/Network-attached_storage" target="_blank" title="Network-attached storage - Wikipedia">NAS</a> box. The important files were on a software raid 5 array, but the root filesystem (with the majority of the OS) were on a separate IDE hard drive. </p>
<p>Only the IDE drive crashed so my important files were safe, but I needed to remount the raid array. It took me quite a while before I got that right, so I&#8217;ll share my knowledge here for you. Here are the commands needed to reconstruct / remount a raid array with a Gentoo live cd:<br />
<span id="more-46"></span><br />
load the raid module and lvm driver if you need to:</p>
<p><code># modprobe raid5<br />
# modprobe dm-mod</code></p>
<h4>Find the UUID&#8217;s of the devices</h4>
<p>( you can skip this step if you have a backup of your /etc/mdadm.conf file )</p>
<p><code># mdadm --examine --scan /dev/sda1</code></p>
<p>Where /dev/sda1 points to one of the partitions used for the raid array. The output looks like this on my box: </p>
<p><code>ARRAY /dev/md1 level=raid5 num-devices=4 UUID=94366f38:ccdadda0:06f85cb1:f1263d52</code></p>
<p>copy it to /etc/mdadm.conf</p>
<p><code># mdadm --examine --scan /dev/sda1 >> /etc/mdadm.conf</code></p>
<p>Now we need to add a list of devices to mdadm.conf of where to look for member disks:<br/><br />
(manually add this to mdadm.conf, the devices i had to add where /dev/sda1 to /dev/sdd1)</p>
<p><code>DEVICE /dev/sd[abcd]1</code></p>
<p>At the end that leaves us with this in our mdadm.conf file:</p>
<p><code>DEVICE /dev/sd[abcd]1<br />
ARRAY /dev/md1 level=raid5 num-devices=4 UUID=94366f38:ccdadda0:06f85cb1:f1263d52</code></p>
<h4>Assemble the raid array</h4>
<p>We make the mirror device node:</p>
<p><code># mknod /dev/md1 b 9 1</code></p>
<p>Assemble the array:</p>
<p><code># mdadm --assemble --scan </code></p>
<p>You can check /proc/mdstat to see if the array is online:</p>
<p><code># cat /proc/mdstat<br />
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]<br />
md1 : active raid5 sda1[0] sdd1[3] sdc1[2] sdb1[1]<br />
      937705728 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]</code></p>
<h4>Activate the logical volumes</h4>
<p><code># vgscan</code></p>
<p>Scans your disk and should show you the Volume Group that was on the raid array and add it to the lvm database</p>
<p><code># vgchange -ay</code></p>
<p>This should activate the volumes and auto create the nodes in /dev</p>
<h4>Mount the filesystems</h4>
<p>I just needed to mount the filesystems just like I would mount a regular one:</p>
<p><code>mount --type ext3 /dev/vg2/var /mnt/gentoo/var</code> </p>
<p>Hope this helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2008/11/16/mounting-a-linux-software-raid-array-lvm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The purpose of the LHC</title>
		<link>http://andrewsblog.org/2008/09/22/the-purpose-of-the-lhc/</link>
		<comments>http://andrewsblog.org/2008/09/22/the-purpose-of-the-lhc/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 09:32:15 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[cern]]></category>
		<category><![CDATA[lhc]]></category>
		<category><![CDATA[presentation]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/2008/09/22/the-purpose-of-the-lhc/</guid>
		<description><![CDATA[If you -like me- are wondering why CERN build the Large Hadron Collider and what they will use it for, I found this presentation by Brian Cox very fascinating and informative.



The wikipedia entry for the LHC has plenty of extra information.
]]></description>
			<content:encoded><![CDATA[<p>If you -like me- are wondering why CERN build the Large Hadron Collider and what they will use it for, I found this presentation by Brian Cox very fascinating and informative.</p>
<p><center><br />
<!--cut and paste--><object width="446" height="326"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param><param name="flashvars" value="vu=http://video.ted.com/talks/embed/BrianCox_2008-embed_high.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/BrianCox-2008.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=253" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="446" height="326" allowFullScreen="true" flashvars="vu=http://video.ted.com/talks/embed/BrianCox_2008-embed_high.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/BrianCox-2008.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=253"></embed></object><br />
</center></p>
<p><a href="http://en.wikipedia.org/wiki/Large_Hadron_Collider" title="Large Hadron Collider - Wikipedia, the free encyclopedia">The wikipedia entry</a> for the LHC has plenty of extra information.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2008/09/22/the-purpose-of-the-lhc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SuperDuper and missing fonts</title>
		<link>http://andrewsblog.org/2007/08/31/superduper-and-missing-fonts/</link>
		<comments>http://andrewsblog.org/2007/08/31/superduper-and-missing-fonts/#comments</comments>
		<pubDate>Fri, 31 Aug 2007 16:52:09 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/2007/08/31/superduper-and-missing-fonts/</guid>
		<description><![CDATA[The only problem I have with my 13&#8243; MacBook is the tiny harddrive. 60GB really isn&#8217;t enough these days. So today I bought a new hard drive, a Seagate Momentus 160GB 7200rpm. 
The installation went easier than I thought. Except, as you might have guessed from this post&#8217;s title, something did go wrong with the [...]]]></description>
			<content:encoded><![CDATA[<p>The only problem I have with my 13&#8243; MacBook is the tiny harddrive. 60GB really isn&#8217;t enough these days. So today I bought a new hard drive, a Seagate Momentus 160GB 7200rpm. </p>
<p>The installation went easier than I thought. Except, as you might have guessed from this post&#8217;s title, something did go wrong with the fonts.</p>
<p><span id="more-8"></span></p>
<p>I started by copying the old drive to an external usb drive with <a href="http://www.shirt-pocket.com/SuperDuper/">SuperDuper</a> (a highly recommended <a href="http://en.wikipedia.org/wiki/Freemium%20business%20model">freemium</a> backup app) . Next I switched the old and new drive. Apple has <a href="http://manuals.info.apple.com/en/MacBook_13inch_HardDrive_DIY.pdf">this pdf</a> with instructions. Not mentioned in the instructions is the fact that you need a Torx T-7 screwdriver to unscrew the harddrive case.</p>
<p>To my surprise booting from the usb drive was a non-issue. As long as you&#8217;ve formatted the drive to be an Intel-mac bootable drive (In the Disk utility under the options button, choose GUID) it automatically boots from it if there is no other bootdisk. I used SuperDuper again to copy the external drive to the new harddisk. Great, still no errors!</p>
<p>One more reboot (now booting from the internal drive) and I would be ready. </p>
<p>The first thing that I noticed was that some icons in my dock had been replaced by folder icons and the links were pointing to a bunch of header files. Not a big deal, just replace the icons by dragging them from the applications folder.</p>
<p>I started to check if everything was still there, opened LightRoom and iTunes and saw all was OK. But when I opened a TextMate project I noticed the fonts were different. The font I normally use when programming is Anonymous, and it had apparently vanished from my system. Reinstalling the font didn&#8217;t work. Lots of fonts were missing in the Fontbook.</p>
<p>The solution to this problem is the font-cache. I don&#8217;t really understand this yet, but apparently you need to clean the cache and let your system rebuild it. Great, how do I do this? Well it seems Mark Douma created a small app just for this: <a href="http://homepage.mac.com/mdouma46/fontfinagler/">Font Finagler</a>. Just run it and click &#8216;Clean Font Cache&#8217; (you can do this for free 10 times) . A reboot later and you&#8217;re all done!</p>
<p>I haven&#8217;t found any other problems since I migrated to the new disk. I like the increase in speed  (the standard drive is a 5400rpm one) and capacity.</p>
<p>Just thought I&#8217;d blog about this issue as I couldn&#8217;t find it described anywhere else on the internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2007/08/31/superduper-and-missing-fonts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
