Search Results: "ag"

5 April 2009

Vincent Fourmond: HADOPI: a great blow to freedom of expression and justice in France

Here I am, utterly disgusted. Last Thursday, around 11pm, two dozens of members of Assembl e Nationale (one of the two parliament chambers in France) voted the infamous law nicknamed HADOPI. Great... For the record, this chamber in principle counts 577 members. This law is an awful blow to the Internet, the freedom of expression and the legal system in France. The official aim of this law is to put a stop to illegal file-sharing within France. With this law, specially appointed private companies will file accusations saying: this IP downloaded something illegal at this date to a central authority, and this authority will send two warnings before cutting the Internet connection of the alleged illegal downloader for up to a year. You will notice that there is no mention of what the incriminated person allegedly downloaded. There will be no possibility of appeal until the sanction is executed. This scares the hell out of me. This spits upon so many aspects of the French legal system that it is honestly impressive... What about the French principle that says that everyone is innocent until proven guilty ? Here, you are declared guilty based on a rather weak evidence (on IP address !), and you'll have to prove your innocence. What about the principle that there needs to be a fair trial before the execution of the sanction ? You'll have to prove you are innocent after the execution, with the additional fun that it will turn almost impossible to prove it. Not to mention the fact that the companies harvesting IP addresses of alleged offenders will have a great deal of access to data you're exchanging; what about privacy ? For the record, this privilege, violating the way justice works in France, had only ever be granted to anti-terrorist cells. The fun thing is that this law is useless, at least in terms of the its official goal: the day it comes into application, illegal file sharers will encrypt their exchanges or fake their IP addresses, or do whatever else they might want to do to guarantee their anonymity, and no company will ever be able to find out what it is they exchange. I won't even mention the number of false positive of these automatic accusations: many innocent French web surfers will have their connection cut without ever knowing why and without any possibility to fight back. So, what is the real goal ? Or what will be the use ? I can only speculate, of course, but it is tempting to think that this law could be used to regulate what is being expressed from France on the web. Someone is saying disturbing things ? Well, easy to shut him/her up: either fake downloads from his/her IP address or bribe a company into filing false accusations, and you'll effectively remove his/her connection while having the opportunity to further discredit the person by publicly disclosing that he/she is such a pirate that their connection was cut... Sounds neat, doesn't it ? In my childhood, teachers kept on saying that France is the country of human rights, but I can't help thinking this is less and less the case[1]. Well. That was a long rant. But I can't keep it inside: this is touching me too much. I'll add that I'm not downloading anything, and I don't have anything a priori against laws which would tend to regulate illegal file sharing. I just don't think that the (small) profits of a few justify spitting upon the freedom and the elementary rights of all people living in France. Further information, in French, can be found there. The full text of the project can be found on the website of Assembl e Nationale. [1] Please don't get me wrong. There are many countries where life is definitely more difficult than here, and where human rights are constantly scorned upon, which is fortunately not the case here yet.

Andrew Pollock: [debian] DHCP package futures, the braindump

Now that Lenny is released, I've got some time to go to town on the ISC DHCP packages. The first thing I want to do is get DHCP 4.1 uploaded. Unfortunately, this first requires a bunch of transition work, and the associated coordination that goes with it. This post is an attempt to marshal the stream of consciousness and come up with a plan... Problem #1: everything has 3 in it The packages themselves need to lose the 3 everywhere. The source package is dhcp3. That seems kinda retarded if its DHCP 4.1.0. The binary packages all need to loose the 3 as well. apt-cache rdepends dhcp3-client tells me I'll need to reach out to the maintainers of the following packages:
avahi-autoipd
wifi-radar
synce-hal
rutilt
rootstrap
resolvconf
nfsboot
lxnm
laptop-net
ifupdown
education-desktop-other
dhcdbd
bpalogin
avahi-autoipd
Obviously I can keep the old packages around for a while for transitionary reasons. The 3's also persist in various directories provided by the packages: /etc/dhcp3, /var/lib/dhcp3 apt-file search /etc/dhcp3 tells me I need to reach out to the maintainers of the following packages:
avahi-autoipd
debian-edu-config
debian-installer
dhcdbd
fai-doc
fai-nfsroot
ntp
ntpdate
resolvconf
samba-common
sendmail-base
whereami
Obviously I can keep some compatibility symlinks around for a transition period. Problem #2: the names themselves Is it right to monopolise the name "dhcp-client" or "dhcp-server"? I tend to think not. So should I rename the source package to "isc-dhcp" and prefix all of the binary packages with "isc-"? I think this would cleanly address #520842 and the fact that there's apparently supposed to be a "dhcp-client" virtual package. Problem #3: dhclient-script is old and crufty This is less pressing, and less packaging related, but the dhclient-script we ship now is Debian-specific. There is room for optimisation, and there are better ways to implement the script so it's more externally customisable. I'd also dearly love to switch over to using iproute for everything possible. This brings us to the game plan, which I think I'll write in a future post after I've meditated on the problem a bit, now that I've finally written it all down...

