Geeky stuff I didn’t know.

I’m in the process of deploying a new host for all of Homeport’s services (all the shell accounts, mail, etc etc), since we’re moving in a month. This means setting up a brand new machine in a colo location from scratch.
I’ve chosen the Debian ‘Sarge’ release for my platform, seeing as I run it on my laptop and a few other machines hereabout.
One challenge with this is learning a new directory structure. Under FreeBSD (the OS I’ve been using for most of Homeport’s services), configuration files tend to reside in /usr/local/etc/{service}/{various config files}. /etc/ is only for baseline system configuration files, not add-on apps, etc etc. Debian does things differently, and I found out recently there’s a reason.
Debian adheres to the FHS – the Filesystem Hierarchy Structure, a standards document that defines what directories go where on a specific Unix (or in this case Unix-Like) installation.
I had no idea this document existed, but I’m pleased as punch to see it applied to what many consider the more chaotic of the Linux distributions – Debian. I wonder who else has taken up this standard?

The weekend in review.

“Believe me, my young friend (said the water rat, solemnly), there is nothing -absolutely nothing-half as much worth doing as simply messing about in boats. Simply messing about. Nothing seems really to matter, that’s the charm of it. Whether you get away or whether you don’t, whether you arrive at your destination or whether you reach somewhere else, or whether you get anywhere at all, you’re always busy, and you never do anything in particular.” (The Wind in the Willows)

Boy ain’t that the truth.

No greater damnation…

… than a man’s own words.
These are the words of Karl Rove, at a New York Conservative Party get-together. There’s nothing that makes me more nauseous, or underlines the horror that the conservative party represents in our government, than this man’s characterization of Liberalism vs Conservatism.

Conservatives believe in lower taxes; liberals believe in higher taxes. We want few regulations; they want more. Conservatives measure the effectiveness of government programs by results; liberals measure the effectiveness of government programs by inputs. We believe in curbing the size of government; they believe in expanding the size of government. Conservatives believe in making America a less litigious society; liberals believe in making America a more litigious society. We believe in accountability and parental choice in education; they don’t. Conservatives believe in advancing what Pope John Paul II called a “culture of life”; liberals believe there is an absolute unlimited right to abortion.
But perhaps the most important difference between conservatives and liberals can be found in the area of national security. Conservatives saw the savagery of 9/11 and the attacks and prepared for war; liberals saw the savagery of the 9/11 attacks and wanted to prepare indictments and offer therapy and understanding for our attackers. In the wake of 9/11, conservatives believed it was time to unleash the might and power of the United States military against the Taliban; in the wake of 9/11, liberals believed it was time to… submit a petition. I am not joking. Submitting a petition is precisely what Moveon.org did. It was a petition imploring the powers that be” to “use moderation and restraint in responding to the… terrorist attacks against the United States.”
I don’t know about you, but moderation and restraint is not what I felt as I watched the Twin Towers crumble to the earth; a side of the Pentagon destroyed; and almost 3,000 of our fellow citizens perish in flames and rubble.
Moderation and restraint is not what I felt – and moderation and restraint is not what was called for. It was a moment to summon our national will – and to brandish steel.
MoveOn.Org, Michael Moore and Howard Dean may not have agreed with this, but the American people did. Conservatives saw what happened to us on 9/11 and said: we will defeat our enemies. Liberals saw what happened to us and said: we must understand our enemies. Conservatives see the United States as a great nation engaged in a noble cause; liberals see the United States and they see … Nazi concentration camps, Soviet gulags, and the killing fields of Cambodia.
Has there been a more revealing moment this year than when Democratic Senator Richard Durbin, speaking on the Senate floor, compared what Americans had done to prisoners in our control at Guantanamo Bay with what was done by Hitler, Stalin and Pol Pot – three of the most brutal and malevolent figures in the 20th century?
Let me put this in fairly simple terms: Al Jazeera now broadcasts to the region the words of Senator Durbin, certainly putting America’s men and women in uniform in greater danger. No more needs to be said about the motives of liberals.

