Search Results: "eric"

7 December 2006

Erich Schubert: Memory corruption during sleep

Yesterday I put my laptop to sleep (on AC power) while I went to the christmas party of a company I worked for. After returning, I couldn't read my email any more; dovecot would segfault after login. Restarting dovecot didn't help, but a reboot helped. Sounds to me as if during sleep, some kernel cache of the dovecot application was corrupted (read only memory; cached by the kernel, which is why it survived the restart of dovecot). Whoa, this is like Windows. Rebooting the computer actually fixed something!

6 December 2006

Gustavo Franco: FLOSS in Brazil turns out to be a joke

Well, forget anything you've heard about how well developed is Brazil in terms of FLOSS. The gov't loves FLOSS, the NGOs and even a lot of companies too, right? Wrong!

With just a few exceptions (and i think i work in one of them and i'm glad), the FLOSS hype in Brazil is a marketing thing. Even the most proprietary software defender needs to agree that FLOSS and every aspect of it, has appeal where there's not enough money or where the money isn't being distributed in a fair manner.

The point is that a lot of gov't institutions, NGOs and companies are using the FLOSS appeal and its arguments with the masses to do what a brazilian does best (after playing soccer): Corruption. The recipe is simple: Tell as much people as possible that you're developing the FLOSS 'foo' and ask for funding - even companies do that here and when they don't, they join a gov't institution. You know, when you haven't compromises with results and the law and have contacts it isn't that hard get some money here and there for your 'foo' project.

Many times nobody out of the project office (when there's a real one) ever see the source code of that and in a lot of times it will be delayed forever or it will suck - but when it sucks they blame the 'community' (they don't know the difference between user and developer community). Wait, but where's all that money? The money is in the same places where part of the 3 trillions of dollars (no, i'm not wrong) that were used by less developed countries during the past years from the north-american and european banks. Go figure...

My hint for these FLOSS advocates in Brazil and those with some money for funding projects here: Hire somebody that have a vague idea what a user community, developer community, software licenses and source code are in the next time.

5 December 2006

Brett Parker: And here goes the update...

