Search Results: "sf"

15 December 2006

Robert Collins: 14 Dec 2006

So, phone call today went something like this Yeah, I was seriously cranky - after the amount of email spam I cleaned out this morning, it was -not- a good day to be spamming my mobile phone number. I feel somewhat guilty about the abusive (its not my normal persona!) language to the poor shmuck (who sounded like they come from an Indian call centre by accent) whose job it is to spam people, but not very: they are willing to do so - so I dont feel guilty. I do feel quite a sense of satisfaction though : imagine having one of the pharma spammers on the phone - what would you choose to say to them ?

13 December 2006

Uwe Hermann: Free Ryzom Campaign now supported by the FSF [Update]

The Free Ryzom Campaign that I have mentioned earlier is now officially supported by the Free Software Foundation with a donation pledge of $60.000 (which now makes a total of ca. 134.000 Euros together with the contributions by many other people).
The Free Ryzom campaign was established to purchase the online game and universe known as Ryzom, property of the now bankrupt Nevrax company, and release the entire game as free software. As stated by Peter T. Brown, Executive Director of the Free Software Foundation, the FSF considers the Free Ryzom campaign "a high priority project for the free software movement". The aim of the campaign is to publish the source code to the entire game under the terms of the
widely-used GPL, as well as publishing all of the artwork and other content under similar free licenses. The Free Ryzom campaign represents a unique opportunity for the free software movement and the emerging free gaming field. A fully free MMORPG (massively multiplayer online roleplaying game) engine and client/server architecture would allow the development of a myriad of universes, each one evolving its own philosophy and unique content - but sharing in general technical improvements. If successful, this campaign would allow any user to create their own universe and produce their own content based on the Ryzom/Nevrax architecture.
The new goal is now to reach 200.000 Euros in order to increase chances to convince the judge to choose the Free Ryzom project as the new owner of the code and game data.
Pledges must be made within the next few days, since the deadline for the final bid is expected sometime before Wednesday, December 19th, depending on when the judges make their decision.
Good luck to the project! Update 2006-12-14: Fix the numbers (Euro vs. Dollar messup). Thanks Ward Vandewege!

12 December 2006

Biella Coleman: The Moose is On the Loose and a little Usenet History

