Search Results: "ag"

26 April 2007

Russell Coker: paper about ZCAV

This paper by Rodney Van Meter about ZCAV (Zoned Constant Angular Velocity) in hard drives is very interesting. It predates my work by about four years and includes some interesting methods of collecting data that I never considered.

One interesting thing is that apparently on some SCSI drives you can get the drive to tell you where the zones are. If I get enough spare time I would like to repeat such tests and see how the data returned by disks compares to benchmark results.

It's also interesting to note that Rodney's paper shows a fairly linear drop of performance on higher sector numbers (while he notes that it would be expected to fall off more quickly at higher sector numbers). One of my recent tests with a 300G disk showed the greater than linear performance drop (see my ZCAV results page for more details). It might require modern large disks to show this performance characteristic.

I also found it very interesting to see that a modified version of Bonnie was used for some of the tests and that it gave consistent results! I assumed that any filesystem based tests of ZCAV performance would introduce unreasonable amounts of variance into my tests and instead wrote my ZCAV test program to directly read the disk and measure performance.

It's times like this that I wish for a "groundhog day" so that I could spend a year doing nothing but reading technical papers.

Alexander Schmehl: How stupid can one be?

Do you know MSDNAA? That's a program from Microsoft offering their products to students at many universities. So not even this bullheaded users of this "free software" thingy have an excuse of not using their products when participating in different courses. In our case they even offer most of their stuff as ISO-Images. Shouldn't be a problem to install that in a virtual machine, get a good grade and be satisfied when finally deleting it again. Theoretically. Let's not talk about licenses here, or about the website, you need to log into, or wonder why it talks about customers and shopping... Let's just wonder, why you can't download an ISO-Image there. No, you can only download a download-program there... A windows executable! Ha! That's funny! It doesn't even run in wine :(

Dirk Eddelbuettel: random 0.1.2

Following yesterday's minor maintenance release of random, a small brown bag fix release just went out to CRAN. Kurt Hornik, diligent as usual, spotted that the vignette would not build, and that has been corrected. The code itself is unchanged.

Chris Lamb: Pimp your webpage

Every project needs a good webpage. This afternoon I spent a little while making Debian Live’s site a little easier on the eyes. It was my first experience with WML, which was interesting. Thanks to Christoph Haas for letting me use his stylesheet. In other news, last night I was elected Projects Officer for my University’s GLUG.

David Welton: "Ideas are worthless"

In one of his many well written and thought provoking essays (Ideas for Startups), Paul Graham has this to say:
Actually, startup ideas are not million dollar ideas, and here's an experiment you can try to prove it: just try to sell one. Nothing evolves faster than markets. The fact that there's no market for startup ideas suggests there's no demand. Which means, in the narrow sense of the word, that startup ideas are worthless.
While I agree with his main point that execution counts, his affermation bugs me a little bit because it clashes with my understanding of economics. To wit, that ideas are "Non-excludable goods". As the linked page says,
Non-excludable goods are defined in economics as goods or service whereby it is impossible to prevent an individual who does not pay for that thing from enjoying the benefits of it. Market allocation of such goods is not feasible.
How would a market for ideas work, in any case? How could you prevent someone from listening to a bunch of ideas and just walking away with the ones they like? Perhaps with lots of lawyering and monitoring schemes, something could be kludged together, but at that point, since the ideas alone most likely aren't worth that much compared to well executed ideas, putting together that market would probably be more trouble than it's worth. So Paul Graham is right, for practical purposes, but his economics don't seem correct to me.

Miriam Ruiz: Debian packages for Gnash

