Saturday, February 27, 2010

Naymz? No Thanks

I just received an invitation to join yet another social networking site, Naymz. I'm clearly facing a deadline here:
Please join my Professional Network on Naymz. Click here to view my invitation, which will expire in 30 days.

What is Naymz? Clearly a site run by people who can't spell. And they also have a weak grasp of English grammar. From their site:

Naymz is a powerful tool for any professional looking to advance their career to the next level. Our innovative professional networking platform allows people to find and discover new connections, opportunities, ideas, and information based on their backgrounds and reputations.

Since they don't even bother to make the description of their site grammatically-correct, I have to wonder how good their quality is throughout. Note for the puzzled: professional is singular; their is plural.

Admittedly I'm being a little hard on them, but is there anything the world needs less than a new social networking site?

Saturday, February 20, 2010

Vietnam-Era Heroes

I just saw the new film about Daniel Ellsberg and I'd have to rank him at the top among heroic figures of the Vietnam era. He did, perhaps, more than any other person to end the war. Other heroic figures, IMHO, would include the Catonsville Nine, Noam Chomsky, and Howard Zinn.

Of course, any computer scientist could consider Chomsky a hero "simply" due to his contributions to linguistics. And perhaps I overrate the Catonsville Nine, having never heard of them before I moved to Catonsville. Or maybe I'm just too young.

Wednesday, February 17, 2010

What's the Buzz? Tell Me What's A-Happening

It turns out I wasn't the only one to have a strong, negative reaction to having Buzz suddenly thrust upon me, following people and having followers with no volition or discretion involved. CNET has a recent article about just this.

This is the first Comcast/Verizon-like lack of respect for users that I've seen from Google, or at least the first blatant case.

Sunday, February 14, 2010

Xfce Focus Stealing

I configure the window manager for "focus follows mouse" rather than the Windows-like "click to focus." If the mouse pointer indicates where my attention is, why force an extra click? Ok, the real reason is that this is what I'm used to from SunOS and Solaris in the late '80s through the mid '90s. What I say below may not apply to the click to focus crowd--I just don't know.

Under the focus tab in Xfce 4.6.1's Window Manager Tweaks is an undocumented checkbox labeled "Honor standard ICCCM focus hint." At Xfce.org, the most recent documentation is for version 4.2, and 4.2 did not have this "feature." The ICCCM is a large document, and perhaps by investing considerable time one could figure out what ICCCM focus hints are, but I don't have that time. What I have noticed is that if I select both that and "activate focus stealing prevention," applications steal focus willy-nilly. I think most users who do a lot of typing, like, say, programmers, people who create documents, people who send e-mail, etc., will not want Xfce to honor ICCCM focus hints.

The other thing I noticed recently, being new to Xfce, is that the desktop is very, very sluggish compared to Gnome. This alone was bad enough that I considered going back to Gnome. However, last week, being forced to stay at home because of the snow, I noticed another window manager option, "Delay before window receives focus." I set this to zero, or as close to zero as it would let me, and all of a sudden the performance was fairly snappy. So the Xfce default is to give the illusion of poor performance, but eliminating that delay is a huge improvement.

I like Xfce as a window manager, but the documentation is in such bad shape that I cannot recommend it to others.

Saturday, February 13, 2010

Disabling Google Buzz

Those of us who use Gmail recently got a surprise with a new "feature" called Buzz, a Facebook wannabee. A Gmail user can disable Buzz by deleting his or her profile. Unfortunately, the Buzz button still clutters the Gmail interface, so it's necessary to also go into the Labels tab in Gmail settings and hide Buzz.

Tuesday, February 9, 2010

Removing a menu item in Xfce4.6.1

