Search Results: "eof"

9 October 2006

Adam Rosi-Kessel: Absurd Copyright Law Case of the Day

I’m visiting my parents’ house in Vermont, where they finally got cable after the provider agreed to dig up the ground and run a mile or so of cable to their house in return for a two year subscription agreement. (I think after two years the cable company will almost have broken even on the cost of the installation). Having been absent myself from the cable world for some time, I am impressed by the variety of interactive and “on demand” options. My parents’ low-end package includes dozens of free on-demand movies and music videos, as well as built-in easy-to-use tivo-like functionality. The on-demand music videos show one brief ad before the video — it seems the tradeoff is that if you are really going to watch the ad, they can get more money and show you fewer ads. (Or, maybe I’m wrong — if it’s one ad per video, I suppose that would be more ads, but it feels like fewer because of the “on demand” nature. I guess it’s a perceptual trick.) Anyway, getting to the title of this entry. Anybody in the field of intellectual property these days has got to find Weird Al Yankovic’s music video for Don’t Download This Song (warning, myspace page, authorized by Weird Al!) (or, here) (warning, YouTube page, also authorized by Weird Al!) at least a little amusing. If you haven’t watched it, see it now. The opening verse goes like this:
Once in a while maybe you will feel the urge
To break international copyright law
By downloading MP3s from file sharing sites
Like Morpheus or Grokster, or Limeware or Kazaa
But deep in your heart you know the guilt would drive you mad
And the shame would leave a perminant scar
Cuz you’d start out stealing songs, then you’re robbing liquor stores
And selling crack and running over school kids with your car
On the cable video-on-demand channel, however, the names of all the filesharing services (Morpheus, Grokster, Limewire, and Kazaa), are all replaced with beeps, as if they were vulgarities unfit for broadcast. Or cable. If you had never seen the video online, you’d actually be likely to think this was another Weird Al joke — that he can’t even sing the names of (the mostly now defunct) filesharing services publicly. But I’m pretty sure the video was censored by the cable provider or distributor and the irony is wholly unintended. There are a couple of possibilities here. One is that the distributor was trying to avoid inducement liability under the Supreme Court’s decision in MGM v. Grokster. Could a funny song about filesharing actually meet the inducement standard? I sure hope not. The other possibility is that the distributor just found the references too abhorrent to leave in — basically the equivalent of the seven dirty words banned from broadcast TV and radio. Either way, if Weird Al were dead, I’m sure he’d be spinning in his grave. We’re lucky he’s still kicking. (“case” is kind of a misnomer for the title here, but is included for consistency).

15 September 2006

Joey Hess: bookmarks and stuff