So I am back to le study of le hackers, trying to write a super-secret paper that I will present in January and then of course I am back with and to my beloved book (which for now has the following title: “Freedom’s Pleasures: Hacker Practice And The Limits of Liberalism” but I am sure it will morph, endlessly). As part of my transition I just finished re-reading one of my favorite articles on the history of Usenet: If I want it, it s OK: Usenet and the (outer) limits of free speech by B. Pfaffenberger (available here for download. When I released one of my dissertation chapters where I addressed the phenomenon of the Cabal, Bryan was nice enough to write me and point me to his article, which also examines the existence of Backbone Usenet Cabal. The artile, which provides just the right mix of history and commentary, analyzes how a free speech ethic came to be valued on Usenet and the ways in which technological and social factors co-mingled to facilitate and dampen the free flow of expression. You are provided with classic Usenet quotes like:
Usenet is like a herd of performing elephants with diarrhea–massive, diffi-
cult to redirect, awe-inspiring, entertaining, and a source of mind-boggling
amounts of excrement when you least expect it. (Spafford, 1993b)
You learn about the early attempts to control spam by the likes of “CancelMoose:”
In 1995, a secret, shadowy figure known as the CancelMoose
devised a spam-canceling program called a cancelbot.”
And then in the end, he provides his challeng to one of the dominant STS theories of the time, SCOT: “It should be noted that this picture is at odds with the predictions of the social construc-
tion of technology (SCOT) theory (Pinch & Bijker, 1987), in which the outcome of a period
of technical controversy is ascribed solely to social factors. Underlying SCOT s dogmatism
is a justifiable aversion to technological determinism, the doctrine that a technology s con-
tent leads irresistably to predictable social consequences a doctrine that is simply the re-
verse of SCOT s insistence on social causation. Two wrongs, as we were taught in kinder-
garten, do not make a right. What we see in the history of Usenet is a contingent outcome
that is shaped neither exclusively by social nor by technical factors, but rather is best under-
stood as a long process in which contesting groups attempt to mold and shape the technol-
ogy to suit their ends sometimes successfully, and sometimes not. They are as likely to be
blindsided by technological developments as they were to succeed in changing the system
to meet their ends. As this article attests, it is one thing to create new technologies with a
coherent social vision, and it is quite another to control the way it grows and develops.” I could not agree with him more. I think what he is highlighting is that if we dip into the historical record, we have instances in which technology can trump the social and vice-versa (and often instead it is a co-mixture), so in the end, understanding the impact of technologies is less about theories of technology and more of a historical question…

MJ Ray: Software Patents: Bad Companies: Novell's Trojan Horse Attacks OpenOffice

I guess it was only a matter of time before Novell did something that seems likely to harm other free software, after their little deal with Microsoft. I'm surprised it came so soon: they have offered to add Office OXML support to OpenOffice. As Georg Greve writes:
"Bob Sutor, IBM's Vice President of Standards and Open Source has written a good analysis why the specification is more akin to a denial of service attack than an Open Standard."
There's more discussion in Georg Greve's wrap-up. See the top of this article on my site for boycott Novell links and so on.

11 December 2006

Amaya Rodrigo: Frustrating toys

I work at the Ministerio de Administraciones P blicas, the MAP. My main task there is to administer an email cluster for something between 8.000 and 10.000 users, based on free software (LDAP, Postfix, Amavis...) which has been pretty fulfilling so far.

The problem they have is a lot of consultants from external companies that come for big or small projects and they know of no easy way of being able to grant enough permissions to achieve certain tasks without giving away the root password and having to change it every other day. I am one of these external consultants, only I am there for a long term project. I have been there for more than a year and a half now, and our contract was just renovated for two more years. This basically means I am doing my job pretty well.

But a couple of months ago, the company I work for, Alanta, agreed with the MAP on me giving a 12h a training session on sudo. After spending 100 hours in preparing my slides on a sudo workshop (spanish only, sorry), starting from file permissions to ssh public-private key pairs, and ending with sudo, a high amount of stress, as I had to work full time as I prepared this in paralel, I bitterly complained to my boss. (That s when the cleaning started, BTW).

So we had a nice lunch in which I was given a 200 EUR 2GB 2nd Generation Silver Ipod Nano. Which is nice, but taking into account that when I worked for IBM as a certified trainer I made something between 24-60 EUR per hour, depending on the subject, and all the material (slides, exercises, TOC and Trainer material) was already done for me, so I just had to prepare and give my lessons, I felt patronized and a bit insulted, even if I did not expect any compensation for this extra effort that really damaged my (mental) health. Getting presents in exchange for hard work doesn t make sense for me, specially when I can hardly make it to the end of the month, constantly being in (small, to be honest) debt.

But you could be making more money, couldn t you? Yes, sure. But at what price? I like the relaxed work environment and the lack of sexism in my current project. I have plenty of spare time, and my life quality is overall great, I can walk home from work, I am not juiced and then disposed of, despite the punctual stressful periods everyone gets every once in a while (which are rare here, at MAP).

And this thing will never run IpodLinux or Rockbox. I feel like I want to throw it out the window. It lacks support for my favourite music file formats, UTF-8 and hangs up more than MS Windows 95.

MJ Ray: National ID Database: Registered with a doctor? Give us your medical records!

As described in a NO2ID newsletter you need to send an opt-out letter to your GP, else all your medical records will be transferred to central government and could be made available to thousands of people who have nothing to do with your medical care.

9 December 2006

Matthew Garrett

The last couple of days have resulted in a number of fun things.

In other news, I hate fruitflies.

Clint Adams: You should learn when to go, you should learn when to say no

Don't blog about me or put any pictures of me online, she said. Why? he asked. Because my stalker will see it, and he gets very angry, she explained.

Gustavo Franco: Amaya and my world.

Amaya, the song you quoted in your previous post (My World) isn't 80s. It was composed by first Guns N' Roses incarnation (Axl, Slash and co) during the Use Your Illusion sessions (90-91) and close the two albums. The history behind the song is that they were on mushrooms after working during all the night in the Live and Let Die cover. Axl wanted to do something quick and they came up with that. The song has nothing to do with Guns and Roses because Axl was into industrial that time and though it was ok close the illusions that way.

While we're at it, the second incarnation of the band successfully toured Europe this year and is right now doing some gigs in USA. From the new material i would recommend: There Was a Time and Better. You can watch proshots from the European leg of the tour everywhere on the web. Have fun!

Amaya Rodrigo: My World

You wanna step into my world
It s a sociopsychotic state of bliss
You ve been delayed in the real world
How many times have you hit and missed?
Your cat-scan shows disfiguration
I wanna laugh myself to death
with a misfired synapse
with a bent configuration
I ll hold the line while you gasp for breath
You wanna talk to me
So talk to me
You wanna talk to me
You can t talk to me
You don t understand your sex
You ain t been mindfucked yet

Let s do it
Oh my disorted smile

I am still so 80s. Quizz: Who wrote this song?

8 December 2006

Steve Kemp: Let me hear you speaking just for me

http://faces.debian.net. A couple of HTML::Template files and a directory of images will be transformed into a series of static pages via a simple Perl script. All images are “public” ones as used upon Debian Planet - ask me and I’ll remove you. If your name / homepage is missing then edit them yourselves in the LDAP database. Opt-in picture uploading will be added when I can get a procmail recipe which validates a GPG signature and saves a single attachment to a directory. Help? The layout is stolen from mentors.debian.net - and I will fix that with a unique style once I get a few hours spare. Volunteers for CSS-fu much appreciated.

7 December 2006

MJ Ray: Burnout

Can't Get No Satisfaction [New York Magazine] is a pretty interestng article on burnout. (Credit to House Of Gyros for the tip.) Not sure that I agree with the view of interference and so on, but I think the observations about "hurry sickness" are interesting. They might be part of the reasons why I travel over land or by mass transport these days, even when alternatives are available: it may seem slower, but it's more predictable, you're not often totally blocked and the blockage doesn't demand all your attention like it does driving a car. Meanwhile, it's currently 25mph winds gusting 50 outside and so far I've seen a 2x3m fence panel go down, and a part-full rubbish bag just blew past my first-floor window... I think the trip into town can wait until tomorrow.

John Goerzen: Saving Power with CPU Frequency Scaling

Yesterday I wrote about the climate crisis. Today, let's start doing something about it.

Electricity, especially in the United States and China, turns out to be a pretty dirty energy source. Most of our electricity is generated using coal, which despite promises of "clean coal" to come, burns dirty. Not only does it contribute to global warming, but it also has been shown to have an adverse impact on health.

So let's start simple: reduce the amount of electricity our computers consume. Even for an individual person, this can add up to quite a bit of energy (and money) savings in a year. When you think about multiplying this over companies, server rooms, etc., it adds up fast. This works on desktops, servers, laptops, whatever.

The easiest way to save power is with CPU frequency scaling. This is a technology that lets you adjust how fast a running CPU runs, while it's running. When CPUs run at slower speeds, they consume less power. Most CPUs are set to their maximum speed all the time, even when the system isn't using them. Linux has support for keeping the CPU at maximum speed unless it is idle. By turning on this feature, we can save power at virtually no cost to performance. The Linux feature to handle CPU frequency scaling is called cpufreq.

Set up modules

Let's start by checking to see whether cpufreq support is already enabled in your kernel. These commands will need to be run as root.

# cd /sys/devices/system/cpu/cpu0
# ls -l


If you see an entry called cpufreq, you are good and can skip to the governor selection below.

If not, you'll need to load cpufreq support into your kernel. Let's get a list of available drivers:

# ls /lib/modules/ uname -r /kernel/arch/*/kernel/cpu/cpufreq

Now it's guess time. It doesn't really hurt if you guess wrong; you'll just get a harmless error message. One hint, though: try acpi-cpufreq last; it's the option of last resort.

On my system, I see:

acpi-cpufreq.ko     longrun.ko      powernow-k8.ko         speedstep-smi.ko
cpufreq-nforce2.ko  p4-clockmod.ko  speedstep-centrino.ko
gx-suspmod.ko       powernow-k6.ko  speedstep-ich.ko
longhaul.ko         powernow-k7.ko  speedstep-lib.ko


For each guess, you'll run modprobe with the driver name. I have an Athlon64, which is a K8 machine, so I run:

#modprobe powernow-k8

Note that you leave off the ".ko" bit. If you don't get any error message, it worked.

Once you find a working module, edit /etc/modules and add the module name there (again without the ".ko") so it will be loaded for you on boot.

Governor Selection

Next, we need to load the driver that tells the kernel what governor to use. The governor is the thing that monitors the system and adjusts the speed accordingly.

I'm going to suggest the ondemand governor. This governor keeps the system's speed at maximum unless it is pretty sure that the system is idle. So this will be the one that will let you save power with the least performance impact.

Let's load the module now:

# modprobe cpufreq_ondemand

You should also edit /etc/modules and add a line that says simply cpufreq_ondemand to the end of the file so that the ondemand governor loads at next boot.

Turning It On

Now, back under /sys/devices/system/cpu/cpu0, you should see a cpufreq directory. cd into it.

To turn on the ondemand governor, run this:

# echo echo ondemand > scaling_governor

That's it, your governor is enabled. You can see what it's doing like this:

# cat cpuinfo_min_freq
800000
# cat cpuinfo_max_freq
2200000
# cat cpuinfo_cur_freq
800000


That shows that my CPU can go as low as 800MHz, as high as 2.2GHz, and that at the present moment, it's running at 800MHz presently.

Now, check your scaling governor settings:

# cat scaling_min_freq
800000
# cat scaling_max_freq
800000


This is showing that the system is constraining the governor to only ever operate on an 800MHz to 800MHz range. That's not what I want; I want it to scale over the entire range of the CPU. Since my cpuinfo_max_freq was 2200000, I want to write that out to scaling_max_freq as well:

echo 2200000 > scaling_max_freq

Making This The Default

The last step is to make this happen on each boot. Open up your /etc/sysfs.conf file. If you don't have one, you will want to run a command such as apt-get install sysfsutils (or the appropriate one for your distribution).

Add a line like this:

devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2200000


Remember to replace the 2200000 with your own cpu_max_freq value.

IMPORTANT NOTE: If you have a dual-core CPU, or more than one CPU, you'll need to add a line for each CPU. For instance:

devices/system/cpu/cpu1/cpufreq/scaling_governor = ondemand
devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2200000


You can see what all CPU devices you have with ls /sys/devices/system/cpu.

Now, save this file, and you'll have CPU frequency scaling saving you money, and helping the environment, every time you boot. And with the ondemand governor, chances are you'll never notice any performance loss.

This article showed you how to save power using CPU frequency scaling on Linux. I have no idea if it's possible to do the same on Windows, Mac, or the various BSDs, but it would be great if someone would leave comments with links to resources for doing that if so.

Updated: added scaling_max_freq info

Jeff Bailey: News Roundup...

In the news:

* Gates approved as new defence head

How's that for frightening? But, no, it's not Bill Gates. =)

