Search Results: "nate"

23 January 2007

Erich Schubert: DBus inspector

I've been working a bit more on DBus inspector. Python is so much fun and PyGTK just rocks. I love you, guys. :-) Ok, not everything is working right yet. I tried making the app multithreaded, and putting the DBus handling into a second thread, but failed at that so far. Getting threading work right with Python and GTK and DBus is just too much, I guess. :-) Here's a screenshot: DBus inspector screenshot You can grab the code temporarily from this location. It's rather crude, undocumented (fortunately Python code is quite easy to read) and still lacks some interesting parts (e.g. icons to differentiate between services, interfaces, methods, signals, ... and of course actually displaying method signatures or even allowing you to invoke them...) - but it's a start. Note that DBus using applications support introspection at varying levels - NetworkManager doesn't have a useful introspection description, and gaim goes the other way by apparently exposing every single method during DBus, so you can do the craziest stuff (but it's hard to find the method you are actually looking for).

Erich Schubert: DBus inspector

I've been working a bit more on DBus inspector. Python is so much fun and PyGTK just rocks. I love you, guys. :-) Ok, not everything is working right yet. I tried making the app multithreaded, and putting the DBus handling into a second thread, but failed at that so far. Getting threading work right with Python and GTK and DBus is just too much, I guess. :-) Here's a screenshot: DBus inspector screenshot You can grab the code temporarily from this location. It's rather crude, undocumented (fortunately Python code is quite easy to read) and still lacks some interesting parts (e.g. icons to differentiate between services, interfaces, methods, signals, ... and of course actually displaying method signatures or even allowing you to invoke them...) - but it's a start. Note that DBus using applications support introspection at varying levels - NetworkManager doesn't have a useful introspection description, and gaim goes the other way by apparently exposing every single method during DBus, so you can do the craziest stuff (but it's hard to find the method you are actually looking for).

22 January 2007

Ian Murdock: More on the importance of backward compatibility

There were a lot of good comments on my post about the importance of backward compatibility the other day (both here and in the blogosphere), and a lot more of them were positive than I was expecting, which I find encouraging. A fair number of people called me out for using such a bad example—come on, changing the OS to fix a buggy application? Fair enough. Perhaps I diminished the point I was trying to make by referencing that extreme example, but it’s a worthwhile example for one reason: At Microsoft, the user experience comes first, notbefore developer sensibilities. Fortunately, as others (rightly) point out, it’s hard to imagine a situation where such extremes would be necessary in the Linux world—for one thing, we don’t have the sheer number of legacy binary applications to deal with, nor do we have the same volume or average user profile as Windows. But the point stands. User experience should always win. If you want another example, one from a company who any developer would agree is an outstanding engineering organization, here’s one: “Sun has maintained binary compatibility between operating system releases for nearly a decade, enabling existing Solaris applications to run unmodified on Solaris 10. This means that Solaris applications developed ten years ago will run on Solaris 10 unchanged, taking full advantage of new and advanced Solaris features.”

Evan Prodromou: 1 Pluvi se CCXV

I managed to miss the Igloofest by Piknic lectronik this weekend, which was kind of a bummer since it seemed like it would be such an awesome event. But with a downturn in the temperature -- another -20C day yesterday, with wind chill bringing it down to -28C -- it was just too hard to justify bringing a 1-year-old to an outdoor event. We did manage to do some fun things this weekend, anyways. Saturday was our first day house-hunting. We're planning to buy an apartment or condo in the Plateau Mont-Royal this year, before July 1. July 1 is the traditional Moving Day in Quebec -- the day that every renter in the province either renews their year-long lease or moves to a new apartment. We're going to move out of Renterhood this year altogether, and get into the fun of home ownership. Wish us luck. Anyways, we saw a great place this Saturday, and we plan to do some more house hunting over the next few weeks. We're going to make a decision about whether to stay in our current apartment or not before March 1, when we begin our big road trip down to Austin for South by Southwest. tags:
 