John Goerzen: Grandma Update

I ve written twice recently about my grandmother s failing health. Yesterday, she was taken to the hospital due to severe pain. After many hours of tests, I believe her current diagnosis are: pneumonia, congestive heart failure, diabetes, gangrene in the gallbladder, and nonketotic hyperosmolar coma. She is able to hear and to see, but can t eat, drink, or talk. She can communicate a bit in other ways though. She has made it well known over the years that she doesn t want heroic measures to be taken to try to save her life in a situation like this. At this point, her treatment is focusing on making her comfortable, and she probably has a few days to maybe a week or two of life left. I went to visit her today. I walked in to her room, and she was visibly worse off than she had been a week ago. I said Hi Grandma as I went to her bedside. She with effort turned to look at me and managed to say hi back. Apparently that was the first word she said all day. She was clearly in pain, sometimes grimacing from it. It was hard to see, but I am glad I got to be with her. She wanted to hold my hand, and I sat by her bed for quite awhile doing just that. Sometimes my mom would comment that we all love each other, and I d see grandma nod, or she d give my hand an extra squeeze. My brother and his wife showed up just as I had to leave. Grandma said hi to them too, and gave them a little wave. I said goodbye as I left, and she was able to look at me and understand what was happening. I don t know if that will be the last time I ll say goodbye or not. They seem to have found better ways to treat her pain by this evening, and she is resting comfortably by now. If her condition stays like this, she will probably be moved back to her nursing home room with hospice care on Monday. She s 94, and all of us knew that this moment would come someday. I think she is the most comfortable with the idea of her death of anyone, and utterly ready for it.

Russell Coker: Fads and Internet Services

Richard Glover has written a polemic about fads on the net [1]. His points are essentially good, but he does over-reach them a bit (which is part of the polemic style) and he also seems a little unimaginative about the future of technology. He starts by suggesting that Twitter [2] is a fad. Twitter has grown in popularity very rapidly, and I believe that the company is not guaranteed to last forever (the business model could fail or a better implementation of the concept could take the users). But the basic premise of Twitter (SMS length messages being published on the net in a similar manner to blog posts) is something that has been proven to work well. So even though I have not felt inclined to use Twitter (either as a reader or a writer) I don t think that the class of service will ever go away. He also cites an example of watching TV news on a mobile phone. While I believe he is right about that not being a viable business, it s because TV news itself isn t a great thing. Before the Internet was commonly used the only ways of getting news of something that happened in the last few hours was via TV or radio, if you want pictures with that then TV was the only option. If you wanted quality news (in-depth coverage, insightful analysis, and a depth of detail) then you were probably out of luck, but the best option available to you was the the newspaper. Watching a TV news segment on a mobile phone (or on a PC connected to the net) is not effective. What I want is a newspaper that is updated as soon as events happen and which contains full color pictures and video. There are a number of web sites which provide this service, The Sydney Morning Herald (which employs Richard Glover) [3] is one example. I think that the current fad for mobile phone TV is like the fad for WAP [4]. Many years ago I worked for an ISP that installed a WAP server, one of my duties was to keep the WAP server running. Everyone who knew anything about technology knew that the project was going to fail, WAP phones were horribly expensive (you could expect to spend an extra 200 guilders or more to buy such a phone) and the features of WAP were not particularly exciting. Also requiring that everything be re-written for WAP was just insanity. The problem with the WAP fad was managers who knew nothing about technology making technical decisions. I m sure that the TV on mobile phone fad is driven by managers in TV companies that are greedy for more revenue opportunities and don t stop to think about the implications. I might watch a news show on free TV, but I m certainly not going to pay by the minute to watch it on my mobile phone. Instead I can just go to a web site such as the SMH and read news items, see pictures, and even watch the occasional video (most TV news doesn t really require any video - they just re-enact scenes or use stock footage to have something on screen). Finally he makes a sarcastic reference to chocolate fondue. That reminds me, someone gave me a fondue set years ago that I haven t used yet. I ll have to make a chocolate fondue! For those of you who live in Melbourne, the restaurant of the Melbourne Swiss Club [5] offers cheese fondue for the main course and chocolate fondue for dessert. Fondue is still with us!

