Thursday, December 29, 2011

Package rhythmbox-plugins

It turns out that after removing rhythmbox-plugins, I lost keyboard control of play/pause. This is an inconvenience, so I looked into it a bit more. It appears the package contains:


- Cover art
 - Audio CD Player
 - Last.fm
 - Context Panel
 - DAAP Music Sharing
 - FM Radio
 - Portable Players
 - IM Status
 - Portable Players - iPod
 - Internet Radio
 - Jamendo
 - Song Lyrics
 - Magnatune Store
 - Media Player Keys
 - Portable Players - MTP
 - Power Manager
 - Python Console
 - LIRC
 - Status Icon
 - Visualization
 - Browser plugin to integrate Rhythmbox with itunes

In other words, it contains nothing important except "Media Player Keys". I attempted to re-install, and got this:

29:/home/bup> sudo apt-get install rhythmbox-plugins
[sudo] password for jdm: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  gir1.2-rb-3.0 libdmapsharing-3.0-2 python-mako python-markupsafe
  zeitgeist-core
Suggested packages:
  python-beaker python-mako-doc zeitgeist-datahub
The following NEW packages will be installed:
  gir1.2-rb-3.0 libdmapsharing-3.0-2 python-mako python-markupsafe
  rhythmbox-plugins zeitgeist-core
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 264 kB/725 kB of archives.
After this operation, 4051 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

Why do I need zeitgeist to use the keyboard to control my audio player?

Zeitgeist: Spyware Delivered with Linux Mint12?

This afternoon I noticed something called zeitgeist in my top display, and was curious about what it is. I fired up the software manager, did a search for zeitgeist, and found this:

Zeitgeist is a service which logs the user's activities and events
(files opened, websites visited, conversations held with other people,
etc.) and makes the relevant information available to other
applications.


It serves as a comprehensive activity log and also makes it possible to
determine relationships between items based on usage patterns.


This metapackage depends on the Zeitgeist engine and a set of packages
(such as data providers) commonly used together with it.


http://zeitgeist-project.com/

In other words, spyware, or at least a framework to make life
comfortable for spyware. I visited the web site, and nothing there
seemed to suggest the contrary. So,

apt-get remove zeitgeist libzeitgeist-1.0.1 zeitgeist-extension-fts zeitgeist-core zeitgeist-datahub

Apt also wanted to remove rhythmbox-plugins and a couple other bogus
things. I decided to go ahead and try life without rhythmbox-plugins,
assuming I can reinstall later if need be. It's a little creepy to think
someone, or even just something in my system, was tracking the music I
play and the podcasts I download.

Anonymous Strikes Again!

The New York Times is reporting this morning that Anonymous has attacked Special Forces, having taken, reportedly, "7,277 unique credit card numbers, 40,854 e-mail addresses and released 36,368 usernames and passwords."

I expect a strong, futile reaction calling for legal action, but ideally commercial web sites would begin to take security seriously. In a sense, these organizations are providing an attractive nuisance: leave the gate open, and kids will jump in the pool. Just close the frigging gate.

People want the simplest solution, and often the simplest solution doesn't work. Going after hackers perhaps has an effect, but hackers are a renewable resource. Prosecuting hackers doesn't have a measurable effect. Prohibition similarly perhaps had an effect on the amount of alcohol consumed, but it also served to fund organized crime. We are repeating the prohibition mistake with other drugs now. If we were to legalize, treat, and tax, we could mitigate multiple national problems while at the same time destroying less of Latin America. Going after the dealers rather than dealing with the problem is essentially supply-side thinking. And it works no better than supply-side economics.

Monday, December 12, 2011

Learned Something Tonight

I had just downloaded a statement from my bank, and it had the useless extension .asp on it, which I changed to .pdf since the bank said it was a PDF. Wanting a quicker way to verify that it was indeed a PDF than loading it into a document viewer, I pointed emacs at it. Instead of displaying a screen that starts with something like

%PDF-1,4

which is what the file indeed did start with, it complained that it couldn't render the file and asked if I wanted to view text extracted from it. The extracted text didn't include the first line, so I was at square zero. It only took a moment to get around this new emacs "feature," now a default in emacs23 which is the Mint 12/Ubuntu 11.10 default emacs version, but, in the interest of saving time in the future, I decided to disable the feature, docview-mode.

But that's not what this entry is about. While searching for a solution, Duck Duck Go led me to The Universe of Discourse, which is apparently not where I live, and the following description of my life:
Yesterday I upgraded Emacs, and since it was an upgrade, something that had been working for me for fifteen years stopped working, because that's what "upgrade" means.

I've been in this field for over 3 decades, and even though I am fully aware that backward compatibility is often not a consideration, I have not yet internalized the fact that upgrades necessarily lead to broken systems. However, this is consistent with my recent experiences, especially with Ubuntu and Gnome.