Fantastic beginning to the weekend - was in Norwich from Thursday, saw the Dave and the Becca on thursday night - many many thanks to them for floor space thurs and fri and for generally just being fantastic people (with tea *and* coffee, no less - and a silly beepy tivo box for even more fun - and for introducing me to the american chopper type show thingummy - and for letting me watch the a-team!) Then, serious amounts of thanks to Noodles and Kathy (who I appear to not be able to find a link for :( ) for inviting me to the wedding and the reception - was fantastic - you're both such absolutely lovely people! Pictures so far appear to be available from Becca and Dave, Burly and Steve McIntyre - hopefully more soon... specially from Dave Noble (can't find him *bah* he needs more google juice the damned slacker ;) which should be cool! Saturday was absolutely brilliant - including talking about atmosperic physics, failing a-levels, and random universities doing questions (hey, I can't entirely remembere - someone bought a half barrel of nero and some port, and lots of red wine... I wasn't *entirely* sober ;). Saturday morning was a bit of a blur - I remember watching the A-Team and then food in the Glass House with Dave and Becca (thanks guys, you rock!) then I wandered to the Fat Cat and met with Eli and Dave Noble, a while later Rob and James and Kaz arrived and we played Munchkin, which was a very very silly game but quite fun (thanks James and Kaz - you're both mildly insane - but it's always fun when you come to the pub!). Went home with Eli, tried to escape because of the annoying giggly evil students from hell, started wandering back towards the train station and a random bench to sleep on, then got emotional black mail and ended up back at Eli's - ho hum. Went to catch train at around 10am Sunday morning - discovered trains from Norwich weren't running - replacement bus service from Norwich to Diss left Norwich at around 10:25am, got to Diss, had a 10 to 15 minute wait there (mmmmm, bacon roll and a coffee!) then straight to Liverpool Street, wandered straight off to the underground and got the circle line to Victoria, got to Victoria around 13:40 ish, wandered to look at the boards and saw a 14:17 from Victoria round half the planet to Brighton - thought to myself "not in any rush" and wandered off and found food and then wandered round the WHSmith in Victoria station.... got out of there, glanced at the board again, Victoria to Brighton train had been cancelled - wondered what to do - announcement over the tannoy that to get to Brighton the best idea was to travel to East Croyden and the train would meet us there. So, grabbed that train, got to East Croyden, jumped on the train (first 8 carriages Brighton, back four Plymouth... so, jumped on somewhere around the 7th carriage from what I thought was the front - turned out to be the back - wasn't entirely sure what was going on so when it stopped at Gatwick wandered further to the front of the train a lot, found an empty pair of seats and sat down. Got to Three Bridges and there was a delay, it was announced on the train as "We're waiting for the conductor, he's missed a train and is currently in a taxi, there's at least a 10 minute delay before he gets here", so a load of us bundled out of the train on the basis that that was very much long enough for a cigarette break - just as we were finishing the conductor turned up, so we all got back on the train for the "scenic" route to Brighton (yay for going round the coast), finally got in to Brighton at 17:05, so wasn't too bad, only about 6 and a half hours for a 3 and a half or 4 hour train journey ;). Grabbed chinese on the way home, watched some Morse - all was well with the world. Lots of beeping this morning around 8.30am, ignored it, finally re-woke up at about 10:30am (ish) - watched some more Morse, grabbed some lunch and then watched more Morse until going to the pub quiz tonight. Charly, Julius and Pieter turned up for a quick drink and then all left me to fend for my self at the quiz - I came in my usual place - very last (by over 20 points, no less ;) - but had fun, so who cares :) Anyways - it's now tuesday morning, so probably time for some good ol' fashioned sleep type stuff... might put on the next episode of Morse for the hell of it (might even manage to stay awake through it!). Tomorrow is probably more Morse, some work on the django packages (just got the first bug report in for those) and possibly applying some of the patches to the scrobbler packages to close some of those bug reports too. It appears that upstream for xmms-scrobbler has disappeared a bit, so might have to look at that a lot closer over the next few months - have some time off work soon - last day this year being the 15th (also happens to be when work are planning the "christmas do"). Wow - that was a ridiculously longer post than I though it was going to be! Night all!

4 December 2006

Erich Schubert: Software mixer with ALSA

The "high definition audio" in my laptop is rather minimal. Apart from the mic not yet working, it has a line out and a single volume control. Thats it. However, I'd like to have multiple applications use the sound card, for example my music player, eventually some video player or flash, and some system events. ALSA to the rescue. It's not easy to configure, but really powerful: Mixer screenshot with MPD volume control Yes, that is a separate volume slider in my regular mixer for MPD, my music player. Here's how to do that: First we'll need to create a huge /etc/asound.conf:
# the real device
pcm.realdev  
        type hw
        card 0
        device 0
 
# software mixing
pcm.dmixer  
        type dmix
        ipc_key 3129397
        ipc_key_add_uid false
        ipc_perm 0666
        slave.pcm "realdev"
        slave  
                period_time 0
                period_size 1024
                buffer_size 8192
                # we're enforcing 44100, since thats what most apps use
                rate 44100
         
        bindings  
                0 0
                1 1
         
 
# software volume
pcm.softvol  
        type softvol
        slave.pcm "dmixer"
        control  
                name "Software"
                card 0
         
 
pcm.mpdvol  
        type softvol
        slave.pcm "dmixer"
        control  
                name "MPD"
                card 0
         
 
# input
pcm.input  
        type dsnoop
        ipc_key 3129398
        ipc_key_add_uid false
        ipc_perm 0660
        slave.pcm "realdev"
 
# duplex device
pcm.duplex  
        type asym
        playback.pcm "softvol"
        capture.pcm "input"
 
# default devices
pcm.!default  
        type plug
        slave.pcm "duplex"
 
pcm.dsp0  
        type plug
        slave.pcm "duplex"
 
I won't go into all the details (I don't know all of them either), but the basic idea is that I setup the dmixer plugin for software mixing, and attach two software volume controls to it. I'm keeping the permissions to 0666, since my MPD is running as a different user, and I didn't find a way to say I'd like to have the permission set to group "audio". The default device is the regular microphone jack (untested, since there are driver issues with my chipset and recording) and the "Software" volume control. If you have an ~/.asoundrc you might want to move it out of the way. Next I need to configure MPD to use its own volume control via /etc/mpd.conf:
audio_output  
        type            "alsa"
        name            "my ALSA device"
        # 'mpdvol' is the device name I used in asound.conf
        device          "mpdvol"
 
You'll probably need to restart all applications currently accessing your audio devices to have them pick up the new config. The new volume control will also only appear after you've started an application using it AFAICT. Sometimes you need to restart them twice for the new volume control to be effective. When alsa-utils restores the volume controls after reboot it should work right away. The "Software" volume control is optional, but that way I can tune down the default applications volumes below the MPD volume if ever needed. Oh, and I think you can safely keep one or all of the software volume controls to maximum without distortion happening (this doesn't hold for all sound cards, where it's often best to keep the sliders at ~75% max to avoid distortion)

Erich Schubert: Penny Stock Spam

... is rather annoying these days. Apparently this known hacker group with their powerful Windows trojans is behind the latest spam wave: they use image obfuscation that makes the average Captchas look easy. In fact it took me a couple of seconds to understand what they're spamming about this time - the image just contained a highly unreadable stock symbol. I wonder if the big financial web sites (for non-experts) like Google Finance, Yahoo Finance or whatever you use for occassionally checking your stock quotes couldn't just add a warning if a penny stock is being spamvertised. Preventing naive users from falling for these frauds would certainly be a good service for their visitors, wouldn't it? And there are already websites listing spamvertised penny stocks. So dear big-financial-websites, start protecting your customers now (and reduce the amount of spam for all of us that way, since that will hopefully make penny stocks a lot less lucrative).

Evan Prodromou: 12 Frimaire CCXV

