Search Results: "ean"

17 October 2006

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: more on clean energy

One new technology for saving fuel in cars is the 6 stroke engine. This is an engine that has two power strokes for every intake of fuel. The first power stroke is from the fuel burning, the second is from water being injected into the cylinder and boiling rapidly using steam for power. A significant amount of the weight of a car or truck engine is the cooling system. With water being injected into the cylinder after every burn the engine will require no other cooling, this can mean a weight reduction of up to 500KG for a truck engine! It is claimed that this technique can "improve a typical engine s fuel consumption by 40 percent". Note that this technique could be combined with the technology in a Prius for even greater efficiency.

Simon Richter wrote an interesting response to my blog about clean energy. I'm guessing that the part of Germany he's from is similar in some ways to Amsterdam (where I used to live).

In Amsterdam tiny cars are used a lot more than they have been in most places. There is the Smart Car but there is also a tiny car that can only seat one person (I'll update this entry with a link if someone provides me one). The tiny car appears to weigh ~200Kg, has a maximum speed of 30Km/h, and is narrow enough to fit in bike lanes. Such cars will take little petrol and can be used for shopping. The short-distance car idea is being used by many people already in northern Europe.

Simon suggests having a standard baggage container that fits in all cars. I don't think that would work as there are many different design factors (parking space, cargo capacity, and aerodynamics) which force designers to choose different shapes.

I think that a better idea would be a standard baggage trailer that could be towed by any small car. It should not be difficult to design a trailer that can be safely towed at 30KM/h behind a tiny car. The supermarkets could rent such trailers to shoppers for a nominal fee. Then most shopping trips could use the cargo capacity of the tiny car, but when buying supplies for a party you could rent a trailer from the supermarket.

Another option is having shops deliver goods to you. I have observed an increasing number of people doing this at my local supermarket. Of course you would still need to take ice-cream home yourself and maybe milk and meat too.

Electric scooters are also a good option for travel. Unfortunately in Australia there are few good options for securing them at the moment. As an electric scooter is light enough to be carried it needs to be chained to something secure. In the Netherlands this wouldn't be a problem as the bicycle infrastructure includes plenty of bike racks to which you can chain your bike, scooter, etc. Of course the Netherlands is entirely flat so there's no need for an electric scooter. Melbourne has a lot more hills and most people aren't fit enough to ride a bike so scooters are needed to replace cars.

Regarding depersonalised cars. That would require a significant social change as currently cars are extremely personalised. One thing that I had been thinking about is the idea of sharing cars with neighbors. For example if you have an apartment building and there are a few people you trust then you could share a tiny car for going shopping. Sharing a car used for driving to work or for entertainment would not work well as the car would spend most of it's time in use (or at least parked somewhere away from home). Sharing a car that's used for small journeys would be much easier as such a vehicle would spend most of it's time at home.

In Australia most families have two cars. One is used a lot (spends maybe 70 hours a week away from home) and the other is used much less (maybe 10 hours a week). Instead of owning two cars it would be possible for families to own one car and share another.

Regarding the Pebble Bed Reactor, could the people who advocate it please read the Wikipedia article. The limiting factor is not thermal expansion (solids do not expand nearly enough) but the Doppler effect (fast neutrons are not as effective at triggering fission). But in spite of that issue, let's not consider an untested new reactor design to be the savior of nuclear energy. I think that most people who read my blog have a science or engineering background and know from experience that new technologies often don't work too well in the first version. When a new CPU has a bug it's usually not a big deal. When a new OS or application has many bugs it's often expected (expecially when the OS or application comes from a monopolist). But if a new design for a nuclear reactor turns out to have a bug then it will be a more serious issue.

Russell Coker: SE Linux is like a moat filled with sharks with la...

Here's an interesting blog entry comparing SE Linux and AppArmor. It has some amusing comments, one of which I used for the title of this entry.

There are two things I don't like about AppArmor. One is that it doesn't label Inodes but instead bases it's access control on file names. This means that renaming a file may change the access granted to it, and a file with multiple hard links may have different sets of access granted to each name. The hard link problem is a killer, imagine that name A grants execute access to the file and name B grants write access, therefore you have the ability to create an executable file.

The other thing I don't like about AppArmor is that it's goals are low. The current implementation of AppArmor can be compared to the SE Linux targeted policy. The difference is that AppArmor is currently achieving everything that it was designed to do while the targeted policy is intentionally providing less security features to give greater ease of use. There is a well defined transition path from targeted to strict, and from strict to MLS. There is no transition path from the current AppArmor implementation to something better.

Rumor has it that Suse have bought the rights to a MLS system and that they want to get LSPP certification. LSPP certification requires that access control be based on Inodes not file names (IE renaming a file may not change the access that is granted to it). It will be interesting to see how they integrate AppArmor and a MLS system.

Russell Coker: blogging software

Previously I asked for advice about running an Intranet blog, and running an Internet blog with hosting for friends.

In response to the question about running a small Intranet blog the recommendations were strongly for Wordpress, with a mention of Ikiwiki as well. One of the features that I consider desirable is for software to be reasonably popular which means that support is often easier to obtain. So Wordpress is my main candidate at this time for Intranet use. I'll install Wordpress and probably won't try anything else unless Wordpress fails in some significant way (which seems unlikely).

In response to my question about a blog server for serious blogging again Wordpress was well recommended. There is also a version of Wordpress in beta called Wordpress MU that supports blog server operations such as wordpress.com. Although I didn't mention it before I have had some ideas of starting my own server along such lines so Wordpress again does well.

Over the next few weeks I will start playing with Wordpress and Wordpress MU. If things go well I'll move my blog away from blogspot and to a domain I own in the near future.

Russell Coker: IT companies and toxic waste

Greenpeace has an interesting article about how IT companies rank in toxic waste problems.

Dell rates quite well, I feel happier about my recent purchase of a large Dell TFT monitor now. HP does reasonably well, that's fortunate as the Green party in Victoria has recently purchased a HP server. But next time we discuss such things I will suggest that more consideration be given to Dell servers because of this issue.

Lenovo does really badly, I'm surprised because I would have expected IBM to do reasonably well and I didn't think that Lenovo would make significant changes. From now on I will refrain from purchasing Lenovo products. I will still purchase second-hand IBM products, but nothing under the Lenovo brand until they clean up their act.

Also it's worth noting that computers manufactured with toxic chemicals will outgas some of the chemicals into the local environment (IE your server room, bedroom, or wherever else you have computers). Avoiding the computers manufactured with toxic chemicals is not only good for the environment, but also good for your health!

Russell Coker: vision

At the start of the year I suffered a minor injury to my left eye. This brought my vision down to slightly below average for my age. A doctor and an ophthalmologist both thought that my vision was good enough at this level and that I don't need glasses. But the ability to use a small font means that I can have more text on screen and thus do my work more effectively. Since about March I have worn glasses all the time. Regardless of what the experts say I want to have good vision all the time and there is a significant difference between my vision while wearing glasses and that without.

It's often recommended that people get their eyes tested about every 2 years from when they are in their late 20's and also get a test done a few months after any eye injury. I strongly support such recommendations for anyone who works in the computer industry. Even if your vision is slightly less than it could be it will make a difference to your work. I have not found glasses to cause me any inconvenience, I'm sure that it would be bad for children to wear glasses but for adults the only potential issue is when playing sport (which is less demanding on your vision than reading an 8 point font on a typical monitor). I am constantly amazed by TV and radio adverts which say "do you wear glasses, if so then you must have considered LASER eye surgery". Glasses are fine (IMHO) and I will not consider having a LASER or other dangerous object pointed at my eyes unless I am in danger of death or blindness!

The testing apparatus that an optometrist uses is interesting to inspect if you like machines. It is a device with a huge selection of levers for inserting different lenses in front of your eyes until they discover the combination that gives you the best vision. If you get your eyes tested make sure you get the optometrist to explain everything, you can learn many interesting things.

Recently, I have had a further eye problem. Recently my central vision went blurry with a shimmering affect for about 40 minutes, but the peripheral vision was OK. An ophthalmologist diagnosed this as a migraine, apparently I got a very mild one with only a minor visual affect but no headache etc. One thing that is apparently possible when experiencing migraine related vision impairments is the ability to act on visual information without consciously knowing it (EG catch a ball without seeing it).

A migraine is a better diagnosis than I had feared. The movie Super Size Me (the topic of tomorrow's blog entry) contains an interview with a main who describes a diabetic vision problem that sounded similar to mine. Migraines don't cause permanent problems while diabetes can, and diabetes requires lots of unpleasant blood tests and injections.

Apparently migraines are often triggered by physical events or food items. If you suffer one then it's recommended that you write down as much information as possible about the previous 24 hours to help track down the cause. If you experience something similar to what I describe then do not take this blog entry as medical advice, instead rely on a doctor and whichever specialist they refer you to. But do write down everything that happened prior to the medical problem (keeping an accurate diary can't do any harm).

The Wikipedia entry on Migraines has a lot more interesting information, but don't take it as medical advice either. One particularly interesting thing in the Wikipedia article is the note that migraines may be caused by not having suitable glasses, or prevented by wearing special glasses.

Russell Coker: more about MX records


In response to my previous post someone pointed out that MX records have an obvious benefit of offering multiple servers at different priority levels.

I don't believe that this is a benefit for many machines on the modern Internet. Most systems that have secondary MX records implement them poorly, they have less SPAM checks on the secondary MX server, and it often doesn't even have a canonical user-list! This is a really serious problem, spammers apparently often target the secondary MX server (I don't have evidence for this but many people assert it to be true and it would obviously work so is likely to be true) and it's well known that spammers often guess account names (a quick scan of the logs of any mail server will prove this). These factors combine to make a secondary MX server without a canonical list of user-names a serious spam problem, it will receive mail and then bounce it to innocent third parties (the vast majority of spam has a forged sender nowadays).

If you have the ability to run a well configured secondary MX server with a canonical list of valid account names (which must be maintained independently of the master mail server for obvious reasons) then there is the issue of why you would want to do so. What problem does it solve? In the early days of the Internet mail storage machines were often end-nodes on the network, many hops away from the central well-connected machines. This meant that sometimes connections would time-out or the hop count (which was smaller then than it is now) would be exceeded. Having a well connected server being a secondary MX server was a significant advantage for a small mail server in those times (by todays servers almost all the mail servers of 1993 are small and the biggest servers of 1993 were medium sized by today's standards).

I just did a quick search for machines with secondary MX records (IE multiple MX records at different priorities). The only significant mail service with such configuration that I could find was gmail. Hotmail.com, ibm.com, microsoft.com, aol.com, and zonnet.nl all have multiple MX records at the same priority - this is a cluster of primary mail servers not a primary/secondary configuration. The evidence suggests that mail servers such as hotmail.com do not benefit from a secondary MX record, so I doubt that any other domain needs it either.

In response to a comment on my previous post, I have previously mentioned in mailing lists the issue of spammers attacking secondary MX servers, but I couldn't see it when reviewing my blog archives.

Above is day 10 of the beard.

Wouter Verhelst: Linux 2.6.18 vs NBD

Version 2.6.18 of the kernel contained a small(ish) change to <linux/nbd.h>:
--- nbd.h	2006-10-17 19:53:55.000000000 +0200
+++ /usr/include/linux/nbd.h	2006-09-20 05:42:06.000000000 +0200
@@ -37,19 +37,28 @@
 /* userspace doesn't need the nbd_device structure */
 #ifdef __KERNEL__
 
+#include wait.h>
+#include mutex.h>
+
 /* values for flags field */
 #define NBD_READ_ONLY 0x0001
 #define NBD_WRITE_NOCHK 0x0002
 
+struct request;
+
 struct nbd_device  
 	int flags;
 	int harderror;		/* Code of hard error			*/
 	struct socket * sock;
 	struct file * file; 	/* If == NULL, device is not ready, yet	*/
 	int magic;
+
 	spinlock_t queue_lock;
 	struct list_head queue_head;/* Requests are added here...	*/
-	struct semaphore tx_lock;
+	struct request *active_req;
+	wait_queue_head_t active_wq;
+
+	struct mutex tx_lock;
 	struct gendisk *disk;
 	int blksize;
 	u64 bytesize;
@@ -68,11 +77,11 @@
  * server. All data are in network byte order.
  */
 struct nbd_request  
-	u32 magic;
-	u32 type;	/* == READ   == WRITE 	*/
+	__be32 magic;
+	__be32 type;	/* == READ   == WRITE 	*/
 	char handle[8];
-	u64 from;
-	u32 len;
+	__be64 from;
+	__be32 len;
  
 #ifdef __GNUC__
 	__attribute__ ((packed))
@@ -84,8 +93,8 @@
  * it has completed an I/O request (or an error occurs).
  */
 struct nbd_reply  
-	u32 magic;
-	u32 error;		/* 0 = ok, else error	*/
+	__be32 magic;
+	__be32 error;		/* 0 = ok, else error	*/
 	char handle[8];		/* handle you got from request	*/
  ;
 #endif
Which meant that the userland NBD utilities would not build against that anymore. The Debian packages are unaffected (they ship their own nbd.h since they need to build on non-Linux ports, too), but that doesn't mean we can leave it like that. The first hunk is unimportant, as it's enclosed within an #ifdef __KERNEL__. The others represent an interface change: rather than having u32 and u64, they come with __be32 and __be64. Nothing that can't be fixed with a few #define lines, but still something that had to happen. So today I released nbd versions 2.7.8 (from the outdated 2.7-branch), 2.8.7 (from the current stable and supported 2.8-branch), and 2.9.0-test3 (from the current development branch) to sourceforge, and released version 1:2.8.7-1 to Debian unstable. I'll probably also release 1:2.9.0-test3-1 to Debian experimental "some time soon", but not just yet. Apart from the obvious #define lines, the 2.9.0-test3 release also fixes some issues (in contrast to -test2 which was a bit of a crashing horror, -test3 actually works) and has revamped multi-file support. Most of the changes in -test3 (in fact, most likely all of them apart from the #define lines) were done by Phillip Hellewell, whom I owe a beer if I ever see him. Occasionally, the 2.9 line has some extra code and features that aren't available in 2.8, such as configuration file support and the ability to serve multiple block devices from one nbd-server parent process. Check it out if you have a chance and/or are interested. On top of that, the 1:2.8.7-1 release also contains some fixes in the debconf stuff, that close 3 bugs. Am I cool or what? Nah.

Paul van Tilburg: Hypermedia

This weekend I was finally able to finish (after 7 days of full-time labour) the assignment of my last pending bachelor course: Hypermedia Structures and Systems. The assignment of this purely on-line course consisted of the conversion of a linear document to a hypertext one. This meant splitting the document in dozens of nodes and then going through each of them (iteratively) and linking them together using several techniques while keeping useful guidelines in mind. While discussing this assignment with Bas we decided it would be nice to build the site using Webgen. Webgen is good at transforming nodes that just contain text (with a bit of Textile markup) to nice XHTML 1.1 valid pages. We also extended Webgen with a few plug-ins: one to create links to nodes without having to mention the paths but just using unique identifiers. That way we were sure the links were also always pointing to the right page. The other plug-in we wrote was to be able to do bibliography stuff a la LaTeX. I am quite satisfied with the result, which will be graded this week. ;)

Joachim Breitner: openghana.org launched

The idea was not mine, but nobody seemed to do it, so I just did it and created openghana.org: OpenGhana logoIt is meant to be a common domain name and portal for the various Free Software related groups in Ghana, especially Linux User Groups, and I hope it causes synergy effects. We are also thinking what services can be provided on that site. At the moment, there is planet.openghana.org, a blog aggregator with blogs from various members of the Ghanaian Free Software community.

Currently, there are two LUGs on openghana, but I hope that others will join as well.

Jeff Bailey: Redirect versus refresh

I spent the weekend cleaning up my vanity site, CSSizing it and such. Since I moved a few documents around, I wanted to make sure that they were still findable. Most of the site wasn't PHP before (it is now for common navigation / footer includes, etc.) so I had the challenge of how to send people to the new pages.

It's most common to find "refresh" pages, ones that you go and they redirect you to another location with a 0 timeout (and often a cute little notice that says if your browser doesn't DTRT, you should click the link). There doesn't seem to be another meta tag that could do the redirect trivially.

This is another case where PHP wound up being useful. Since I moved my weblog from my homesite to LiveJournal a while ago to let comment spam be Someone Else's Problem, I had that and a whole directory of stuff underneath it that was no longer there.

jbailey@titanium:~/web$ cat weblog.php
<?php
header("HTTP/1.0 301 Document Moved");
header("Location: http://jbailey.livejournal.com/");
exit();
?>


Now works for http://www.raspberryginger.com/jbailey/weblog and any of the directories underneath it. Another side trick to this is that if I had a file foo.html, I can create a foo.html.php file with the same sort of thing in it. Apache's automatic extension tracking will find the .php file and sort it out automatically.

One thing I did discover is that if I have "weblog.tar.gz" and "weblog.php" sitting side by side, apache will prefer the .tar.gz file. *sigh*

Biella Coleman: From the Fox to my Galeon

Mozilla/Firefox in a lot of ways was/is the poster child of free software… I mean do you know how many times I was talking to a certain non-technologically-inclined-person who claimed to not know a thing about open source, and then after I asked what browser they were using and when they said Mozilla, I would let them in on the dirty little secret that they were, in fact, in its very bosom, cradled in and by the rhythm of freedom. And they would gleefully respond with some excited variation of “I had NO idea and I love it… those tabs, those plug ins, that speed….blah blah.” I just loved inducing that reaction. But for me my love affair with Firefox is officially over. For many years it was a happy, fulfilling relationship but lately, the little red fox has let me down, acting way too erratic, crashing during those inopportune moments, like when opening a pdf, which would cause the whole apparatus to come crashing down, and all those lovely open tabs, with all that information, would be gone in an instant. For the last 4 months, every time this disdainful event occurred, I would just bemoan and bitch a lot, especially on IRC. Part of me was a loyalist but a bigger part of me was just very very very lazy. With all my bookmarks, with my tool bar, with all my passwords configured JUST RIGHT, I felt enduring the crashes and loss of data was worth it. But no more (admittedly my IRC compatriots were sick of hearing me complain and pretty much demanded that I change). So now I am going to “rediscover the web” but with Galeon. It is up and running and I have transfered a good chunk of my settings over and over the course of the next few weeks I will make the transition. So far so good though there is work to be done, to be sure, to make Galeon into my new love(ly), web browser.

Axel Beckert: Next Shell Quoting Talks

There are a several events coming up where I plan to hold my Shell Quoting Talk: First, there will be the BarCamp Zurich on October, the 28th at ETH Z rich HG and then there will be the 8th Linuxday.at on November, the 18th at the HTL at Dornbirn (Vorarlberg, Austria) organised by the LUG Vorarlberg. It’s also possible that, in addition to the Shell Quoting talk, I’ll also give a talk for beginners about Commandline Helpers. (Probably all the talks will be held in German.) BarCamp Z rich I’m quite curious on both events, for very different reasons. On the one hand, a BarCamp is something completely new for me and it sounds like a very interesting mixture of a real life Wikipedia meeting and a flash mob to me. On the other hand, this year’s Linuxday.at will have several new facettes for me: First there were several changes in the organising team, so I wonder if and in that case how much this will change the face of the event. Then it’s the first Linxuday.at since I live in Zurich, which means it’s the first Linuxday without 1000km travelling during that weekend, so I also have some time to meet friends in the area in advance to or after the event. Yeah!

16 October 2006

James Morrison: housing

I spent the day riding around SF looking for a place to live. Jeff and I only ended up seeing three appartments. Two where basically in the same building. The first was empty, suitable, but the a horrible paint job that had been done after the previous tenant moved out. The second was a really nice place where the guy is getting out of his lease. The last place was nice and big, sunny enough, but there were two problems. We couldn't figure out how to use the shower, and the landlord/super was absolutely useless to talk to.

Yesterday, I helped celebrate a few birthdays, one for Todd in his beautiful backyard, then later on up in the City for Sean and Trevors 26th birthdays. A good time was had by all, except Ben's replacement*, who got stuck at work the entire time.

* Further commentary and pictures are required for Ben's replacement.

James Morrison: Awesome ride

Yesterday, I had an awesome ride to Santa Cruz, the clipless pedals were very nice to use. The ride was pretty simple, get to the top of Skyline (take redwood gulch) to down to big basin, get our water refilled, go to the top of empire grade (Jamison Creek, or some fireroad) and then down to Santa Cruz. On the way to Redwood gulch I we were stopped at a stoplight, then all of a sudden I leaned slightly towards the pedal I was still clipped into. So, yup, my first day with the clipless pedals I fell. During this fall, I managed to loosen the clips on my shoes, so I needed to stop shortly afterwards to adjust my shoes. The next adventure came when 3 of us decided to take the fireroad up to Empire Grade. The fireroad starts somewhere in HP's Little Big Basin area, and is a nice trail to hike. It was rather steep, it was sandy, it was rocky and everything in between, so we had to walk our bikes up this trail. I took my shoes off and simply wore my wool socks to hike up the trail. Coming down Empire Grade was a lot of fun, not too many cars, and one of those cars even decided that passing me was a bad idea and got out of my way.

To top off such a fun day, when I finally got back to my apt, I discovered that I had the wrong set of keys. I had my one set of keys that didn't have an apt key. Oops.

Wouter Verhelst: MacOS X "open source"

A few years back, news was buzzing over how Apple was going to make its then-next operating system, MacOS X, to be Open Source. A CVS server was set up, a number of other things were done, and people could actually contribute back code. Fast forward more than half a decade, I was wondering today why nothing interesting has happened with that code. I mean, sure, there's OpenDarwin, but who's ever heard of someone actually running that? Not me, that's for sure. So I went and had a look at the OpenDarwin website, trying to figure out what the hell had happened to that. Turns out that (1) according to this article, Apple's mentality to "open source" is actually not very open source at all anymore, and that (2) the OpenDarwin project has shut down by now as a result. Guess it's too late to try anything remotely similar to "Debian GNU/Darwin" today, then.

Russell Coker: MX vs A record

One issue that has been the topic of some pointless discussion is whether a mail server should have an A record or an MX record. Mail can be delivered to a domain that has no MX record but simply an A record pointing to an IP address. But the most common practice is to have an MX record pointing to the name of the machine that serves the mail. A common use for this is to have a bulk mail hosting machine with multiple MX records pointing at it, which then allows you to have matching forward and reverse DNS entries for the machine name.

If you have no MX record for a domain then Postfix will do the following DNS requests:
IP postfix.34245 > DNS.domain:  3448+ MX? example.com. (32)
IP postfix.34261 > DNS.domain: 50123+ A? example.com. (32)

If you have an MX record then it does the following:
IP postfix.34675 > DNS.domain:  29942+ MX? example.com. (32)
IP postfix.34675 > DNS.domain: 33294+ A? mail.example.com. (37)

Now if there are multiple domains on a bulk mail hosting system then the A record might already be in a local cache on the sending machine, so having bulk mail hosting with MX records may reduce the number of DNS lookups, with the minumum number of lookups being half plus one.

If there is no bulk mail hosting then an MX record would still offer some slight benefits if the positive responses are cached for longer than negative responses. This would mean less lookups which gives faster and more reliable delivery of mail plus being more friendly to the net. I don't know what the cache behaviour is in this regard so I'm not sure if this would actually give a benefit (I'm sure someone will comment with the answer).

Now regardless of these issues I think that using an MX record is the better option. It's what most software expects and saves you from the excitement of discovering corner case bugs in various software that's out there on the net.

Adam Rosi-Kessel: Lawyer-Bashing and the Governor&#8217;s Race

The Massachusetts race for governor has turned very ugly. Even setting my personal partisanship (and professional bias) aside, I’m certain that the blame is not equally shared on both sides. Massachusetts Lawyer’s Weekly says it better than I could, and I reproduce the entire editorial here:
Deval Patrick for governor During the 34-year history of Lawyers Weekly, the paper has never endorsed a candidate for elected office. This practice was borne out of the notion that the political, or societal, issues that dominate races typically outweigh issues that are of distinct interest to lawyers. But the race for governor in Massachusetts in 2006 is suddenly very much about what it means to be a lawyer. On the one hand, we have Democratic nominee Deval Patrick, whose stated policies on judicial independence and appointment of judges (among other issues) reflect a genuine understanding of the legal system. Conversely, Republican nominee Kerry Healey has launched a chilling assault on the practice of law. Healey is running a television ad that takes Patrick to task for his 1985 representation of a defendant accused of murdering a police officer — an ad that borders on the bizarre in its reasoning. “While lawyers have a right to defend admitted cop killers, do we really want one as our governor?” the ad asks. Last week Healey added an ad that references Patrick’s one-time support of convicted rapist Benjamin LaGuer. “What kind of person defends a brutal rapist?” the ad asks. With those misguided questions, Healey has insulted an entire profession. Here’s hoping she does not get away with it. What is Healey’s message? That criminal-defense attorneys somehow should be associated with, or blamed for, the actions of their clients? That protecting important constitutional rights is somehow a seedy business? Healey has resorted to the worst form of pandering, openly inviting voters to think of Patrick as someone who associates with criminals. Her finger-pointing has a flavor of McCarthyism, suggesting that anyone who has spent time in the criminal-defense arena should be identified, called out and avoided. The lieutenant governor proclaims herself a criminal-justice candidate who is tough on crime. Yet nearly everyone associated with the criminal-justice system, be they defense attorneys, prosecutors, police officers or otherwise, understand that the Constitution guarantees the right-to-counsel, and the right to a zealous advocate. Healey no doubt understands this as well, but conveniently ignores it as she paints Patrick a villain. Gov. Mitt Romney knows that diminishing the work of attorneys often makes for good politics. He rarely hesitates to criticize lawyers — or judges — if it suits his agenda. But even Romney has never sunk this low, to this crass sort of demagoguery. Healey has become the bully in the schoolyard, poking fun at the overweight children. Look, he’s a lawyer. He must be a second-class citizen. Deval Patrick, meanwhile, has quietly made it known that he appreciates the key components of the legal system. He favors giving judicial administrators more control over their budgets and pay increases for lawyers who do work for the state, including prosecutors. Patrick says he would devote much attention to selecting judges, returning power to the Judicial Nominating Commission. And the former civil-rights attorney has suggested that he will be careful before criticizing a judge’s decision. “Judges don’t go looking for hard decisions,” he has said. As to the LaGuer matter, Patrick missed an opportunity with a clumsy, disjointed explanation of the matter. Patrick could have simply stated that any efforts he made in helping LaGuer obtain a DNA test were in the pursuit of truth. As former Suffolk County District Attorney Ralph Martin so eloquently put it in an Oct. 8 Boston Globe op-ed article, “I never thought that serving the ideals of the Constitution made you soft or tough on crime. … Respecting the Constitution doesn’t make you soft or tough — it only makes you just and fair.” One need not be defined by one’s profession, of course, and lawyers will have other important matters (i.e., education, taxes) on their minds when they go to the polls on Nov. 7. But attorneys can rest assured that a vote for Deval Patrick guarantees an appreciation for many of the ideals that lawyers deem important — while a vote against Kerry Healey sends a message that lawyers won’t tolerate her unforgivable cheap shots. Do we really want someone who defends accused criminals as our governor? President John Adams, author of the Constitution that Healey swore to uphold as lieutenant governor, defended the accused killers in the Boston Massacre trial. Do you think Adams would have been qualified to be our governor?

Paul Wise: 16 Oct 2006

[RV Heraclitus SE Asia voyage: blog photos] So tomorrow, we leave Australia from the administrative center of Thursday Island, just past the northern tip of the Cape York. The past few weeks we've been sailing successfully through the dangers of the Coral Sea. I've seen a lonely seagoing turtle, the fine coral beaches at Lizard Island, sunrises and sunsets, dolphins playing with a fish underneath the bow and surfing the waves, many anchorages we didn't have time to go ashore at, reefs we didn't dive at, a torn sail, huge freight ships doing 20 knots (RVH did 6 maximum so far), kilometers of coconut trees on Chili beach near Lockhart, the hospitality of folks in "the last outpost of civilisation" (Portland Roads), some great Aboriginal art at the Lockhart River Community, amazingly huge white sand dunes on Cape York and lots and lots of ocean. I've felt sea-sickness, home-sickness, missing-the-internet-sickness, love of the sea and an assortment of other emotions. The past weeks have been a huge learning curve, nothing we could have done in port would have been preparation enough for raising anchor, docking, motoring out of the harbour channel, navigating, raising and lowering sails, helming, 30 knot winds and big swell. We've survived so far though and I'm looking forward to open-sea sailing without constant dangers all about, which we will probably get some of during the next 3 weeks sailing to Kupang (Timor). Unexpected, but pleasant, has been the lack of distraction provided by the Internet, I've found I've been able to work on my personal free software projects more effectively without it. That is, when we have generator power available (ships batteries are old and not so good). It is times like these I wish I had 1) a Debian mirror 2) a distributed VCS (quilt will do for now though) 3) tried to get wireless working before I left 4) solar panels.

Uwe Hermann: Project Censored: Top 25 stories ignored by media in past year

Ok, this list should be pretty old news by now, but — by definition — the content of it is not. Because... it's simply not in the news: The Top 25 stories ignored by media in past year (via Project Censored): Full list with more details here... (via Boing Boing)

Next.

Previous.