4 April 2009

Adrian von Bidder: Supernatural

Long time since my last movies posting ... Just discovered the U.S. TV series Supernatural, in an episode showing the two heroes being introduced for the first time to the writer of the book series Supernatural , which contains the life of the two heroes. (Strangely, it showed up when I searched for Tarantino's Reservoir Dogs on a torrent search engine.) I'm not quite sure what to think about the series, judging from that episode. I read a lot of fantasy and I like the real-world / fantasy world crossover every now and then, but Supernatural is quite cheaply made. Watching this one episode was fun, but I have no idea if I would actually watch it regularly. (I find, generally, that fantasy is difficult in movies. Lord of the Rings is very well executed and mostly presents the world as just a normal world , and I'm forever thankful to Jackson that he shares my opinion I think he says as much in the bonus materials on one of the DVDs that magic with smoke and flashes mostly ends up in major silliness. I have neither read nor watched anything of the Harry Potter epic, so I can't comment on that.) While I can't comment on Reservoir Dogs yet, I finally got around to watch From Dusk Till Dawn by director Robert Rodriguez, and with Tarantino (also co-writer of the movide, and if you watch the making of, co-director even if it's not in the titles) and Clooney as two of the main characters, together with a wonderful Juliette Lewis. That's certainly one of the movies I'll watch again, several times. Great soundtrack, too. Yesterday, I was a bit disappointed after I watched Time Bandits; Gilliam's later films got much better. It takes something to make a stop motion movie in today's time of cheap and easy computer animation ... so I really liked Tim Burton's Corpse Bride, if not for the rather straightforward story, but for the look and the atmosphere. The movie is also more a musical than a film, which I like very much as well.

Andrew Pollock: [tech] Asterisk Gateway Interface 1.4 and 1.6 Programming

Asterisk Gateway Interface 1.4 and 1.6 Programming I received an email out of the blue recently from someone related to Packt Publishing, the publisher of Asterisk Gateway Interface 1.4 and 1.6 Programming, asking me if I'd like a review copy of the book. This is the second unsolicited book review request I've received now. I just wish I had more time/mental energy to read books! I'm going to make a concerted effort to read this one and write a review of it, because AGI is something I'm moderately interested in. AGI is what makes a lot of computer-telephony integration really possible with Asterisk, and CTI done right is something I'm particularly interested in. I was also given some sample content and encouraged to post it. Based on this sample content, the book sounds like it should be good.

Brett Parker: New Website Design...

It's been a long long time since I last posted anything at all, so this is a post to warn of impending doom. I've switched from a static html website (well, it was statically generated when I edited source files I then ran a bash script that fired off a perl script several times...) to a fully dynamic, django 1.0 backed website - this might mean that I manage to update things more often! I've also taken the opportunity to convert the previous content in to ReST, so it's actually easier to edit too. There's still work to do - but it's now "good enough" to be used, and I'll split the code out in to better chunks later on. So, anyways - that's what I've done with my day - so I expect all the aggregators to now break on the new feeds...

Brett Parker: New Website Design...

It's been a long long time since I last posted anything at all, so this is a post to warn of impending doom. I've switched from a static html website (well, it was statically generated when I edited source files I then ran a bash script that fired off a perl script several times...) to a fully dynamic, django 1.0 backed website - this might mean that I manage to update things more often! I've also taken the opportunity to convert the previous content in to ReST, so it's actually easier to edit too. There's still work to do - but it's now "good enough" to be used, and I'll split the code out in to better chunks later on. So, anyways - that's what I've done with my day - so I expect all the aggregators to now break on the new feeds...

