<?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>Alphatek - Steven&#039;s Tech Blog &#187; /dev/null</title>
	<atom:link href="http://www.alphatek.info/category/devnull/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alphatek.info</link>
	<description>Random rants and tips about Fedora, CentOS, Maemo and other things I care about</description>
	<lastBuildDate>Tue, 25 May 2010 18:19:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Compact VirtualBox disk images</title>
		<link>http://www.alphatek.info/2010/02/09/compact-virtualbox-disk-images/</link>
		<comments>http://www.alphatek.info/2010/02/09/compact-virtualbox-disk-images/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 20:47:06 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=574</guid>
		<description><![CDATA[I&#8217;m using VirtualBox since a couple of years to run Windows on top of my Linux boxes. After a while, the virtual disk size may increase to unreasonable sizes and I was searching for an option to &#8220;compact&#8221; it like in Parallels/VMWare. Contrary to these other virtualization tools, there is nothing in VirtualBox&#8217; GUI to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using VirtualBox since a couple of years to run Windows on top of my Linux boxes. After a while, the virtual disk size may increase to unreasonable sizes and I was searching for an option to &#8220;compact&#8221; it like in Parallels/VMWare.</p>
<p>Contrary to these other virtualization tools, there is nothing in VirtualBox&#8217; GUI to do this. Fortunately, you can use 2 tools to achieve the same goal&#8230;</p>
<p>First, you need to <a href="http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx">download SDelete</a> from Microsoft and run it in the VM:</p>
<pre>
sdelete -c</pre>
<p>Now stop the VM and compact the disk:</p>
<pre>VBoxManage modifyhd blah.vdi --compact
</pre>
<p>That&#8217;s it, your disk is now compacted and you have probably gained a couple of GB!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2010/02/09/compact-virtualbox-disk-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Motorola Droid/Milestone works on Fedora</title>
		<link>http://www.alphatek.info/2010/01/21/motorola-droidmilestone-works-on-fedora/</link>
		<comments>http://www.alphatek.info/2010/01/21/motorola-droidmilestone-works-on-fedora/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 12:13:23 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=570</guid>
		<description><![CDATA[Today, we received a bunch of Android-based phones at work, amongst them a Motorola Droid/Milestone. I quickly tried to connect it to my Fedora 12 box and fired up Banshee. As you can see on the screenshot below, it was perfectly recognized without any intervention and I could synchronize my music library to it]]></description>
			<content:encoded><![CDATA[<p>Today, we received a bunch of Android-based phones at work, amongst them a Motorola Droid/Milestone. I quickly tried to connect it to my Fedora 12 box and fired up Banshee. As you can see on the screenshot below, it was perfectly recognized without any intervention and I could synchronize my music library to it <img src='http://www.alphatek.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.alphatek.info/wp-content/uploads/2010/01/Banshee-Droid-Milestone.png" rel="lightbox[570]"><img class="aligncenter size-medium wp-image-571" title="Banshee-Droid-Milestone" src="http://www.alphatek.info/wp-content/uploads/2010/01/Banshee-Droid-Milestone-300x223.png" alt="" width="300" height="223" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2010/01/21/motorola-droidmilestone-works-on-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m fed up of companies not delivering products (yes, you Nokia!)</title>
		<link>http://www.alphatek.info/2010/01/12/im-fed-up-of-companies-not-delivering-products-yes-you-nokia/</link>
		<comments>http://www.alphatek.info/2010/01/12/im-fed-up-of-companies-not-delivering-products-yes-you-nokia/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 19:21:46 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=568</guid>
		<description><![CDATA[Ok, this is a pure rage rant. I&#8217;m really sick of companies paper launching products that are totally unavailable to customers for months. Last November I made a blogpost about the Nokia N900, which I finally ordered. On the paper it&#8217;s still the best Linux-based phone which has the greatest compatibility with my Fedora boxes. [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, this is a pure rage rant. I&#8217;m really sick of companies paper launching products that are totally unavailable to customers for months. Last November I made a blogpost about the <a href="http://www.alphatek.info/2009/11/22/maemo-or-android-n900-versus-hero/" target="_blank">Nokia N900</a>, which I finally ordered. On the paper it&#8217;s still the best Linux-based phone which has the greatest compatibility with my Fedora boxes.</p>
<p>Today I received an e-mail telling me that my N900 would probably be delivered mid-February. That would be almost 3 months since I paid and of course you don&#8217;t get any money back on the price drop that occurs during this period&#8230;how screwed is that? It wasn&#8217;t even a pre-order, the N900 was &#8220;available&#8221;. Nokia, if you can&#8217;t deliver a product to your customers, fucking don&#8217;t sell it if you have no stock! I&#8217;m so fed up of these lousy business practices.</p>
<p>Nokia are not the only to blame, nVidia and ATI behave exactly the same when they launch new lines of graphic cards. Whose fault is it? The marketing guys? I honestly don&#8217;t see how generating hype on a product and not delivering it for months will help you. All you gain are angry customers who lost money on pre-orders and all the buzz effect is gone once the product really hits the streets. Great job!</p>
<p>On the other hand you have Apple, they have a sense on how to deliver products to the market. When a product is announced, it&#8217;s available. Guess what? They are doing fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2010/01/12/im-fed-up-of-companies-not-delivering-products-yes-you-nokia/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Bash script to backup every MySQL database to separate files</title>
		<link>http://www.alphatek.info/2010/01/07/bash-script-to-backup-every-mysql-database-to-separate-files/</link>
		<comments>http://www.alphatek.info/2010/01/07/bash-script-to-backup-every-mysql-database-to-separate-files/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 12:57:48 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=555</guid>
		<description><![CDATA[To backup MySQL databases, there is the well known and handy executable called mysqldump. It has one big shortcoming though, you can either backup one database to a file or all databases to one giant file with the &#8220;&#8211;all-databases&#8221; option but you can&#8217;t backup every database to separate dump files. This is not very practical [...]]]></description>
			<content:encoded><![CDATA[<p>To backup MySQL databases, there is the well known and handy executable called <a href="http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html" target="_blank">mysqldump</a>. It has one big shortcoming though, you can either backup one database to a file or all databases to one giant file with the &#8220;&#8211;all-databases&#8221; option but you can&#8217;t backup every database to separate dump files.</p>
<p><a href="http://www.alphatek.info/wp-content/uploads/2010/01/sakila.png" rel="lightbox[555]"><img class="aligncenter size-full wp-image-563" title="sakila" src="http://www.alphatek.info/wp-content/uploads/2010/01/sakila.png" alt="" width="121" height="79" /></a></p>
<p><span id="more-555"></span>This is not very practical if you have big databases and need to restore only a part of them&#8230;So I searched for a way to backup every database to separate files. The process is quite simple with a little scripting:</p>
<ul>
<li>Find a way to list all databases</li>
<li>For each database, dump it to a file using mysqldump</li>
</ul>
<p>I quickly found a <a href="http://soniahamilton.wordpress.com/2005/11/16/backup-multiple-databases-into-separate-files/" target="_blank">blogpost from 2005</a> about that, but it was a bit outdated and not accurate anymore for MySQL 5.1. So here is an updated version, I hope it helps and saves time to someone:</p>
<blockquote><p>#!/bin/bash<br />
# This script backups every MySQL database to its own file</p>
<p>#Some variables you can set how you like<br />
USER=&#8217;root&#8217;<br />
PASSWORD=&#8217;mypassword&#8217;<br />
OUTPUTDIR=&#8217;/root/backup&#8217;<br />
MYSQLDUMP=&#8217;/usr/bin/mysqldump&#8217;<br />
MYSQL=&#8217;/usr/bin/mysql&#8217;</p>
<p>#Clean up any old backups<br />
rm -f $OUTPUTDIR/*</p>
<p>#Get a list of databases names except the system one<br />
databases=`$MYSQL &#8211;user=$USER &#8211;password=$PASSWORD -e &#8216;SHOW DATABASES;&#8217; | grep -Ev &#8216;(Database|information_schema)&#8217;`</p>
<p>#Dump each database in turn and compress the output<br />
for db in $databases; do<br />
$MYSQLDUMP &#8211;opt &#8211;hex-blob &#8211;force &#8211;user=$USER &#8211;password=$PASSWORD $db | gzip &gt; $OUTPUTDIR/$db.gz<br />
done</p></blockquote>
<p>PS: WordPress seems to replace double dashes (- -) with a single one (-) in the code, so just be aware of that.</p>
<p>I also <strong>strongly</strong> advise you to use the &#8211;hex-blob option for mysqldump if you have any blobs (binary files like executables, images&#8230;) in your database, otherwise you may end up with an un-restorable database, even if the backup process went well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2010/01/07/bash-script-to-backup-every-mysql-database-to-separate-files/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Send an SMS when hitting a certain priority level in RequestTracker</title>
		<link>http://www.alphatek.info/2010/01/06/send-an-sms-when-hitting-a-certain-priority-level-in-requesttracker/</link>
		<comments>http://www.alphatek.info/2010/01/06/send-an-sms-when-hitting-a-certain-priority-level-in-requesttracker/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 10:52:05 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=536</guid>
		<description><![CDATA[RequestTracker is a widely used tool in many companies as it allows one to implement an effective workflow to handle any kind of events: customer requests, bug resolution etc&#8230;the requests are all filed as tickets to be resolved and put into queues. RT also has a notion of priority levels for tickets, ranging from 0 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bestpractical.com/rt/" target="_blank">RequestTracker</a> is a widely used tool in many companies as it allows one to implement an effective workflow to handle any kind of events: customer requests, bug resolution etc&#8230;the requests are all filed as tickets to be resolved and put into queues.</p>
<p>RT also has a notion of priority levels for tickets, ranging from 0 to 100 and it supports scripting to automate some tasks. RT does a lot of things actually, but it&#8217;s a bit of a scary beast at first, with a not-so-clear documentation.</p>
<p><span id="more-536"></span></p>
<p>One need we have at my company is to be able to automatically send SMS notifications to some people when tickets with certain priority levels are filed in a certain queue, or when a ticket is escalated from a low to a medium/high priority.</p>
<p>Not knowing the RT Scrip language (yes, the call scripts scrip), it took my a couple of hours to figure out and test a working solution to handle this case. To avoid a waste of time to other people, here is a working solution&#8230;note that I&#8217;m using the RT 3.8 branch.</p>
<h3><strong>Step 1</strong>: chose an SMTP to SMS provider</h3>
<p>To be able to send SMS messages, you obviously need some kind of gateway between the e-mail RT is able to send and your mobile phone. Many companies are offering SMTP to SMS services&#8230;I use <a href="http://www.clickatell.com/" target="_blank">Clickatell</a> but you can use whoever you want by mildly tweaking the following steps.</p>
<h3><strong>Step 2</strong>: configure a Template in RT</h3>
<p>This Template contains what you will see in the SMS message (the &#8220;text:&#8221; parts) as well as specific information needed to authenticate to the Clickatell SMS gateway. All &#8220;to:&#8221; lines are phone numbers to send the SMS to.</p>
<p><em>Configuration &gt; Global &gt; Templates &gt; New</em><br />
<strong>Name</strong>: SMS-XXX-Queue<br />
<strong>Description</strong>: SMS template for the XXX queue<br />
<strong>Content</strong>:<br />
To: sms@messaging.clickatell.com</p>
<p>user:&lt;you clickatell username&gt;<br />
password:&lt;you clickatell password&gt;<br />
api_id:&lt;you clickatell API ID&gt;<br />
to:xxxxxxxxxx<br />
to:xxxxxxxxxx<br />
text:Medium/High priority ticket filed!<br />
text:{$Ticket-&gt;QueueObj-&gt;Name}: {$Ticket-&gt;Subject}<br />
text:URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket-&gt;id}</p>
<h3><strong>Step 3</strong>: configure a Scrip in RT to send the SMS using the Template</h3>
<p>I&#8217;m having 3 priority levels here, 0 (Low), 50 (Medium) and 100 (High). This Scrip sends an SMS as soon as a 50 or 100 priority level ticket is filed or escalated to, it also nicely handles transitions between states. The &#8220;XXX&#8221; corresponds to the RT queue name you wish the Scrip to apply to.</p>
<p><em>Configuration &gt; Global &gt; Scrips &gt; New</em><br />
<strong>Description</strong>: SMS &#8211; XXX queue<br />
<strong>Condition</strong>: User Defined<br />
<strong>Action</strong>: Notify Other Recipients<br />
<strong>Template</strong>: Global template: SMS-XXX-Queue<br />
<strong>Stage</strong>: TransactionCreate<br />
<strong>Custom</strong> condition:<br />
if (($self-&gt;TransactionObj-&gt;Field eq &#8216;Priority&#8217; &amp;&amp; $self-&gt;TicketObj-&gt;Priority &gt;= 50 &amp;&amp; $self-&gt;TransactionObj-&gt;NewValue &gt; $self-&gt;TransactionObj-&gt;OldValue &amp;&amp; $self-&gt;TransactionObj-&gt;OldValue != 50 &amp;&amp; $self-&gt;TicketObj-&gt;QueueObj-&gt;Name eq &#8220;XXX&#8221;) || ($self-&gt;TransactionObj-&gt;Type eq &#8216;Create&#8217; &amp;&amp; $self-&gt;TicketObj-&gt;Priority &gt;= 50 &amp;&amp; $self-&gt;TicketObj-&gt;QueueObj-&gt;Name eq &#8220;XXX&#8221;)) {<br />
return(1);<br />
}<br />
else {<br />
return(undef);<br />
}<strong><br />
Custom action preparation code</strong>:<br />
return 1;</p>
<p>That&#8217;s it, you have working SMS notifications for your XXX queue now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2010/01/06/send-an-sms-when-hitting-a-certain-priority-level-in-requesttracker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maemo or Android, N900 versus Hero</title>
		<link>http://www.alphatek.info/2009/11/22/maemo-or-android-n900-versus-hero/</link>
		<comments>http://www.alphatek.info/2009/11/22/maemo-or-android-n900-versus-hero/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 12:46:44 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=508</guid>
		<description><![CDATA[Until recently, I couldn&#8217;t care less about shiny new mobile phones. When mine broke or it was time to change to a new one due to my mobile operator contract ending, I simply went for the &#8220;free&#8221; phones that were somewhat compatible with Linux. My current phone, a Nokia 5310, can for example serve as [...]]]></description>
			<content:encoded><![CDATA[<p>Until recently, I couldn&#8217;t care less about shiny new mobile phones. When mine broke or it was time to change to a new one due to my mobile operator contract ending, I simply went for the &#8220;free&#8221; phones that were somewhat compatible with Linux. My current phone, a Nokia 5310, can for example serve as a modem in Fedora vie USB connection or Bluetooth thanks to NetworkManager and it perfectly synchronizes with Banshee for my music and podcasts.  It&#8217;s just slow as hell, but that&#8217;s another story.</p>
<p><span id="more-508"></span></p>
<p>As I recently moved to another city and switched work, new requirements started to emerge in my life. These new requirements change my general multimedia usage patterns quite a lot, so I&#8217;m thinking of reorganizing my whole media distribution methods at home and at work. This may sound quite vague, but let me explain how this is related to mobile phones&#8230;My current &#8220;multimedia&#8221; needs are:</p>
<ol>
<li>To be able to access the Internet via my mobile phone (work requirement).</li>
<li>To have a centralized way of downloading podcasts (personal requirement).</li>
<li>To have a centralized point to distribute music to my HiFi system (personal requirement).</li>
<li>The system has to be open for tweaking, using open standards (personal/work requirement).</li>
<li>The system has to be able to connect to my Fedora box to transfer files (personal requirement).</li>
</ol>
<p>Now you probably see where I&#8217;m going&#8230;these tasks can be handled by modern smartphones. Let&#8217;s exclude the iPhone as it&#8217;s way too proprietary. This leaves me with two main options: a <a href="http://www.android.com/" target="_blank">Goolge Android 2</a> based phone or a <a href="http://maemo.nokia.com/" target="_blank">Nokia Maemo 5</a> based phone. Points 1, 2 and 3 are trivial for both phones, they can serve as modems on Fedora, they have applications to manage your music and download podcasts and they can stream music via Bluetooth (A2DP) or FM radio (for the Maemo device).</p>
<h3>The Android story &#8211; HTC Hero</h3>
<p>At work, almost all of my colleagues have HTC Magic or HTC Hero phones running Android 1.6 (soon to be updated to Android 2.0 for free) and they seem to be very happy about them. Another colleague and friend even develops an application for our company on Android and also seems happy about it. I&#8217;m pretty sure that in the long run Android will be the dominant OS on mobile phones other than the ones by Apple; let&#8217;s just give the Chinese manufacturers time to swarm the market with cheap smartphones.</p>
<p>What I&#8217;m concerned about with Android is Goolge, when I read things like <a href="http://mer-l-in.blogspot.com/2009/11/android-is-it-linux.html" target="_blank">this</a> or <a href="http://en.wikipedia.org/wiki/Android_Market#Banned_applications" target="_blank">this</a> (I agree with the 3rd commentary)  it concerns me a little bit; be careful Google, don&#8217;t become evil. The &#8220;your are not allowed to share your Internet connection&#8221; clauses remind me of 1998, when ISPs didn&#8217;t like home routers; I pay for a service, let me use it as I want.</p>
<p style="text-align: center;">
<div id="attachment_513" class="wp-caption aligncenter" style="width: 286px"><a href="http://www.alphatek.info/wp-content/uploads/2009/11/large1.jpg" rel="lightbox[508]"><img class="size-full wp-image-513" title="HTC Hero" src="http://www.alphatek.info/wp-content/uploads/2009/11/large1.jpg" alt="HTC Hero" width="276" height="293" /></a><p class="wp-caption-text">HTC Hero</p></div>
<p>Apart from that, an Android 2.0 phone can fulfill all my requirements at a decent price, around 550 CHF (360€) for a <a href="http://www.htc.com/www/product/hero/overview.html">HTC Hero</a>. It has a decent marketplace for applications and will surely benefit from the fact that it&#8217;s used by multiple phone brands (mass effect).</p>
<h3>The Maemo story &#8211; Nokia N900</h3>
<p>As a Fedora contributor, Maemo touches me more than Android. It&#8217;s Nokia&#8217;s &#8220;new&#8221; OS for their high-end mobile devices. By 2012, it should replace Symbian on all their devices in this category.</p>
<p>Unlike Android, Maemo is a &#8220;true&#8221; Linux distribution as we know it; it&#8217;s a Debian-based distribution with Gnome on it and a custom UI. It has apt to handle software updates and installations, supports software repositories, supports GTK and QT, uses Gnome technologies (gstreamer, telepathy&#8230;),  PulseAudio, BlueZ a Mozilla browser etc etc&#8230;it also has a strong developer community and <a href="http://maemo.org/" target="_blank">a planet</a>, like Fedora.</p>
<p><img class="aligncenter" src="http://maemo.org/static/e/eb42356042ac11ddbc5f8dc15ddf368c368c_maemo_overview.png" alt="" width="400" height="293" /></p>
<p>On this device, you have a root access by default and you can find all your usual command-line applications. Their flagship mobile device running Meamo 5 is the new <a href="http://maemo.nokia.com/">Nokia N900</a>. Oh, and it has a real keyboard too.</p>
<p><img class="aligncenter" title="Nokia N900" src="http://maemo.nokia.com/images/uploads/device1.jpg" alt="" width="470" height="382" /></p>
<p>The downside of this device is ironically that it&#8217;s new. The Nokia application store is not very well populated and the Maemo OS is only used by Nokia. As now, I see it much more like a hacker device than Android and I don&#8217;t expect it to have huge market share. An N900 can be bought for around 700 CHF (460€).</p>
<h3>Conclusion</h3>
<p>You may argue that these smartphones are expensive and I agree, but you rarely buy them without a contract from a mobile operator anyway. In my situation, my company pays for the phone bills so I can also invest some money in hardware now..priorities change.</p>
<p>If you look a the raw technical specifications, the <a href="http://maemo.nokia.com/n900/specifications/">Nokia N900</a> wins over the <a href="http://www.htc.com/www/product/hero/specification.html">HTC Hero</a>, it has more of just everything (Memory, CPU power, I/O capabilities).  Having seen a HTC Hero in action, it doesn&#8217;t lack any processing power though, so the real difference between the devices has to be made on the software side. Both devices can serve as modems and download + stream music from a centralized point to all the devices in my apartment.</p>
<ul>
<li>Android is solid, stable, has a big and growing marketplace and is supported by many companies. It just lacks that little bit of openness that would make it the perfect OS for my usage.</li>
<li>Meamo is reported to be stable, very fast, very hackable but it lacks a real marketplace for applications right now. The fact that it&#8217;s a &#8220;pure&#8221; Linux system backed by Nokia, a big Open Source contributor, really appeals to me though.</li>
</ul>
<p>At the end of the day, I&#8217;m probably going to give my preference to the N900, let me a couple of days to think about it and with a little chance, you&#8217;ll get a full review in a couple of weeks.</p>
<p>While writing this blog post, it also struck me how important the concept of caring about an operating system on your phone has become during the last years, we can at least thank the iPhone for that. Yes, I feel like a hipster now.</p>
<p>/me looks at the shiny marketing video</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/Au_uRmoy8Fs" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/Au_uRmoy8Fs"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2009/11/22/maemo-or-android-n900-versus-hero/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Catchall maintenance page with Apache</title>
		<link>http://www.alphatek.info/2009/10/23/catchall-maintenance-page-with-apache/</link>
		<comments>http://www.alphatek.info/2009/10/23/catchall-maintenance-page-with-apache/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 17:00:52 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=461</guid>
		<description><![CDATA[Today I had to search quite a long time how to use Apache&#8217;s mod_rewrite to create a &#8220;maintenance&#8221; page for a web server. The goal was to: Redirect all URLs usually going to http://foo/go/bar to http://foo/maintenance-light.html Redirect all other URLs to http://foo/maintenance.html All the maintenance pages are also using some CSS and images. Creating this [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to search quite a long time how to use Apache&#8217;s mod_rewrite to create a &#8220;maintenance&#8221; page for a web server. The goal was to:</p>
<ul>
<li>Redirect all URLs usually going to http://foo/<strong>go</strong>/bar to http://foo/maintenance-light.html</li>
<li>Redirect all other URLs to http://foo/maintenance.html</li>
</ul>
<p>All the maintenance pages are also using some CSS and images. Creating this redirection sounds really stupid and simple, but one thing wasn&#8217;t clear in the documentation and it took me quite a while to figure it out&#8230;<strong>every RewriteCond is only valid until the next RewriteRule</strong>! Not knowing that, I had infinite loops on the second RewriteRule&#8230;so I hope that this post will help someone else to avoid this problem.</p>
<p>The lines to add to your Apache config are:</p>
<p>RewriteEngine on<br />
RewriteCond %{REQUEST_URI} !^/maintenance.html$<br />
RewriteCond %{REQUEST_URI} !^/maintenance-light.html$<br />
RewriteCond %{REQUEST_URI} !/img/(.*)$<br />
RewriteCond %{REQUEST_URI} !/css/(.*)$<br />
RewriteRule ^/go/ /maintenance-light.html [R,L]<br />
RewriteCond %{REQUEST_URI} !^/maintenance.html$<br />
RewriteCond %{REQUEST_URI} !^/maintenance-light.html$<br />
RewriteCond %{REQUEST_URI} !/css/(.*)$<br />
RewriteCond %{REQUEST_URI} !/img/(.*)$<br />
RewriteRule $ /maintenance.html [R,L]</p>
<p>The first line is there to simply enable the Apache rewrite engine. Then we have 4 lines to &#8220;exclude&#8221; some paths from being rewritten and finally we find the rewrite rule. Note that they are processed in order. The &#8220;L&#8221; flag instructs Apache to skip all the following RewriteRule statements as soon as the one is matched.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2009/10/23/catchall-maintenance-page-with-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quake Live available for Linux and OSX</title>
		<link>http://www.alphatek.info/2009/08/20/quake-live-available-for-linux-and-osx/</link>
		<comments>http://www.alphatek.info/2009/08/20/quake-live-available-for-linux-and-osx/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 07:11:11 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=429</guid>
		<description><![CDATA[Good news! Quake Live is available for Linux and OSX since yesterday. For those who don&#8217;t know what it is, imagine Quake III playable in your browser with a simple Firefox/Safari plugin. Oh, and it&#8217;s free too. http://www.quakelive.com]]></description>
			<content:encoded><![CDATA[<p>Good news! Quake Live is available for Linux and OSX since yesterday. For those who don&#8217;t know what it is, imagine Quake III playable in your browser with a simple Firefox/Safari plugin. Oh, and it&#8217;s free too. <a href="http://www.quakelive.com/" target="_blank">http://www.quakelive.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2009/08/20/quake-live-available-for-linux-and-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Générateur de persos pour le JDR Cthulhu</title>
		<link>http://www.alphatek.info/2009/07/12/generateur-de-persos-pour-le-jdr-cthulhu/</link>
		<comments>http://www.alphatek.info/2009/07/12/generateur-de-persos-pour-le-jdr-cthulhu/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 18:25:31 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=392</guid>
		<description><![CDATA[Étant MJ pour le jeu de rôles &#8220;Cthulhu&#8221; publié par le 7ème cercle, j&#8217;ai profité d&#8217;un moment perdu pour mettre à jour mon générateur de fiches de personnages. Il s&#8217;agit d&#8217;une interface web toute simple permettant de rapidement créer une fiche d&#8217;investigateur au format pdf, prête à être imprimée&#8230;idéal quand vous avez des joueurs qui [...]]]></description>
			<content:encoded><![CDATA[<p>Étant MJ pour le jeu de rôles &#8220;Cthulhu&#8221; publié par le <a href="http://www.7emecercle.com/7cv2fr/jdr/cthulhu/cthulhu.html" target="_blank">7ème cercle</a>, j&#8217;ai profité d&#8217;un moment perdu pour mettre à jour mon générateur de fiches de personnages. Il s&#8217;agit d&#8217;une interface web toute simple permettant de rapidement créer une fiche d&#8217;investigateur au format pdf, prête à être imprimée&#8230;idéal quand vous avez des joueurs qui ne préparent jamais rien à l&#8217;avance et ne se souviennent jamais des règles!</p>
<p>Le tout est fait de telle sorte qu&#8217;il n&#8217;y ait pas besoin du livre de règles, tout est guidé de manière dynamique au fur et à mesure des différentes étapes de la création des persos. Notez qu&#8217;il n&#8217;y a pas de contrôle contre la &#8220;triche&#8221;, mais bon en a-t-on vraiment besoin&#8230;j&#8217;ajouterai peut-être un javascript pour ça un jour. Donc en résumé on a:</p>
<ul>
<li>Support de toutes les professions du livre de base ainsi que de l&#8217;extension &#8220;Aventures Extraordinaires&#8221;.</li>
<li>Support du jeu en mode &#8220;puriste&#8221; ou &#8220;pulp&#8221;.</li>
<li>Support d&#8217;un nombre de joueurs aléatoire.</li>
<li>Export de feuille de personnage pré-remplie au format PDF.</li>
</ul>
<p>Le générateur dans sa version 1.1 est accessible sur <a href="http://www.alphatek.info/cthulhu/">par ici</a> pour les intéressés. Ça a peut-être l&#8217;air con comme-ça, mais derrière il y a une base de données d&#8217;environ 1500 enregistrements afin de gérer toutes les combinaisons.</p>
<p><a href="http://www.alphatek.info/wp-content/uploads/2009/07/cthulhu.png" rel="lightbox[392]"><img class="aligncenter size-full wp-image-394" title="cthulhu" src="http://www.alphatek.info/wp-content/uploads/2009/07/cthulhu.png" alt="cthulhu" width="450" height="203" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2009/07/12/generateur-de-persos-pour-le-jdr-cthulhu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Damn, I bought a Foxconn R10-S3 Atom PC</title>
		<link>http://www.alphatek.info/2009/07/10/damn-i-bought-a-foxconn-r10-s3-atom-pc/</link>
		<comments>http://www.alphatek.info/2009/07/10/damn-i-bought-a-foxconn-r10-s3-atom-pc/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 13:05:32 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.alphatek.info/?p=389</guid>
		<description><![CDATA[NEVER! I swore to myself that I would never buy one of these crappy, under performing Atom based computers. This was before I went to my local computer shop. They currently have really cheap and small Atom computers on sale, so I bought a complete Foxconn R10-S3 for around 120€. I already had a hard [...]]]></description>
			<content:encoded><![CDATA[<p>NEVER! I swore to myself that I would never buy one of these crappy, under performing Atom based computers. This was before I went to my local computer shop. They currently have really cheap and small Atom computers on sale, so I bought a complete <a href="http://www.foxconnchannel.com/product/Barebones/detail_overview.aspx?ID=en-us0000034" target="_self">Foxconn R10-S3</a> for around 120€. I already had a hard drive (500GB) and a memory stick (2GB) lying around, so it was a good opportunity to build a cheap computer to test Rawhide builds.</p>
<p><a href="http://www.alphatek.info/wp-content/uploads/2009/07/dscn2704.jpg" rel="lightbox[389]"><img class="aligncenter size-medium wp-image-390" title="dscn2704" src="http://www.alphatek.info/wp-content/uploads/2009/07/dscn2704-300x225.jpg" alt="dscn2704" width="300" height="225" /></a></p>
<p>As you can see on the picture above, it&#8217;s a really small case in which you can fit an optical drive and 2 3.5&#8243; disks. The whole thing is based on an Atom 330, which is a dual-core CPU running at 1.6GHz. As a desktop chip, it supports the 64-Bit instruction set. So I installed a 64-Bit Fedora 11 on it and I have to say that it works quite well&#8230;It&#8217;s perfectly usable to browse the web (even with Flash), listen to music and work on an OpenOffce document at the same time. Don&#8217;t expect much more as it will begin to feel sluggish&#8230;</p>
<p>One thing I don&#8217;t like about it is the integrated fan&#8230;it&#8217;s loud. In fact it&#8217;s as loud as my quad-core computer when it&#8217;s idle, which frankly sucks on a small computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alphatek.info/2009/07/10/damn-i-bought-a-foxconn-r10-s3-atom-pc/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