Sometimes, you can go home.

One of the advantages of working in New Jersey is being able to visit places I used to call home. On the last visit, I went back to the farm I lived on between 1969 and 1981, or the place I refer to as “where I grew up”.
The farm is located in Ringoes, NJ, about 20 miles west of Princeton. It’s still extremely rural, and many of the farms I remember are still there, including ‘ours’. The current owners were nice enough to let me look around the property and take lots of pictures. I’ve assembled them into a photo album with comments.
This was a hard visit for me in many ways. Many old memories, some things changed that were hard to see, but also many things the same. I kept noticing small bits everywhere. The lamp fixture on the porch – my mom selected that. The combination lock on the kitchen is still there (I wondered if it still had the same combination). The thermometer outside the dining room window (plastic) . All still there from almost 25 years ago.

When Volunteer Organizations Go Bad

I’ve been following, with some level of nausea, the unfolding saga that is going on in the Texas VHF-FM Ham Society. This is a reasonably long-lived non-profit organization of ham enthusiasts that has, unfortunately, degenerated into a pissing match between members that has gone as far as bringing in lawyers and restraining orders.
In my book, if a volunteer organization goes this far down the road of distrust, antipathy, and downright hostility, it’s time to either split or disband and start over.
The ‘legitimate’ board has one website: TexasVotebyMail.info.
The ‘dissenters’ (primarily led by Jay Maynard) have another: GangofThree.info.
The accusations, pedantics, and general doo-doo-flinging going on on both sides is both entertaining and saddening.

XM Radio – One Week In – a quick review

My current work has me heading down to New Jersey every few weeks to work with my client on our various projects. After the first 2 drives (4 1/2 hours or so), I decided that I needed some way to keep myself sane on the drive. The first trip involved cabling up my laptop to the stereo so I could listen to the MP3 collection on it while driving. This proved… less than optimal, and I began considering XM Satellite Radio. Last week I marched into Best Buy and picked up a SkyFi2 receiver.

The Service
XM Radio is a satellite-based radio service that provides about 250 channels of ‘digital radio’ to a special receiver. It is a subscription service, requiring a monthly charge and activation. There are no ‘levels’ of subscription, such as in cable television – once you’re subscribed, you have access to everything. The channels vary widely in content, from Major League Baseball through classical music. The service is activated based on your receiver ID. Receivers can be moved from vehicle to vehicle (or in the case of the ‘MyFi’ receiver, carried around with you like an iPod). You can activate multiple receivers, but there’s a (smaller) charge per additional unit. Many of the units are mobile, and can simply ‘undock’ from one car, and ‘dock’ in another (or into an at-home unit).

The Equipment
As mentioned, I have the SkyFi2 receiver, which is sort of middle of the road as far as receivers go. It has has a ‘dock’ arrangement that lets you remove the receiver or hide it when parking, which is a win. The receiver has a clear easy to read display (both in daylight and at night), and is easy go use to navigate stations and presets. Mine has a very stiff ‘wheel’ on it, which I may bring in to get serviced (it should turn smoothly), but other than that it works fine. The unit comes with an external ‘magnetic mount’ antenna, a ‘cassette-style’ hookup for stereos (it also can transmit on several FM bands, but I found as I was driving I’d drift in and out of range of various FM stations, which would conflict with the FM transmitter), so I opted for the slightly more cluttery arrangement with the cable, but didn’t have problems with interference. This will definately require a more permanent installation though, since the receiver now has 3 wires coming out of it (power, antenna, and audio).

The receiver does provide some excellent functions over traditional radios. The biggest is having a realtime display of the current channel, track and artist. You can add other things to the display (stock tickers, etc), though I can’t imagine that would be safe for a driver :). Another big win is the ability to ‘pause’ music or shows – for instance to go through a toll booth, or get food from a drivein, or whatever. The receiver ‘spools’ the show up (and shows how far behind realtime you are), and lets you play and catch up when you’re ready. Up to half an hour of paused music can be stored.

