Search Results: "dom"

21 March 2008

Gintautas Miliauskas: Launchpad translations revisited

I am trying to add some order to the mess that is the Launchpad translation repository. Problem is, strings translated just once through Launchpad stick around forever, even if you change them in upstream later. In effect, a lot of translation bugfixes were not reaching Ubuntu users. I thought I had that covered. Unfortunately it's not the case. I just noticed that in the Launchpad package list sorting by changed strings only sorts the first page! Initially I had noticed random package names and mistakenly thought that the whole package list was sorted. The whole list (~1500 packages, shown in 75 package chunks) is sorted by "importance", so it's basically random. Good luck finding modified packages in that haystack. Seeking computer-literate monkeys.
Earn up to five bananas per hour!
Must be able to use mouse. Unless... how about increasing the batch size? Turns out that in Launchpad the batch size is not capped, so by changing a URL parameter you can just set it to a high number, wait a few short moments, and get the complete list of packages. Sort that by changed strings and we're done, right? We're done finding the local translations, but not fixing (reverting) them. The new, larger list reveals that there are more than a few of those with quite more than a few strings that should in 99% of the cases be reverted to packaged versions. Here's how that works: Monkey operator instruction manual
  1. Click on 'Packaged' radio button for all 10 entries on page (no batch size modifications allowed here...)
  2. Click 'save'
  3. Repeat until the page says 'No more translations'
  4. Done. Not! When you click the 'Save button', the starting offset is changed for the next page. However, the translations you just marked are removed from the list at the same time. So, if you were looking at translations 1-10, after pressing 'Save & Continue' you will actually be looking at translations 21-30, not 11-20! To get to the 'lost' translations, you have to retrieve the list from the start again. So, load the initial page and go to step #1 to fix the remaining half of translations. Next time you reach this step, half of those will be left. Next time, half of half of those. Isn't that fun!
Where's that monkey ad again? A brute force solution could be to write a script. That could save some bananas. Not that we could run out of them as this whole thing is pretty much bananas. That does not look like a clean solution though. Does anyone know if there there is a better way?

Adrian von Bidder: Educated Artists

Many artists use the problems of current society for inspiration. I am therefore optimistic in the sense that if artists are seeing freedom as a serious problem in the post 9/11 world, others outside of tech-oriented circles will finally notice as well. Bruce Schneier pointed out TSA Gangstaz a few weeks ago and now Frontalot's Secrets From The Future (the latter is even offered as an Ogg file, and the lyrics shows surprisingly deep technical understanding, so these guys seem to really care about this issue.) Anybody working on art related to patent or copyright law? (Not a rethorical question, this blog does have a comments feature!)

Adeodato Sim : A couple graphical applications for this text-mode guy

I tend to favour text-mode applications (I’m sure vim, irssi, zsh and mutt account for most of my keystrokes, in that order), but there are times when a graphical application is called for, for example the browser. Or when I just find it more convenient, for example the music player. Lately, though, I’ve been pleasantly surprised by a couple graphical applications, for which I had text-mode versions which worked more or less acceptably: a random-note taker (I was using vim), and a dictionary (/usr/bin/dict). I’ve replaced these two with Lars’ Notetak, and StarDict. I’ve found that having them constantly running in desktop #2 (which is one keystroke away) beats having to start up vim or dict each time. Curiously enough, in both cases the main interface of the application is a text input line which offers some kind of “incremental search” functionality. StarDict is packaged in Debian (package name stardict-gtk or stardict-gnome), and Notetak, being Python, is easy enough to run from source (the page claims there is a Debian repository there, though I can’t access it).

Adam Rosi-Kessel: The Onion Video is the New SNL

