A collection of articles, ideas, and rambling from a guy who wrote some software that one time.

Tuesday, June 27, 2006

Unswitch

Ted Leung has a very good list of the things the open-source desktop should be doing.


I started to respond by giving pointers to various half-solutions to these problems; Deskbar or Arnic to replace Quicksilver, for example; but he really has a point. There are some definite weak areas on the Linux desktop that MacOS X addresses well. The lack of some unified scripting approach is particularly embarrassing; the fact that it is easier to script applications in both major proprietary desktops (OS X through Applescript, Windows through COM) is sad. Also, DVI and EDID are (as far as I can tell) far enough along that the hardware side of color profiling would be possible in Linux these days, it's just up to the OS and the desktop to support it.


(I am not mentioning KDE here because the last few times I've tried it, it has crashed constantly, and that mirrors my abysmal experience with programming PyQT. I understand a great many people use it, and more power to you, but it's just not likely to be relevant to me any time in the near future.)


So, rather than pointing out how a user such as Ted might hobble through Ubuntu-land, I'll give an explanation from my point of view: for me, Ubuntu is indispensible, and the Mac is basically unusable.


I'm not prejudiced against Apple. Far from it, in fact. I grew up on the Mac, and I will always have a soft spot in my heart for them. Through the first few years of my career as a professional programmer, I had the absolute first release of MacOS X server, and every beta of MacOS X. My experiences with Ubuntu have made me disappointed with Apple though, and I despair of MacOS ever being my platform of choice again. Following the structure of Ted's rant, here are some things that Apple might do to make me "switch":


Add some keyboard shortcuts. During normal use of my Ubuntu desktop, the only time I have to use the mouse is to quickly select links in a poorly-designed application (usually a web application, where keyboard bindings are really hard to get right). I move windows, maximize, minimize, resize and otherwise shuffle things around all the time - not using any crazy third-party utility, but the built-in keybindings in Metacity.


For that matter, building virtual desktops into the OS wouldn't hurt. I'm aware that there are a few third-party programs, but it would be much nicer to have there be one right way to do it. I've heard it said that this would be "too hard" for new users, but I think that's wrong. The idea of a single virtual monitor you can "move to" makes more sense to every user I've ever talked to than the mac's "invisible sheets with a menu bar and icon stuck to them" mental model you're supposed to adopt with the mac desktop. It took about five tries to explain the difference between an "open" and "closed" application on the mac to my grandmother, because the icon to indicate this difference is literally about 9 pixels, and applications will happily stay open forever with no visible windows.


Give me a panel I can really customize, not just drop applications onto. There are a few things I want to see on the screen at all times: memory usage, mounted disks, the current weather, the current time. The GNOME panel lets me put all of these somewhere omnipresent in a nice, small form factor with no fuss. These are not things that every user wants to see, so it has to be customizable. This is not a case of not having selected the right default or not having "designed" it right. Some people's needs are different enough that you need some freedom to choose.