This is kinda a mix between my list of bookmarks and some things I've been thinking about and following lately. astronomy I've been reading a lot of astronomy stuff lately, a lot more than my usual low-level interest in it. I'm kind of feeling the need for a refresher course, so I can get a better handle on stuff that's happened since I studied this stuff in school. It's hard to get my head around things like dark matter and really grok the evidence. While black holes and relativity and such seem so obviously a natural part of this universe. Does this mean I'm getting old? The chance to bounce questions and ideas off someone would probably help in getting a real grip on this stuff. So would a lot more physics than I know.. (Hurrah for Eris BTW. The name almost makes all that sillyness over a mere definition worthwhile.) Favorite sites: Universe Today and Wikipedia.
weather I've been following this hurricane season, to make up for having paid so little attention to last year's disastrous one. I knew about the "New Orleans bowl" scenario well before Katrina, and the night before it hit I actually spent several hours tuning in far-away AM stations from down there and listening to the city not react in time. But despite all that I feel that I missed out on really seeing it happen, so I've been learning about tropical waves, and wind shear and ULL's, and dropsondes, and the satelite data that can be used to follow hurricanes. The nice thing is that instead of the old stereotype of someone watching the weather channel 24/7 with a map and thumbtacks, these days there's a nice mix of pre-processed info and analysis and raw data, easily followed in small amounts of time on Wunderground's blogs.
spaceflight Half love and half hate. The recent shuttle mission has been a riot for a shuttle-hater and SF lover. It has all the elements of one of those SF novels where they go down to the cape, dig up an Apollo stack, and use it to save the world / travel to Mars / fight the alien invaders. Except here they're pulling an unused orbitor out of mothbolls. And putting it up on the launchpad with a hurricane bearing down, getting it struck by lightning, pulling it off the pad, changing their mind with the giant crawler half-way through that milti-day maneuver when the hurricane fizzles, putting it back, filling and refilling the tank as sensors fail and they rewrite their safty regs on the fly, barely making the launch window, and proceeding to triumphantly lose nuts and break wrenches .. In Space! Space opera, indeed. Then there's the genuinely interesting stuff. Intentional crashing of a French probe into the moon, probes firing projectiles at asteroids and trying (with great difficulty and many glitches) to return a sample. A mission on its way to Pluto. The rovers still going strong on Mars after all this time. Bigelow launching an inflatable prototype of his planned space hotel. A whole load of microsats tragically blowing up on launch. All the private aereospace stuff, which seems to close to turning into something real. Happily followed at Spaceflight Now.
TV Over the past while and a half I've been very happy to discover The Wire and Deadwood, have been working my way through the Sopranos and Lost, been creepily fascinated by Big Love, got a kick out of the Canadian antics of Corner Gas, vegged out to Greys Anatomy, and have been very sad to reach the end of Six Feet Under. BSG, Doctor Who, House, and some other shows haven't held up as well past the first seasons for me. Happily, there's NetFlix, which makes it plausable that I did this legally despite not having HBO or even owning a TV.
literature I've been reading Charles Stross, David Drake, John Twelve Hawks, Kelly Armstrong, Naomi Novik, Robert Charles Wilson, VC Andrews, and, loath though I am to admit it, John Ringo. I'm in the middle of books by Steph Swainston, Geoff Ryman, and Dave Duncan. I finally found a defintion of Science Fiction I like, but I lost the link. (It's the subjective "her world exploded" one.) Anyway, I'm afraid that I may have reached the point where to get much more out of reading SF, I'd have to start going to cons. Which I don't want to do. But I seem to be at a low ebb for it being interesting to me, or just need to finally tackle some other branch of literature. Actually, the most engaging reading I've been doing lately is in the achives (all of them!) of the Idle Words blog. It makes obscure details about Poland and China, and even interpretation of Russian classics seem pretty darn interesting, and has much better rants about the space shuttle. And it proves that blog entries should properly be good and long.

4 September 2006

Branden Robinson: Managing Debian's Trademark

On 21 August, Don Armstrong, a Debian developer, accepted my offer to serve as my delegate in handling trademark issues vis-à-vis the DCCA. As an employee of a DCCA member company, I found it wise to avoid the perception of a conflict of interest. I should stress that any such perception would merely have been conjectural, however; at no point have I been asked by anyone to put my thumb on the scales, as it were, and deal with the DCCA or any of its member organizations in a preferential way. It is widely understood within the Debian Project that our existing trademark policy, originally formulated in 1998, is too vague, and has not scaled well to suit Debian's much greater degree of success and market penetration (on its own, and in the form of derivatives) seven years later. However, grappling with the issue has proven challenging for Debian's membership. I believe this is mainly because the Free Software hackers that comprise our organization have tended to self-educate to a far greater extent on copyright law, and even patent law, than they have on trademark law. Recently (within the past year or so), Debian gained access via its U.S.-affiliated charitable organization, Software in the Public Interest, Inc. to a pro bono legal counsel who understands the Free Software culture. Debian's difficulty with trademark management is not unique — we have been on the other side of this problem when dealing with the Firefox and AbiWord trademarks, since we customize the codebases of these software projects in our GNU/Linux distribution, but ship them with their names (and logos) intact. It so happens in these cases that the originators of the software (who hold the trademarks) approve of our modifications. One of the essential pillars of software freedom, however, is the user's right to make modifications that the authors or rights-holders in the software may not agree with. Free Software hackers can feel, with some justification, that it is misleading to uphold the freedom of a work on the one hand (by using a copyright license such as the GNU GPL), and take it away with the other (by asserting a trademark on some essential aspect of the work, such as its name). It is true that a work can be renamed, or descriptive text changed, to identify itself as distinct from an "official" version of the work, but this in turn, it is feared, can damage perceptions of the work through at least two mechanisms. Firstly, disclaimers about unofficial status may be unnerving to users who aren't schooled in the vagaries of trademark law, in which — at least in the United States — you are expected to aggressively defend your mark lest you lose a future infringement case you bring against a well-heeled defendant. Users may mistake strident proclamations of unofficial, unendorsed status in a piece of software as a warning that it is unsuitable for use, or has known severe flaws. Secondly, aggressive use of trademarks, or even just the tension observed above between giving with a copyright license and taking away with a trademark license, may lead some distributors to rename a work, obscuring its origins to the casual user. This can happen pre-emptively, before a distributor even knows whether the modifications they have made (or think they might make in the future) have met with any objection from the trademark holders in that work. The "freedom to fork" (i.e., make a derived version unendorsed by the original author) is an essential part of Free Software, and while Free Software hackers' sense of community generally leads them to eschew forking in favor of compromise and consensus, occasionally a fork ends up growing the userbase or improving the overall quality of the Free Software landscape. A hacker may fear that brash trademark assertions by an author constitute mere lip service towards the freedom to modify the work without changing its name, and may be tempted to fork it, leaving the trademark encumbrance behind. Even among those who do not guard their software freedoms quite so jealously, the fear can exist that a simple difference of opinion over some technical programming detail, such as choice of sorting algorithm or graphical toolkit, will escalate to the point where the trademark license on the work (implicit or otherwise) is withdrawn. This is the inverse of the previous situation — instead of a modifier choosing to fork a work, the original author of a work (or, at any rate, the holder of the trademark associated with it), can force the modifier to fork. The dilemma this imposes upon the people creating the modified versions — revert your existing change or be legally compelled to make an additional one — can rub people the wrong way. When forking occurs, for whatever reason, and even in the relatively benign case of "rebranding" to remove legally protected marks, the threat exists that the competitive strength of the corresponding software will be diluted. Imagine if each of four major GNU/Linux distributors rebranded their version of Mozilla Firefox, calling it instead things like "Lizardfox", "Hatfox", "Swirlfox", and "Hearstfox". How many users would deduce that the web browsers in question were all "really" Mozilla Firefox, each one with a fig leaf placed delicately over it so that the legally-minded types at the Mozilla Foundation and the distributors could wink at each other? Even the somewhat savvy GNU/Linux user may be more confused than one might expect, given that other names used for Mozilla's suite of applications include Sunbird and Thunderbird, yet there is an independent Free Software project called Firebird, which was established prior to the Mozilla Foundation's adoption of its product naming scheme. "What's in a name?", you may ask. They're important because they are simple labels we can use to refer to Free Software success stories. There's a lot of Free Software to talk about; the phenomenon of copyleft does much to ensure a competitive culture. It's difficult to achieve an unnatural monopoly in this environment, because anyone who steers a software project in a direction the users don't want to go has to cope with the prospect of seeing a group of those users organize their own community based around a derived version that does what they want. The hypothetical hydra-headed Firefox situation described above, however, is an example of false competition, because the distributors were compelled to distinguish their Web browsers for legal, rather than technical, reasons. In actuality, Mozilla Firefox is a good example of what's right about Free Software, not just because of its licensing but because a web browser is a familiar concept to nearly every computer user today. Free Software's early successes were more esoteric — GNU Make, the GNU Compiler Collection, the GNU C Library, GNU Emacs, and even the Linux kernel are not pieces of software that the general user can easily conceptualize. It is beneficial — to say nothing of convenient — to refer to the leading freely-licensed web browser as "Mozilla Firefox" rather than "a suite of mostly-compatible, similarly-named Web browsers shipped by the various GNU/Linux distributors". Those who seek to foment confusion and FUD about Free Software would doubtless capitalize on such a situation. These issues are challenging but not insuperable. A coherent policy will enable the community to establish a set of common practices, whereas now there are few conventions in the trademark arena. Ultimately, it is my hope that Debian will be able to promulgate a trademark policy that not only satisfies our needs, but serves as a model for others. To establish a successful policy, I suspect we need to build one up from basic concepts, and formulate explicit answers to fundamental questions. Originally published 2005-09-14.
Updated 2005-10-15 to add licensing in comments.

Branden Robinson: Original Intent

Courtesy of FindLaw Legal News: WASHINGTON-President George W. Bush said Wednesday that Harriet Miers' religious beliefs figured into her nomination to the Supreme Court as a top-ranking Democrat warned against any "wink and a nod" campaign for confirmation. "People are interested to know why I picked Harriet Miers," Bush told reporters at the White House. "They want to know Harriet Miers' background. They want to know as much as they possibly can before they form opinions. And part of Harriet Miers' life is her religion." Courtesy of the United States Constitution, Article VI: ...all executive and judicial Officers, both of the United States and of the several States, shall be bound by Oath or Affirmation, to support this Constitution; but no religious Test shall ever be required as a Qualification to any Office or public Trust under the United States. Oh, well, just so long as it's a criterion, not a test. I mean, it's only essential, not a qualification or something, right?

Branden Robinson: Update on Debian Security Infrastructure and Personnel

Since I got back from the Oldenburg Linux Developers' conference, I've had my attention on our security infrastructure. Despite only being there for one and a half days thanks to a badly delayed trans-Atlantic flight, I found the conversations and collaborative spirit heartening. The bad news is that what I had planned for a writeup got rendered obsolete soon after I returned to the United States. Things have been changing rapidly, but mostly for the better. We've got three machines in the DNS rotation for security.debian.org now, which is superior to the one we had before (you can use the command dig security.debian.org to inspect the DNS record). My thanks go to our security and system administration teams for recovering from the recent overload problem provoked by an xfree86 package security update. Being somewhat familiar with that package, I can understand how its large size combined with Debian's ever-growing userbase starved the security host of bandwidth. Secondly, while I was in Oldenburg, Joey Schulze gave me a lot of insight into what a challenge one particular package is — the thing sucks up at least half of his time, dwarfing all other stable security update efforts. You've probably guessed that this package is the Linux kernel. Due in part to its success, and in part due to OS kernels being inherently attractive exploitation targets, the Linux kernel is getting a significant amount of scrutiny from a security perspective. Taking Red Hat Enterprise Linux as an example, we can see two advisories in the past two weeks: one on 28 September and one on 5 October. The one on 28 September addressed eighteen (18) different vulnerabilities as catalogued by MITRE's CVE project, and the one on 5 October — that's one week later — addressed fourteen (14) vulnerabilities, of which eight (8) were distinct from the previous advisory. (There was some overlap because the earlier advisory was for Red Hat's Linux 2.4.x kernel series, and the latter was for the 2.6.x series.) Those Debian developers who have ever handled a security vulnerability in one of their own packages can likely imagine the labor burden this is. Then reflect that Debian ships and supports a lot more Linux kernel trees than Red Hat does — this only magnifies the problem. The good news is that a team of developers focused on stable kernel security updates has been established. One of its members said to me today that he has seen a "very positive increase in kernel-related security activity". It is too soon to declare this problem resolved, but I perceive no lack of talent or dedication on the part of our developers. I am there to assist them in resolving the organizational and workflow issues so that our users can see the fruits of their energy directly. Similarly, I'm interested to see how the security.debian.org round-robin arrangement holds up after a reasonable period of real-world loads, particularly since I expect kernel package updates to sock the machines about as badly as an X Window System update. These issues are not over and done with, so an announcement declaring these problems vanquished would be premature. At the same time, the developers and users at large need to know whether or not people have their attention on them. I am wary of leaders or managers who declare issues resolved too soon, or proclaim optimism that later turns out to be unfounded, and have sought to avoid this vice. I apologize if I have tacked too far in the opposite direction. I perceive progress in this area. Let me know what you think, what you need to see, and by what metrics you measure progress and accomplishment on the security front. You can reach me at leader@debian.org (the address is already blitzed with so much spam there seems little sense in obfuscating it). (After getting some feedback on this entry, it's my intention to post it with any applicable revisions to the debian-devel-announce mailing list; please take this opportunity to "patch" this "beta", if you're so inclined.)