Bruncher This afternoon we had a great bruncher with friends at our (current) apartment. We invited over Jeremy and Lina and their two girls Syvlie and Clea, who arrived at our door like an advertisement for a skiing school. I love talking to the girls -- they're really smart and sweet people. We also had over Maj's friend Emmy and her husband Stef, as well as their daughter Isadora. Emmy is originally from Oaxaca (city), and Stef is German. They moved here a few months ago, and Maj and Amita June met Emmy and Isadora at their playgroup. This was the first time I met Stef; I got to use my German introduction lessons for this week on him. Guten Tag! Ich hei e Evan! Freut Mich! Isadora speaks Spanish with her mother and German with her father. She'll grow up bilingual, but unfortunately not speaking either of the languages of the bilingual city she's living in. My guess is that she'll probably be pretty expert at four languages by the time she's 10 or so. Maj cooked today, and made a really great smoked salmon gratin, white bean vegetable soup, and hors d'oeuvres. I put together a green salad to round it out. We opened up a couple of bottles of crispy vinho verde and had a very nice afternoon time. The kids got along great; Sylvie and Clea are several years older than Amita and Isadora (one day apart!), but they were really gentle and nice with the little ones. tags:

John Goerzen: We're Home

We had some wonderful weather yesterday. I've always said that I like snow. It can completely change the landscape in an instant. And it looks so beautiful.

Yesterday we had a nice snowstorm all day. Large, wet flakes. It was the most snow we've had at once in a few years right around here. It was beautiful just like always. It started early in the morning before we got up and continued until almost midnight. This morning, I went out into a big open area and measured the snow -- 7.5".

There are two problems with snow. One is that it's difficult to get anywhere. The other is that it blows into everything.

And guess what -- yesterday was our moving day.

Fortunately, on Friday evening, most of the furniture that needed to go in a pickup did. But we still had to wrap some things in plastic on Saturday. We didn't get everything moved that we wanted to. Between icy ground outside, travel at less than half the usual speed on the roads, and snow blowing everywhere, things were slow. But that's fine; we'll get the rest later.

This was the scene during the move:



Not long after that picture was taken, it was announced that church was canceled today. We kept moving things though.

Although we didn't get everything moved that we had hoped to, we got enough moved to consider ourselves moved in. We have one fully-functional bathroom. Jacob's bedroom and our bedroom are done. The kitchen will get its floor Monday and we'll get appliances Thursday. The only big thing left is guttering, plus there are still a few doorknobs and light fixtures pending. But it was enough that the three of us spent our first night here last night!

We're very appreciative of the help we got from family & friends, who helped us move and brought us food (since we don't have a fridge for the next few days).

Jacob doesn't like change very much (he cried when he noticed that some clutter in our apartment living room was gone). But he likes to learn about his environment. So today, he woke up at 6AM (and got us up at 6AM), spent an hour happily looking around, then promptly started fussing. That's how the day has been for him -- interest and crying.

At about 7:30AM, we were shocked to see a road maintainer plowing our road. Why shocked? Well, nobody else lives on this road for a couple of miles. It's not exactly a popular spot. And it hadn't been in all that great of shape before winter.

Later in the day, I went out to take some pictures. Here's one of our driveway:



Doesn't it look fun?

I decided to see if we could get out. The short answer is yes. The long answer is "yes, if you have patience." After rocking the car back and forth to get it turned around in the yard, I was able to keep up enough speed to get to the road and back. So Terah and I had lunch with my parents, then went into town to get another carload of stuff. There were children out playing everywhere, and well-worn sledding paths down hillsides. Too bad Jacob isn't old enough to enjoy this!

It was last April when we first started thinking about this. By June we had bought the property out here, and in October we moved to the apartment. It's been a long time feeling like we were living somewhere temporarily.

And, right now, it is great to be home.

20 January 2007

Julien Blache: Once again, XFS saves the day

