Search Results: "uli"

13 October 2007

Julien Blache: MacBook Pro status update: 2.6.23, radeontool, quiet laptop at last

Today’s kernel: 2.6.23 + 2.6.23-hrt1 patchset + mactel patches. That gives an amd64 tickless kernel that just works and I’m not observing the weird behaviour I observed with 2.6.22-hrt6 that forced me back to a 2.6.21 kernel. I still need to remove the HID_QUIRK_POWERBOOK_ISO_KEYBOARD quirk for my GEYSER IV ISO keyboard, otherwise the @ and < are swapped. The good news, on the audio side, is that I don’t need to manually fix the pin config for the HDA codec anymore, which is a great step forward :-) There’s a patched radeontool available that introduces a radeontool power low command to switch the chip into low power mode. And it works. Saves about 45 minutes of battery power, bringing the laptop’s autonomy to something like 2:15 hours. Still far, far away from the 4 hours I had on the PowerBook but it’s a step forward. This also means the laptop is now quiet; I don’t hear the fans anymore. I’ve had this laptop for 11 months now, and it’s something I was really, really looking forward to. Update on the EFI firmware update 1.4: this update really fixes the keyboard issue in legacy bootloaders, I’ve had a working keyboard in LILO at each and every (re)boot since I installed it.

Erinn Clark: Pink offends Gnome users

Actual results: Pink ugliness. That's how I feel about the overtly masculine blue hegemony in almost every website and window manager theme I encounter.

8 October 2007

Theodore Ts'o: Sous Vide, Revisited

In a previous post, I had recommended the 4130 NIST-Traceable Temperature Controller to control the temperature in a slow cooker. Unfortunately, that particular controller has a range that tops out at 60 degrees C / 140 degrees F, which is enough for cooking beef for long periods of time, but not enough for say, cooking duck confit, which for which a sous vide temperature of 80 degrees C is recommended. In addition, the 4130 is pretty expensive; almost $150. It’s possible to add a resistor to change the range of the 4130, but the temperature displayed by the controller is no longer correct, and you have manually create a conversion table between true temperature and the temperature as seen by the controller. I’ve recently come across a cheaper and better possibility, the Ranco ETC-111000-000 Temperature Controller which is only half the price and comes with a much larger working range (-30 to 220 degrees F). The price with the AC cord already wired in is $75; and the version which just has a 120VAC SPDT relay is only $60. A bit more about food safety. There has always been a lot of concern about bacteria growth and botulism, for good reason — and so therefore the recommendations for cooking temperature have a lot of safety margin in them — to the point now that the USDA recommends that steaks be cooked to at least 145 degrees F, which is well within what had traditionally been called “medium”, and chicken to at least 165 degrees F, which is enough to really destroy taste and texture. Sous vide cooking, especially some of the more low temperature variants, have raised a lot of concerns, to the point where a few years ago New York City (temporarily) banned it, causing a great outcry in the foodie community, since many top restaurants use sous vide techniques. First of all, any recommendation about internal temperatures and food safety that doesn’t also factor in time is massively oversimplifying the problem. Here is a table taken from “Food Safety Hazards and Controls for the Home Food Preparer”, published by the Hospitality Institute of Technology in 1994:
Temperature, F Time, 5D kill Time, 6.5D kill
130 86.42 minutes 112.34 minutes
135 27.33 minutes 35.53 minutes
140 8.64 minutes 11.23 minutes
145 2.73 minutes 3.55 minutes
150 51.85 seconds 1.12 minutes
155 16.40 seconds 21.32 seconds
160 5.19 seconds 6.74 seconds
165 1.64 seconds 2.13 seconds
This table lists the time to reduce bacteria concentrations of Salmonella and E. coli from 100,000 to 1 (5D) or 3,162,277 to 1 (6.5D). The FDA and USDA recommend cooking hamburger to 5D destruction. Since it is extremely unlikely for there to be more than 100 Salmonella organisms per gram of meat, a 5D kill will reduce Salmonella concentrations to no more than 1 organism per kilogram. So whether you cook a piece of meat to an internal temperature of 165 degrees for 1.64 seconds, or hold it at 130 degrees for 90 minutes, the effect on Salmonella and E. coli bacteria will be the same.Of course, one concern is that in many forms of cooking, particularly oven roasting and grilling, the temperature of the food as it heats up may not be even; so how do you guarantee that all parts of the food product has been brought up to the requisite 165 degrees? One way that recipe authors, fearful of liability concerns, have done so is to tell people to cook meat to much higher internal temperatures, to provide that extra safety margin at the expense of dessicated, horribly tasting turkey or chicken. But the advantage of sous vide cooking is by immersing the food in a water bath, the excellent heat conductivity of water helps guarantee that the entire body of meat will get raised to desired temperature relatively quickly. (How quickly depends on the thickness of the meat, obviously). So if you hold a roast beef that has been vacuum packed in a Foodsaver bag for five or six hours, there should be no question that all of the common bacteria has been inactivated, and that amount of time at 130 degrees F should be sufficient to inactivate 99.9 percent of all botulism toxin molecules (not there should be any in a fresh piece of meat, of course!) However, sous vide temperatures are not enough to kill bacterial spores, in particular C. botulinum, which is responsible for botulism. This requires temperatures far in excess of boiling water at sea level. For example, home canning protocols recommend holding the food product at 250 degrees F for at least 15 minutes. This is an issue in the restaurant business because very often food would be cooked sous vide, and then stored in the vacuum sealed bags for potentially weeks (yes, you could be eating an extremely expensive meal at a top-end French restaurant that had been cooked several weeks ago, and reheated just before serving; yummy, no?). If the food packages aren’t cooled quickly enough, and then allowed to warm to the danger zone, it’s possible that in the anerobic environment the C. botulinum spores could germinate and then start producing toxin. But, if you are cooking home sous vide where you are serving the food right after it has been cooked, this shouldn’t be a concern.

