Search Results: "bab"

20 October 2006

Joerg Jaspert: BSP in Vienna

Yeah, I’m probably a bit late, but well, I don’t care. I finally managed to get the pictures up I took during the BSP and the few days more that I have been in Vienna. Not all of them are good, but it’s enough to keep the memory alive.

19 October 2006

Joachim Breitner: Turnkey Linux for Internet Caf s

While thinking how to spread Free Software in Ghana more effectively I noticed some important factor: Internet caf s. On the one hand they are for most people the first contact to comuters (in contrast to Europe or US, where it's probably the family or school computer), so getting Linux on there would make a difference. On the other hand, for them a Linux system is a very viable choice: Cheap per computer (although in Ghana the argument reads legal , not cheap ), provides good software for the usual internet caf s user s needs (browsing, word processing, chatting) and is very suitable to be locked down and run safely.There are a lot of internet caf s in Ghana, at least in the Accra Region, but most of the people that run these are not he most advanced computer users, so they just go the seemingly simple road: Windows on clients and servers, and probably some software like CyberCafe, also pirated, for the accounting and the computer lockdown.My idea this evening was: Would it be possible to create something like Skolelinux, just for internet caf s? A CD that the owner of the caf just puts in what s meant to be the server and boots, answers a few questions, and a second CD for the clients where he does not have to answer any questions, and what he gets is a complete system with approximately these features:If such a distribution already exists, I d like to hear about it. If not, it might be an interesting project for the Linux Accra User Group or OpenGhana.org. If successful, this might help Free Software gaining mind share in developing countries big time. Of course I m also very interested in comments from those who read this through planet.openghana.org.

Wouter Verhelst: Wireless networking

Warning: useless rant follows Since about two years, my main machine is an Apple Powerbook G4. These come with builtin wireless ("Airport Express"), but for a long time there were no Linux drivers for these things. Instead, I had bought myself a USB wireless thingy; one based on a ZD1211 chipset, for which there is a free driver contributed by the company that designed the chipset. The driver needs non-free firmware, but I don't give a flying **** about that. The unfortunate thing about the driver is that it was written in a style that makes it hard to be accepted by the kernel developers, so that didn't happen. And won't for a while. As a result, the driver sometimes breaks upon kernel upgrade, which is a shame. But when it does work (which unfortunately is not 'now'), it works great; the throughput is about as much as I could expect from my 11M wireless access point. The alternative now is to use the Airport Express driver. Unfortunately, this driver only exists because some binary-only driver that existed for Linux somewhere was reverse-engineered. As a result, the driver isn't very good; it sometimes crashes on me (in which case the only thing I can do is power down my laptop and boot it up again), and when it does work only has a throughput of about 60kB, at best. Which is not very good (a 10Mbit network can easily reach about 10 times that speed; and yes, I did verify that I'm running at 11Mb/s, not at 1). I'm very grateful to Zydas for providing a GPL-ed driver for their hardware. If only companies such as nVidia, ATI, and broadcom would give up their crack pipe and behave similarly, then this world would be a much better place. But I'm not grateful to Zydas for just providing a dump of their CVS repository and leaving it at that; getting a driver into the Linux kernel is not that hard, it just takes some persistence. Had they done that, I would've had working wireless now. Real working. grmbl. Update: Seems the situation is better than I thought. It had been a long time since I last tried the bcm43xx driver. Last time I tried it it was a piece of crap; when I tried it a few days ago, it was also a piece of crap. Apparently, though, that was just bad luck, since the driver in 2.6.18 is buggy (but it should be fixed in 2.6.18.1). And for the Zydas driver, apparently it made it into the kernel mainline while I wasn't looking. Only it doesn't work for me, probably because the hardware is breaking down (if I hold it in a peculiar way, it gets detected as a broken USB1 device rather than a working USB2 device, which is not good...). That, or my access point is playing tricks on me. That wouldn't be the first time, either. I guess an apology is warranted here. Sorry.

Jordi Mallach: Silent home servers

The computer which hosts this host is a venerable Pentium 150Mhz, with 64Mb of physical memory and two decently sized disks. It has been running non-stop mostly without hiccups for several years, and I'm quite happy with it, even if the processing power is so scarce I've been having to tune down some services as Debian has gotten more resource hungry, dist-upgrade after dist-upgrade. Natura is my 2nd oldest Debian install, coming back from Ham, and after a while it became a home server when it was replaced by an Athlon 700Mhz at my father's house. The only hardware incidents are all related to blackouts or storms: two dead disks and one power supply. The CPU died years ago, but I discovered that many months later. I guess it wasn't so necessary. :) It is time to replace natura, though. The components are aging and they have become quite noisy, despite my attempts to cleanup the dust. Lately it is so loud that I can't understand how my dad can actually get work done with that persistent noise in the room. Besides, it'd be good to get just a little bit more of CPU power to do a few things that have been postponed for a while now. I have been looking for offerings in the embedded devices market. I am looking for a device with the following characteristics: I've found that the Thecus YES Box N2100 is one of the most interesting offerings: 2 Gigabit ethernet ports, two internal SATA HD bays, 3 USB ports... but is a bit too expensive: 350 (without disks). tbm also told me to look at some cheaper PowerPC devices, but I forgot the name right now. So, dear Lazyweb, what would you recommend as a natura replacement for a home server?

Jordi Mallach: Silent home servers

The computer which hosts this host is a venerable Pentium 150Mhz, with 64Mb of physical memory and two decently sized disks. It has been running non-stop mostly without hiccups for several years, and I'm quite happy with it, even if the processing power is so scarce I've been having to tune down some services as Debian has gotten more resource hungry, dist-upgrade after dist-upgrade. Natura is my 2nd oldest Debian install, coming back from Ham, and after a while it became a home server when it was replaced by an Athlon 700Mhz at my father's house. The only hardware incidents are all related to blackouts or storms: two dead disks and one power supply. The CPU died years ago, but I discovered that many months later. I guess it wasn't so necessary. :) It is time to replace natura, though. The components are aging and they have become quite noisy, despite my attempts to cleanup the dust. Lately it is so loud that I can't understand how my dad can actually get work done with that persistent noise in the room. Besides, it'd be good to get just a little bit more of CPU power to do a few things that have been postponed for a while now. I have been looking for offerings in the embedded devices market. I am looking for a device with the following characteristics: I've found that the Thecus YES Box N2100 is one of the most interesting offerings: 2 Gigabit ethernet ports, two internal SATA HD bays, 3 USB ports... but is a bit too expensive: 350 (without disks). tbm also told me to look at some cheaper PowerPC devices, but I forgot the name right now. So, dear Lazyweb, what would you recommend as a natura replacement for a home server?