Last but not least is the ability to ‘tag’ certain music or artists, so that if another station starts playing an artist you want to hear (or a show, or whatever), the unit will alert you that something is starting elsewhere. I haven’t done this yet, but if there were certain shows I didn’t want to miss, that would be handy.

The Stations

What is a radio service without content? XM provides 250 or so channels of programming with a wide variety of content. After scanning through the listing several times, and listening a bit to each one, I’m slowly settling down into a dozen or so I enjoy. Many of the stations have live DJ’s that introduce and comment on the pieces being played (though the receiver includes the feature of showing the channel, artist, and track being played – and it’s updated in realtime), but it’s nice to hear a real person on occasion. My only beef with the station programming is they have commercials. This is a pay-for service, the last thing I want to do is listen to an add for Viagra in the middle of a Blues concert. I find this incredibly annoying, and would even consider paying a slightly higher premium to avoid the commercials

As far as generic programming, the stations are good. Some are excellent (in my opinion), and some are just boring. I would have liked to see less channel space used up by specialty or limited audience bits that are repeated elsewhere. (For instance, there are 40 some odd ‘local’ stations. If I’m in Boston, chances are I don’t need to hear traffic conditions in Chicago, but I have both a Chicago and a Boston channel on my receiver). Also, there are 5-6 major league baseball channels, and 4 Nascar channels. If there is a limited number of channels in the XM system, they should work on a subscription mechanism that lets you tune what channels you receive. I’m never going to be listening to MLB or Nascar programming, why is a third of my channel selection used up by them?

The good, the bad, and the ugly
So now I’ve been using the system for a week, and have some pretty detailed impressions of it. So here’s the basic rundown as I see it. I spend anywhere from an hour and a half a day to several hours (for the road trips), so I’m probably a fairly typical user:

    The Good

  • Very good selection of stations and programming.
  • A lack of DJ chatter or other annoyances
  • Very capable technical offering on the receiver
  • Activation and maintenance painless (took about 15 minutes from my car)
  • Availability of all programming over the net via their website
  • Ubiquitous access to stations, no matter what your location. The same channels are available in Boston that are available in NJ.
  • Simple installation and easy to use.

    The Bad

  • Many channels used up by narrow-focus audiences, but still occupy many channels at once.
  • Reception can be sketchy. Audio cuts out as the signal drops down reasonably often. Not enough to be a real problem, but far more often than I expected.
  • Audio quality is less than ideal. It sounds similar to a 64k MP3 streaming audio feed. It is NOT as high quality as CD or even broadcast radio, but is acceptable.

    The Ugly

  • No way to skip or avoid commercials
  • No Radio Paradise!

Conclusion
For $11 a month for the service, I think it’s worth it, particularly for people who do regular road trips or even longer commutes. The inclusion of not necessarily ‘mainstream’ content makes all the difference (things such as NPR, Folk radio, etc). Some more flexibility would be nice, and higher quality audio would be a huge win, but for now, I think I’ll stick with it.

Just when you thought it couldn’t get any weirder.

While reading my favorite weekly column by James Randi, I happened upon a discussion where certain individuals were taking some of the Mars orbital photographs, magnifying them past all levels of sanity, washing them through photoshop several times so that all the JPG compression anomalies stood out bright and shiny, and then pointing to these anomalies and going “LOOK! BUILDINGS! IT’S A COVERUP!”

Now, this -must- be a characterization out of line of what these people were saying. Right? Mustn’t it?

Sadly, no, it isn’t.

I direct you, for your own entertainment, to the… comments of one Joseph P. Skipper, of MarsAnomalyResearch.com. Mister Skipper goes on for many many pages about how there is this vast coverup by scientists about existing advanced civilizations right here in our solar system.