6 October 2007

Julien Blache: MacBook Pro status update: EFI Firmware v1.4

Apple released a firmware update for the MacBook Pro about two weeks ago, entitled “MacBook Pro EFI Firmware Update v1.4″. The update contains, among other things, a microcode update for the Core2 Duo CPUs. It also looks like this update fixes the longstanding issue of the non-working keyboard in the legacy bootloaders. As it used to work from time to time, I’m not entirely sure the issue is fixed yet, I may just have been lucky so far. I’ve been told that this update breaks the framebuffer, so if your kernel has framebuffer support for the console you may want to hold off…

Julien Blache: pommed v1.10: system beep

A new release with a new feature: pommed can now act as a replacement for the PC Speaker and play your favorite WAV file as the system beep. The feature is disabled by default as it’s not needed on all machines (most of the PowerPC machines have their system beep handled by the sound driver) and I guess not everybody wants it by default. You need to load the uinput driver before pommed starts for this to work. If you want your Mac to behave like a good old Mac and have it quack at you, Google for Quack.aiff and turn that into a WAV file ;)
Have fun!

4 October 2007

Theodore Ts'o: Hans Reiser, 20/20, and his talk at Google

I got a call from one of the researchers from ABC news this evening. Apparently they are planning on doing a segment on Hans Reiser on their 20/20 show, and the researcher knew enough that there were some serious technical inaccuracies with the script (at the level of “so when Hans was creating reiser4, was that software; was he writing a program?” and “does the program run on the hard drive?”), and so they were looking for help on some technical issues on a background basis. She didn’t take any quotes from me; what she needed was help understanding the technical issues around filesystems and Linux. I tried to help explain what a filesystem was that would make sense to a lay person in 15 seconds; I have no idea whether the researcher got it, and whether she’ll be able to make changes in the script that will be vaguely coherent. We’ll see. I spent a lot of time working with Joshua Davis, providing background material for his Wired article, and he still got a bunch of the technical details wrong. The 20/20 researcher did ask me some silly questions such as “whether we were surprised when murder charges were filed against Hans?” Well, yes. What did she expect me to say? “Oh, yes, were always worried someone would get hurt…” Not! Sigh…. I might not agree with Hans’s filesystem design principles or his tactics in trying to get reiser4 accepted, but I always respected him as a fellow open source programmer. The researcher mentioned to me that Hans had done a talk at Google that was available at the Google Video site. Out of curiosity, I took a look at it. It was interesting; the last time I had seen Hans was in 1999, at the Linux Storage Management Workshop in Darmstadt, Germany that was organized by Matthew O’Keefe at Sistina Software. Compared to how he looked back then, and the picture of him in the Wired article, taken a 10-12 months after his talk at Google in February, 2006, I was struck by how much heavier (and older at least compared to my memory of him, which was much closer to this picture from his resume) in the Google Video. I also remember him as being a much more dynamic and energetic speaker, and I was struck by how slowly he spoke, with lots of long pauses and “umms” and “ahhs”. He seemed to be a much better public speaker in Darmstadt, but in the Google talk he seemed very tired as he gave the talk. One of the questions that the researcher asked me was whether I thought he was a genius or not. I told her that I thought he was quite bright in terms of raw intelligence, but that his Social IQ wasn’t as high as you might want for someone to be successful in gathering volunteers to work on an Open Source project, and in working with others in an Open Source development community. Looking at the video, I think that is very much true. He was a terrible public speaker, but some of the points he made about optimizing B-tree algorithms made sense. I might disagree with his philosophy over filesystem design and benchmarking, and I might not be terribly impressed by his social skills, but in terms of being a talented computer scientist, he was and is that. Is he guilty of the crime that he has been accused of? I have no idea. But from looking at his talk and knowing what I know of him, I have the sense of a greek tragedy. He’s been working on some of his ideas since his undergraduate days in UC Berkely in the early eighties — which he entered after finishing his 8th grade. And as research ideas, I think he might have gotten some very interesting results out of trying some of the things that he wants to do around operating system namespaces. (I think they are doomed in a production system descended from Unix, since application programmers are unlikely to rewrite their programs to take advantage of reiserfs’s performance characteristics — which would mean instead of using a Unix-like configuration file, treating a directory hierarchy containing the configuration information like a Windows registry. Still, as an academic, Plan 9-like system, I could have seen it has being a potentially very interesting Systems Research effort.) Unfortunately, his skills at public speaking and his ability to work with other people have handicapped him, and I know that has frustrated him deeply. So I have a lot of sympathy for him, and I hope that he is innocent, and will be found innocent. But only time will tell…. Anyway, according to the researcher, they are currently scheduling their segment about Hans on 20/20 on October 19th. I’m sure that schedule is subject to change, but it’ll be interesting to see how they treat Hans in their coverage. Hopefully it will be fair, and not overly sensationalistic, but unfortunately my faith in today’s TV edutainment-focused news program isn’t terribly high. My impression was that the research wanted to do a good job, but she was burdened by a very tight deadline, and in the end, the decision of what goes on the air and what doesn’t won’t be up to her. So we’ll see.