Growing up for the most part in the 1980’s, Saturday Night Live was the funniest regularly scheduled part of my week. It’s either gotten less funny over the years, or I’ve changed. Probably both. One of the biggest problems SNL faces is that it must fill ninety minutes every week, although these days if you subtract out ads, music, and other filler/transitional material, I expect it’s only thirty to forty minutes of actual comedy. Either way, a lot of SNL skits go on longer than necessary to deliver their comic payload. I expect this was actually true in the 1980’s as well, but I didn’t notice it so much. Enter The Onion and its video content. Freed from the confines of the television programming schedule, the Onion can make its online video clips just exactly as long as the writers want, and release them on their own schedule. In recent months, they’ve been batting in the high 800s. E.g., Diebold Accidentally Leaks Results of 2008 Election Early (on a serious note, see Ed Felten’s recent Sequoia discovery and followup); Army Holds Annual ‘Bring Your Daughter to War’ Day. Or any of them, really.
White House Press Secretary Spins Wife’s Tragic Death As A Positive
Army Holds Annual ‘Bring Your Daughter To War’ Day My only complaint about The Onion video content is that they have only one sponsor at any given time, and they make you watch the same exact ad (both as a short pre-mercial and a longer post-mercial) every time you watch a video. The repetition isn’t effective and I can’t imagine it’s the best use of the Onion’s advertising revenue. I suggest at least rotation ads — or better yet, only forcing an ad on the viewer after every nth video. Thanks to Steve and Flour for the key insight about clip-length. Technorati Tags: ,

Rob Bradford: I guess i m boring but

I still can’t get the hang of RSS feed aggregators. There is something about the Google reader’s uniformity that I find unsettling. Block after block of text all neatly laid out. But… it is really useful to keep track of those feeds that aren’t listed on the the planets like Random Acts of Reality, MySociety and Cook (almost) Anything at Least Once. So, I was cheered up no end to discover they have a “Next” bookmarklet. Once added to your toolbar or whatever this lets you go to your next unread post in the page where the post comes from. Yay, no more uniformity, yay, personal expression. Oh, but everyone is using Kubrick.

20 March 2008

Jan Wagner: selfnote: How to handle multiple domains with one apache vhost in a smart way

Today a customer asked for hosting several domains with different content on one apache virtual host. The little tricky part was, that the sites should not be accessed by subdirs like http://domain20.org/subdir20/ and http://domain21.org/subdir21/ which can be done with a little script which parses the $_SERVER[’HTTP_HOST’]. So mod_rewrite is an option.
To make it user accessable, we use .htaccess. This requires “AllowOverride +FileInfo” to be set for the DocumentRoot in the vhost config. The .htaccess in DocumentRoot could look something like:

RewriteEngine On
RewriteBase /
RewriteCond % HTTP_HOST domain10.org$ [OR]
RewriteCond % HTTP_HOST domain11.org$
RewriteCond % REQUEST_FILENAME !dir1/
RewriteCond % REQUEST_FILENAME -f [OR]
RewriteCond % REQUEST_FILENAME -d
RewriteRule (.*) dir1/$1 [L]
RewriteCond % HTTP_HOST domain20.org$ [OR]
RewriteCond % HTTP_HOST domain21.org$
RewriteCond % REQUEST_FILENAME !dir2/
RewriteCond % REQUEST_FILENAME -f [OR]
RewriteCond % REQUEST_FILENAME -d
RewriteRule (.*) dir2/$1 [L]

Kartik Mistry: What do you need to live?


* What else you need?? 1. Family: K with K Amazed! 2. Debian: Debian-Bootup 3. And Friends (and gifts!!) LOTR * Thanks to all F R I E N D S for ^^^ I am amazed!

19 March 2008

Marc 'Zugschlus' Haber: Universal boot stick for Debian, grml and the Debian installer

