Slightly belated, but still: Happy new year everyone!
We spent the holidays with my parents, pretty relaxing, didn't do
much but lie on the couch, do crosswords and watch my sisters dwarf
rabbit, that my mom hat to "rabbit-sit". Christmas was as usual a
three-generations celebration and quite nice.
On the 4th we went to see
Irie Révoltés.
Absolutely great concert!! We danced our hearts out. But, you know
what? The best is not only seeing a great concert, but having the next
day off. Sleeping in 'til way past noon, waking up with a beep in
yours ears, a smelly pile of cloths beside your bed and every muscle
sore. Have a wonderful breakfast with eggs and sausage, spend half an
hour under a hot shower and spend the rest of the day humming
melodies and tending to your aching muscles. Wonderful!
Unfortunately the new year didn't continue that great. I caught a
nasty cold and spent the last four days in bed. But, oh well, it's
getting better, I can almost breathe soundlessly again!.
Generally, this is going to be a very important year! In the middle
of December I registered my Magister (comparable to a master's)
thesis. I've got six months to finish it, so the first half of this
year will be used for that. Once the thesis is handed in, the final
(really final this time) exams start, first a very long written
one, than an oral one, this will take until October. After that ...
well, we'll see. I've set my mind on a PhD, since I'd like to pursue
an academic career, so the next step will probably be trying to get a
PhD grant. First things first though ...
Resolutions
Finally this is probably the first new year I really made some new
year's resolutions. I'll put them here, so I can nail myself down to
it over the year:
- First off, there are some things that I simply hope to keep the
way they are:
- I live in a wonderful relationship that I hope will
simply go on forever :)
- Also, I have quite a cool job (several actually), that I
hope I can keep for another while.
- I changed my eating habits quite drastically during the
last months. I used to love everything "Just add water": teas,
soups,puddings ... RAMEN!! Luckily it didn't reflect on
my weight, which is pretty constant, but still I know that
stuff is 90% chemical crap and who knows what it will lead to.
(I know the optimal human would have three eyes, but I am
actually quite happy with my average two.)
So, I've cut down on that quite a bit and now have a
subscription with an organic farm nearby
that delivers so called Abokisten (subscription boxes?)
that are delivered weekly and contain different vegetables,
fruit, a loaf of bread and some cheese. The boxes' content is
kind of randomized, so you get something different every week.
It's a pretty neat service, since the food is really great,
the price is reasonable, it's delivered right to my door, and
(most of all) it makes me cook! So, here's another Keep that
up!
- So much for the keeping, now for the changes/tasks: I guess the
first is, of course, my thesis and exams. I plan to do those as good
as possible. I'll be something of a challenge though. This is the
first time I do such a large "project" (the thesis takes six months)
all on my own, and (most worrying) at home. So here's a test on
self-discipline!
- Although I've done a lot of acting in my "younger years" (haha)
I've always been rather unmusical. This has been nagging on me for
quite a while, so I've taken up playing the Blues Harp last month. I
picked that instrument since I love the Blues and it's also easy to
learn but still very flexible (and cheap). So far it's been huge fun
but the art is, as always, keeping it up.
- There's this little blog I'm maintaining, that
has been horribly neglected over the last year, so another resolution
is to post here more often. (This way posts also won't have to be so
horribly long, such as this one.)
- I couldn't help but notice that that geek
girls top ten which Erinn
mentioned (congrats by the way :)) contains but
one European women. So here's
something to do as well. There's quite a bunch of pretty impressing
ladies over here, too. (Even AFTER 1950,dear CNET)
And it seems, they need a bit more visibility. Maybe there are some
things that can be done about that too ...
So, lots of plans. I hope publishing them here will help sticking
to them. This also concludes my "little post", I hope the next will
follow in a more timely manner.
Andreas Schuldei
asked how to hook into gnome-power-manager.
I'm assuming you want to do some user hooks, too; the solutions using
the low level hooks in
/etc won't help you then. Using a small user
daemon that listens for DBus events is much nicer (though you won't be able
to have the suspend process wait for you to finish...) - because every user
can setup his own stuff.
It would be cool to extend the following to a more general solution. I could
imagine a combination of a dbus-monitor (logging incoming signals) and a
general event handler. You could then either type in the signal you want to
hook or choose one of the logged signals, setup some properties (e.g. the SSID
you just connected to) and setup reactions (start VPN script etc.).
I havn't hooked gnome power manager yet, but I've been doing this for
NetworkManager. Here's a python script:
#!/usr/bin/python
import dbus, dbus.glib
def device_now_active(path, ssid=None):
pass
def device_no_longer_active(path):
pass
sysbus = dbus.SystemBus()
nm_obj = sysbus.get_object('org.freedesktop.NetworkManager', '/org/freedesktop/NetworkManager')
nm_if = dbus.Interface(nm_obj, 'org.freedesktop.NetworkManager')
nm_if.connect_to_signal('DeviceNowActive', device_now_active)
nm_if.connect_to_signal('DeviceNoLongerActive', device_no_longer_active)
mainloop = gobject.MainLoop()
mainloop.run()
To hook to gnome-power-manager, use dbus-monitor to find out the appropriate
signals to connect to.
I've been using this to start a VPN client when connecting to some wireless
networks, and to have gaim automatically logon when network is available:
sesbus = dbus.SessionBus()
gaim_obj = sesbus.get_object("net.sf.gaim.GaimService", "/net/sf/gaim/GaimObject")
gaim = dbus.Interface(gaim_obj, "net.sf.gaim.GaimInterface")
# then use
gaim.GaimConnectionsDisconnectAll()
# or
accounts = gaim.GaimAccountsGetAllActive()
for account in accounts:
gaim.GaimAccountConnect(account)
Dynamic languages like python can be very sweet to use.
Steve Jobs: “You don t want your phone to be an open platform.”
More Steve Jobs: “These are devices that need to work, and you can t do that if you load any software on them. That doesn t mean there s not going to be software to buy that you can load on them coming from us. It doesn t mean we have to write it all, but it means it has to be more of a controlled environment.”
It’s widely understood that Microsoft beat Apple in the PC game because Apple was a tightly integrated, closed platform, whereas Microsoft was an open ecosystem where anyone could play (albeit
at their own peril).
Clearly, the strategy has not adapted well to digital media players. Why? Because people are tired of products that don’t work. Anyone who has ever had to glue a PC back together for a family member knows what I mean.
Does “open” have to mean “poorly integrated” though? Clearly, I don’t think so, given how much I’ve invested in Linux over the years and how much I’m investing in the LSB now. And the job the distributions do in the Linux world is nothing short of amazing, if you think about it—taking thousands of moving parts written by thousands of different people and crafting them into what appears, for the most part, to be an orchestrated whole.
Personal experience bears this out too—it’s not that the entire Windows Media ecosystem produces bad products (iTunes pales in comparison to Rhapsody), it’s that the integration points are extremely fragile (e.g., I tried Rhapsody To Go with a Plays For Sure device, which was an awful experience). In other words, just like a chain, an open ecosystem is only as strong as its weakest link, because it’s the links where things break.
Sure, there are bad products. I’ve owned no less than two MP3 players in the last few years, and they were pretty terrible.
It’s the very, very simple things too. For example, I listen to a lot of podcasts. There’s (gasp!) a Podcasts menu on the iPod, whereas on every other device I’ve owned, podcasts are interspersed with the music, making them difficult to find and, adding insult to injury, mixing gobbledygook into my otherwise well organized collection. Furthermore (gasp!), the iPod keeps track of which podcasts I listen to, and in concert with iTunes, automatically deletes the ones I’m done with. Them’s lasers!
Ah, iTunes. Despite the fact that anyone in the world can write a podcatcher (it’s just RSS with enclosures, fer godsakes), the only one I’ve ever used that works worth a damn is iTunes. Everything else is just “integrated” with bailing wire—create a Windows Media playlist, drop it in this directory, etc.
The situation on Linux is a bit better, but guess what—Rhythmbox, Banshee, etc. didn’t work with either of the open media players I owned, even though the integration point for one of them was the file system. No, the players on Linux support the iPod best because that’s what everyone has, and if I’m going to pay extra for the iPod, aren’t I primarily buying the integrated experience? (On a related note, I’ve never understood why people pay top dollar for Macs and install Linux on them. But I digress..)
Once you taste the fruit of the integrated experience, it’s easy to get sucked in all the way. I eventually tired of all the wasted time and money trying to use an open media player and broke down and bought an iPod. Not too long after, I canceled my Rhapsody subscription. Why? Because I couldn’t use it with my iPod. My overall music experience is diminished (I’m a big believer in
the celestial jukebox), but I want one music platform, not two. And the iPod is the one with critical mass. Anything else is swimming upstream.
Are open platforms doomed then? I think that’s, as they say, throwing the baby out with the bath water. The key is to have open interfaces, and the key to having open interfaces that work is
cooperation between the vendors that implement them. Perhaps surprisingly, the iPod is a good example of how it can be done. The biggest reason for my iPod purchase: I can hook it directly into my car stereo instead of using
an FM transmitter. Apple isn’t getting into the car business—it’s decided to cooperate with other companies to make this work. And you don’t hear too much about people calling their technophile relatives to come glue their cars back together. (And talk about the importance of not crashing..)
The lesson here, it seems to me, is that an ecosystem is never the sum of its parts—it’s either a whole lot more or a whole lot less. Furthermore, it’s the responsibility of the vendors (and community) that make up that ecosystem to ensure the result comes up on the right side of the equation in the final analysis.
The new laptop I just bought had the bad habit of using the pc speaker at a loud level. It was deranging the coleagues at work when autocompletion yelded more than one result or none (it also scared me a few times during the last nights when I was configuring and testing the laptop).
So I unloaded the module (pcspkr) by hand and wanted to make the system not load it anymore.
So I thought that blacklisting it would do the trick. Probably some people know already that adding al line like:
blacklist pcspkrin /etc/modprobe.d/blacklist
doesn't work. The rest of you find out now. I found out at the next reboot, when I heard again the beep.
Ok, I googled a bit and found some info about
restricting ipv6 modules being loaded so I though I could do the same for pcspkr. So I tried:
to change the line from /etc/modprobe.d/pnp-hotplug:
alias pnp:dPNP0800 pcspkrinto
alias pnp:dPNP0800 offThat
didn't work either.
So, at this point I googled more and found
some outdated information about update-modules.
That brought me to
modprobe.conf(5) which pointed to the "right" solution.Write the following in some file in /etc/modprobe.d/ (I added it in blacklist, since it seemed the right place)
install pcspkr trueWhich seems to do what I want.
Still something tells me that either:
1) there is a cleaner solution I am not thinking about
or
2) I could have told udev not to load the module... And I feel this solution should have to do something with these lines and "ACTION":
eddy@bounty /etc/udev $ grep -r pcspkr *
persistent-input.rules:DRIVERS=="pcspkr", ENV ID_CLASS ="spkr"
rules.d/z20_persistent-input.rules:DRIVERS=="pcspkr", ENV ID_CLASS ="spkr"
A clean solution would be appreciated.
Yesterday I went to activate phone service out at the farm. It got me to thinking a bit about how things change, and how they stay the same, too.
Before I go on, I'll have to say that every one of my history books is in storage, so if I get some details wrong, it's because I'm not remembering correctly.
Anyhow, phone service came to our community via an unusual route about 100 years ago. It wasn't Bell/AT&T or some other company that brought it there, as it was most places. I'm sure they figured that a small, scattered rural community would cost too much to support. So the community organized, built, and supported the phone system themselves.
Even today, roads around here can be impassible after a good rain. I'm sure that, in the early 1900s, before heavy road-maintaining machinery, things were worse -- and, of course, transportation was a lot slower then anyway. There were real problems: getting the word out about funerals, being able to summon a doctor when necessary, or letting people know that church was cancelled because of too much snow.
People in the community saw a phone system as a real need. So did the churches, which have left a legacy that is still reflected in phone company territories today.
Once phone service arrived, it was used for all the things that people expected, of course. But it also proved to be an important part of the social fabric of the community. Since party lines were the norm, it was possible to announce things to every listening subscriber pretty quickly. Older people remember announcements of fresh fruit arriving at the grocery store, funerals, or other news of the day.
To place a call, you would pick up your phone and turn your crank. That caused a bell to ring at the telephone office, which everyone called "Central." The operator would connect to your line and ask whom you wanted to talk to. The operator would then send the distinctive ring for your party down their party line, and patch -- manually -- your call through to them. And, if he was busy, the operator wouldn't listen in on your conversation -- but others on the party line very well might.
Central's hours were published. If you were making a call in the middle of the night, you were going to wake up someone at Central to do it -- plus everyone on the entire party line. So calls after hours were rare.
Fortunately, while some of the old Central operators were still around, some people in the community wrote down some of their stories.
There were some people in the community that were notorious for eavesdropping on other people's conversations. Two brothers one time figured that they knew somebody was listening to their conversations, so they devised a code. One called the other, and said, "I'll be going to McPherson in the morning for band practice." That meant something along the lines of going to town to buy groceries.
A few days later, their prime suspect came up to him and said, "What on earth are you going to band practice for? I didn't know you knew how to play an instrument!" Apparently she realized she was had when he burst out laughing uncontrollably.
The Central operators learned to know the habits of telephone users. Sometimes they would connect calls without even bothering to ask who people wanted to talk to -- and seemed to always get it right.
The phone system supported itself for about 50 years. But as the rest of the world moved on provide direct dialing, this proved a controversial subject in the community. People liked having their operators. The people that worked at Central were everybody's friend. They were people that were there, 24 hours a day, to assist with any emergency. They would gather volunteer firefighters to help fight a fire, or be able to spread community news quickly. This wouldn't be available with the newer phone systems. How would the community be informed of events quickly now? Who would just happen to know whose house the doctor was at when he was urgently needed?
The change was resisted for some years, but eventually the finances of the telephone cooperative turned out to be in deep trouble. Operators grew to be much more expensive than automation, and in the late 1960s, the telephone cooperative was no more -- sold to a phone company from a small town more than twice our size, and a for-profit company at that! Central no longer existed. I remember reading about this event -- it seems people were sad about that for quite some time. They felt that they had really lost an important part of the community when Central went away. Some machine locked in a cabinet doesn't care for people the way Central did. Even today, the older people in the community sound a little sad when they remember telephone modernization, and get the wistful look of somebody that has just remembered something that they miss.
The phone company that bought the system wasn't an AT&T, though. It was a small, independent phone company. To this day, that phone company serves only the two communities. And it was this company that I called yesterday to establish service out at our house.
They had already upgraded our lines -- over a mile of new copper, benefiting only us, at no charge to us -- last fall. The box was already on the outside of the house. Just need to get it activated.
So I called the phone company. They said I needed to drop by their office and sign some papers. Uh-oh, I think -- this is a bad sign. Sounds like a bunch of phone company bureaucracy.
But not so much. I went to the office and signed up. They asked the usual questions: name, address. Plus a few that bigger companies wouldn't ask: who used to have service at that address? Of course, most people would know that answer in our community. I couldn't have told you in Wichita, Dallas, or Indianapolis.
Then they asked when I'd like service to be activated. "As soon as possible," I say, figuring that this would be a couple of weeks like it is with AT&T or Sprint. "Well, we probably can't get out there for a couple of hours. Would it be OK if it's on at about 3?" Yes, that would be fine!
Now, how about DSL? "Well, we're a little backed up on that right now." Uh-oh. Sprint took several weeks when they *weren't* more backed up than usual. "So it'll probably be Monday or Tuesday before we can get out there. Should I just have the installer call you and arrange a time when it gets closer?" Yes, that would be fine, too!
Now, how about finding a phone number.
Out comes a large paper book. Yep, paper. They paged through it, and told me that my grandpa's old number would be available if I wanted it. I said yes -- after all, we've got his old address, so might as well keep the same phone number. OK, no problem. She whips out some white-out, whites out grandpa's name, and writes ours in. Done.
Now, do we want any optional services? Caller ID, call waiting, voicemail? How much is caller ID, I ask. $5 a month. We'll try it for now. "OK". A box was checked on the form and that was that. No high-pressure sales pitch on taking "the works" for some poorly-disclosed price, providing a ton of services I'll never use and don't want. No confusing "discounts" for having The Works and DSL at the same time.
Then I ask about an unlisted number, or at least an unlisted address. We figure that anybody that we really want to be able to reach us will figure out how without using a phone book, and these things get in so many databases these days. Sprint charged almost $10/mo for a fully unlisted number, but only a few dollars a month to just keep our address off the directories.
Our new company charged 50 cents a month for a fully unlisted number. Done.
Now it's time to pay for the first month's fees and the setup. Oops, I've forgotten my checkbook in the car. No problem, the secretary says, I'll watch your baby while you go get it! Jacob was with me, but had fallen asleep, so I brought him inside in his car seat. I went to get the checkbook -- just out the door and close by. I was back in a few seconds later, and the secretary was already on the other side of her desk talking and playing with Jacob. "My baby's 12 now," she said, and for a second, looked like a person that was remembering Central.
So, the
Apple iPhone has been launched, it was brought to my attention as actually being announced by the MD at work, who appears to have become a complete apple freak (poor bastard... or is that rich bastard to be able to afford apple's mediocre offerings and be happy about it?). Anyways - from reading the
story from
BBC News and the
official website, here's my conclusions.
First off, when marketing a phone, how about you actually mention it's phone capabilities as the number one priority? I'd like to know about the sound capabilities, the battery life, the overall user feel for it as a phone... maybe I'm odd, but a phone has a purpose, it should make and receive calls, and it should do that job *well*, with good quality voice, a decent (filtering) microphone (it's a mobile, you'll be walking whilst speaking on it, reducing the background noise is a selling point), but apple appear to have mostly avoided talking about this. Instead, the first thing that you're told about from the news story is the unique user interface - great, so we have a touchscreen "whoop, de, do!". Worse still, from the official site, the first thing that springs out is that it's a "Wide Screen iPod" - it's a phone, if I wanted an iPod I'd buy a damned iPod - as it stands, for my music needs I have an
iAudio M3 which suits my portable music experience really rather well. I choose that on the basis that it provided ogg support out of the box, didn't require any magical software (I run linux on my machines, it presenting itself as nothing more than a USB hard disk was fantastic, and means that I can use it for other things when needs arise). For a phone I want something that actually behaves like a phone, looking at the iPhone it's primary purpose appears to actually be a media player - that's not good.
With the iPhone only having a touch screen interface, and from everything that I've read there's no stylus and the "finger is the ultimate pointing device", I'm just expecting that within the first 2 weeks you're going to have a scratched or smudged screen from usage alone, add in the fact that it's a mobile phone, and therefore generally treated with contempt (neccessity rather than luxery), and that most people carry mobiles in their pockets without any form of protection (easy and fast access) and you've got a recipe for disaster! The touch screen is going to be hit (wether you like it or not) whilst the phone is in your pocket, it will wear - there's no question in my mind about it. Touchscreens aren't designed to be smacked around 24/7, they're touchscreens - they respond to touch! So, assuming that you're shiny new iPhone is sitting in your pocket a lot of the time that's a lot of usage of the touchscreen - they're not designed for constant pressure (think about what happens to pockets in trousers when you sit down...), so I don't think that, overall, the sensitivity of the screen is going to last very long. It's only got a fairly narrow screen too, so what about those of us with not entirely slender fingers? When composing SMS messages on it with the on screen qwerty keyboard, do you really think that you're going to get the right keys every time? Small, on screen, buttons and pubs do not mix - and I'd hasten a bet there's a fair number of SMS messages sent from, or on the way back from, the pub, with a predictive text system at least you can almost work out what the heck the person was trying to say - this is a whole new ball game.
The iPhone also makes the phone functionality only available after you've hit the part of the screen that says "Phone", now, I don't know about other people, but if I'm being given a number, I tend to just start hitting the right buttons on the phone, I can store the number later (via the call register or whatever) and hit call, now there's an extra step to getting in touch with people.
From the official site we have the words """ iPhone also introduces an entirely new user interface based on a large multi-touch display and pioneering new software, letting you control everything with just your fingers. """" - now, err, just when did a phone require you to use anything other than your fingers? Please tell me, I'm dying to know - I've never yet needed to use my feet to operate my phone, have you? This is marketing gone insane - and what worries me is that people actually believe this bullshit.
Apple may have "revolutionised" the computer industry with "Mac OS X" (this is actually not something that I believe, and OS X actually makes me more frustrated than being sat infront of a windows desktop - and believe me, that's difficult), but this is a phone, how about they try making it about the phone first, and the next generation tart audio player second?
I'm willing to be convinced that I'm wrong, but I definately won't be going out of my way to aquire an iPhone just because the marketing spiel looks good.
Justification.
Currently there is a huge mess of files and folders that start with a “.” in any users home folder. There is no structure or policy on how applications should choose file and folder names for data that needs to be stored in users home directory. Additionally there is no established consistency between Gnome, KDE and most other applications. Gnome application have part of their configuration information in gconf folder and other part in a gnome subfolder. KDE applications have a complex structure under .kde/. And most other applications either have one file directly in users home folder or have their own dot-folder there.
Problems.
There are two major problems with current ad-hoc approach:
-
Namespace pollution of users home space. In any desktop system “ls -al” in the home folder would be a very lengthy affair. Moreeven this namespace is folded - KDE and Gnome apps live in their own subfolders.
-
Lack of structure in folders makes it much harder to properly understand their purpose. For example, if a user has misconfigured an application and would like to reset it to default settings, it currently could be hard to figure out how to do that. Especially without losing his data in that application.
Proposal.
I propose to implement a policy on where an application can store data and configuration information in users home folder. Such specification would be proposed as an extension for FHS, first implemented in Debian and then promoted for inclusion upstream and in other distributions.
Structure.
I propose a following structure for a users home folder:
-
data/appname/ - each application, that stores user data in application-specific format, will have to store this data into this folder. Only configuration information that is essential to load this data would be permitted into this folder (in hidden dot files). For example, Evolution could store emails and email access information here.
-
.conf/appname/ - each application that stores any configuration information whould have to store all of it in this folder. GConf will have to also store applications configuration info here. If this folder would be deleted, application must revert to default configuration, but still be able to fully access user data in data/appname/ or other, generic folders (below). For example, if .conf/evolution/ is erased, then on next start-up Evoution should still be able to access all email that is stored in data/evolution/ without any configuration wizards.
-
.tmp/appname/ - each application that would need to create temporary files that survive reboot, would put them here. These folders can be safely deleted at any time with no data or configuration loss. For example, Firefox cache information and Nautilus thumbnail cache would have to be here.
-
Desktop/ - the desktop folder, just like it is now
-
Media folders - (Documents/, Photos/, Videos/, Music/, …) a suggestion of basic document structure for user to use or ignore. Applications dealing with particular media types would default to use files from such folders, but should also cope with working with any other folders on users choice. For example, a screensaver with slideshow function would by default use photos from Photos/, but will have to have a configuration option for user to change that setting.
-
Additionally I would propose having a .mounts/ folder where applications could mount user specific media and other mounts, such as FUSE. For example, FUSE could be used for automatic archive introspection.
Benefits
The main benefit for such system for me is twofold:
-
SBackup can be configured to exclude .tmp/ and .mounts/ by default thus saving significant space in backups.
-
A tool can be made to restore settings and/or data for specific applications in an uniform fashion.
So, any suggestions on the idea and on where this should be best discussed?
In my
other posts about Christmas, I wrote about my memories of Christmas awhile back.
In this final post, some more recent memories.
Terah and I don't really have a Christmas tradition yet -- things seem to keep changing.
Our first Christmas after being married was in Indianapolis. Our church there didn't have a Christmas Eve service, so we went to a different one. We also bought a tree from
Tree Classics that year:
The next year, we moved to Kansas. Our church has a children's program on Christmas Eve, but Terah likes the more meditative
lessons and carols service that her church used to have on Christmas Eve, so sometimes we've gone to a different church that evening -- or even to two different services.
This year, we're in an apartment, and we've got Jacob. That makes everything more fun. Here he is in a festive holidy mood:
Of course, the one thing that a festive holiday mood is sure to lead to in a 3-month-old is a not-so-festive holiday bout of fussiness.
Our tree this year is borrowed. Ours, along with all of our Christmas decorations, lights, and wrapping paper, is in storage. So some of our gifts aren't wrapped. But that's OK -- we enjoyed Christmas all the same.
In this, my last post on Christmas for this season, I wanted to follow up on my
earlier post about my Grandpa Klassen. I wrote:
Grandpa was great with the harmonica. And the song I best remember him playing at is Nun Ist Sie Erschienen. I remember sitting on his lap many times listening to him play it. And I'm pretty sure it was a year-round song for him. Terah and I even had it sung at our October wedding -- if it was year-round for Grandpa, that was good enough for us. It's always special to sing the song in church.
I was going to have a picture of Grandpa with his harmonica here, but I didn't get it ready in time. So I'll have to describe it. Imagine a black and white picture of a gentle man, dressed conservatively, holding a harmonica in his hands. He's looking towards it tenderly -- it seems to be something important, and maybe it represented fond memories for him, too. I'll post the photo as soon as I get a copy of it.
Well, here's the photo:
As part of my work on Xen I've been playing with
Xephyr (a replacement for Xnest). My plan is to use Xen instances for running different versions of desktop environments. You can't just
ssh -X to a Xen image and run things. One problem is that some programs such as Firefox do strange things to try and ensure that you only have one instance running. Another problem is with security, the X11 security extensions don't seem to do much good. A quick test indicates that a
ssh -X session can't copy the window contents of a
ssh -Y session, but can copy the contents of all windows run in the KDE environment. So this extension to X (and the matching ssh support) seem to do little good.
One thing I want to do is to have a Xen image for running Firefox with risky extenstions such as Flash and keep it separate from my main desktop for security and managability.
Xephyr :1 -auth ~/.Xauth-Xephyr -reset -terminate -screen 1280x1024
My plan is to use a command such as the above to run the virtual screen. That means to have a screen resolution of 1280x1024, to terminate the X server when the last client exits (both the
-reset and the
-terminate options are required for this), to be display :1 and listen with TCP (the default), and to use an authority file named
~/.Xauth-Xephyr.
xauth generate :1 .The first problem is how to generate the auth file, the
xauth utility is documented as doing it via the above command. But this really connects to a running X server and copies the auth data from it.
The solution (as pointed out to me by Dr. Brian May) is to be found in the
startx script which solves this problem. The way to do it is to use the
add :1 . $COOKIE command in
xauth to create the auth file used by the X server, and to generate the cookie with the
mcookie program.
In ~/.ssh/config:Host server
SendEnv DISPLAY
In /etc/ssh/sshd_config:AcceptEnv DISPLAY
The next requirement is to tell the remote machine (which incidentally doesn't need to be a Xen virtual machine, it can be any untrusted host that contains X applications you want to run) which display to use. The first thing to do is to ssh to the machine in question and run the xauth program to add the same cookie as is used for the X server. Then the
DISPLAY environment variable can be sent across the link by setting the
~/.ssh/config file at the client end to have the above settings (where
server is the name of the host we will connect to via SSH) and in the
sshd_config file on the server have the line
AcceptEnv DISPLAY to accept the DISPLAY environment variable. It would have been a little easier to configure if I had added the auth entry to the main
~/.Xauthority file and used the command
DISPLAY=:1 ssh -X server, this would be the desired configuration when operating over an untrusted network. But when talking to a local Xen instance it gives better performance to not encrypt the X data.
The following script will generate an xauth entry, run a 1280x1024 resolution Xephyr session, and connect to the root account on machine
server and run the twm window manager. Xephyr will exit when all X applications end. Note that you probably want to use passwordless authentication on the server as typing a password twice to start the session would be a drag.
#!/bin/shCOOKIE= mcookie FILE=~/.Xauth-Xephyrrm -f $FILE#echo "add 10.1.0.1:1 . $COOKIE" xauthssh root@server "echo \"add 10.1.0.1:1 . $COOKIE\" xauth"echo "add :1 . $COOKIE" xauth -f $FILEXephyr :1 -auth $FILE -reset -terminate -screen 1280x1024 $* &DISPLAY=10.1.0.1:1 ssh root@server twmwait
Marc, I
disagree. Solving every issue and whim that every user files against a
popular package, while not letting the package degenerate into a mess, is
hard. Taking some time to gather opinions and produce a well-designed fix
that strikes to the core of an issue, rather than treating symptoms, is a
good thing for many classes of bugs. (Other classes should instead be fixed
immediately.)
The existence of many open bugs against a
package in Debian is not an indication that it's of
lower quality than the corresponding
package in Ubuntu -- which in fact
probably has 99% of the same bugs anyway.
As a user, I also regard a BTS as perhaps the best form of documentation
there is about real-life problems that I might encounter while using the
package, the general quality of the code in the package, etc. It's the
first thing I look at when installing some new peice of software. It's also
a good way to gauge how well the package is maintained -- not by counting
bugs, but by reading how the maintainer responds to bugs.
What I look for in a BTS is an indication that the maintainers care about a
bug. The fact that
bug #725 took ten years to get fixed doesn't mean
that X's maintainers suck, it means that for ten years, we were able to
document a minor problem to the few users who cared about it, and that we
were able to keep track of it until someone finally figured out how to fix
it. That's quite an accomplishment.
Another example, to keep picking on X, the fact that
bug #216933 is
marked wontfix is not an indication that the bug is worthless; in fact the
bug documents a quite subtle issue in the Crusoe's code morphing software,
and has been an invaluable reference to a
lot of Crusoe users.
I'm much more concerned about all our users who don't know about the BTS
and are unwilling to bother to file bugs than I am about the total number
of unfixed bugs in the BTS. Getting 100% of our users to file good bugs on
every issue they run into would do much more to increase the overall
quality of Debian than fixing every > 1 year old bug in the BTS
would.
Hardware evils
I've had quite the unfortunate week, hardware-wise, here. Nothing on my end is broken, but [lj user=ceilingsarecool]'s computer is screwed but good. It all started near the beginning of this week when I started to look into her machine. It had been loud for a while, and was being unreliable in regards to applications. Running memtest86+ on it via a handy
System Rescue CD I always keep around discovered a couple of stuck bits on the memory that otherwise had been perfectly fine. However, I have had sticks die before, so I called
Crucial and am having the memory replaced. (thank you Lifetime warranty). While I was taking the Memory out I noticed the couse of the loudness. Apparently there was ailing fan on the south bridge, which explained her issues with USB-connected devices. No problem - I'll just order a replacement motherboard. The old
FIC AD11 was getting pretty bad anyway.
The new motherboard (a
PCCHIPS M810LMR) arrived yesterday, so I went through the lengthy process of removing the old motherboard and moving the CPU from one to another. Just one problem: the new motherboard didn't start up. After checking that I had everything connected right, I thought the board was DOA. This would be my first DOA ever, but as usual the place I bought from has a DOA replacement policy so I thought I just wasted 2 hours and a bunch of time replacing. Unfortunately, this isn't even the end of this sad tale of brokenness. When I put the CPU back in the old motherboard, it didn't start either. So now I'm left with two motherboards for a processor that doesn't work, I assume. I don't really have another one that I can test it out on, and I can't test the motherboards with another CPU because I don't have one.
Luckily, I have some old towers sitting here that were about to be dragged out to the dumpster. I rescued them. They're ancient, even more than the machine that was in use was. I had to burn a
Maxtor MaxBlast4 CD just to get them past the 65GB barrier, and of course I need to do a "repair" install of Windows because all the hardware changed since I installed it.
Lesson of this tale: Almost-broken computers are a delicate ecosystem. Just buy a new computer - you'll have to do that in the longrun anyway. Currently I'm looking at replacing the mainboard and CPU with
this combo from newegg. It's got mixed reviews, but is reasonably priced, and if DOA I am sure that newegg will replace it. I'm debating between doing this and just saving up to get a decent new motherboard and CPU (generally around $150-$250, $300 easily with new memory) later in the year. I feel pretty bad because every computer that I've given
ceilingsarecool to use has had issues like this. She tells me that she doesn't really care that much, and she does have a laptop which works well when the desktop has issues like this, but it's still like a poison apple.
Windows XP Setup
It doesn't seem to matter what you are installing Windows XP on. It can be 500MHz or 1.2GHz or 3.0GHz, the first time estimate that you get for finishing the install is 39 minutes. When XP was first released, I never ever had a computer that would finish that fast - it consistently took an hour or more from that state, and then I jumped to fast computers that come under the mark most of the time (although not by much). At least the estimate is monotonic, not going up to an hour. I can at least assess the progress a little more. Installing a couple times in the last few weeks has got me wondering about the origin of that estimate, and if it was going to be so inaccurate as to just guess and be constant at the beginning of the install, why include a time estimate at all?
Or, more specifically, bands I started listening to in 2006:
- Architecture in Helsinki
- Beulah
- Camera Obscura
- Casiotone for the Painfully Alone
- Christine Fellows
- Go Sailor
- Grandaddy
- Jap Jap
- Mirah
- Neutral Milk Hotel
- Reindeer Section
- Schwervon!
- The Mountain Goats
- The Pipettes
- The Polyphonic Spree
- Trachtenburg Family Slideshow Players
- Track Star
- Tullycraft
I am the psychotherapist. Please, describe your problems. Each time
you are finished talking, type RET twice.
I am worried about Debian.
Are you worried often?
Yes!
I see... Well, why do you say this is so?
The Debian project seems to be quite dysfunctional.
What makes you believe the debian project seems to be quite dysfunctional?
We keep having these massive flame wars.
Earlier you said you felt worried?
What causes you to be worried?
It doesn't seem right that a group of people who ostensibly have the same goal should bicker so much. And its the same topics over and over again.
Is it because a group of people who ostensibly have the same goal should bicker so much that you came to me?
Yes. You are a very cheap^wgood therapist. It has been suggested that Debian could profit from therapy.
Does it bother you that debian could profit from therapy?
I would hope that a group of mature, intelligent, professionals could settle their differences on their own.
Maybe your plans have something to do with this?
I have no plans really. I just want to work on a great Linux distribution.
How does it feel to want?
What we have built is so great but sometimes it seems that Debian doesn't get taken seriously when outsiders see all this infighting.
What happens when outsiders see all this infighting?
They think we are just amateurs and they wonder why they should make their future endeavors dependant on a bunch of flighty narcissists.
Do you really think that?
No of course I don't. Debian is just as good if not better than most "serious" operating systems and most of the time Debian developers do work together well and settle their differences amicably. But there are a few people who can't and they really hurt our image.
I see... Tell me more.
There are some people who just can't work with each other and our current way of dealing with such conflicts is at a dead end. As long as issues are left unresolved and they are forced together, these negative people will just keep bickering and bringing the rest of us down.
What are your feelings towards bickering and bringing the rest of us down?
I feel that at this point only answer is for the people who can't alter their behavior to be asked to leave or to remove themselves. What do you think?
Speaking as a trained psychiatrist I think you are all bonkers and I'm switching to gNewSense.
With 2006 almost finished, I can look back at a succesful year for the
Debian/Ruby Extras team. The
infrastructure was set up and we gained 12 new team members and a lot of
packages. With Etch frozen, I can now almost certainly say what Etch
will bring Ruby-wise:
- 35 new libraries and applications.
- A meta-package
libruby-extras to extend the Ruby Standard Library
with some more useful libs.
- Consistent packaging of the 44 team-packaged apps and libs.
- RubyGem support (courtesy of Daigo Moriwaki)
I am proud of what we have accomplished, good work everyone!
Not team related is the change that the whole Ruby stdlib is now bundled
in libruby(1.8) and is
no longer split up! So you all can remove those
Debian-specific messages about having to “do extras things when using
Debian”. ;)
Future plans for Lenny
Future plans for Lenny include updating and extending the Ruby Policy.
Focus points will be package versioning, improving documentation.
Also we intend to package even more Ruby libraries and applications
and ask current Ruby lib/app developers to join us. A third matter
I’d like to address is Gem support.
My brother Nate and his girlfriend Kristen live in the Laurel Heights area of
San Francisco, just north of Presidio Heights, across the street from Laurel Village on California Street. They invited us up for dinner at their house last night, and since my Mom and Dad hadn't seen their apartment yet, they decided to join us, too.
Maj, Amita June and I went up early yesterday afternoon, right after naptime. (That's our main measure of time -- before naptime, after naptime, before bedtime, after the baby goes to sleep.) We initially planned to go downtown and do some post-Christmas shopping, but we hit gruesome traffic getting off North 280 into China Basin. Friday afternoon traffic in San Francisco is pretty crappy any day of the month, but yesterday was
Critical Mass, which really tangles things up downtown.
So we juked west and headed out to Ocean Beach instead. I parked at the end of Golden Gate Park by the giant windmills. We all walked out onto the beach -- Amita at 0.5 mph, of course, and rarely in the correct direction -- just at sunset, which was great. It was our second beach day in a row, but it was great being out there. The baby chased dogs and waves, and we got to watch the sun go down. There were kites everywhere -- I explained to Amita how people had to hold their strings so that they could keep flying. It's so counterintuitive.
We dropped into the Beach Chalet on the Great Highway for a late afternoon snack. Amita June had her trademark grilled cheese sandwich, Maj and I split a plate of calamari. The chalet does its own beers, so Maj had a Christmas ale and I tried the more than decent stout.
We got to Nate's place just after 6, and they ordered Indian food from Rotee in the Lower Haight. It was excellent -- we got some tandoori fish and about 12 different curries. Maj's brother Brian came too, and we stayed up pretty late talking.
Maj and I stayed over at Nate and Kristen's last night, then shared coffees this morning from Peet's. There's a really nice Cuban place, Caf Lo Cubano right up the street, but we wanted bagels from Noah's, so it's just natural to get Peet's, too. We had a long ride home, though -- Maj and I are both feeling sick, and the baby's not too happy about long car rides anymore. But we got home for a good nap and a radio interview.
tags:
san francisco laurel heights golden gate park rotee beach chalet cafe lo cubano kites beach
Get Connected Radio
I did an interview today on Get Connected Radio about Wikitravel. It was pretty fun -- the interviewers were pretty clued-in about wikis, so we got to talk a bit more about the interesting travel aspects. Also cool that they emphasized the "open source" aspect, which is something a lot of media don't cover.
tags: get connected radio wikitravel interview
Today I had to clean up my flat, but I was lazy. I decided that some music will be welcomed. However, even if my flat is not so big, I have three rooms and if I play music in one of them, I can't hear it everywhere. By chance, there's a computer connected to speakers in each.
So, to listen your playlist on every computer, do like me: just install esound on each computer and run esd -tcp -public (esd without option is sufficient for your master). On your master, run also esdmon esdcat -s slave1 and esdmon esdcat -s slave2, and so on. This will listen to you local esd and pipe the sound to your slaves via network.
Then grab your favorite audio player which should be esd-capable (my xmms is), and play files to your local esound daemon. Listen... it plays everywhere!
Next step is to invite me, some friends and hot chicks to your party.
I've been feeling sick since the day after Christmas. Maj says that when you push your body too hard, it gives you a cold to tell you to sit back and take it easy for a little while, fercryinoutloud. I think that's what happened to me -- almost as soon as I had some free time, I got a sore throat, body aches, stuffy sinuses, fatigue.
It's been OK, though -- I've had a lot of time to sit at my parents' house, fool around on the computer without doing anything serious, and read books. I got a proposal for a new project done, and some API designs, but I also am almost finished with
James Fenimore Cooper's
The Pathfinder, which has been a real enjoyable book. I picked it up in
Lake Placid while we were there at the beginning of the month, and I'm just getting around to finishing it. I guess I'm just getting myself on a Colonial New York kick.
I've also watched about 400 episodes of
It's a Big, Big World, a great kids show starring a good-natured stoner sloth and some spazzy monkeys. They deal with lots of interesting issues, but mostly the answer to their problems is, "Get over yourself, chill the hell out, and do some
tai chi." Which I think is a pretty good piece of advice for everybody.
tags:
lazy pathfinder james fenimore cooper cold tai chi big big world the wisdom of sloths
Edinburgh
So, I just registered for Debconf7, the 7th annual Debian conference, to be held in June 2007 in Edinburgh. I'm excited to go -- I've never been to Scotland, and I'm looking forward to the visit. Nor have I been to a Debconf before!
I also submitted an abstract for a paper on the Debian Creative Commons Workgroup, a kind of extended history from the Debian Creative Commons Workgroup Report?. I want to cover the details of the relationship between Debian and CC, the history of the workgroup, and give some lessons learned from the process. I'd also like to draw some conclusions about using one of Debian's greatest assets -- our moral authority in the Free Software world -- to shape the future of FLOSS and Free Content.
tags: edinburgh free software debian debconf7 cc free content
Mysteries of Web comics
I guess there are just some things I'll never understand about the aesthetics and economics of Web comics. Like, why hasn't Patrick Farley, author of the great e-sheep comics, published anything since 2003? e-sheep is some of the most moving, intelligent, and deep work of any kind on the Internet. I'd really love to see more.
Conversely, why did the lurid, absurd, and obnoxious Leisuretown go off the air entirely for a few years? And why did it come back? And if it's back, why hasn't the enigmatic Tristan A. Farnon added any new comics? Also, I still wonder if that's his given name, or if he's stuck with a BBS handle from back in the day when he thought All Creatures Great and Small was really cool.
Leisuretown is another of the best things on the Web -- crude, angry, existential. I really like it.
tags: webcomics leisuretown e-sheep