Benjamin Mako Hill: Debian and Deliberation

I was very concerned by Martin Krafft's appeal to voters in the Debian Project Leader election to shut up about their own "biased" opinions on the race. He argued that the candidates should campaign and that anyone who wants to spread their point of view should be running themselves or keeping their opinions to themselves and getting real work done. Perhaps I just buy into the whole deliberative democracy concept but I think this attitude is dangerous. In fact, I think it's essential that Debian publicly weigh the benefits of possible decisions and discuss, argue, and debate as a group. I think that every instance of public discourse (and no, flaming is not discourse) on project policy or leadership is a sign of a healthy and involved electorate and I'd like to see more of it. The leadership of the Debian project is at stake in this election. Our organization is more complex than a wheel with the DPL at the center. Our decision should be made as a project with a complex organization. That means conversations need to work the way the project does. Obviously, we vote as individuals. But that's precisely why conversations and discussions, through which we can make decisions as a community, play such an important role in informing our votes. I'll leave talking about enfranchisement in Debian, and the lack thereof, for another day.

21 August 2006

Uwe Hermann: Encrypted SMS Solutions?

Dear Lazyweb, I was recently thinking about SMS encryption (you know, the short messages sent from your cell phone). Or MMS encryption for that matter. Are there any Free Software solutions to implement such a thing, based on well-known crypto primitives and proven implementations thereof? From a quick glance I could not find anything usable, only lots of commercial, closed-source "solutions" which cost money and are basically crap. I was thinking about hacking together a small Java application (so that most modern phones can run it) which basically asks for a password and pipes your text through AES before sending the SMS. On the receiver's side, you enter the same password and get to see the plaintext. That's pretty much it. If you want something more elaborate you can use public-key crypto (basically embed GnuPG or similar into the application), but the above should be fine for most uses. Anyways, I do not want to start implementing something like this if there are other, more mature projects out there which do the same... Why you'd want to do this (other than simple paranoia, or the fact that governments and other institutions are spying on everyone these days, whether they're allowed to or not)? Well, one good reason for SMS encryption is when you're using some kind of SMS gateways, e.g. a website which gives you 2-3 free SMS per month if you sign up with them and give them tons of personal data. That alone is crappy enough, but you don't want their admins to be able to read and store all your SMSes in addition (which consist of simple plain-text, transmitted though HTTP in this case!). Neither should any local or remote scriptkiddy who knows how to use a sniffer be able to read your private SMSes. Solution: Write the text in your favorite text editor, pipe it through aespipe (for example), cut'n'paste the result in the web form of the SMS service. The receiver does everthing backwards and you're done.

18 July 2006

Martin F. Krafft: XFS -barriers +write-cache considered harmful