For various reasons, I have the kernel and the initrd that my notebook needs to boot Linux on an USB stick. I recently added the Debian Installer and grml to the stick to allow additional uses of the stick. Usually, USB sticks are formated with FAT32 and when they’re used to boot Linux, Syslinux or some derivative is used. I do it differently on my boot stick, most prominently because I’d like to have Unixoid privileges on the stick, and because I’d like to continue using grub. So, my stick is formatted as ext3, and feels like an additional hard disk. Booting from an USB stick is sometimes tricky. I have made the best experiences with formatting the USB stick as an USB ZIP, which basically means having 64 heads, 32 sectors and a single partition in the fourth primary partition slot. This can be done using mkdiskimage and is documented on Debian in /usr/share/doc/syslinux/usbkey.doc. Partitioning and generation of the file system is as straightforward as is installing grub using the standard, documented methods for hard disks. I tried using grub 2, but have found it not sufficiently well-documented and stable to be used in this kind of critical environment. I am therefore still using grub-legacy despite the fact that the grub maintainers have ceased fixing grub-legacy bugs some months ago, refering to the pending release of grub 2. I use unison to keep /boot on the stick in sync with /boot of the Linux system, which is on a crypted filesystem on the hard disk and thus unuseable until the system has booted. The hard disk /boot thus serves only as installation target and sync source so that the stick does not need to be plugged in during upgrades. update-grub is configured so that running it creates a menu.lst which can be used from the stick. This concludes booting the production system from the stick. For the other systems, I have decided not to put them in the “default” boot menu from menu.lst, but instead include foo.lst files to the root of the stick, and when I need them, shell out from the grub menu to a command line by pressing “c” and then pulling in the new grub config file with the “configfile /foo.lst” command. grml is my favorite rescue system. I use it all the time once a system starts acting up. One of its biggest advantages is its extremely flexible bootup process. That made it predestined to be the rescue system on my USB boot stick. grml is currently making a transition to a new build environment, which has had the side effect that the boot process has changed in some details. grml-small, the 60 MB variant that I had been using before, has been discontinued and replaced by grml-medium, a 170 MB variant which does definetely not fit any more on a business card CD, but 128 MB USB sticks have become relatively seldom. For both grml flavours, all one needs to do is mount the .iso file loopback, copy the file’s contents to a subdirectory of the boot stick, and to drop this menu file to the stick:

title           grml-small
root            (hd0,3)
kernel          /grml-small/boot/isolinux/linux26 toram grml_dir=/grml-small/GRML/ grml_name=GRML ramdisk_size=100000
init=/etc/init lang=us BOOT_IMAGE=grml
initrd          /grml-small/boot/isolinux/minirt26.gz
title           grml-medium
root            (hd0,3)
kernel          /grml-medium/boot/grmlmedium/linux26 live-media-path=/grml-medium/live/ toram=grml-medium.squashfs
lang=us boot=live noeject noprompt keyboard=de
initrd          /grml-medium/boot/grmlmedium/initrd.gz

Since grml-medium works reasonably well, I do not expect to need grml-small very often any more. The Debian Installer guys have published an initrd which can browse nearly arbitrary media for an debian-installer .iso file, mount it and install from that image. I have made use of that feature to allow Debian to be installed from my boot stick. /d-i holds a current debian-testing-i386-netinst.iso, and vmlinux and initrd.gz from http://ftp.nl.debian.org/debian/dists/testing/main/installer-i386/current/images/hd-media/. With that, this d-i.lst:

title debian installer
root (hd0,3)
kernel /d-i/vmlinuz
initrd /d-i/initrd.gz

does the trick and boots up the Installer, ready to start. I guess that it would be easily possible to include these grub config stanzas to the default menu.lst, including grml and the Installer into the main grub menu, but I deliberately decided not to have these options directly in the menu for the time being. It is always amazing how flexible today’s systems have become when it comes to boot Linux. For both rescue and installation, this is needed, and the respective authors have done a remarkable job.

Russell Coker: The Inevitability of Victory