Kai Hendry: Where was I?


School children learning about Free software
I feel a little stupid for my last post about my unstable machine. It was the hardware to blame and my hard drive finally crashed during a Linux conference in Mendoza, Argentina. Typical. At the conference there wasn´t much new for me and I regret that I didn´t get organised enough to give a talk about the Web and WHATWG stuff. Though I did manage to meet good people and talk about some topics that are of interest to me. As usual the fabulous friendly CafeLUG geeks from Buenos Aires were there, led by the wonderful DD Marcela. I also met an inspiring guy from Cordoba who founded a successful software company that works with free software. His brother gave a great talk about it at the conference. I really love to see Free software power people to start a business. Oh and about my thinkpad X40 hard drive replacement. With the help of another new friend Fredrico from Mendoza, we called up IBM in Buenos Aires and arranged a new hard drive and a battery within 5 days! I didn´t know if my machine was under warranty still, phew. Unfortunately IBM called the next day saying they didn´t have any stock and the wait from the US is about 2 weeks. Since I have no idea where I will be in two weeks (ok, probably Sao Paulo, Brazil) I cancelled that request and now I have found a free Windoze (hopefully not trojaned) terminal just over the Andes, in Santiago Chile. Tough life!

Kai Hendry: Where was I?


School children learning about Free software
I feel a little stupid for my last post about my unstable machine. It was the hardware to blame and my hard drive finally crashed during a Linux conference in Mendoza, Argentina. Typical. At the conference there wasn’t much new for me and I regret that I didn’t get organised enough to give a talk about the Web and WHATWG stuff. Though I did manage to meet good people and talk about some topics that are of interest to me. As usual the fabulous friendly CafeLUG geeks from Buenos Aires were there, led by the wonderful DD Marcela. I also met an inspiring guy from Cordoba who founded a successful software company that works with free software. His brother gave a great talk about it at the conference. I really love to see Free software power people to start a business. Oh and about my thinkpad X40 hard drive replacement. With the help of another new friend from Mendoza, we called up IBM in Buenos Aires and arranged a new hard drive and a battery within 5 days! I didn’t know if my machine was under warranty still, phew. Unfortunately IBM called the next day saying they didn’t have any stock and the wait from the US is about 2 weeks. Since I have no idea where I will be in two weeks (ok, probably Sao Paulo, Brazil) I cancelled that request and now I have found a free Windoze (hopefully not trojaned) terminal just over the Andes, in Santiago Chile. Tough life!

