Aug 14

despite a slooooow connection to a buildserver (and no, I don’t want to spend another 5 hours to setup a VM, just wanted to get it done), I finally updated my Nagios/LDAP work to a “cvs update” of this weekend which includes v3.2.0. I also edited the deliverable specfile so that the schemas for LDAP are included.

These schema files are the ones I use in actual testing.

Changes: version bumps:

  • bump nagios to 3.2.0

Changes: added items:

  • added dhcp.schema
  • added dnszone.schema
  • added nagios.schema

The build may have a slew of warnings still, I have some cruft in the code just while I was looking for buy-in. I was initilly shot-down, apparently the core config inside Nagios is somewhat hallowed-ground, and it might be wrong to edit that code. Instead, I should try to do it in a plugin, but in the plugin, I would need to completely redefine the existing configuration code — and maintain it in parallel — or I lose the existing configuration.

I want to emphasize: this adds capability, not replace. Without the ldap_server config, Nagios acts like normal. Undefining the build option means Nagios cleanly stops understanding LDAP. Maybe if it’s written here as well, someone will read it.

The build is available here: (20090814 refers to the CVS update date)

Raw sources:

Aug 14

Collect the methods of solving an error by simplifying the filing of solutions.

A while back, I gained no traction when I blogged about unique error codes. Let me re-blog this for the few readers I have:

Consider a typical error message:

Something broken in Convert: no pipe: fail

Consider Oracle’s style:

CVT-01106: Something broken in Convert: no pipe: fail

The key difference of course is that “CVT-01106” is a code that can be sued to look up more details and solutions after the fact.

…but that’s old. It’s form the old Oracle-5 days, where you could type “oraerr ORA 01008” to find out what the error “ORA-01008” meant, and I assume if there was a “CVT” part of Oracle, you could type “oraerr CVT 01106” to get more ideas, solution suggestions etc.

I suggested while I was at Cellon / CEC Wireless that creating a simple list of sections error code — like “CVT” and “ORA” — would help to diagnose errors. Apparently I lacked sufficient Guanxi to be correct.

I suggested at Motorola and Phorm that dumping links to a Wiki would help to form user-generated resolution links (both for internal consumption, but Motorola has thousands of people, 700 alone were developing the LJ Line). That got no traction, but my little prideful inner voice is happier that those who said “what’s FLOSS? you made that abbreviation up” may realize I was clued in and reconsider those of my ideas that I *did* invent (or re-purpose, like this one)

Years later, I maintain that if you want to avoid having to google for results and sift through bad search results, you want to make it really easy to find details about the error — just like Oracle used to. Further, if that content is updated, people will see the value of the resource. Finally, if that content accepts user-input, they may suggest alternative fixes.

The way to make it really easy to collect error results is still Wikis and Tags.

In order to leverage Wikis, you need to include a unique code in your error-display routines that displays a permalink to a wiki server. The pages for those errors need not exist — support issues can include adding descriptions to wiki pages if necessary, and users can submit possible fixes themselves. Although these might need an audit loop until a user has enough Guanxi (influence, trust) to (gasp!) post solutions without a auditor/babysitter, this distributes the workload of adding content.

As a single repository, this collection of information relative to your product will only grow so long as it’s available and the reference URL is reinforced by being consistently provided for all errors. A usable resource will get additional references from external sources, effectively driving eyeballs to your resource rather than to a thousand different mailing lists, blogs, etc scattered across the web.

Lacking this, use Tags.

A Consistent tag with unique parts becomes an easy searchable term. Including this tag in every similar error message causes those discussions to become searchable with a better accuracy. Consider the following:

BoxKicker: BXXa4139176a : I think I am broken

The error message means almost nothing, but the string “BXXa4139176a” — as a unique string — won’t get parsed into two parts (as it would of the “a” separators were hyphens) and whenever users talk about the error, they’ll probably cut-n-past that code. The solution to the problem may be found soon after, or at least an intelligent conversation.

