New Perl module Config::Simple::Conf

I’ve just released a new perl module based on my Ruckus::Conf module. This library allows you to implement an .INI like file parser for your perl programs. It allows for the configuration file to be simple and easy to follow, but provides advanced features such as nested configuration entries, and internal automatic macro support.

Anyways, check it out if you’re a perl hacker. It’s on CPAN

Update: Kubuntu 15.10

Well after a few days of usage I found some major problems which prevented me from adopting Kubuntu 15.10 with the lovely Plasma 5 setup.

  1. Auto mount of NFS shares is broken again
  2. Desktop backgrounds are locked to a single background image
  3. Auto mount of random key encrypted swap is broken
  4. After a day or so of uptime, Plasma 5 starts to bog down
  5. A lot of the plasma widgets are a step backwards, they’re ugly, or poorly laid out vs the older Plasma 4 widgets

I’m hoping that these issues get resolved, as Plasma 5 and the new layouts and themes were a whole lot prettier than Plasma 4, however since I can’t use it everyday successfully and without aggravation I decided to restore my backup.

Infiniband Tips and Tricks

Below are some commands I’ve found useful when dealing with infiniband and related issues.

Determine port state on all ports available within the fabric

The command ibnetdiscover command will show you the state of each port in the the fabric. It’s a good idea when running this command (on any node) to redirect the output into a file (especially if you have a large number of ports)

Determine indivudual port information

The ibportstate command can provide additional port information once you have the LID (available from ibnetdiscover)

Example:

ibportstate -L <lid> query

Determine current node description

smpquery nodedesc 1

Enable / Disable a port

ibportstate -L <lid> -P <port> enable
ibportstate -L <lid> -P <port> disable

SC15

Well, another year of Super Computing conference has come and gone, some interesting stuff but mostly the same things over and over.

The company I work for just announced a new type of hard disk drive (10,000 RPM 3.5 full platter size). High capacity and lots of speed =).

I also some how managed to win a Seagate 7 drive. This is the 7mm thick portable. Before I turned it over to my wife I ran some quick benchmarks on it. given the drive size and capacity I was pretty pleased. well over 100MB/s read/write performance over USB3.

New Perl module: Proc::Fork::Control – easily control fork()’s within Perl code

Hi Again,

In addition to recently releasing Filesys::Virtual::Chroot I’ve also decided to publish my fork() control library as Proc::Fork::Control.

Proc::Fork::Control is a simple to use library which functions much the same way as Proc::Fork. That said, Proc::Fork is not used, as fork() is accessed directly.

Proc::Fork::Control allows you to manage forks, control number of children allowed, monitor children, control blocking and nonblocking states, etc.

This library can be obtained here: Proc-Fork-Control-1.4.tar

Or from CPAN directly:

sudo cpan Proc::Fork::Control

 

New Perl module: Filesys::Virtual::Chroot

59560038

I’ve been trying hard lately to take useful code I’ve written over the years for different projects (such as my predictive anti-spam system Ruckus scanmail) and rep.ublish the libraries with more generic names under CPAN

Filesys::Virtual::Chroot provides advisory functions for creating a virtual chroot environment. This is useful when you wish to lock a process which takes input from the wild into a set of directories.

This library can be downloaded here directly: Filesys-Virtual-Chroot-1.3.tar

Or pulled off of CPAN with:

sudo cpan Filesys::Virtual::Chroot

Command.

Firefox mobile search assistant

So annoyingly I learned tonight that Firefox Mobile’s, search assistant tool (long press on home) tends to default to the wrong search engine. To fix this, open up firefox mobile, go to Settings -> Customize -> Search, then select a search engine that is non-default, select a search engine that you wish to use. That should fix the Firefox Search using the other `default’.