Christian Perrier: Should I apologize?

(update with stupid formatting errors fixed) Yes, partly. Julien implictely asks for apologies in his recent blog posting. Because I usually don't like to let conflict rot, I tried thinking about it and draw conclusions. I still think that the attitude of people who started the incident at the JDLL has been really bad and gives a poor image of the Debian project. This is what I intended to explain to the Mozilla representative in my mail. I definitely feel the need to explain that Debian is anything but a monolithic project and when I feel that this project is hurted by the attitude of some of its members, yes I feel the need to correct people's feelings. This mail was sent before Julien sent more explanations, privately and publicly, to me when he read my blog posting. I have to admit that Julien explanations have been clear and detailed and give another light on that story. So, maybe after reading them, I would not have sent that very mail he obviously violently reacts about, or it would have been worded differently. For this, yes, I apologize, Julien. On that very action, I haven't been as wise as I thought. I indeed failed the exact same way I think you guys failed. Probably because I was deeply hurted by seeing someone I've crossed in the french free software community for nearly 15 years (Daniel Glazman) having such a poor opinion of the project that counts the most for me. Does this change what I think? Probably not. Yes, it is a bit paternalistic to think that part of our community is unecessarily childish in its way to express its opinions. *This* is what IMReallyNSHO hurts the project and this deeply lowers the credibility of Debian in the overall community and, I'm afraid, more especially in our country. So, no, I will not apologize for my opinions and, yes, I claim some experience in conflicts solving, negotiation handling and managing the public image of the work I'm involved in. The general conclusion of all this is certainly that I should really have kept my current stance: focus on technical stuff and avoid wasting time, and maybe hurt the project, in "political" discussions. So, please Julien, consider this: is that really fair for people who appreciate your work as well as those who share your ideas, to lower your involvment because you have a conflict with another person? With no doubt, your work in Debian has received deep respect by a vast majority of our fellow Debian contributors. So is the work by Joss, who is probably among the persons I disagree the most with in our French community and who dislikes myself the same way you do. So what? Is that fair to hurt the project because you've been hurted by one of its members? I don't think so and I really hope that people whose opinions you have more respect for than mine will convince you to reconsider that stance. OK, this will sound paternalistic again, so I should probably stop by now. That blog posting is likely be the last non technical until we release Etch. And, as I don't like discussing technical stuff in blogs, it will probably be the last one until we release Etch.

18 October 2006

Axel Beckert: Nice Shell Bloomer

While looking for users which still have “.” in their path, I found the following nice bloomer:
PATH= $PATH:.:$HOME/bin''
It’s obvious what the user tried to do. But why the fuck does this (more or less man or info page alike) quoting syntax work? It took me a moment to realise that this kind of “quoting” works in nearly all Unix shells: The two backquotes as well as the two single quotes become an empty string and are therefor completely useless in this case. The user probably read some uglily localized man or info page (like the German ones in Debian Sarge) and did some copy and paste to his .bashrc. And since it “worked” he didn’t see any reason to change it again.