The server hosting this blog just suffered what can only be described as catastrophic hardware failure, thanks to the crap that are Maxtor hard drives, Dell CERC 1.5 RAID controllers and the Linux driver for those (aacraid). So, the machine got shut down for a moment on thursday night, just the time to move the rack around in the datacenter, and one of the disks did not come back in one piece. But it did come back online after a reboot, prompting an array rebuild by the controller which took 12.5 hours for 250 GB (RAID 1). And the drive failed again 10 minutes after the rebuild was completed, confusing both the controller and the driver. At that point I could still log into the machine, but any command would trigger nice I/O errors all over the place. Fortunately, the FS got shut down by XFS automatically on I/O errors and I haven’t lost a single bit of data. The machine came back just fine with the faulty drive removed. And you thought a RAID controller would help in this case. Obviously this one doesn’t. I need to mention that we’ve observed this behaviour on another machine before this incident, we have another machine suffering from a faulty drive in just the same way, so this isn’t an isolated case and it’s reproducible.

19 January 2007

Daniel Baumann: Package Maintenance

For the nearly last 3 years, I was investing all of my spare time into maintaining packages in Debian. I tried to do it as good as I can. However, since about half a year, I got constantly flamed purely for the fact of having about 150 packages in the archive. I never have expected to get any positive feedback or even something like a thank, we all are doing our Debian work on a volunteer basis, because we are able to do it and especially because we want to do it. I can even life with it, when people like to only point to the single two not good things I ever did, reducing me to them to make me look bad, and I also accept that some people are not able to forgive as I do, to forgive when others are making uniquely (unimportant) failures. Today, I decided that I do not longer have the energy to resist those people and to give up that struggle now. In the next few days, I am changing my commitment to Debian by orphaning about the half of my packages. I hope that at least those people who are constantly against me no matter what I do, are confident know: You are the winners and I have failed. Fortunately, I am completely unimportant for Debian and thus easy replaceable by any random other human beeing. I am looking forward to see better times now, having more time for Debian Live, where the fun is, and where the people all are friendly and respectful towards each other.

MJ Ray: Debian: Fun with no builder 4: pbuilder fans to the rescue

Sven M ller commented:
"Well, if pbuilder slows you down too much, perhaps cowbuilder is the right one for you. I haven't tried it myself yet, but it is supposed to eliminate the worst delay pbuilder introduces: The unpacking of the base.tgz minimal chroot archive."
Nelson A. de Oliveira asked:
"Have you tried cowdancer + pbuilder? It makes creating packages really fast (there is no more need to uncompress the tarball, for example)."
I looked for cowbuilder, but there's no package called that, so I was quite glad for the second comment. I'll backport cowdancer and give it a go. Thanks!

18 January 2007

Christine Spang: SIPB IAP Debian Class Slides

One of the student groups I’m involved in at MIT is the SIPB, the Student Information Processing Board. It’s a volunteer computer group so old that they called it “information processing” back then. They run a bunch of different servers and provide lots of cool services for the MIT community. One of the things that they do is teach classes about various things related to computing during IAP, MIT’s Independent Activities Period. So back when I had just gotten started with the group, one of the members was like, “Hey! You want to teach an IAP class!” and, being a frosh, I was like, “Er, I didn’t know that… but, um, okay.” So I taught one about Debian, of course. This year’s topic was Giving Back: Contributing to Debian and the New Maintainer Process. It was a three-day series, as described here. The lengths of the talks varied, with the first day being ~45 minutes, the second being ~1.5 hours, and the last being ~30 minutes. All of the lecture materials can be found here. The audience was on the high side of technical, and a lot of the slides were more to nudge me into what I was talking about rather than to be really awesome slides. Which probably should have involved less text. The packaging crash course definitely drew a much larger audience than the first or third parts, which mostly consisted of people I know who work on Debian-Athena, the unexpected appearance of my friend Aaron Swartz who’s in town for a couple weeks, and a few faces that I didn’t know. Maybe next year I’ll try to plan something that just involves a more intensive packaging course. Because, although I procrastinated, pushed the original lecture dates back a week from original plan, and made my lecture slides on the day they were presented, I actually did have fun. And it’s good practice.

17 January 2007

David Welton: Clockwork languages

