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.
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:
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.
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.
Labels:
tcsh
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.
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.
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.
Labels:
ctrl-alt-delete,
hp,
reboot,
reset,
ubuntu
Wednesday, December 9, 2009
Blocking the HTTP Referer, Take 2
I was about to post that RefControl now seems to work on all my systems, but double checked and, alas, no. RefControl is broken on Firefox 3.5 running on Ubuntu 9.04. Time to systematically uninstall RefControl on all my Linux boxes and install Web Developer on each. I can't have a privacy tool that sometimes works on some systems.
Web Developer Add On: https://addons.mozilla.org/en-US/firefox/addon/60
Testing for broken referer blocking: grc.com or http://userpages.umbc.edu/~jmartens/courses/is430/infoleak.shtml
Web Developer Add On: https://addons.mozilla.org/en-US/firefox/addon/60
Testing for broken referer blocking: grc.com or http://userpages.umbc.edu/~jmartens/courses/is430/infoleak.shtml
Labels:
Firefox,
privacy,
referer,
ubuntu,
Web Developer Toolbar
Boycott Muvico
A Muvico theatre in the Chicago area pressed charges for a woman taping friends and family singing "Happy Birthday" in the theatre. She incidentally got a short snippet of "Twilight New Moon" in the background. As a result, she spent two nights in jail and faces a felony charge. This is completely ludicrous, and I for one will not be attending any Muvico Theatres until Muvico drops all charges.
Lauren Weinstein's Commentary: http://lauren.vortex.com/archive/000648.html
Chicago Sun-Times article: http://www.suntimes.com/news/metro/1916606,twilight-taping-arrest-movie-120209.article
Note: I don't know what they were doing singing after the movie started, and that is, to say the least, rude (even with a film as terrible as Twilight). But she wasn't charged with making a public nuisance, disturbing the peace, or the like.
Lauren Weinstein's Commentary: http://lauren.vortex.com/archive/000648.html
Chicago Sun-Times article: http://www.suntimes.com/news/metro/1916606,twilight-taping-arrest-movie-120209.article
Note: I don't know what they were doing singing after the movie started, and that is, to say the least, rude (even with a film as terrible as Twilight). But she wasn't charged with making a public nuisance, disturbing the peace, or the like.
Tuesday, November 17, 2009
DC: Taxation Without Representation
DC has more people than Wyoming. How can it possibly be that they don't warrant representation in Congress?
Thursday, September 24, 2009
Dreaded winmail.dat
There's long been a problem with Outlook, which rather than using standard attachment syntax, uses something called winmail.dat. It's another example of Microsoft intentionally not playing well with others. In the past, if a student has sent me a winmail.dat attachment, I've simply told the student to try again with something not Microsoft-proprietary.
I got a winmail.dat this morning from a co-worker, and rather than just say "try again," I decided to spend a few minutes on the problem (or pointy-haired opportunity). There's a site that seems to do a good job of extracting files from winmail.dat files: http://tud.at/php/tndef/index.php.
There are privacy issues here. Should one send personal, or work-related, or student-generated content to a third-party web site?
I got a winmail.dat this morning from a co-worker, and rather than just say "try again," I decided to spend a few minutes on the problem (or pointy-haired opportunity). There's a site that seems to do a good job of extracting files from winmail.dat files: http://tud.at/php/tndef/index.php.
There are privacy issues here. Should one send personal, or work-related, or student-generated content to a third-party web site?
Labels:
Microsoft,
outlook,
winmail.dat
Saturday, September 19, 2009
Shawano News and Liquor
As near as I can tell, Shawano News and Liquor no longer exists. 4 or so decades ago, it was the only bookstore in Shawano, WI. They sold other stuff, too. I remember browsing the shelves as a kid and the woman who managed the store (who I think was a Moede, and related to my great grandmother) told me that part of the store was for adults. I told her I could read pretty well, but she still shooed me out of there. Now I think she wasn't concerned about the reading level per se.
Blocking Referer Page
By default, browsers tell servers what page they're coming from, i.e., the page on which the link to the page was clicked. The justification for this is hazy--I can't imagine why I would want to give this information to any server.
I used to use RefControl to block referring information (note the HTTP spelling is referer[sic]). Unfortunately, the current version of RefControl doesn't work with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/8.04 (hardy) Firefox/3.0.14, so I went in search of something that would work. I tried No-Referer and Refspoof, neither of which appear to work at all.
A little Googling led to the Web Developer Toolbar, which does successfully block the referring page. It's a bit heavier weight than I wanted, but it works, and it does have other features I may use over time.
Check to see if your referer information is shared.
I used to use RefControl to block referring information (note the HTTP spelling is referer[sic]). Unfortunately, the current version of RefControl doesn't work with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/8.04 (hardy) Firefox/3.0.14, so I went in search of something that would work. I tried No-Referer and Refspoof, neither of which appear to work at all.
A little Googling led to the Web Developer Toolbar, which does successfully block the referring page. It's a bit heavier weight than I wanted, but it works, and it does have other features I may use over time.
Check to see if your referer information is shared.
Labels:
Firefox,
No-Referer,
privacy,
RefControl,
referer,
Refspoof,
Web Developer Toolbar
Monday, August 24, 2009
Airline Passenger Bill of Rights
Another group of passengers got stranded on the ground in a plane for 6 hours, were forced to pay for food and water while stranded, and still the plane was out of food and water by the time the passengers were allowed to depart. Being out of water can be dangerous for people with certain medical conditions. While not as extreme as the flight that was kept prisoner on a plane over night, this points out the need for a passengers' bill of rights. Between the airlines' lack of respect for their customers and the government's security theatre, flying has become very unpleasant in this country.
Amtrak works well, though.
Amtrak works well, though.
Thursday, August 20, 2009
Humor, Brasero Style
I was burning a backup DVD this morning on Ubuntu 8.04LTS using Brasero 0.7.1, and, as I added files to my project, got the oft seen 3.10GB follows 3.9GB error. I always thought something closer to 4 than 3.10 would follow 3.9, but whatever. Then I burned the backup disk. The drive slid open after burning, as usual, and so I closed it for the verification. Except, instead of verifying, an alert popped up saying that Brasero was unable to eject the disk, and so it then didn't attempt the verification.
Did I miss something? When the the tray slides out, isn't that ejecting the disk?
This was a backup, and so verification is critical. Fortunately there's diff. It's the old tools that work, though wc has been messed up because somebody decided it should adapt to character sets rather than just count bytes, which I guess is the right choice, but breaks it on some installations. I wrote my own wc in response, and it actually runs without warning and error messages.
Other Brasero glitches are that, for data disk projects, it defaults to burning a DVD, but it also defaults to a drive that doesn't burn DVDs. Dumb. This could be Windows software.
Monday, August 17, 2009
LaTeX to XML
There's a LaTeX to XML converter called Tralics which is used by the folks at Inria. Expect a posting on experiences with Tralics real soon now.
Wednesday, August 5, 2009
Go Figure
BBC has a columnist, Michael Blastland, with an excellent (based on a small sample) column entitled Go Figure: Different ways of seeing stats. A few pieces in particular that I'll recommend are
- The problem with junk stats? It's you which discusses the problem with self-report in survey data.
- A scanner to detect terrorists which discusses the problem of false positives in the context of detecting terrorists. A number of people have pointed this problem in a number of contexts, but policy makers and reporters, in particular, just don't get it. Companies selling face recognition systems and data mining software for detecting terrorists probably do get it, but sell the government junk nonetheless.
- Just what is poor? explains how the poverty line is set.
Labels:
false positives,
self-report,
statistics,
stats
Subscribe to:
Posts (Atom)