3 October 2007

Andrew Pollock: [tech] Solved: The mystery of the missing Simpsons episodes

Sarah had been complaining that MythTV hadn't recorded an episode of The Simpsons in months. It was indeed strange, as you could see that it was going to record episodes if you looked at the upcoming recordings. The other night we happened to be watching some recorded TV around the time an episode was scheduled to be recorded, and sure enough, it started recording one. When we finished watching what we were watching, the episode had vanished. I didn't think I'd seen anything relevant to auto-expiry in the logs for the backend. A few days later, another episode was recorded. We even watched it. It disappeared afterwards. I was sufficiently curious at this point as to what was going on. It turned out that way back in the distant past when I set up MythTV, I misunderstood what "recording groups" were. When I set up recordings of throw-away things like the news, I created a recording group called "Short retention", assuming I could go somewhere else and make stuff in that group get expired quicker than stuff in the "Default" recording group. (Incidentally, I only in the last few months discovered the veritable cornucopia of things that you can do from the recordings listing screen when you press the Menu/M button on the remote/keyboard. The recording groups now make much more sense) I think there's the word "storage" somewhere in the user-interface around this area, which may have been what confused me. Turns out that I never went and tried to set this mythical expiry policy up, because that's not how auto-expiry works. The choices (as of 0.20) are "Oldest show first", "Lowest priority first" and some sort of weighted combination of the two. It turns out that I had it configured for "Lowest priority first", and The Simpsons had the lowest priority of all TV shows, so that it'd always lose out in the event of any scheduling conflicts. The SAN's perpetually full, so it's always auto-expiring stuff, and The Simpsons are what get expired first by this policy. Kinda funny really. So I switched the policy around to the weight combination of priority and age, and now it's going to auto-expire recordings from a year ago. Hooray.

2 October 2007

Julien Danjou: Ubuntu: not contributing to Debian, and even doing bad work

Googling around using the rebuildd keyword to find if people were talking about it, I found that patch from Ubuntu. This patch is used to ship rebuildd Debian package in Ubuntu. Wahou. First surprise! So, Ubuntu is fixing bugs and not telling me. I though that people saying "Ubuntu does not contribute back to Debian!" were exaggerating. Seems I was wrong. Nevermind: I take the patch. I read the patch. I apply the pat oh wait: the fix is wrong. lol.