Now, sure, give a guy some slack. The tin-hat folks can say “But, how do we KNOW? They’re feeding us bad information!”

But, for argument, let me present Skipper’s commentary on banding on the moon as presented by the Deep Space Program Science Experiment, aka Clementine. Skipper comments on this ‘banding’…

Note that these poorly seen rows of artificial structures of some kind do not give the impression of buildings so much as of giant solid, sectional, possibly contoured, appearing reinforced alternating clamping system structures. Note how precisely horizontally distance separated one vertical row is from the other forming a clear definitive rigidly uniform south/north north/south orientation and precisely spaced apart pattern. So, not only does each of the individual bands speak clearly of artificiality, so to does the over all pattern of the many bands. It is very difficult to regard this as anything less than conclusive definitive proof of massive scale artificiality present on the Moon and on a colossal scale.

Now, it’s quite easy to dismiss this fellows rantings as the standard woo-woo “The aliens are there!” twaddle, and that “the public is simply being deceived about the reality” and other bits, but Skipper tries to back up his rantings with ‘facts’ pulled from known sources.

But here’s where it gets fun. The images that Skipper posts are pulled directly from the Clementine Lunar Image Browser, an online database of all the images from the survey. Skipper himself says how to retrieve the images, and he states that you should set the query to “1 pixel = 1 kilometer”. His sample images are 768 pixels wide, which would make the pictures he’s viewing 476 miles across. The moon has a diameter of 3,476 miles, so the pictures he’s looking at would be about 1/7th of the diameter as we see it here from earth (not taking into account parallax errors due to curvature, etc). So, given those numbers, don’t you think we could see those bands just standing out in a field and looking?

No? Lets go closer. A $100 pair of binoculars would give you a 10x resolution. Heck, lets go nuts – spend that $99 and get a 420x resolution telescope, and take a look at the moon. At that resolution, you should be able to discern objects down to something about 100′ across. According to Skippers page, there is apparently a building that, according to his scale, is about 40km across. Should be pretty easy to see it, don’t you think?

Alas, Skipper spends no time even considering the inanity of his arguments, and continues with the ‘obvious cover-up’ chatter and the declaration of deliberate obfuscation by the government.

Because the entire Clementine Moon imaging is visually a sea of a great many different types and levels of image tampering applications and obfuscation techniques covering and hiding evidence and creating false illusions as to terrain detail in the process and essentially covering and obscuring most of the Moon’s entire surface as well as these bands.

It’s amazing how people will persist in their delusions when all they have to do is walk outside and look up to see that what they’re proposing is so ludicrous it defies explanation.

By the way, the ‘banding’ that Skipper goes on about was due to the fact that the Clementine probe was inserted into a polar orbit around the moon. When you take interlocked pictures of a globe while orbiting it, and piece them together to attempt to display them on a flat surface, there is interference where they overlap. That, combined with the fact that the CLIB database consists of JPEG images – compressed versions of the original imagery, which introduces ‘square’ and ‘noisy’ artifacts into an image, resulted in the ‘bands’ and ‘buildings’ that Skipper latches onto with such tenacity.

Some slightly good news

From the ACLU :

Late Wednesday afternoon, the House of Representatives took perhaps the most significant vote in the nearly four year debate over the USA PATRIOT Act. They voted 238 to 187 to amend the CJS spending bill by exempting libraries and bookstores from the scope of foreign intelligence records demands under Section 215 of the Patriot Act.

A small step forward.

National Academies Sets up pro-evolution website

WASHINGTON (Reuters) – The National Academies, the flagship of U.S. science, said on Friday it had set up a Web site to battle attempts to portray evolution as mere speculation about how life developed on Earth.
The Web site, http:/nationalacademies.org/evolution/, carries links to various reports on evolution, which some U.S. religious groups want to be taught in schools only if their own views of a divine creator get equal credence.
(Via Reuters, thanks to Keyne).

It amazes me…