David Welton: Generic Rails Search

Once again, I'm not involved enough in the rails community to know if something like this has already been done, but I thought it was kind of cool. It's a generic search system for ActiveRecords:
def searcher_find(paramname, model)
  conds = []
  condvals = []
  columns = model.column_names
  params[paramname].each do  k, v 
    ks = k.to_s
    if columns.include? ks
      col = model.columns_hash[ks]
      case col.type
      when :text
        conds << " # k  like ? "
        condvals << "%# v %"
      when :integer
        if v != ""
          conds << " # k  = ? "
          condvals << v.to_i
        end
      when :float
        if v != ""
          conds << " # k  = ? "
          condvals << v == v.to_f
        end
      end
    end
  end
  return model.find(:all, :conditions => [conds.join(' and '), *condvals])
end
You would call it like so: @products = searcher_find(:product, Product). The above version is just the "simplest thing that could possibly work", and probably needs fixing, but I thought I'd write it down so that others could take it and use it.

Christian Perrier: Should I apologize?

Yes, partly. Julien implictely asks for apologies in his recent blog posting. Because I usually don't like to let conflict rot, I tried thinking about it and draw conclusions. I still think that the attitude of people who started the incident at the JDLL has been really bad and gives a poor image of the Debian project. This is what I intended to explain to the Mozilla representative in my mail. I definitely feel the need to explain that Debian is anything but a monolithic project and when I feel that this project is hurted by the attitude of some of its members, yes I feel the need to correct people's feelings. This mail was sent before Julien sent more explanations, privately and "a href="http://blog.technologeek.org/2006/10/15/29">publicly, to me when he read my blog posting. I have to admit that Julien explanations have been clear and detailed and give another light on that story. So, maybe after reading them, I would not have sent that very mail he obviously violently reacts about, or it would have been worded differently. For this, yes, I apologize, Julien. On that very action, I haven't been as wise as I thought. I indeed failed the exact same way I think you guys failed. Probably because I was deeply hurted by seeing someone I've corssed in the french free software community for nearly 15 years (Daniel Glazman) having such a poor opinion of the project that counts the most for me. Does this change what I think? Probably not. Yes, it is a bit paternalistic to think that part of our community is unecessarily childish in its way to express its opinions. *This* is what IMHO hurts the project and this deeply lowers the credibility of Debian in the overall community and, I'm afraid, more especially in our country. So, no I will not apologize for these opinions and, yes, I claim some experience in conflicts solving, negotiation handling and managing the public image of the work I'm involved in. The general conclusion of all this is certainly that I should really have kept my current stance: focus on technical stuff and avoid wasting time, and maybe hurt the project, in "political" discussions. So, please Julien, consider this: is that really fair for people who appreciate your work as well as those who share your ideas, to lower your involvment because you have a conflict with another person? With no doubt, your work in Debian has received deep respect by a vast majority of our fellow Debian contributors. So is the work by Joss, who is probably among the persons I disagree the most with in our French community and who dislikes myself the same way you do. So what? Is that fair to hurt the project because you've been hurted by one of its members? I don't think so and I really hope that people whose opinions you have more respect for than mine will convince you to reconsider that stance. OK, this will sound paternalistic again, so I should probably stop by now. That blog posting is likely be the last non technical until we release Etch. And, as I don't like discussing technical stuff in blogs, it will probably be the last one until we release Etch.

Stefano Zacchiroli: bzrtools not up to date