My work permit in Canada expired on December 1 (that's 10 Frimaire for you French Revolutionary Calendar fanatics), so I needed to renew it. It's possible to renew these things by mail, which is worrisome and time-consuming, or even to go into an office in Montreal (near-mythical, crowded, reportedly ineffective). I've never liked doing either, so whenever we have to deal with immigration, our family drives the 50km down to the border with the US. They have a big immigration facility there, and if you drive out of Canada and back in again, they have lots of nice officers in bullet-proof vests to deal with any immigration issues on the spot. It's called "driving around the flagpole" here, but Maj and I try to make a trip out of it when we have to go. So we drove down to Lake Placid in the Adirondacks last Friday morning -- sufficiently distant and different to seem exotic, without being too far away for a weekend trip. Plattsburgh, the nearest American town to us, is, well, kinda boring. We've spent a day in Burlington (Vermont) before, and that was pretty fun, but we wanted to try something different -- so Lake Placid it was. Friday was a crummy day for a drive, though -- there was snow and freezing rain in equal measures, so the roads were a little dangerous. The hood of our car kept building up this several-inches-thick icy-snowy mass that I was afraid would rip off the hood and go careening into the dark, so I kept stopping to chip it off with my handy ice scraper. Once we got down to the Adirondack park, though, the rain was just a regular drizzly non-freezing kind, and we could actually enjoy the scenery. The roads in were remarkably small -- hard to believe that not one but two Winter Olympics were held at this remote location. When we got to town, we took a look around at the main drag -- a single street that fronts onto Mirror Lake and points directly into the Olympic centre. We stopped at the Great Adirondack Brewing Company for a late lunch, and had a nice crabcake and caesar salad with roasted shrimp. Maj is a little squeamish about eating seafood in the mountains -- with good reason, since she's been burnt before -- but we both ate up anyways, and it was real good. Amita June had a grilled-cheese sandwich that came with french fries shaped like little happy faces. Awww. We then went to check into our motel, the Wildwood Inn. I've got a weakness for a certain kind of woodsy mountain motel -- lots of wood paneling and alpine flavor -- and I especially like paying motel prices. The Wildwood was just what I like -- clean, inexpensive ($65/night), and charming, with a nice view from our room out onto Lake Placid proper. It also had a nice big indoor heated pool complex and free WiFi. (On that subject -- why is it that so many motels in North America now have perfectly acceptable free WiFi, but major hotels in big cities charge you $30/night for crummy WiFi with complicated authentication schemes that take half an hour to configure? Is it just because the big hotels charge too much for everything, or is it because they know they can rake business travelers over the coals and it all will go on the expense report? It makes me really mad to pay for WiFi, and it makes me extra-mad that it's usually so complicated and of such poor quality. Anyways.) We took a big nap and went out after dark (4:30PM) to look at the town and get some dinner. Unfortunately, it was still raining big fat cold raindrops all over downtown. The ski season was supposed to start this weekend in the Adirondacks, but with all the rain they canceled opening the runs, and with the bad weather and no skiing the town was pretty empty. Most of the restaurants we passed were closed, and when we eventually got to one, the Black Bear, we were the only people there. The Black Bear turned out to be really nice. They had a good selection of organic vegetables and seafood nicely prepared but not too fancy -- what we Californians call "California cuisine". I dunno what anyone else calls it. Amita liked it because they had a big chalkboard on the wall and she spent most of her time running between our table and the board or drawing big jagged marks on the wall. That night the wind and storm howled outside our motel room -- I dreamed the place was falling down. When we got up in the morning, though, there was a light dusting of snow on the ground outside -- the first one of the season! Maj and Amita June went outside on the motel lawn to play around -- Amita doesn't remember last winter, I don't think, so snow is new all over again for her -- and I went to clear off the car. Then we went downtown to get some breakfast. We shopped for books (I bought James Fenimore Cooper's The Pathfinder) and winter gear (Maj almost but didn't buy some boots) walking up and down the main street in the light snow, then piled into the Soulshine Bagel shop for some bagel sandwiches and coffee. The food was good -- the bagels were thick and doughy, not like the little Montreal bagels I've grown fond of -- but the place only took cash, and we hadn't gotten out any American money yet. Oops. They were nice enough to take our Canadian cash, which earned them a decent tip, and then the three of us walked back to the car in the snow, Amita trying for the first time to catch snowflakes on her tongue. After our nap, we went out with good intentions to go visit the Olympic Centre and get ourselves a little bit of cultural value from the trip, but the early dark and our darker natures drove us instead to the Lake Placid Pub in a residential area right by Mirror Lake. The Pub was great -- really good beers (I liked the 7% Ubu Ale) and fine pub-grub. There was a table of kids next to our table, and they had a little table barbecue on which they were making s'mores. They kept handing Amita their extra graham crackers, which she noshed contentedly. This morning we went to the Saranac Sourdough deli and bakery for an early breakfast. It was right across highway 86 from our motel, and they had great pancakes. I had a big spinach-crab frittata with sourdough rye toast -- really satisfying. We took the long route back to Montreal -- west through Saranac Lake then north up to Malone (New York), a little town on the Salmon River with a big collapsed mill in the middle of downtown. By the time we got down to Malone, all the snow was gone, and it was back to that bitter snowless winter look all over the place. Malone had some nice architecture, but we ducked into the homey Nancy's Village Diner for some lunch. Then out onto the road again, through Chateaugay and Mooers and back to the border after a brief stop at duty-free. Our immigration issues took about an hour -- that was pretty good turnaround -- and we were on autoroute 15 back home to Montreal pretty quick. Not far from the border, though, the snow started coming down hard, and by the time we got to the St. Laurent river it was sticking to the road, making driving a little hazardous. But we managed to get home OK, glad for a nice little weekender. tags:

