<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>George Wright's Blog: Category Computing</title>
    <link>http://blog.gwright.org.uk/articles/category/computing</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Random bloggings of a clearly disturbed KDE geek</description>
    <item>
      <title>Twitter!</title>
      <description>&lt;p&gt;I have now joined Twitter! Final year&amp;#8217;s going to be a laugh&amp;#8230;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.twitter.com/gw280"&gt;Follow me!&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 11 Nov 2008 16:48:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:2bdec1cb-f1de-4af1-b755-1e4d01f3157a</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2008/11/11/twitter</link>
      <category>Computing</category>
      <category>Misc</category>
    </item>
    <item>
      <title>ThinkPad X40 SSD conversion and battery woes</title>
      <description>&lt;p&gt;My CF card and CF-IDE converter board arrived in the post and so today I started trying to get Linux installed on it.&lt;/p&gt;

&lt;p&gt;At first I thought I&amp;#8217;d try installing from a USB CD drive, but this was a horrendous mess and ended up wasting a good 8 hours of my life. In the end, I dumped the CF in a USB reader and debootstrapped hardy on, then booted it and installed kubuntu-desktop.&lt;/p&gt;

&lt;p&gt;The installation is still going, but I did have a chance to run a quick hdparm -Tt on the disk; seems it&amp;#8217;s doing a fairly consistent 25MB/s which is excellent given the old disk only did 18MB/s or so. hdparm also tells me that the disk is in UDMA-2 mode which is not too shoddy.&lt;/p&gt;

&lt;p&gt;In other news, I&amp;#8217;ve noticed that the batteries on my X40 are clapped out after nearly 3 years of abuse. The main 8-cell I have is down from 61Wh to 35Wh, and my extended battery which clips on the bottom is down from 27Wh to 12Wh. I can handle paying &#163;30 to get a new 6-cell, as that&amp;#8217;ll give a good 8 hours or so of life, but extended life batteries for the X40 are very seldom seen on eBay and the ones which do end up on there go for silly prices.&lt;/p&gt;