Friday, December 9, 2011

Google Chrome on Linux Mint 12

<Addition of December 23>
The below assumes the reader has just downloaded the .deb from Google. This is the file referred to below.
<End December 23 addition>


With my fresh Linux Mint 12 install, I was unable to simply click on the file, type my password, and see it install (yes, I can be lazy). The workaround is well-explained here: http://www.noobslab.com/2011/07/install-google-chrome-on-ubuntu-or.html

For 32b Mint, the drill was:

sudo dpkg -i google-chrome-stable_current_i386.deb
sudo apt-get -f install


For 64b Mint, replace 'i386' above with 'amd64'. Of course, either way, use the actual name of the file you downloaded.

Alan Grayson Gets My Vote

Adiós Ubuntu, Hola Linux Mint 12

Today I got rid of my penultimate Ubuntu installation--Ubuntu completely abandoned usability and customization in favor of perceived glitz. I do, however, still have an old Dell laptop (bought at the end of 2005) running Ubuntu 10.4. Support for that drops in April, so some time around then I will likely do a fresh Mint install (and maybe insert a larger hard drive). For now I'm leaving well enough alone. I've thought about replacing this machine, but don't really need to, and so now I'm going to nurse as many years out of it as my primary portable as I can.

I have a Samsung netbook with 1MB RAM; it was running XP, but now it's Mint 12/Mate dual boot with XP. I plan to use it to play around with OpenBox. Also, it's getting a little old, was never expensive to begin with, and has  no files to speak of, so I feel comfortable travelling internationally with it and occasionally leaving it momentarily unattended in a classroom.

My main desktop at home is running Mint 11. This was because the machine would not automatically hibernate with Ubuntu 11.04, so I "upgraded" to Ubuntu 11.10, had a terrible experience--Ubuntu offers a number of user interfaces with 11.10, all of them bad. So, in time I performed what turned out to be an actual an upgrade, to Mint 11. This was amazingly trouble-free and very easy to configure--Mint made a great first impression on me. I'll probably upgrade this to Mint 12 sometime after finals.

My desktop at work would not wake up from hibernate with Ubuntu 11.04 (sense a familiar theme?), so I "upgraded" that to Ubuntu 11.10, hated Unity, hated Gnome 3, and lived with XFCE for a few weeks. XFCE is really clunky and, with Ubuntu 11.10, even with XFCE and as much junk as possible disabled and uninstalled, was very, very slow. This may have been an Ubuntu issue, or an XFCE issue. No matter; as of this afternoon the machine is running Mint 12 with Mate, and seems to be performing fine. The university gave me this machine in '06, and it has just 2GB RAM and is dual core, which seemed sweet then, but pedestrian now. Still, it should be plenty for software development and document typesetting. Anyhow, with Mate and Mint 12, things seem okay.

I'm in the process of removing a bunch of garbage as both Mint and Ubuntu seem to have this philosophy that bloat is good. I'll detail that later. Of course I have to install a lot of stuff as well, which I have started with tcsh, emacs, LaTeX, and GHC being first. Then Google Chrome, which wasn't as easy as I'd hoped. Details soon.

Monday, December 5, 2011

Gmail's New Interface: Stupider than I Originally Thought

As bad as I originally thought Gmail's new interface is, it's worse. They have hidden the 'choose font' button behind a T. Sure, T stands for font. I get it. This is what it looks like:

The T between the underline and the font size selector is for choosing font. Blogger, and every other GUI I use, uses a stylized F for font. Perhaps Google thinks it's powerful enough to change the word from 'font' to 'tont.'

This is just more evidence that Google's new interfaces for Docs, Gmail, etc., are not well thought-out and are simply change for the sake of change. Overall, replacing words with obscure pictographs and then using letters that have no apparent relation to their function are slaps in the faces the user community.

Saturday, December 3, 2011

Art is to Truth as Mathematics is to Beauty

Art is to Truth as Mathematics is to Beauty
I don't think that statement is original to me, but googling it provided no source. But it should be out here, whatever its origin.

Sunday, November 27, 2011

Firefox Add-Ons in Mint 11

I had two add-ons in Firefox 8 that I was able to disable, but not to remove. There was no remove button next to either add-on in the add-on manager. These were Stylish 1.0.2 and the Unity global menubar extension. I have neither run nor installed Unity since my latest fresh install, and so that was puzzling. Actually, both were puzzling, since I never installed either. Someone's been messing with Firefox. Anyhow, this will fix both:

sudo apt-get remove mint-stylish-addon firefox-globalmenu

Tuesday, November 22, 2011

New Gmail Interface Sucks