* Victoria's Secret catalogue no longer in pulp friction

At Opus a few years ago, there were some folks doing a letter writing campaign to get Victoria's Secret to stop using Caribou habitat wood in their catalogues. It seems that it's now been successful.

In other news, TD Meloche Monnex can't provide a definition of when we will be living in the new place in order for them to insure it. I've done the rounds with two people now to try and sort out whether they'd be willing to insure or not. They can't decide whether us living in the new place is when we're eating and sleeping there or when every last box has moved. They're pretty happy to tell me that it's a grey area. I hear that as a pretty clear "you're screwed if you need to make a claim". Next!

That said, I took some pictures of the place this evening while we were moving some boxes over. We're trying to make this place not look cluttered. Will post them soon.

Also, note to self: Stairs are slippery. Luckily I was near the bottom step when I discovered this. Walking is a bit sore, but still okay. *sigh*

6 December 2006

MJ Ray: Gowers Review

At first glance, the Gowers report could be very good, especially the EUCD (European Copyright Directive, also known as European-DMCA, or "that TPM/DRM crap") changes for 'orphan works' and the fence-sitting on punishment adjustments, but could also be bad with increased numbers of state copyright enforcers and increased use of the confused "IP" jargon (then again, UK Patent Office handles Copyright at the moment, which is confused anyway).
History
Discussion

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

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:

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)