As it’s quite predictable that we’ll have a newer version of Gnash in one or two months, I’ve created a newer experimental set of packages from the CVS, so that everything is ready when the release comes out. There is really much more to do before they’re in a decent state, mainly making them work out-of-the box for Konqueror, and decide how to handle the shared objects that are being built right now. The plugin for iceweasel works out-of-the-box for me. Do not expect a stable program for the moment anyway, it’s still under heavy development. I’ve been reported some more bugs about these packages anyway, so be careful with them. Chipi has built the packages for amd64 for me, so if you want them, they’re available online. According to one of the developers: “gnash should not have shared objects, they have been enabled again recently to allow builds on Darwin, altought I think we should disable them again”, so I think that matter about shared objects is likely to be solved soon. As it is right now, I’m pretty sure it wouldn’t be compliant with The Policy. As there’s no API for gnash yet, it doesn’t really make sense to create a -dev package for the moment, even though there seem to be some demand for it. Somewhere in the future we will likely have one. For those who want to experiment with later versions, I’m using SVN for handling the packaging, so it’s quite easy to create some really extreme latest version of the packages: svn co svn://svn.debian.org/svn/pkg-flash/packages/gnash/trunk/ latest-gnash
cd latest-gnash
fakeroot debian/rules get-orig-source
cd gnash-0.7.2+cvs*.????
dpkg-buildpackage -rfakeroot

Steve Kemp: He was in a bind 'cos he was way behind

My girlfriend who was returned from hospital on Friday learnt a couple of days later that she'd managed to suffer a fractured skull. Apart from that shocking news I've been doing little. Lots of travelling, lots of tidying up ~/bin, little else. One new toy is release which will allow me to easily release projects. The idea is you run "~/bin/release" inside a project directory and it will: Very simple, almost trivially so, but it has a lot nicer than having to do all the bits manually. (sample .release file.) I had a piece of code for triggering new freshmeat announcements working a while back - but it was a little too fragile when it came to reading the ChangeLog files I use so I've killed it for the moment. (Probably "$EDITOR fresmeat.tmp &" would be a better idea anyway!) Connectivity is bad right now, since I'm in the middle of changing home ISP, but hopefully that will be resolved in the next week or two. (Switching from Telewest/Virgin -> Sky for people in the UK who might care.)

Dirk Eddelbuettel: random 0.1.1

A minor maintenance release of random was just uploaded to CRAN. The only change is a correction on regular expression string: R 2.5.0 now warns that percentage signs should not be escaped. Not other code changes were made.

Dirk Eddelbuettel: random 0.1.1

A minor maintenance release of random was just uploaded to CRAN. The only change is a correction on regular expression string: R 2.5.0 now warns that percentage signs should not be escaped. Not other code changes were made.

Dirk Eddelbuettel: littler 0.0.11

I rolled up 'little r' (pronounced littler) version 0.1.11 earlier today. This release only includes a robustification of the main Makefile (so that e.g. BSDers can build with non-GNU make) and a small fix by Jeff to 'update.r', a handy example script. As usual, littler can be found in the GoogleCode svn archive, on my r page and in the local directory, and soon on Jeff's littler page at Vanderbilt. The Debian package has been uploaded as well (and has been built again the new R version 2.5.0 that was released yesterday).

Gunnar Wolf: tbm's Release Management talk

Thanks to Romain Francoise, I found and watched Martin Michlmayr's Release Management in Large Free Software Projects talk on Google Video's Open Source Speaker series. Martin: Thanks a lot, great talk. I've been following your presentations lately, as I've given some talks on this topic - Quality Assurance on Free Software Projects (Spanish only) - However hard I try to remain faithful to the subject, I end up giving a talk on what Free Software is and how its processes are naturally more prone to yielding better quality than propietary projects.
Anyhow, with this post I want to do basically three things:

25 April 2007

Chris Lamb: Hi, Planet Debian.

In the upcoming holidays I’ll be working with Daniel Baumann on a graphical user interface to Debian Live thanks to the Google Summer of Code (I posted my full proposal to debian-live-devel if you want to read more). Thanks to Daniel for agreeing to be my mentor. This is my first post to Planet Debian, by the way. A few people might have met me at certain events, but if you haven’t I’m a kinda average hacker-type with a short attention span, long hair, broken sleeping patterns and above-average caffeine requirements. I’m currently a student at the University of Warwick and first started using Debian with “Slink”. If I’m missing anything, or you just want to say hi, please post a comment.

Axel Beckert: The days of my last running Woody are numbered...