&lt;p&gt;Does anyone have any experience replacing the cells in a ThinkPad battery manually? I just ripped my extended battery apart (luckily I had the correct triangular screwdriver bit&amp;#8230;) and the four cells inside there are shaped in exactly the same way as in the normal 4-cell battery, which leads me to believe they share identical cells. My theory is that I can buy a normal 4-cell on eBay then rip the cells out of it then put them in the extended life battery. The only problem I can see at the moment is that ACPI reports design capacity and last known capacity, and I don&amp;#8217;t know how to flush these values for recalibration. I&amp;#8217;m assuming the charging circuit should be clever enough to work it out for itself?&lt;/p&gt;

&lt;p&gt;I&amp;#8217;d appreciate any comments or suggestions.&lt;/p&gt;</description>
      <pubDate>Thu, 17 Jul 2008 00:03:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:5561cfee-4b3d-4265-90c9-a9f24bd5f9f3</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2008/07/17/thinkpad-x40-ssd-conversion-and-battery-woes</link>
      <category>Computing</category>
    </item>
    <item>
      <title>Bit the bullet...</title>
      <description>&lt;p&gt;So I buckled under temptation and bought myself a 32GB CF card and a CF-IDE converter board off eBay just now; whole lot came to about 74 pounds including postage, which I think is not too shabby for what should be a fairly good 32GB SSD solution.&lt;/p&gt;

&lt;p&gt;Claimed read/write speeds for the card are 36/40MBps which would be very nice if true, but I&amp;#8217;m expecting it&amp;#8217;ll probably be around half that at best. Still, I&amp;#8217;ll do some rudimentary tests with hdparm to see how it is; hopefully it won&amp;#8217;t be slower than the 4200rpm 1.8&amp;#8221; disk that&amp;#8217;s currently in there!&lt;/p&gt;

&lt;p&gt;I also hope the battery life improves&amp;#8230; I&amp;#8217;ve only ever had the X40 down to about 7 or 8W power consumption at minimum; with this setup I hope to inch an extra watt out of it!&lt;/p&gt;</description>
      <pubDate>Tue, 08 Jul 2008 22:30:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:899a1c84-014b-4dbe-a54b-5a1de7b57005</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2008/07/08/bit-the-bullet</link>
      <category>Computing</category>
    </item>
    <item>
      <title>Using a CF disk in an X40?</title>
      <description>&lt;p&gt;Has anyone seen &lt;a href="http://vort.org/2008/02/21/converting-an-ibm-x40-to-flash/ "&gt;this&lt;/a&gt; - it seems to be fairly interesting. I&amp;#8217;m tempted to do it myself as the disk drive in my X40 has died on me..&lt;/p&gt;

&lt;p&gt;eBay seems to have the relevant components for about 70 GBP.&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:37:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:cc7f30dc-4734-42e6-a92b-9a6458ba8380</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2008/07/04/using-a-cf-disk-in-an-x40</link>
      <category>Computing</category>
    </item>
    <item>
      <title>First week at Cendio</title>
      <description>&lt;p&gt;So I&amp;#8217;ve been working at Cendio for a week now; I must say it&amp;#8217;s been one of the best times of my life.&lt;/p&gt;

&lt;p&gt;Sweden&amp;#8217;s a great place, especially Link&#246;ping; it&amp;#8217;s clean, cycletastic and everyone is so friendly here. Our office is a fantastic place - it&amp;#8217;s spacious, cosy, has a hot chocolate machine (!!!) and my colleagues are awesome! I especially like that I get my own office as well.&lt;/p&gt;

&lt;p&gt;Over the evenings and weekend I&amp;#8217;ve been on the bike a fair bit, having nearly been run over by several buses (silly traffic driving on the wrong side&amp;#8230;) and tomorrow I&amp;#8217;m going with Inge Wallin (of KDE fame) on some boat thing on the canal which should be great fun.&lt;/p&gt;

&lt;p&gt;The cycle routes around here take a bit of getting used to; in the UK I&amp;#8217;m quite happy to cycle alongside cars on dual carriageways and take on large roundabouts without any trouble, but with the combination of being on the other side of the road, and not knowing the customs on the road here, I&amp;#8217;ve been sticking to country lanes and cycle paths for the time being. I&amp;#8217;ve had no crashes so far this year (as opposed to six last year, including 3 pretty major ones&amp;#8230;) and I intend to keep it that way!&lt;/p&gt;

&lt;p&gt;I shall be sorry to leave on the 15th July.&lt;/p&gt;</description>
      <pubDate>Mon, 30 Jun 2008 22:28:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:fd032611-7ef0-4b67-b520-26f9abc93771</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2008/06/30/first-week-at-cendio</link>
      <category>Computing</category>
      <category>Misc</category>
    </item>
    <item>
      <title>Sweden at last</title>
      <description>&lt;p&gt;Today&amp;#8217;s been a somewhat hectic day for me; after getting up at 0500 to get to Heathrow by 0700, I managed to get on my 1030 flight to Arlanda and arrive in Stockholm just after 1400. After hopping on a train to Link&#246;ping, I was greeted by my contact at &lt;a href="http://www.cendio.com"&gt;Cendio&lt;/a&gt;, Peter &#197;strand, who has been exceptionally helpful and accommodating with my moving in.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;m staying in university accommodation which is rather nice; it&amp;#8217;s a bit Ikea-y, but not too shabby. There was a particularly bad dead fly infestation in my room but a dustpan and brush seems to have taken care of most of it, and I may have to vacuum around when I can get hold of one. The luxury of an en-suite is always welcome, and I have a 10Mbit/s internet connection which is definitely most welcome!&lt;/p&gt;

&lt;div align="center"&gt;&lt;a href="http://gwright.org.uk/images/pictures/Sweden/img_0215.jpg"&gt;&lt;img src="http://gwright.org.uk/images/cache/pictures/Sweden/400x300/img_0215.jpg"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br /&gt;My room&lt;/div&gt;

&lt;p&gt;As for my job out here, I&amp;#8217;ll be working on the next release of ThinLinc, Cendio&amp;#8217;s flagship remote desktop product. At first I believe I&amp;#8217;m mainly doing testing of the upcoming release to ensure it meets quality standards, but Peter is keen for me to dig into the coding side soon.&lt;/p&gt;

&lt;p&gt;In my spare time, I decided to bring my bike over and I&amp;#8217;ll hopefully spend most of my evenings racing around the roads on it. It really is a delightful little machine. When I&amp;#8217;m not on the bike I hope to get some work done on nxcl/qtnx as well.&lt;/p&gt;

&lt;div align="center"&gt;&lt;a href="http://gwright.org.uk/images/pictures/Sweden/img_0214.jpg"&gt;&lt;img src="http://gwright.org.uk/images/cache/pictures/Sweden/400x300/img_0214.jpg"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br /&gt;The bike&lt;/div&gt;</description>
      <pubDate>Mon, 23 Jun 2008 22:48:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:5ac47f08-c82c-4b95-8ade-db7256727a2b</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2008/06/23/sweden-at-last</link>
      <category>Computing</category>
      <category>Misc</category>
    </item>
    <item>
      <title>Eee PC</title>
      <description>&lt;p&gt;With my parents going on holiday to Taiwan last month I asked them to pick me up an &lt;a href="http://en.wikipedia.org/wiki/ASUS_Eee_PC"&gt;Eee PC&lt;/a&gt; to play with. It&amp;#8217;s a really nice little machine; I got the 8GB flash/1GB RAM model, and I&amp;#8217;m very impressed with how responsive it is. Even Open Office is fairly nippy&amp;#8230;&lt;/p&gt;

&lt;p&gt;The keyboard is a little small and takes a bit of getting used to, but I can just about touch type on it now. The machine as a whole is very sturdy and seems solidly built, and the touch pad is just about usable (the mouse button isn&amp;#8217;t too great though). The screen is a little grainy but very crisp - it seems better than the screen on my X40 (albeit at a lower resolution) - and the default Xandros distribution is quite nice.&lt;/p&gt;

&lt;p&gt;Anyway, I&amp;#8217;ve built qtnx debs for the Xandros that is on there (I added the Debian Etch repositories to /etc/apt/sources.list to complement the default Eee repositories) and uploaded them to &lt;a href="http://vm.gwright.org.uk/pub/qtnx-eee"&gt;my server&lt;/a&gt; if anyone wishes to use them (hit ctrl-alt-T to bring up a terminal, then use dpkg -i to install them). The configuration dialogue doesn&amp;#8217;t quite fit on the screen but you can use the alt+mouse button trick to drag the window around.&lt;/p&gt;</description>
      <pubDate>Mon, 26 May 2008 22:26:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:554cc65a-9539-46b4-9686-768542b466ee</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2008/05/26/eee-pc</link>
      <category>Computing</category>
      <category>NX</category>
    </item>
    <item>
      <title>Desktop on Demand NX clients</title>
      <description>&lt;p&gt;So today I released what is hopefully something very close to the final release of my NX client, but this time as a branded version for &lt;a href="http://www.desktopondemand.com"&gt;Desktop on Demand&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The Windows client has now been tested a lot more thoroughly, and it shouldn&amp;#8217;t freeze anymore (due to some lovely hacks&amp;#8230; turns out that the Qt/Cygwin build likes to freeze if you&amp;#8217;re using the Windows XP native theme engine, so I told it to use Plastique), doesn&amp;#8217;t bring up an ugly terminal window and it no longer fullscreens the NX window in all cases.&lt;/p&gt;

&lt;p&gt;The OS X client has had minor usability updates as it was all pretty much working beforehand anyway. It&amp;#8217;s generally a lot nicer to use and I&amp;#8217;ve confirmed it works on both OS X 10.4 and 10.5 (x86 platforms).&lt;/p&gt;

&lt;p&gt;The best thing about both these clients is that they do not need installation to the computer; I tested them by putting them on USB flash disks and taking them to friends&amp;#8217; computers and seeing if they&amp;#8217;d connect without any trouble - and they did.&lt;/p&gt;

&lt;p&gt;Kudos to NoMachine for being incredibly helpful about the NXWin problems; they created a &lt;a href="http://www.nomachine.com/ar/view.php?ar_id=AR01F00503"&gt;knowledge base article&lt;/a&gt; detailing exactly how to compile it and also updated the source packages as the original ones I used didn&amp;#8217;t work at all. I&amp;#8217;m very impressed with how quickly they got back to me on this!&lt;/p&gt;

&lt;p&gt;The clients are now available from &lt;a href="http://vm.gwright.org.uk/pub/DoD/"&gt;here&lt;/a&gt; and their md5sums are:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
61c3902c6ae4342b23c303425bfb6718  Desktop on Demand.dmg.zip&lt;br /&gt;
f0d24af8e1900cdc7fd4ab9470245113  Desktop on Demand.zip
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;As for Linux, I&amp;#8217;ve yet to package that; I will be packaging a standalone tarball with the NX client statically linked to Qt. For those of you who don&amp;#8217;t like that, there&amp;#8217;s always the source code in the &lt;a href="http://svn.berlios.de/wsvn/freenx/"&gt;FreeNX subversion repository&lt;/a&gt; and &lt;a href="http://www.nomachine.com/sources.php"&gt;NoMachine&amp;#8217;s site&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Wed, 13 Feb 2008 17:24:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:6b5757e9-3c52-4838-a4b9-56d33993255d</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2008/02/13/desktop-on-demand-nx-clients</link>
      <category>Computing</category>
      <category>NX</category>
    </item>
    <item>
      <title>Qt/Windows and Cygwin</title>
      <description>&lt;p&gt;So in the process of learning about cygwin/mingw/qt in order to port qtnx to Windows, I concluded that the easiest way would be to compile nxcl using cygwin (which, luckily, compiled with no changes at all), and then to compile Qt inside cygwin and then compile qtnx inside cygwin, linking to both Qt and nxcl.&lt;/p&gt;

&lt;p&gt;Turns out getting Qt 4 to compile inside cygwin is a non-trivial task. Thankfully, however, &lt;a href="http://wiki.lyx.org/LyX/LyXOnCygwin"&gt;the LyX guys have done most of the work&lt;/a&gt;. It just needed a minor alteration to the source, though, otherwise a linker error occurred during compilation of Qt/Win 4.3.3.&lt;/p&gt;

&lt;p&gt;In &lt;code&gt;src/corelib/codecs/qtextcodec.cpp&lt;/code&gt;, there is an #ifdef block starting on line 528. You just need to add&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;amp;&amp;amp; !defined(Q_CYGWIN_WIN)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;to stop the Asian codecs from being compiled in; there&amp;#8217;s probably a better solution to this, but I don&amp;#8217;t see this as being particularly problematic. After that you can follow the instructions in the LyX wiki and link to Qt just fine.&lt;/p&gt;

&lt;p&gt;From this you can probably tell that I now have QtNX compiling inside cygwin on Windows. Well, yes, it works, but I haven&amp;#8217;t yet tested whether it will actually connect to any servers. Theoretically, it should so long as I set the PATH properly to point to the directory where nxssh and nxproxy are, and hopefully all should just work fine! I may need to append &amp;#8220;.exe&amp;#8221; to the binary names in nxcl though, but all in all I think it should be fairly trivial from now on (so long as nxproxy behaves as expected and doesn&amp;#8217;t start making annoying noises about X11 and Win32).&lt;/p&gt;

&lt;div align="center"&gt;&lt;a href="http://vm.gwright.org.uk/images/images/blog/qtnx-win.png"&gt;&lt;img src="http://vm.gwright.org.uk/images/cache/images/blog/512x384/qtnx-win.png"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br /&gt;
Gratuitous QtNX on Windows screenshot&lt;/div&gt;</description>
      <pubDate>Mon, 21 Jan 2008 21:22:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:0a1e9e33-bb0b-464f-8163-88f473021f7d</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2008/01/21/qt-windows-and-cygwin</link>
      <category>Computing</category>
      <category>NX</category>
    </item>
    <item>
      <title>Nokia N810</title>
      <description>&lt;p&gt;Now that they&amp;#8217;ve released the Nokia N810 in the UK, I ordered one yesterday and it arrived this morning; hurrah for prompt delivery!&lt;/p&gt;

&lt;p&gt;My initial impressions are mixed.&lt;/p&gt;

&lt;p&gt;Good things: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the screen is fantastic&lt;/li&gt;
&lt;li&gt;it came with maps for the GPS for free&lt;/li&gt;
&lt;li&gt;it has a keyboard&lt;/li&gt;
&lt;li&gt;it&amp;#8217;s responsive&lt;/li&gt;
&lt;li&gt;it&amp;#8217;s nice and small&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Not so good things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the battery cover is incredibly hard to take off&lt;/li&gt;
&lt;li&gt;the battery doesn&amp;#8217;t clip in - it just sits there and is held in place by the cover&lt;/li&gt;
&lt;li&gt;the GPS takes ages to lock&lt;/li&gt;
&lt;li&gt;the keyboard feels a bit mushy, and the top row is hard to type on&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Anyway, I&amp;#8217;ve now installed Maemo Mapper which works like a charm (a bit of hackery is needed to get the internal GPS to work with it though), and ssh from xterm is &lt;i&gt;very&lt;/i&gt; usable with the new keyboard. Haven&amp;#8217;t installed our &lt;a href="http://git.collabora.co.uk/?p=webkit-eal.git;a=summary"&gt;WebKit stuff&lt;/a&gt; on it yet, but the Gecko-based MicroB engine isn&amp;#8217;t too bad.&lt;/p&gt;

&lt;p&gt;Overall a very nice piece of kit, and I&amp;#8217;m very pleased with it.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Dec 2007 19:35:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:e6280f8b-57ca-49b0-9940-39884b145e4e</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2007/12/11/nokia-n810</link>
      <category>WebKit</category>
      <category>Computing</category>
    </item>
  </channel>
</rss>