Steve Yegge posts an article about this that, the other thing, and statically typed functional programming languages. In it, he compares Haskell to something you can:
"build beautiful, lithe marionettes with"
Unfortunately, I haven't had the time or inclination to learn Haskell (yet), but I have used Erlang professionally, so I do have a bit of experience using a functional programming language. What comes to my mind isn't marionettes, but clockwork. That's a purposefully neutral word, in case you were wondering. An enthusiast might say "a finely crafted swiss watch", and a detractor might grumble "a windup toy". In my mind's eye, the concept is that in functional languages you get this succession of things happening one after the other that happen precisely the same way, if the program is wound up just the same each time. To paraphrase:
Do this with the result of this with what this produces when given  
this input that is derived from this function which takes the  
result of this other thing after calculating the result of 
something that is derived from the output of a function that ...
And so on and so forth...tick, tock, tick, tock. While I can appreciate that in some ways, this is likely to produce clean programming, in other ways I am less convinced of its practicality. If you'll bear with a poor comparison, sometimes programming is like a song. You do the tricky section, then you go back to an easier section and catch your breath for a bit. That seems to work out in a language like Ruby or Java fairly well, depending on how densely you like your code. You get sections with DoThisAndThisAndThatWithTheResultsOfSelectThisFromTableXYZ that you have to slow down to think through. And then: GoToTheNextTrickyBit where ManyThingsHappen. All in all, you wind up with a sort of ebb and flow that works out pretty well if you're in tune with the code being written, going from intense calculations, to a line or two where you do no more than store things in a variable, take a breather, and prepare for the next important stanza. In my limited experience, I have to say that I didn't always get that sensation from Erlang (which in some ways is apparently less "hair shirt" oriented than Haskell). You always had to be writing something with an eye to where it was coming from, and where it was going. Without a doubt, this produces code that is more compact in terms of meaning and functionality, but at times it leaves a guy like me, who grew up with Basic, C, Python, and so on with the desire to say "woah there, nelly", let's take a breather and sort things out a bit in a few variables before moving on to the next bit of fancy code gymnastics. What I'm curious about is what will catch on from academically oriented programming languages like Haskell. The people working on them are without doubt very smart, and there are some interesting concepts being bandied about (pattern matching is pretty cool, just to cite one). But academia doesn't always produce things that catch on with the average Joe programmer, either, and while the more elitist out there may attribute this to simplistic reasoning such as 'well then Joe is just stupid', I think that the more thoughtful language crafters will attempt to ascertain what works, and what doesn't, and perhaps we will see the Ruby of functional languages emerge from Haskell, the Smalltalk of functional languages. What do you think?

Daniel Burrows: Cuckoo!

The most unique Christmas present I got this year was the cuckoo clock from my father's parents. There's something very cool about mechanical clocks that work by means of weights and gears instead of electronics: when the cuckoo goes off, you can actually watch energy being transferred from the weight to the cuckoo device, as the weight that powers it drops precipitously!

Unfortunately, the clock seems to lose about half an hour every twelve hours. Does the Lazyweb know any techniques for getting mechanical cuckoo clocks to keep better time? I don't mind resetting it once a week or so, but twice a day is a little excessive.

Martin F. Krafft: Stuff I forgot to pack

After an amazingly stressless journey [0], I've arrived yesterday evening in Limerick and met Daren and Mel, two alumni of UL who let me move into a spare room in the house they're renting. To be exact, Mel actually lives next door, but who cares about details. After a bit of unpacking, we headed for the pub and returned for an extensive session of Guitar Hero on the Playstation II, which is a truly fun and excellent game.
[0]

I brought my bike along, for transport and exploring. This involved packing a bit of extra stuff, borrowing a friend's Tranzbag, arriving early at the airport to get it boxed to ensure a safer journey, picking it up in Dublin, and somehow getting it to Limerick, where I'd have to reassemble it. I wasn't really looking forward to the trip. It turned out to be stressless, as I said. The boxing cost me 10 Franks at the airport and was completed in less than 5 minutes, nobody at the check-in counter said anything, as if it was the most normal thing for them to check in bikes, some dude retrieved the box in Dublin and placed it on my cart, and while I was waiting, I found out that I wouldn't have to hop on a coach (bus) to go to the Dublin train station, catch a train to Limerick, and then finish the last mile in a taxi: a bus operates fairly regularly directly from Dublin airport to Limerick, taking four hours for the journey. That's about how long it would have taken me via the train station, but I only had to pay 19 the train itself would have been 25 , plus the taxi charges.

