2010-05-17

Zenoss Swap Threshold Fixes

One of the recur­ring prob­lems I have with Zenoss is fix­ing the swap thresh­old issue. Basically, if your swap space is less than 1G, you’re stuck with an alarm inform­ing you that there’s less than 1G of swap total. The options are to hack it to increase the thresh­old (by decreas­ing the minimum-free thresh­old), or to make the alert use a per­cent­age of the total.

Posting it here since it’s the sec­ond time I’ve had to find this…

Be the first to comment on this...


2010-03-21

Thoughts on Privacy

This post is pretty heavy on the pon­tif­i­cat­ing, but I’ll tie it back into GNOME at the end, I swear.

I’ve been think­ing quite a bit about pri­vacy lately. Most of the shiny things here on the inter­net are some type of ser­vice where you aban­don some degree of pri­vacy to an inter­me­di­ary in return for con­ve­nience or com­mu­nity: your blog, Facebook, Twitter, GMail, Amazon​.com, and Last​.fm take much of the ran­dom bits of your life and put them into corporate-owned data­bases so you can con­nect with friends, buy ran­dom things with­out mov­ing, or not have to edit the same silly pref­er­ences dialogs 50 times. OKCupid, Google Latitude and Mint do so with your pec­ca­dil­loes, your phys­i­cal loca­tion, and your finan­cial records.

There’s a cer­tain amount of trust involved in par­tic­i­pat­ing in all this: the trust that your infor­ma­tion is ulti­mately anony­mous or only sold to adver­tis­ers. Of course, Google logs what you’re look­ing for, and every­thing that’s made pub­lic, and it’s worth point­ing out that there’s really noth­ing pre­vent­ing an orga­ni­za­tion from col­lat­ing all this infor­ma­tion together, which is an end to most of what we call pri­vacy and the sense of free­dom that comes along with it. About the only excep­tion is med­ical records, which are pro­tected in the US by pri­vacy laws. My under­stand­ing is that it’s a crime to give unau­tho­rized peo­ple access to those records, but I’m a lit­tle shaky on what hap­pens after that pri­vacy has been breached — that is, once the bribed clerk has given out the records, are there laws to pre­vent the recip­i­ent from dis­trib­ut­ing them further?

Minutiae aside, there’s a larger, unasked ques­tion of the social cost for all this. Does the lack of pri­vacy man­i­fest as a mon­u­men­tal chill­ing effect? Does it turn out after all your activ­i­ties are cat­a­loged and recorded that you’re less free? Do you self-censor and live in fear of being dis­cov­ered, or (I’d say) fool­ishly assume that your pri­vacy is a tra­di­tional social norm that will con­tinue to be respected? Grab a green flag and march against the fact the only real pri­vacy you have is “the two inches inside your own head?”

Whatever the social cost of this new world will turn out to be, we’re liv­ing in it already, and peo­ple are going to have to fig­ure out how to make it com­pat­i­ble with the con­cept of a free soci­ety. Which is why I redesigned my blog to inte­grate the Lifestream word­press plu­gin and dis­play all of my publically-accessible activ­i­ties in one place: the music I’m lis­ten­ing to, the movies I’m watch­ing, Twitter, Facebook, YouTube. I’d actu­ally like it if I could put my Amazon​.com pur­chases on there like Facebook tried to do with­out ask­ing any­one. There’s noth­ing in any of these data­bases that a gov­ern­ment agency, cor­po­ra­tion, or part­ner couldn’t get their hands on if they wanted really to.

I promised I’d tie this back into GNOME at some point: pos­si­bly the most inter­est­ing thing about a project like Zeitgeist is that it puts that record of what you’re doing in a place where you can access it — it doesn’t solve the under­ly­ing con­flict, of course, but it does let you use it for your own purposes.

Be the second to comment on this...


2009-01-17

Ubuntu Ruined My Life

[There’s a whole bunch of mean­der­ing aca­d­e­mic pon­tif­i­cat­ing and me tak­ing myself too seri­ously. About two thirds of the way down it gets really good, though. I promise. Also, the woman is now online and back in school. –JC]

So appar­ently, some­one was try­ing to take online courses, ordered the cheap­est Dell with a CD — which hap­pens to be run­ning Ubuntu — she could find, and then couldn’t get online to her courses. So she with­drew from the University, and the Linux Lusers rushed in — talk­ing about how dumb she was for not being able to slickly nav­i­gate Linux through cus­tomer sup­port in a Windows-only world, and appar­ently, this degen­er­ated into peo­ple harass­ing her on Facebook.

