Apr 012010
 

… is a good clone of SMIT.

SMIT for those who have not been exposed to AIX, is a system administration tool that allows you to perform tasks through a graphical (or text-based) interface. Just like any other tool really, but the killer feature is that once you have built up a task in SMIT such as extend a logical volume by a certain amount, you can then ask it what the command-line equivalent is.

Now all you point and drool fans out there are probably thinking “So what?”. Well perhaps this feature is not for you, but it does allow those who work at the command line to find out what command is necessary to perform a certain task. Once you know the command to perform a task you can :-

  • Use it to setup a cron job to run the task at a particular time. No need to stay up late to perform a task in a “maintenance window” after midnight.
  • Run that command on a whole rack full of servers using a tool like pssh. Much easier than repeating the same steps on a dozen computers one by one – aren’t these computers supposed to automate tedious jobs for us ?
  • Use that command to put into a script to run on certain events. For instance you could monitor the available space on all your filesystems and grow the filesystem when the available space drops below a certain trigger point. You might also want to automatically order a new hard disk when the “volume group” runs out of space 🙂

Linux is currently undergoing a process of fragmentation where different distributions are operated in different ways much like the old commercial Unix variants went through in the 1990s. A good clone of SMIT would go a long way to allowing different distributions to go their own way in system administration commands, but allow system administrators to use a standard tool to manage any Linux distribution.

Mar 232010
 

I am in two minds about the need for multitasking on the iPhone. I can see that it would be useful for applications such as music streamers such as the one for LastFM or Spotify (personally I prefer LastFM), but having multiple GUI programs running on a machine as small (in terms of hardware resources) as the iPhone could be problematic.

It could also make the iPhone less stable.

But there is a demand for running lightweight background tasks in a way with a only a small risk of interfering with the currently running GUI application.

It would be easy to allow too – just allow the iPhone application to fork a helper daemon with some means of controlling it. After all under that pretty skin, the iPhone is just an computer running OSX as anyone who has jailbroken it has probably found out.

Mar 162010
 

Probably of not much use to most, but useful to me …

On occasions, I have been known to start an application and switch virtual desktops as the application window appears which can sometimes lead to Enlightenment (but the DR16 version) “displaying” the window in a non-visible location. Fortunately there is a convenient and fairly trivial fix for this :-

  1. Open a terminal window
  2. Display a list of windows with the command eesh window_list (or eesh wl for short).
  3. This displays a list of two columns – a window ID and the title of each window. Pick the window ID of the window that is not visible.
  4. Next iconify the window with the command eesh wop iconify ${window_id}.
  5. At this point the icon for the application window should appear in your iconbox and you can uniconify it with the mouse and it should appear on the currently displayed desktop.