Older blog entries for mbrubeck (starting at number 102)

Problems for shared desktop computers.

I share a home desktop computer with my wife. Our computer use is probably pretty typical of a home computer shared between a small number of users, where only one user is logged in at a time, and users have some shared files and some private files.

I've found many things that don't work as well as they could in this situation. We use Gnome on Debian GNU/Linux, but most other desktops have similar problems. I know fixes or workarounds for most of the problems below, but novice users would probably have a hard time finding them.

Some of the problems below are relatively easy to fix. Most already have bugs filed in the appropriate places, and some already have patches available. A few problems may require hard work or fundamental design changes to solve. Here is the complete list of problems:

User Switching:

  • If I select my name from FUSA while I'm not already logged in, GDM appears and I have to type my username. (The username should be filled in automatically.)
  • When GDM is started by FUSA, the X server has slightly settings, causing the fonts on the login screen to be a different size than my normal settings.
  • When I log out, I am taken either to a login screen or to another user's session, depending on the order in which users originally logged in. This is arbitrary and unpredictable.
  • If I switch to another user, my screen is locked. Later, if the computer is displaying a login screen and I type my username and password, I need to type my password a second time to unlock the screen.
  • When I shut down the computer, it does not warn me if other users are still logged in.

Filesystem:

  • By default, users can read all of each other's files, and write to none of each other's files (umask 0002). This is a reasonably sensible default, but most users on shared systems will want to change this to some degree.
  • It's very difficult for a user to change which other users can read which of her files. (Some strategies include making some or all files world writeable; adding the other users to her primary group; creating a new shared group and a share setgid directory owned by that group; changing her umask; and/or manually changing permissions of individual files.)
  • There is no good location by default for shared files. Various programs complain (correctly) about insecurity if my home directory is group-writeable, so I must create a world- or group-writeable (and setgid) directory elsewhere.
  • Copying from other locations, or using programs that do not respect umask, can cause users to inadvertently put non-group-writeable files in shared setgid directories. Other users of the shared directory have no easy way to fix this.
  • Some programs modify permissions or groups of files when overwriting them. (Usually this happens if the program moves the original file to a backup location, then writes a new version using the default settings instead of the original file's settings.)

Application data:

  • Applications that maintain a database of files (e.g. photo managers, music players) must be updated for each user when one user adds new files to a shared directory. For example, when I rip a CD to our shared music directory, my wife can't see the songs in her music player until she adds the new files to her database.
  • Applications that store their data in hard-coded locations in user home directories (e.g. Tomboy, Miro) can't share files between users. There is no setting or permission that will let my wife open Tomboy and view my Tomboy notes, for example.

Installing software:

  • When I install software using the system admin tools, it changes the application menu for all other users too.
25 Jul 2007 (updated 26 Jul 2007 at 02:24 UTC) »

Retiring from Debian

In response to the inactive developer ping, I have decided to retire from the Debian project. Between my job and the new baby, my time for hacking on other projects is nonexistent, or possibly negative. I have already passed Audacity maintainership to the debian-multimedia team.

I still use and like Debian, and I hope someday I'll return from "emeritus" status to become an active developer again.

Cyclone

While browsing through some very old backup files, I rediscovered one of my first real software projects, an IRC client for BeOS. This was a neat collaborative effort, but we weren't really on the ball with project hosting or version control. This is from a file I wrote documenting what was left of the project after it stopped:

Cyclone was started in spring 1998 by a group of developers who hung out in the #bedev channel on EFNet. The original Cyclone team included Jason Gosnell (Avatar), Jeff Hamilton (Pyrus), Matt Lewinski (mattl), John Wiggins (prok), and Matt Brubeck (mgb), with contributions from several other #bedev regulars.

The Cyclone project produced a small, elegant IRC client. Unfortunately, the team dissolved as several members moved around the country to go to new schools or jobs at the end of summer 1998. Along with the loss of some important pieces of source code, this prevented Cyclone from ever seeing a public release.

I also found some poetry I wrote in middle school, but it's compressed using a version of StuffIt that does not seem to be compatible with any open source tools. This is probably a good thing.

Check out this black and white digital back for medium-format cameras. Why aren't there any dedicated black-and-white sensors available in compact digicams or DSLRs? The sensor would have much more light to work with than a color sensor with a Bayer filter. It would also be able to use colored filters without throwing away so much information.

It would be a niche product for sure, but it would be perfect in something like the Ricoh GR-D or the Sigma DP1. The people buying those cameras are already sacrificing flexibility (both have fixed prime lenses), and many of them are street photographers and shoot primarily black and white already. Wouldn't a dedicated black and white sensor improve dynamic range and sensitivity for available-light shooting?

Add this to my DMD wishlist. Not that I could actually afford it if it existed.

My toy is cheaper than yours.

My recent purchases:

15 Apr 2007 (updated 22 Aug 2007 at 16:00 UTC) »

A hacker remembers

This story by David Humphrey from last week really hit home:

She told about how my grandfather made his living repairing radios, toasters, fans–anything and everything electrical. He’d only received a 4th grade education in Scotland, before he had to start earning a living to support the family. She described how their entire house, with its mechanical and other systems, was kept working through his creativity and persistence. When the well pump went, he made a new one out of parts from three others…

David could have been describing my own grandfather, who died last month. I knew him as Ojiichan ("Grandpa"). A child of immigrant farmers, his formal education stopped after the sixth grade. As a young man during the internment, he took a correspondence course in radio repair, and after the war started a life-long career in electronics. He worked on electronics at home too, building projects like a cruise control for his own car. Almost up until his death at 93, he lived alone, still drove, and still flew every year to keep his pilot's license up to date. At his memorial service, his family remembered his love of tricky, hard-to-solve problems.

Many of Ojiichan's children and grandchildren have grown up to be engineers, but few of us could do some the things he did. He was a lively embodiment of the hacker spirit.

9 Apr 2007 (updated 9 Apr 2007 at 10:10 UTC) »
lkcl: Ratings and reports are explained in the Advogato FAQ, by the way. One thing I can't tell whether you realized or not: The report at /rating/report/lkcl does not show what other people think of your diary. It shows what you (and the people you certified) think of other users' diaries.

The lumpiness of the histogram is because most users don't use the full range of ratings. And since confidence scores fall off exponentially by network distance, your confidence-weighted histogram will be skewed toward ratings given out by yourself and people you directly certified. For example, I tend to rate most diaries between 4 and 9, so I expect my report to be skewed toward those values.

Planet Venus as a personal home page

Planet Matt is my shiny new home page, based on the Planet Venus feed aggregator. It displays my recent updates from Advogato, LiveJournal, Flickr, and elsewhere. It also provides a single feed for friends who want to subscribe to all of my updates without tracking down a username and feed for each new service.

This gives some of the same benefits as ClaimID or Red Hat's MugShot, but it runs at a domain I control, and doesn't depend on any one third-party service. As a bonus, the home page is also my new OpenID URL (using delegation).

Right now I'm using a slightly modified version of the "classic_fancy" theme that comes with Planet, plus some simple custom filters. I'm developing a new theme that will be more suited for use as a personal home page, which I plan to contribute back to Planet Venus for others to use. Let me know if you're interested.

YouTube suddenly seems a lot cooler than I thought it was. Anyone speak ASL?

I am a new maintainer. To celebrate, I uploaded Audacity 1.2.4b to sid.

93 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!