… how so many people who…

  • did not sit on the 14 weeks of evidence presentation…
  • have never met, seen, talked to, or interviewed the parties involved…
  • have never had one day of legal schooling…
  • were not in the jury…
  • in fact, have not seen anything of the evidence other than what has been filtered through chat boards, CNN, and the rest of the ‘media’

…can decide, point blank, the guilt or innocence of a man in a court case.
Is it so hard for people to say “I do not have enough information to be able to say one way or the other. I wasn’t there.”?
Because, for 99.9% of the people shouting at the top of their lungs about miscarriages of justice, or whatever, that’s exactly the situation they’re in.

Java JBoss Geek Trick du jour

I’m doing a lot of work in JBoss, and one of the bugs I’ve run into is that if an applications initial deployment fails, JBoss refuses to un-deploy it. It throws this error when you try to redeploy the app (in this case, the app is called ‘app1’ and is deployed as an EAR file) :

23:19:23,054 ERROR [MainDeployer] Could not initialise deployment: file:/home/dbs/jboss/jboss-4.0.1sp1/server/default/deploy/app1.ear
org.jboss.deployment.DeploymentException: Error in accessing application metadata: ; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeployment,url='app1.ear' already registered.)

Sometimes restarting JBoss appserver from scratch will fix it, but only if you’ve remembered to delete the .ear file before restart.
JBoss comes with a great little tool called ‘twiddle’. It sends commands via JMX right into the appserver. You can force an app to unregister right from the command line:

twiddle.sh unregister jboss.j2ee:service=EARDeployment,url='app1.ear'

Voila 🙂

5watt GMRS radios. Any opinions?