Eric Dorland: A Dinosaur in Times Square

So I begin work tomorrow. It's been an interesting few days so far. Border officers are not really pleasant people (from my sample size of one). I've been put up in a beautiful corporate apartment basically in Times Square. It's just going to make it worse when I have to find an expensive and worse apartment elsewhere. Times Square is full of tourists and is quite loud, flashy and expensive. But luckily I found a cheap Japanese place around the corned called Sapporo that's relatively cheap, so I've eaten there three times already. I've seen my brother a couple of times already and he's shown me a couple of good eateries. I've also seen a few apartments in Brooklyn that are frighteningly expensive for where they are. I guess that's just normal around here.

Wish me luck!

3 December 2006

Erich Schubert: Skype bastardized DBus

I've started playing around with DBus a little. It's somewhat cute, I was able to quickly write a script that monitors my wireless network connection going up and down, and after some searching for useful documentation, I'm now able to tell gaim to disconnect when my wireless goes down and reconnect when it comes back. All with just a few lines of Python. While searching for some docs on the Gaim API, I stumbled upon the Skype DBus API. But it's crap. Evil stuff. (And not working, from what I can tell; I read somewhere they're using a totally outdated DBus version, and to use it you have to downgrade and break lots of other stuff). They've totally bastardized DBus. First of all, the trace of a DBus API I've found is on a system level, not a user/session level. It should be per-session; you especially don't want others to mess with your Skype. Instead of offering an API with sane methods to invoke, they offer a single method, called "Invoke", and a single callback called "Notify". Ouch. With these methods you're expected to do a ascii protocol something like this:
-> NAME UltimateProgram
<- OK
-> PROTOCOL 5
<- PROTOCOL 5
Note that the name choice is up to the connecting application; so you can cloak yourself as a different application; it will be displayed to the user when asking for confirmation, apparently. Another example how crappy Skype dbus is: their "dbus example in C" links to the Python example and the other way round. The C example consists of 2.4 MB precompiled example and about 100k source code (the example of course is a graphical client). For comparison, this is a complete example on how to reconnect all your Gaim accounts via python-dbus:
import gobject, time, dbus, dbus.glib
# get DBus inteface
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")
for account in gaim.GaimAccountsGetAllActive(): gaim.GaimAccountDisconnect(account) time.sleep(5) for account in gaim.GaimAccountsGetAllActive(): gaim.GaimAccountConnect(account)

Zak B. Elep: Who moved my sundae?

WTF IS THIS SHIT? Ok, that above would be what a newly-baptized “FOSS advocate-slash-zealot” would say upon seeing Federico Pascual Jr.’s PostScript regarding the FOSS bill. I suppose I could have said that myself a couple of lifetimes ago. But, there is more than meets the eye. While I would like to think of myself as a “FOSS veteran”–believe me, I have still so much to learn about it–I would like to step into the shoes of such a person when approaching an article as sensational as Mr. Pascual’s. Despite what seems to be a most interesting article on the mechanics of government software usage, it fails to address the one particular bit that is just as important as the proposed bill itself: the real Free and Open Source Software. Let me nitpick this article bit by bit:
FREE RIDE: A bill is being pushed in Congress forbidding all government agencies and state-controlled firms from buying and using any of the computer software sold in the market!
Alas, when I first heard of the FOSS bill sometime before September, I also had a bad impression of it. Perhaps I was just too politically allergic at that time (yeah right,) but I tried to adopt a wait-and-see’ approach first and let the dice roll. Perhaps because this bill was to be introduced by a very visible congressman with alleged leftist ties made me feel uncomfortable, but then, so was (and still is) with the current administration. Or perhaps I just felt it wasn’t damn right to legislate FOSS as an end-all solution, preferring instead of presenting is as a process for reforming the local software industry. Looks like first impressions definitely make a difference.
The proposed law to be called “Free/Open Source Software (FOSS) Act of 2006″ commands government offices to use only information and communications software that are given away for free and have no restrictions as to their use. The objectives appear to be to save money for the government and to encourage the making of free (non-commercial) software.
So? What’s wrong with these objectives? FWIW, the early FOSS bill draft did seem to have such a Draconian section as forcing the government and allied offices to use, and use only, FOSS. IMHO that by itself ran against the very fundamental ideal of FOSS: the freedom of choice. Not Hobson’s choice, but real choice. The current bill IIRC now allows this true choice; unless there is an extreme case where FOSS cannot be applied without becoming non-self-sustaining (not to mention self-liquidating,) agencies may implement their infrastructure using FOSS as their primary instrument, with the application of open standards (that is, open document formats, open communications protocols, etc) unifying the disparate components. Perhaps right now, this situation may seem kind of far-fetched, but its not really that far-off, considering what other nations and cities have done (or not done) with FOSS. Munich, Extremadura, Beijing… the list is not yet that long, but its bound to go a long way ;-) Now, while the government may now adopt open standards and open-everything, does not mean that the openness’ forgoes security, either; the government may opt to use well-known encryption protocols and even base their own security infrastructure on them. In fact, they are free to even look inside the source of these well-known standards, to study them, and to branch off new implementation that may even change the way these standards work. In fact, even without this bill in place, the government can participate in the production and development of FOSS!!! Wait a minute, wasn’t I supposed to defend this bill? Eh, well. I suppose this bill is good and all, but like I said earlier, there are those first impressions made by the parties involved in the making of this bill which unsettles me. IMHO I would rather see applications of this first in key cities (the happy works in Munich and in Extremadura are no accident, believe me) which in turn, would allow both local the national government to see just exactly how this FOSS magic works. Then, when the observations have been made, the papers are in, and the workers get hired, then, maybe, we’ll have a nation where FOSS can be mandated as a very strong preference, but never a forced one. Its all about growing up, really. I’m being reminded of Tom DeMarco’s The Deadline, where a newly-retrenched guy from a telco literally lands into the fantastic job of his life, managing an entire nation of software engineers and architects to develop several killer apps within a year (or so; raid you nearest Book Sale and be lucky ;) Its a great experiment: when it succeeds, you’ll be the first to be present, but when it fails, you’ll be the first to be nowhere.
But I can also hear in the background a call to an unholy war against multinationals whose popular software run virtually all maybe 95 percent? of the computers of the world.
Now this is a low blow. Maybe partly because of the prevailing images of the advocates–geeks and leftists, my, what a c-c-c-combo!–is what drives Mr. Pascual to make this point. But really, multinationals are not the main concern. FWIW, FOSS is multinational in nature: it is even multi-denominational and multidisciplinary. FOSS is one of the things that make anonymous people like you and me Internet superheroes. FOSS connects the Internet’s tubes and keeps away the trucks. FOSS makes the Internet serious business, yet also drives them crazy. The Linux distros that I have worked, am working, and continue to work on, are all multinational: Debian and Ubuntu. People from all over the world, from all 7 continents, participate and work on what would arguably be the biggest software distribution the human world may ever produce, freely, regardless of motivation or goal. I suppose all the folks involved have only one common goal, and that is to see a work created for the benefit of the community by the community. I suppose the background howl comes from somewhere altogether, but its hardly just from FOSS. FOSS is the epitome of what is truly multinational, and one thing that is not truly controlled by any one single person, corporation or not.

