<?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>ScratchMyTail.com</title>
	<atom:link href="http://www.scratchmytail.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scratchmytail.com</link>
	<description>My little tech blog</description>
	<lastBuildDate>Fri, 13 Nov 2009 11:30:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Storing custom objects to disk on the iPhone</title>
		<link>http://www.scratchmytail.com/2009/11/06/storing-custom-objects-to-disk-on-the-iphone/</link>
		<comments>http://www.scratchmytail.com/2009/11/06/storing-custom-objects-to-disk-on-the-iphone/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 13:18:13 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[load array]]></category>
		<category><![CDATA[NSCoder]]></category>
		<category><![CDATA[NSCoding]]></category>
		<category><![CDATA[save array]]></category>
		<category><![CDATA[serialize objects]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=181</guid>
		<description><![CDATA[In this tutorial I will show you how you can store custom objects to disk on the iPhone. I will create a simple array containing custom Person objects. Then I will store the array to disk and afterwards load the array. The clue is to implement the NSCoding protocol in the Person class, or the [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I will show you how you can store custom objects to disk on the iPhone. I will create a simple array containing custom Person objects. Then I will store the array to disk and afterwards load the array. The clue is to implement the NSCoding protocol in the Person class, or the classes of the objects that we have in our array or dictionary.  It&#8217;s quite simple actually.</p>
<p><span id="more-181"></span></p>
<h3>Person.h</h3>
<p>In the code below we define the interface of the Person class. Notice the NSCoding protocol in the interface header.</p>
<pre>
<blockquote>
@interface Person : NSObject &lt;NSCoding&gt;
{
     NSString *firstName;
     NSString *secondName;
     NSString *phone;
}
@property (nonatomic, retain)NSString *firstName;
@property (nonatomic, retain)NSString *lastName;
@property (nonatomic, retain)NSString *phone;</blockquote>
</pre>
<h3>Person.m</h3>
<p>In the code below we can see the person implementation. Notice the implementation of the NSCoding protocol. We have to implement two methods, <em>encodeWithCoder</em> and <em>initWithCoder</em>. We tell the NSCoding protocol that we want to decode and encode all of the person&#8217;s members. We give the objects keys in the first method so that we are able to find them again later when we decode.</p>
<pre>
<blockquote>
@implementation Person
@synthesize firstName, secondName, phone;

- (void)encodeWithCoder:(NSCoder *)encoder {
    [encoder encodeObject:firstName forKey:@"firstName"];
    [encoder encodeObject:lastName forKey:@"lastName"];
    [encoder encodeObject:phone forKey:@"phone"];
}

- (id)initWithCoder:(NSCoder *)decoder {
    if (self = [super init]) {
        self.firstName = [decoder decodeObjectForKey:@"firstName"];
	self.lastName = [decoder decodeObjectForKey:@"lastName"];
	self.phone = [decoder decodeObjectForKey:@"phone"];
    }
    return self;
}</blockquote>
</pre>
<h3>Saving and loading an array</h3>
<p>In the code below we populate an array with two person objects, then we save the array to disk and afterwards load it.</p>
<pre>
<blockquote>
// Create two person objects
Person *person1 = [[Person alloc] init];
person1.firstName = @"Peter";
person1.lastName = @"Peterson";
person1.phone = @"12345678";

Person *person2 = [[Person alloc] init];
person2.firstName = @"Andrea";
person2.lastName = @"Peterson";
person2.phone = @"12345687";

// Put them into an array
NSArray *array = [[NSArray alloc] initWithObjects:person1, person2, nil];

// Save the array
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
                                                     NSUserDomainMask, YES);
NSString *docDir = [paths objectAtIndex:0];
NSString *fullFileName = [NSString stringWithFormat:@"%@/ourArray", docDir];
[NSKeyedArchiver archiveRootObject:array toFile:fullFileName];

// Load the array
NSMutableArray *arrayFromDisk = [NSKeyedUnarchiver
                                 unarchiveObjectWithFile:fullFileName];</blockquote>
</pre>
<h3>Conclusion</h3>
<p>Follow this tutorial if you want to save your arrays or dictionaries to disk for later use. Following this method is very simple and it actually works. I&#8217;ve read alot of different tutorials on the web, most of them suggest storing your objects either as .plist files or by using SQLite. I think following this method is both easy and efficient. Read more about the NSCoding protocol <a title="NSCoding" href="http://developer.apple.com/mac/library/documentation/cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html">here</a>.</p>
<p>EDIT: There was a bug in my code. fullFileName was missing %@/ in the stringWithFormat message.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/11/06/storing-custom-objects-to-disk-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Master Thesis</title>
		<link>http://www.scratchmytail.com/2009/10/31/my-master-thesis/</link>
		<comments>http://www.scratchmytail.com/2009/10/31/my-master-thesis/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 18:22:55 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Master's degree]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[University of Tromsø]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=175</guid>
		<description><![CDATA[I have now started on my second year as a master student at the Univeristy of Tromsø. The program is built up like this: first year = 6&#215;10 point courses, second, and last year, one large 60 points master thesis. I am currently working on this &#8220;enormous and scary&#8221; thesis. The thesis is a small [...]]]></description>
			<content:encoded><![CDATA[<p>I have now started on my second year as a master student at the Univeristy of Tromsø. The program is built up like this: first year = 6&#215;10 point courses, second, and last year, one large 60 points master thesis. I am currently working on this &#8220;enormous and scary&#8221; thesis. The thesis is a small puzzle in a larger project at the university. The main focus for this project is information availability, and how we can receive information based on our current context.</p>
<p>My task in this project is to build a system that makes information available, and handles context awareness. I am also building a prototype application which utilizes this system. The prototype is a bus application that runs on the iPhone. The main objective of this application is to receive route information based on the users current location.</p>
<p>The deadline for my master is 15th May 2010. There is of course a last exam where I must defend my thesis during a public presentation and a following closed oral examination. I will put my master out in to my portfolio when its history.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/10/31/my-master-thesis/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>It&#8217;s alive! The battle with web10.nu</title>
		<link>http://www.scratchmytail.com/2009/10/26/its-alive-the-battle-with-web10-nu/</link>
		<comments>http://www.scratchmytail.com/2009/10/26/its-alive-the-battle-with-web10-nu/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 10:47:15 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[proisp]]></category>
		<category><![CDATA[web hotell]]></category>
		<category><![CDATA[web10.nu]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=170</guid>
		<description><![CDATA[Scratchmytail.com has been down for a couple of months now (if you haven&#8217;t noticed). I&#8217;ve had enough, so I chose to move my files to a new provider, Pro ISP. My old provider, Web10.nu, claimed that some of my files were generating spam. So I decided to remove all the content and re-install Wordpress. After [...]]]></description>
			<content:encoded><![CDATA[<p>Scratchmytail.com has been down for a couple of months now (if you haven&#8217;t noticed). I&#8217;ve had enough, so I chose to move my files to a new provider, Pro ISP. My old provider, Web10.nu, claimed that some of my files were generating spam. So I decided to remove all the content and re-install Wordpress. After a couple of days they shut it down again, and so it went on for almost two months. I got tired of arguing with their support team when they claimed that my empty hotel generated spam. How can an empty web hotel generate spam? Crazy invicible scripts perhaps?</p>
<p>Anyways, ProISP is cheap and very good. Take a look at their homepage <a href="http://www.proisp.no/">ProISP.no</a> for more details.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/10/26/its-alive-the-battle-with-web10-nu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downtime caused by spam</title>
		<link>http://www.scratchmytail.com/2009/08/18/downtime-caused-by-spam/</link>
		<comments>http://www.scratchmytail.com/2009/08/18/downtime-caused-by-spam/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 10:44:57 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/2009/08/18/downtime-caused-by-spam/</guid>
		<description><![CDATA[A couple of weeks ago I received a mail stating that my site generated spam. I have now removed all random scripts and is currently hosting Wordpress alone. Hopefully the problem is fixed so they (web10.nu) don’t have to deactivate the site again. 
]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago I received a mail stating that my site generated spam. I have now removed all random scripts and is currently hosting Wordpress alone. Hopefully the problem is fixed so they (web10.nu) don’t have to deactivate the site again. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/08/18/downtime-caused-by-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Choosing the right lens isn&#8217;t easy</title>
		<link>http://www.scratchmytail.com/2009/06/30/choosing-the-right-lens-isnt-easy/</link>
		<comments>http://www.scratchmytail.com/2009/06/30/choosing-the-right-lens-isnt-easy/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 15:27:07 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Lens]]></category>
		<category><![CDATA[Photo]]></category>
		<category><![CDATA[Tamron 18-270mm]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=65</guid>
		<description><![CDATA[Lately I&#8217;ve been looking for a new lens for my digital SLR (Canon EOS 400D). I&#8217;m tired of not being able to zoom. The default lens, 18-55mm, has it’s limitations. So what are my options? If you own a DSLR camera you probably know that there’s a lot of lenses out there. I have found [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve been looking for a new lens for my digital SLR (Canon EOS 400D). I&#8217;m tired of not being able to zoom. The default lens, 18-55mm, has it’s limitations. So what are my options? If you own a DSLR camera you probably know that there’s a lot of lenses out there. I have found two lenses, I can buy an allround lens with 18-270mm focal length, or I can buy a telephoto lens with 55-250mm focal length. If I buy the 18-270mm I can throw away the 18-55mm, which actually is an advantage since I only need one lens covering the same range and even more. The 18-270mm is an excellent all-in-one lens with an amazing focal length. You can zoom in on items and take wide angle shots with the same lens! If I buy the 55-250mm lens I&#8217;m not able to take wide angle shots which is a drawback. This means that I may have to change lens if I suddenly want to take a wide angle shot.</p>
<p>Dpreview (Digital Photography Review), which is the best review site for photo equipment in my opinion, have benchmarked the 18-270mm lens, the test can be found <a href="http://www.dpreview.com/lensreviews/tamron_18-270_3p5-6p3_vc_n15/page3.asp">here</a>. I will make a decision soon. A personal review will of course be posted on my amazing blog. Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/06/30/choosing-the-right-lens-isnt-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>exam&#8217;s, Vacation, and papers</title>
		<link>http://www.scratchmytail.com/2009/06/03/exams-vacation-and-papers/</link>
		<comments>http://www.scratchmytail.com/2009/06/03/exams-vacation-and-papers/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 14:20:07 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Master's degree]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[University of Tromsø]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/2009/06/03/exams-vacation-and-papers/</guid>
		<description><![CDATA[Its been a long time since I wrote something constructive on this blog now (again). I have been very very very busy reading up for the final exams. Today I had an oral exam in the course “Advanced Distributed Systems”, it went okay I guess. Talked about MapReduce, Google File System, Dryad, Oivos, and some [...]]]></description>
			<content:encoded><![CDATA[<p>Its been a long time since I wrote something constructive on this blog now (again). I have been very very very busy reading up for the final exams. Today I had an oral exam in the course “Advanced Distributed Systems”, it went okay I guess. Talked about MapReduce, Google File System, Dryad, Oivos, and some other systems and concepts. </p>
<p>I’m going home to Mo i Rana 10th june after the “Advanced Database Systems” exam. I start working the 15th june at the National Library (Nasjonalbiblioteket) in my home town Mo i Rana. I don’t know what I’m going to do, but at least it’s some IT related stuff. </p>
<p>I have decided to “publish” the papers I have written this semester. You can find them in the list below with a short description. Enjoy. They are not that long.</p>
<ul>
<li>“<a href="http://www.scratchmytail.com/papers/document.pdf">Face Recognition</a>” – The paper was written as the second mandatory assignment in the “Advanced Database Systems” course. The paper is a survey type of paper. It sums up the different techniques used for detecting and recognizing faces in images. It is a very interesting topic. </li>
<li>“<a href="http://www.scratchmytail.com/papers/cha030-middleware-paper.pdf">Supporting Mobility in Content-Based Publish/Subscribe Middleware</a>” – This paper was written as the third mandatory assignment in the “Middleware” course. This paper is also a survey kind of paper. It sums up different techniques on how it is possible to support mobility in publish/subscribe system. Interesting read. </li>
<li>“<a href="http://www.scratchmytail.com/papers/cha030-optimizing-hadoop.pdf">Optimizing Hadoop for the Cluster</a>” – This paper was written as the second mandatory assignment in the “Advanced Distributed Systems” course. In this paper I describe how we can optimize Hadoop for its cluster. The experiments conducted shows that tweaking the default configuration gives two times smaller job-latency. Very interesting paper this as well. </li>
</ul>
<p>So thats an update for now. Have a nice summer. I will try my best to write more posts during the “vacation”. So stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/06/03/exams-vacation-and-papers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Summarizing Ubuntu 9.04</title>
		<link>http://www.scratchmytail.com/2009/04/23/summarizing-ubuntu-904/</link>
		<comments>http://www.scratchmytail.com/2009/04/23/summarizing-ubuntu-904/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 06:53:12 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=154</guid>
		<description><![CDATA[As you already know the new version of Ubuntu 9.04 is due to release later today. Several new features are included in the new version like: kernel 2.6.28-11.37, Gnome 2.26, and the a-lot-talked-about Ext4 file system. The main focus has been user experience. They have also worked hard on making the system boot faster.
I have [...]]]></description>
			<content:encoded><![CDATA[<p>As you already know the new version of Ubuntu 9.04 is due to release later today. Several new features are included in the new version like: kernel 2.6.28-11.37, Gnome 2.26, and the a-lot-talked-about Ext4 file system. The main focus has been <strong>user experience<em>. </em></strong>They have also worked hard on making the system boot faster.</p>
<p>I have gathered some links to other blogs/news-sites if you&#8217;re interested in more reading.</p>
<p><span id="more-154"></span></p>
<p>Some good sourced in-depth articles:</p>
<ul>
<li><a href="http://arstechnica.com/open-source/news/2009/04/ubuntu-904-release-candidate-arrives.ars">Arstechnica&#8217;s talk about the release candidate</a>.</li>
<li><a href="http://www.tgdaily.com/html_tmp/content-view-42022-140.html">TG Daily, high-level talk about new features</a>.</li>
<li><a href="http://lifehacker.com/5180833/first-look-at-ubuntu-904-jaunty-jackalope-beta">Lifehacker&#8217;s first look at the beta.</a></li>
</ul>
<p>Who doesn&#8217;t like an operating system that boots <strong>and</strong> opens FireFox in approx 25 seconds?</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/5GKohxZHNg4&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/5GKohxZHNg4&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/04/23/summarizing-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whats up doc?</title>
		<link>http://www.scratchmytail.com/2009/04/10/whats-up-doc/</link>
		<comments>http://www.scratchmytail.com/2009/04/10/whats-up-doc/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 16:33:47 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Master's degree]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[UIT]]></category>
		<category><![CDATA[University of Tromsø]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/2009/04/10/whats-up-doc/</guid>
		<description><![CDATA[Oh my god is this a post? Yeah, I know, haven&#8217;t been able to post that much on my awesome blog lately. To keep it short, school is a bitch. I am currently working on three mandatory assignments, first deadline is 15th April and the last is 22nd April. This is hopefully my last mandatory [...]]]></description>
			<content:encoded><![CDATA[<p>Oh my god is this a post? Yeah, I know, haven&#8217;t been able to post that much on my awesome blog lately. To keep it short, school is a bitch. I am currently working on three mandatory assignments, first deadline is 15th April and the last is 22nd April. This is hopefully my last mandatory assignments <strong>ever</strong>. So what are these assignments about? Well, I am going to write three papers. The first paper is about Face Recognition, quite interesting actually (finished). The second paper is about Publish/Subscribe systems, this one is also quite interesting (almost done). The third and last one is about optimizing and testing different Hadoop configurations, quite interesting but alot of work I think (haven&#8217;t started). Maybe I&#8217;ll post them on my blog so that you nerdy readers can check them out.</p>
<p>I still don&#8217;t have a chosen problem for my master thesis. Hopefully I&#8217;ll have it ready before the summer. I&#8217;ll see you later innovator!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/04/10/whats-up-doc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting developing apps for the iPhone</title>
		<link>http://www.scratchmytail.com/2009/03/07/starting-developing-apps-for-the-iphone/</link>
		<comments>http://www.scratchmytail.com/2009/03/07/starting-developing-apps-for-the-iphone/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 14:37:07 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=144</guid>
		<description><![CDATA[Today i finally received my first iPhone development book. The book is titled &#8220;Beginning iPhone Development: Exploring the iPhone SDK&#8220;. The book is written by Dave Mark and Jeff LaMarche. Both have alot experience with Cocoa and Objective-C, so I think this is a good book. I gave the university library a visit too where [...]]]></description>
			<content:encoded><![CDATA[<p>Today i finally received my first iPhone development book. The book is titled &#8220;<a href="http://www.amazon.com/Beginning-iPhone-Development-Exploring-Professional/dp/1430216263/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1236436515&amp;sr=8-1">Beginning iPhone Development: Exploring the iPhone SDK</a>&#8220;. The book is written by Dave Mark and Jeff LaMarche. Both have alot experience with Cocoa and Objective-C, so I think this is a good book. I gave the university library a visit too where I found a Objective-C book,  so no I&#8217;m well prepared for creating the next killer app!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/03/07/starting-developing-apps-for-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: iPC 10.5.6 on the compal ifl90</title>
		<link>http://www.scratchmytail.com/2009/02/27/tutorial-ipc-1056-on-the-compal-ifl90/</link>
		<comments>http://www.scratchmytail.com/2009/02/27/tutorial-ipc-1056-on-the-compal-ifl90/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 08:54:08 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Hackintosh]]></category>
		<category><![CDATA[OSx86]]></category>
		<category><![CDATA[Compal]]></category>
		<category><![CDATA[IFL90]]></category>
		<category><![CDATA[iPC]]></category>
		<category><![CDATA[ipc 10.5.6]]></category>
		<category><![CDATA[osx on compal ifl90]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/2009/02/27/tutorial-ipc-1056-on-the-compal-ifl90/</guid>
		<description><![CDATA[I have had some requests recently about creating a complete tutorial on how to install OS X on the Compal IFL90. This tutorial contains two parts. The first part describes which packages you should choose during the installation. The second part will describe how to get sound and ethernet working. This is not a step [...]]]></description>
			<content:encoded><![CDATA[<p>I have had some requests recently about creating a complete tutorial on how to install OS X on the Compal IFL90. This tutorial contains two parts. The first part describes which packages you should choose during the installation. The second part will describe how to get sound and ethernet working. This is not a step by step installation guide. Look at it this way, its only a tutorial on how to get <em>some</em> of your hardware working. Actually most of it.</p>
<p><span id="more-139"></span></p>
<h3>Before you start</h3>
<p>Before you start installing OS X you should know about a couple of things. First off, if you have questions search the web. I have found all my answers and tutorials at the <a href="http://www.insanelymac.com/forum/">Insanelymac</a> forum, I recommend it. That site is a great resource. But remember, search through the forum before you post your own problem.</p>
<p>If you have important data on your computer you should create a backup. The chance of ****ing up your computer is big.</p>
<p>Do not blame me for things that doesn’t work for you. Use Google or a forum to find your answer. You should know what your doing. Troubleshooting requires computer skills whether you like it or not.</p>
<h3>What is going to work after following this tutorial</h3>
<p>This is a list of hardware components that I have currently been able to get working.</p>
<ul>
<li><strong>Video</strong> &#8211; Nvidia GeForce 8600M GT 512MB</li>
<li><strong>Sound &#8211; </strong>ALC-268</li>
<li><strong>Ethernet – </strong>BCM5787</li>
<li><strong>Keyboard</strong></li>
<li><strong>Mouse</strong></li>
<li><strong>Hard drive</strong></li>
<li><strong>DVD-ROM</strong></li>
<li><strong>USB</strong></li>
</ul>
<p><span style="color: #666666;">The most important piece missing here is off course the Wireless card. There are two projects going on now where they are trying to develop a driver for the Intel 4965 AGN wireless card. The most promising project, in my opinion, is “<a href="http://projectcamphor.mercurysquad.com/">Project: Camphor</a>”. Check out the link for more info about it. I think that project has a lot of potential, but we’ll see. If you need a Wireless card you should buy a USB Dongle. I have tried the Ralink RT2500 chip, but the driver gives me kernel panics all the time so I have to stick with the ethernet. I think the SMCWUSB-G card is the best shot at getting wireless at the moment. (Search on google for product information).</span></p>
<p><span style="color: #666666;">Just to mention it, overheating may become a problem. I have struggled a lot with overheating. What happens is that the CPU fan simply doesn’t start. Once you got access to the internet you should download and install Temperature Monitor. So if you can hear that the fan isn’t running, the computer will eventually shutdown itself. I don’t know how to fix this but a lot of laptop owners seem to have this problem.</span></p>
<h3>The installation</h3>
<p><span style="color: #666666;">First off you need to have an OSX Leopard (iPC 10.5.6) disc. Boot up from that disc. When you have selected the partition where you want to install OS X you need to select some drivers before you can start the installation itself. If you haven’t created an OS X partition use disk utilities to do so. Here’s a list of what I chose to install. <em>Remember this worked for me, it doesn’t mean its going to work for you.</em></span></p>
<ol>
<li><span style="color: #666666;"><strong>Language – </strong>Select a language package if you like.</span></li>
<li><span style="color: #666666;"><strong>Kernel – </strong>You need to select a kernel. There is not selected any kernel by default so you have to choose one. I chose to install the <em>netkas sleep kernel.</em></span></li>
<li><span style="color: #666666;"><strong>Graphics card – </strong>You also need to select a driver for your graphics card. I have a GeForce 8600 M 512MB. I chose to install the <em>NVDarwin 512MB. </em>If you have a 256MB card you should select <em>NVDarwin 256MB.</em></span></li>
<li><strong>Keyboard and touchpad – </strong>In order to get your keyboard and touchpad working you have to choose the <em>PS/2 Keyboard Fix. </em>Do not install the <em>PS/2 Mouse Fix, </em>the keyboard package will fix both.</li>
<li><strong>Seatbelt.kext 10.5.5 – </strong>You have to install this package as well. If you don’t do it you wouldn’t be able to mount .dmg’s.</li>
<li><strong>Applications – </strong>You should install some applications too because we will be doing some operations later when you have your installation up and running. Install these applications: <em>Kext Helper B7 </em>and<em> NTFS-3G + MacFUSE. </em>Remember its not dangerous to install other applications.</li>
</ol>
<p><span style="color: #666666;">When you have selected these packages you can continue and start the installation. The installation will probably take about 30 minutes. Remember before you start that the bootloader you have will be replaced by the default OS X bootloader. You can select Chameleon bootloader if you like. I have no experience with that bootloader. I’m using grub myself. Don’t be afraid, if you are using grub you can always get it back if you mess it up. Read my post about this topic <a href="http://www.scratchmytail.com/2009/02/02/messing-up-the-bootloader/">here</a>. So that’s it for the installation. Hopefully everything works out fine for you.</span></p>
<h3>sound and ethernet</h3>
<p>So if your installation finished successfully you may continue here. Boot up OS X. We’ll start installing the audio card.</p>
<h4>The ALC-268 installation</h4>
<p>First off, I followed the guide over at <a href="http://www.insanelymac.com/forum/index.php?showtopic=96434">Insanelymac</a> to get this working. This is just a copy of that guide. The files you need are located <a href="http://rapidshare.com/files/183080362/ALC268FIX.zip">here</a>. Download the file and unzip it.</p>
<ol>
<li>Run ALC268Installer 2 or 1. The one that exist in the .zip file will work.</li>
<li>Delete /System/Library/Extensions/ALCInject.kext. Use the terminal. You should know how to remove files.</li>
<li>Restart.</li>
<li>Use Kext Helper b7 to install HDAEnabler.kext. Drag the HDAEnabler.kext into the Kext Helper window.</li>
<li>Fix Permissions with Disk Utility.</li>
<li>Restart and make sure that Internal Speakers is selected in Audio Settings.</li>
<li>Then run HDA Fix v3 (<em>IMPORTANT:</em> Riavvia in seguito means Restart later, Riavvia means Restart now).</li>
<li>Click Restart Later.</li>
<li>Repair permissions with Disk Utility.</li>
<li>Restart.</li>
<li>Bootup and sound and shutdown should work.</li>
</ol>
<p>If shutdown doesn’t work you should try doing it over again.</p>
<h4>The bcm-5787</h4>
<p>Same goes here, I followed this guide over at <a href="http://www.insanelymac.com/forum/index.php?showtopic=127903">Insanelymac</a> to get this working. Download <a href="http://www.mediafire.com/?m4l1g4jmny0">this</a> file.</p>
<ol>
<li>Simply install the .kext using Kext Helper B7.</li>
<li>After that plug in your cable and run this command in the terminal.</li>
</ol>
<blockquote><p>sudo tcpdump -i en0 &amp;</p></blockquote>
<p>The tcpdump process must be running to get this to work. There are workarounds for getting this to work automatically but I haven’t tried it out. Read the readme.txt file in the .zip archive for more information or check out the Insanelymac link that I provided earlier in this section.</p>
<h3>summary</h3>
<p>This tutorial will get you up and running with most of your hardware. The only big thing missing is the Intel wireless card working. But give it some time, it will be supported later this year I believe. I’m visiting <a href="http://projectcamphor.mercurysquad.com/">mercurysquad’s</a> blog every day just to check the progress. The Compal IFL90 is able to run the retail Leopard DVD, the computer can run the Vanilla kernel which is the default kernel in OS X Leopard.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/02/27/tutorial-ipc-1056-on-the-compal-ifl90/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	<img style='margin:0;padding:0;border:0;' width='1px' height='1px' src="http://www.scratchmytail.com/wp-content/plugins/mystat/mystat.php?act=time_load&id=10099&rnd=803265407" /></channel>
</rss>
