Search Results: "ag"

24 November 2005

Benjamin Mako Hill: ...And Straight Up Is Right Out

In my computer supported collaborative work seminar, we were discussing the design of table-top systems for synchronous collocated collaboration. There was a bit of conversation on the problems and strategies with images projected onto the table (e.g., people getting in the way of the beam). There seemed to be consensus that most simple and effective solution was projectors mounted directly above the table. I pointed out that, in this context, straight down was the most straightforward.

Mike Hommey: Hard Disk s hard life

I knew that hard disks had a limited time-life park/unpark-wise, but I didn’t know that was that bad. I always thought that because of ext3’s commit every 5 seconds, disk would never spin out and park the head. I was wrong. It seems that whether or not the disk is accessed, every put here the time it is for your disk minutes, it does park and unpark the head. Well, at least on laptop disks, because it seems this is not the case for desktops. My 3 year-old vaio, which is now this web server, has a Load_Cycle_Count of 580465 for 9775 Power_On_Hours, which is about 1 load cycle per minute.
My 1 year-old vaio, has a Load_Cycle_Count of 83718 for 4043 Power_On_Hours, which is about 1 load cycle every 3 minutes. While I managed to actually stop the load cycles to occur on the older vaio, with hdparm -B254, nothing actually stopped it on the newer one. I tried to change some other parameters with hdparm -S but nothing did work. I still have to take a look at the BIOS, though. Now, the question is : why the fuck are the heads parked/unparked every little while even when accesses occur ? Is it a conspiracy so that laptop disks won’t last forever ? Well, at least, I’ve never experienced a hard disk failure in 12 years of using computers with hard disks. For how long ?… [Note: the Dell laptop provided by my company, running Windows XP (which also has a somewhat journalled filesystem and commits the journal every few seconds) has around 24000 load cycles for about 800 hours of use, which is 1 load cycle every 2 minutes, so this is not a Linux issue.]

Meike Reichle: Oh it's good to be back home!!

I didn't blog immediately when I got back homei, mainly because the first days after my return (which was on Sunday) I was too busy feeling like shit.
The fair was rather straining, especially since I was there on my own and a normal fair day included about 3 hours of car driving (half of it in a horrible 7 line fair traffic management system) and about 9 hours of standing around, all tarted up with pantsuit, high heels, make up et al., smiling, looking attentive and not as bored (and in pain) as I was. (No, there are no pictures!!)

Anyway, enough whining. I am back and made an almost full recovery (Save some big bruises on my right leg, of which I have no idea where I got them. Probably bumped something against my leg when taking down the booth again.) and there are now much more pleasant times ahead. The Leipzig christmas market opened today and I plan to pay it a visit sometime this weekend. (Yea, I know, kitschy, sentimental, commercialised, ... but it's fun anyway, so shut up and have a gingerbread.).

The second highlight of this weekend will be the Skatalites concert I'll see on Saturday. For those who don't listen to Ska, the Skatalites can be considered to be among the "founding fathers" of today's Ska music. They were most popular around '63 - '65, today they are of course all pretty old guys (And girls they bring Doreen Shaffer, yay!!).
But they still do some considerable rockin! And it is to be supposed that there might even be a fair amount of enjoyable skankin' going on among the faithful followers of the acustic and sensual delight that is good Ska music.

Jiggy-Dah!

Walt Jabsco

Aigars Mahinovs: Cosplay warm-up


Cosplay warm-up
The opening of AnimeFest went great - there were few cosplayers and a huge lot of general public. Anime is on the high.
The fest was opened by two cute girls - one of them was speaking in Latvian and the other in Russian. At first they were translating each others lines both then they diverged and even started a small dispute. You had to know both languages to "get" the joke, but I think most of the people in Latvia do know Russian enough for that.
The opening program consisted of "Howl's Moving Castle" - a truly wonderful anime movie from the same director as the "Spirited Away". A great fairy tail as expected from Studio Ghibly.
Also:

My blog is worth $5,645.40.
How much is your blog worth?

I have no idea why, but I would like to check out half of it, please :)

Erich Schubert: Wikipedia wasn't really new - so what is the difference?