As many of the Planet Debian readers know, I bemoan Galeon 1.2 and therefore Woody. For a long time I haven’t found an appropriate browser replacement for Galeon 1.2 in Sarge, so I never switched my home workstation called “gsa” (Pentium II, 400 MHz, 572 MB RAM) to Sarge, since Woody was rockstable and just worked. Though, after a few Galeon 1.3/2.0 rants, someone pointed me to Kazehakase, which indeed is a fine Galeon 1.2 replacement. But I noticed that Kazehakase in Sarge was in an early stage and the Kazehakase from testing (now Etch) were already much more matured. So in comparison to Sarge with Etch I won’t have the problem of not having a mature and sage web browser in main. And due to security support for Woody ceased a few months ago and Etch is now declared stable, it’s time to reinstall my last Woody box with Etch. For that, a repartioning of it’s two hard disks (8 GB and 40 GB) sounds like a good idea and so I had look, what’s on all those partitions where I once had a shot on quite a few Linux distributions and other unix-like operating systems. (Although I was already a big fan of Debian at that time, I wanted to look over my own nose and ordered a few CDs of free operating system at LinISO.de.) So here’s what I found, never really used and will throw away quite soon: That should give enough space for an Etch installation without touching the Woody installation first. Thanks to Venty, I’ve got a DVD drive for that box, so I can install from DVD. And for toying around with all those other neat and free operating systems nowadays, I’ve got my MicroClient Jr. named “c2”.

Marc 'Zugschlus' Haber: Automatic Wikification of Configuration Files

In the company I work for, most documentation is maintained in Word format. Except mine. I have a dokuwiki and am thankfully allowed this exception as I am the only Linuxer in the company. Since Windows systems need external documentation (being hindered by the absence of commentable text configuration files), there is a policy that all configuration data needs to be explicitly documented. I hate that idea, since documentation is always outdated, and documenting configuration changes doubles the work that needs to be done. After finding out that dokuwiki has a command line interface, I implemented a mechanism that can run from cron and keeps wiki pages of configuration files up to date on an automated basis. On the target systems (the ones that need to have their configuration documented), I installed a script which generates a tarball containing the relevant configuration files on standard output. For more sensitive data, the script could do some basic sanitazion such as removing passwords from the configuration files before putting them into the tarball. On the system running the cron job, the following script runs:
#!/bin/bash
set -e
set -C
set -u
JOBNAME=“update-wiki-firewall-config”
DWPAGE=“php4 /usr/share/dokuwiki/bin/dwpage.php”
TMPBASE=“/tmp”
SSHID=“$HOME/.ssh/$USER-passphraseless-$(hostname)”
REMOTEHOST=“remote.fqdn.example”
REMOTEJOB=“pull-netfilter-init-config-tar”
SHAREDIR=“$HOME/share/$JOBNAME”
WIKINAMESPACE=“pointer:to:namespace”
start=’/*BEGIN generated firewall rules */’
end=’/*END generated firewall rules */’
insert=’/*INSERT generated firewall rules */’
umask 077
if ! TMPDIR=“$(mktemp -d $TMPBASE/fwconfig.XXXXXXXXXX)”; then
        echo >&2 “ERR: cannot create temp dir in $TMPBASE”
        exit 1
fi
cd $TMPDIR
mkdir remote
ssh -i $SSHID root@$REMOTEHOST $REMOTEJOB   \
 tar --extract --gzip --file - --directory remote
