Introduction About Site Map

XML
RSS 2 Feed RSS 2 Feed
Navigation

Main Page | Blog Index

Archive for the ‘Linux’ Category

Screen and Usage Grabber

Screen Grab
My screens at the time of writing – WordPress is on the right monitor

Only a couple of days ago I finished implementing the little tool (pet mini-project) which I have longed for. I finally made everything public this morning. In a nutshell, the tool serves 2 tasks at the moment:

  • It grabs a screenshot of my display every 10 minutes, 24 hours a day, and puts it on a public Webspace, which I can then access from anywhere
  • Similarly, some simple scripts get usage statistics (memory and CPU) as well as running tasks and make these public via the Web

To me this is valuable as I can ‘eavesdrop’ on my computer while I am away. All of this is done without the need for remote login means such as Telnet or SSH; the disadvantage is that things are passive. Since screenshots are visual, there is no need to forward X11 (component responsible for display and user interaction in most UNIX systems) either. Feel free to take advantage of these scripts. You can see an example of these scripts in action by viewing the bottom of my introduction page. Although it jeopardises my privacy slightly, visitors can now see (roughly) what I work on. I personally use it to check when my experiments have reached completion.

Cost-effective Computers

Macs cluster

Acedemic institutes seek to provide a large number of workstations to their students. The more workstations, the more of computer-based education fits into the school’s curriculum. An observation can be made which says that schools buy the wrong computers. Licences for the software they run, despite the bulk discounts, can cost as much as the computer itself, if not exceed that cost. When accommodating a computer cluster and paying over $1000 per Windows-based machine, the number of available computers will inevitable drop. As Linspire.com shows, each student in Indiana will soon have his/her own Linux box at school. This is particularly important where kids do not have a computer at home. Will more schools follow suit? This certainly happens in Manchester as well, albeit rather slowly.

Red hat
RedHat Linux

As hardware costs drop, it is gets harder to defend the purchasing of commercial software. The price of development does not not necessarily rise because of offshoring, but the availability of richer Open Source software goes up owing to the Internet, killing commercial equivalents in the process. This, in fact is one of the reasons for the success of Windows 95. Back in the days, plenty of software was bundled while getting new applications remained a time-consuming task in the absence of rapid access to the Net.

Computers Become Hosts

Laptop and iPod
Computers to be driven purely off the iPod/Handheld device

Imagine yourself the following scenario: To start up your computer you connect an iPod (or any other large-storage mobile device) to your (x86-based) work computer, which then launches the operating system (currently Knoppix Linux) from the iPod. It uses the processor and memory of the local machine rather than the iPod’s, which is merely used as a hard-drive. Then, once work is finished, you take your iPod home and repeat that exact same procudure, plugging in the iPod to a different computer. Not only can you resume your work, but your hard-drive (which contains everything that is personalised) gives you an identical environment, i.e. you have all your recent files, browser cookies, desktop settings, etc.

That vision is now real as IBM exploit the iPod for this purpose. The device could, in principle, be a Palm LifeDrive, which makes the exception among modern PDA‘s since it exploits very high data capacity. The large-sized hard-drive and high bandwidth (USB/FireWire) make it possible to use your machine merely as a host (computation, display, and peripherals), while your data (operating system, files and applications) always remain in your pocket. From an article just published in CNET:

The virtual computer user environment setup is called SoulPad, and consumers install it from a x86-based home or office PC. SoulPad uses a USB (universal serial bus) or FireWire connection to access the network cards for connecting to the Internet, the computer’s display, the keyboard, the main processor and the memory, but not the hard disk.

Also worth mentioning is the prospect for running your favourite operating system and programs to access your data on any computer. You could even use a workstation at your local library cluster. Plug in your mobile device and use the computer as if it was yours. This considerable step can give a major boost to devices such as the iPod and the LifeDrive. Perhaps Jeff Hawkins, Palm co-founder and R&D chief, had substance in his vision of the “Life Manager”. Could this be what Palm had in mind when switching to Linux?

On a less enthusiastic note, the entire idea of protable high-volume storage is not brand new. For quite some time it has been possible to install hard-drive housing units in one computer and slide in different hard-drives that suit different users of the same computer. This essentially meant that computers came without a hard-drive; hard-drives were provided by the users. However, with a handhelds like the LifeDrive, several major advantages spring to mind:

  • Size, which is a major pro
  • The ability to view and edit data on the go, unlike just carrying a ‘black box’
  • Internet connectivity
  • Infra-red communication

Cited by: PalmAddict

Two Birds, One Stone

Tux of LinuxA heavily-discussed topic in this quiet August is Mac OS X piracy. Yet more sets of instructions flow in, which explain about (at least) 3 different ways of installing Mac OS X on non-Apple workstations. To give a snippet of one of them, “1 – Install Darwin 8.0.1…” and yet another: “3. Download Ubuntu Live CD…”. It becomes apparent that a Linux installation is usually, if not always, part of the installation process. It’s a pre-requisite.