If you have an XFS filesystem on hardware without barriers (or with broken barriers as was the case on my X40's Hitachi drive) and with write-caching enabled, disable the latter NOW (the following will work for PATA drives, and SATA if you have a [rd]ecent kernel):
apt-get install hdparm
df -T   egrep ' xfs '   sed -rne 's,(/dev/[sh]d[[:alpha:]]).*,\1,p' \
    sort -u   while read disk; do cat <<_eof
$disk  
  write_cache = off
 
_eof
done >> /etc/hdparm.conf
/etc/init.d/hdparm start
Also see http://oss.sgi.com/projects/xfs/faq.html#wcache . Anyway, damage mitigated. xfs_repair -d /dev/md1 feels funny when /dev/md1 is the root partition of your laptop and you're about to move to Ireland for six weeks, fully dependent on that machine. But yeah, XFS on a laptop is asking for trouble anyway. Call me masochist.

11 June 2006

Adam Rosi-Kessel: Webloyalty and Marketworks

As this blog has become one of the top sources of information on the Webloyalty scam, I’m reporting this news about Webloyalty and Marketworks, a third party eCommerce site that supports high volume eBay sellers. Marketworks is apparently throwing the switch to make a Webloyalty subscription the default for the thousands of eBay sellers that use its services:
Over the past two years our users have experienced tremendous success incorporating WebLoyalty in their checkout. For those of you unfamiliar with WebLoyalty, it’s a special rewards program offered by Marketworks that benefits merchants with cash and repeat shopping. Given the success our participating Sellers have experienced, effective June 21, 2006, WebLoyalty will be enabled as a default setting in all US-based users’ StoreFront/Checkout profiles. We’ve updated our Terms & Conditions to reflect this setting (effective June 21, 2006 for existing users). If at any time you wish to discontinue your participation, simply indicate your participation preference by clicking the appropriate radio button on the WebLoyalty settings of your StoreFront/Checkout profile. Note that at this time WebLoyalty is only available to US sellers and buyers. Learn more about WebLoyalty. The Marketworks Team
So now not only will there be millions of Webloyalty subscribers who aren’t even aware they are paying for this useless service, there will also be thousands of eBay sellers who aren’t even aware that they are signing their customers up for this useless service. I understand that a number of Marketworks sellers who actually know this is going on are upset, but the majority of users don’t read the forums where this is being discussed. (Full disclosure: I have nothing to do with Marketworks myself.) To be fair, I should mention that a Webloyalty executive (the “lead Consumer Affairs representative” — Mary O’Reilly) has apparently posted to my blog in defense of the company. The following comment appears about 1,000 comments down on my main Webloyalty entry, and is in response to this entry mentioning inflammatory comments posted by other Webloyalty employees calling Webloyalty customers ‘suckers’:
As lead Consumer Affairs representative for Reservation Rewards, I apologize on behalf of WLI Reservation Rewards for the inappropriate and offensive comments posted by the person identifyingthemselves as “WLI Customer Service Representative”. Our company does not condone or tolerate this type of unprofessional behavior and providing consumers with the highest level of customer service is of utmost importance to us. If we can confirm that the comments were actually posted by one of our customer service representatives, appropriate action will be taken with that employee. As a company, Reservation Rewards takes consumer comments very seriously. We have hundredsof thousands of satisfied customers and we consistently strive to provide our customers with first class membership programs and customer service. In the past, our approach has been to deal with consumer concerns on an individual basis rather than in a public forum. To fully address a consumer’s concerns we need some specific information (e.g. the consumer’s full name or email address) so that the consumer’s record can be accessed. Once the consumer’s record is accessed, we can identify exactly how, when and where the membership offer was accepted and also cancel the membership if that is what the consumer wants. However, it troubles us to see the concern that some consumers have expressed on this blog with regard to Reservation Rewards. At this time, wewant to make an open and sincere attempt in this public forum to clear up the misunderstandings that are generating the concerns. We thought the following Question & Answer type format might be the clearest way to share information and address the primary areas of concern expressed on this blog: 1. How Is The Reservation Offer Presented To Consumers? How Did I Get Signed Up For This? We try to make our offer as clear as possible so that consumers can make an educated decision on the offer. Over the years, we’ve incorporated a number of client and consumer suggestions to clarify the offer even further. Consumers are presented with the ReservationRewards offer when completing a transaction at one of our client’s websites. It’s not a check box that you have to unclick to reject the offer. Instead, the consumer is presented with a full offer page (separate from the client’s transaction page) and is required to take 3 actions to accept the offer and authorize the data pass of personal information. In addition to entering their email address twice, a consumer must also click on a ‘YES’ button to accept the offer. The offerpage includes all the Offer Details, clear mention of the monthly charges, a description of the membership benefits and instructions on how to redeem the Cash Back award. 2. How Does Reservation Rewards Get Consumer Credit Card Numbers? Please be assured that our clients aren’t passing credit card information to us without the consumer’s authorization. The security of your credit card information is of utmost importance to each of our clients. They would never provide a consumer’s credit card information without proper authorization. The security of your credit card number is also important to Reservation Rewards and we require consumers to provide us with authorization. In order to accept the Reservation Rewards membership, we requirethe consumer to provide us with their email address twice to make them pause and take the time to read and understand the offer. Immediately next to the boxes where a consumer is required to enter their email address is the statement: ‘By entering my email address as my electronic signature and clicking YES, I have read and agree to the Offer and Billing Details and authorize to securely transfer my name address and credit or debit card information to Reservation Rewards for billing and benefit processing.’ If a consumer just clicks on the ‘YES’ button without entering their email twice, the membership is not accepted. If a consumer does not want to accept the offer, there is a ‘No Thanks’ option right under the ‘YES’ button. 3. Reservation Rewards customer service said they sent me multiple emails about the membership before billing. What emails? I never got any. Once a consumer accepts the membership we make a significant effort to make the consumer aware of the membership and send multiple communications to the consumer before the first membership billing occurs. We use sophisticated monitoring tools to track the deliverability of these emails and our records show a very high delivery rate. We actuallyhave these records audited by a third party to ensure we are consistent in sending them to consumers.We also work with two outside companies to assist us in maximizing our high delivery rate. If an email bounces back as undeliverable, we send the consumer a letter via U.S. postal mail. However, we do understand in this day and age of spam, some of our email communications maybe filtered out and not read by some consumers. So, in addition to the email communications, each member is also presented with a membership acknowledgement page immediately upon acceptance of the membership. Our intent with this acknowledgement page is to make the consumer immediately aware theyaccepted the membership and to give them an opportunity to cancel it if that is what they want. We have hundreds of thousands of members that happily use the Reservation Rewards benefits and we don’t want people to be in the membership that they didn’t intend to join. 4. Why didn’t I get my Cash Back Award or access to membership benefits? I don’t believe there really is a Cash Back Award or Membership Benefits. We apologize if some consumers find it unclear how they can redeem their Cash Back Award or take advantage of the membership benefits. We have many members taking full advantage of the membership benefits and redemption of their Cash Back Awards. We encourage members to redeem their Cash Back Award and use the membership benefits by immediately presenting them with the membership acknowledgement page. In addition to instructions on how to redeem their Cash Back Award, the membership acknowledgement page also includes a password to log into the Reservation Rewards website. We also send each customer an email 13 days after accepting the membership that reminds them to redeem their Cash Back Award. We encourage you to go to www.reservationrewards.com to review the array of membership benefits. We think you’ll find that we partner with many top names in leisure, dining and theme parks to provide our members with significant discounts. At the lower left-hand corner of the home page you can review positive comments from Reservation Rewards members who regularly use the benefits. When a misunderstanding occurs, we’re more than willing to cancel the membership and provide a refund. Wecan assure you that our customer service representatives are all trained to respond to consumers in afriendly and accommodating manner. When you contact our customer service department to cancel a membership, you won’t be faced with a rep trying to convince you to keep the membership ’ our reps aren’t allowed to do that. The rep will just need some basic information from you such as your email address, full name and/or zip code to access your record and immediately accommodate your request. Once your membership is cancelled, you can be assured that we will not bill your credit card again. We value consumer comments whether positive or negative. They help us consider ways we can further improve the communication and value of the Reservation Rewards offer to consumers and they also gives us the opportunity to clear up any misunderstandings. If anyone would like us to provide more specific information on the actual offer that was presented specifically to you, just send your full name and email address directly to consumeraffairs@webloyalty.com. We’ll be happy to assist you and address any further concerns you have. Sincerely,
Mary O’Reilly
Consumer Affairs
Reservation Rewards
I don’t know whether or not the above description is currently true, but it is certainly entirely inconsistent with my experience. I did not enter my email address once — or twice — to “confirm” my subscription. My server logs from that time period showed that no confirmation emails were ever sent by Webloyalty (regardless of whether they might be caught by a spam filter), and the customer service representative I spoke with did try to keep me to keep my membership (and moreover was exceedingly rude). Hopefully my experience with the company is no longer true, but based on the comments on my blog that’s not the case. Webloyalty seems to have found a novel and profitable solution to the opt-in vs. opt-out tradeoff — don’t give the customer any option at all!

7 June 2006

David Pashley: Oracle 10.2.0.1 Instant Client hanging?

Does your Oracle client hang when connecting? Are you using Oracle 10.2.0.1? Do you get the following if you strace the process?
gettimeofday( 1129717666, 622797 , NULL) = 0
access("/etc/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)
access("./network/admin/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)
access("./network/admin/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)
fcntl64(155815832, F_SETFD, FD_CLOEXEC) = -1 EBADF (Bad file descriptor)
times(NULL) = -1808543702
times(NULL) = -1808543702
times(NULL) = -1808543702
times(NULL) = -1808543702
times(NULL) = -1808543702
times(NULL) = -1808543702
times(NULL) = -1808543702
.
.
.
Has your client been up for more that 180 days? Well done; you've just come across the same bug that has bitten two of our customers in the last week. Back in the days of Oracle 8, there was a fairly imfamous bug in the Oracle client where new connections would fail if the client had been up for 248 days or more. This got fixed, and wasn't a problem with Oracle 9i at all. Now Oracle have managed to introduce a similar bug in 10.2.0.1, although in my experience the number of days appears to be shorter (180+). Thankfully, this has been fixed in the 10.2.0.2 Instant Client. More information can be found on forums.oracle.com and www.redhat.com.

18 May 2006

Ted Walther: Why didn't King Solomon kill the two prostitutes?

On the long bus ride back from the Mexican pyramids, I got to think about a long standing problem. If Israel's laws forbade prostitution, why didn't Israel's greatest judge enforce those laws? We've all heard the story of King Solomon and the two harlot's, where he finds the real mother by threatening to chop the baby in two. Since the laws of Israel carried a death penalty for adultery, why didn't Solomon enforce it? People today equate prostitution with adultery, but the Bible does not. Not always. As the wisest man who ever lived, a walking embodiment of true justice, Solomons judgement deserves a deeper look. Here is the text of the whole incident:
1 Kings 3:16-28 Then came there two women, that were harlots, unto the king, and stood before him. And the one woman said, O my lord, I and this woman dwell in one house; and I was delivered of a child with her in the house. And it came to pass the third day after that I was delivered, that this woman was delivered also: and we were together; there was no stranger with us in the house, save we two in the house. And this woman's child died in the night; because she overlaid it. And she arose at midnight, and took my son from beside me, while thine handmaid slept, and laid it in her bosom, and laid her dead child in my bosom. And when I rose in the morning to give my child suck, behold, it was dead: but when I had considered it in the morning, behold, it was not my son, which I did bear. And the other woman said, Nay; but the living is my son, and the dead is thy son. And this said, No; but the dead is thy son, and the living is my son. Thus they spake before the king. Then said the king, The one saith, This is my son that liveth, and thy son is the dead: and the other saith, Nay; but thy son is the dead, and my son is the living. And the king said, Bring me a sword. And they brought a sword before the king. And the king said, Divide the living child in two, and give half to the one, and half to the other. Then spake the woman whose the living child was unto the king, for her bowels yearned upon her son, and she said, O my lord, give her the living child, and in no wise slay it. But the other said, Let it be neither mine nor thine, but divide it. Then the king answered and said, Give her the living child, and in no wise slay it: she is the mother thereof. And all Israel heard of the judgment which the king had judged; and they feared the king: for they saw that the wisdom of God was in him, to do judgment.
Whoredom, harlotry, prostitution; they defile the land. When Judah thought his daughter-in-law Tamar had become a harlot, he ordered her to be burnt. The problem was not with the sex for pay, but with violation of Judah's property rights. Tamar had been bought and paid for, and belonged to his family for the purpose of increasing their manpower. Biblically, sex for pay is fine. A ketubah (marriage contract) guarantees a woman a certain financial allowance in return for performing her sexual duties. The problem is that prostitution lowers the birthrate of the population, thus reducing its manpower, thus reducing its brainpower, thus reducing its ability to protect and defend itself. The connection between prostitution and lower birth rates isn't obvious to the layman, so just take it for granted right now.
Leviticus 18:20,28 Moreover thou shalt not lie carnally with thy neighbour's wife, to defile thyself with her. That the land spue not you out also, when ye defile it, as it spued out the nations that were before you. Leviticus 19:29 Do not prostitute thy daughter, to cause her to be a whore; lest the land fall to whoredom, and the land become full of wickedness.
Prostitution can fall into two categories; the woman is still the property of her father, or she belongs to a husband. Widows, divorced, and single women fall into the category of belonging to their fathers; they have a right to return to the family home and be supported there. How would a father prostitute his daughter? If he treats her harshly, refuses to marry her off to a suitable husband, does not feed or clothe her, train her or discipline her, she may well turn to whoredom to support herself. Look closely at the story of the two harlots. They say they have no man. They fall into the category of single women. Sex with a single woman is not adultery. Adultery carries the death penalty, but as single women, their prostitution was to be regulated by different laws. If a girl took up the prostitution trade, and then got married under false pretenses, pretending to be a virgin, the penalty was death. However no death penalty is indicated for the circumstance where the woman and her family were up front about her past. A man taking a wife needs to be able to accurately assess the risks of disease and future infidelity.
Deuteronomy 22:13-21 If any man take a wife, and go in unto her, and hate her, And give occasions of speech against her, and bring up an evil name upon her, and say, I took this woman, and when I came to her, I found her not a maid: Then shall the father of the damsel, and her mother, take and bring forth the tokens of the damsel's virginity unto the elders of the city in the gate: And the damsel's father shall say unto the elders, I gave my daughter unto this man to wife, and he hateth her; And, lo, he hath given occasions of speech against her, saying, I found not thy daughter a maid; and yet these are the tokens of my daughter's virginity. And they shall spread the cloth before the elders of the city. And the elders of that city shall take that man and chastise him; And they shall amerce him in an hundred shekels of silver, and give them unto the father of the damsel, because he hath brought up an evil name upon a virgin of Israel: and she shall be his wife; he may not put her away all his days. But if this thing be true, and the tokens of virginity be not found for the damsel: Then they shall bring out the damsel to the door of her father's house, and the men of her city shall stone her with stones that she die: because she hath wrought folly in Israel, to play the whore in her father's house: so shalt thou put evil away from among you.
Suppose a single woman was to work as a whore. What is the penalty? For the girl, no penalty at all. If she is a virgin turning her first trick, the man has to pay a hefty fine of fifty shekels to her father, who has the choice of giving her in marriage or not.
Exodus 22:16,17 And if a man entice a maid that is not betrothed, and lie with her, he shall surely endow her to be his wife. If her father utterly refuse to give her unto him, he shall pay money according to the dowry of virgins. Deuteronomy 22:28,29 If a man find a damsel that is a virgin, which is not betrothed, and lay hold on her, and lie with her, and they be found; Then the man that lay with her shall give unto the damsel's father fifty shekels of silver, and she shall be his wife; because he hath humbled her, he may not put her away all his days.
When she is no longer a virgin, her father either allows her to be a prostitute, violating the law at Leviticus 19:29, or he doesn't allow her. If her father allows her, then he becomes liable for her behavior and she is not punished, as described in Hosea 4:13,14 quoted below. If her father doesn't allow her, she is again subject to the death penalty, as set forth in the next set of verses:
Deuteronomy 21:18-21 If a man have a stubborn and rebellious son, which will not obey the voice of his father, or the voice of his mother, and that, when they have chastened him, will not hearken unto them: Then shall his father and his mother lay hold on him, and bring him out unto the elders of his city, and unto the gate of his place; And they shall say unto the elders of his city, This our son is stubborn and rebellious, he will not obey our voice; he is a glutton, and a drunkard. And all the men of his city shall stone him with stones, that he die: so shalt thou put evil away from among you; and all Israel shall hear, and fear.
In the case of Solomon's two harlots, there is no evidence at all that their father disciplined or otherwise acted to prevent them from their trade. Perhaps their father was dead, but in that case his responsibility to his daughters would have fallen on his next of kin. It really is a matter of family responsibility, not of persecuting individuals. There is one remaining corner case; what of the married woman who becomes a prostitute? What if the two harlots had been married after all? It is a principle of the Torah that it must be applied equally. You cannot hit one party with the full penalty then let another get off free for the same crime. It is better to err on the side of mercy, so if you do not convict one, you should not convict another. This is violated daily by un-Godly governments who selectively enforce their laws to "make examples" of people. Such selective enforcement is neither fair or just. In Solomon's case, assuming the women were married, the other parties to the crime of adultery were missing. Without them, there was no way to proceed. This is why Jesus was able to say "Let he who is without sin cast the first stone." The two witnesses rule also comes into it; before a person can be put to death two witnesses to the crime are required. Solomon's two harlots had no witnesses against them. When people engage in false worship, and use the services of whores, God will not punish the women who turn to adultery and infidelity. He will punish those who are responsible; the men, who failed to take their patriarchal prerogative in setting a good example of just, fair, respectful, and temperate behavior.
Hosea 4:13,14 They sacrifice upon the tops of the mountains, and burn incense upon the hills, under oaks and poplars and elms, because the shadow thereof is good: therefore your daughters shall commit whoredom, and your spouses shall commit adultery. I will not punish your daughters when they commit whoredom, nor your spouses when they commit adultery: for themselves are separated with whores, and they sacrifice with harlots: therefore the people that doth not understand shall fall.
If you have any Torah questions, feel free to write in to ted AT reactor-core DOT org.

Eric Warmenhoven: Musical cubes

When I first started working at Brocade, we were in Con-6, and I was on the eighth floor. This posed a slight problem for me since I was the only one in my group who wasn’t on the seventh floor. So eventually I was moved down to the seventh floor and given a cube with a really great view. After we bought Rhapsody, engineering was slowly migrated over to Skyport-3, where we all currently are. Originally I was on the second floor with the rest of my group, but then something weird happened. I changed groups at the same time that my old group moved up to the sixth floor. I moved up to the sixth floor, but my new group was on the fifth floor, so a few weeks later, I also moved down to the fifth floor. A month or so ago, there was yet another reorg, and my old group and my new group merged. This past Friday, the people who had been on the fifth floor moved up to the sixth floor. This means that I’ve moved cubes five times in less than four years. The awful part is that when I was on the second and fifth floors, I was right next to the printer, and now that I’m on the sixth floor again, I’m right next to the printer yet again. One of the cubes on the sixth floor has freed up, and I want it. The problem is, it’s a window cube, and so everyone wants it. My boss has said that it’s usually distributed based on tenure and rank, which means I’m likely not to get it, which really pisses me off, since I’ve had a really awful cube for a long time. One other thing that really pisses me off is that the soda machine on the sixth floor charges $0.60 instead of $0.50 like the fifth floor machine, and also the sixth floor machine only has Coke products, whereas the fifth floor had a healthy mix of Coke and Pepsi products, and I’m a Pepsi drinker. So I’m thinking about getting a cube mini-fridge. My space requirements are max 23″Hx19″Wx19″D and preferably less than 17″W and 15″D, so I’m thinking about getting this fridge from ThinkGeek. Any reviews on it? Any other ones that anyone would suggest?

17 May 2006

Bernhard R. Link: When things suddenly go very fast

or in other words:
     grep -s -q 'dn\.regexp' /etc/ldap/slapd.conf && cat <<EOF
     Ha ha, sucker! Ever asked yourself why your ldap database is so fsck'ing
     slow despite all the caches and indices you added?
     EOF
     

14 May 2006

Matthew Palmer: Curious Perversions in Software Engineering

I've been ill with flu the last few days, so I've been doing very little other than sitting huddled in my recliner, with a large, warm blanket over me, and my hot water bottle (AKA the laptop) to work on. As a result, I've been doing a fair amount of random coding, and I've come away with a larger-than-average amount of... weird shit. It maybe the flu, the strong drugs I've been taking to keep the symptoms under control, or maybe just the phase of the moon, but I haven't coded up this much madness in quite a while. Let me take you through them. The Proctologist I've been writing some software which has to talk to an XML-RPC server. Not so weird. However, because the system lacks any inherent security, the (strongly) preferred method of communicating with this server is via a Unix socket. That's right, I'm doing XML-RPC over HTTP over... a Unix socket. That, you may think, is weird. Well, it is, but it isn't the curious perversion in and of itself -- for a start, I didn't write that monster, and I'm only blowing my own trumpet in this article. No, the perversity is in how I wrote *my* software to deal with it. See, I'm using Ruby for this software, and the standard Ruby XML-RPC client uses the built-in Net::HTTP library that comes with Ruby (which is a killer little HTTP library, BTW). Because the authors of Net::HTTP were lacking in imagination (or crack pipes) they didn't think to include the native ability to talk to Unix sockets. I mean, really -- isn't that the most important feature in a HTTP library? I think we all know the answer to that. Anyway, despite the lack of forward planning (and crack pipes) on the part of the Net::HTTP authors, I needed to get it to talk to a Unix socket. I could have done the long-winded thing and spend a pile of time putting in handling of pipe:// (crack or otherwise) URLs, but then I would have also had to add support for it to the XML-RPC client library (which did URL validation before passing it on -- good for it). And really, I don't think I could have handled the guffaws of laughter when I attempted to submit the patch upstream. Instead, I put Ruby to it's perfectly-suited use. I simply created the XML-RPC client object (which created the Net::HTTP object internally), then inserted my gloved finger and replaced the default TCP socket object in the Net::HTTP object with a specially crafted Unix socket object pointing to the correct place. "Dear god almighty!" I hear the practitioners of good software engineering practice exclaim. "Doesn't Ruby have protection against such atrocities?" Why, yes, it does. All of the objects I had to play with are private instance variables of their parents, and I can't get access to them normally. However, classes in Ruby are never closed, so I just reopened them and added accessor methods (which, in Ruby, is as simple as attr_accessor :http) so I could do my nasty little thing. I'm quite happy to take the heat for doing what I did. It breaks encapsulation, and makes everything that little bit more complex. But, on the other hand, it let me get the job done -- the language gives you full protection until you say "may I?" and then it gets out of your way. Personally, I reckon that's a nice tradeoff between C-style full control (where even the best programmers blow their foot off on a regular basis) and B&D; languages where you'll never shoot yourself in the foot, but instead you'll gnaw your leg off in frustration. Russian Dolls I'm doing a bunch of interesting things with the Xen hypervisor for work. Of course, you need to have a way to test all this stuff, and despite a number of hints, work still hasn't gotten me that fully-kitted out dual-core Opteron that I want to test (and transcode all my video <grin>) on that I always wanted. So, instead I've installed Linux in a qemu image, and then put Xen on that. Surprisingly, it's worked really well -- I've got Xen running quite happily in the virtual machine, and I can create and run Xen domUs (the guest VMs) in the usual fashion. Now all I need to do is install UML in a Xen domU, and then run some vservers inside that UML, and I'll have the full collection...

14 April 2006

Martin F. Krafft: Wet in Chiang Mai

We got up early this morning to catch our flight to Chiang Mai from Sukhothai Airport, the most beautiful airport I have ever seen: it's not a cement brick with squared floors, but rather a group of traditional Thai hut houses, one for ticketing and checking, one for departure, and one for arrival, and all set in a beautiful surrounding -- no wonder this airport won the Thai environmental award every year since it was first given. If you ever consider visiting Sukhothai from Chiang Mai, fly there! I can imagine arriving at that airport to be a very special experience! Following the touchdown few minutes after takeoff, we sought out a couple of guest houses and finally settled at the Awana Guesthouse, which also offered a pool, although on seeing it, it's more like a bath tub for 5 people. Whatever... I used the morning hours, during which the Thai appeared to be still sleeping to run two most important errands: first, getting my ear unclogged, and second, picking up the bag with clothing from the train station. Our guesthouse referred me to the Chiang Mai Ram hospital, a privately run clinic, and once I got there (still dry), I didn't get to read as much as a single page in my new book (The Crying of Lot 49 by Thomas Pynchon) until I was lying flat and had an English-speaking doctor examine me. He told me that the Thai put some sort of stuff (I did not understand the name of the substance) into their pools, which causes European ears to clog up frequently, and after 15 minutes of routine, I was able to hear again on my left ear. I paid just short of 20 EUR for the cure and felt so good about it and the hospital that I talked my way up to the management to make a donation -- in the amount of the estimated difference between those 20 EUR and the amount I would have had to pay in Switzerland. They said that I was the first person to ever make a donation to the clinic, the other foreigners usually only complain about the high prices. Go figure about the kind of tourist who frequents Chiang Mai. Speaking of tourists, unfortunately, this place is crowded with Europeans, and not just any of them, but the worst kind. For me, dress code means a lot, and when I see Europeans without shirts, or women in bikinis in a Bhuddist city, I sometimes wonder why these people don't simply stay home. Of course, tourism is the number one source of income for about 70% of the Thai, so it's just as well that they come, but then they should not be complaining about medical care for 20 EUR, or bargain to the minimum price for handicrafts, or annoy themselves that the tuk tuk driver just "ripped them off" by charging 60 instead of 40 Bhat (again, around 1 EUR). Cured, I made my way for the station and almost made it there dry, if it hadn't been for that damned pickup van closing in from behind and hunting my taxi for several hundred metres, just to get a shot. At the station, I took some detours to find the cargo terminal, but was then surprised at how easy it was to claim the bag, even without the receipt (which, if you will remember, was in the wallet I had lost a couple of days ago). I am really relieved, once for the clothing, and second because the bag itself was lent to me by a friend (forgive me, HP). By the time I left the station it was about noon, and there was water everywhere, but I made it to the hotel almost dry. The Thai duly respect if you have a bag, smoke a cigarette, hold a cellphone, or simply wave your hand. It goes without saying that the two massive splashed I received nevertheless were from tourists, who must have reached some sort of overpowering state of joy and didn't care about what they sprayed. When I saw some tourists splash buckets onto a couple of old people (which is a no-do), I was really ashamed. The New Year festival in Chiang Mai is said to be the biggest and most lively all over Thailand. I met Aline back at the hotel and we headed out into the centre city for yet another day of soaked clothing, and we can probably agree that the "festivities" here are second to none. This time, following the bad experience of the inferior position of a water gun on a motorcycle, we bought two puckets and got up on one of the pickups with some Thais and Burmese people speaking excellent English, and had excellent fun for an hour or two -- gettting no further than 200 metres along one of the rivers or so -- there was no driving on the roads which were filled with people and vehicles, just not touching each other, and there was water everywhere with people getting fresh canisters from the rivers all the time. We then remembered that we were wearing our last set of clothing, the other stuff being laundered and ready for pickup tomorrow, so we disembarked the truck and headed out of the city to the market in hope to find some trousers to wear, but short of a Sarong for Aline, there was nothing striking our fancy (which, mind you, isn't high. I just don't want to be wearing thick jeans in this weather). Anyway, the trousers we were wearing had dried in the mean time, and now the challenge was to make it back to the guesthouse without being splashed again -- and quite a difficult endeavour it was, but we almost succeeded, only soaking up another litre each, which, believe me, was peanuts by then. Sorry for this somewhat unexciting entry. Starting tomorrow, we'll break with the festival as we've had enough of water for the time being. On our list are a day of cooking school, the zoo, a 1-2 day treck in the hills, a seminar with monks, and, of course, a bunch of the temples of the city. Thanks again for reading along.

2 April 2006

Holger Levsen: moving and a nice work meeting

March has been a pretty busy month for me, with much less debian work than usual. As you can see in these photos it also has been exceptionally much snow in Hamburg...

Two weeks ago I started moving within the flat into my new quiet and sunny room yay! One day later I lost net access at home, also because of moving :( Luckily I only had to wait twelve days to get back online. I spent most of them renovating, moving and reorganzing stuff and then was too tired in the evenings, when I went online at friends, to do much useful stuff.



Right now it's 3.30am, the debian-edu ftpmaster meeting is almost over and in an hour we'll leave the house to go to the fish market which will start at 5am :) Update: it's 7.30 now, we're back, fish market was very much fun and there are some more fotos online now.

This week(end) has been pretty much fun and got me back into doing debian(-edu) work, although at the moment I'm too tired to properly write this blog entry. Good $timeoftheday!

27 March 2006

Simon Richter: Trading off

Today I hacked a few classes that are probably one day supposed to be used by other people. Hence, I'd like them to be mostly foolproof, however there are a few places where I had to make tradeoffs. Two things got stuck in my mind today: using the type system to ensure proper initialisation (basically I return a base class for the "closed" case, and the open method returns a pointer to the same object, but as the "open" subclass). Obviously, the single virtual method call is not that much of an overhead, but it still breaks a few compiler optimisations, and, even worse, has some nasty implications concerning ownership.

21 March 2006

Joey Hess: Birthday plans

Looks like I will be celebrating my 30th in Spain. I arrive in Madrid on my b-day. Oddly the only presents I want are also only apparently only available for shipping to Europe, so that works out pretty well, in theory: keyring kite This is a pretty good kite design, my only other one in this design is fanny pack sized and works pretty well. If you ever wondered how to make my happy with just 2 euros, this is how. pi=3 Er, that was my idea, so it's only fair..

20 March 2006

Martin F. Krafft: Python: there is only one way to do it

$ python
[...]
>>> exit
'Use Ctrl-D (i.e. EOF) to exit.'
I'd love to hear the reason. Update: Michael Ablassmeier pointed me to a pretty good analysis. Update 2: The title is actually courtesy of Ari. My bad.

15 March 2006

Martin F. Krafft: Discovering MPD

I have a server with libapache2-mod-musicindex serving several hundreds of gigabytes. I also have a headless router at home with a soundcard. My desire was to figure out how to make the router stream music from that server before I went to sleep. Just short of coming up with a quick'n'ugly hack, Decklin Foster saved my day by pointing me to mpd. It runs as a daemon and accepts network commands. It wasn't until I found out that you can pipe the playlists served by libapache2-mod-musicindex to mpc add that I completely fell in love. Now I hacked together a script, playstream, which I can integrate with mailcap:
$ cat <<_eof >> ~/.mailcap
audio/mpegurl;     ~/bin/playstream -q '%s'; nametemplate=%s.m3u
audio/x-mpegurl;   ~/bin/playstream -q '%s'; nametemplate=%s.m3u
audio/x-scpls;     ~/bin/playstream -q '%s'; nametemplate=%s.pls
The -q option queues the playlist up next. Other options I've added are -a for append (the default), and -r for replace. I know I should have this in version control, but that's all under construction right now. I have asked the mpc maintainer to include it. Update: Firefox is once again really annoying. I appreciate the fact that it tries to honour the mailcap standard. However, if I say that the handler if playstream -q %s, I really mean that, including the -q; Firefox apparently just reads the first word and appends the downloaded file. Argh.

Next.

Previous.