mkdir workdir
touch workdir/rulelistfile
echo “$start” >> workdir/rulelistfile
for fwfile in $(find $TMPDIR/remote/rules/up -type f   sort); do
  MTIME=“$(stat --format=”%y“ $fwfile)”
  PROSEEXPLANATION="$( $fwfile sed -n '/^#::#/ s/^#::#[[:space:]]*//;p;q; ')"
  if [ -z "$PROSEEXPLANATION" ]; then
    PROSEEXPLANATION="netfilter-init internal code"
  fi
  rm -f workdir/newwikipage
   $SHAREDIR/wikipagetemplate \
    sed \
        -e "s PLHfilenamePLH $(basename $fwfile) " \
        -e "s PLHproseexplanationPLH $PROSEEXPLANATION " \
        -e "s PLHmtimePLH $MTIME " \
        -e "/PLHcontentsPLH/r$fwfile" \
        -e "s/PLHcontentsPLH//" \
  > workdir/newwikipage
  WIKIPAGENAME=“$WIKINAMESPACE:regeln:$(basename $fwfile .rul)”
  $DWPAGE checkout $WIKIPAGENAME workdir/wikipage
  if ! cmp --quiet workdir/wikipage workdir/newwikipage; then
    cp workdir/newwikipage workdir/wikipage
    $DWPAGE -m “new contents imported from $fwfile” commit workdir/wikipage $WIKIPAGENAME
  fi
  echo “  * [[$WIKIPAGENAME $(basename $fwfile)]] - $PROSEEXPLANATION” >> workdir/rulelistfile
done
echo “$end” >> workdir/rulelistfile
$DWPAGE checkout $WIKINAMESPACE workdir/contentspage.txt
 workdir/contentspage.txt \
  sed -e "\ ^$ start//\\*/\\* \$ ,\ ^$ end//\\*/\\* \$ d; "   \
  sed -e "\ ^$ insert//\\*/\\* \$ rworkdir/rulelistfile" \
  > workdir/newcontentspage.txt
if ! cmp --quiet workdir/contentspage.txt workdir/newcontentspage.txt; then
  cp workdir/newcontentspage.txt workdir/contentspage.txt
  $DWPAGE -m “new contents page” commit workdir/contentspage.txt $WIKINAMESPACE
fi
cd /
rm -rf “$TMPDIR”
Yes, this needs some more documentation and generalization. But it’s just a proof of concept that needs some polishing before being put into real life use. Here are the two template files for wiki page and contents page:
====== Firewallregeln PLHfilenamePLH ======
Last changed on target system: PLHmtimePLH
PLHproseexplanationPLH
<code>
PLHcontentsPLH
</code>
===== Dump of firewall rules =====
/*INSERT generated firewall rules */
/*BEGIN generated firewall rules */
/*END generated firewall rules */
The index page template relys on the HiddenComment dokuwiki plugin to be installed, or the placeholders show up in the rendered wiki page. The code uses the first comment line marked with #::# to generate a short explanation of the file being pulled into the wiki. dwpage.php is a fully-fledged command line interface to dokuwiki, committed new pages are fulled versioned as if entered through the wiki web front end. This way, the documentation in the wiki is guaranteed to be current and to fit the configuration found on the live system - it is directly pulled from the live system. Yes, rendering of the code is currently suboptimal. Working on it.

Axel Beckert: Surfing on two screens?

At work, I’ve got two screens on my Sarge workstation “snitch”. Since I want to switch virtual desktops independently on both screens, I don’t have a Xinerama setup but a Dual Screen setup. So my left and right screen do have different $DISPLAY (“:0.0” and “:0.1”) set. This is neither a problem for FVWM nor xlock nor XScreenSaver. But it is a problem for nearly every modern web browser available which checks, if there’s already an instance of it running. So if you try to start a new instance of a web browser on the other screen, most graphical web browsers make more or less problems: The only graphical web browsers which simply just work on a Dual Screen setup are Konqueror, Links2 (called with the -g option for a GUI), Chimera 2, Amaya and of course Dillo. Unfortunately I’m neither a fan of KDE nor of Konqueror and I do want a web browser with CSS and tab support… And Amaya is, well, only a reference implementation… (Chimera 2 from Sarge btw. segfaulted on two of the four pages I tested it with. Seems to have problems with PNG images.) So my current setup is to have Kazehakase as my main work web browser (with all the local web applications I need) on the right screen while I have Opera on the left screen for surfing, looking up documentation, testing web pages and other things. BTW: I don’t use Gecko based browsers for surfing on that box at the moment, since there are some web pages (the spammer vandalised Kazehakase wiki for example, at least a few months ago) which manage to be rendered in such an ugly way by Gecko so that XFree86 with the binary Nvidia (at least the last five or six versions I tried) just crashes away — either at once or when you try to switch to a text console by pressing e.g. Ctrl-Alt-F1 while such a page is displayed.