Wikipedia wasn't really "new". Wikis have been around before. There were a dozen of encyclopedia attempts around (although maybe not using a wiki, and usually more focussed around a specific field of knowledge), there were huge collaboration applications. I think that Wikipedia just offered the right options for the users at the very right moment, when this "revolution" - people not using the web as a way to 'download' content as much, but to actually publish their very own stuff, taking over content production - was just kicking off, without being too fragmented yet. Today, you'll find dozen of "encyclopedias" for specific parts, who somewhat try to copy the success of Wikipedia, but which maybe was so successful because it didn't put up much restrictions on what it was to be used for... As for the "not new" part - take for example a look at DMOZ.org, which is for example used by Google as datasource for Directory.google.com. This has been around for years (since 1995?), 5 Million verified Links in there, 70k editors just to verify and organize the links (many just taking care of a small part like the links for their home town), and everybody can submit new links. I started being an editor when it had around 2 Million links, and "timed out" due to inactivity when it reached 3 Million. I have the impression (partially of course to the success of search robots like google, who have also "ruined" the directory business for e.g. Yahoo) that growth slowed down horribly the last years a lot. Although the level you could contribute wasn't that different from what e.g. Wikipedia offers. On the one hand it's a shame that great projects like DMOZ get so little attention, but on the other hand e.g. Wikipedia is fantastic, and I'm happy that many people have realized that they can be an active part of the web, not just a content consumer. That there is more to the web than to share music and access pr0n^Wcommercial websites.

Neil McGovern: Texlive hits Debian

Well, it's taken quite a while (3 months), but finally, texlive is in a good enough state for upload!
As it's such a large package, isn't *quite* right (there's some man pages missing), and could be a major change, I've put it in experimental for now.
So, this is a call to everyone to please test out texlive :)

Go on, apt-get install it :)

Benjamin Drieu: Pick of the day, ccache

I recently tried and adopted ccache, which (quoting its webpage) acts as a caching pre-processor to C/C++ compilers, using the -E compiler switch and a hash to detect when a compilation can be satisfied from cache. This often results in a 5 to 10 times speedup in common compilations. I must say I was sceptical, but ccache really works great, specially when you have to compile again and again the same code, like a Debian package which you have to clean but which source code remained the same. The only glitch is installation. If you wish to use it by default for all your compilers, there is still some manual configuration. I'd really like it to provide an alternative to, say, cc.

Wouter Verhelst: Belpic for backports.org