David Welton: OFBiz progress at the ASF

OFBiz passed its vote to exit the "incubator" at the Apache Software Foundation. For those not up on the inner workings and jargon, this means that it should soon (as of the next board meeting) become a regular project at the ASF, like httpd, Tomcat, and so on Si Chen, one of the core team, sums up the whole process here, which is an interesting read for those considering approaching the ASF. Having helped set things in motion via an out of the blue question on their mailing list, I'm pleased to see that things are working out well, and continue to be impressed with the progress they are making, as well as the dedication with which they pursued integration with the ASF (and the bureaucracy that entailed). It would have been nice to use OFBiz where I'm working, but unfortunately that was not to be. In any case, I do glance at the code and data models from time to time, because they encapsulate a lot of good ideas.

Amaya Rodrigo: Amayita in ProzacLand

[Absolutely nothing related in any way to Debian or Free Software here, so you can just skip ahead]

As some of you may be already aware of, I suffer from OCD, in a very mild form. If left untreated for long enough time, in my case it was years, it leads to depression. A good one. You can end up in Learned Helplessness Land, where your closest companion will be your inner voice, constantly criticising you, blaming you for anything that happens, I even used to believe I brought bad luck to the people I was with or met.

I strive for perfection, and the world is not perfect, not everything is under my control, and OCD is just a jail. In my case it is cleaning and re-arranging stuff. My perfectly shiny jail.