Thomas Girard: Updating java-gnome 2.x

I am done updating java-gnome 2.x. Every java-gnome 2.x software $s now has the following packages: Until packages get out of the NEW queue, you can get them from my personal website. You can also add:
deb http://thomas.g.girard.free.fr/java-gnome/ ./
to your /etc/apt/sources.list.

Bastian Venthur: Making cool panoramic pictures with hugin

Thanks Lennart for mentioning Hugin! This is a really cool piece of software, allowing you to assemble a mosaic of photographs into a complete panorama. panorama-640.jpg I’ve created this 180 degrees panorama from 16 photos taken out of my window (3 rows: 6 + 6 + 4). The original picture is huge: 5000-something pixels wide and high and approximately 22Megs (jpg) fat. If you want to test it yourself just aptitude install hugin and make sure to get enblend from somewhere else (eg, debian-multimedia.org). If you don’t install enblend you don’t lose functionality, but the output will be of much lower quality. Thanks Florent Bayle for packaging hugin and Christian Marillat for packaging enblend!

Evan Prodromou: 5 Flor al CCXV

The panel ratings for SXSW07 just came out today. I'm glad to see that my talk on the commercialization of wikis scored so highly (4.42 out of 5). I'm already planning to pull together a panel for next year -- we'll see how that works out. You can get the slides for my talk this year at Talks/SXSW07 and on slideshare.net. tags:

Creacamp So, I just found out about Creacamp, a meeting for female DIY "creators" d'ici ("from here", but... a loaded word in Quebec). It's happening Saturday, 5 May at noon at the Me dia world headquarters, 2025 rue Parthenais, #304. I'm going to go, but it's interesting -- sounds like there's a real crossover with BarCampMontreal, with the exception that the presenters will be exclusively female. Local BarCamp organizers are trying to attract more women, so Creacamp makes me feel like we've failed in some way. But I take this kind of thing way too negatively; I'm sure it will work out to be a positive thing. Maybe there's something too phallic about the "bar" in "BarCamp". I dunno. I'm at La ka today working with Niko, so when I heard about Creacamp I went across the caf and asked Hugh McGuire about it. He'd heard about it just seconds before, in a blog comment. Weird, wired world. Hugh has a blog post about BarCampMontreal and women, by the way. tags:

Russell Coker: MySQL security in Debian

Currently there is a problem with the MySQL default install in Debian/Etch (and probably other distributions too). It sets up "root" with dba access with no password by default, the following mysql command will give a list of all MySQL accounts with Grant_priv access (one of the capabilities that gives great access to the database server) and shows their hashed password (as a matter of procedure I truncated the hash for my debian-sys-maint account). As you can see the "root" and "debian-sys-maint" accounts have such access. The debian-sys-maint account is used for Debian package management tools and it's password is stored in the /etc/mysql/debian.cnf file.

$ echo "select Host,User,Password from user where Grant_priv='y'" mysql -u root mysql
Host User Password
localhost root
aeon root
localhost debian-sys-maint *882F90515FCEE65506CBFCD7
It seems likely that most people who have installed MySQL won't realise this problem and will continue to run their machine in that manner, this is a serious issue for multi-user machines. There is currently Debian bug #418672 about this issue. In my tests this issue affects Etch machines as well as machines running Unstable.

Otavio Salvador: Proposed release goal: Switch to GRUB2 as default boot-loader

I have just send a proposal for a release goal to lenny. I’d like to swtich to GRUB2 as default boot-loader for amd64 and i386. This would allow us to, finally, drop GRUB completely. GRUB has too many patches, right now, and is a maintainence hell since upstream setted it on legacy mode hence only accepting bugfixing. Major of distributions divert its code (Debian included) to support fency features like graphical splash and like what makes our patch queue too big and making difficult to maintain. However, GRUB2 is being actively maintained and has some neat features. The new GRUB (GRUB2) has multi-architecture support and is highly modular allowing us to improve it while continuing to receive upstream support. Let’s see what the Release Team has to say about it :-D

Next.

Previous.