Have a gander at what Google is about to inflict upon its user community:



  • At the left center is a left arrow. That, from within a message, indicates return to the containing folder. This isn't new, and is fairly intuitive.
  • Next is a box with a plus sign in the middle. We're supposed  to magically intuit that this means archive. Yup, much clearer than using the word "Archive.".
  • Then we have a circle (very close inspection makes it out to be an octagon) with an exclamation in it. I don't know about you, but I don't find spam exciting, so never in a million years would I have guessed that this button marks the message as spam. Certainly is clearer and more intuitive than the current button labeled "Spam."
  • Next over is a trash can. Fine.
  • This is followed by a shape vaguely similar to a manilla file folder. Much clearer than the current button labeled "Move To."
  • This is followed by, maybe, a luggage tag, which is supposed to represent "Labels."
  • Not shown in the above screenshot the right and left arrow buttons, retained from the prior interface, which move to the previous and next message. Which goes to previous and which to next? Hell if I know--I always guess wrong the first time. Yes, a bad interface feature from the prior Gmail version retained for the next Gmail version.
So Google is screwing up Gmail just like they screwed up docs, though maybe not as bad as they are screwing up the Blogger interface. There's an airhead in a video explaining why they are doing this, but it all comes down to "some illiterate moron thinks pictures are cooler than words."

Sunday, November 20, 2011

Assault at UC-Davis

So, when a police office assaults a group of students, who do you call? The police? The campus police, maybe? I am very impressed with the students in this video. They stayed peaceful in the face of intense provocation and the chant at the end, "You can go" was excellent.



[ Note added at 19:05: at least some of those policemen were campus police. From the NPR story:

Still, what happened Friday on the campus of the University of California Davis has struck a chord. In a demonstration of support for the Occupy movement, a small group of protesters was sitting, arms linked together. Campus police told them to move. The students didn't. And that's when an officer walked down the line of seated men and women, pepper-spraying them. Some took it straight in their faces. Many of the several hundred others who were there screamed in terror and frustration.
]

Saturday, November 19, 2011

Linux Mint 11

This is a new experience for me: I've been using Linux Mint 11 for a week now, and I can't think of any bugs I've noticed. Every new version of Ubuntu brings new bugs as they attempt to make Ubuntu more like Windows, though now they seem to want to make Ubuntu more like a smart phone. Dumb. I'm sure there have been some bugs with Mint11, but so insubstantial as to be ignorable. Unlike Ubuntu, everything works out of the box.

Okay, here's a bug, but it's something Ubuntu long-ago conditioned me to ignore. Here's an instance:
Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
This with a fresh install. I guess this is what Mint gets for basing itself upon Ubuntu.

I abandoned Ubuntu due to the Ubuntu Unity garbage and the almost equally unusable Gnome 3. I tried XFCE for awhile, but so many things just didn't quite work that it was not worth my while. Importantly, it appears Linux Mint will put a shell over Gnome 3 in an attempt to keep it usable; see http://lxnews.org/2011/11/07/the-future-of-linux-mint/ . I'm counting on this; otherwise it might soon be time to abandon Linux.

Okay, photo transfer from my digital camera is exceedingly slow with Mint, but it didn't work at all with Ubuntu 11.10, so I can live with this (by using a Windows 7 laptop).

It's amusing that I dump Ubuntu when they, for the first time, pick a distribution name worth remembering, "Onerous Ocelot."

Wednesday, November 2, 2011

Enough Already

I have been trying to decide which professional membership to drop, ACM or IEEE-CS. CACM and Computer are, IMHO, of roughly equivalent high quality. It looks as though there are two deciding factors. One is the terrible job IEEE has done placing Spectrum online; they are using qmags.com, who are not content with PDFs, but feel the need to litter the PDFs with navigation controls and other garbage. Why put navigational controls in a document that is viewed in a viewer with fine navigational controls? QMags' garbage is impossible to transfer to a Kindle, making it useless to me as an electronic format. The other is that ACM Computing Surveys remains excellent, and IEEE has nothing comparable.

Further, today I read "Living in a Digital World" by Samuel Greengard, 10/2011 CACM (http://cacm.acm.org/magazines/2011/10/131393-living-in-a-digital-world/fulltext). It reminded me of the excellent idea of the digital sabbath and of the nice work done by Nicholas Carr in The Shallows: What the Internet Is Doing to Our Brains (Norton, 2010). The technology surrounding us is dehumanizing and reducing our ability to function, and we need the scientific and engineering communities to continue to remind themselves of this.

ACM 2, IEEE-CS, -1

Google Hates Us

First Google Docs. Now Gmail. Google is trying to push us to unattractive interfaces with the idea that we are basically illiterate, unable to deal with words on the screen, and hoping to switch to obscure pictographs. Gmail's new interface is ugly, with little contrast between the foreground letters and the backgrounds, it spaces things out so that screen real estate is used poorly, it forces us into greater use of frames meaning that the arrow and page up/down keys are less useful, and, other than that, I don't like it.