I just read an interesting blog post about Montenegro [1]. Apparently a key to the process of becoming a country was acting like it was inevitable. It seems that this method can be applied to many areas, one of which is the contest between Linux and some proprietary OSs. For many years monopolists have convinced people that it was inevitable that they would monopolise all areas of software development. Why use any other software (even if it is more reliable, faster, has more features, and is cheaper) if a monopolist is about to dominate the market? The monopolist changes sometimes, the monopolist from ~1990 to now is different from the monopolist of the 1970’s, but the tactics of a computer monopolist remain the same. The way to beat this is largely to just ignore them. There is an ongoing debate in some circles about when Linux will be “ready for the desktop“. I’ve been running Linux as my primary desktop environment since about July 1998, it’s almost 10 years of having Linux as my primary desktop environment. It seems inevitable that the Linux will take over the desktop - it’s far better for desktop use than it was 10 years ago when I switched. Some people claim that Linux lacks driver support. Every piece of hardware that I’ve wanted to use over the last 10 years has had adequate support. Often second-hand hardware works best with Linux, hardware vendors have no reason to continue to support their old products on newer operating systems (they make more money if you buy new hardware to run the new OS). Not only is hardware support for Linux adequate, but long-term support is far superior (and I often get to use cheap second-hand hardware). Now that an increasing number of hardware vendors are supporting Linux for their new hardware (Intel, AMD, and most laptop vendors are doing some good work in this regard). It seems that everyone who has tried both says that writing drivers for Linux is easier than writing drivers for proprietary OSs, so it seems inevitable that Linux will end up with better driver support by all metrics. Linux is designed for users. DRM (Digital Restrictions Management) is not something that interests Linux developers. Run Linux and your computer will obey you and give full quality audio and video. It seems inevitable that Linux will dominate the AV section of the market (it already dominates the computer work involved with creating movies). Free software (of which Linux is merely the most famous and popular example) is based on the principles of open design and open standards. When you use a free software program to save a file then you can be reasonably sure that you will be able to read it back again in a few decades. Most free software uses file formats that are well documented and standardised. Sometimes there are bugs in programs and new versions will use files in a different way, this is sometimes a case when you rely on a bug in an old version. Using the older version of the software is sometimes required to properly access old data. Fortunately when you have the source to the older programs they can be compiled on new systems (so different types of CPU won’t matter). Also the lack of DRM means that an OS image can be virtualised. One thing that is on my todo list is to create a set of virtual machine images of some of the most commonly used distributions of Linux so I can easily compare distributions of 10 years ago with modern distributions - it’s not technically challenging and there is no particular technical or legal obstacle to doing this. This would also mean that if someone gave me a file in some strange format from 10 years ago I would have a better chance of reading it. It seems inevitable that as the value of data increases the desire to avoid OSs that prevent people from accessing their own data will also increase, and that will eventually squeeze out most closed software from the market. This doesn’t mean the end of proprietary software, merely the end of software that holds user’s data hostage. The majority of the world’s population does not use computers. The computers that they end up using will be cheap because they can’t afford to waste so much money on new hardware. To make cheap machines means that there will be limited resources in terms of RAM, mass storage, and CPU power which require more efficient software. Also to properly take advantage of machines with small screens and other limitations changes to the design of the software will be required. It seems inevitable that the most open software will be adapted to such environments more readily than proprietary software. Now this doesn’t mean that we can take a break from development. In the free software community there are usually many different programs to perform a particular task with competition between the developers of the various projects. The fact that a monopolist is inevitably going to lose it’s position is of little relevance to the competition between the various free alternatives.

18 March 2008

Axel Beckert: MicroClient Sr.

About a year ago, I bought a Norhtec MicroClient Jr., a complete 200 MHz MMX-compatible SoC (“Vortex86”) PC so small that it fits into your hand or onto VESA mountings. Althought thought as thin client, the machine has 128 MB RAM and runs Debian from either netboot, USB stick, CF card or 2.5” harddisk without problems and not even that slow. Later last year, we needed more MicroClient Jrs. at work and since the MicroClient JrSX had a 300 MHz 486SX-compatible SoC processor (“Vortex86SX”) from MSTi and 128 MB DDR RAM instead of SD RAM, we expected them at least in the same performance range and bought a few for ETH and I also bought one for myself. Well, they were about three times slower, since the FPU is missing, not all programs from Debian Etch work fine, e.g. X doesn’t work without patching and recompiling (with Sid, X works, but not the kernel anymore)… BTW: I had both machines with me at FOSDEM ‘08 at the Debian booth and the MMX-compatible machine also at Chemnitzer Linux-Tage (CLT) at the Symlink booth and in Kurt Gramlich’s talk about ecological computers. So if you saw them there, just imagine the same case, with a twice to three times faster CPU and four times the amount of RAM, but with roughly the same carbon foot-print! For our thin client purposes at work we now use ALIX boards from PC Engines (Mini-ITX format) with 500 MHz AMD Geode processors. They’re much faster than the MicroClient Jr. and need even less power. Today, while surfing around on some Mini-ITX shops, I found some computer in obviously MicroClient Jr. case, but with 500 MHz VIA Eden processor and 512 MB of RAM. I first couldn’t believe it. They are selling it as eTC-2500. Since eTC-2300 was one of the brandings of the MicroClient Jr. which is called eBox-2300 officially by the manufacturer DM&P, I searched for eBox-2500, but didn’t find anything useful. Then I looked at the manufacturer’s product page at CompactPC.com.tw and found the eBox-4300 — so it’s really true, they managed to fit a board with 500 MHz VIA processor and half a Gig of RAM into the already fscking small space inside the MicroClient Jr. case, and even without needing more power: Still 15W from the power adaptor. Next stop was Norhtec’s Website. And yes, they also have a new MicroClient product: The MicroClient Sr.. I really need to have one of those for my MicroClient collection! ;-)