I recently uninstalled gnumeric, but the menu entry didn't go away. Looking through various menu items, settings, configuration options, etc., didn't yield anything. The online documentation for xfce 4.6 has the helpful statement that there is no documentation, and refers us to the xfce 4.2 documentation. I noticed in the same place that there was a link to 4.4 documentation, but no dice--that also refers us to the 4.2 docs. Clearly documentation has been a continuing issue in xfce. The 4.2 documentation led me to a page of misinformation (maybe it was accurate in 4.2), http://www.xfce.org/documentation/4.2/manuals/xfdesktop. This page shows an image of an "Edit Desktop Menu" button in the desktop settings window. There is no such button in 4.6.

A little googling led me to a lot of people asking how to do it, some suggestions that didn't work, etc. This reminded me of trying to get OpenOffice to stop "helpfully" suggesting word completions and spreadsheet cell contents: many complaints about how stupid the default settings were, many complaints about how difficult it was to disable, but solutions were few and far between.

Finally, fed up with trying to figure out how to do it the right away, I removed /usr/share/applications/gnumeric.desktop (actually I moved it to a safe place just in case) and, voila, the gnumeric menu item was gone.

Xubuntu Glitch

This morning I opened an open office document by clicking on it in Thunar (xfce's file manager), and the formatting was all goofed up. Weird. I started to mess around with it, but quickly realized the save as menu was different as well, and then noticed I was in Abiword, not Open Office.

For some reason, Xubuntu, which is supposed to be stripped to mostly essentials, ships with Abiword, Gnumeric, and some other useless crap. I hadn't gotten around to uninstalling these, because the clutter they were adding to my Office menu was a minor inconvenience. But now they're gone, kind of.

Removing Gnumeric didn't remove it from the office menu, so I'll have to figure out how to remove it manually, which isn't an obviously simple task in xfce.

Saturday, February 6, 2010

Palimpsest

I recently upgraded my laptop to Ubuntu 9.10, and tonight I noticed a new tool, palimpsest. In addition to being a great name (though I had to look it up), it's an interesting tool. It's now a default on Ubuntu 9.10, but not in Xubuntu 9.10. Install gnome-disk-utility to get it. Click above or here for a brief description.

Monday, February 1, 2010

Remembering SCO

In the '90s, when an assistant professor at Hood College, I was visited by representatives of SCO trying to convince me that we should be running SCO UNIX in our labs. When I mentioned Linux (we had a couple slackware servers and a number of Ultrix machines at the time) to them, they looked at each other as if encountering a tremendously naive user. They then proceeded to belittle Linux. Later while still at Hood and then in industry I had occasions to talk with SCO representatives, and they consistently dealt with Linux with belittling rather than rational argument, similar to the way Microsoft now spreads FUD when discussing open source, so consistently that I couldn't help but suspect this was how they were told to deal with Linux.

SCO was a fine product at the time, and at the heart of a number of voice servers installed by Microlog in my time with that company, but the sales reps were incapable of delineating advantages or disadvantages of SCO vs. Linux.

Now I have trouble seeing someone who went with Linux rather than SCO in the '90s as viewing that as a mistake. SCO may not be dead, but they're no longer relevant.

Saturday, January 30, 2010

tcsh Update

Maybe I don't need to worry about changing shells too soon, if only because tcsh is the default shell for UMBC's Linux cluster, GL.

UMBC shell menu


So it's not just me and the OSU of yesteryear, but also UMBC.

Friday, January 29, 2010

LinkedIn Not Worth it Anymore

LinkedIn has been of some value to me in terms of getting back in touch with former coworkers. But they've changed their authentication so that, instead of a login session lasting for the life of a browser process, it times out every day. So now I have to log in every single time I want to visit their site. It's ok with me that Amazon wants my password every time I place an order, but LinkedIn doesn't have my credit card numbers and so forth.

Am I going to delete my LinkedIn account? Not in the immediate future.

Am I going to bother to look at LinkedIn based on the "LinkedIn Network Updates" they send out every week or so? No--it's no longer worth my time.

Am I going to keep my profile up-to-date? Probably not.

Will I periodically visit LinkedIn when I think of a former colleague and wonder where he or she is? No, it's not worth the time.

Saturday, January 23, 2010

tcsh

In my last post I mentioned that I use tcsh. This was a very popular shell on the Ohio State Computer Science Department's Sun 4 and SLC network ca. 1990. It's a supported package under Ubuntu, so it's clearly not dead, at least not entirely. How widely used is it these days? Here's the result from Google Trends:


Google Trends Showing the Decline of tcsh


Clearly the trend is downward. It was about five times as popular as a search term in early 2004 as now. The US ranks eighth in search frequency, and English fifth among languages. I suspect there will come a day when I need to try out a new shell.

sftp "Received message too long 1114795883"

A new semester starts in a few days and it's time to move stuff to the server, but, alas, I couldn't log in to the server. More specifically, ssh worked fine, but sftp failed. And it didn't just fail from my Ubuntu desktop, but from my XP netbook. Clearly it was a problem on the server, but I decided to do a little googling before opening a ticket and suggesting to the IT staff that something was screwed up. Besides, if sftp was broken on a university-wide basis, they probably already knew about it.

Google led here, which had a link to a post from a guy whose last name meshes well with my profile picture.

The problem could be that my .cshrc on the server was generating output that sftp didn't know to deal with. Another blogger somewhere gave a hint regarding what this was, and indeed the decimal 1114795883 in the error message was 0x42726f6b, or, in ASCII: "Brok'. Yes, something was broken, and 4 bytes was all that fit into the integer error message.

So I had to figure out why GL (the server, gl.umbc.edu) was generating extra characters. My default shell is tcsh, so the problem was most likely in the init file, .cshrc. I decided not to look at the system-wide .cshrc initially. I tossed some detritus from my .cshrc, and again failed to log in.

There was still a suspicious line, '/usr/bin/mesg n', at the beginning of the file. Why wasn't this inside the conditional that distinguished between interactive shells and others? I moved it into the conditional, and suddenly I was able to log in.

I had to chuckle. I added that line last semester when a student decided that if we were logged in on GL at the same time, he could chat with me. No. But I was clearly careless when I disabled write.

Sunday, January 17, 2010

CyberMaryland Report

This is a Maryland state government report on cyber security, and worth a glance. There's a summary at http://tynt.com/3eQx, which also has a link to download the report as a PDF. Alternatively, one can use the execrable flash-based browsing interface at issu.com.

Tuesday, January 12, 2010

Rebooting Ubuntu

I miss the old, original behavior of ctrl-alt-del, rebooting the system. Once upon a time, kiddies, computers had front panels. Among the buttons on the front panel was a reset button. With the IBM PC and others of its early '80s ilk, the front panel was gone, and often there was no reset button, but there was the three finger salute.

At some point, Windows behavior was to invoke the task manager on a three finger salute rather than to do a system reset. Slackware and other early Linux distros did a reset, which effectively rebooted the system.

Why do I suddenly care? I'm running Ubuntu 9.10 on a 64-bit HP Pavilion desktop. Multiple times per week the system locks up, and ctrl-alt-del does nothing. The GNOME default is log out, but GNOME is locked up at this point. There's a configuration file, /etc/event.d/control-alt-delete, but so far as I can tell the contents of this file are irrelevant and have no effect on system behavior. So my recourse has been to hold the power button down long enough for an abrupt power down. I've been doing this, on average, multiple times per week, when really all I want to do is reboot.

I want my reset button.

Now it turns out that alt-sysreq-b does a reset. Now I just have to remember to try this the next time my system locks up.

Ubuntu: less impressive with every "upgrade."
Hewlett-Packard: less impressive on a year-by-year basis since the merger with Compaq. I guess I could start telling people I'm old enough to remember when HP sold quality products. I worked for a competitor in the telecom instruments segment, and HP was always considered a very worthy competitor. Their laser printers used to be good. Now it's all cheap junk.