« April 2006 | Main | June 2006 »

May 31, 2006

Beginning Linux - Part I

It's a nightmare. You want to try Linux but where do you start? A helpful friend suggests DistroWatch but that's no help. Apart from keeping track of the latest Linux releases they also rank the popularity of the top 100 distributions. Let me repeat that: the top 100 distributions! You may recall Microsofties recently got in a tiz when it was announced their eternally delayed upgrade would come in seven different flavours. We're effectively talking about 100 different operating systems!

Of course once you've mastered one, you've mastered most, but where do you begin?

SimplyMepis 3.4-3 is a great place to start. Here's why;
  • It's a single-CD download. Forget multi-disc distros if you're just starting out. Hey, you may not even like Linux!
  • It's a 'Live' distribution. That means it'll boot straight from CD without the need to install it on the hard drive.
  • It's portable and saveable. In spite of its CD nature, if you have a USB drive you can store your files and settings with a single click. Come back later or go to another machine entirely and you're back where you left off.
  • It has all the applications most desktop users need. And a lot more!
  • It comes pre-configured with a host of proprietary drivers, plugins and codecs.
  • It's hard disk ready. If you like what you see, hard disk installation's just a few mouse clicks away.
So where do you get it? Here's a list of SimplyMepis download mirrors. (If you know of one in NZ let me know.) The file you want is in the Release folder and it's called SimplyMEPIS_3.4-3.iso.

If you can't handle the download, Linux CD Mail have copies for $11.95. I see Fishpond have it too but there's is listed as "SimplyMEPHIS 2006.4". I'm guessing it's the latest beta of version 6 but there's no real indication on the site. If you want to be a crash test dummy, go ahead.

Downloaders should also grab the .md5sum file. It contains a checksum of the contents of your download...
7a18f57344d9656dacf6634d7b7a0f21  SimplyMEPIS_3.4-3.iso
To confirm your download's kosher from within Windows you'll need an md5sum utility. Try here for a graphical one or here for a Dos version. Linux users can simply type

  md5sum <filename>

from within a console window.

Now you need to burn the .iso image to a CD. I haven't done this kind of thing in Windows for years but I recall Nero has an appropriate option tucked away somewhere. I use k3b under Linux and that's really tricky. You click on the Tools menu then Burn CD Image. Sheesh! Linux is just soooo complicated!! (Oh, and if you can't be bothered with the md5sum, k3b'll do that for you too. Automatically.)

Once you have your CD, pop it in the drive and reboot the PC. If your machine refuses to boot it, you'll need to tweak your BIOS settings to check for bootable CDs first. Hit DEL or F2 as the machine comes up to enter BIOS where you'll be able to change the boot order.

That's enough to be going on with. More next time....

May 26, 2006

Confessions of a Linux Tart

Since my first foray into Linux almost four years ago I've become something of a Linux tart. I started on Mandrake (now Mandriva), tinkered with Yoper, had a fling with Ubuntu, moved to Fedora Core, and, for the last few months, have been mainlining Suse 10. Why all the chopping and changing? Simply because, with Linux, you can!

The machine I'm sitting at now quadruple boots a selection of Linuxes. My internet gateway, primary firewall and connection sharing comes courtesy of Coyote Linux running on an ancient Pentium equipped with nothing more than a floppy disk drive. My backup machine runs Gentoo and my elderly laptop Damn Small Linux.

I love it. I love 'em all. It's a great operating system.

Here's just one reason to love Linux: it's complete. Kick off a new Windows installation and download a .zip and a .pdf file. Now you've got to download and install other applications to handle them – and then be nagged forever if you don't purchase them. Do the same with Linux and there's nothing more to add. Everything you need is there.