Christian Perrier: Forerunner

Yipee! Just the day before my first marathon, with No l K the (who's targetting 3h30, crazy No l) and Ralf Treinen (who's targetting 4h), I got a Garmin Forerunner 405 Sport GPS device as birthday gift. So, I'll apparently be able to enter the modern world and adapt my pace more easily than earlier (with my mechanical podometer and the stopwatch function of my cell phone). And that thing has even a Debian package, maintained by...Ralf and No l..:-) ...though I have no idea whether it works with a Forerunner 405 as the original author apparently owns a 305. We'll see. If you somehow happen to see blog posts of mine with the GPS track of the Paris Marathon, I made it work (or I cheated and used a Windows machine...).

Yves-Alexis Perez: Xfce 4.6 in unstable

Following the ACCEPT on packages on NEW during my vacations and the ack from the release team, I've just uploaded all Xfce 4.6 packages to unstable. Packages for your architectures should arrive on your mirror along the weekend. the NEWS.Debian (which will be displayed if you use apt-listchanges (which is a good idea)) will warn you about some upgrade precautions to take. I'm reproducing it here:

xfce4 (4.6.0.1) unstable; urgency=low

Xfce 4.6 includes multiple changes which are not directly visible to the
user but might cause problems in rare cases.

Settings management have been moved from the old MCS Manager to the xfconf
system. User settings will be migrated automatically at first Xfce 4.6
startup using the /usr/lib/xfce4/xfconf-migration/xfconf-migration-4.6.pl
script contained in xfce4-utils. Once those settings have been migrated,
the automatic run will be disabled but the script will stay (for future
users).

Menus are now managed using a dedicated library, used by various Xfce
components (including xfdesktop4 and the menu panel plugin). This library
tries to support the freedesktop.org specifications, but is not totally
complete and thus lacks the support for some items, like .
This renders useless the menu editor previously shipped with Xfce 4.4.
Solutions for menu editing can be found at the following address:
http://wiki.xfce.org/howto/customize-menu

As the upgrade is pretty invasive, it is recommended to quit Xfce before
doing so, but it's not required and upgrades have been made from the
desktop environment without problems. In that case, be sure to quit Xfce
not long after the upgrade.