17 March 2008

Joey Hess: two cents

I just bought 5 copies of the Official Catholic Directory Anno Domini 2005. It's a big book - 4 pounds. Sadly it's the paperback, not the fancy hardbound version. But I own Amazon's entire stock. Because it cost 2 cents a book, and I needed exactly 10 cents added to my order to get free shipping. To make up for this gross excess, I'd really like to find something useful to do with the 4 copies of this book I won't use. Yeah, I'm actually interested enough in looking up obscure Honduran churches and poring over province maps and necrology indexes to maybe justify one copy. (No, not Catholic!) For the rest, I need something better than trying to resell it on Amazon for $578.54 as several other people are cunningly attempting to do. Something better than, well, TP. I suppose I could hollow it out and hide a computer in it, and sell that for $578.54. Still brainstorming...

Runa Sandvik: Take back your local media

I first read about Metblogs when Matt wrote about the new design and the move from one publishing platform to another. Metblogs is now based on a multi-user installation of WordPress. The idea behind this collection of blogs is that you can take back your local media. Read about a small club in Paris named La Fleche D Or, the E train and Q 39 Buses in New York City or a photowalk in Chennai. Metblogs covers local issues in over 50 cities around the world.
We are bloggers first and foremost, and we love our cities. Even the parts we hate.
A new city will be launched when ten or more bloggers from that area are commited to the site, and willing to contribute. Author slots on existing city sites are given to people on an invite only basis. If your local media does not want to cover the opening of a new chocolate factory, then you can do it. You don’t need to blog on metblogs to do just that, though. Every big site has a few flaws here and there, and Metblogs is no exception. On the list of what to fix is the problem with the sites being too wide, the fonts are either too big or too small and some links are broken. I have my own, but very short, list of changes I would like to see on metblogs.com. The link to visit a random city should be placed somewhere more visible to the reader, and the link to the author of a comment should point to the author’s profile.

16 March 2008

Steve Kemp: E.T. phone home

I've just finished reading "Don't You Have Time to Think", a collection of letters written to and from Richard P. Feynman. A birthday present from my wishlist. Previously I've read the collection of letters to/from Tolkien. (Several times actually. Very nice collection!) It suddenly struck me that over my lifetime I've probably written <200 letters to people. When I was young I had a couple of pen pals, and when I was entering university I was involved with a couple of play by mail games which involved writing random letters involving strategy & etc. Personal letters though? I've written very few, and I think they've mostly consisted of letters to my partner/partners of the time. (For example Megan went home for a few months at the end of a university year about two months after I initially met her. So there were many letters back and forth. Recently she spent two months working in the USA; counting eggs and avoiding alligators so again there was a flurry of written letters, maybe 20 total during the duration of her trip.) I guess that most of my (hand)written messages to people have been in the form of postcards whilst on holiday. A long time ago I offered to mail postcards to Debian developers. I know I sent at least two, and I received at least one back - but the thing I remember most was exchanging addresses with Amayita and getting into character set issues. Her emails, containing her Spanish address, were difficult to understand as my mutt/console refused to display the foreign character set properly. I can't recall whether she did ultimately receive a card from me, but I'm sure she'll remind me if she did. Anyway I have no resolution, intention, or expectation that I will suddenly start writing more physical mails to people. But I think it almost counts as something we do less of these days. The telephone and internet have become the norm. In some ways this is fantastic. In others it less good. On the left my handwriting is so bad that maybe this isn't necessarily a problem. ObQuote: E.T.

15 March 2008

Daniel Burrows: I hate it when I'm right this way

A few months ago, I registered my first domain name ever. When you want to register a domain, the first step is generally to enter the domain you are interested in into a box; the registrar will then check to see if the domain is not registered yet, and allow you to register it if it's available. When I saw this, I thought to myself: huh, I bet that if I were a registrar and I were evil, I would take domain names that people ask about but don't register and register them myself. So I used the normal DNS lookup process to check hostnames until I came up with one I liked, on the theory that they can't possibly be registering every single lookup failure. I really hoped that I was just being excessively paranoid, so it makes me sad to learn that apparently my cynicism in this particular case was entirely well-founded. Someday I want to believe bad things about humanity and have them turn out to be false. :-(