I'm starting to hate bzrtools 0.11.0 My Ph.D. thesis is (obviously) being written in LaTeX and (even more obviously) being edited with Vim. The VCS I'm using to save my ass is (less obviously) bzr. I chose it just for fun, but I must say that I'm quite happy with it and I'm also considering using some of its distributed features to track an external Subversion repository (using bzr-svn) which contains changes to my BibTeX database to merge them back in my local copy. Still, the next time I see the following message, there is a non-negligible probability that I'll totally freak out:
zack@aquarium:~/thesis$ bzr st
Bzrtools is not up to date with installed bzr version 0.11.0.
There should be a newer version available, e.g. 0.11.
<snip>

I'm ready to offer a bounty of 1 beer (to be paid at the next Debconf) to the first who fixes it in sid!

Russell Coker: mailing list culture

There is currently a big debate in progress in Debian. I am not going to mention any specifics because too much of it has already been blogged (maybe in the same syndication in which you read my blog).

I think that the way things are going is more an illustration of the failings of mailing list culture than of failings of Debian. Maybe another mechanism would be more productive in leading towards a solution.

One option that occurred to me is debate via wiki. If each side had a wiki page that they could modify then in a small amount of time we should get a set of two main consensus opinions which would each be explained clearly and summarised well. Then with two options clearly expressed the people who have less strong opinions could decide which option they favor. For this to be a quick solution honorable behaviour would be required from all people involved, if people start trying to sabotage the other group's wiki entries then it would significantly increase the time taken to achieve things.

Another possibility that occurred to me is debate via blog. The quality of blog postings is expected to be a lot higher than that of mailing list discussions as all posts are tied to the author's public image. Writing content-free messages on a mailing list is easy, but every blog entry needs to stand on it's own to a certain extent and anyone who writes flames in most of their blog entries will probably find that the readers like it less than the readers of a typical mailing list.

Maybe when an issue is recognised as highly contentious a few people could blog about it and then form groups to develop wikis to promote their views. A debate might start out with five or more different competing views, some of them would merge until there were only two main opinions being pushed. Then once the two remaining groups had sorted out their positions a vote would be easier to arrange.

What do you think?

Julien Blache: Bubulle m a tuer

(For the non-french readers, yes, there is an obvious grammatical error in the title of this post. This is a reference to a news story that happened years ago. Bubulle is Christian Perrier’s nickname, btw.) So, here it is, I am rethinking my involvement in the Debian Project. And it’s all Bubulle’s fault. I am not leaving the Project, because Debian is far more important to me than some rude bashing from Bubulle. It is a fact that Bubulle and me have agreed to disagree on a number of topics, it’s also a fact that we are both committed to Debian. In the past few weeks, a number of things happened, and we both said things we probably regret (at least I do). I do not like this paternalistic tone he sometimes demonstrate in mailing-list postings. I totally hate that, to be frank. But I can pretty much deal with it as long as it’s not aimed at me. He tagged one of his debconf-notes-are-evil-and-useless-crap-please-remove-it filed against one of my packages as “not-fixed” even when I explained that it is not a bug and the note really is what I want. It implies that I am not fixing bugs, which is something I cannot accept. Debian bug reports tend to have the very first priority in my todo list. So far, I can deal with that. But what I cannot deal with, is this mail from Christian to Paul Rouget (the moron who first posted the photos of the Firefox/Iceweasel posters from the JDLL last saturday, vomitting on us, and the comments were even worse). Sorry, the mail is in french, I don’t know how well Google Translate performs on this one but you should give it a try. This is purely insulting. Christian did not even contact me, he did not even try to get the facts straight, and it looks like my last post, in which I explain what happened during the JDLL, was totally useless. So, congratulations Christian. I’m perhaps not the most active DD, but I’m quite active nonetheless. Well, that is, I was quite active and reactive. This is likely to change starting today. I’m not going to drop any packages. I’m not going to disappear. I’m not going to let Debian France down. I’m not going to let my packages rot in the archive. But I’m going to be noticeably less active and reactive. Next time you talk to me, it’d better be to apologize for this mail you sent to Paul Rouget. I /quit from both Freenode and OFTC on monday evening. I probably won’t come back. I feel way better already without being on these two networks, without reading Rapha l Hertzog blatantly lie about dunc-tank, without reading a whole lot of other crap. I’m taking a much-needed break. Fuck you. Pierre Habouzit, Josselin Mouette, Denis Barbier, Sam Hocevar, and others (you all know who you are): thank you, you guys rock. And GO GO GO dunc-bank !