OS X will supposedly require its own isolated hard-drive, which is a shame. OS X is good for many things, but not for everything so partitioning would have been a pro. Only 2 days ago I formatted one of my partitions. I would have loved to make it an OS X partition, but I ended up with 2 Linux partitions. Let us refer to it as “two birds with one stone (physical drive)” and needless to mention, penguins are the best birds.

Related items: Mac OS on Every Machine, Dual-Partition Linux

Dual-Partition Linux

Early this morning I made a bold move; it was bold for me, at least. I decided to make both partitions on my hard-drive adhere to the Reiser filesystem (FS), overwriting an unused Windows 2000 (NTFS) partition, which was rarely ever accessed. At times it was exploited as a storage area, yet no more than once month, which made it a complete waste of space.

Before formatting the NTFS partition, I was able to transfer data to the Windows partition using special tools. Linux can read NTFS, but not write to it, whereas Windows only understands its own filesystems (FAT, FAT32 and so forth) so there is no reciprocity. Nevertheless, there are tools which enable Windows users to read a Reiser filesystem, which is a common Linux filesystem.

  • rfstool – read ReiserFS under Windows
  • YAReG – a .NET GUI for the above tool

They both require the user to boot into Windows, which is why I gave up on them and decided to stick to Linux partitions instead.

Format menu

The moment of truth: so long Windows partition (click to enlarge)

To cut a long story short, I now have two Linux partitions, which I am extremely happy with. This move would not have been simple if it weren’t for the kind help from Houghi.

At an earlier stage I thought about installing Mac OS X on the new partition. Unfortunately, the process seems time-consuming, complicated and unreliable at its end. Moreover, it turned out that this had never been possible as Mac OS X (specifically the hacked version which runs on any machine) will not function under a partition, i.e. it requires a separate physical drive. To the curious, there are full instructions on how to installed Mac OS X on any standard PC. Many pictures and screenshots are included.

Google and Linux

Google have recently revealed that they had used Linux from day one. Looking further into the past, why have they not openly expressed their passion for Linux? Perhaps they realised that over 90% of their target audience were Windows users. No user will be inclined to use the service of one that is different, one whose preferences are in ‘disharmony’ with the clients. Under such circumstances, there emerges an inner-conflict, whereby a Google user admits making a mistake, making a poorer O/S choice.

In this article from Computer Business, Google’s open source programs manager lists arguments as to why proprietary software can never offer what Open Source does. There is a long-standing myth that Linux people are incapable and have reached out for so-called ‘abnormal’ sides due to failure in a world that is largely dominated by Windows. I believe that Google have shown, with quadrupling revenues and an enormous rapid growth, that Linux is all it takes to gain advantage.

From the article:

While showing a slide show of Google’s hardware evolution, which began humbly with an odds-and-ends collection of “spare computers that were lying around Stanford” (hobbled together, literally, with pieces of Lego and duct tape) and ended with a present-day photo of Google’s current server room (darkened to the point of being indistinguishable, for competitive reasons), DiBona said Google has used Linux all the way.

There is still a great deal of secrecy when it comes to Google’s hardware, yet some information is now out. The server rooms have been kept in the dark intentionally. This entire revelation did not come as a total surprise to me as Brin‘s (Google co-founder) Stanford home page showed he had been a Linux user (plenty of Python) in his early days.

Pile of Dells
Machines by the dozens. Just toss a Linux distro on them.

BSD on the Desktop

BSD is the Berkeley System / Software Distribution, which is a popular variant/branch of UNIX. It has already reached the average home computer several times in the past, as opposed to being used in machine rooms (e.g. data centres, computational servers). DesktopBSD 1.0 is a new endeavour (yet another distribution), currently at a release candidate phase. It was brought to many people’s attention via Slashdot.

DesktopBSD
Screenshot of DesktopBSD, on top of which sits KDE 3.4

All screenshots come from the Open Source Directory (feed: RSS feed), which is an entertaining site at best and informative at the least. It provides a clear and extensive previews of Linux distributions, thereby helping people select the right one. Screenshots are taken from the very early installation stages (BIOS level) until a running state is reached. There are also many ‘Grand Tours’ of a variety of *NIX distributions.

Retrieval statistics: 21 queries taking a total of 0.101 seconds • Please report low bandwidth using the feedback form
Original styles created by Ian Main (all acknowledgements) • PHP scripts and styles later modified by Roy Schestowitz • Help yourself to a GPL'd copy
|— Proudly powered by W o r d P r e s s — based on a heavily-hacked version 1.2.1 (Mingus) installation —|