The result is that although you’re not collecting and controlling/auditing the solution comments, you do make the user-provided ocntent scattered across the ‘web easier to find, with more successful searches than otherwise. Blog feed may also use this code since it seems unique. Tags in tools such as Del.icio.us have a strong chance to use these codes. From the tag-aware to the blissfully-ignorant, the chance of finding solutions to your software increases.

… all with very minimal effort. A good piece of auto-increment sourcecode can manage these codes for you.

Such a benefit for such a low cost, why wouldn’t you do it?

Aug 13

Sometimes I think I’m the only one to read things.

The UPU hosts the document: .post: More Than Just a Simple .com. To paraphrase the five benefits from page 24:

1. blah blah SPAM is bad
..
..
5. Geographically-targetted SPAM can be organized

Perhaps there was a bit too much politics after the proofreading — have to sell the .post to too many SIGs. I’m in the “SPAM is bad” camp, kthxbye.

Aug 10

OpenStreetMap‘s Event Logger on TomTom information is a jump-start to hacking my TomTom.

Is that as “No, Bad Idea” as hacking one’s router? (which poses the risk of ruining one’s chance to repair the error due to destroying your way to the ‘net).

Still bears looking into, in my “spare time”. Remember “spare time”? :)

Aug 07

I feel left out. I’m a foreign (non-British) national in the UK, can’t I have a flawed national ID card as well?

I commented that the USA already has it, but the National ID that I mentioned is not the same. The USA National ID tends to need optical scanning, including meatware eyeballs, or at least a populace willing to give it out to strangers over the phone. Actually, callers only ask for the last four digits, but that’s all that’s needed to steal my identity, effectively shortening the length/strength of the National ID, but still just as vulnerable.

As opposed to misused Social Security Numbers, the cards given out to foreign nationals have a number of convenience features including a method of carrying data digitally that does not necessary match the face of the card. This means that any carrier of such a card has to offer faith in the flawless accuracy of a bureaucracy in making the digital data match the visible data.

Worse, can the data be read remotely? Can it be written remotely? Can your life be altered by the malice of a stranger in a Tube station with a laptop and a mobile phone tucked away in a backpack?

I wish I had a weak, ill-designed, insecure, unprotected national ID card that could ruin my life. I feel left out.

It’s a good thing 2012 will see all Britons issued this card — based on data collected when they naively apply for a passport — soon they can all share in the fun.

Aug 02

O2′s mobile broadband seriously takes the “fun” out of “barely functional internet connection”

How’s that two weeks coming, O2?  the two weeks you need to enter a single config item that allows me to switch on broadband?  Seriously, what could possibly take so bloody long that you need two weeks?  ”not long now” is what your service people say — I think that only works with children and people who blindly trust others.

HSDPA is only usable in batch downloads of email, where latency over a second is not a serious problem.

Update 2009-08-11: August 11 is a week from Jul 24, according to BT. BT tells O2 “in a week”, O2 tells customers “2 weeks” to be safe, and we’re… 18 days. Nice going, BT

Aug 02
Wordpress is an online publishing / weblog package that makes it very easy, almost trivial, to get information out to people on the web. Wordpress-mu is the multi-user equivalent of Wordpress. See also Lyceum. built with --define "virtdomain chickenandporn.com" --define "serveradmin blog-admin@chickenandporn.com" I've included the "Green" theme even though it seems to have problems with pre-generated text images. Maybe you can suggest a fix (with content)
Aug 02

wordpress-mu-logoAn update of WordPress-mu-2.7.0-5, I’ve packaged wordpress-mu-2.8.2-7. I have no added value to this aggregation beyond packaging.

Changes: version bumps:

  • bump wordpress-mu to 2.8.2
  • bump feedwordpress from 2009.0618 to 2009.0707
  • bump nextgen-gallery from 1.3.3 to 1.3.5
    • dishonourable mention for the non-versioned URL for nextgen-gallery — manually renamed

Changes: added items:

  • added wp-bar-0.5.7
    • dishonourable mention for the non-versioned URL for wp-bar — manually renamed

The build is available here: