Search Results: "mak"

27 January 2007

Bastian Venthur: Using My Favorite Mailclient When Reporting Bugs

Dear Lazyweb, is there an option in reportbug allowing me to use Thunderbird (KMail, foo, …) to write the bugreport? I’m currently using vim, but Thunderbird’s spell checker is much more convenient to use and copy-pasting from KDE into vim is not working very well, making it cumbersome to attach backtraces and stuff.

Yves-Alexis Perez: Xfce 4.4 experimental packages.

Ok, i386 users which have downloaded my packages here, I know you can't use thunar volume manager (thunar-volman) nor (u)mount devices from thunar, as it says that exo isn't built with hal support.

Hal support is indeed not enabled in i386 build (it is for ppc builds) on debian.corsac.net. I won't rebuild Xfce 4.4 for i386 with exo hal support enabled, as I don't really have currently enough power to do that more than once in a while.

But ema has begun to upload Xfce 4.4 package to experimental, so exo (with hal support enabled) is available on Debian Experimental packages.

If you want to test it, add experimental sources to your /etc/apt/sources.list:

deb http://ftp.fr.debian.org/debian/ experimental main


Then update and install exo:

sudo aptitude update
sudo aptitude install libexo-0.3-0/experimental


You can also pick other libs from there, which are more recent than ones on debian.corsac.net.

As always, be aware that those packages are in experimental shape, so it may damage your system, kill your cat and make your SO go away. Be prepared!

Anyway if you encounter bugs, don't hesitate to tell us on irc (precising from where your packages come from).

Happy testing.

Wouter Verhelst: Rock. Or not.

A week or two ago, one of the hard disks in rock utterly broke down. In itself, this wasn't a problem, since the disk was part of a 3x40G RAID5 set. Moreover, I knew it was dying, and was preparing to buy me a new disk anyway; the fact that it broke down only sped up matters. No worries. However, there's one slight problem with rock: it's a pretty old SMP box, and because of some bug somewhere (which I still need to hunt down), it can't run anything later than 2.6.12 in SMP mode. The new disk was a 80G disk, to replace a 40G disk. I wasn't very happy about the RAID5 array, but since I needed more disk space than what a RAID1 or RAID10 array on three 40G partitions would give me, I didn't have much choice. One of the disks in the RAID5 set was a 80G, too, however, with a 40G partition dedicated to the RAID5 set; so rather than doing ugly things with two disks only halfway committed to the RAID1, I decided to convert the RAID5 set to a RAID1 one. When you use LVM-on-RAID, as I do, that's pretty easy: you just create the new array (in degraded mode, on the new disk); add it to the volume group; use pvmove to move all data to the new array; use vgreduce to remove the old array from the volume group; and finally, repurpose the freed-up space to make sure the RAID1 set is no longer degraded. Which is all nice, except that on 2.6.12, when pvmove locks the entire volume group, you can't write to it anymore, which is quite painful if things like /var and / are on that volume group; gives you a nice deadlock. So I compiled me a 2.6.19.2 kernel with SMP support explicitly disabled, in order to be able to do the pvmove dance without much issues. That worked. I only forgot to do one rather important thing: to regenerate the initrd after all data had been moved; mainly because it took quite a while for the RAID1 resync to finish, and I had other things to do by then. Yesterday, we had a power failure, and obviously rock failed to come up again. By doing some utterly ugly things with the sarge d-i and forcing the yaird-generated initrd into a debug shell, I was able to boot the box properly again, and had it running 2.6.12. Which took all of three hours, or so. By then, it was kinda late, so I went to bed. This morning, my brother woke me to say he couldn't reach the Internet. Since rock is my gateway, I got suspicious. Running dmesg showed me a number of warnings from the kernel, where it said that it didn't properly understand some of the hashing stuff in some directory inodes. As a result, several files had been corrupted—including /var/lib/dpkg/status and /var/lib/dpkg/status-old. The file with 'extra' information that aptitude maintains, however, /var/lib/aptitude/pkgstates, still existed and was readable. So I downloaded me a one-week-old Packages file from snapshot.debian.net, and wrote this perl script:
#!/usr/bin/perl
open(APTITUDE,"</var/lib/aptitude/pkgstates");
open(STATUS,">status");
open(PKGS,"<Packages");
my $pkgent;
my $aptent;
my %aptitude;
my $i;
my $key;
my $val;
while(<APTITUDE>)  
	if(/^$/)  
		$aptitude "Package:" . $aptent-> "Package"  . "\n" =$aptent;
		$aptent =  ;
	  else  
		chomp;
		($key,$val) = split /:/;
		$aptent-> $key  = $val;
	 
 
close APTITUDE;
while(<PKGS>)  
	if(/^$/)  
		$aptent = $aptitude $pkgent->[0] ;
		if($aptent-> "State"  == " 1")  
			print STATUS $pkgent->[0];
			print STATUS "Status: install ok installed\n";
			for($i=1;$i<$# $pkgent ;$i++)  
				if(!($pkgent->[$i] =~ /^(Filename Size MD5sum)/))  
					print STATUS $pkgent->[$i];
				 
			 
			print STATUS "\n";
		 
		$pkgent = [];
	  else  
		push @ $pkgent , $_;
	 
 
close PKGS;
close STATUS;
... which generated a somewhat valid status file, that I copied to its right place. Yeah, that's an ugly hack, but at least I don't have to reinstall rock now. Phew.

Daniel Burrows: Sandisk doesn't want your money for a music player unless you run Windows

I bought a Sansa e280 last weekend to replace my aging and bulky Neuros (the last straw was when I lost the charger for the Neuros). It's nice to have such a small, light music player, and having 8GB of space is a big bonus. But when I went to the Sandisk web site to get a new firmware, I discovered that they only provide a .exe of a magic firmware download program. This is despite the fact that, as you can find by searching on the Web, the actual firmware upgrade procedure is just "copy the firmware file onto the device".

So, I wrote to support, mentioning that I don't have a running Windows installation and asking if they could provide an alternate means of updating the firmware. Here's the response:


Please be informed that your Sansa e280 is supported on Windows XP. If the operating system of your computer is not Windows XP, if you have just bought your Sansa e280, we do recommend that you contact the store where you purchased it and inquire about replacements that can be supported on your operating system or if that store honor refunds, please do ask for it. Please do provide the proof of purchase and packaging for verification purposes.


Now, I can work around this problem -- but after reading that brush-off I think I might just take their advice; as it happens, I saved the packaging just on the offchance something like this came up. Can anyone recommend a decent, small, flash-based media player that works well with Linux? Must-have features are:



I still haven't made up my mind: I might hang onto the e280 out of inertia and wait for the Rockbox guys to figure it out (it looks like they're making pretty good progress). But if there's a better vendor out there that actually wants my money, I'd love to hear about them.

26 January 2007

Enrico Zini: pkgwalk

A stroll among Debian packages Can Debtags be used to show a list of packages similar to a given one? Yes it can:
#!/usr/bin/python
#
# Copyright (C) 2007  Enrico Zini <enrico@debian.org>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
# From python-debian
from debian_bundle import debtags
# From python-apt
import apt
aptCache = apt.Cache()
pkg = 'debtags'
# Read the debtags database 
db = debtags.DB()
tagFilter = re.compile(r"^special::.+$ ^.+::TODO$")
db.read(open('/var/lib/debtags/package-tags', "r"), lambda x: not tagFilter.match(x))
# Get the tags of the package
tagset = db.tagsOfPackage(pkg)
# Get the list of packages that have some tag in common with pkg
nextpkgs = set()
for pkg, tags in db.iterPackagesTags():
    if tagset & tags:
        nextpkgs.add(pkg)
# Score every package by the number of tags it has in common with pkg
def pkgscore(pkg):
    score = 0
    for tag in db.tagsOfPackage(pkg):
        if tag in tagset:
            score += 1
    return score
# Show the top 20 related packages in reverse score order
display = sorted(nextpkgs, key=pkgscore, reverse=True)[:20]
for num, pkg in enumerate(display):
    aptpkg = aptCache[pkg]
    desc = aptpkg.rawDescription.split("\n")[0]
    print "%2d) %s - %s" % (num + 1, pkg, desc)
Now, imagine an application that allows you to move from package to package using the list of similar packages. You are using this application and moving from tag to tag. Can the list of previous packages you visited be used when computing similar tags to make the selection even smarter? Have a look:
#!/usr/bin/python
#
# Copyright (C) 2007  Enrico Zini <enrico@debian.org>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
# From python-debian
from debian_bundle import debtags
# From python-apt
import apt
aptCache = apt.Cache()
# Read the Debtags database 
db = debtags.DB()
tagFilter = re.compile(r"^special::.+$ ^.+::TODO$")
db.read(open(options.tagdb, "r"), lambda x: not tagFilter.match(x))
# Maximum number of previous packages to remember 
maxlen = 3
# Initial package selection
trail = [ 'debtags' ]
# Loop until the user chooses to quit
done = False
while not done:
    # Compute a package weight according to how old it is in the
    # trail
    pkgweight =  
    for idx, pkg in enumerate(trail):
        pkgweight[pkg] = 1.-(idx/maxlen)
    # For every tag, find the number of packages in trail that have the tag
    tagscores =  
    for pkg in trail:
        for tag in db.tagsOfPackage(pkg):
            if tag in tagscores:
                tagscores[tag] += pkgweight[pkg]
            else:
                tagscores[tag] = pkgweight[pkg]
    # Divide every tag score by the number of packages in the trail,
    # obtaining a 'tag weight'.  A package can be later scored by summing
    # the weight of all its tags.
    for tag in tagscores.iterkeys():
        tagscores[tag] = float(tagscores[tag]) / float(len(trail))
    # Find the merged tagset of the packages in trail
    trailtags = set(tagscores.keys())
    # Get the list of packages whose tagsets intersect the trail tagset
    nextpkgs = set()
    for pkg, tags in db.iterPackagesTags():
        if trailtags & tags:
            nextpkgs.add(pkg)
    # Score every package by the sum of the weight of its tags
    def pkgscore(pkg):
        score = 0.0
        for tag in db.tagsOfPackage(pkg):
            if tag in tagscores:
                score += tagscores[tag]
        return score
    # Show the first 20 packages in reverse score order
    display = sorted(nextpkgs, key=pkgscore, reverse=True)[:20]
    for num, pkg in enumerate(display):
        aptpkg = aptCache[pkg]
        desc = aptpkg.rawDescription.split("\n")[0]
        print "%2d) %s - %s" % (num + 1, pkg, desc)
    # Ask the user to choose a new package
    while True:
        ans = raw_input("> ").strip()
        if ans[0] == 'q':
            done = True
            break
        elif ans.isdigit():
            num = int(ans) - 1
            if num < len(display):
                # TODO: on a different kind of interface, display the full
                # description of pkg
                trail = [display[num]] + trail[:maxlen]
                break
            else:
                print "The number is too high"
Who wants to make a GUI out of this?

David Pashley: Eddie 0.2 RSS and Atom Parser

I noticed today that Mark Pilgrim linked to Eddie, my liberal RSS and Atom parsing library for Java, so I figured I should make a new release. It's been a few months since I did any serious work on the parser, but in the last few days I've reduced the number of test case failures to less than 100 out of 3502 test cases which come as part of Mark's Feedparser parser for python. The majority of the failures are in the date parsing routines and due to bugs in the Jython library which cause literal dictionaries not to match with classes inherited fro PyDictionary. Improvements in this version include:
  • Massively improved support for different character encodings. With Java 6, it also has support for UTF32 feeds.
  • CDF Support.
  • Optional support of TagSoup for sanitizing of HTML in entries.
  • Improved support for different input sources including String, InputStream and byte[].
  • Numerous bug fixes, with 97% of test cases passing, up from 90%
If you use Eddie, drop me an email. I'd like to thank Mark Pilgrim again for providing the community with a fantastic and comprehensive suite of test cases, extensive documentation and a first class Python library.

Biella Coleman: Low-tech solutions in a pinch and in the tropics

Recently I complained about using dial-up in PR and I believe in response to my post, Joey Hess provided some great tips for making the dial-up experience a little more bearable. He, of course, was providing a set of solution to constraints, which is what the likes of Joey Hess do a lot of their waking (and according to a recent IRC conversation, even dreaming) hours. I as an academic am not involved so much in the business of finding real hard solutions but when I go to Puerto Rico, that is what I DO spend a lot of time doing. And I came up with 3 solutions this year, 2 of which I was particularly proud of (one of which may be useful to the blog readers), so I thought I would share them here: As I wrote about a few weeks ago, my mom has been plagued with a problem of choking on her saliva because she is not swallowing. It causes her and those around her a lot of angst. I tired many things but when I stopped trying and just started watching and observing to see when it seemed to be worse, I finally noticed that if she wore her dentures, the problem, while not totally resolved, was like 70-80% better. With her dentures, she would never choke on her spit and often times there would be not spit. I think the dentures changes the shape of her mouth so that she can swallow with less effort. I was pretty proud to notice this because it was the overwhelming problem of the season. Now, there is, of course, another problem. She loathes wearing those teeth and well, it has been a battle to convince her it helps (I think she sort of knows but does not want to admit it) but she is wearing them a lot more than she used to…. Maybe I will come up with a long-term solution to that problem later but I have failed in all of my attempts while still there which stretched from begging, to coy deception, to outright bribery. So in PR, we have an awesome mutt, who goes by one of three names, Isabela, Gordita (look at her tummy in the pictures to see why we call her chubster ) and Pucha. She is literally the joy of the house and she truly revels in this role. She is, in fact, like a hovercraft of love , in the sense that she will hover over you, as you are, for example, trying to get work done, and she will whimper, or lift her little paw, or more audaciously butt her head against your hand, until you assume the position and pet her, or preferably hug her. And she wants demands this sort of attention for as long as you can humanely sustain it. Ok this is not the problem part (though it can be a problem when trying to complete work and I usually just give up and give in to her or kick her out of the room). The problem was that the pucha would routinely despoil the same spot on the floor, usually every day, usually in dramatic response to leaving her in the house alone for more than 10 minutes. And I know this is willful because she is otherwise quite potty trained. She just likes to remind those who shower her with affection and love that she wants it to rain harder. The problem was that she was soaking and thus really rotting the wooden trimming (and poking around led me to discovering the third huge problem, termites, but more on that soon) and this had just had to stop. Giving her a light whallop in her chubby behind never helped (maybe she was too well padded?) and obedience school seemed like way too much effort and money. Eventually, I just threw her little bed right where she peed, and vualla, she stopped peeing there and thankfully she did not have the cojones to find another spot. I am not sure if this is long-term solution, but for now I am satisfied. Through the pucha, I found out that the wooden trimming in our house was ingested with termites. This caused a mini-heart attack, because well, termintes are a bitch to eradicate and they are a real problem in the tropics. I called the exterminators just to find out some information on termites and they assured me that once I ripped out the molding (which was my low-tech solution), I would not be putting the other wood in danger by accidentally flinging one of the little chubby white grubs over to another piece of wood and there is a lot of wood at home. Thankfully, since that is unlikely, with some help , I proceeded to tear most of the molding out only to disover a cornupia of bugs living there. It was so so so so so gross, really, gross that of course I am not replacing the trimming with wood but with some other bug-resistanant material. But that will have to wait till another trip.

Evan Prodromou: 6 Pluvi se CCXV

Maj woke me up at 6:41AM this morning. "Amita slept through the entire night in her big girl bed," she whispered. We've been co-sleeping since Amita was born, but over the last month we've been trying to do night weaning, which means Amita goes to sleep in her own bed in her own room now. But that doesn't usually last past 1AM-2AM. "Did you check her breathing?" I asked. "Yeah, I just did." "Wow. Our little girl is a woman now." "Well, a toddler at least." "Our little weaning toddler." Pause. "Our little weaner!" I drifted back off to sleep, but I got poked again about 10 minutes later. "I'm going to go check her breathing again." "OK. Lemme know how the weanie is doing." tags:

Other developmental milestones Amita and I had our day together on Wednesday, and we were playing cars in the living room when apropos of nothing she started saying "Pok". "Pok! Pok!" I didn't know what was up until she came over and pulled up the sleeve of my t-shirt and pointed to my upper right arm. "Pok!" I picked her up and hugged her. "That's right, honey. That's where I have my tattoo of Spock. Good girl!" tags:

RecentChangesCamp So, I'm excited about next week's 2007 RecentChangesCamp. I'd normally be on board to go, but a) we've got RoCoCo coming up in May here, and I should probably concentrate my energies on that, and b) I've already committed to going to the LinuxWorld OpenSolutions Summit in the middle of February. It just doesn't make sense to do more than one conference per month, unless you're on the circuit professionally. But I hope that RCC in Portland goes well. A lot of friends will be there, and it's always good to know that friends and colleagues are having interesting conversations and making new decisions. tags:

NOKUBI Takatsugu: Plagger: the UNIX pipe programming for Web 2.0

On the past Monday, Yoshinori TAKESAKO, the one of the developers of Namazu, talked about Plagger in FSIJ monthly seminar. Plagger is a very useful and powerful application, and I could make a planet site in my office. It is apt-gettable but not official. The apt-line is:
deb http://debian.hansode.org/ ./ 
and the package name is libplagger-perl. However, it has no "assets", the essential components for Plagger, so you need to get them from the svn repo.
svn co http://svn.bulknews.net/repos/plagger/trunk/plagger/assets/
The following is the example of YAML:
global:
  timezone: Asia/Tokyo
  assets_path: /home/knok/plagger/assets
plugins:
  - module: Subscription::Config
    config:
      feed:
        - http://internal.host/~knok/index.rdf
  - module: Bundle::Planet
    config:
      title: Planet Office
      dir: /home/knok/planet
      url: http://internal.host/planet/
      theme: sixapart-std
      duration: 30 days
      description: The internal RSS aggregation.

25 January 2007

Jonathan McDowell: i2c remote evilness

When I built my PVR a few years I bought a OneForAll URC-7562 6in1 remote control; with a surround sound amp, TV, NTL cable box, DVD and PVR the number of remotes around the place was getting a bit ridiculous. The main reason for choosing this remote was its ability to control the NTL box, which uses some odd IrDA based format apparently that even lirc has difficulty making sense of and learning remotes mostly ignore. It also had the ability to be upgraded remotely by phoning up a support line and they'd squirt some noise down the phone that the remote would understand. I had call to use this to enable my Scan DVD player when I first got the remote and it worked fine and I was quite impressed. However the remote also features another neat way to do upgrades. It has a 6 pin header in the battery compartment that is know as the JP1. This exposes the I2C bus that the configuration EEPROM lives on and there is a good amount of information out there about understanding the memory layout and adding support for new remotes etc. I'd been meaning to build the adapter to connect up since getting the remote but until recently hadn't really had a reason. However although my new TV is vaguely supported I'd really like to be able to remap the keys more sanely. So last weekend I discovered I had the appropriate bits lying around and built one. Unfortunately most of the software is for Windows; there's a Java app that will generate the appropriate data to feed to the remote, but the main communication tool is a Windows app. I found a couple of old Linux tools, but then I had a thought: it's just i2c. Why not tie it into the proper i2c subsystem? Turns out the i2c-parport driver makes this sort of thing easy; all you add is a single entry defining the appropriate parallel port lines to wiggle and it all magically works. So now I can talk to my remote using the eeprom driver talking to the i2c subsystem which talks to the remote over the parallel port adaptor I built. Which feels wonderfully sick. :) Now I need to actually have a closer look at getting all the buttons working for my new TV...

Steve Kemp: Tell you, might not believe it, but

I would like to have a simple way of mirroring a webpage, including any referenced .css, .js, and images. owever to complicated matters I wish to mandate that the file will be saved as “index.html” - regardless of what it was originally called. This appears to rule wget out, as the –output=index.html option trumps the –page-requisites flag (which is used to download images, etc which are referenced.) Is there a simple tool which will download a single webpage, save it to a user-defined local filename and also download referenced images/css files/javascript files? (Rewriting the file to make them work too) Using Perl I could pull down the page, and I guess I could parse the HTML manually - but that seems non-trivial - but I’d imagine there is a tool out there to do the job. So far I’ve looked at curl, httrack, and wget. If I’m missing the obvious solution please point me at it .. (Yes, this is so that I can take “snapshots” of links added to my bookmark server.)

MJ Ray: Bad Tech: A Parable of Plumbing

This addition to my Bad Technology page is plumbing. I hate plumbing. It is really inconvenient if it goes wrong, plumbers are pretty rare these days and most of my attempts to fix anything to do with plumbing end up wet and/or messy and/or damaging the house. I was just starting to understand the sealed system at the old house and then we moved to a house with an open vent system with loft tanks and inverted loops and draincocks and stuff. Humanity has invented the internet and other great stuff, but it seems we can't invent a heating system that is reliable, affordable, environmentally-friendly, understandable, hackable and doesn't fail messily. On what may have been the coldest day since we moved here, the heating stopped. Testing the controls, looking at the system design and working through a troubleshooting list suggested that the sensors were working and the boiler was working but the valve that sends hot water to the tank or heating was just clicking and sending nothing to the heating. I tried calling our usual plumber. Voicemail. So, I popped the cover off the valve. In addition to the wet/messy/damaging worry, that also involves electrics. Water and electicity - an ideal combination(!) There were some springs, a round bit and a worrying number of wires (live, for all I know). Also dust. A lot of dust. Thick lumps of dust. Grab the air gun, blow out the dust. Set the controls to try the heating. Still no joy. The round bit seemed to be twitching and making the ticking noise. Tapped it with the screwdriver handle. Nothing. Hit it. It moved. Pump starts, boiler starts, sound of heating pipes expanding as the hot water enters them again. I think that's my first successful fix to the plumbing in three months. Be cautious, but give it a go - I guess that's the same tactic that works for my successful computer hacks.

Andree Leidenfrost: linux.conf.au 2007 Gleanings

I was fortunate enough to attend lca2007 last week and to meet Bruno Cornec, the Mondo Rescue project leader, for the first time in the flesh.

The conference was pretty cool, and I found the quality of the program to be generally impressingly high: Excellent topics, superb presentation skills, humor and genuine passion for the topic at hand. The atmosphere and organisation were great, too - extremely well done, 7 Team!

My personal two highlights were:
Apart from the conference as such, it was super cool to meet Bruno. We had a number of good conversations and did some nice hacking, burning the midnight oil a couple of times. And HP gave me a (used) zx2000 (which Bruno carried all the way from France to Sydney!) to enable me to work on the (Debian) Itanium port of Mondo Rescue - thank you HP and Bruno! Bruno's talk was well received, and it was great to actually meet people that use the software that I spend quite a bit of time on. :-)

Finally, there is the Linus phenomenon (so you can tell this is my first
Linux conference) - he amazingly is basically left in peace: People who know him obviously talk to him and he participates vividly in discussions and so forth, but everyone else does the business as usual thing - no autographs, no photos, no nothing. I was (positively) impressed and refrained from asking him to sign my copy of Just for Fun (just kidding).

Finally, finally, I propose to find an alternative for the term 'awesome' next year. ;-)

Eddy Petri&#537;or: pppoe testers needed (ppp-udeb) - take 2

I am renewing my call for testing installations over PPPoE, after fixing an issue reported on both my blog's comments section and also on debian-boot. Thanks for those tests.

So please, make the same tests I asked previously, but with the new image:

http://users.alioth.debian.org/~eddyp-guest/ppp-2.4.4rel-5/mini-with-ppp-udeb-20070124-1.iso


(This image is also signed and the md5sums file is updated and signed, too.)

24 January 2007

Gustavo Franco: Click and Run

Linspire will launch in the 2nd quarter of the year a interesting service: Click and Run - their 'linux software ready to go' warehouse, into the web. The site code and related stuff are proprietary, the thing they call a plugin (it isn't a new package manager and not a browser plugin) to run into the users machine will (or already is?) be free software. The site will deliver software for Debian, Fedora, Freespire, Linspire, OpenSuSE and Ubuntu.

I had two ideas based on their service, considering that the plugin software is quite good and reliable (i've no idea yet):

- non-free.debian.net - What if we launch a web service listing the packages into non-free and let the users install it through a simplified Click and Run plugin (we don't need multiple package managers support) ? That's clear we need to consider individual package and system upgrades, but i bet Linspire did it already. With this in mind, the new service would avoid the user need to edit the sources.list, learn how a package manager works and stuff like that. Those with non geek friends using linux when asked "How do i install java?" could answer "Go to non-free.debian.net and install it from there". It drives me to a strange world...

- CNR's everywhere - Consider a world where Red Hat put Red Hat Network to work over Fedora packages with a sane API to publish package metadata information (eg.: yet another rss2 extension) and the packages itself (we still can use http and ftp), we tune packages.d.o to do the same and there we go for others distributions. With a stable enough Click and Run "plugin" from Linspire we could sit and watch people building their own Click and Run based services providing signed software right from the projects, non-free software from partners, software by subscription, games, making profit from ads and more. I think that the API standardization could be something interesting to Linux Foundation try to push, while Click and Run would give the community the "plugin"and benefit from being the first and jumping on this new thing first. Thoughts?

With or without CNR's everywhere, i would still give non-free.debian.net a try since we don't need the CNR plugin too, but we can wait until the 2nd quarter and organize the ideas better. Volunteers?

Eddy Petri&#537;or: pppoe testers needed (ppp-udeb)

(Stop the tests for now, it seems I made a mistake. Will fix it tonight and make an update.)

I have been working recently on an update to the ppp-udeb package (responsible for configuring PPPoE networking in D-I and the target system).

I think I have finished fixing the last bad bits from the ppp-udeb package[*], but currently I am unable to do a test of a complete installation due to bug #407702 in qemu. Still, I am confident it should just work.

So I am asking if there are people interested in testing the image I have prepared with the new ppp-udeb package. The image can be downloaded from:



http://users.alioth.debian.org/~eddyp-guest/ppp-2.4.4rel-5/mini-with-ppp-udeb-20070124.iso



(Security concerned people can check the signature and md5sums and go on, if they trust me :-) )

How to test

In order to test, just boot the image (no boot parameters are needed) and try to do a basic installation via PPPoE.

What should be (or would be nice to be :-) ) checked:

Please respond as soon as possible (eddy.petrisor at_sign gmail.com).

[*] I did some tests myself but I can't test everything due to bug #407702 in qemu; some screen shots I made in qemu can be found at http://users.alioth.debian.org/~eddyp-guest/ppp-2.4.4rel-5/screen%20shots/


Update: thanks to some people that did the test, I found out that I made some wrong assumptions in my code. I will make another image tonight and make another call. This will hopefully fix the issue.

Russell Coker: university degrees

Recently someone asked me for advice on what they can do to improve their career without getting a degree.

I have performed a quick poll of some people I know and found that for experienced people there seems to be little need for a degree. People who have extensive experience but no degree report no problems in finding work, and employers don't report any reluctance to hire someone who has the skills but no degree.

One thing that a degree is very good for is making a career jump. This is most notable when you get your first professional job, school results and references from part-time work don't help and a degree is a massive benefit. But if you have proven your abilities in the field then most employers will be more interested in checking references and the interview process than in qualifications. If you are only interested in getting a job that is one level above where you are at the moment then lacking a degree should not be a problem.

Another possibility for someone who lacks a degree is certification such as the Linux Professional Institute (LPI) provides and the Red Hat Certified Engineer (RHCE). One advantage of the RHCE certification is that it is based on fixing misconfigured Linux systems, no theoretical questions, just the type of work that real sys-admins do for their job - this means that people who do badly in traditional exams can be expected to do well, and it also means that the RHCE certification accurately depicts real skills in fixing problems (and it should therefore be more valuable to employers). The LPI exams can be taken by anyone, but to sit for an RHCE you have to be sponsored by an employer.

There are ways of getting career benefits without strictly going upwards. One way of doing this is to move to a region where the pay scales are different. Some years ago I moved from Melbourne, Australia to London to increase my salary. When in London I did work that was a lot less challenging and was paid considerably better for doing so. One thing I discovered is that in London Australians were widely admired for working really hard, I don't think that Australians work harder than British people on average, but people who will move to the other side of the world to advance their career are generally prepared to work hard!

If you spend some time working in another region and then decide to return home you will probably find that employers are more interested in hiring you for what you have learned in another region. Whether you actually learn things that are of value to potential employers when working in another country is debatable, it probably depends on the individual. But when applying for a job you want to make the most of every opportunity that is available - if someone wants to hire you for the special skills you learned in another country then that's OK. ;)

Another possibility is moving to a different industry sector. Some industries have career bottlenecks at different levels. If there is no possibility of moving upwards in the area where you work then getting a job with the same skill requirements in a different industry might open up more opportunities. An example of this is working as a sys-admin in a medium sized company that is not IT based. If you are the only sys-admin in the company then there is no possibility of promotion, moving from such a company to an ISP (or other IT based company) would then give the possibility of becoming a senior sys-admin, team leader, or even the manager of the ops team (if management is your thing).

A final option that few people consider is becoming a contractor. Contractors tend to earn significantly more than permanent employees when they do the same work (so becoming a contractor provides a significant immediate benefit) and as the duration of contracts is usually small there is less attention paid to degrees etc (what does it matter if the contractor will only be there for three months?). Of course most contracts last significantly longer than the initial term, some contractors end up working in the same position for 10 years or more!

There are some down-sides to being a contractor, one is that they get less interesting work (offering someone a choice of projects if they become a permanent employee or the project that is deemed to be least interesting if they insist on being a contractor is not uncommon). Another down-side to being a contractor is the way that contractors are used. The ideal way of running a company is to have mostly permanent employees and to use contractors for special skills, short-term projects, and for emergencies when they can't hire permanent employees. When a company has almost no permanent employees it usually means that something is going badly wrong. This means that if you select a random contract role there is a good chance that it will be one where things are going badly wrong. The money from contracting is good, but it can be depressing when projects fail.

Enrico Zini: package-managers

Improving package managers I noticed two posts on improving package managers none of which mentions Debtags. Daniel Burrows mentions various issues: David Nusinov mentions that the ideal package manager should look like Google, where you search for things using just a simple one line text entry and pick from the results what you want to install. I should probably do a bit of recap of things that have been going on. I'll go through that list again:
  • The current sections in Synaptic are useless
Agreed. This used to be a bug about this, which has been closed by Debtags more than one year ago. We now have much more useful category data for about 73% of the archive (including experimental), but what we lack is software using it. Here's a quick trick to try:
  1. install debtags, and this gives you an easy to read text file in /var/lib/debtags/package-tags.
  2. from that file, pick packages that have the tags role::program, scope::application and interface::x11.
  3. display the results, and use the tags works-with::* and use::* to navigate the results.
There is a python-debian package in experimental that has a debtags module you could play with. Why is that that so far noone has written a simple package manager just for gamers, which uses only the game::* tags? Do you think Debtags gives you too many tags? Then check out: To summarise so far, we not only do have better categories, but also a number of cool algorithms to use them, and some interface prototypes as well. Just don't expect me to write a package manager as well: that's a job that so far I decided to leave to someone else. adept gave it a try, with positive results.
  • there are better keyword search technologies than strstr()
Indeed, Xapian for example. I use it as part of the backend of the Debtags smart search, and here's our Xapian-powered normal keyword based package search interface which does stemming, indexing and all you want to ask from a serious full text index. In that page you don't see all the nice features of Xapian, but only the ones that I needed for my Debtags evil plans. Have a look at the documentation and give it a try. Here is a way to see Xapian's similarity matching in action:
  1. go to the Go tagging! page
  2. click on a random untagged package
  3. the system gives you a rather relevant selection of tags
  4. look at it again: the package was untagged: how could the web engine possibly figure those tags out?
What is happening under the scenes is that:
  1. I ask Xapian: "what packages are similar to this one?".
  2. I aggregate the tags of the resulting packages.
  3. I rank the tags by how many resulting packages have them.
While we are on this topic, why don't we decide that we maintain a Xapian index of our package descriptions in, for example, /var/lib/apt/fulltext/, so that various applications can share it? Indeed. Anyone would like to implement this little "popcon" tool? Having the data easily accessible locally can encourage people to use them. The Debtags Go tagging! page already uses popcon data to show the most common untagged packages at the top, with double reason: it shows packages that more people are likely to know (and therefore likely to categorise) and it pushes for the most common packages to be tagged more urgently. Indeed. Anyone volunteers to implement a prototype? The full unaggregated (but anonymised) popcon data are accessible to every Debian Developer on the host gluck.debian.org in the directory /org/popcon.debian.org/popcon-mail/all-popcon-results. Ideally one can do many interesting things with this concept: besides tag suggestions, one could identify the packages that are most representative of an installed system, and also offer negative suggestions like: "people who have packages like yours usually don't have this package: would you like to remove it?". There is more than all this that could be done. Recently, almost by accident, I had the idea of querying packages by example, like pointing to a file and find packages that can work with it. I've asked Jeroen to have Mole collect info on all files that could possibly get installed in /usr/lib/mime/packages/ (as suggested by Bernhard R. Link), to see if that prototype can be made more accurate. Query by similarity would be nice: I don't like this program, but what else do we have that does the same job? This is best implemented using Debtags data, since it directly maps to semantic properties. Note that you don't have to show a single tag to the user to implement this kind of interface. Do we have a way to point at the X window of an application and get the name of the package that installed it? Wouldn't it be about time to have it? Why don't we have a system updater utility that shows the Debian weather? Why aren't more people playing with semantic web? But more generally, the problem with package managers is that we seem to be irrationally compulsive in wanting to make the one and only big easy and complete interface for everyone. Other more reasonable people would tell you that if you have two very different kinds of users you may want to consider having two different user interfaces. Ubuntu for example installs by default 3 package manager interfaces: Synaptic; the thing that you access from the application menu to add applications to it; and the update manager. Does it sound like a waste? To me it makes lots of sense. We have lots of interesting, usable metadata; we have algorithms; we have prototypes; we have ideas for lots of cool, implementable features. The question is, are we able to write applications that just combines what is needed from all this treasure to provide the right interface(s) for our base(s) of users? Even if my English in 2004 wasn't easy to understand, a read here might still be useful. There is so much really cool stuff to be written, just within reach.

Wouter Verhelst: Debian motivation

Steve asks a pretty good question: what is the motivation to work on Free Software in general, and Debian specifically? There are actual scientific studies on that subject as academics try to wrap their head around this strange thing where people do not get paid, but still put in a hell of a lot of work. What motivates me to put in hundreds of, sometimes boring, hours working on this stuff? I honestly don't know. I started doing working on Debian with a desire to make some name and fame for myself; but frankly, if name and fame is what I'm after, I should have stopped doing this a long time ago and should have tried to go work for TV or something. Or I should have been working on some stuff which is central to Debian (either the OS or the Project). So while "name and fame" might've been the reason in the beginning, it's not my motivation today. It could be that I want to help shape the Debian operating system into something useful; that I want to contribute so that the system is something I like to use. But I don't think that's the case; if that was my motivation to work on Debian, I would have more interest in doing some infrastructure work, which I'm not doing: the m68k port is not exactly the most important port of the Debian project, and my most popular package, nbd-server, is installed by 101 popcon submitters, or 0.38% of them all. Why the server seems more popular than the client is a mystery to me, but well. It could be that the Debian project is this warm and fuzzy place which allows me to meet people from the comfort of my bed room, but I don't think that is the case. If I want to meet people, I'll go to a bar, or go sing in the choir, or go play my flute in the ensemble. That's a lot more direct, a lot easier than trying to set up some trip to Scotland, and a lot cheaper, too. And if I want a warm and fuzzy place, then with all due respect, Debian is not what I'm looking for. It could be that by working on Debian, I want to challenge my knowledge and in that way increase it; this would look good on my CV, and it could perhaps satisfy a desire to learn new stuff, all the time. But that's not entirely true. I don't need to be a Debian developer to challenge myself or to learn new stuff; and if I would really want to have something that looks good on my CV, I would be much better off by joinging a project that produces insane huge gobs of code, rather than a project which is perceived to do nothing more than 'just putting stuff in packages'. I think my real motivation is a bit of a mixture of all of the above. I still feel proud when people talk about things I've done, or when people praise me for the code I've written; and I still feel sad when people mock the m68k port, even if 'only jokingly' (because we've pulled off a lot). I often try to file good bug reports when I find issues with Debian, and purposely run unstable on my laptops to help find bugs quickly, in an effort to help turn Debian into something useful. There is a lot of flaming on Debian mailinglists, but there are also a lot of friends—who, contrary to those from the choir and those in the ensemble, actually know what I'm talking about if I say "I'm trying to port Debian to those ColdFire boards, which needs changes in the compiler, the linker, and the C library. Possibly also the assembler". And finally, while Debian work hardly challenges me anymore, it does still allow me to learn new stuff every day—which is quite useful in my day job. So, there you have it. I don't have a specific reason why I'm still a Debian Developer after five years; it's more of a general feeling that being part of Debian is the right thing to do. I guess you could also say I have this feeling that I can't abandon "them"—whoever these "them" might be. Obviously that's incorrect (I've seen much more important people, such as e.g. Herbert Xu, being replaced without much of a hitch), but the feeling still is there, nagging on me. So there you go. What's your motivation?