There are a cou­ple take­aways to this for the world at large:

  1. Facebook works fine on Ubuntu (or the stu­dent in ques­tion has got­ten a dif­fer­ent Dell).
  2. If you aren’t rais­ing your kid to be able to han­dle com­put­ers like a nerd, you are hand­i­cap­ping your children’s abil­ity to prosper.

Obviously, the sec­ond is the con­tro­ver­sial opin­ion. While the new impe­ri­al­ist geek over­lords are kinder, gen­tler over­lords than the rob­ber barons of the past, tech­nol­ogy is a big ugly mess. The de-facto real­ity this illus­trates is that if you are attempt­ing to live in a mod­ern­ized coun­try, but are unable to fig­ure out how to pur­chase and use a com­puter, you are fucked. Those who can­not fig­ure out how to scam Central Services to get online are des­tined to be crushed under­foot in the infor­ma­tion rev­o­lu­tion. It’s an ugly, bru­tal real­ity. Fortunately, when deal­ing with econ­omy, real­ity is what you make of it. There are a cou­ple points for the demo­c­ra­tic wing of the new masters:

  1. There is a con­tin­gent of rav­ing lunatics who have decided to immi­grate to Linux as their cho­sen nationality.
  2. When you smirk at the clue­less n00b, you are the sadis­tic prison guard tor­ment­ing the hap­less inmate. By mak­ing your sys­tem dif­fi­cult for oth­ers to use, you are actu­ally hurt­ing them — not only in terms of time and stress, but also in finan­cially mea­sur­able ways.

But none of that works on the real issue of this story: What was it about the Ubuntu desk­top as shipped with Dell that pre­vented her from going to school? If you haven’t already, find out why our OS didn’t work for her, pub­li­cize the prob­lems, and fix them. If it’s a tech­ni­cal prob­lem then it’s com­pletely triv­ial to fix: we’re all geeks here. If it was a more mushy social rea­son — the bureau­cratic pro­nounce­ments of over­worked sup­port staff at her Uni and ISP: you must use MS Word on Windows (because we won’t sup­port any­thing else)—then that’s some­thing we have tra­di­tion­ally sucked at, but some­thing which com­mu­nity growth could address in an indi­rect way, and B2B schmooz­ing could address in a direct way. Remember, she’s not the only one going through these dif­fi­cul­ties, she’s just the only one who’s dif­fi­cul­ties were severe enough to war­rant a news­pa­per arti­cle on it.

Comment on this...


2008-11-04

Apps Hungarian Rocks

I’m cur­rently writ­ing a plu­gin for an open-source tool that will let me use LDAP as a back­end store. Rather than let it become vapor­ware, I’ll just post a note about it and what it does once I’ve sub­mit­ted the patch.

In the mean­time, I’ll note that hav­ing a clearly defined stan­dard for nam­ing things is always a win. Whether it is a coher­ent scheme for your vari­ables or your sys­tems, it’s one less thing you need to think about. It allows those who are famil­iar with the envi­ron­ment to make assump­tions — it raises the bar of com­plex­ity you’re able to han­dle with­out mem­o­riza­tion, and frees up your inter­nal reg­is­ters for what is actu­ally going on, either in the code or net­work topology.

In that vein, I finally got around to look­ing up some exam­ples of Apps Hungarian for use in the afore­men­tioned project. As soon as I had fin­ished refac­tor­ing to use the new AHN names, the entire project seemed (some­how) much clearer:

for ( strCatalog, mpKeyValue ) in mpCatalogMpKeyValue:
    # You can guess what everything is here pretty easily