17 October 2006

Russell Coker: terrorist "weakest link"

In the game show The Weakest Link competitors get voted off, usually not on whether they are weak but on whether the other contestents consider them to be a threat. It's mildly amusing as a TV game show but not funny at all when carried out on an airline.

Recently a flight from Malaga to Manchester was delayed because two passengers were considered to be suspicious by other passengers (either 6 or 7 passengers refused to get on the plane because of this). The passengers were thought to be speaking Arabic (as if there was anyone on the plane who would recognise Arabic when they heard it) and because they were wearing coats and looking at their watches. The two men in question had been searched twice and found to be clean, but a bunch of idiots on a plane thought they knew better and demanded that the passengers in question be removed.

Lessons to be learned from this for travelling to/from coalition of the willing countries:
  1. Avoid the urge to check your watch when your flight is being delayed unless you are white. Non-white people who do what white people do in this situation are considered to be terrorists.
  2. When travelling to a cold place (such as Manchester) you want to have a coat to wear when getting off the plane. The airline staff won't allow you enough hand-luggage space to store a coat so you will want to wear it when getting on the plane. This is fine if you are white, but if not white just deal with the fact that you will shiver when disembarking.
  3. Learn to speak English for your travels. If you speak another language you will be considered to be a terrorist.
  4. Whatever country you visit, stick to major cities as much as possible. Smaller cities have more racists and nationalistically bigoted people, there probably wouldn't have been a problem on a flight to London.

Also just avoid the coalition of the willing countries in your travels as much as possible. There are much less problems in this regard when the government doesn't depend on terrorism hysteria to justify going to war on the basis of lies.

Russell Coker: fair trade is the Linux way

I have recently purchased a large quantity of fair trade chocolate. Fair trade means that the people who produce the products will be paid a fair price for their products which will enable them to send their children to school, pay for adequate health-care, etc. Paying a small price premium on products such as coffee and chocolate usually makes no notable difference to the living expenses of someone in a first-world country such as Australia, but can make a huge difference to the standard of living of the people who produce the products. Also fair-trade products are generally of a very high quality, you are paying for the best quality as well as the best conditions of the workers.

I will share this chocolate at the next LUV meeting, hopefully the people who attend will agree that the chocolate is both of a high quality as well as being good in principle and that they will want to buy it too.

The Fair Trade chocolate I bought cost $6.95 per 100g. I went to Safeway (local bulk food store with low prices) to get prices on other chocolate to compare. Lindt (cheaper Swiss chocolate) costs $3.09 per 100g and has a special of $2.54. The Lindt and the Fair Trade chocolate are both 70%, but the Fair Trade chocolate is significantly smoother, has a slightly better aroma, and a better after-taste. So the Fair Trade chocolate costs slightly more than twice as much as Lindt, but I believe that it has a quality to match the price. Then I compared the price of a cheap chocolate, Cadbury Old Gold chocolate is also 70% cocoa and costs $4.29 for 220g, this makes it between 3.5 and 4.4 times cheaper than the Fair Trade chocolate. But if you like chocolate then Cadbury products probably aren't on the shopping list anyway. I believe that the Fair Trade chocolate I bought can be justified on the basis of flavor alone without regard to the ethical issues.

All Linux users know what it's like to have their quality of life restricted by an oppressive monopoly. We are fortunate in that it only affects us in small ways, not in our ability to purchase adequate food and health care. As we oppose software monopolies that hurt us in the computer industry we must also oppose monopolies in the food industry that hurt people in third-world countries. The fair trade programs are the best way I know of doing that. Hopefully after tasting the chocolate many LUV members will want to buy it too.

Russell Coker: 2006 Open Source Symposium