Miriam Ruiz: Burnout

According to Wikipedia: “Burnout is a psychological term for the experience of long-term exhaustion and diminished interest (depersonalisation or cynicism), usually in the work context. Burnout is often construed as the result of a period of expending too much effort at work while having too little recovery, but it is sometimes argued that workers with particular personality traits (especially neuroticism) are more prone to experiencing burnout.” In this web page there’s a global overview of burnout that might be useful: Burnout is a chronic condition that happens when your body or mind can no longer cope with overwhelmingly high demands. You are trapped in a state of emotional exhaustion, and it is hard to get out of that state. You stop caring about what you do, even though you may feel guilty about that fact. Even if you still continue working, it seems to be hard to make progress. You hardly accomplish anything significant, just go through the motions. Certain categories of people and professions are particularly susceptible to job burnout. Most often these are people who are highly committed and motivated, who have high standards and idealistic dedication to their jobs. Common burnout causes include: For all of those burnout causes what is important is not as much the external factors that fall on you, but how you interpret them, what you say to yourself, and what actions you take in response. Finally, it is important to understand the risks of burnout in your personal or job situations. Once you are its victim, it may not be easy to get things back on track. That condition does not go away in a day. You may not be able to recover by yourself, and you may need to have drastic changes in your attitudes and life style. You are much better off preventing it now than putting your life back together later. Some links:

Next.

Previous.