The coach driver was curious when he saw the box, but I didn't have to pay extra, and after watching Airport on my laptop and listening to the new Katatonia album, I found myself with my bag and the bike next to the university's main entrance, with Mel and Daren on the way to pick me up. Five minutes later, I was in my home-to-be-for-five-weeks.

I dropped into bed at around 4am and promptly overslept the next morning, then decided to use the day for errands, hitched a ride from Laura (the stressed-out Skynet president and Skycon organiser) to an excellent nearby bike store where I reassembled the bike, got myself a lock (see below) and a mud guard for the front wheel, then headed off for the campus bank to open an account, rode back and forth between the Lero building and the bank to satisfy their bureaucratic thirsts and finally obtained the details for my very own Irish bank account. And I squeezed a bit of grocery shopping in between. Meeting Brian (my supervisor) in the hallway, we agreed on a meeting on Monday, so the remainder of this week is for finishing the various proposals and papers on my to-do list, preparing for the meeting by getting back to speed with my research, as well as getting to know the local party crowd exams are about to end in Limerick and I've been told to have picked quite an excellent time of year for my visit because the university will become a mad house this weekend. We'll see how compatible those tasks are, but boy am I glad that I am not living anywhere near the student villages, or as I put it last night: I don't mind going to parties, but if the party comes to where I am, I'd rather not have it be every night. So this would bring me to the title of this post: stuff that I forgot to pack:
  • A second sweater, it's pretty cold here and I don't want to be wearing the same sweater every day (even though it's merino wool and thus woudn't start to smell).
  • A pair of windcheater gloves, the thin wool ones I have aren't exactly made for cycling.
  • Rain trousers to wear over my regular pants. It's raining and wet and the light colours of the pants I am wearing are a high-contrast basis for the mud.
  • My bike's lock key. Fortunately I left it unlocked, but still had to go out and buy a new lock (which was more painless than having the key sent here).
  • Comfy sneakers for home use, as it's too cold to just be wearing socks.
Due to popular request, I shall be back here with pictures of my surroundings one of these days. NP: I Love You but I've Chosen Darkness / Fear Is on Our Side

15 January 2007

David Nusinow: It's Not A Crisis Until The Java Guys Actually Take Over

Lately I keep seeing people talking about a "crisis" in the ruby community due to the fact that rubinius, jruby, and YARV are all being written. There seems to be some subtle hand-wringing under the covers about divergence between these implementations. The ruby language is in pretty solid form, with a few little problems that should be cleaned up for the 2.0 release, so I don't think it's very likely that any divergence will be particularly damaging.

More importantly though, I think it's a sign that ruby is alive and well, given that there's three different projects that are working to provide an improved implementation for a language that was largely ignored until two or three years ago. Plus the benchmarks for YARV (which was just merged to the ruby trunk) look pretty hot.

Unfortunately for the doomsayers, most of what I've heard and read from the actual ruby community about all three of these projects has been a giant ball of excitement. I think it's really sweet that we'll have ruby running on the JVM, on a sexy Smalltalk style VM, and also a significantly sped up classic interpreter. Now all I want for Christmas is more time to actually write the rails site that's been pounding away inside my head like Athena.

Enrico Zini: latex-beamer