Daniel Burrows: Why so few X maintainers?

Andrew McMillian asks why X.org has so few active developers:
[Bernardo Innocenti] did a quick and dirty analysis of Xorg LoC vs Linux LoC, to give a "X codebase is roughly 1/2 Linux codebase" (which surprised me, actually, I'd always thought it was larger) and then a similarly rough analysis that suggests that Xorg has roughly 1/20th of the developer base. To some extent Bernardo's metrics are arguable, but the basic facts are that Linux gets the lions share of the developers. Is this what we should expect? Is this a healthy way for the free and open source software community to support the development of what I personally would like to see as the future desktop base?
There are a lot of factors involved in determining which projects get more attention. I'd imagine that things like the amount of domain knowledge required to contribute a simple patch, the structure of the code, the amount of press that a project and its maintainers get, and the presence (or not) of a charismatic and photogenic leader. You could probably even base your entire academic career on studying this question. But I also think we shouldn't underestimate the impact of paid jobs. Admittedly, I have never asked whether I could get paid before jumping off a cliff and starting a new project. But on the other hand, I now effectively work two jobs and only get paid for one. Most people are not as stupid as me, and will rationally choose to spend their time on tasks that they actually get compensated for. Even people who don't care about being paid will find it difficult to continue contributing over time due to practical issues of their personal life, families, etc, and they won't be able to contribute as much as if they were working full-time. It's well-known in the programming community that if you can hack the Linux kernel, you can pretty much write your own job description [1]. On the other hand, I've never heard that companies are looking to hire skilled X programmers. A quick pair of searches on that font of knowledge, Google, seem to back this up. Compare the results for x programming jobs -"active x" -"OS X" and linux kernel programming jobs[2]. Nothing on the first page has anything to do with being paid to work on X.org, whereas the second search gives me an entire page full of people offering to pay me money if only I knew how to hack the kernel. KernelTrap, a central site for information on the kernel, even has a job board just for jobs related to kernel programming. That's not to say that the X coders don't get paid; I'm sure many of them are compensated for their work on X, and given the level of expertise involved they're probably paid well. Companies that manufacture graphics cards have an interest in employing people to hack on X; Linux distributions and embedded hardware manufacturers also benefit from a better X and strike me as likely places of employment for X hackers. But there doesn't seem to be anything for X.org like the cornucopia of available and well-advertised jobs related to the Linux kernel. Programmers who want to be paid someday will, on average, end up gravitating to the project where the prospects are obvious, not hidden. [1] Note that for the purposes of this discussion, it doesn't matter whether this common wisdom is true. The perception of jobs available in Linux-land will tend to cause people to head towards Linux regardless of whether the jobs exist or not. [2] I also tried x server programming jobs -"OS X", x.org server programming jobs, x server jobs -"OS X", and x.org server jobs without notable success.

David Nusinow: Random Bits

I've been extremely busy with labwork lately, trying to get a second paper ready for submission in the coming months. It's taken an obvious toll on my free software work, but that's life I guess. The upside is that the other night I realized why a year and half's worth of experiments kept turning up with negative results that seemed to contradict our other results. It turns out that this experiment was conceptually flawed, and even though I wasted a year and a half on this I did learn something even from those negative results that should go in to the final paper. I'm actually relieved, because even though I don't have all the data yet I can really see how the paper will end up, so I can start writing soon. Oftentimes knowing why something is wrong so you can fix it is even more important than being right.

I set up an ikiwiki to help organize my lab data a few weeks ago, and it's been a huge win. Joey really did a fantastic job on the program and I can't imagine using a wiki that doesn't share a very similar design for any of my personal stuff. I showed my boss some of my data using it and now he wants me to set up a wiki for the lab. He actually wants me to show off my wiki to give my lab members a feel for the idea. Since ikiwiki doesn't seem to be appropriate for my lab members, I'm going to have to look in to the giant list of wikis to figure out the exact right one for my lab's requirements. This is something I never expected to be doing in grad school.

Because there's no way my brain can go without doing a little bit of programming, I finally sat down and wrote myself a small shell script that lets me grep through pdf's, which is something I couldn't find googling around. If you have a lot of pdf's like I do and don't something like beagle or tracker churning away in the background constantly just so you can search them, this is very helpful. It's obviously very crude, but it gets the job done nicely. It relies on the pdftotext program; hopefully it'll be of use to someone.

I've been digging in to my copy of UNIX Power Tools lately, trying to pick up new UNIX and vi arcana, which is something I haven't made a real serious effort to do in a long time. It's been surprisingly fun to try and replace old habits with things that I know are better but don't use. A good example is that I usually will fire off a new subshell in vim when I should really just suspend vim and use my original shell to save time. Re-examining the basics of how I use the system has been a lot of fun, and has made me a lot more comfortable with the simple day to day tasks.

Steve Kemp: I promise that I will not kill anyone

Planet Debian now has Javascript to facilitate the persistent hiding of particular feeds. The code is still in flux, but appears to work. Comments welcome, especially from people better at Javascript than myself! The way it works was chosen to minimise the changes requred: At load-time the function hideHosts() is called. If a comma-separated cookie called "excludes" is present this is split and iterated over. For each domain-name in the list the current document is searched for elements having a class prefixed with that hostname - if any match and they have an ID defined (regardless of what that might be) they are hidden. And thats it. The changes to the template were minimal; each index entry already has a "link" attribute, so I just had to add this:
 <div class="<!-- tmpl_var name='link' escape='html' -->"
         id="<!-- tmpl_var name='link' escape='html' -->" >
 ....
 </div>
Because the ID and LINK attributes are URLs there is a little mangling, and inefficiency. But I didn't want to change the core of the PlanetPlanet to define a "hostname" attribute for each feed member... In an ideal world I'd add "class='feed, $link'" and then iterate over that at load-time to attach handlers, and an ID appropriately. But that is a little scary.. If it works in IE great. I've tested Firefox & Ephinay ObQuote: Terminator II Update: Moved javascript into external file, and removed the image toggling, it seemed to fail and I'm not sure why. I will investigate.

William Pitcock: A look at SCO Unixware 7.1.3

So, you know, SCO has been suing various people in the Linux community for the last few years, claiming that some code in Linux was stolen from them. So, I’m willing to bet that a lot of people were wondering: what exactly is SCO UnixWare? Well. Have I got a treat for you. Thanks to this wonderful thing called the Internet, you too, can experience SCO UnixWare in it’s full glory. Right, so! I wouldn’t want to stop you from experiencing perhaps, the most enterprisy OS ever. Lets get it on. Installing the OS — the most enterprisy installer ever. The SCO installer is the most ass-backwards convoluted thing someone could have ever invented. It’s downright bloody insane. But, a picture is worth a thousand words, or something like that. This is the boot splash screen. You’ll see it a lot. The release 7.1.3 text goes back and forth a lot, kinda like the Windows XP startup screen except with less artistic talent. After a little while, you boot into a language selection screen. SCO UnixWare Installer Language Selection Screen You choose English, and it presents you with: Welcome to the SCO installer !!!1111one+1 You press F10 to continue. Pressing F10 is kinda like rolling a 2d6, except it’s more enterprisy. You’ll be pressing F10 a lot. It asks you to enter a license key. But, SCO doesn’t really care about licensing it seems. You press F8 to tell it that “you don’t have a license”, and it gives you the option to use an “evaluation license which expires in 60 days”. Licensing You choose yes, you anti-capitalist pirate. Don’t worry, at this point, the SCO installer has probably phoned home and told them to add you to their SCOsource litigation. It starts unpacking drivers, and asks you if you would like to use the driver configuration utility. Driver installation You exit out of the driver configuration utility. It asks you for the system hostname, and installation method. Nodename? Select install method Time to partition your hard drive. Finally. This is what it’s all about. fdisk step 1 fdisk step 2 fdisk step 3 Wow, that was easy wasn’t it. You press enter three times, kinda like the free software OS we know and love. It asks you what packages you would like to install. Package selection You choose the default. Mostly because I couldn’t be assed. Now you go back to setting up the network??? You think back, and recall vaguely that you set up the network already. Apparently you didn’t, as it now wants you to manually configure your ethernet adaptor, despite the fact that it autoconfigured itself moments ago. Network configuration, part 2 Network configuration, part 3 You enter in some information to make it happy. It asks you to set the clock. Time configuration You enter in some data and press F10. It asks you to set up a user, set the root password and set the system security level. User configuration Security level? It asks you to accept the license agreement, in a very enterprisy way. Infact, it’s so enterprisy you don’t have to read the actual license. License Agreement You choose “display licenses”; because you’re curious. You see the following copyleft licenses: SCO uses GPLv2 software SCO uses Artistic-Licensed software. It asks to be sure you really want to install this enterprisy OS. Are you sure?! You hit F10, acknowledging your willingness to sell your soul to satan SCO. Installation begins, you wait about 20 minutes, and the thing is finally installed. File Installation, part 1 File Installation, part 2 You look up and see it installing netscape. You sigh, as you know what that means. It installs documentation. You nearly fall asleep. File Installation, part 5 Wasn’t that percentage meter more a little while ago? You go back to whatever you were doing. Finally, it “sets up UnixWare”, and tells you that it has finished. You hit Enter. But, you forgot to eject your CD. Ok, you reboot finally. It boots back into unixware, and you get presented with the bootsplash: It boots up for the first time. It asks if you would like to install anything off of CD2 or CD3. You choose no, and it spams you about some update support contract thing. It decides to rebuild your kernel for some random reason. By rebuild, I mean, “relink using binary blobs”. But, I digress. The system reboots, because it rebuilt the kernel. The system boots, you’re presented with even more advertising. This concludes our look at SCO UnixWare. I hope you’ve found it fun. There’s more fun images in this directory, including a mollyguarded shutdown and much more.

13 March 2008

Lars Wirzenius: Libc is broken. What now?

Today I woke up and read the news that the Ubuntu hardy C library (libc6) had been broken. The bug is so bad that the system no longer boots. Tempers are running high. What to do? There is a discussion thread on the ubuntu-devel mailing list, where someone flames the person who did the broken upload, and someone else flames the first flamer, and then other people flame the second flamer. It's a regular flamefest. It's not the most constructive reaction from any of the involved people (which is why I'm not linking to it). This is not Ubuntu specific in any way. Any system that is being developed is going to have bugs of various sorts, some really bad like this. When that happens, people are going to be annoyed. I'd like to offer the following as lessons to be learned from these kinds of episodes:
  • Developers must have the freedom to make mistakes without retaliation. Flaming counts as retaliation. Fear makes people less productive.
  • People who suffer from the bug need to vent. Preferably they will do this in private rather than in public, and without aiming it at specific people, but the need is real, and suppressing it won't improve things. Back in the old days, alt.flame worked pretty well for Usenet, perhaps that's a model that could still apply.
  • Many problems can be found via automatic testing. Perhaps testing all uploads with, say, piuparts, before they are installed into the package archive could catch some future problems. (Disclaimer: piuparts can't currently test libc or other essential packages.)
  • Even with rigorous testing, there will be catastrophic bugs. Linux could benefit from a way to recover from them that is easier than fiddling with installation media and tweaking stuff manually. There's various approaches that could apply, perhaps we should pick one and push it. "We" being not just Ubuntu, but also Debian and other distributions.

11 March 2008

Isaac Clerencia: On why I love The Wire

I have just watched The Wire’s last episode. For those who don’t know about it, The Wire is the greatest TV series ever created (Salon and Slate back me on this). It’s been acclaimed by critics, but widely disregarded by audience. I’ll never forget Jimmy McNulty, a troubled Irish American dipsomaniac murder detective (played by brilliant Brit Dominic West) or Omar Little, a Robin Hood-like stickup homosexual man in west Baltimore. The rest of the deeply portrayed characters of the show are great too, but above all of them, the real starring role belongs to Baltimore. I am sure Baltimore’s reality goes way beyond this show, but I don’t think a show can get more real than The Wire. Each season focuses on a different topic, such as drug-dealing, unions, politics, the press, always keeping the police department around. The story arcs are really long and complex, The Wire is not the kind of show you can enjoy watching a single episode of, but more like, as its own creator - a former Baltimore Sun journalist - put it, a “66 hour movie”. Well, I could keep praising it for hours, but lots of people have done that already, even Barack Obama loves it (:P, let’s ride the hype). Praise available in Spanish too :P Besides, Eliot Spitzer has made wiretaps really popular again these last days ;) Really, you must see it.

Next.

Previous.