Monthly Archives: January 2009

All Change on the Desktop (Again)

My ThinkPad and What I Do With It

By way of preamble, the computer I use on a daily basis is a Lenovo ThinkPad Z61m 9451NTM. Whilst this is not the computer that I hoped it would be when I bought it – it has serious overheating issues and seems to have drifted away from the quality of IBM ThinkPads since going over to the new manufacturer – it is quite a powerful machine better considered as a desktop replacement rather than something that one can use on one’s lap. (If the weight doesn’t crush your knees, the overheating will burn them. And other bits.)

At the moment, this machine is running Gentoo Linux with my own customised LAMP stack and the fast, minimal, Fluxbox as my desktop environment. This machine runs all the services that my web servers run plus the GUI desktop environment.

I am not the most demanding user in that I do not deal with graphics, games or anything that requires much in the way of computing power. However, as a developer I run VMware Workstation so that I can test with web user agents running on Windows XP (not to mention running iTunes.) This machine came as standard with 0.5Gb of RAM; I bought an extra 1.0Gb when I got it but had to upgrade to 3Gb to be able to run VMWare guest operating systems reliably and without dragging down performance.

The ThinkPad is normally run dual-screen with xinerama using an Asus VW223U 22″ widescreen monitor as my primary, with the laptop display as the secondary. Input is via a Microsoft (a company I usually avoid!) Natural (ergonomic/split) keyboard and a Logitech TrackMan Marble optical trackball. It should be noted that I actually have to have 2 config files for the X server – one for single and one for dual monitor. Running without the external monitor in dual mode makes the keyboard/internal monitor unusable; I now have a special startx script to ask which configuration I am running before starting the X server.

The supplied 80Gb hard disc proved to be inadequate for my demands (virtual machines can take up a lot of room) after about 6 months. The 160Gb 5400rpm disc I put in as a replacement – copying the old disc straight over – was not the wisest of investments as I have now, a further 18 months down the track, had to acquire a 320Gb 7200rpm disc for my next move. (Note that both replacement discs are Hitachi TravelStars as per the original equipment, to provide design continuity.)

This machine is my “everything” machine. It is the machine I work with, the machine I use for electronic design and would also be the machine I use as a DAW (Digital Audio Workstation) were it not for serious limitations of the Gentoo Linux distribution currently installed.

Greetings to Deb and Ian

Having used Unix-derived operating systems for some 22 years, when I first started working for myself in 2001, I was very quick to dump Windows as my desktop operating system and move to Linux. The distribution in question was SuSE as I had experience with this from my previous life, using it on test servers based on 486DX4-100 machines. For a while I was satisified with SuSE but every upgrade caused more problems and, back in 2006, with my old Toshiba was suffering from loss of a memory socket, became totally unusable. It was then that I migrated to Gentoo Linux.

Gentoo has served me well over the last two-and-a-bit years, both on the desktop and on my web servers. However, it appears that the AMD64 version of Gentoo is far less well maintained than it could be and the maintenance burden of running ebuilds on 3 servers plus the laptop has become unviable. In addition to that, I am unable to run and/or build various audio applications such as Rosegarden, Qtractor, Audacity and others. With the restriction in working (or able to use computer) hours that my health situation enforces on me, I have decided that it is time to go back to binary Linux distributions. I have sworn off RPM-based for life (I ran a RedHat web server once as well as my SuSE boxes) – never, ever, again. Whilst the popular choice of Linux distribution (other than RedHat and the now Novell SuSE) would appear to be Ubuntu, this distribution does not appeal to me as it appears to be aimed (and good on ’em for doing it) at the non-technical market.

My next move will be to Debian, an old, established distribution and that from which the popular Ubuntu is derived.

How to Migrate Without Inconvenience

Many of the tools that I use I wrote are one-offs. They were never designed to work on other machines or outside of my current working environment. My LAMP stack is customised, but I have few scripts (especially for the Perl part) that would enable me to re-install it quickly on a new machine or hard disc.

Migration from Gentoo to Debian by starting with a clean disc could take upwards of a week – time I cannot afford.

My solution, that which I have just started within the last couple of weeks, is to do the migration in stages. This is possible due to the fact that my ThinkPad is able to boot from an external, USB-connected, hard disc. The vendor from whom I obtained the new 320Gb disc happened to be clearing external USB to SATA disc enclosures for $5 AUD a piece. My new disc is mounted in one of these so I am able to dual-boot between my day-to-day environment and the fledgling Debian environment. I even have an entry in the Grub menu of my internal disc to allow me to boot the external one.

Issues So Far

I have only encountered three issues so far with the migration progress:

  1. If I boot from the external disc, I can’t get Grub to boot anything – either the internal or external disc. I can only guess that for some reason the disc IDs are different when booting thus.
  2. Time. I simply don’t have enough at the moment to devote to this work. However, because I can do it bit-by-bit, this is not a significant issue.
  3. Last but not least, the afore-mentioned over-heating issue is the main problem. The only way to get this machine to work – other than in the depths of Winter – is to use a kernel that has the IBM ACPI module and tools and to start the fan running at full speed as soon as boot is complete. As things stand, I think I will have to build an appropriate kernel whilst booted into my regular environment, copy it to the new disc and try from there. Either that or pull the thing apart and hard-wire the fan.