Some latex-beamer tips Using with source-highlight source-highlight's latexcolor output uses colors that are not available in latex-beamer. Normally one would have to include them with \usepackage[usenames,dvipsnames] color , but under latex-beamer it does not work. One solution is to include the relevant colours from /usr/share/texmf-tetex/tex/latex/graphics/dvipsnam.def:
%% For source-highlight's output
% This unfortunately does not work
%\usepackage[usenames,dvipsnames] color 
% Therefore, I will copy them from /usr/share/texmf-tetex/tex/latex/graphics/dvipsnam.def
\DefineNamedColor named Blue            cmyk 1,1,0,0 
\DefineNamedColor named BrickRed        cmyk 0,0.89,0.94,0.28 
\DefineNamedColor named Brown           cmyk 0,0.81,1,0.60 
\DefineNamedColor named ForestGreen     cmyk 0.91,0,0.88,0.12 
\DefineNamedColor named Purple          cmyk 0.45,0.86,0,0 
\DefineNamedColor named Red             cmyk 0,1,1,0 
\DefineNamedColor named Black           cmyk 0,0,0,1 
\DefineNamedColor named RoyalBlue       cmyk 1,0.50,0,0 
After this is done, including a source is just a matter of:
# In the shell
$ source-highlight -f latexcolor filename.ext
# In the latex-beamer frame
\input filename.ext.tex 
Proportional columns In the latex-beamer documentation I have only seen columns with fixed sizes. \textwidth luckily works:
\begin frame 
  \frametitle Correzione dei compiti 
  \framesubtitle Il programmino da Fortran. 
  \begin columns 
  \column .5\textwidth 
   \tiny
  \input fortran/01-inizio.f77.tex 
   
  \column .5\textwidth 
   \tiny
  \input fortran/02-inizio.py.tex 
   
  \end columns 
\end frame 

Russell Coker: top 10 girl geeks

We have a list of 10 (famous) girl geeks from CNET and one from someone else.

The CNET list has Ada Byron, Grace Hopper, Mary Shelly, and Marie Curie. Mary Shelly isn't someone who I'd have listed, but it does seem appropriate now I think about it. Marie Curie is one of the top geeks of all time (killing yourself through science experiments has to score bonus geek points). I hope that there are better alternatives to items 4, 7, 9, and 10 on the Cnet list.

The list from someone else has 9 women I've never heard of. If we are going to ignore historical figures (as done in the second list) but want to actually list famous women then the list seems to be short. If we were to make a list of women who are known globally (which would mean excluding women who are locally famous in Australia, or in Debian for example). The only really famous female geek that I can think of is Pamela from Groklaw.

The process of listing the top female geeks might have been started as an attempt to give a positive list of the contributions made by women. Unfortunately it seems to highlight the fact that women are lacking from leadership positions. There seem to be no current women who are in positions comparable to Linus, Alan, RMS, ESR, Andrew Tanenbaum, or Rusty (note that I produced a list of 6 famous male geeks with little thought or effort).

Kirrily has written an interesting article on potential ways of changing this.

14 January 2007

Erich Schubert: More on DBus

I was asked how I found out about the proper DBus signals etc. - well, that was the difficult part. DBus is supposed to allow introspection (I guess the dbus-browser that used to exist was using that), but not all appications provide this information. So often you have to browse some applications source code to find the appropriate values. For NetworkManager, I read to source of the gnome applet to locate the "wake" and "sleep" calls. For Gaim, I was reading the gaim source code. If you are lucky, Introspection could do the trick for you. Just fire up Python and do e.g.:
import dbus, dbus.glib
sysbus = dbus.SystemBus()
nm_obj = sysbus.get_object('org.freedesktop.NetworkManager',
                        '/org/freedesktop/NetworkManager')
nm_obj.Introspect()
which result in something like this:
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <node name="Devices"/>
  <node name="VPNConnections"/>
</node>
... which unfortunately doesn't seem to be complete, but a hard coded pre-alpha reply to the Introspect() call. Maybe that's why the dbus browser has disappeared?

Manoj Srivastava: Mail Filtering with CRM114: Part 3