Julien Danjou: git statistics?

I wonder if there are tools to do pretty git statistics, something like that: Linux 2.6 git stats (done on linux-2.6 git repository). I just wrote a quick'n dirty Python script to do that, but I'm too lazy to write a full program for now

28 September 2007

Michal &#268;iha&#345;: Pentax makernote is in Exiv2

My patch has been merged during my night, yay! And it even was merged in nice revision number 1234 :-). If you want to see example, you can check digiKam screenshot, which Gilles Caulier has quickly generated.

26 September 2007

Julien Blache: Fun with bootloaders, continued

After adding the ability to load 64bit kernels on machines equipped with a 32bit PROM, I’ve now added initrd support to arcload. I’ve tested that code on IP22, if you give it a go on another platform please let me know how it goes! Don’t bother with IP27, initrd is unsupported in the kernel on that one (some work required). Patches welcome if any are required. To add an initrd to your arcload config, use the initrd keyword in the same manner you use the image keyword. And to be on the safe side, add a test entry, so that you can still boot the machine if for some reason the initrd can’t be loaded :) I’ve produced a patch for arcboot too, so that will appear in arcboot at some point in the near future too.

Julien Danjou: awesome 1.2: guided tour

Today I finally released awesome 1.2. I also wrote a guided tour which presents some of the functionalities of awesome.

25 September 2007

Julien Danjou: Random news

Wouhou, yesterday was quite a productive day. First, I've released mod_defensible 1.4 which is just one line different from 1.3 but fix a huge bug (RC in Debian) with udns 0.0.9. Already uploaded to sid. Second, I've updated greylistd in Debian and I've set myself as maintainer after 5 NMU in something like 1 year. Then, I've pushed some updates to awesome. I may release 1.2 in the week, since it seems bug free and has some useful new features. We're now quite close to Xmonad functionalities as far as I can tell. And the beat goes on

Masayuki Hatta: ghostscript 8.61.dfsg.1~svn8187-1 uploaded

So, brand-new packages are now in the NEW queue. Sorry it took soooo long time(my life has been hectic these days). I guess it might take another long time to make them entered into the archive, so I give you some apt-line:
deb http://people.debian.org/~mhatta/debian/ghostscript/ ./
deb-src http://people.debian.org/~mhatta/debian/ghostscript/ ./
Tell me if something goes wrong in the process of transition. One of the reason I was reluctant to upload them (while Ubuntu has already did almost 2 month ago) was, the CJKV support in GPL Ghostscript 8.60 is notably regressed from the level of ESP Ghostscript 8.15.1. Seems Till Kamppeter once merged some key CJKV patches into the mainline SVN repository, but later they were revoked. Until recently, I didn't realize why Till used a rather peculiar old SVN snapshot 8187 for Ubuntu (the current SVN revision is something like 8249), but now it's clear for me. I could choose to apply those revoked patches to the 8.60 source by myself, but as you might know I'm a lazy bastard, so I simply follow the Ubuntu path, with some Debian-specific tweaks. Well, let's hope this issue will be fixed before the official 8.61 is released...or I'll try, hopefully.

Tag this post with del.icio.us!

23 September 2007

Romain Francoise: Today's mood

Men at some time are masters of their fates:
The fault, dear Brutus, is not in our stars,
But in ourselves, that we are underlings.

Julius Caesar, I,ii,139

22 September 2007

Christian Perrier: RWC: Wales quietly to the 1/4th, France still alive