2 December 2006

Erich Schubert: Go Tagging!

Debtags made quite some progress the last months. Many thanks to Enrico Zini, who did most of the work. We now have a new database (on alioth), a new editing frontend (using Ajax, and accessing this database) and a couple of nice utils around it. Go Tagging is a page listing untagged packages - by popularity contest score. Just go there, click a package you are somewhat familiar with (sorry, the really popular ones are already gone :-) but there are still some well-known ones in there such as "rails") and edit the tags. Enrico also did some kind of AI to suggest tags. This is not based on the Google Summer of Code project, but something Enrico did using the Xapian search engine index he's been using for the main search function. A couple of good features have been proposed, but are not yet implemented. For example, a "similar packages" overview, so that when you've been tagging one package you could easily switch over to another similar package. Or a per-maintainer view. It was suggested that it should be added to the packages.qa.debian.org per-maintainer view page; this would be great, but will require some more work to be done. On a related base, it would be interesting to make a tag cloud (like this Debian package cloud) on one maintainers packages only. This would then be a view of one maintainers interests in Debian... Anyway, thanks to everybody who has been tagging packages and helping with the backend databases and applications.

29 November 2006

Eric Warmenhoven: Breeders

As I said a while back, Lisa and I had been in the process of finding and buying a new house. A few months ago, we found one, and moved. We left behind a bit of our furniture that we have had since we were in college, and since then have been in a rather involved process of finding furniture that we’re willing to live with for the next few decades or so. It’s been a rather painless process for me, since Lisa’s been doing all of it. I just have to stay alert for when new things show up. I still tend to miss lamps. We were in the process of selling our townhouse; but after a few months we only had two offers, and both were significantly below our asking price. So we’ve taken it off the market for now, but will list it again in the spring. Fortunately for us it’s paid off, so other than property tax, it isn’t too big of an expense. We considered renting it but have friends who did that and their experience has convinced us that we’ll never rent anything ever. Also, a couple months ago, after we moved, we found out that Lisa’s pregnant. We’re both really excited about it. We had been married for just less than a year when we found out, which doesn’t seem like a long enough time, but we had been together for seven years prior to that. So it seemed like a good time for us. We have our third ultrasound in a couple weeks when hopefully we’ll find out the baby’s gender. Lisa’s hoping for a girl, but she thinks it’s going to be a boy; I think it’s going to be a girl. Everything seems to be going well so far, and Lisa’s starting to show a little. We haven’t started doing any of the baby-related things yet, like picking names, or setting up a nursery and buying a ton of crap that will probably end up being mostly unused. We did receive our first baby-related gift from my grandmother though, and Lisa’s grandmother is busy knitting booties and blankets. One of these days we’ll probably head over to Babies R Us and set up a baby registry, but probably not until after the new year.