Uphold, maintain, sustain: life in the trenches Now that I have a baseline filter, how do I continue to train it, without putting too much of an effort? There are two separate activities here, firstly selecting the mails to be used in training, and secondly, automating the training and saving to the mail corpus. On going training is essential; Spam mutates, and even ham changes over time, and well trained filters drift. However, if training disrupts normal work-flow, it won't happen; so a minimally intrusive set of tools is critical Selecting mail to train filters There are three broad categories of mails that fit the criteria: 1. Misclassified mail This is where human judgement comes in, to separate the wheat from the chaff. 2. Partially misclassified mail This is mail correctly classified overall, but misclassified by either crm114, or spamassassin, but not both. This is an early warning sign, and is more common than mail that is misclassified, since usually the filter that is wrong is wrong weakly. But this is the point where training should occur, so that the filter does not drift to the point that mails are misclassified. Again, the mlg script catches this. 3. Mail that crm114 is unsure about This is Mail correctly classified, but something that mailreaver is unsure about -- and this category is why mailreaver learns faster than mailtrainer. Spam handling and disposition Spam handling schema. At this point I should say something about how I generally handle mails scored as Spam by the filters. As you can see, the mail handling is simple; depending on the combined score given to the mail by the filters. The handling rules are: So, any mail with score less than 15 is accepted, potentially after grey-listing. The disposition is done according to the following set of rules: In the last 18+months, I have not seen a Ham mail in my realspam folder; chances of Ham being rejected are pretty low. My Spam folder gets a ham message every few months, but these are usually spamassassin misclassifying things; and mlg detects those. I have not seen one of these in the last 6 months. So my realspam canary has done wonders for my peace of mind. With ideally trained filters, spam and realspam folders would be empty. mail list grey I have created a script called mlg ("Mail List Grey") that I run periodically over my mail folder, that picks out mails that either (a) are classified differently by spamassassin and crm114, or (b) are marked as unsure by mailreaver. The script takes these mails and saves them into a grey.mbox folder. I tend to run them over Spam and non-Spam folders in different runs, so that the grey.mbox folder can be renamed to either ham or junk, in the vast majority of the cases. Only for misclassified mails do I have to individually pick the misplaced email and classify it separately from the rest of the emails in that batch. At this point, I should have mail mbox folders called ham and/or junk, which are now ready to be used for training either crm114 or spamassassin or both. Processing these folders is the subject of the next article in this series.

Amaya Rodrigo: Dreaming of Debian Land

I have Dreams I would be embarrassed to admit in public... that suddenly are not so embarrassing anymore!

I dream of winning 1 million Euros in the lottery, starting a Debian Foundation, buying a whole building in the best area of Madrid, making myself a nice home in the attic, with a huge terrace for Vi and Jazz, and having the Debian headquarters there. With that amount of money it would either be the Foundation or the building... So it really is wishful dreaming.

But sometimes I let this dreaming go on further, and I dream of winning more money, buying a whole island, starting a new country there, and calling it Debian Land, getting all DDs a Debian Passport, sponsoring their holidays with their families there, in the Debian Island, with great Internet connection, sun and wonderful beaches, so that they can gather, without waiting for Debconf, or just enjoy a break.

I learnt yesterday that The Micronation of Sealand is for sale and that the people behind The Pirate Bay want to buy it: With the help of all the kopimists on Internets, we want to buy Sealand. Donate money and you will become a citizien.

So I guess I am not the only one who dreams of starting a country where one can be really free. And Sealand is so close to the Debian Developer Centre of Mass... it s so tempting...

They even have a Plan B: If we do not get enough money required to buy The Micronation of Sealand, we will try to buy another small island somewhere and claim it as our own country (prices start from USD 50.000). That s exactly what I was dreaming of, and it doesn t sound so stupid anymore.

I just need to be more constant in my lottery playing, and have some faith.

13 January 2007

Adam Rosi-Kessel: Lawyer Bashing: Bad Politics?