Some of my friends think it is so bourgeois that I have a person come clean my house every week. Maybe they do not understand that I can t clean, because I can t stop. The same way an ex-addict can t take $SUBSTANCE_OF_CHOICE. When I get stressed I tend to clean, and when I start cleaning I just don t stop. One stupid example of how ridiculous it can get: doing the laundry in an empty laundry machine so that it is clean inside. I can kill my plants by watering them too much, specially Cactus, dist-upgrading all my machines every morning, and then several more times a day, even if i know there will be no updates available at all.

And while I am doing it, I don t enjoy it. I can t stop, control it or decide anything. I follow very strict rituals, things have to be the right way, following a very complex set of rules that make sense to no one else but me. Well, not even me. But I have to, I don t choose to, and that is where the jail comes from.

I think it all comes from my childhood, in a very chaotic household, at a deeply disturbed family, with an abusive, alcoholic father and a very overwhelmed mother, the only thing I could control in my life was that my room was clean and arranged, as opposed to the rest of the house, and my homework perfect, as opposed to the rest of my life. The same way anorexics feel in control when they let themselves starve to death, because they control the food they eat, their hunger and their bodies.

My father also turned up to be psychotic, manic-depressive, and what not. When my mother finally forced^W helped him to stop drinking, I had this hope that things would be fine, but they didn t really improve. I was eleven. At the beginning it was the drinking, then the mental illness, then the aging, but my worst fear has always been to become him. To do onto others what was done to me. When I was 16 I already knew I would never have kids. I can t even bear to think that I could fuck up the way my family did. I can t even bear the thoughts of passing these genes onto an innocent baby. I specially hate the idea of bringing a new baby into this fucked up world, with so many kids out there so helpless, as myself as a kid, that nobody wants. I would definitely adopt a kid one day, if I was sure I would not repeat certain behaviours on him/her. If a doctor would put it in writing with his own blood.

In 2004, wanting to kill myself, even with a well thought plan and a written unofficial will (who gets my laptop, who gets my clothes, who gets my money, and so on) I went into treatment. Some of you might remember I was kind of MIA at the time. I was on Prozac, tranquilizers, and a year and a half therapy later, I was fine. I was even happy! That was by Debconf 5, after being fired from a job that was hurting me, giving up a 15 years relationship that had become unhealthy for both of us, the death of two very dear friends, and other looses not worth mentioning in this blog post that already gives too much away, I was finally happy. My life radically changed, my jail was almost gone, my fears were under control, I was finally free.

But, recently, a very dear friend of mine got sick, not any near what my father was or had ever been, but I saw myself in a mirror. My worst fears paralyzed me. My inner voice whispered I would end up being him. Again. And again. And some more. So I had to fight my I can do this alone pride, called my doctor and I am back on all the crap that will probably fuck my brain chemistry in the long run, and back on therapy, which is the only resource that will be really helpful for my life. I am not as bad as I once was, and it is going to be much easier this time, but I am scared as hell, because I though this was gone forever. But my friend got sick, and I had a stressful couple of months at work, and (yay!) I started cleaning again.

My physical health is also reflecting what I am going through. I am in a very acute UTI episode. The amount of pills I take in the morning is getting scary now. The pain and the burn are hardly bearable, and I have become unwillingly an early riser. I wake up at 5:30 or 6:00 am, and go to bed somewhere between 8:00 and 10:00 pm. One of the side effects of the painkillers is I can t really focus my sight at the moment, so my computing is painful and limited.

Being unable to concentrate on the computer I engaged in compulsive house improvement.

* I changed every light switch and power outlet in the house without turning the power off. Dangerous? Sure. Am I proud of my new skill? You bet!

* I revamped a very old and crappy piece of furniture I found in the trash. When the lady that cleans for you has a better cell phone than you, and you can t afford new shoes for the winter, you start looking at the stuff other people throw away in a different way. In a very different way.

* I lost ten kilos, and the clothes I wore to Brazil fit again. I am fixing the broken bits, because I can t really afford to get clothes of my new size anymore either.

Some pics of my achievements (some work is still in progress):



You might have noticed my web server is down at the moment. I hope this post explains why I am timing out. My server is called aenima, latin for soul, and quite incidentally.

Next.

Previous.