Today (well yesterday as of 30 minutes ago) I spoke at the Open Source Symposium in Melbourne. This is an event sponsored by Red Hat. The first day was the business day and the second day was the Red Hat developers day.

I attended both days and spoke on the second day (today). My talk was about designing and implementing a secure system on Red Hat Enterprise Linux 4 (the Inumbers system for gatewaying SMS to email which is currently in Beta at the time of writing). I covered the issues of designing systems for least privilege via a set of cooperating processes under different UIDs. Secure coding principles, and SE Linux policy design. My presentation notes are HERE (in OpenOffice 2.0 format).

The talk seemed to be well accepted, so I'll probably offer variations of it at other venues in the near future. I'm thinking of making a half-day workshop out of it.

While at the symposium one of the SGI guys mentioned that an XFS expert was in Melbourne temporarily. I suggested that such experts should be encouraged to give a talk about their work when they are in town. As a result of that I arranged a venue for a talk on XFS, I had the venue arranged in about 4 hours, which resulted in about 24 hours notice given to LUV members. I wasn't able to attend the meeting due to prior commitments, so I'm not sure how it went.

Russell Coker: which blog and syndication server to use?

I'm currently working for a company that in the past has not embraced new technology. One of my colleagues recently installed a wiki which did a lot of good in terms of organizing the internal documentation.

The next step is to install some blogging software. What I want is to have every sys-admin run a blog of what they are doing and have an aggregation of all the team's blogs for when anyone wants to see a complete list of what's been done recently. The security does not have to be particularly high as it's an internal service (probably everyone will use the same account). The ability to store draft posts would be really handy, but apart from that none of the advanced features are really needed.

Also it would be handy to be able to tag posts. For example if userA did some work on the mail server they would tag it with SMTP and then at some future time it would be possible to view all posts with the SMTP tag.

I've done a search on google for this topic and there are many pages comparing blog software. But all the comparisons seem based on Internet use, they talk about what versions of RSS are supported etc. But I don't need much of that. An ancient version of RSS will do as long as there is a single syndication program that can support it. Performance doesn't have to be great either, I'm looking at less than a dozen people posting and reading and a fairly big Opteron server with a decent RAID array.

For the minimal requirements I could probably write blog and syndication programs as CGI-BIN scripts in a couple of days. They wouldn't support RSS or XML but that's no big deal. But I expect that if I use some existing software that someone recommends in a blog comment it will be faster to install and have some possibility of future upgrades.

Russell Coker: clean energy

There are many people claiming that nuclear power will solve all the ills of the world. However this does not seem to be possible. Firstly you have to consider the hidden costs of nuclear power such as deaths from the mining industry (ingesting uranium ore is a really bad thing) and the difficulty in disposing of radioactive waste. But rather than concentrating on the bad aspects of nuclear power (which are well documented) I will concentrate on some of the viable alternatives.

Wind power is a really good option, particularly for countries such as Australia that have a low population density and a large land area. The Chinese government is investing heavily in wind power, I think it's safe to assume that it's not because they are great environmentalists but because they simply need more energy than they can get from other sources and that they have strategic reasons for not wanting to rely on Australian coal and uranium or Arabian oil. Most energy sources have some drawbacks, but wind power has no side effects and isn't going to kill birds either (birds have evolved the ability to detect and avoid predatory birds, they can easily avoid large fixed objects such as fans from wind farms).

Two other good options are wave and tidal power. These are better than river based hydro-electricity because there is no need to create dams that remove forests. Wave and tidal power are both very predictable which is an advantage when compared to wind power which is less predictable. One solution to the unpredictability of wind power is to couple it with a river based hydro-electric system which can provide electricity when there is less wind. A hydro-electric system to compensate for days that are less windy would need a much smaller dam than one that is designed to provide the main power source.