-- Yves-Alexis Perez <corsac@debian.org> Thu, 02 Apr 2009 21:19:53 +0200 The xfce4-goodies will be updated soon to match the new goodies present for Xfce 4.6, and the desktop task (the standard install when you choose desktop=xfce in the installer) will be updated too (there's an ongoing discussion on pkg-xfce mailing list to select which packages should be part of that install). Have a good upgrade!

Julien Danjou: Still working!

Well, I'm not dead buddies. I was overbooked. Last weeks have been a bit busy for me. I've also been on holidays, so I gave up on computers stuff a bit. awesome Big news: awesome 3.2 has been released some weeks ago, and seems to be a success so far. We're working on the new 3.3 release, which will have some new sexy feature you'll love. More on that later. Debian I've uploaded a new awesome-extra package with third party modules such as shifty or wicked. startup-notification I just managed to be added in the startup-notification group at Freedesktop. I moved the CVS repository to git and merged my set of XCB patches.

Russ Allbery: Lintian 2.2.9

I finally got this released. I'm very sorry for the long delay; life has been ridiculously busy lately. This release updates the list of valid sections, fixes a few annoying bugs (particularly in diversion handling and some problems with file 5.00 and analysis of source packages), and has some additional checks for correct package sections. Many thanks to Frank Lichtenheld and Raphael Geissert for their work on this release. I've also started the full archive run for lintian.debian.org, so it will finally be up-to-date again. Apologies to everyone for the out-of-date results there; I kept meaning to update it after the next release, and then kept finding another bug or not having a moment to do it. Lintian development will probably be slow for the next couple of months (unless my co-maintainers end up with more time to drive it forward), since I have a huge pile of work that I need to do, including deploying a virtualization environment and lots of upgrades to lenny. Things should start settling down again sometime around mid-June.

Russell Coker: Real-World Car Safety Tests

The car safety tests that are required for every new mass-market passenger vehicle are flawed in many ways. Here is a list of the most obvious flaws (please point out any that I ve missed):

  1. There has been no research to make accurate crash-test dummies to represent women and children, and I believe that there has been no research to make crash-test dummies to accurately represent people of racial groups that are not common in the US. Basically the medical research used to make crash test dummies was performed on male cadavers that were readily available in the US.

  2. The standard tests involve a direct collision with a centrally targeted stationary object, a direct collision with an offset stationary object, and solid objects (representing cars) hitting the vehicle from the read and the side. These simulate crashes where there is little or no attempt made to avoid the collision, they are probably really good for protecting drunk drivers. But any sane and sober driver is probably going to make some effort to avoid the collision and the resulting impact will not be at a multiple of 90 degrees. Note that when a car directly hits the side of a moving car it is quite different to hitting the side of a stationary car (which is what is tested).

  3. There are no standard tests for the probability of a vehicle rolling in the event of a crash or of what would happen to the occupants if it was to roll. Rollover crashes are among the most dangerous

  4. The tests do not take into account the ability of the driver to avoid a crash or minimise the damage. The ability to avoid crashes is a major advantage for cars with a low center of gravity, AWD, and traction control. It s a major problem for vehicles with a high center of gravity and with tires that are not designed for road use (IE 4WD/SUV vehicles).

But generally the crash-test results are of some use provided that you start by looking at the results from vehicles that have good safety features such as the Audi Quattro, the AWD version of the VW Passat, a Mercedes with 4MOTION, or any other vehicle with constant four wheel drive, road tires, four wheel traction control, and a low center of gravity. The RACV (the main car owners advocacy organisation in Victoria and also a major car insurance company) [1] has published the used car safety ratings report [2]. This was produced by the Monash University Accident Research Centre and is based on the analysis of 3,000,000 crashes reported to police in Australia and New Zealand. Results are only available for cars which have been in common use on Australian and New Zealand roads for some time (so there aren t many entries for vehicles that are less than 5 years old or for particularly expensive vehicles). The report also includes estimates on the purchase prices of some of the safest vehicles. A vehicle that is significantly better than average can be purchased for as little as $5000! Now if you want to buy a new vehicle then choosing the latest version of a model that has rated well on the used-car tests should be safe if the new car crash tests also report good results. It seems likely that the latest Mazda 6 or VW Passat will also rate well on the used-car tests in a few years time. It s a pity that the report didn t note which of the vehicles that rated well have models that have good features to avoid collisions such as EBA, ABS, AWD, and traction-control. A friend who is active in the free software community recently had a very lucky escape from a significant crash. From his description I doubt that car safety features had much to do with him escaping without injury, I think that it was mostly luck. While his car did have a good range of safety features (and was rated well on the used-car tests), a high-speed collision that involves a truck can easily result in a car being squashed flat. I have already sent him the RACV link which he is using as part of the process to decide what new car to purchase. But I think that this information needs to be spread more widely. I have not searched for information on such analysis of crashes being performed in other countries, please leave a comment if you know of any good research that will be useful for other people. One thing to note however is that given the global scope of car manufacturing, results from one country will have some validity in others. I expect that a VW Passat that is sold in Germany or the US will be almost identical to the Australian version.

John Goerzen: Review: Why Religion Matters by Huston Smith

Most of the book deals with things we already know yet never learn. Huston Smith
This is perhaps one of the most enlightening books I ve ever read, and yet I feel like I ve only grasped a small bit of its meaning. It is with that warning that I attempt this review. I should add at the outset that this is one of those books where no matter what you expect it to be, after reading it, you will find that it wasn t what you expected. I heartily recommend it to everyone, from the devoutly religious to the devoutly atheistic. Science and Scientism Smith begins with a discussion of science and scientism. He is a forceful defender of science and of the work of scientists in general. But he is careful to separate science from scientism. Paraphrased, he defines scientism as the belief that science is the only (or the best) route to truth about everything. He points out that, through no explicit fault of scientists, scientism has become so ingrained in our modern psyche that even theologians have started thinking in terms of it. Yet there are some pretty glaring flaws in scientism, particularly where it comes to matters of philosophy, conscience, meaning, and religion. Smith argues that the foundation of science is the controlled experiment and logical inferences derived from it. He then proceeds to make strong case that it is not possible for humans to set up a controlled experiment to either prove or disprove the existence of something more than our material world a transcendence, a metaphysical reality, a spirit, a God. We, with our existence trapped in this finite world, cannot possibly hope to capture and control something so much more than us in every way: intelligence, versatility, and finiteness . Thus science can t even address the question. That hasn t stopped people from claiming that religion is just a helpful delusion, for instance, despite not being able to prove whether it is in fact a delusion or reality. Worldviews Smith then asks us to indulge a moment in considering two different worldviews: one the science-only worldview so common these days, and the other a more traditional religious worldview with a rightful place for science. He defers supporting evidence for each for later chapters. The science-only worldview is pretty familiar to many, and I have even heard parts of it articulated in comments left on this blog. It goes roughly like this: The universe is x billions of years old. It is, so far as we presently know, a vast expanse with mostly dead matter. Earth is the only exception, which contains some living organisms and even sentient beings, though these make up a small fraction of even the earth. This life arrived by accident through physical and biological processes, some of which are well-understood and some aren t. In the end, the universe will again become entirely dead, as our planet will be incinerated when our sun goes nova. Or, in any case, the entire universe will eventually expire in one of various ways. This worldview suggests that it is an accident that we are here and that we have consciousness, and that our actions have no ultimate meaning because the earth will eventually be incinerated anyhow. The traditional worldview holds the opposite: that instead of having our origins in the tiniest and simplest of building blocks, and eventually improving over time, we should more properly think of ourselves as being derived from something greater than ourselves. That greater something is part of our world, but something much bigger than it too. It does not rule out science, but neither is it something that science can ever explain. It suggests that our lives have a purpose, that our work has meaning, and that there are ultimate ends to seek. Smith is a scholar of world religions, and draws on his considerable experience to point out that virtually all world religions, before the Enlightenment, drew essentially the same picture of our world and the more . He reminds us though perhaps less effectively than Marcus Borg that there are other ways of knowing truth besides science, and suggests that we pay attention to what the vast majority of humanity had to say about the nature of existence before a human invention started to squelch the story. The Stories The book is filled with personal stories (Smith spent at least a decade each researching and practicing at least four different religions), quotes, and insights. I consider it the most enlightening book on religion I have yet read. Smith has more than a passing familiarity with physics, and the physicists in the crowd will probably be delighted at his discussions of quantum mechanics and the claim that nonlocality provides us with the first level platform since modern science arose on which scientists and theologians can continue their discussions. One passage reads like this:
Again I will let Henry Stapp say it: Everything we [now] know about Nature is in accord with the idea that the fundamental process of Nature lies outside space-time, but generates events that can be located in space-time. Stapp does not mention matter, but his phrase space-time implies it, for physics locks the three together.
He says that quantum theory of course can t prove that there is a God, but that recent research seems to disprove the old notion that, given enough time, all questions will be answerable by science. Even if you disagree with every one of Smith s conclusions, you ll be along for a fascinating ride through physics, biology, philosophy, and innumerable religions. One of my favorite anecdotes concerns noted physicist David Bohm (who studied under Oppenheimer and worked with Einstein, among others). He gave a lecture at one point, apparently touching on his hidden variable theories to a great extent. At its conclusion, a senior physics professor asked derivisely, What does all this philosophy have to do with physics? Bohm replied, I do not make that distinction. How s that for something to ponder? The Writing The book is fun to read, and the stories make it all the moreso. However, it is not a light read. Houston Smith wrote this near the beginning, without any hint of irony:
The first of these differences is that Gass s is an aristocratic book, written for the literary elite, whereas mine is as plebeian as I can render its not always simple arguments.
I can think of a few simpler ways to express that thought. In any case, it isn t light reading, but it is accessible even if you, like me, have little formal training in philosophy, theology, or quantum physics. Conclusion I would do such a poor job trying to paraphrase Smith s main points that I haven t even really attempted to do so here. Get the book you ll be in for a treat. Incidentally, I had been thinking of buying the book for awhile. What finally made me do so was an NPR story about how he helped preserve the sound of the Gyuto Monks Tantric Choir back in 1964, when he (of course) was sleeping in a monastery in the Himalayas and awoke to investigate something transcendent the holiest sound I have ever heard. I pressed the Buy button for the Kindle edition a few minutes later.

3 April 2009

Russell Coker: Tithing for Open Source

It s common to hear a complaint of the form I get paid to keep computers running not hack an OS coming from someone who uses an Open Source OS such as Linux, BSD, or Open Solaris. It seems to me that part of the job of keeping computers running when using Open Source software IS to hack the source and fix bugs. This takes the place of praying, begging, and having your employer pay arbitrary extra amounts of money to the vendor when you have problems with proprietary software. It s well understood that a good system-administrator will anticipate problems and implement solutions to them in advance. You don t wait for a system to run out of disk space and then fix it - you install cron jobs to compress and remove old log files and have a monitoring system to tell you if disk space really runs low. It seems to me that the approach that many companies take towards fixing software bugs goes against this ideal. They wait for software to fail in production and then file a bug report and hope that someone else will fix it. When allocating time for various tasks it s not uncommon to have various amounts of staff time devoted to different servers, departments, or projects. I believe that having a fixed amount of time devoted to finding and fixing bugs in Open Source software (both current versions and pre-release versions) would save money for a company in the long term. If 10% of the time of the most skilled programmers was assigned to finding and fixing bugs in the OS then the overall quality would improve. If a company depends on Debian then it would make sense to have this 10% time include testing out the production programs on Debian/Unstable, it if depends on Red Hat Enterprise Linux then it would make sense to test them out on Rawhide. This would increase the ability of the future releases of Debian or RHEL to support the applications in question, and might also discover some application bugs. Also it s very important to submit patches with bug reports. It s not uncommon for a bug report to be critically important to a user but not overly important to the rest of the world. Such bugs can stay in a bug tracking system for a long time without getting fixed. But if there is a patch submitted that includes necessary documentation patches and a description of the tests that it has passed then it will probably be easier to include it than to debate whether it s really needed. If a project is only running for a matter of weeks or months (EG a consulting company that comes in, deploys a solution and then leaves) then there is probably no benefit for doing this. But if a company is going to be running servers for many years which will periodically be upgraded then it would be a real benefit to have bugs fixed in future versions.

Stefano Zacchiroli: ocaml batteries in Debian unstable

batteries approaching Beta 1: now in unstable It's been a while, but work on OCaml batteries included has continued steadily in the past months. We are now approaching the first Beta release, which is due in a few days. In the meantime, a couple of days ago I've uploaded the Debian ocaml-batteries package to the unstable archive for the first time (it was only available from experimental thus far). It is an almost Beta release which you are encouraged to test both for packaging aspects and for having a feeling of what batteries will look like in its final shape. To get started just do the following:
# aptitude install ocaml-batteries-included
$ ledit ocaml-batteries

Joachim Breitner: Bejeweled AI in Haskell

The German online magazine FreiesMagazin has started a programming contest yesterday. The task is to write an AI for a two-player bejeweled-like game, where the stones that you can match cause your opponent to lose live points.This evening I thought that this would be a nice finger exercise in Haskell programming, and indeed it was. Most time was spent writing the code that communicates with the game supervisor (via text files) and that re-implements the game logic to simulate the next steps. The example code is in C++, so I had to do it again, but it s rather short: 123 lines, consisting of 8 lines for the module header, 26 lines for the data definitions, 16 lines for in- and output and 73 lines for the actual rules of the game.Writing the rest was really easy. 15 lines use a generic Haskell module to implement alpha-beta-search in Strategy.hs, and 6 lines of code to glue it all together. And I m sure one can do better...The program wins against the demo AI. By choosing other algorithms provided by game-tree might even improve that. Feel free to try it out!My code is available in a darcs repository (browse) under the GPL2 or later and I invite everyone to use it as a base for contest entries. If you want to use Haskell, you can just replace the Strategy.hs and do not have to re-implement the game logic. If you submit such a program, just make sure you credit me appropriately. Also, as always, patches are welcome. If the code is too slow for your taste, you can decrease the depth parameter in Strategy.hs.

Russell Coker: Google Server Design

Cnet has an article on the design of the Google servers [1]. It seems that their main servers are 2RU systems with a custom Gigabyte motherboard that takes only 12V DC input. The PSUs provide 12V DC and each system has a 12V battery backup to keep things running before a generator starts in the event of a power failure. They claim that they get better efficiency with small batteries local to the servers than with a single large battery array. From inspecting the pictures it seems that the parts most likely to fail are attached by velcro. The battery is at one end, the PSU is at the other, and the hard disks are at one side. It appears that it might be possible to replace the PSU or the battery while the server is operational and in the rack. The hard disks are separated from the motherboard by what appears to be a small sheet of aluminium which appears to give two paths for air to flow through the system. The thermal characteristics of the motherboard (CPUs) and the hard drives are quite different to having separate air flows seems likely to allow warmer air to be used in cooling the system (thus saving power). Google boast that their energy efficiency now matches what the rest of the industry aims to do by 2011! The servers are described as taking up 2RU, which gives a density of one CPU per RU. This surprised me as some companies such as Servers Direct [2] sell 1RU servers that have four CPUs (16 cores). Rackable systems [3] (which just bought the remains of SGI) sells 2RU half-depth systems (which can allow two systems in 2RU of rack space) that have four CPUs and 16 cores (again 4 CPUs per RU). Rackable systems also has a hardware offering designed for Cloud Computing servers, those CloudRack [4] systems have a number of 1RU trays. Each CloudRack tray can have as many as two server boards that has two CPUs (4 CPUs in 1RU) and 8 disks. While I wouldn t necessarily expect that Google would have the highest density of CPUs per rack, it did surprise me to see that they have 1/4 the CPU density of some commercial offerings and 1/8 the disk density! I wonder if this was a deliberate decision to use more server room space to allow slower movement of cooling air and thus save energy. It s interesting to note that Google have been awarded patents on some of their technology related to the batteries. Are there no journalists reading the new patents? Surely anyone who saw such patents awarded to Google could have published most of this news before Cnet got it. Now, I wonder how long it will take for IBM, HP, and Dell to start copying some of these design features. Not that I expect them to start selling their systems by the shipping crate.

2 April 2009

David Paleino: Bash-Completion 1.0 released

The Bash Completion Development team is proud to announce the release of
bash-completion 1.0! This release features many new improvements: first of all, the upstream
development is now driven by a cross-distribution team. We now have people from
Debian, Mandriva, Gentoo, Exherbo, RedHat/Fedora, and we're hopefully going to
grow more! See the AUTHORS file for more information. Other than that, many new completions have been added, and plenty of bugs
have been fixed (49!). For more info, look at our changelog file. Still there? Go download bash-completion-1.0! We also changed homepage, thanks to Debian's Alioth project for the
hospitality. For any bug you might find, please contact us at our mailing list, or
directly file it at the Alioth tracker. Happy installation! P.S.: Debian package coming soon.

Martin Michlmayr: Test kernel for Orion with performance patches available

Marvell posted some performance patches for ARM that speed up the copy_to_user and clear_user functions which are used to copy data around. I see quite a bit of performance increase with these patches on Orion, and I've prepared a test kernel so you can try them out too. This kernel should be treated as experimental, but I'm looking for testers with Orion-based hardware (e.g. QNAP TS-109, TS-209, and TS-409) who are interested in giving it a go. If your system has a rescue mode (the QNAP devices and the HP mv2120 do), I suggest you first make a backup of your flash. On the QNAP devices, you can do this with:
cat /dev/mtdblock1 /dev/mtdblock2 /dev/mtdblock3 > qnapimg.bin
Then edit the file /etc/apt/sources.list and add the following line:
deb http://people.debian.org/~tbm/orion lenny main
Now you can install the new kernel:
apt-get update
apt-get install linux-image-2.6.29-1-orion5x
Please ignore the warning that the package cannot be authenticated. This is because I haven't signed the repository. After the installation of the kernel, reboot and do some tests: Do you see any speedup? Do you see any problems?

Next.

Previous.