Work on scaling applications up. I have dozens of gigabytes of free stock photos and artwork and photos that I've taken, and while I haven't tried Aperture, iPhoto did not handle this well, and it didn't let me use it as a way to organize metadata without making copies of all the files. My mac's hard drive wasn't big enough for all the files I wanted to categorize: I have a terabyte network appliance for this purpose. I have dozens of gigabytes of music; every CD I have ever owned has been encoded (in multiple formats, including FLAC. iTunes chokes if I try to load my entire music library, let alone load it from multiple computers all on the shared drive. Unfortunately the default music player in Ubuntu (Rhythmbox) isn't great, but the fantastic Quod Libet lets me not only load my massive library, but perform bulk cleanups on the ID3 tags (many of my CDs were ripped before I had easy access to the CDDB, some are in OGG format, I didn't adopt a consistent naming convention until recently).


Frankly, iTunes' DRM is offensive. I had a problem with my ITMS account, reinstalled my OS and reformatted my iPod one too many times, and now I can't play a bunch of my legitimately purchased music. (Update: Bob Ippolito corrects me in the comments; this was simply a problem I've persionally had with the ITMS, not a matter of policy. It's unlikely that you'd have this problem with music you purchased today.) If iTunes were otherwise a really great music management tool and had worked well with my large repository of non-DRM'd music, I probably would have cut it some slack: but part of the problem is that iTunes corrupts its own database, and my iPod crashes when confronted with the volume of music I'm storing on it and periodically needs reformatting if I want it to work.


Finally, rather than respond to Ted's list of applications, let me talk about Free Software's killer application: APT, the Advanced Packaging Tool.


It would take me forever to list all the applications that MacOS X is missing out of the box which Ubuntu includes in a fresh installation. Just to name a few: Gaim, a messaging client where I can seamlessly integrate IRC, yahoo, AIM, jabber and a half-dozen other protocols. Inkscape, an Illustrator-style vector graphics editor which works natively in SVG. Gimp, a photoshop-style bitmap editor. OpenOffice. There are, of course, equivalents to all of these on the mac, but they're expensive, underfeatured, or clunky and obviously not native, and sometimes two of the three. The real magic here though isn't one particular application (after all, Ubuntu isn't packaged with an equivalent to GarageBand or Aperture) but the fact that they were preinstalled; I don't need to mess around with ten clicks per application just to get them set up: they're all there, immediately.


As a user, this is convenient, but as a developer, it quickly becomes indispensable. To set up a new working environment on a Mac, I would have to spend hours downloading, untarring, building, checking dependencies, installing -- or if I were lucky, clicking on packages, accepting EULAs, etc. For example: "apt-get build-dep python" summons all the packages I need to compile my own version of Python; a collection of software it might take an hour to identify without this facility, let alone install.


Sure, there's fink and darwinports, but those don't manage user-visible, GUI applications in the same way that they do UNIX-style development stuff. Note that the first things I mentioned were actual end-user apps, not arcane requirements for programming tools. In other words, these aren't really a part of the OS on MacOS X, they are a port of features from other OSes, and they feel like it.


Fundamentally, what my user experience comes down to is this: I install ten or twenty programs or libraries per week, but I spend almost no time at all actually doing the installing. If each of those twenty libraries took me five minutes to set up, that's an hour of wasted time per week, which really adds up fast. Especially in weeks like last one, setting up a new computer, where I installed several hundred packages: 200 packages would be almost 2 solid work-days of just installing software!


I feel like this all boils down to an attitude. Succeed or fail, Ubuntu is just trying to provide me with tools to work with my data. It installs software as fast as it can go, it loads as much music and as many pictures as it can handle, and it doesn't bother me with the details if it can help it. The mac is too, but I feel as though each application is suffering from some sort of inferiority complex. Each new application needs to make itself heard. It can't just be ready to use instantly; it must make itself felt, through whatever mechanism. I must commune with each sacred EULA alone; I must wait for the download bar, mount the virtual disk, draaaaag the icon to my Applications folder. I must select the drive that I wish the software to be installed to. I must confirm that yes, I am sure I want to overwrite files. Yes, all of them.


This could probably be fixed at a technical and legal level - after all, a good deal of these applications are free to download already, the delivery mechanism can't make that much of a difference, and Apple already delivers all of its updates through a generic "software updates" facility which could be expanded to offer the features of an APT repository. I have no idea how to deal with the cultural problem, though, where each application author (even if all their application does is launch other applications!) feels they deserve twenty minutes of your attention and five dollars.


Sometimes free software breaks. Sometimes, all software breaks. I haven't really had one of these moments with Ubuntu yet, but I'm sure I will: Sometimes it breaks really, really bad and I have to do those ridiculous things that Apple users in commercials laugh at Windows users in Apple commercials doing to fix it. I have, in a dim and distant past I would rather not recall, had to edit the spiritual equivalent of my AUTOEXEC.BAT. I can see why to many people it just isn't worth it. I'm not suffering under some stern ascetic desktop because I want to "support free software" or anything like that though. In general, the experience is quite pleasant, and I don't think it would really improve that much if I used a Mac. Freedom does have some practical consequences, though. Those times when I want to do something with Linux that really would be better on a mac, it's worth suffering through for the knowledge that, if it breaks, it's not going to intentionally stop me from fixing it because it wants to charge me $0.99 for another copy of the song.

11 comments:

jerub said...

Your notes on a Free OS vs. OS X parallels my own.

etrepum said...

While DRM does suck, your conclusion is kinda bogus... so long as you still have your Apple ID and password you can reset the machines associated with your iTunes account. I did it a few months ago when I got a new laptop.

etrepum said...

No! Wrong again.

All you need is the file and the credentials. You don't need any key from your compiler or iPod. I could send someone an M4P file and give them my Apple ID and password and they'd be able to play it.

etrepum said...

Also, iPods don't count. You can put the M4P file on 20,000 iPods and as long as the computer you did it with had access to play the file at the time then you'd be able to listen to it all you want on the iPods.

The only devices that count are computers. You listed 5 of those.

glyf said...

Well, I am speaking from experience. I tried what you've suggested and it did not work. Maybe it's a bug, rather than a policy, (and it's understandable why, my apple ID is almost as ancient as it can get, and I've seen WebObjects errors on every third try to do something on their site with it) but my point holds - if you're going to write restrictive software, you'd better be damn sure it's not buggy.

I would test again to verify, but I have since deleted my m4p backups, acquired other copies of the music in question, and decided to never use ITMS again; this was only one of dozens of reasons.

glyf said...

Has this always been true? Circa iTunes 4 I believe I got a few confusingly-worded error dialogs relating to synchronizing multiple iPods to one library collection, which is where I got this impression. It never actually broke anything though.

Most of those computers run Linux most of the time, so it's a wash anyway. The ones that don't run linux all the time dual-boot, which would make them "multiple devices" from the perspective of most DRM software.

Also, the fact that I only have 5 computers is a historical accident. When I can afford to get a computer to drive the TV - ironically, this will probably be a mac mini ;) - I'll be back up past 5 again, and that's not to mention being able to play songs that I want my siblings or parents to hear on their computers when I don't have my iPod with me, etc etc.

etrepum said...

At one point you needed to send an email or something in order to deauthorize all the machines on your account, but you can definitely do it on demand pretty easily these days.

Either way, your experience doesn't reflect anything a current user is going to see.

glyf said...

OK! Well, thanks for the correction. I'll note it in the article's body.

etrepum said...

Yeah, it's always been true. Authorization FAQ.

I agree that 5 is a bit limiting for people like you or me.. I've got more than five, and those are just my macs. In practice, I'm almost always playing music from one or two machines, and if I need to swap in or out another computer I can do the deauthorize dance.

It's probably possible to game it to get more than 5 computers. ktrace iTunes to see what it does when you deauthorize, roll it back to the previous state, and make damn sure iTunes can't talk to Apple HQ (ipfw and/or Little Snitch maybe). It definitely does let you play M4P while disconnected. I haven't felt the need to try it out, but I bet that it works just fine.

fzzzy said...

I don't disagree with anything you said. I do think much of what you complain about is a matter of taste, though. Since I am here and reading this, I might as well respond semi-randomly:

What is the difference between an open and a closed app? No distinction needs to be made. This is yet another example of implementation detail leaking through to user interface. For example, let's say I took a Mini, put a gig of ram in it, and gave it to my grandmother. It should be perfectly acceptable for her to open every single application preinstalled on the machine, and leave them all open. Forever. Most of the time Mail would be in the front and occasionally Safari or iPhoto would be activated. At that time, some swapping happens. Big deal.

The fact that the dock even shows you what applications are open and which are closed is unnecessary. It's like an RPM gauge on a car. Sure, some people care. But do you need to explain what revolutions per minute actually are for grandma to drive the car? No. Grandma might not have the foggiest idea how internal combustion works and still be able to get around.

As far as installing stuff on OS X goes, I have a surprisingly small amount of additional software on my machine. I have Quicksilver, a packet sniffer, an FTP client, an RSS reader, an outliner, SubEthaEdit, and a simple HTML editor. For all my real work I just ssh into a linux box anyway. The lack of package management doesn't matter at all... every one of these apps was installed by dragging them where I wanted (~/Applications, not /Applications) and can be removed by simply tossing them in the trash. Nobody in their right mind would actually deploy a server on OS X anyway. It's a desktop OS, as the Macintosh OS has always been.

eu_tenders said...

I had the same kinda proble with ming but thanks to you guys its fixed. cheers.