I just uploaded a belpic that compiles on stable to my people.debian.org webspace, so that people using stable will be able to use belpic, too, and might be able to use their digital ID card to sign emails, or use the tax-on-web thingy of the Belgian government. The idea is to get this into backports.org, but I can't reach Norbert Tretkowski ATM, so it'll have to wait 'till he reads his mail. One thing is weird, though. To be able to build belpic for unstable, I had to change some things like (unsigned char **) in the code to (const unsigned char **), or it wouldn't compile. Now that I try to compile it on stable, I apparently have to reverse those changes, or it won't compile. Probably some definitions of one (or more) of the build-dependencies changed. Not that it's a problem, of course, but it is silly. On a slightly related note, Zetes N.V. (belpic's upstream) suggested I go ahead and maintain packages for them to put on the Government's website, too, so that people would be able to install it by downloading from belgium.be. This wouldn't just be the Debian packages, but also packages for other distributions (probably RPMs, then). Sounds like fun. This isn't at all official yet, but it might be some time from now.

Jonathan McDowell: Network installing FreeBSD

So, Black Cat Networks have a bunch of nice dedicated servers and I've been working on various network installs for them. Debian was of course easy; there's a nice netboot.tar.gz that has everything you need (including configs for serial consoles). Fedora Core was a bit harder; there's mention about network boots and installs, but not a lot of docs. A pxelinux entry like:
label fedora
	kernel fc4/vmlinuz
	append initrd=fc4/initrd.img ramdisk_size=8192 console=ttyS0,9600n8 serial
does the right thing, with vmlinuz and initrd.img coming from http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/images/pxeboot/. Fedora's a bit annoying in that it doesn't offer you a selection of mirrors to network install from though, so you need to have worked that out for the install. FreeBSD however, was much harder. Firstly, there aren't any decent docs about it that I could find. Secondly, it really wants to use NFS, even though TFTP will be required anyway for the PXE boot stage. So, I ended up recompiling the pxeboot loader with LOADER_TFTP_SUPPORT enabled and LOADER_NFS_SUPPORT removed (though it still tries to do NFS mounts it seems). Of course, you can't do this under Linux easily. Nor can you do it on FreeBSD 4.10 it seems (I was recompiling the FreeBSD 6 loader). However you can on FreeBSD 5.4. You need the lib and sys source trees to do so. Or you can have my prebuilt copy, freebsd.0. pxelinux config looks like:
label freebsd
	kernel boot/freebsd.0
assuming you put it in a boot subdirectory under your tftpboot root dir. You then need http://ftp.uk.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-bootonly.iso to get the rest of the /boot contents from. Burn it to CD or loopback mount it or work whatever magic does the trick for you to get access to the files in that image. Then copy all of /boot on it to boot in your tftproot. You don't actually need boot*, cdboot, loader or pxeboot, but they're all small files. Then, add the following to loader.conf:
boot_serial="YES"
console="comconsole"
kernel_options="-h"
vfs.root.mountfrom="ufs:/dev/md0c"
So, now you can type "freebsd" at your pxelinux boot prompt and it'll boot up the installer. Rock. I don't quite understand why I had to include the kernel_options line above - I thought setting boot_serial would do that for me. However, it works. With the only real pain being having to recompile pxeboot and the lack of docs. Which I've now sorted for you. ;)

Matthew Palmer: Key Signing and The Identity Problem

Yet another thread on keyring updates in Debian has gotten me thinking about key signatures, what they really represent, and other associated topics. For those of you who might not know what I'm talking about, a brief primer. Before someone can be admitted as a Debian Developer, they have to have an OpenPGP key (practically, a GPG key) signed by a current Debian Developer. That is, someone who is currently a DD has looked at a photo ID, compared the photo to the face offering a key fingerprint, and compared the name on the ID to the name on the key. If they all match, we have a signature. The other qualification for becoming a Developer is going through a process designed to determine whether you have the required competencies. Since this testing process is conducted electronically, not face-to-face, the primary means of identifying the person behind the answers is via the OpenPGP key they used throughout the process. So, what do we have out of this process? Two things, that I can determine: So, the problem at issue is this -- what do you do when you lose control of that key? You lose it, or it gets compromised, or it expires (whoops!), or whatever. For all intents and purposes, when you lose control of your key, you no longer have an identity, in Debian terms. Generating a new key (and hence identity) is straightforward -- a quick invocation of gpg and you're away. Unfortunately, all that gets you is a pile of bits. There's nothing that intrinsically links you to that key. That's what other people's signatures on your key is for. Then, it comes time to get Debian to accept your new key as belonging to you. This is a lot harder than trying to convince the RTA (DMV.en_AU('New South Wales')) to give you a replacement drivers' licence. Why should it be? You're doing effectively the same thing -- "I am $FIRSTNAME $LASTNAME, give me my (licence upload privileges)". The difference is that, in the Debian case, all of our identity is effectively tied up in the key we use to go through NM. The person behind the key is somehow secondary to that whole process. So when the key completes NM, we record it in the "people who can upload" keyring. When a new key (which is prima facie completely untrusted) should be put into the keyring, we need to ensure that it is qualified. How can that key prove qualification? Well, we can send the new key through NM (dear ghods, no!) or refer to the source document (as it were) -- the human being. We're looking for consistency between the person between the two keys. That's trickier than it looks at first glance. Why? The big one is the non-uniqueness of $FIRSTNAME $LASTNAME (or even $FIRSTNAME $INITIAL $LASTNAME, for those so blessed). Google for yourself one day, and you'll see what I'm talking about. Anyone who has the same name as you could, at first instance, pretend to be "you" (for some values of, anyway). It might seem fairly unlikely, but there are two DDs with easily-mistakable names, out of a pool of 1,000 or so. The probabilities are not in our favour on this one. Then, of course, there's fake IDs, which are a whole other ballgame. How does the government get around the problem of name clashes and identity-theft-by-ID? By using other metadata about you to more uniquely identify you. Your date of birth, street address, perhaps even a general physical description -- all of these can help to disambiguate all of the identically named people out there. Debian can't use that, though, since that metadata isn't initially collected, and so it can't be rechecked later. This does suggest a bit of a solution, though. I said that Debian doesn't collect that info, but that's not entirely true. There is an optional repository of Developer contact details stored for other DDs to access, so we've got something to work from. The Developer updates their own details (whatever they feel comfortable entering). But, of course, people signing your key need to know about all that before they sign the key, so they can check (for example) your residential address and date of birth on your photo ID. You might ask "but how is the info the developer themselves entered accurate?", and that's a good question. The answer is that the legitimate developer entered that info, so if someone with the same name matches that data, then it's reasonable that it's still the same physical person. It's not a real good solution, though. Not all developers enter full metadata (and I can understand why they don't want to). People also often forget to update their details, too, which could quickly cause all sorts of problems. What is a good solution, then? We could always go with a bit of biometrics -- if there was any solution that was sufficiently cheap, reliable, and distributed enough to be used to identify 1,000 developers distributed across the globe to a reasonable standard of reliability. I'll wait for a minute while you finish laughing and wipe your eyes dry. I have to say, I'm stumped. I'd hoped, while writing this, that by the time I was finished I would have worked something out. But nope, it's a problem that's way beyond me. But I think I've got a much clearer handle on the problem space, so with a bit of luck, my subconscious (or someone else's) will eventually produce a sensible answer.

Paul van Tilburg: Broken HDDs

So, what’s with all the broken laptop hard disks?! I have two laptops running almost all day (one as a cheap simple server with built-in UPS) and one as workstation. But in the last, say, 2 years I had to replace the 2.5” (laptop) hard disk drives 4 times! Since laptop HDDs cost a lot more per megabyte than normal 3.5” drives, this was becoming an expensive issue for me. So, I geared up S.M.A.R.T on both machines and did some investigating. The major issue seems to be the load/unload system that is integrated into more and more of these drives nowadays. The heads will automatically be retracted (parked) after some idle time to decrease the risk of shock damage and reduce power consumption. However, this seems to be a bad combination with Linux. I have not done any research into the specific implementation of the journaled file systems that I use (ext3, XFS), but it can something to do with it. It seems the heads of almost all laptop disks I encounter are continuously unloaded and loaded instead of around 5 times per hour. It seems a hard disk drive is made to allow for 300.000 load/unload cycles, after that the mechanism wears of so that inaccurate moving can occur and the platters can be damaged because of a small miss. Now, my drives had 650.000, 1.2000.000 and 900.000 before bad sectors and completely erratic behaviour start to occur, but this was within a year. My most recent broken drive had about 3 load cycles per minute, this means 180 per hour. With things going bad at 600.000, the disk thus had a lifetime of 3333 hours (138 days). This is ridiculously short. So I’ve turned APM of all my drives off (hdparm -B254). Better a small risk of bad sectors when dropping my laptop than having to replace my disk within the year. Also note that my brand new Western Digital disk has spent 14.000 of its load cycles within the first 15 hours that I was busy with installing Debian and recovering backups! If someone has more information about this, please let me know.

Adeodato Sim : Winter is here

Probably not for the rest of the Northern Hemisphere yet, but I hereby declare winter to have officially arrived to Alicante.
  20:42 -!- dato [n=adeodato@debian/developer/adeodato] has quit
                   [Read error: 110 (Connection timed out)]
  21:39 -!- dato [n=adeodato@debian/developer/adeodato] has joined
                 #debian-devel
(IOW, first power outage of the season, wheee.)

Martin F. Krafft: Bug squashing bounties

I just sent this to debian-devel-announce. Hopefully it will be a success!
Dear fellow developers and contributors, My publisher, Open Source Press, and I were pondering ways to help the F/OSS community (and Debian in particular) over a beer the other day, and the following idea is the result:
We are announcing a bug squashing period, starting now, and ending 14 Dec 2005, 11:59 CET. Squashing a bug gets you a certain number of points (depending mostly on triviality and severity). At the end of the three weeks, the 25 bug squashers with the highest score shall receive a copy of my book, The Debian System, donated by the publisher. If this turns out to be a success, we'll lather-rinse-repeat sometime soon.
Bug squashing is to be done according to the rules listed on the wiki. In particular, everyone is expected to make proper use of usertags to communicate to others that s/he is working on a particular bug. If you are working on a bug, you are expected to send status updates to the bug report at least once in four days, or someone else may announce the intent to lock the bug and take it over after 24 hours. Fixing a bug also involves augmenting the bug report with any relevant information as you go along, and testing the fix with which you came up.
Points will be given to those whose contributions fix a bug. A bug will be considered fixed if a patch addressing the problem has been sent to the BTS and the package's maintainer has not vetoed the patch within five days. Please do not actually close bugs in the BTS (unless you really know what you are doing). Points will only be awarded to patches for bugs which have been reported before this announcement (but you are, of course, welcome to fix any bug -- if it's obvious you aren't trying to cheat and you are otherwise very actively fixing bugs, you may even get points for those too). After submitting a patch to the BTS, please send a short note to book-bsp t pobox.madduck.net with the bug number in the subject, and from the email address you used to interact with the BTS. In the message, list any contributors who have helped with the bug, as well as an approximation of the time each of you spent on fixing this bug. Also, document how you have tested your patch. The amount of points to be awarded depends on the severity of the bug report, as well as the triviality of the patch you came up with. Put differently: while a one-line patch for a wishlist bug might get you 1 point, I could award 100 points for a clean yet elaborate patch to an important bug. Bonus points can be given if you provide reasonable proof of thorough testing of your fix (you could use test-driven development techniques..., also see here), ideally by a third party. Please be aware that bugs fixed by the reporter him/herself will be especially scrutinised.
Anyway, there are no strict rules for the amount of points a patch will get you. In fact, I reserve the right to announce the scores only after the end of the bug squashing period, and I will not answer questions about scores, or address complaints from people who think they have not received enough. However, I shall act as objectively as possible, fair, and honest; for that, I give you my word. I realise this is sketchy and if you don't trust me on this, it's your choice not to participate -- there is no point to argue at this stage. If you have a better suggestion, I would be interested in trying it the next time 'round. Maybe we can establish a good scoring system for the future, but at the moment, no such system exists. If you have any questions or suggestions, please do not hesitate to speak up (Reply-To set). Do note, however, that my tendonitis forces me to take things slow. For this reason, I would like to apologise in advance should the evaluation of all your contributions extend into the new year. Thanks to Markus Wirtz of Open Source Press for supporting this idea, and to Steve Langasek and Frank Lichtenheld for their advice.

Matt Brown: Irony

I had to laugh today while reading the NZ Herald when I came across the an article entitled Using the net to get the story. The article talks about the rise of Computer Assisted Research (CAR) and prominently quotes Francis Till, the webmaster and a technology contributor for the National Business Review. Mr Till says that CAR can be used to "produce better-researched, more in-depth articles"! I wonder if perhaps Mr Till is thinking of well researched (not!) articles like his vitriolic attack on Linux and Open Source Software published in the NBR several weeks ago. Apart from the incredibly unprofessional tone of the article, it appeared to rely almost completely on facts from Microsoft press releases and made many factual assertions that have since been thoroughly refuted. The irony of the author of such a badly researched article wanting to teach other NZ journalists how to use the Internet to research their article is hillarious.

Joachim Breitner: My Code in Pakistan

Free Software ist just great: I got an e-mail from a fellow in Pakistan, just thanking me for udp-broadcast-relay, a very small tool that lets UDP broadcast cross IP subnet boundaries. He writes that, after dividing his net, he needed that tool to keep vyqchat working. He also replied when I asked him to tell me a bit more about his setting, telling me that he uses Mandrake and Fedora Core and some personal details.While this was not the first time something like this happened - someone from Norway once called me one Sunday morning, and I got mails from the US - but Pakistan is really a surpise to me. Also considering that I just released two versions two years ago and didn’t do anything since...

Grzegorz B. Prokopski: 23 Nov 2005

SableVM SDK for Java is back with 1.13-pre1 ! Guess what---a new shiny prerelease of SableVM SDK suite for Java is out for you to have some serious fun with it! The main point of this release is getting new GNU Classpath 0.19 integrated. Tests show that with the updated class library Swing apps look waaaay better. Kudos to the GNU Classpath hackers and contributors! Installation of SableVM SDK is as simple as it can be. As usual you need recent GTK and a few other libraries and tools available as packages for most distributions. The non-commonly used elements (like libffi, libpopt) are included in SableVM SDK to cut the hassle of installing it to minimum. Basically all you need to do is to fetch the SableVM SDK 1.13-pre1 tar archive, unpack it, run ./configure && make and su; make install. With the default settings in /usr/local/lib/sablevm you'll find a fairly complete JAVA_HOME like environment. Enjoy! And please let us know of your successes and problems by sending as an email to sablevm-user@sablevm.org. This will ensure future SableVM SDK releases work better for you! In other news SableVM Project team has been silently working since many months on new JVM features that will start showing up in upcoming releases after 1.13. Stay tuned!

Uwe Hermann: 22C3 Fahrplan Online

22C3 banner The Fahrplan (yes, that's German — it means "schedule") of the 22C3 (the 22nd Chaos Communication Congress) is online now. Joi Ito will deliver the keynote speech titled "Private Investigations". Here's a small (really!) selection out of the plethora of great lectures: Four days, four rooms, lectures from 12:00 am to 12:00 pm every day. Need I say more?

Adam Rosi-Kessel: randomplay 0.49 released

I know I said I was swamped until December, but there’s always a few minutes to release a new version of a package, right? It’s kind of like dessert—there’s always room. I’ve released randomplay 0.49. The new version adds a keystroke to pause playing and a keystroke to display the available keystrokes, and the ability to configure UTF-8 display of tags on or off. I’ve also improved the documentation and filled in the sample rc file to give all available options. By the way, Clint Adams, I would be happy to add Audioscrobbler support. Unfortunately, there is not yet any Net::AudioScrobbler perl module. I contacted the guy who is working on it and he said it’s not yet fit for public consumption, but will let me know when it is.

23 November 2005

David Welton: Reading material

Via Ugo Cei I found this reading list: http://www.joelonsoftware.com/articles/FogCreekMBACurriculum.html, some of which looks to be interesting, but I'm not convinced that it's a selection where each book is a 9 or a 10. Books like the Mythical Man Month stand the test of time, and some of the books there are good ones by that measure, others look less convincing, at least judging by their contents (too focused on the 90ies, the bubble, a particular company), or some of the reviews on Amazon. Perhaps those aren't always worthwhile, but the real winners don't seem to have much flack thrown at them. I'd enjoy hearing why Joel et al. recommend them. I've read these: in addition to Microeconomics (6th Edition) as a textbook on Economics. What are your recommendations? All things considered, though, I have a hunch that it would be better to be out trying to *do* rather than reading books about doing...

Jose Carlos Garcia Sogo: Corpse bride

Last Sunday I Watched Corpse Bride, an animation film by Tim Burton, following what was made in The Nightmare Before Christmas. Of course, animation has improved a lot since 1993 and now this film is plagued of close images of different characters. Though being a bit gore, the plot is quite interestig. Victor, who is going to marry Victoria, as their parents have agreed, messed up his vows during a wedding reharsal (the same day he meets Victoria for first time) and wanders to the forest close to the town, where he starts reciting them again. When he says them right, he accidentally marries the Corpse Bride, messing things even more. Now he has to decide to try to still marry Victoria, or go on living with his new wife. One of the problems we have in Spain with these animation movies is that lately they're are selling that most important roles are being played (dubbed) by famous actors. In this film, Victor is Johnny Depp, the Corpse Bide is Helena Bonham Carter and Victoria is Emily Watson. But as films here are always dubbed to Spanish, for us it is completely indiferent who the actor giving his voice to a character is. And this is worse when the Spanish actor that usually idubbes here an actor is not dubbing the animation film for whatever reason.

Next.

Previous.