Thursday featured Wales-Japan which we briefly watched. Easy win for the Welsh who begin to secure down their qualification for the 1/4th finals. They'll just need a victory over Fidji on Sept 29th to do so (but Fidji would qualify by winning so that match will be one of those to watch during last round). Nothing really interesting to say about WAL-JPN (72-10). The difference in the front lines was too obvious for Japan to get any chance to win. However, at least during the first half of the first half-time, the were even leading after scoring one of the best tries as of now in the tournament. Yesterday was a key day for the French team. Victory against Ireland was mandatory. They made it (25-3, two tries) which is by far the most important. That wasn't definitely an easy match but noone was hoping it to be one. The french game is still far from being perfect (sometimes strange kick play and weird decisions by the rear players, sometimes slow assistance to players in rucks and sometimes stupid fouls giving their opponents opportunities to kick penalties (or expelled players as Traille was at the end of the game). On the other hand, some parts of the game were good quality: scrums (two balls won), line-outs (4 or 5 balls won on opponents' throw: great Julien Bonnaire there) and the magic inspiration of Elissalde and Michalak on the two tries as well as Clerc scoring these tries. There is still room for progress for the French, definitely (the same play against New Zealand, Australia or South Africa would be a loss). They're however on a good way. Next step is winning over Georgia, hopefully scoring a bonus point (that may be harder than expected as Georgia showed good defense) and hope that the Irish team will win over Argentina. Again, this week-end will be busy:

21 September 2007

Julien Danjou: Is X.org 7.3 a sucking release?

I just upgraded my X server at work. Oh my god. I had a working configuration with multi-head (without Xinerama). I was happy. Oh yes I remember yesterday everything was so fine. And now it screwed everything up. I've got 3 LCD screens and 2 Matrox G450 PCI cards. After restarting X.Org 7.3, all I've got was two screens (connected on the first card) in clone mode. Very useful.... After 1 hour of googling I managed to use xrandr to setup a Xinerama display on this 2 screens.... I don't want Xinerama and I want my other Matrox card back. I don't know why but reading Brice Goglin post around, I understand that the old behaviour is no more available. GREAT, now I'm stuck with Xinerama that a lot of window managers don't handle correctly and I still don't know why my other Matrox card doesn't work. Is X.Org 7.3 a piece of shit or what?

Russell Coker: Multiple DNS Names

There are many situations where multiple DNS names for a single IP address that runs a single service are useful. One common example is with business web servers that have both www.example.com and example.com being active, so whichever a customer hits they will get the right content (the last thing you want is for a potential customer to make some trivial mistake and then give up). Having both DNS names be equal and separate is common. One example of this is the way http://planet.ubuntulinux.org/ and http://planet.ubuntu.com/ both have the same content, it seems to me that planet.ubuntu.com is the more official name as the wiki for adding yourself to the Planet is wiki.ubuntu.com. Another example of this is the way http://planet.debian.org/ and http://planet.debian.net/ both have the same content. So far this month I have had 337 referrals to my blog from planet.debian.org and 147 from planet.debian.net. So even though I can’t find any official reason for preferring one over another the fact that more than 2/3 of the referrals from that planet come from the planet.debian.org address indicates that most people regard it as the canonical one. In times past there was no problem with such things, it was quite routine to have web servers with multiple names and no-one cared about this (until of course one name went away and a portion of the user-base had broken links). Now there are three main problems with having two names visible:

  1. Confusion for users. When a post on thedebianuser.org referred to my post about Planet Ubuntu it used a different URL to the one I had used. I was briefly worried that I had missed half (or more) of the content by getting my links from the wrong blog - but it turned out that the same content was on both addresses.

  2. More confusing web stats for the people who run sites that are referenced (primarily the bloggers in the case of a Planet installation). This also means a lower ranking as the counts are split. In my Webalizer logs planet.debian.org is in position #5 and planet.debian.net is in position #14. If they were combined they would get position #3. One thing to keep in mind is that the number of hits that you get has some impact on the content. If someone sees repeated large amounts of traffic coming from planet.debian.org then they are likely to write more content that appeals to those users.

  3. Problems with sites that have strange security policies. Some bloggers configure their servers to only serve images if the referrer field in the HTTP protocol has an acceptable value (to prevent bandwidth theft by unethical people who link to their pictures). My approach to this problem is reactive (I rename the picture to break the links when it happens) because I have not had it happen often enough to do anything else. But I can understand why some people want to do more. If we assume that an increasing number of bloggers do this, it would be good to not make things difficult for them by having the smallest possible number of referrer URLs. It would suck for the readers to find that planet.debian.org has the pictures but planet.debian.net doesn’t.

The solution to this is simple, one name should redirect to the other. Having something like the following in the Apache virtual host configuration (or the .htaccess) file for the least preferred name should redirect all access to the other name. RewriteCond % REQUEST_URI ^(.*$) [NC]
RewriteRule . http://planet.example.com/%1 [R=301,L] In my posts last night I omitted the URLs for the Planet Searches from the email version (by not making them human readable). Here they are:

20 September 2007

Julien Danjou: awesome

Then, I did it finally, I wrote my own window manager. \o/

15 September 2007

Julien Danjou: Sorry dwm

This time I L O L.

Next.

Previous.