<?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>ivc blog</title>
	<atom:link href="http://beta.ivancover.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://beta.ivancover.com/blog</link>
	<description>Yet another weblog, by ivc.</description>
	<lastBuildDate>Wed, 31 Mar 2010 22:41:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Database/SQL Illustrations</title>
		<link>http://beta.ivancover.com/blog/2010/03/31/databasesql-illustrations/</link>
		<comments>http://beta.ivancover.com/blog/2010/03/31/databasesql-illustrations/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 22:24:31 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/?p=178</guid>
		<description><![CDATA[Databases and SQL can be hard to grasp by just reading text, as I learned. To visualize two concepts I made a quick vector illustration for both; log based recovery and two-phase locking. A quick glaze:
Log based recovery &#8211;  To ensure consistency after a crash or interruption of a transaction (bunch of queries), log [...]]]></description>
			<content:encoded><![CDATA[<p>Databases and SQL can be hard to grasp by just reading text, as I learned. To visualize two concepts I made a quick vector illustration for both; <em>log based recovery</em> and <em>two-phase locking</em>. A quick glaze:</p>
<p><strong>Log based recovery</strong> &#8211;  To ensure consistency after a crash or interruption of a transaction (bunch of queries), log files are used to check what made it from the cachemanager to the physical disk before the interruption. All committed translations (in the log but not database/disk) are normally redone, while transactions with only a start marker is reverted/undo. This is the basis for 4 concepts of log based recovery; undo/redo, no-undo/redo, undo/no-redo, and no-undo/no-redo.</p>
<p><strong>Two-Phase Locking</strong> &#8211; For consistency during a transaction the order of which reads and writes are made to a row/table/database is essential. Locking makes it possible to restrict access to (lock) a row/table/database and have exclusive right to (exclusive lock) write a value, excluding everyone else until the restricting is lifted (unlock). Likewise when a exclusive lock is active, no-one can read the row/table/database. Lastly, if only a read is made a simple shared lock is used, other transactions can also read the same row/table/database at the same time, placing more shared locks. Once a transaction wants to write, an exclusive lock is requested.</p>
<p>For structure and order all transactions need to lock in the beginning and unlock before finishing, this creates a phase system. Phavse 1 is the start and phase 2 finishing the transation. A transaction changes phase once a lock is released or lock is downgraded from exclusive to shared. In phase 2 new locks can not be requested and shared locks can not be upgraded, thus the transaction is in the unlock/falling phase. The opposite is phase 1 where locks can be made and shared can be upgraded to exclusive.</p>
<p>The illustrations:</p>
<ul>
<li><a href="http://beta.ivancover.com/database/dat202-recovery-undo-redo.pdf">DAT202: Recovery &#8211; Undo/Redo</a></li>
<li><a href="http://beta.ivancover.com/database/dat202-concurrency-two-phase-locking.pdf">DAT202: Concurrency &#8211; Two-Phase Locking</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2010/03/31/databasesql-illustrations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Matrix Operations on Calculators</title>
		<link>http://beta.ivancover.com/blog/2010/01/25/matrix-operations-on-calculators/</link>
		<comments>http://beta.ivancover.com/blog/2010/01/25/matrix-operations-on-calculators/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 11:09:31 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/?p=160</guid>
		<description><![CDATA[When doing matrix calcualtions it&#8217;s handy to do a comparison with a calculator. I&#8217;ve made two guides showing the basic steps for Casio and Texas Instruments calculators.

Matrix calculations on Casio
Matrix calculations on TI

The guides are in Norwegian and I actually got it published for the MA-109 course at UiA. They might be useful for others [...]]]></description>
			<content:encoded><![CDATA[<p>When doing matrix calcualtions it&#8217;s handy to do a comparison with a calculator. I&#8217;ve made two guides showing the basic steps for Casio and Texas Instruments calculators.</p>
<ul>
<li><a href="http://beta.ivancover.com/blog/wp-content/uploads/2010/01/matriser-casio.pdf">Matrix calculations on Casio</a></li>
<li><a href="http://beta.ivancover.com/blog/wp-content/uploads/2010/01/matriser-ti.pdf">Matrix calculations on TI</a></li>
</ul>
<p>The guides are in <strong>Norwegian </strong>and I actually got it published for the MA-109 course at UiA. They might be useful for others too.</p>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2010/01/25/matrix-operations-on-calculators/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Droid Message Sound</title>
		<link>http://beta.ivancover.com/blog/2009/11/02/droid-message-sound/</link>
		<comments>http://beta.ivancover.com/blog/2009/11/02/droid-message-sound/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 19:08:15 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/?p=133</guid>
		<description><![CDATA[The new Android based device, called Droid, has just been announced. And it has a cool sound when a SMS is received. 
To use the sound as a text message-tone on an iPhone, you need a jailbroken device and a AIFF version of the file. Download the already converted and corretly named file: 

sms-received6.caf
droid-alert.wav

Or convert [...]]]></description>
			<content:encoded><![CDATA[<p>The new Android based device, called <strong>Droid</strong>, has just been announced. And it has a cool sound when a SMS is received. </p>
<p>To use the sound as a text message-tone on an iPhone, you need a <strong>jailbroken </strong>device and a <strong>AIFF</strong> version of the file. Download the already converted and corretly named file: </p>
<ul>
<li><a href="http://beta.ivancover.com/iphone/droid/sms-received6.caf">sms-received6.caf</a></li>
<li><a href="http://beta.ivancover.com/iphone/droid/droid-alert.wav">droid-alert.wav</a></li>
</ul>
<p>Or convert it yourself. In iTunes change the <em>Import settings</em> in <em>Preferences</em> to AIFF, add the droid sound to the iTunes library and right-click it, pick <strong>Convert to AIFF</strong>, drag the new AIFF file to the desktop, rename it to sms-<em>received6.caf</em>.</p>
<p>Connect to the iPhone via SCP and go to <strong>/System/Library/Audio/UISounds/</strong>. Rename the existing sms-received6.caf to sms-received6<strong>-org</strong>.caf, and upload the new droid sms-received6.caf. Go into <em>Settings</em>, <em>Sounds</em>, <em>New Text Message</em>, and pick<strong> Electronic</strong> as the SMS sound. Voila!</p>
<p>To use it as a ringtone, just sync this <a href="http://beta.ivancover.com/iphone/droid/droid-alert.m4r">droid-alert.m4r</a> with the iPhone in iTunes.</p>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2009/11/02/droid-message-sound/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://beta.ivancover.com/iphone/droid/droid-alert.wav" length="135904" type="audio/x-wav" />
		</item>
		<item>
		<title>Linux Filesystems</title>
		<link>http://beta.ivancover.com/blog/2009/08/09/linux-filesystems/</link>
		<comments>http://beta.ivancover.com/blog/2009/08/09/linux-filesystems/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 20:53:10 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/?p=106</guid>
		<description><![CDATA[I&#8217;m trying out new filesystems for the drives going into the file-server. After relaying on ext3 for the last years, I&#8217;ve always wanted to figure out of there&#8217;s a better FS more suitable for storing large files. 
The alternatives are XFS, ReiserFS, JFS, Ext3, and Ext4. Ext3 is excellent is an excellent system boot FS [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying out new filesystems for the drives going into the file-server. After relaying on ext3 for the last years, I&#8217;ve always wanted to figure out of there&#8217;s a better FS more suitable for storing large files. </p>
<p>The alternatives are XFS, ReiserFS, JFS, Ext3, and Ext4. Ext3 is excellent is an excellent system boot FS and for lots of smal files, but not as efficient for larger files.</p>
<p>Drive: <strong>Hitachi 7K1000.B 1TB</strong> via Promise SATA300 TX2plus PCI card (I know)<br />
Software: <strong>Bonnie++ 1.03d</strong> harddrive benchmark, executed by <code>bonnie++ -u 500:500</code></p>
<p><strong>hdparm</strong> &#8211; for reference, shows the cache and disk read speeds<br />
Test done using: <code>hdparm -tT /dev/sda</code></p>
<ul>
<li>Timing cached reads: 976 MB in  2.00 seconds = 487.76 MB/sec</li>
<li>Timing buffered disk reads: 294 MB in  3.02 seconds =  97.39 MB/sec</li>
</ul>
<p>The test will first create then rewrite a 1GB file.</p>
<p><strong>Ext3</strong><br />
Formatted using: <code>mkfs.ext3 -j -c 1 /dev/sda1</code></p>
<ul>
<li>Block write: 74 781 KB/s</li>
<li>Rewrite: 38 624 KB/s</li>
<li>IOPS: 209.7</li>
</ul>
<p><strong>XFS</strong><br />
Formatted using: <code>mkfs.xfs -f /dev/sda1</code></p>
<ul>
<li>Block write: 91 373 KB/s</li>
<li>Rewrite: 45 176 KB/s</li>
<li>IOPS: 212.2</li>
</ul>
<p><strong>XFS <em>tuned</em></strong><br />
Formatted using: <code>mkfs.xfs -f -l size=128m,lazy-count=1 /dev/sda1</code></p>
<ul>
<li>Block write: 91 828 KB/s</li>
<li>Rewrite: 44 565 KB/s</li>
<li>IOPS: 215.9</li>
</ul>
<p><strong>ReiserFS3</strong><br />
Formatted using: <code>mkfs.reiserfs /dev/sda1</code></p>
<ul>
<li>Block write: 83 391 KB/s</li>
<li>Rewrite: 43 003 KB/s</li>
<li>IOPS: 225.0</li>
</ul>
<p><strong>JFS</strong><br />
Formatted using: <code>mkfs.jfs /dev/sda1</code></p>
<ul>
<li>Block write: 81 466 KB/s</li>
<li>Rewrite: 43 330 KB/s</li>
<li>IOPS: 234.0</li>
</ul>
<p>The benchmarks look good, but they only tell a small part of the puzzle. It&#8217;s important to not to forget the stability and reliability record for each FS. How it will behave in a power failure and unexpected situations? From experience will ext3/4 perform great in these scenarios, XFS, ReiseFS, and JFS not so much according to forum reports. </p>
<p>More testing and experience is needed to figure out how these filesystems stack up.</p>
<ul>
<li><a href="http://www.kernel-panik.com/wordpress/2008/01/14/xfs-filesystem-performance-tweaking-on-linux/">XFS Filesystem performance tweaking on Linux</a></li>
<li><a href="http://recoverymonkey.net/wordpress/2009/06/14/new-ext4-vs-xfs-benchmarks-using-fedora-11-leonidas/">New ext4 vs XFS benchmarks</a></li>
<li><a href="http://www.acnc.com/benchmarks.html">Linux benchmarks applications</a></li>
<li><a href="http://linuxgazette.net/102/piszcz.html">Benchmarking Filesystems</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2009/08/09/linux-filesystems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Panorama Bonanza</title>
		<link>http://beta.ivancover.com/blog/2009/07/26/panorama-bonanza/</link>
		<comments>http://beta.ivancover.com/blog/2009/07/26/panorama-bonanza/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 11:15:16 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/?p=87</guid>
		<description><![CDATA[I recently discovered Autostitch for the iPhone and it works wonders. It&#8217;s has an impressive algorithm and stitches photos together almost perfectly if I do my capturing job well.
Østregate:

Sam Eydes plass:

]]></description>
			<content:encoded><![CDATA[<p>I recently discovered Autostitch for the iPhone and it works wonders. It&#8217;s has an impressive algorithm and stitches photos together almost perfectly if I do my capturing job well.</p>
<p>Østregate:<br />
<a href="http://beta.ivancover.com/gallery/v/stream/panorama_ostregate.html"><img src="http://beta.ivancover.com/blog/wp-content/uploads/2009/07/panorama_ostregate.jpg" alt="panorama_ostregate" title="panorama_ostregate" width="597" height="383" class="alignnone size-full wp-image-90" /></a></p>
<p>Sam Eydes plass:<br />
<a href="http://beta.ivancover.com/gallery/v/stream/panorama_sam_eydes_plass.html"><img src="http://beta.ivancover.com/blog/wp-content/uploads/2009/07/panorama_sam_eydes_plass.jpg" alt="panorama_sam_eydes_plass" title="panorama_sam_eydes_plass" width="597" height="292" class="alignnone size-full wp-image-89" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2009/07/26/panorama-bonanza/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>KatMouse</title>
		<link>http://beta.ivancover.com/blog/2009/03/27/katmouse/</link>
		<comments>http://beta.ivancover.com/blog/2009/03/27/katmouse/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 20:32:11 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/?p=57</guid>
		<description><![CDATA[A few weeks ago I discovered &#8220;KatMouse&#8220;. It&#8217;s a small Windows utility  adding the ability to use the mouse wheel to scroll any window the mouse pointer is hovering over, regardless if the window is in focus or not.
Certainly makes me at LEAST 3% more productive. Take a look at the screen-capture I made [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I discovered &#8220;<a href="http://ehiti.de/katmouse/">KatMouse</a>&#8220;. It&#8217;s a small Windows utility  adding the ability to use the mouse wheel to scroll any window the mouse pointer is hovering over, regardless if the window is in focus or not.</p>
<p>Certainly makes me at LEAST 3% more productive. Take a look at the screen-capture I made below.</p>
<p><code><script type="text/javascript" src="/flash/swfobject.js"></script></p>
<div id="player"></div>
<p><script type="text/javascript">
var so = new SWFObject('/flash/player.swf','mpl','588', '340','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&#038;file=/flash/katmouse.flv');
so.write('player');
</script></code></p>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2009/03/27/katmouse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Objects</title>
		<link>http://beta.ivancover.com/blog/2008/11/08/php-objects/</link>
		<comments>http://beta.ivancover.com/blog/2008/11/08/php-objects/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 23:03:30 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/?p=42</guid>
		<description><![CDATA[For a long time I&#8217;ve been aware of classes (and their objects) in PHP but I&#8217;ve never really gotten the time to figure out how they work and how they&#8217;re structured, before now.
A class can have a collection of functions that belong to a specific part, or say, module of a site. Instead of having [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time I&#8217;ve been aware of classes (and their objects) in PHP but I&#8217;ve never really gotten the time to figure out how they work and how they&#8217;re structured, before now.</p>
<p>A class can have a collection of functions that belong to a specific part, or say, module of a site. Instead of having functions (<i>function name () {}</i>) listed alone in a file and available in the global scope, i.e include once and the function will be available till the end of the execution. A function inside a class can only be called upon by the name of the object or inherit of itself(<i>this.</i>).</p>
<p>Which brings me to objects, a class is the code that lists the available functions, but a object is a run-time instance of the class and its functions can be addressed via the name of the new instance (<i>$db = new Mysql();</i>). Think of object like e.g. creating a new tab in web-browser.<br />
<code><br />
// Mysql class<br />
class Mysql {<br />
&nbsp;&nbsp;&nbsp;function connect($host, $name, $pass, $db) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$connection = mysql_connect("$host","$name","$pass");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_select_db("$db", $connection) or die("Couldn't select database.");;<br />
&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;&nbsp;function close() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_close($connection);<br />
&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;&nbsp;function query($query) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_query(...);<br />
&nbsp;&nbsp;&nbsp;}<br />
}</p>
<p>// Create a new instance<br />
$db = new Mysql();</p>
<p>// Mysql connect<br />
$connection = $db->connect('localhost','ivc','passwd','twitterurl');</p>
<p>// Send query<br />
$db->query("SET CHARACTER SET 'utf8'");<br />
</code></p>
<p>Pretty cool and handy!</p>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2008/11/08/php-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 3G</title>
		<link>http://beta.ivancover.com/blog/2008/07/11/iphone-3g/</link>
		<comments>http://beta.ivancover.com/blog/2008/07/11/iphone-3g/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 18:11:12 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/?p=49</guid>
		<description><![CDATA[
iPhone, yes, I&#8217;m pretty sure you have heard the name a couple of times before.
I decided to get the next generation iPhone, the iPhone 3G, on the launch date to get the excitement. Contrary to the first iPhone I got in October 2007 when the jailbreaking and unlocking was properly set up.
Ok, to the main [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://beta.ivancover.com/blog/wp-content/uploads/2008/07/iphone3g_package.jpg" alt="" title="iphone3g_package" width="597" height="174" class="aligncenter size-full wp-image-50" /></p>
<p>iPhone, yes, I&#8217;m pretty sure you have heard the name a couple of times before.</p>
<p>I decided to get the next generation iPhone, the iPhone 3G, on the launch date to get the excitement. Contrary to the first iPhone I got in October 2007 when the jailbreaking and unlocking was properly set up.</p>
<p>Ok, to the main story. In Norway the iPhone 3G is only sold by the Netcom operator via its Telebutikken stores. My goal was to get an iPhone 3G, with a new contract, break the contract, and activate it with my previous SIM-card from Telenor.</p>
<p>At 13.15 I arrived at the store, around 5-8 waiting in queue before me. The buying process was interesting, there was no properly set up queuing system in the store. I had to find my own piece of paper and write the next incremental in the queue. I got 82 and number 73-75 was processing then I got there. A little over an hour later, I&#8217;m ready to go.</p>
<p>The buying process is a two parter:</p>
<ul>
<li>Pick your iPhone, in my case 16GB black for 2290 NOK, credit check and pick existing or new contract, I choose new of course.</li>
<li>Go over to the activation desk, asked if I could activate with my other SIM-card, but he had strict guidelines to only activate new devices with Netcom SIM-cards, gave me the 05050 customer service number for more details, very nice guy, shaked the hand of every iPhone customer.</li>
</ul>
<p>At this point, I have an activated iPhone 3G with a new Netcom iTalk small contract. This is where most people would end up and start using the iPhone, but I want to use my current SIM-card.</p>
<p>I called the customer service and they actually had three menu choices, the third being &#8220;Press 3 for iPhone&#8221;. A friendly women quickly picked up (I guess they have extra staff) and I explained I wanted to go out of the new contract and use my current operator. To cancel the iTalk small contract would cost 2400 NOK plus the first month of the contract, 399 NOK. An invoice will be sent to my address.</p>
<p>This cancel process is also a two parter:</p>
<ul>
<li>She asked for the phone number to find the contract, asked if I was sure I wanted to terminate the contract, yes please.</li>
<li>Next, asked for the unique IMEI (International Mobile Equipment Identity) number, printed on the same piece of paper with the contract phone number, used it to deactivate the phone in the Netcom network, sent a request to Apple to indicate the device should be unlocked, this happens next time I connected it to iTunes (at home) she told.</li>
</ul>
<p>I played with the iPhone during the trip home and I noticed the Maps locate-me functions didn&#8217;t find my position. I hope this was because I didn&#8217;t have a cell signal, although it wouldn&#8217;t make sense. Even with a Wifi connection to allow any A-GPS data cache to be downloaded didn&#8217;t work.</p>
<p>The screen has a noticable yellow hue compared to the same brightness level. Not as crystal crisp white as the original (quality control?). It seems the white balance is a tad warmer. Apple confirmed that the white balance is warmer on the iPhone 3G, around 7000K compared to 8000K in the 1. gen.</p>
<p><img src="http://beta.ivancover.com/blog/wp-content/uploads/2008/07/iphone3g_yellowscreen.jpg" alt="" title="iphone3g_yellowscreen" width="597" height="142" class="aligncenter size-full wp-image-52" /></p>
<p>To make it pick up the new SIM-card I had to do a full restore, and to complete the set up it was to connect to the iTunes (activation) servers. This was 17.00 CET/Norwegian time while the rest of the US was about or in the middle of waking up to iPhone launch day, making the iTunes servers crawl to a total halt. Finally at 21.15, the activation was successful, iTunes only needed a quick query to Apple to determine the lock state, fortunately it unlocked without needing any interaction. The next screen was the select previous backup or create new device profile set up.</p>
<p>There is also a store activation mode in iTunes, it looks like just a more automated hook-up-activate-disconnect procedure.</p>
<p>Mac: <i>/Applications/iTunes.app/Contents/MacOS/iTunes -StoreActivationMode 1</i><br />
Windows: <i>“C:\Program Files\iTunes\iTunes.exe” /StoreActivationMode 1</i></p>
<ul>
<li>The total cost: 2290 + 2400 + 399 = 5089 NOK</li>
</ul>
<p>That places it in the higher end of the smartphones sold in Norway, e.g. the Nokie N95 8GB is sold without contract for 4850 NOK.</p>
<p>My plan is to buy another iPhone 3G 16GB unlocked in US (via a friend, Ebay, some other place) for cost (around 700 USD) once the launch day excitement plays out, import it to Norway, jailbreak it to add Installer.app (Dev Team is ready), and sell it to little under the unlocked cost in Norway to cover some of my expenses (around 1500 NOK).</p>
<p>With a new design also comes less compatibility, the old iPhone dock no long fits the new iPhone 3G. Not a big issue. The corner shape is pointier and not as round as before. My iPod 3G 2003 dock still fits and works perfectly though.</p>
<p><b>Edit:</b> Only major advantages with an iPhone 3G over the 1. generation for me is: 1. GPS, 2. 16GB, the rest is irrelevant, and the 2.0 software is the same on both. Sold for 9000 NOK. Apparently, VG mentioned to <a href="http://www.vg.no/teknologi/artikkel.php?artid=193901">watch out</a> for iPhone price &#8220;coups&#8221; (the one mentioned is not mine, but there were only two auctions, the other being mine).</p>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2008/07/11/iphone-3g/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Create bootable disc</title>
		<link>http://beta.ivancover.com/blog/2008/05/28/create-bootable-disc/</link>
		<comments>http://beta.ivancover.com/blog/2008/05/28/create-bootable-disc/#comments</comments>
		<pubDate>Wed, 28 May 2008 13:29:19 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/?p=48</guid>
		<description><![CDATA[I can&#8217;t remember how many times I&#8217;ve had the need for a bootable CD-R/DVD-R to boot into DOS to do some trivial task, like flashing a BIOS or duplicating a hard drive.
As a reference for myself I&#8217;ve created a quick entry to show how to use a regular downloadable floppy image and an image utility [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t remember how many times I&#8217;ve had the need for a bootable CD-R/DVD-R to boot into DOS to do some trivial task, like flashing a BIOS or duplicating a hard drive.</p>
<p>As a reference for myself I&#8217;ve created a quick entry to show how to use a regular downloadable floppy image and an image utility to create a bootable disc including all the files you want to execute once DOS has been loaded.</p>
<ul>
<li><a href="/wiki/index.php/Create_bootable_dos_disc">Create bootable disc</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2008/05/28/create-bootable-disc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Recaptcha</title>
		<link>http://beta.ivancover.com/blog/2008/05/21/recaptcha/</link>
		<comments>http://beta.ivancover.com/blog/2008/05/21/recaptcha/#comments</comments>
		<pubDate>Wed, 21 May 2008 19:57:14 +0000</pubDate>
		<dc:creator>ivc</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://beta.ivancover.com/blog/2008/05/21/recaptcha/</guid>
		<description><![CDATA[Recently I&#8217;ve received some blog comments spam. I received an e-mail for each new comment but I didn&#8217;t bother much about it.
Now, today after updating my e-mail server to better fight spam and bounce spam, I decided to do a clean-up of the blog comments. A quick search for &#8216;wordpress captcha plugin&#8217; reveal a type [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve received some blog comments spam. I received an e-mail for each new comment but I didn&#8217;t bother much about it.</p>
<p>Now, today after updating my e-mail server to better fight spam and bounce spam, I decided to do a clean-up of the blog comments. A quick search for &#8216;wordpress captcha plugin&#8217; reveal a type of captcha I remeber liking because it wasn&#8217;t that unfriendly  and time consuming to figure out. It&#8217;s called <a href="http://recaptcha.net/">Recaptcha</a>. It requires a API key since it&#8217;s essentially streaming the code in the background to the Recaptcha servers.</p>
<p><i>Preview:</i><br />
<img src='http://beta.ivancover.com/blog/wp-content/uploads/2008/05/captcha.png' alt='Recaptcha' /></p>
<p>Hopefully this isn&#8217;t to intrusive and bothersome. It cuts out all the un-necessary spam I was receiving and I&#8217;m happy about that.</p>
<p><strong>Update:</strong> Recently I discovered that Recaptcha actually helps the Internet Archive project and digitize books, thus helps the optical character recogonition (OCR) system.</p>
]]></content:encoded>
			<wfw:commentRss>http://beta.ivancover.com/blog/2008/05/21/recaptcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