First and fore­most, any sub­con­scious uncer­tainty about what a vari­able is used for dis­ap­pears. It’s a pal­pa­ble weight off your shoul­ders when you’re long into a pars­ing loop and have a dozen vari­ables in use at mul­ti­ple lev­els at any one time. I’m one who prefers ver­bose lan­guages (think: C#). So if I can add the biggest win of that ver­bosity back into a lan­guage like Python sim­ply by being dis­ci­plined in how I name my vari­ables, it’s totally worth it.

Comment on this...


2008-05-15

FIY

It’s prob­a­bly worth not­ing at this point that there are a few lessons to the debian OpenSSL débâcle:

  1. There is now a corol­lary to “do not write your own cryp­to­graphic rou­tines”: “do not fix bugs in some­one else’s cryp­to­graphic rou­tines.” If there is a anno­tated view of the OpenSSL tree (I don’t know/don’t care), the DD who patched OpenSSL would have been bet­ter off con­tact­ing the per­son who wrote the offend­ing line in the orig­i­nal source than try­ing to find the cor­rect channel.
  2. Developers must pub­lish cor­rect infor­ma­tion on how to con­tact them. Incorrect infor­ma­tion on the OpenSSL web­site main­te­nance is just as much to blame for this as the DD in ques­tion, who did ask the sug­gested chan­nels about his patch.
  3. Distros should have peer review of patches in security-critical code — by expe­ri­enced devel­op­ers — if they do not already.
  4. Rather than all the bitch­ing, remem­ber that the cen­tral tenet of F/LOSS is Fix It Yourself. This does not cease to apply sim­ply because the prob­lem exists in some­thing you depend on. If any­thing, it should empha­size how nec­es­sary it is.

Comment on this...


2008-05-04

Living with Telcos

Your net­work engi­neer orders four T1 lines from loca­tions in City A to a dat­a­cen­ter in City Z via a large telco. He leaves the week before these are to be dropped, and of course, does not doc­u­ment what he was doing or even keep copies of the contracts.

Either way, the lines are in the process of get­ting installed, and no one you have the con­tact with at the large telco can tell you the infor­ma­tion you need. The order man­ager “has no cross con­nect info”, and the sales sup­port engi­neer tells you to ask the order man­ager. Naturally, all the con­tracts and doc­u­ments restored from the e-mail back­ups sim­ply describe the datacenter’s address as the A-side loca­tion — with­out any of the specifics you’d need to order a cross con­nect from the datacenter.

Meanwhile, the installer is turned away from the Z-side loca­tion because they didn’t call ahead to sched­ule an appoint­ment. Call the Z-side build­ing man­ager and for­ward the infor­ma­tion required to get past secu­rity to large-telco. Large-telco tells you that mak­ing an appoint­ment in advance and pro­vid­ing the infor­ma­tion that secu­rity requires to get in is impos­si­ble. Somehow this location’s 6000 other pri­vate lines were installed through magic.

Moral of the story: However irri­tat­ing it is to trou­bleshoot some­thing through a reseller, it is far worse to get some­thing deliv­ered from a large telco.

Comment on this...


2008-04-26

Unknown Environments

Here’s Knuth in an interview:

As to your real ques­tion, the idea of imme­di­ate com­pi­la­tion and “unit tests” appeals to me only rarely, when I’m feel­ing my way in a totally unknown envi­ron­ment and need feed­back about what works and what doesn’t…

Hmm, peo­ple who are “feel­ing their way in a totally unknown envi­ron­ment”… Like new con­trib­u­tors to an open-source project or a new employee doing main­te­nance work on a project after the orig­i­nal team has gone on to other companies.

…oth­er­wise, lots of time is wasted on activ­i­ties that I sim­ply never need to per­form or even think about. Nothing needs to be “mocked up.”

Good for him. Here on Planet Earth, devel­op­ers are often asked to work on projects they didn’t design and imple­ment them­selves, and do so in a way that doesn’t hor­ri­bly break some­thing that already exists. Or work with oth­ers because your desired end­state and time­line are not such that you can do it your­self or work things piece­meal and take it back for a redesign. </snark>

Comment on this...


2008-04-23

Cracked Screen

Took me a cou­ple years and a cou­ple lap­tops, but I finally dropped one just good enough to shat­ter the LCD. AppleCare doesn’t cover broke-it-yourself phys­i­cal dam­age, only the deep cen­ter of the bath­tub curve, so it’s basi­cally point­less to drop the money on it.

Again, if you’re buy­ing a Mac, save your pen­nies and don’t bother buy­ing the Apple Care plan.

Comment on this...


2008-04-08

Last To The Party

Upgraded my own install of Zimbra to 5.0.4 today, haven’t played with IM yet. Shared doc­u­ments, a task list, seems cool. BTW, don’t ever, ever, ever mod­ify the LDAP schema in Zimbra. Even via their own “posix­Ac­count” exten­sions. It’s just bad news all around.

Also, I’m enjoy­ing mux­tape.

Be the first to comment on this...


2007-10-12

Sense

One of the best quotes evah:

Personally, before I did this test, I was cer­tain that LightTPD would win the race. Obviously, large soft­ware which is per­ceived bloated not nec­es­sar­ily is.
mod_php, LightTPD, FastCGI — What’s Fastest

Put that on a Times Square ticker.

Comment on this...

Go backward in time