The Future

Once I have a working system and have copied everything across, I will move the external hard disc into the laptop. I will then build myself a realtime kernel and see if I can’t get those audio applications working.

Due to the lack of portability of the this ThinkPad – or at least the inconvenience of portability – I have decided to move to a Netbook for use elsewhere in the house. This will not be an Eeeeeeeeeeeeee or any such beast but an elderly and very slimline ThinkPad (a real one, from IBM.) Lacking any removable media devices or even USB, this machine does have a PCMCIA slot so that I can have WIFI access. I plan to replace the 4Gb hard disc with an adapter and a Compact Flash device (might have to get the soldering iron out if I can’t buy a suitable adapter) and re-stuff the battery.

This little wonder will probably be running the Slackware Linux distribution as I have had success with this before on old hardware. It is a really nice (and light) machine – I look forward to its rejuvanation.

Note: if anyone can suggest a light-weight web browser (user agent) that runs well on a low-resourced system (Flash and other plugins NOT required), please let me know.

Update 1

I have attempted to install my Gentoo kernel onto the Debian disc, but it won’t boot properly.  Now installing the “official” way but booted into Gentoo and then chroot’ed to the mounted Debian disc.  This allows me to apt-get everything I want without having to actually boot into Debian.

Blinzza: Pizza, The Next Generation

Preamble

I used to enjoy good pizza – where 'good' means large amounts of quality toppings on a thin base, not the thick, stodgy, starchy, monstrosities which are mainly just bread (and I'm being charitable calling it bread) topped with something not quite entirely unlike cheese.

Having to convert to gluten-free cooking changed things somewhat. I tried using various gluten-free flour mixes, including those from premium brands like BiAglut (acutally one of the Heinz considerably-more-than-57 Varieties.) Whilst I was nearly able to reproduce the texture of wheat-based pizza bases, these all ended up tasting like something made from a gluten-free flour mix: variations on a theme of 'foul'.

Pizza then became a treat on those very rare occasions when we ate out. It seemed, however, that my very infrequent consumption of wheat flour had changed me; every one of those pizzas left me feeling like I had just eaten a bag of cement and/or with galloping indigestion. Pizza went off the menu.

There are alternatives to pizza, omelettes, galettes (buckwheat pancakes,) and other types of crêpes can take the same ingredients that make a good pizza topping. It was galettes that gave me the inspiration to try something different – blinz. Blinz, blins, blinis and a few other names refer to what is essentially a yeast-leavened galette. Would such a thing work as a pizza base? Would the flavour of the buckwheat be too strong?

The Experiment

Like most of my culinary experiments where the results are in doubt, I tried this one when my wife was away. I actually cheated and used raising agent/baking powder instead of a yeast levain. The batter was cooked as a thick crêpe in a proper Tefal crêpière (also very good for omelettes and fried eggs,) popped into a pizza pan and topped.

The result was quite delicious. The base was far lighter than anything in my experience bread-based and the flavour of the buckwheat not only failed to overpower the topping but complemented the constituent flavours in a way that wheat has never done (for me at least.)

The Recipe

'Blinzza', as I call it, is now on the menu on a regular basis. We tend to enjoy them topped with tomato paste, anchovies, chorizo, olives (hope that these will be my own in a few months), Mozzarella. Prawns may go on mine, although not those of the inveterate prawn-hater of the house. Chillis will arrive in time, but I don't know when – there is a single flower on one of my seedlings.

After a certain amount of experimentation, I have rationalised the recipe (makes 2 bases) thus:

  • 1 cup buckwheat flour
  • 1 cup water
  • 1 egg
  • pinch of salt
  • half packet of dried yeast or some raising agent/baking powder if feeling lazy/running late

The water/buckwheat ratio may need to be adjusted depending on the buckwheat. Batters are something that you just have to get a feel for – my only tip here is practice, practice, practice.

The blinz should be cooked on both sides. I thought that if I left the topside and then had that face-down on the pizza pan, it would cook in the oven. It does, but it also sticks firmly to the pan, even oiled.

When baking blinzzas, if one person is having something that the other finds 'yucky' (such as prawns), put that one on a lower shelf as drips may offend. (This is even more important if there are allergens involved.)

Allergy Alert

I have only once heard of someone being allergic to buckwheat – I suppose it can happen. If you can't handle yeast, just use raising agent. (If you can't handle gluten, make sure that it is a gluten-free raising agent.) It may be possible to make this without eggs – I have not tried and nor do I intend to – experimentation here is left to the reader.

For those with dairy allergies, use ingenuity to select topping ingredients that work sans-cheese.

Conclusion

Despite previous reservations about gluten-free pizzas/pizza-alternatives I would conclude by saying that, after having eaten blinzza, I would never want to go back to a wheat base.

 

Lizards!

A pair of Sleepy Lizards

I have finally got around to posting a set of photographs on Flickr of a pair of Sleepy Lizards (Tiliqua rugosa) that were running (?) around the front lawn back at the end of October, possibly in some sort of courtship ritual.

A lot more frames were taken than are presented. When I have figured out how, I will run them together into a movie – this should work as I had the camera shooting almost continuously during about four 'scenes'.