The next issue is how to power vehicles (on air, land, and sea). Advocates of nuclear power often talk about hydrogen powered cars. However while hydrogen has a good ratio of energy to weight it is not very dense, so the energy density for volume is much less than petrol. Combining Prius technology with
hydrogen in an internal combustion engine still won't give the distance per tank of fuel as petrol does. Hydrogen with fuel cells in an all electric vehicle might allow you to drive the same distance as a non-hybrid car on petrol, but probably won't compare to the range of a hybrid Diesel vehicle.

Bio-Diesel is a good option for fuelling cars. Diesel engines give greater efficiency than Otto cycle (the most common car engine) or Atkinson cycle (as used in the Prius) engines. Not only is bio-Diesel renewable but it also produces exhaust that is less toxic than that which is produced from fossil fuels. See the VeggieVan site for more details on bio-Diesel. The toxic fossil fuels are linked to health problems in airline hostesses, AFAIK there has been no research on the impact of car exhaust on pedestrians.

One thing to note about bie-Diesel is that you can do it right now. According to a British TV documentary all you have to do is filter oil that was used for frying food (they used oil from a Mexican restaurant) and mix it with a small amount of ethanol and it's ready to use in your car. As restaurants currently have to pay to dispose of old frying oil this should be good for everyone!

Bio-Diesel could work for powering planes, there is already research in progress on this issue, but there are problems related to the viscosity of bio-Diesel at low temperatures. Maybe a blend of bio-Diesel and bio-Ethanol would work. Ethanol freezes at -114.3C and should lower the freeze temperature of bio-Diesel.

Bio-Diesel would of course work really well for ships. Supplying the amount of fuel that current ships need would be difficult. Some analysis shows that the deck area of a ship can collect enough sunlight to supply ~10% of the power needs of the ship. The Orcelle is a design for a totally clean ship that runs on solar, wind, and wave power. However with the proposed design the solar panels will not be angled effectively for collecting sunlight as they will be on sails. I think that there is a lot of potential in having a design based around sails, wave and solar power for generating electricity, and also a Diesel engine running on bio-Diesel fuel for supplying extra power when required (EG when sailing at night in calm weather). Building a ship that uses only wind, solar, and wave power would probably be significantly more expensive than the current Diesel design. Building a ship that uses 10% Diesel and 90% wind, solar, and wave power might be a lot cheaper.

There are lots of ways of producing the energy we need to maintain our current standard of living. If our government was to spend as much money researching them as it does protecting petroleum reserves then the problem would be solved.

Russell Coker: planet debian, spam, and SE Linux

In regard to my post yesterday about Planet Debian I received the following response:
James Purser said I'm betting that your feed is an atom feed. We had the same problem on PLOA with Jeff and Pias feeds when they switched to atom. Planet needs to be upgraded.
Well I am using an atom feed, so this probably explains it. Sorry for the inconvenience to the Planet Debian readers, I guess that things will stay the way they are until it is upgraded.

Also when viewing my blog entry in Planet Debian I realised that much of a spam message had got pasted in to the URL field for the Planet Debian link. Oh the irony that I only found this embarassing error because of a bug in the Planet software.

This brings me to another issue, Security Enhanced X. With SE-X (before you ask, I didn't invent the acronym) you can use SE Linux to control communication between windows on an X desktop. With a modification to the clipboard manager (klipper in the case of KDE) every piece of data that's copied from an application will have a security context assigned to it and this context will be checked against the context of an application that is to be the target of a paste operation. Klipper will also have to support relabeling clipboard data. Therefore if I want to cut text from my email client (Kmail) and paste it into Firefox then I would have to relabel it with the appropriate MCS categories. This would permit me to paste text from an email into a web form with a few extra mouse clicks, but would prevent me from accidentally pasting the wrong text. Keeping in mind the fact that there are many more embarassing things that could be accidentally pasted into a blog entry than the contents of a spam this doesn't seem overly difficult.

PS Before anyone jumps to conclusions. When I receive GPG encrypted email or other material that should be kept confidential I try and avoid cutting it, and if I have to do so I clear the clipboard buffer afterwards. Keeping spam a secret is not really a priority to me so I didn't take adequate precautions in this case.

Next.

Previous.