Search Results: "christoph"

1 February 2006

David Nusinow: 6.9 RC0... I'm Working On It

A number of people have been asking for the X.Org 6.9 Release Candidate 0 packages I promised a little while back. I don't have them because I haven't been able to build them yet. I've managed to build 6.9rc0 itself, but not actual packages as of yet. Debian makes various alterations to the standard build, and these have been causing snags. I'm currently working my way through various build failures one at a time as they come, crossing my fingers each time I run dpkg-buildpackage. Hopefully in a few days I'll get packages ready, but I can't really give an estimate since I don't know all the build issues until they've been solved. I won't be able to work on X packages for a few days starting late in the week for various reasons, so things may be delayed. I still want very badly to get 6.9 pre-release packages in to Debian before 6.9 itself is released, and I'm going to keep at it until that happens.

In the meantime, hopefully the 6.8-5 packages recently uploaded to unstable will tide people over. Thanks to Jean-Christophe Dubacq, who provided easy drop-in patches of backports from X.Org's CVS HEAD, the -5 packages have the most up to date i810 drivers available. Many people reported problems with the old version of the driver, and this backport should help out with some of those issues. I've blogged previously about the other various features in -5 that were added, so I won't repeat them here. You can also read the massive changelog for -5 to see for yourself what we were up to while waiting for our own build dependencies to get fixed. I have to admit, looking at the changelog, I'm proud of our team.

23 November 2005

Antti-Juhani Kaijanaho: Safety is the beginning of wisdom, not its end

I wrote a couple of days ago about safety in programming languages. A certain comment reminded me that people (even programmers) misinterpret technical terms from the area of programming languages. It reminds me of that old joke about the C programmer who is very hurt when somebody claims that C is not a functional programming language - of course it is functional, our hero says, as it functions perfectly. It also reminds me of a quote Christopher Strachey has been said to have written in the 1960's:
It has long been my personal view that the separation of practical and theoretical work is artificial and injurious. Much of the practical work done in computing, both in software and in hardware design, is unsound and clumsy because the people who do it have not any clear understanding of the fundamental design principles of their work. Most of the abstract mathematical and theoretical work is sterile because it has no point of contact with real computing.
In programming languages jargon, safety is the property of a language that all well-formed programs have a well-defined semantics. That is, in a safe language, programs that the compiler does not reject, do not go beserk (corrupt the stack or heap or otherwise invoke nasal demons). A well-defined semantics might be a forcible halt of the program, which is often not the ideal way of dealing with problems (sometimes it is even harmful), but it is beyond the scope of safety to specify a programmer-friendly semantics for such occurrences. Safety is the minimum requirement, not by any means sufficient for all contingencies. There is a related slogan attributed to Robin Milner:
Well-typed programs do not go wrong.
(Wrong, in this case, is an abstraction denoting nasal demons, heap corruption and other such nasty things.)

Antti-Juhani Kaijanaho: Strachey

I ran the other day into Volume 13, Issue 1-2 (2000) of Higher-Order and Symbolic Computation, which contains articles by and about Christopher Strachey. From him come terms like l-value, parametric polymorphism, first-class object. He is a classic in the theory of programming languages. The issue is freely available at Kluwer's site. I am unable to give a direct link.

18 November 2005

Christoph Berg: Hacking DDPO

Over the last few weeks, I've implemented some new features in DDPO. The system, originally written by Igor Genibel, is a mix of Python, Perl, and PHP generated from WML, so it's quite interesting to see how these languages interact. The main new features are the ability to add arbitrary packages to the list displayed, and an automatic listing of all NMUs and sponsored uploads in the new "uploads" section. (Thanks to Ryan Murray, Joerg Jaspert, and Joey Schulze for helping fix the projectb for that!) I won't repeat the details here, read the d-d-a posting for that. Another nice thing is the link to Ian Lynagh's popcon graphs which I had mostly ignored so far. Have a look at my DDPO page to see the new features - feedback welcome!

4 November 2005

Adam Rosi-Kessel: randomplay 0.48 released