Yes, large Linux installation sets now run to five CDs. (As I write I'm half-way through a nine-hour download of the latest Suse DVD.) But don't forget, that's everything. Office packages, graphical desktops, multimedia stuff, development environments, tools, toys, games, utilities and more miscellaneous whiz-bangs than you can shake a stick at.

An example. I thought I'd better grab the above via a download manager so I can happily resume if anything untoward happens before the download's complete. But do I have one? Actually I have two. Typing "download" into the K-Menu search box reveals KGet and D4X (Downloader for X). And then of course there's the wondrous wget command-line tool.

But to return to the reason I started talking about distros, if you've not yet tried Linux, I have a great place for you to start. And it doesn't require a 4GB download. More next week...



May 20, 2006

Propeller Head Dept.

Call me a propeller head, but I recently found myself chuckling at a collection of Linux compile and configuration messages on a German site. How about this from a Gimp ./configure;

[...]
checking for perl... /usr/bin/perl
checking for perl version >= 5.004_04... yes
checking for vsnprintf... yes
checking for intelligent life... not found
checking for _exit... yes
configure: creating ./config.status
config.status: creating gimp-1.2.1
config.status: creating gimprc
config.status: creating gimprc_user
config.status: creating gimprc-1.2.5
[...]


Or this from the Enlightenment window manager;
checking for mass_quantities_of_bass_ale in -lFridge... no
Warning: No ales were found in your refrigerator. We
suggest that you rectify this situation immediately.
checking for life_signs in -lKenny... no
Oh my god, they killed Kenny! You bastards!

While kvirc got scientific;
############################################
### Working out the final configuration ###
############################################
checking whether to enable support for font anti-aliasing...
yes
checking whether to use new pics... yes
checking for the validity of Maxwell's laws on this machine...
 ok
checking if e=mc²... yes, enabling quantum mechanics
checking if this machine passes the Turing Test...
 no, building without AI :-(
checking if we can safely swap on /dev/fd0... yes
checking if we can blame it on Njård... yes
checking if we finally can compile the plugins... yes
checking if we finally have to compile the KDE support... yes

Hermes came over philosophical;
If two people are in a room ...

checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2

... and five walk out ...

checking whether byte ordering is bigendian... no
checking for money... none left :(
checking for assembler support... Linux i686, assembler
 routines enabled!
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/hrconfig.h
config.status: executing depfiles commands

... how many have to walk in for the room to be empty ?

Turn on your -O6 now!
Welcome to Hermes 1.3.2!


gstreamer 0.8.1 takes a dig at other operating systems' restrictive End User License Agreements;
configure: WARNING: Sissy ! By asking to not build the tests
 known to fail, you hereby waive your right to customer support.
 If you do not agree with this EULA, please press Ctrl-C before
 the next line is printed. By allowing the next line to be printed,
 you expressly acknowledge your acceptance of this EULA. 

A user tampering with a boot disk was told;
you do not exist - go away please
While a would-be Debian kernel hacker discovered;
I have no root and I want to scream

Or how about this after a crashed process;

*** ECORE ERROR: Ecore Magic Check Failed!!!
*** IN FUNCTION: ecore_timer_del()
Input handle is wrong type
Expected: f7d713f4 - Ecore_Timer (Timer)
Supplied: 00000000 - <UNKNOWN>
*** NAUGHTY PROGRAMMER!!!
*** SPANK SPANK SPANK!!!
*** Now go fix your code. Tut tut tut!


Some source code covers every possibility (this from drivers/usb/printer.c);
static char *usblp_messages[] = { "ok", "out of paper",
 "off-line", "on fire" };

While you probably never want to see this kernel message (in arch/i386/kernel/cpu/mcheck/p5.c);
printk(KERN_EMERG "CPU#%d: Possible thermal failure (CPU
 on fire ?).\n", smp_processor_id());

A Gentoo user doing an emerge of America's Army was advised;
>>> Install americas-army-210 into
 /var/tmp/portage/americas-army-210/image/
 category games-fps
* This will take a while ... go get a pizza or something
(The build only took 10 minutes, which led to speculation about the speed of the programmer's pizza delivery service.)


Nmap
is an extremely powerful network security and exploration tool. You can't say you weren't warned after this concluding message in the nmap build;

checking if struct ip has ip_sum member... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nsock_config.h

  (  )   /\   _                 (     
    \ |  (  \ ( \.(               )                      _____
  \  \ \  `  `   ) \             (  ___                 / _   \
 (_`    \+   . x  ( .\            \/   \____-----------/ (o)   \_
- .-               \+  ;          (  O                           \____
                          )        \_____________  `              \  /
(__                +- .( -'.- <. - _  VVVVVVV VV V\                 \/
(_____            ._._: <_ - <- _  (--  _AAAAAAA__A_/                |
  .    /./.+-  . .- /  +--  - .     \______________//_              \_______
  (__ ' /x  / x _/ (                                  \___'          \     /
 , x / ( '  . / .  /                                      |           \   /
    /  /  _/ /    +                                      /              \/
   '  (__/                                             /                  \
             NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND REPONSIBLY
Configuration complete.  Type make to compile.


But the last word goes to the CD ripper/player Grip. In it's FAQ you'll find;
Q: I was listening to a CD in Grip and it sounded horrible!
 What's up?
A: Perhaps you are listening to country music...

May 17, 2006

The Acid Test

I only recently discovered that some of the graphics on this blog look like crap in the world's buggiest browser. Reason? Internet Explorer doesn't support transparency in PNG (Portable Network Graphics) files.

Actually, IE doesn't support a whole lot of other standards either, which is one of the motivations behind the Web Standard Project's Acid2 Test. The idea is to create a test page that allows browser vendors to see how well their products perform on a tricky but nonetheless standard web page. "These features are part of existing standards but haven’t been interoperably supported by major browsers. Acid2 tries to change this by challenging browsers to render Acid2 correctly before shipping."

You can test your current browser by clicking this link then comparing the result with with the reference rendering. Below are some of my results. (Click the images for a full-screen view.)


Firefox 1.5


Mozilla 1.7


Internet Explorer 6.0


Opera 8.5


Konqueror 3.4


Konqueror 3.5


Only Konqueror 3.5 made the cut in my testing. Yet another victory for open source!

(I should note that Apple's latest Safari browser and Opera 9.0 beta also apparently render Acid2 correctly.)


May 10, 2006

Breaking Up Is Hard To Do

It's been a week now since the government announced its intention to break Telecom's stranglehold on the local tele- communications infrastructure. The street parties have ended and choruses of “Ding-dong the witch is dead” faded away. But all that jubilation may have been premature. Here's why...

The government have only announced an intention to legislate.
To paraphrase an old proverb, There's many a slip 'twixt legislative intent and actual law. If you thought getting to this stage was tough, getting decent, workable legislation in place will be tougher. The lobbyists are already in place, their switches set for maximum FUD.

The legislation had better be good.
Years ago I attended a seminar by a local firm of tax accountants. They said quite publicly that there had never been a tax law that that they couldn't find a loophole in. Telecom has some very good lawyers...

Telecom will fight.
Irrespective of the legislation, Telecom won't roll over and let its tummy be tickled. They're going to fight – even if they have little chance of winning. Why would they do that? Because every year's delay brings another billion dollars profit from the existing monopoly along with the possibility of political change. This strategy worked for Microsoft in its big anti-trust case in the States. After all the court time and appeals they were still found guilty, but by then the Redmond-friendly Republicans were back in power. Instead of massive fines and a corporate break-up, all they got was a wet-bus-ticket slapping.

Telecom still have all the aces.
In l33t speak terms, the government is “0wn3d” by Telecom. Let's not forget this was supposed to be a Budget announcement that was leaked to Telecom who leaked their knowledge of it back to the government, who then had to make it public. A week on and the source of the leak is still unknown.

This wasn't some Cabinet secretary running a finger across his throat to a Telecom pal in a Lambton Quay café. This was the full deal; documents. Cabinet papers, presumably – which Telecom promptly shredded “for legal reasons”. The fact is that Telecom know what Cabinet's doing long before most of the rest of the government.

Yes, Telecom's been guilty of blindness, arrogance and hubris. Gattung will go because of it. But I don't believe the battle's over yet. It's only just begun...


May 8, 2006

Missing Links

Here's some links to stories you may have missed last week:
  • Gates is moaning about being so rich.
  • Time to do a before-unbundling broadband speed test.
  • World War III declared and no one told.
  • A great clip of last year's Huygens landing on Titan.
  • Vista delayed. Yet again.

Poor Little Rich Boy
Last Friday the UK Guardian's online edition reported that Bill Gates is having a tough time being the world's richest man...

In news that will either gladden or enrage non-billionaires everywhere, Bill Gates has revealed that he would rather not be the world's richest man.

"I wish I wasn't ... There's nothing good that comes out of that," the co-founder of Microsoft told a conference of online advertising executives in Redmond, Washington, where the software company has its headquarters. "You get more visibility as a result of it." [more...]

Later that same day I finished reading Ronald Wright's compelling and disturbing A Short History of Progress, a book that leaves you in little doubt that our civilisation's on brink of collapse and that we have to act now to prevent it. In 1998, the world's three richest individuals - Bill Gates (Microsoft), Helen Walton (Wal-Mart) and Warren Buffett (investor) - had a combined wealth greater than the poorest 48 countries on the planet. In a footnote he cites a United Nations Human Development Report from that same year...

[The report] estimates that in 1998, only US$40 billion was needed to bring basic health, education, clean water and sanitation to the world's poorest citizens. Gates alone could afford that and still have US$11 billion left.



Telecom on the Brink of Collapse!
The big story last week was Telecom's unbundling. I'll have more to say on that later in the week but in anticipation of faster broadband, here's a link to a bandwidth speed test. Try it now, then again in six months, then again in a year. Let's see what really happens...

I tried it on a gloomy Sunday afternoon and got 544kbps from my TelstraClear cable connection. Not bad. What is bad is that one week into the billing month and four of my five allowable download gigabytes have gone. After that they start gouging me $20/GB. (I don't know how it happened, honest. Maybe the cable's sprung a leak...)



Whoops, Apocalypse
Don't you hate it when they start a World War and forget to tell you about it?

US President George W. Bush has said the September 11 revolt of passengers against their hijackers on board Flight 93 had struck the first blow of “World War III”.

In an
Poor Little Rich Boy
Last Friday the UK Guardian's online edition reported that Bill Gates is having a tough time being the world's richest man...

In news that will either gladden or enrage non-billionaires everywhere, Bill Gates has revealed that he would rather not be the world's richest man.

"I wish I wasn't ... There's nothing good that comes out of that," the co-founder of Microsoft told a conference of online advertising executives in Redmond, Washington, where the software company has its headquarters. "You get more visibility as a result of it." [more...]

Later that same day I finished reading Ronald Wright's compelling and disturbing A Short History of Progress, a book that leaves you in little doubt that our civilisation's on brink of collapse and that we have to act now to prevent it. In 1998, the world's three richest individuals - Bill Gates (Microsoft), Helen Walton (Wal-Mart) and Warren Buffett (investor) - had a combined wealth greater than the poorest 48 countries on the planet. In a footnote he cites a United Nations Human Development Report from that same year...

[The report] estimates that in 1998, only US$40 billion was needed to bring basic health, education, clean water and sanitation to the world's poorest citizens. Gates alone could afford that and still have US$11 billion left.



Telecom on the Brink of Collapse!
The big story last week was Telecom's unbundling. I'll have more to say on that later in the week but in anticipation of faster broadband, here's a link to a bandwidth speed test. Try it now, then again in six months, then again in a year. Let's see what really happens...

I tried it on a gloomy Sunday afternoon and got 544kbps from my TelstraClear cable connection. Not bad. What is bad is that one week into the billing month and four of my five allowable download gigabytes have gone. After that they start gouging me $20/GB. (I don't know how it happened, honest. Maybe the cable's sprung a leak...)



Whoops, Apocalypse
Don't you hate it when they start a World War and forget to tell you about it?

US President George W. Bush has said the September 11 revolt of passengers against their hijackers on board Flight 93 had struck the first blow of “World War III”.

In an interview with the financial news network CNBC, Mr Bush said he had yet to see the recently released film of the uprising, a dramatic portrayal of events on the United Airlines plane before it crashed in a Pennsylvania field.

But he said he agreed with the description of David Beamer, whose son Todd died in the crash, who in a Wall Street Journal commentary last month called it “our first successful counter-attack in our homeland in this new global war, World War III”.

Mr Bush said: “I believe that. I believe that it was the first counter-attack to World War III.

You can read more of the loony's tunes here.



Video of the Week
The Huygens probe landed on the surface of Saturn's moon Titan back in January 2005, but now NASA, the European Space Agency and the University of Arizona have put together a four-minute space-craft's-eye-view of the landing. The actual event took four hours but it's been compressed into just four minutes.

There's actually two movies; "View From Huygens" and "Descent With Bells and Whistles", and the former has several options, including low- or high-resolution and no audio, narration or music-only. Truly, out-of-this-world stuff.

(And no, that's not where all my download allowance went. The hi-res narrated version's only 90MB.)



Still More Vista Delays
How is it that most Linux distros - staffed largely by volunteers - can manage six- or twelve-monthly updates while mega-billion dollar Microsoft can't manage one in half a decade? Yup, According to this link you won't see the next version of Windows till Q2 2007.

May 5, 2006

Code Winter

Looking for something to do as winter nights draw on?  How about a Summer of Code? Google are once again seeking applications for their (Northern hemisphere) Summer of Code programme aimed at getting young developers involved in open source projects. Last year saw 400 students from 49 countries take part.

The programme's goals are to inspire young developers and provide students in Computer Science and related fields the opportunity to do work related to their academic pursuits during the summer, and to support existing open source projects and organizations. Since we're looking to find developers around the world (many of whom may have considered creating open source software but havent yet taken the plunge), we felt that concentrating on the student population was a good place to focus our efforts.

Successful applicants get a US$4,500 stipend - that's around $7,000 in real money - and the whole project runs until late August.
 
Sign up at the Summer of Code site.  Check out the FAQ and project timeline too. But get your (ice) skates on.  Though applications only opened on Monday, they're due by 17:00 Pacific Daylight Time on May 8. (I make that 12:00, May 9 Downunder time.)

Subscribe
Newsletter & SubscriptionsPC World is New Zealand’s top selling computing and technology magazine.

It provides up-to-the-minute editorial, insight and buying advice for personal computing, cell phones, game consoles, digital entertainment and broadband.
SIGN UP
PCWorldUpdate
PC World's weekly round-up of tech news, gear and game reviews, software selections, and handy How Tos.
QUICK LINKS