Archive for December, 2010

Two days ago I’ve just bought myself a new UPS, which comes with a nice little handy app that displays useful technical data. The UPS is an Alberex Vesta Pro 1500, and the monitoring software is named Emily2 (alternative download v2.01, v2.031).

 

The good thing about it is that it stores all data in its log, a MS Access database file named Data.mdb.  So I thought it’s a nice ideea to include all this data as graphs in my already-running System Network Monitor page.

So I write this nice little module that reads data from the log and includes it in SNM.

The only pre-requisite is that you’ll have to install mdbtools on your Linux (for the module to be able to export the necessary table out of the database to a text file)

To use, include it in your graphs.xml as a

cntUps::sensor( 'sensor_id', 'mdb log file' [,'table name'] );

where sensor_id can be one of

involt, outvolt, load, freq, bat, temp

and “mdb log file” is the full path of the Data.mdb file (this file can also be accessed through network shares)

‘table name’ is optional, and is needed only if you renamed the default Machine0 field in Emily2′s configuration to something else.

The perl file can be viewed/downloaded here.

Now my SNM displays two more nice graphs :)

You know how when you select an item in explorer, the color of the text for the highlighted item is white on dark-blue.

When you have an item selected in explorer and you switch to another program (but can see the explorer selected text still due to window overlap arrangement), you see that the selected item color changes to black on very-light-grey. This is very close to black on white (like all of the unselected items).

Any bad light conditions at all make this selection really difficult to see but I can’t find a Display properties color change selection for this.

This color is read from the HKEY_CURRENT_USER\Control Panel\Colors\ButtonFace registry key (as a Red Green Blue set), and changing it requires a restart for the setting to take effect.

New Stupid Minds website

Author: lucian

I have decided to migrate the website to WordPress, leaving behind the good old Joomla, as it was far too much for what I actually needed (and I got kind of behind on keeping it updated).

In due time all past content will be migrated here, but in the meanwhile, the (trusty) old Joomla version can still be accessed at http://old.stupizii.ro/. About 75% of the content has been migrated here, so the old website has been disabled.

All other items are still available at their permanent locations:

The downloads section is still incomplete, but hopefully I’ll get the time to rebuild it soon.

Merry Christmas!

Author: lucian

Merry Christmas everyone ;)

Stop ACTA
own-cryoutcreations