I’ve released randomplay 0.48. randomplay is my command-line ‘itch a scratch’ music player. It is most useful for maintaining a random shuffle over many sessions—for example, I use it to make sure I don’t ever hear the same song in any three month period. The new version fixes a bug that prevented randomplay from advancing to the next track when the player subprocess itself spawned a child process (e.g., with ‘play’ which spawns ‘sox’). I use a bit of a hack to kill the child task and it’s children, but the standard way of doing this in perl—kill HUP => -$$ doesn’t seem to work when randomplay is called from a shell script and the child process’ output is redirected to null. Here’s the code in question (with the fix to kill children and grandchildren recursively):
# KillAll recursively kills the request process ID and all of its children/grandchildren/etc.
# This is a bit of a hack--there should be a better way to do this, but I haven't found one.
# Normally, kill HUP => -$$ should do the job, except this doesn't work when randomplay itself
# is called from a shell script and all output from child processes is redirected to null.
# This subroutine assumes that shelling out to ps is going to work, which may not be totally
# safe--at the very least, it reduces the portability of the script.
# Any suggestions for a better way to do this are welcome.
sub KillAll  
  my $pid = shift;
  local $SIG HUP  = 'IGNORE';   # don't want to kill ourselves here--shouldn't happen, but just in case.
  if (open PS, "ps -o pid,ppid  ")  
     eof PS; # Force ps to run now. Otherwise it would run at the first read operation.
     kill HUP => $pid;
     foreach my $line (<PS>)  
       KillAll($1) if ($line =~ /^\s*(\d+)\s*(\d+)\s*$/ and ($2 eq $pid));
      
     close PS;
    else                  # if we can't read the process table, just try killing the child process group
    kill HUP => -$$;
   
 
Thanks to Christopher Zimmermann for the patch to kill children recursively.

24 October 2005

Erich Schubert: Wireless and Linux

Christopher Aillon mentioned that people like NetworkManager a lot. While I agree that NetworkManager is something nice, and especially people really expect "Desktop Linux" to have it, there are a lot of other issues. I've tried netapplet, which is I think a predecessor. It looks just as fancy, but it doesn't really solve my needs. And in fact, I don't think NetworkManager can do that either (yet?). As usual, it's a bit more than just picking the right essid and maybe displaying the network strength (which doesn't work in netapplet for me, the hostap driver lists a quality of 0 for all networks, but the signal level value is fine), but also a lot about setting up VPN, encryption, handling network switches gracefully - and last but not least: saving power by disabling wireless when not needed. Also it didn't give me a proper list of networks. It just picked a random one (interestingly not the strongest, actually one I don't see right now...) and never showed the other 5 access points. That doesn't mean of course that NetworkDaemon wouldn't, it's just not in Debian yet, so I didn't try it yet. Guessnet is a nice tool for detecting your network setup. Using mii-tool it can detect whether my network cable is plugged in, and by doing "ifup eth0 ifup wlan0" I can bring up whatever is available. Well, almost except that guessnet also fails to detect my wireless networks (it probably would just need to wait a second for the scan to run). I agree that this is mostly an issue of the wireless driver. But just about every driver has it's own issues, unfortunately. For example, the vanilla orinoco driver doesn't do scanning. The hostap driver doesn't properly power down (right now I'm using some iwpriv hack to disable radio tx to save some power), the ralink driver has been locking up the laptop every now and then... some drivers don't do WEP, others don't to WPA. The wireless keyboard shortcut obviously didn't work either... So maybe, we right now (once more) need more people working on the drivers. Oh, and there are more issues with drivers - for example Scorched3D still doesn't work properly on radeon. The OSS nvidia drivers still don't have 3D. Some bluetooth headsets don't work yet... and the closed source drivers are even worse (a pain to install since they aren't properly integrated in the distributions etc.). So Linux still needs more support by hardware vendors (especially WRT to specs!) as well as more people actually doing the dirty job in C and not just having fun with PHP, Python and Mono.

Next.

Previous.