28 November 2006

Daniel Burrows: Digging for Conspiracies?

While I appreciate the research and legal commentary over at Groklaw, the tendency of PJ and the regular posters to imagine vast conspiracies makes me more than a little uneasy. Yesterday I came across a truly jaw-dropping example that would be offensive if it wasn't so laughable; and since I happen to know more about the situation, I felt I should comment on it:


I have some questions about this group, BELUG, who did the article, I gather. There is no info on the site to be more informed. Anyone in the Seattle LUG know anything about this new group in Bellevue, 5 mins. from Bill Gates' house?

...

I don't like to be a cynic, and maybe they are a Linux user group, but if so, maybe the Seattle LUG can give them a hand.


Of course, we all know that the Microsoft corporate campus has an enormous mind-control ray mounted on Building 1 that turns everyone living on the Eastside of Seattle into mindless Gates-worshipping zombies. Part of Bill's personal security plan, dontchaknow. That's why BELUG starts every meeting with a round of "All Hail Gates, Lord of All That Is Electrified".


She goes on to complain about "major confusion" in their description of free software. At a quick read, I can only see two glaring problems with this page: first, they describe free software as being both "free in a monetary sense" and able to be sold (which is actually true but sounds like a contradiction without more explanation that they don't provide); later, there's some weird wooly-headed stuff about revolutionizing entire economies and societies. I don't know what they're talking about, but they certainly can't be accused of lacking enthusiasm.

Finally, she quotes a section of the FAQ that suggests that Microsoft professionals should learn Linux and vice versa, since the world is heterogenous and getting more so. I don't think that's controversial, so I think she must be referring to this question:


Q: Why does BELUG dislike Microsoft?

A: That is a complete misunderstanding. BELUG does not dislike Microsoft. Microsoft is our neighbor, and many of our friends and relatives work there. Both Microsoft's headquarters and Bill Gates' house are located just minutes away, and Microsoft's world sales headquarters is currently under construction nearly adjacent to BELUG's meeting location. BELUG merely believes in friendly competition and that competition can benefit everyone, including Microsoft. This is what a free market economy and the American system is (supposed to be) all about, and this is what has helped make the U.S. a great country.


The statement that Microsoft is nearby is nothing but geographical fact (I could walk about fifteen minutes from my apartment and be on the MS campus; does that make me an MS mole?).

As for the rest, I really don't see anything to complain about. I know some people like to rhetorically shred Microsoft at every opportunity, but if you're trying to attract members in Microsoft's hometown, it's wise to keep your comments polite. It's also true that Microsoft benefits from competition (even if they don't see it that way); I don't think it's a coincidence that their products started sucking drastically less as OSX and Linux became reasonable alternatives to Windows. And the fact that we can have friendly competition (as opposed to the cut-throat, take-no-prisoners style that's popular in some quarters) is exactly one of things I like about Linux. You will notice, however, that the Q&A carefully doesn't mention what sort of competition Microsoft engages in. I think anyone who knows anything about the company knows the answer to that one.


Here's the kicker, though: I actually attended a BELUG meeting a few months ago. It seemed pretty much like what I'd expect from a small group of volunteers: one guy gave a talk about hooking ALSA up to a digital audio receiver, another guy showed off a Unix kernel he had written for classic MacOS (it ran as a user process and presented a Unix-like interface to the Mac), someone passed around cookies, and people talked a bit about using Linux and so on.

The poor quality of the Web site and the lack of a mailing list probably reflect the fact that there are a handful of people organizing the thing who all have day jobs and other committments, not some vast Microsoft conspiracy to undermine Linux from the inside by setting up fake LUGs. PJ never said they were fakes outright, but it was a clear subtext of her comment, and the Groklaw regulars who replied knew exactly what she was getting at. If she really thinks they might be fakes, then I think she needs to take a break from watching SCO (which could make anyone paranoid and suspicious) and enjoy the holiday season instead.

Erich Schubert: Say NO to voting machines

Voting machines produce results not verifyable by independent people watching the election. This must not be allowed! So if you are a resident of germany, please sign this Petition an den Petitionsausschuss des Deutschen Bundestags (or the equivalent Ersatzpetition, since we are apparently overloading their system) Votes must remain verifyable by everybody, not only a handful computer experts!

27 November 2006

Erich Schubert: web.archive.org back up

web.archive.org aka "the internet wayback machine", which gives you access to past versions of a web site, (and thus serves as a mirror for websites that didn't change too recently) is back up. For more than a year the publicly accessible archives were not update, but they're finally back now. It's a great tool.

26 November 2006

Erich Schubert: Nautilus and cowbuilder

When I run cowbuilder (or pbuilder), they mount /proc and /pts in their chroot. Nautilus notices this and places icons for proc and pts on my desktop, which actually is quite annoying... Dear Lazyweb, how can I tell nautilus to not display these "filesystems" on my desktop?

John Goerzen: Society's Views of Dads

Back before Jacob was born, I was reading The Expectant Father: Facts, Tips, and Advice for Dads-to-Be, 2nd ed. by Armin A. Brott and Jennifer Ash. It was a good book and I recommend it.

Towards the end, there was a section that the author clearly was passionate about, and it made me mad too.

He was talking about society's attitudes towards dads. He started by looking at messages that are sent out in commercials. One study of commercials said that "100% of jerks singled out in male-female relationships were male. There were no exceptions. . ." That study also said that 100% of the ignorant and incompetant people in commercials were male as well.

He went on to cite some examples. Tons of slogans like "kid tested, mother approved", "choosy moms choose Jif", Robitussin's "recommended by Dr. Mom", etc. And one for Post Raisin Bran in which a father and daughter are impressed by their cereal. Dad says, "somebody must really love us. Who do you think it is?" The daughter answers, "Mommy!"

Of course, these were just some examples from commercials, but they seem to reflect a message that dads are, at best, incompetant. Brott mentions studies that show that men display the same decision-making skill and affection as parents as women do.

Brott went on to talk about some of his experiences. One time, while he was in a park playing with his children, a little girl started to fall off the top of a slide. He was right there and was able to catch her as she fell -- probably saving her from, at best, a broken bone. The girl's mother rushed over, ignored Brott, and said to the girl, "did he hurt you?"

I started to see this sort of thing all over the place even before Jacob was born. In stores, there would be tons of infant shirts, bibs, etc. saying things like "I love mommy," rarely even one thing that mentioned daddy. Similar patterns were there for greeting cards and pretty much everything else baby-related.

I've noticed this even more since Jacob was born. There have been times when Terah and I are somewhere together, standing right beside each other, and someone will ask Terah all about Jacob, and totally ignore me. Even if I'm the one holding him. I'm sure people are well-intentioned; some of them that have done this are people we know well and I know they mean well. Somtimes, I don't even notice when this is going on (though Terah does and when she mentions it later, I remember it).

Do they just expect that men don't care? Or do they think that since Terah is working part time, and I'm working full time, that we must be "traditional" enough that I don't care to be involved in Jacob's life? (Though I'm not sure that the "detached & uninvolved dad" stereotype ever was true, at least from the examples I can think of) It's hard to miss out on so many moments of Jacob's life during the day that Terah gets to be there for. But that doesn't mean that I'm an uninvolved or clueless dad.

Now, despite this little rant, there are quite a few people out there that have no problem including me in discussions about Jacob -- relatives, friends, people at church, co-workers, etc. In fact, probably more people include me than don't. I really appreciate that, and especially the extra effort some of them go to in order to include me. (I know how much effort it took to find baby clothes that mention dad, for instance) Terah is best at all this, making sure that I get to be part of Jacob's life as much as I possibly can be, and I really appreciate that.

But to Wyeth (makers of Robitussin): Don't think I haven't noticed that Walgreens sells "Wal-Tussin", same active ingredients as your product, and at a lower price. Dr. Dad knows how to buy generic.

25 November 2006

Erich Schubert: How to delay the etch release...

Get enigma (new version 1.00 beta in incoming, should hit unstable soon) and you won't have time to work for the release anymore. It's a great game, and it has almost 1000 levels now. Please help test the beta, and lets delay etch! :-) This is also the first package I've built with cowbuilder. I don't know if its faster - my new laptop is much faster, and I've been setting up a new development environment. But it works for me.

Erich Schubert: Packaging one-liner

This is the shortest debian/rules file I've ever written:
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
Yes, that is the complete debian build file. CDBS can very clearly say "nothing special in this package". Everything else in this package is handled by debhelper defaults. Granted, this is a very simple package. But thats what I like about CDBS: don't waste my time (or the time by someone reading the debian/rules file) when it is standard stuff.

24 November 2006

Evan Prodromou: 3 Frimaire CCXV

I think there's a certain special sloth that Americans get to experience on the day after Thanksgiving that we don't get on other parts of the year. Something about the combination of gluttony and wholesomeness makes Black Friday a very mellow, enjoyable time. Maybe it's the fact that it's officially now The Holiday Season, but the stressful tasklist of December hasn't started yet. Or maybe just that it's a day off of work for no good reason except it just is. Maybe it's the fridge full of leftovers that still taste kind of good. I dunno. We had a good Thanksgiving dinner yesterday evening. Maj, Amita June and I had planned to go visit family in New Brunswick (New Jersey) for the holiday, which was really nice to do last year. But our visas are running out in December, and although we're (probably) not going to have a problem renewing them, our lawyer said it was a bad time to leave the country. So, we stayed in Montreal for Thanksgiving. Canadians have their own Thanksgiving, of course, on the 2nd Monday of October, but not having grown up with that day as Thanksgiving, and with most of our family celebrating in November, it's hard to get motivated around Canadian Thanksgiving. And it's just not that big a deal in Quebec, anyways. So we had a good dinner here; John Usher, Niko, Jeff Waye, Meg and Patti all came over and had a good time of it. I cooked my first Thanksgiving dinner -- a big salmon, potatoes and sweet potatoes, roasted broccoli and wax beans, a great big salad. Every family has a Thanksgiving dish tradition -- one of the Prodromous' is a big pot of macaroni and cheese. So I made that, too. We all ate pretty well, drank some wine, talked about the future of music and how fun it is to play hockey. Unfortunately, I managed to miss my Blinky Hockey practice last night -- I tried to put the (overtired) baby to bed at 10PM and ended up falling asleep myself. All in all a good TG, even though far from family. tags:

Speaking of home All of Canada is abuzz right now about a recently-proposed bill by the ruling Conservative Party in Parliament to declare the Quebecois to be a nation within Canada. Sovereignty of Quebec has been an extremely contentious issue in Canada over the last 50 years (two sovereignist parties are major players at the federal and provincial level), and this form of recognition is an interesting step. The whole thing began with Michael Ignatieff, a candidate for the leadership of the opposition Liberal Party. He has stated publicly that Quebec is indeed a nation, and his followers are pushing to have that be part of the Liberal Party platform. The sovereignist Bloc Quebecois tried to steal their thunder by introducing a bill in parliament to the same effect. Their thunder was in turn stolen by the Government with the latest bill, which now has the support of all the parties and will almost definitely pass. The wording of the bill is interesting. First, it calls the Quebecois a nation -- the people themselves, not Quebec qua territory or government. Although the government has stated that this includes all people in Quebec, it's still pretty obviously targeted towards recognition of an ethnic group, French-speaking Quebecois, more than everybody who's living inside the borders. Second, it recognizes this group as a nation within Canada -- deflating the suggestion that it may become an independent state. I have to admit that the ambiguous nature of Quebec's status is one of the things I find fascinating about living in Montreal. As far as I can tell, few sovereignists hope for anything like a total split with Canada, but instead are looking for some sort of autonomous status. On the other side, even the staunchest federalists have seemed comfortable with granting Quebec more of an international profile, such as giving Quebec a formal role in UNESCO. My guess is that the nature of Quebec's relationship with Canada will change gradually until it reaches some stable point where everyone's comfortable. I don't know where that stable point is, but I think it'll be interesting to find out. At the turn of the 20th century, if you had told people that the British, Austrian, Turkish and Russian Empires would be dissolved and almost forgotten within 100 years, they would have scoffed. But in that short span of time, the idea of empire, spheres of influence, and Great Powers has passed from the world stage. We simply don't think in terms of Empire any more, but in terms of nation-states. My guess is that the 21st century will see a similar change in the idea of nation-state. With pressure from supranational organizations like the UN, EU, GATT and the International Criminal Court, as well as pressure from unrecognized nations like Quebec and Catalunya and Wales, I think the firm borders of the nation-state are going to loosen up a lot. What it will mean is anyone's guess, but I think if we're lucky we'll have a richer tapestry of nations and people participating in global politics and culture. And I think Quebec will be an important part of those changes. tags:

Thanks, Biella! I'm glad to see that Biella is going to give us the goods on PR. Our Wikitravel 2007 Get-together is going to be on the island of Puerto Rico, and Biella's from there, so she's going to make up a list of good places to check out. Great news! tags:

Erich Schubert: BPM tag your music

When you DJ or - as I do - dance a lot, the beats-per-minute values of songs are interesting. However, counting them manually is a pain, especially if you have lots of them. GJay is a software that can calculate the BPM (using a clever algorithm from BpmDJ). However, it stores the information in it's own database. Whenever you move the file, you'll likely have to recalculate it. And so on. However, the ID3v2 format has a TBPM field for beats-per-minute information, so why not store it there? gjay from CVS (sorry, the Debian package doesn't include this yet; I also do not know if this works for Windows) has a standalone mode for analyzing. So I wrote a tiny python wrapper which can mass-process files, runs them through gjay, parses the XML output via ElementTree and tags the files with mutagen. So get the dependencies - gjay from CVS, python-elementtree and python-mutagen - then run my script. Or modify it to suit your needs, it's free software. [Yes, I am aware that there are songs which change speed. So what? I'm not expecting the BPM value to be exact, or to apply from the very first bit to the last...]

Next.

Previous.