The New York Times reports that the Pentagon has gone on the offensive against the pro bono attorneys representing Guantánamo detainees. Although there is a lot to criticize in U.S. detainee policy, these attacks represent a new low:
The senior Pentagon official in charge of military detainees suspected of terrorism said in an interview this week that he was dismayed that lawyers at many of the nation’s top firms were representing prisoners at Guantánamo Bay, Cuba, and that the firms’ corporate clients should consider ending their business ties. … The same point appeared Friday on the editorial page of The Wall Street Journal, where Robert L. Pollock, a member of the newspaper’s editorial board, cited the list of law firms and quoted an unnamed “senior U.S. official” as saying, “Corporate C.E.O.’s seeing this should ask firms to choose between lucrative retainers and representing terrorists.” In his radio interview, Mr. Stimson said: “I think the news story that you’re really going to start seeing in the next couple of weeks is this: As a result of a FOIA request through a major news organization, somebody asked, ‘Who are the lawyers around this country representing detainees down there?’ and you know what, it’s shocking.” The F.O.I.A. reference was to a Freedom of Information Act request submitted by Monica Crowley, a conservative syndicated talk show host, asking for the names of all the lawyers and law firms representing Guantánamo detainees in federal court cases. Mr. Stimson, who is himself a lawyer, then went on to name more than a dozen of the firms listed on the 14-page report provided to Ms. Crowley, describing them as “the major law firms in this country.” He said, “I think, quite honestly, when corporate C.E.O.’s see that those firms are representing the very terrorists who hit their bottom line back in 2001, those C.E.O.’s are going to make those law firms choose between representing terrorists or representing reputable firms, and I think that is going to have major play in the next few weeks. And we want to watch that play out.”
Perhaps the worst part is the following statement, which as best I can tell has no basis in truth:
When asked in the radio interview who was paying for the legal representation, Mr. Stimson replied: “It’s not clear, is it? Some will maintain that they are doing it out of the goodness of their heart, that they’re doing it pro bono, and I suspect they are; others are receiving moneys from who knows where, and I’d be curious to have them explain that.”
Deval Patrick, the recently-elected governor of Massachusetts, endured similar attacks for his work representing criminal defendants. Fortunately, that strategy backfired and Patrick was elected in a landslide. Although others in the administration have attempted to distance themselves from Stimson’s comments (including the Attorney General), the suggestion that large corporate clients should boycott these attorneys as punishment for representing detainees remains disgusting. The right to counsel is not a political issue. You could hold the unlikely belief that each and every Guantánamo detainee is a confirmed terrorist and still advocate for fair treatment. These attacks represent a new brand of McCarthyism. I hope that this strategy is as unsuccessful nationally as it was in Massachusetts. It strikes me that attacking the partners of some of the largest firms in the country is also bad political strategy. These attorneys are the type of people who may be major campaign donors and well-connected in both parties. I would think twice before attempting to vilify them. They are unlikely to drop their representation (and might be ethically barred from doing so) in light of these statements. If anything, I suspect their determination to ensure the detainees are accorded due process will intensify. Update: abovethelaw.com speculates that this may be an intentional good cop/bad cop strategy.

12 January 2007

Mike Hommey: Playing evil with VMWare ESX Server, part 3

For a reminder of the situation, see also: I finally had time at work to implement a solution for the problem. The result is a bit less than 400 lines of code, which I hope to be able to make free-as-speech. I’ll probably have tons of paperwork to do with my employer before that can happen… The program implements a fuse filesystem that you feed with a raw device image file (but I’m willing to implement more image file formats), and that shows the individual partitions as separate files, named “partn.fstype“. These files can then be mounted via loopback devices the standard way (which was not possible on vmfs for the reason you can find in my first post on the subject), with the benefit of not requiring offset adjustments (as when you want to mount partitions from a disk image), or some loopback device hack. Additionally, it has an internal Copy-On-Write mechanism so that it is possible to mount “dirty” ext3 filesystems (e.g. a snapshot of a mounted filesystem) without modifying the original disk image. Note that there is no way, yet, to keep these writes after unmounting the fuse filesystem. It uses libparted to handle the partition table reading, which means it will read any disk label types parted supports, such as BSD labels, sun partition tables, and so on. It doesn’t support LVM, though. Unfortunately, VMWare ESX server 3.0 being based on RedHat Enterprise Linux 3, only an ancient version of libparted is available. By the way, this version (1.6.3) had a pretty bad bug that made it impossible to use it for regular files instead of devices: it was trying to do a BLKGETSIZE (or was it HDIO_GETGEO ?) ioctl on it. To workaround this, I implemented my own PedArchitecture. It was somehow a revelation, because with similar mechanism, I can implement support for different disk image types :). Anyways, there have been quite some API changes in-between, so some updates will have to be done to the code… In other news, I started working on ext3rminator again. There may be a new release in a few weeks. Update: Thinking again about the ioctl issue, I’m wondering if vmfs couldn’t be responsible (again) for the failure, actually… I’ll check that on monday.

Next.

Previous.