I’m considering replacing my el cheapo 1 watt FRS radios that I use for conventions and shows. They’ve been okay, and 2 years ago they were fine, but the headsets are terrible, and they don’t have enough ‘oomph’ to carry beyond a couple hundred feet, particularly in hotel buildings.
I’ve noticed that Midland Radio now has a full 5 watt GMRS radio (they’re marketing it as ’14 mile’, which is fine, as they say, across open water or perhaps chatting on a playa somewhere *grin*.
Anyway, they also have a very nice set of headphoens – including a ‘behind the head’ headset, which sounds perfect for extended wear (the ‘in the ear’ units for me get uncomfortable after an hour or two).
They also have a ‘stealth’ clear plastic version – just like the secret service uses. If you really want to be talking into your cuffs, this is the setup for you 🙂
Anyway, thoughts on these? Price on midlandradio for a pair, with chargers, with the cheaper of the headphones is $94.99. I’m seeing them on eBay for around $75 for a pair.

Memory usage – Linux vs XP

I was having a convo with a friend the other day who was complaining that her laptop just didn’t have enough memory for her to do her job. When she let on that it has a gig of memory, I was floored, wondering what huge monstrous app she was running that was killing it.
“Outlook”, she said.
Now, realizing the platform was Windows XP, I started thinking about my own usage, and how to me this is an indicator, again, about why XP is a terrible system for general development, let alone enterprise-scale applications.
Apparently, 1 gig of memory is not enough to run Powerpoint, Outlook, and the Java application server she was developing on. I can’t fathom how people would consider this ‘okay’.
Sure, the argument is “Memory is cheap” – well, no, it really isn’t, particularly in laptops, when you’re actually running into HARD LIMITS on how much memory a machine can take.
The argument continues, as I see the industry phrasing it, “Well, that’s the price you pay for an enterprise-level application”. Again, a totally bogus answer.
Let me present, for comparison, my own development environment. Also a laptop, but running Linux. As my friend does, I use an integrated calendar / contact / mail client (Evolution). I have a full featured desktop (KDE), a fantastic and powerful webbrowser (Firefox), the ability to happily run Microsoft Office apps (Crossover Office), and a top of the line J2EE development environment and server (JBoss). At the moment, all but the Office adapter is running (because I already have my mail / calendar client running), and my memory footprint is:

top - 13:20:49 up 1 day,  1:18,  1 user,  load average: 0.68, 0.46, 0.44
Tasks: 112 total,   1 running, 111 sleeping,   0 stopped,   0 zombie
Cpu(s):  2.0% us,  1.0% sy,  0.0% ni, 96.3% id,  0.0% wa,  0.7% hi,  0.0% si
Mem:    775860k total,   745648k used,    30212k free,    32244k buffers
Swap:   748400k total,      728k used,   747672k free,   257152k cached

I’ve just barely touched my swapspace. This is on a 768meg IBM T40. And, in addition to those ‘basic productivity apps’, I’m also running: X-Chat IRC client, my Jabber client, streaming audio from Radio Paradise, oh, and have I mentioned an entire full screen instance of The Gimp, a Photoshop-like graphic editor?
I’ve seen Photoshop bring a high end Windows XP machine to it’s knees.
Did I mention every single application I’m running is free? Save for Crossover Office, which I don’t use at the moment, this is all free / opensource software. And even for Office documents, I generall use Open Office.
Once again, can someone tell me why Windows XP is better that Linux? Cuz I sure as hell don’t see it here.

A view of Iraq

From MSNBC, Newsweek’s Baghdad bureau chief Rob Nordlund is leaving his post there, and has some choice commentary. (Linked to from DailyKos).
Living and working in Iraq, it’s hard not to succumb to despair. At last count America has pumped at least $7 billion into reconstruction projects, with little to show for it but the hostility of ordinary Iraqis, who still have an 18 percent unemployment rate. Most of the cash goes to U.S. contractors who spend much of it on personal security. Basic services like electricity, water and sewers still aren’t up to prewar levels. Electricity is especially vital in a country where summer temperatures commonly reach 125 degrees Fahrenheit. Yet only 15 percent of Iraqis have reliable electrical service. In the capital, where it counts most, it’s only 4 percent.
The most powerful army in human history can’t even protect a two-mile stretch of road. The Airport Highway connects both the international airport and Baghdad’s main American military base, Camp Victory, to the city center. At night U.S. troops secure the road for the use of dignitaries; they close it to traffic and shoot at any unauthorized vehicles. More troops and more helicopters could help make the whole country safer. Instead the Pentagon has been drawing down the number of helicopters. And America never deployed nearly enough soldiers. They couldn’t stop the orgy of looting that followed Saddam’s fall. Now their primary mission is self-defense at any cost—which only deepens Iraqis’ resentment.
The four-square-mile Green Zone, the one place in Baghdad where foreigners are reasonably safe, could be a showcase of American values and abilities. Instead the American enclave is a trash-strewn wasteland of Mad Max-style fortifications. The traffic lights don’t work because no one has bothered to fix them. The garbage rarely gets collected. Some of the worst ambassadors in U.S. history are the GIs at the Green Zone’s checkpoints. They’ve repeatedly punched Iraqi ministers, accidentally shot at visiting dignitaries and behave (even on good days) with all the courtesy of nightclub bouncers—to Americans and Iraqis alike. Not that U.S. soldiers in Iraq have much to smile about. They’re overworked, much ignored on the home front and widely despised in Iraq, with little to look forward to but the distant end of their tours—and in most cases, another tour soon to follow. Many are reservists who, when they get home, often face the wreckage of careers and family.
I can’t say how it will end. Iraq now has an elected government, popular at least among Shiites and Kurds, who give it strong approval ratings. There’s even some hope that the Sunni minority will join the constitutional process. Iraqi security forces continue to get better trained and equipped. But Iraqis have such a long way to go, and there are so many ways for things to get even worse. I’m not one of those who think America should pull out immediately. There’s no real choice but to stay, probably for many years to come. The question isn’t “When will America pull out?”; it’s “How bad a mess can we afford to leave behind?” All I can say is this: last one out, please turn on the lights.