Russ Allbery: Review: Thinking in Java
| Publisher: | Prentice Hall |
| Copyright: | 2006 |
| Printing: | October 2009 |
| ISBN: | 0-13-187248-6 |
| Format: | Trade paperback |
| Pages: | 1461 |
| Publisher: | Prentice Hall |
| Copyright: | 2006 |
| Printing: | October 2009 |
| ISBN: | 0-13-187248-6 |
| Format: | Trade paperback |
| Pages: | 1461 |
Apple released Remote 2.0, which doesn t work with forked-daapd. We are looking into it and trying to find out what the problem is. There are also more changes needed to support Remote 2.0 properly, so this will take some time.
Remote 2.0 also introduces support for the iPad, with very different features and new requests. I don t have an iPad, so this won t be supported.
For now, you should stick to the old version of Remote (1.3.3) until we get 2.0 working, at which point we ll probably pull support for the previous version in an attempt to maintain everybody s and the codebase sanity.
In other news, I have a few changes pending that I want to get in before I cut a new release.
Debian s testing distribution is where Debian developers prepare the next
stable distribution. While this is still its main purpose, many users have
adopted this version of Debian because it offers them a good trade-off between
stability and freshness. But there are downsides to using this distribution
and the Constantly Usable Testing (CUT) project aims to resolve those.
This article will present the project and the challenges involved to make
it happen.
About Debian unstable & testing
Debian unstable is the distribution where developers upload new versions of
their packages. It happens frequently that some packages are not installable due
to changes in other packages or due to transitions not yet completed.
Debian testing, on the contrary, is managed by a tool that ensures the
consistency of the whole distribution: it picks updates from unstable only if
the package has been enough tested (10 days usually), if it s free of new
release-critical bugs, if it s available on all supported architectures, and if
it doesn t break any other package already present in testing. The Release
Team (RT) controls this tool and provide hints to help it find a set
of packages that can flow from unstable to testing.
Those rules also ensure that the packages that flow into testing are
reasonably free of show-stopper bugs (like a system that doesn t boot, or
X that doesn t work at all). This makes it very attractive to users
who like to regularly get new upstream versions of their software without
dealing with the biggest problems associated to them. This is all very
attractive, yet several Debian developers advise people to not use
testing. Why is that?
Known problems with testing
Disappearing software
The release team use this distribution to prepare the next
stable release and from time to time they remove packages from it. Either
because it s needed to ensure that other packages can migrate from
unstable to testing, or because they have long-standing release-critical
bugs without progress towards a resolution. It also happens that they
remove packages on request of the maintainers because they believe
that the current version of the software cannot be supported
(security-wise) for 2 years or more. The security team also regularly
issues such requests.
Long delays for security and important fixes
Despite the 10-day delay in unstable, there are always some annoying
bugs (and security bugs are no exceptions) that are only discovered when
the package already has migrated to testing. The maintainer might be quick to
upload a fixed package in unstable, and might even raise the urgency to
allow the package to migrate sooner, but if the packages gets entangled in a
large ongoing transition, it will not migrate before the transition is
completed. Sometimes it can take weeks for that to happen.
This delay can be avoided by doing direct uploads to testing (through
testing-proposed-updates) but this is almost never used, except
during a freeze, where targeted bugfixes are the norm.
Not always installable
With testing evolving daily, updates sometimes break
the last installation images available (in particular netboot images
that get everything from the network). The debian-installer (d-i) packages
are usually quickly fixed but they don t move to testing automatically
because the new combination of d-i packages has not necessarily been
validated yet. Colin
Watson sums up the problem:
Getting new installer code into testing takes too long, and problems remain unfixed in testing for too long. [...] The problem with d-i development at the moment is more that we re very slow at producing new d-i *releases*. [...] Your choices right now are to work with stable (too old), testing (would be nice except for the way sometimes it breaks and then it tends to take a week to fix anything), unstable (breaks all the time).CUT s history CUT finds its root in an old proposal by Joey Hess: it introduces the idea that the stable release is not Debian s sole product and that testing could become with some work a suitable choice for end-users. Nobody took on that work and there was no visible progress in the last 3 years. But recently Joey brought up CUT again on the debian-devel mailing list and Stefano Zacchiroli (the Debian project leader) challenged him to setup a BoF on CUT for Debconf10. It turned out to be one of the most heavily attended BoF (video recording is here), there is clearly a lot of interest in the topic. There s now a dedicated wiki and an Alioth project with a mailing list. The rest of this article tries to summarize the various options discussed and how they re supposed to address the problems identified. The ideas behind CUT Among all the ideas, there are two main approaches that have been discussed. The first is to regularly snapshot testing at points where it is known to work reasonably well (those snapshots would be named cut ). The second is to build an improved testing distribution tailored to the needs of users who want a working distribution with daily updates, its name would be rolling . Regular snapshots of testing There s general agreement that regular snapshots of testing are required: it s the only way to ensure that the generated installation media will continue to work until the next snapshot. If tests of the snapshot do not reveal any major problem, then it becomes the latest cut . For clarity, the official codename would be date based: e.g. cut-2010-09 would be the cut taken during September 2010. While the frequency has not been fixed yet, the goal is clearly to be on the aggressive side: at the very least every 6 months, but every month has been suggested as well. In order to reach a decision, many aspects have to be balanced. One of them (and possibly the most important) is the security support. Given that the security team is already overworked, it s difficult to put more work on their shoulders by declaring that cuts will be supported like any stable release. No official security support sounds bad but it s not necessarily so problematic as one might imagine. Testing s security record is generally better than stable s one (see the security tracker) because fixes flow in naturally with new upstream versions. Stable still get fixes for very important security issues sooner than testing, but on the whole there are less known security-related problems in testing than in stable. Since it s only a question of time until the fixed version comes naturally from upstream, more frequent cut releases means that users get security fixes sooner. But Stefan Fritsch, who used to be involved in the Debian testing security team, has also experienced the downside for anyone who tries to contribute security updates:
The updates to testing-security usually stay useful only for a few weeks, until a fixed version migrates from unstable. In stable, the updates stay around for a few years, which gives a higher motivation to spend time on preparing them.So if it s difficult to form a dedicated security team, the work of providing security updates comes back to the package maintainer. They are usually quite quick to upload fixed packages in unstable but tend to not monitor whether the packages migrate to testing. They can t be blamed because testing was created to prepare the next stable release and there is thus no urgency to get the fix in as long as it makes it before the release. CUT can help in this regard precisely because it changes this assumption: there will be users of the testing packages and they deserve to get security fixes much like the stable users. Another aspect to consider when picking a release frequency is the amount of associated work that comes with any official release: testing upgrades from the previous version, writing release notes and preparing installation images. It seems difficult to do this every month. With this frequency it s also impossible to have a new major kernel release for each cut (since they tend to come out only every 2 to 3 months) and the new hardware support that it brings is something worthwhile to many users. In summary, regular snapshots address the not always installable problem and changes the perception of maintainers towards testing, so that hopefully they care more of security updates in that distribution (and in cuts). But they do not solve the problem of disappearing packages. Something else is needed to fix that problem. A new rolling distribution? Lucas Nussbaum pointed out that regular snapshots of Debian is not really a new concept:
How would this differentiate from other distributions doing 6-month release cycles, and in particular Ubuntu, which can already be seen as Debian snapshots (+ added value)?In Lucas s eyes, CUT becomes interesting if it can provide a rolling distribution (like testing) with a constant flux of new upstream releases . For him, that would be something quite unique in the Free Software world . The snapshots would be used as starting point for the initial installation, but the installed system would point to the rolling distribution and users would then upgrade as often as they want. In this scenario, security support for the snapshots is not so important, what matters is the state of the rolling distribution. If testing were used as the rolling distribution, the problem of disappearing packages would not be fixed. That s why there have been discussions of introducing a new distribution named rolling that would work like testing but with adapted rules, and the cuts would then be snapshots of rolling instead of testing. The basic proposal is to make a copy of testing and to re-add the packages which have been removed because they are not suited for a long term release while they are perfectly acceptable for a constantly updated release (the most recent example being Chromium). Then it s possible to go one step further: during freeze, testing is no longer automatically updated which makes it inappropriate to feed the rolling distribution. That s why rolling would be reconfigured to grab updates from unstable (but using the same rules than testing). Given the frequent releases, it s likely that only a subset of architectures would be officially supported. This is not a real problem because the users who want bleeding edge software tends to be desktop users on mainly i386/amd64 (and maybe armel for tablets and similar mobile products). This choice if made opens up the door to even more possibilities: if rolling is configured exactly like testing but with only a subset of the architectures, it s likely that some packages migrate to rolling before testing when non-mainstream architectures are lagging in terms of auto-building (or have toolchain problems). While being ahead of testing can be positive for the users, it s also problematic on several levels. First, managing rolling becomes much more complicated because the transition management work done by the release team can t be reused as-is. Then it introduces competition between both distributions which can make it more difficult to get a stable release out, for example if maintainers stop caring of the migration to testing once the migration to rolling has been completed. The rolling distribution is certainly a good idea but the rules governing it must be designed to avoid any conflict with the process of releasing a stable distribution. Lastly, the mere existence of rolling would finally fix the marketing problem plaguing testing: the name rolling does not suggest that the software is not yet ready for prime time. Conclusion Whether CUT will be implemented remains to be seen, but it s off for a good start: ftpmaster Joerg Jaspert said that the new archive server can cope with a new distribution, and there s now a proposal shaping up. The project might start quickly: there is already an implementation plan for the snapshot side of the project. The rolling distribution can always be introduced later, once it is ready. Both approaches can complement each other and provide something useful to different kind of users. The global proposal is certainly appealing: it would address the concerns of obsolescence of Debian s stable release by making intermediary releases. Anyone needing something more recent for hardware support can start by installing a cut and follow the subsequent releases until the next stable version. And users who always want the latest version of every software could use rolling after having installed a cut. From a user point of view, there are similarities with the mix of usual and long term releases of Ubuntu. But from the development side, the process followed would be quite different, and the constraints imposed by having a constantly usable distribution are stronger: any wide-scale change must be designed in a way that it can happen progressively in a transparent manner for the user.
This article was first published in Linux Weekly News. If you want to see more articles like this, join Flattr and click on the flattr button below every article that you like.
When I took over man-db in 2001, one of the major problems that became evident after maintaining it for a while was the way it handled subprocesses. The nature of man and friends means that it spends a lot of time calling sequences of programs such as zsoelim < input-file tbl nroff -mandoc -Tutf8. Back then, it was using C library facilities such as system and popen for all this, and I had to deal with several bugs where those functions were being called with untrusted input as arguments without properly escaping metacharacters. Of course it was possible to chase around every such call inserting appropriate escaping functions, but this was always bound to be error-prone and one of the tasks that rapidly became important to me was arranging to start subprocesses in a way that was fundamentally immune to this kind of bug.
In higher-level languages, there are usually standard constructs which are safer than just passing a command line to the shell. For example, in Perl you can use system([$command, $arg1, $arg2, ...]) to invoke a program with arguments without the interference of the shell, and perlipc(1) describes various facilities for connecting them together. In Python, the subprocess module allows you to create pipelines easily and safely (as long as you remember the SIGPIPE gotcha). C has the fork and execve primitives, but assembling these to construct full-blown pipelines correctly is difficult and error-prone, so many programmers don't bother and use the simple but unsafe library facilities instead.
I wrote a couple of thousand lines of library code in man-db to address this problem, loosely and now quite distantly based on code in groff. In the following examples, function names starting with command_, pipeline_, or decompress_ are real functions in the library, while any other function names are pseudocode.
Constructing the simplified example pipeline from my first paragraph using this library looks like this:
pipeline *p; int status; p = pipeline_new (); p->want_infile = "input-file"; pipeline_command_args (p, "zsoelim", NULL); pipeline_command_args (p, "tbl", NULL); pipeline_command_args (p, "nroff", "-mandoc", "-Tutf8", NULL); pipeline_start (p); status = pipeline_wait (p); pipeline_free (p);You might want to construct a command more dynamically:
command *manconv = command_new_args ("manconv", "-f", from_code,
"-t", "UTF-8", NULL);
if (quiet)
command_arg (manconv, "-q");
pipeline_command (p, manconv);
Perhaps you want an environment variable set only while running a certain command:
command *less = command_new ("less");
command_setenv (less, "LESSCHARSET", lesscharset);
You might find yourself needing to pass the output of one pipeline to several other pipelines, in a "tee" arrangement:
pipeline *source, *sink1, *sink2; source = make_source (); sink1 = make_sink1 (); sink2 = make_sink2 (); pipeline_connect (source, sink1, sink2, NULL); /* Pump data among these pipelines until there's nothing left. */ pipeline_pump (source, sink1, sink2, NULL); pipeline_free (sink2); pipeline_free (sink1); pipeline_free (source);Maybe one of your commands is actually an in-process function, rather than an external program:
command *inproc = command_new_function ("in-process", &func, NULL, NULL);
pipeline_command (p, inproc);
Sometimes your program needs to consume the output of a pipeline, rather than sending it all to some other subprocess:
pipeline *p = make_pipeline ();
const char *line;
line = pipeline_peekline (p);
if (!strstr (line, "coding: UTF-8"))
printf ("Unicode text follows:\n");
while (line = pipeline_readline (p))
printf (" %s", line);
pipeline_free (p);
man-db deals with compressed files a lot, so I wrote an add-on library for opening compressed files (which is somewhat man-db-specific, but the implementation wasn't difficult given the underlying library):
pipeline *decomp_file = decompress_open (compressed_filename); pipeline *decomp_stdin = decompress_fdopen (fileno (stdin));This library has been in production in man-db for over five years now. The very careful signal handling code has been reviewed independently and the whole thing has been run through multiple static analysis tools, although I would always welcome more review; in particular I have no idea what it would take to make it safe for use in threaded programs since I generally avoid threading wherever possible. There have been a handful of bugs, which I've fixed promptly, and I've added various new features to support particular requirements of man-db (though in as general a way as possible). Every so often I see somebody asking about subprocess handling in C, and I wonder if I should split this library out into a standalone package so that it can be used elsewhere. Web searches for things like "pipeline library" and "libpipeline" don't reveal anything that's a particularly close match for what I have. The licensing would be GPLv2 or later; this isn't likely to be negotiable since some of the original code wasn't mine and in any case I don't feel particularly bad about giving an advantage to GPLed programs. For more details on the interface, the header file is well-commented. Is there enough interest in this to make the effort of producing a separate library package worthwhile? As well as the general effort of creating a new package, I'd need to do some work to disentangle it from a few bits and pieces specific to man-db. If you maintain a specific package that could use this and you're interested, please contact me with details, mentioning any extensions you think you'd need. I intentionally haven't enabled comments on my blog for various reasons, but you can e-mail me at cjwatson at debian.org or man-db-devel at nongnu.org.
Recently, Google started changing the web in some interesting ways. A lot by
contributing code. It started with projects such as the Chrome web browser,
which quickly achieved a market shares over 10%, which is more than Apple
Safari and Opera together.And the good side, Chrome did not actually add "yet another incompatible
platform", but by being closely related to Safari (or more precisely WebKit),
it is not that different.Other stuff that belongs into this category is the Google Web Toolkit and the
closure compiler (which essentially is a JavaScript code checker and optimizer).But recently, Google goes a step further. They started tackling internet
file formats. First they proposed a new Video codec known as WebM or VP8.
Now they extracted an image format out of this codec, known as WebP.There is some serious
doubt on the quality, the images do appear to be a bit blurry and lose
details. I concur with JPEG even being a bit better, despite the block
artefacts. The blurry results of WebP are not really convincing.The h.264 based image looks best to me, but H.264 is patent-encumbered for all
I know, so we might not see this new format in wide use until 2028. This
already ruled out other image formats such as JBIG or FIF. Or look at audio
formats: we're still using MP3 everywhere, because everyone tries to push
another patent-encumbered audio format that the others are not going to adopt.
So MP3 remains the only thing widely accepted (Ogg Vorbis is nice, but it looks
as if companies such as Apple are not going to adopt it, probably because they
have interest in other formats. Maybe the Ogg Vorbis support in Chrome will
help here on the long run).In particular, why would you pay royalties for a tiny bit of image quality,
given the constantly sinking prices of bandwidth? The H.264 patents may make
a difference on video data, they probably won't pay of for still images.Given that WebM is sometimes claimed to be a simplified H.264 (minus the patent
issues?), WebP probably is as good as we can get to the H.264 based quality
without running into the same patent issues?But enough on the image data. There is one thing, I'd really like to see Google
change on the web. The worst thing about the web is called JavaScript (or
more accurately, ECMAScript). There is just so much wrong with this language
that we really need to replace it ASAP.Some things that are wrong with JavaScript:
For some time, I've had this idea brewing for how the 'net would work
without DNS. Initially I was mostly thinking of how to get rid of the
dark side of the registrar business, but it appears that maybe it
could help with security in general too. It may not be feasible at
all, or I may have forgotten extremely crucial points. I'm not a DNS
guru, so bear with me and consider this as a thought experiment. This
is, however, a proposal for how the Internet could be made truly
decentralized, or acentric. Made so, because it currently is very
centralized on at least two counts: the DNS is an inherently
hierarchical structure of authority; and so is the situation with the
SSL certificates used for securing websites. Let's start with DNS,
if you will.
Basically, the idea is to replace the current Domain Name System,
which is centralised in nature (even if subdomains can be delegated)
with a fully decentralised system with no central authority.
The point of current DNS is to map names to IP addresses in a unique
way. It currently works by registering a this name is managed by
such-and-such server, ask for details at such-and-such IP address
message. Of course, since there's only one namespace (or a limited
number thereof, if you consider that TLDs are different namespaces),
there needs to be a central authority to resolve conflicts, because
some names will be more popular than others.
I propose to start with a cryptographic key pair (think GPG key).
Anyone can create their key pair; we assume that it's extremely
unlikely for two people to generate the same keys, and that it's also
very hard for two people to generate keys with the same fingerprint.
By (being the only one) knowing the secret part of a key, I am the
authority on what can be signed with it. I could for instance sign
records that say that www points to this set of IP addresses, and
smtp points to that other address. Within my area of authority,
which is to say within my domain. Which is identified by the
fingerprint of my key pair.
What do we have so far? A mechanism that allows in a decentralised
way to verify who's authoritative on the
F5566852EB92BD779CF137190EA756B5144843F5 domain . In DNS terms, more
probably F55...3F5.some-tld. Now let's publish the signed records
on a decentralised peer-to-peer network. I'm not up to date with the
latest trends in that domain, but I think something like Gnutella or
Freenet would qualify, since it doesn't need central hubs but only an
initial list of nodes, and it does automatic discovery of new nodes.
Projects such as the FreedomBox
(name likely to be changed) will probably help with that. Anyway,
when looking up www.F55...3F5.some-tld, the resolver gets the signed
record (and the public part of the key) from the P2P network, checks
the signature, and uses the contents of the record to determine the IP
address. No central or delegated registry involved at any point.
Lesser risk of a single point of failure, which means better
resilience against outages. Also, a better resilience against
DNS-based censorship, be it promoted by non-democratic states or by
greedy corporations.
Of course, F5566852EB92BD779CF137190EA756B5144843F5 isn't a terribly
easy name to remember or transmit. But the string of hex could be
presented to the user in some other form easier to recognize for
people without geek super-powers. My favourite would be the
bibi-binary representation, but I'm told that the bubble-babble method
works equally well. It would still be unreasonable to expect people
to remember such names, and especially to type them into their web
browsers or e-mail agents. A possible solution to that would be to
use a short form, such as 144843F5 (or its bibi-binary equivalent),
complemented by a visual representation of the full fingerprint such
as the one SSH does. That pair could be displayed on business cards,
email signatures, glossy brochures, advertisements and so on, and
allow users to just type the strange word or flash the 2D barcode,
check that the funny picture matches (in case the strange word returns
several results), and get the website they want. Which they can of
course bookmark under a name they can remember, probably even the same
name that everyone else uses to bookmark that website. And nothing
precludes convenient directories mapping names to full URLs (like
search engines currently do) as long as users check that the visual
representation of the site they go to matches what they've seen
elsewhere.
That elsewhere could, of course, take advantage of the natural web
of trust that emerges in of GPG-using communities. If I'm directed at
a website whose key I don't immediately recognize, then I can see who
trusts that key to be legitimate (by checking the signatures), and who
trusts them, and so on. Ultimately, the decision is mine to make,
and mine only. In any case, once I know what URL I want to visit, I
can be sure this DNS replacement will give me the right IP address (or
addresses). DNS servers replying with advertisement sites instead of
correct ones, and DNS-based filtering, will be things of the past.
Of course, having the right IP address only solves the attacks on the
DNS part. Eavesdropping can also happen by diverting traffic at the
IP level. But we have a trustable way to know information related to
a domain, so let's use it: the signed record can also contain the
fingerprint of cryptographic keys (SSL or SSH or whatever). So we can
be sure we're actually talking to the correct server, rather than to
some man-in-the-middle spy. With the same guarantees of correctness
as the ones for the DNS, backed by the web of trust and out-of-band
validation. Again, we get rid of the hierarchy of certification
authorities , some of which have been known for helping organizations
get at the (supposedly secret) data people exchange over the net.
To summarize: with this scheme, if I know the site I want to access is
F55...3F5, then I can be certain that a) I get the right IP address
for it and b) I'm actually talking to it. And nobody in-between
can intercept the traffic, if the site is properly administrated and
its private key is kept secure. And from the site admin's point of
view, there's no need to trust DNS registrars and SSL certification
authorities not to fool around with the data, or blackmail me into
paying increasing fees for keeping my URL working or my SSL key
certified. There's still the problem of the allocation for the IP
addresses themselves, but two major parts of the centralized and
hierarchical net can be gotten rid of.
There are proposals attempting to fix part of the problems already,
but they're incomplete. DNSSEC
only solves the authentication of DNS records, not the centralisation
problem. Monkeysphere aims at adding
a web of trust to the SSL certificates system, but the CA chain
problem seems to persist (although I must admit I'm not up to speed
with the actual details).
This is of course only a rough draft, full of technical considerations
yet certainly not exhaustive. I've thought about it though, and I
believe there are no theoretical problems with the implementation of
such a scheme (apart for the handling of expiration and revocations,
probably). The main obstacle to mass-adoption I can envision is the
UI part, and the entrenched habit of just typing a keyword into a
search engine and implicitly trusting its results, then blindly
trusting the website itself; but even if mass-adoption isn't reached,
I can't see anything wrong with giving those who want to be careful a
more secure Internet.
| 2.9 | 2.10 | 2.11 | 2.12 | 2.12+legacy | 2.12+shadow | 2.13 |
|---|---|---|---|---|---|---|
| UMS+KMS | KMS | KMS | KMS | KMS+UMS | KMS | KMS |
2.12+legacy to be useful for
the ever-buggy i8xx chips, those were blacklisted for KMS in the
i915 module as of
linux-2.6 2.6.32-21. The
plan didn t quite work out, so we moved to the shadow version,
relying on KMS again. At that point, we asked for the
removal of the kfreebsd-* binaries,
since they were unusable.
Kernel timeline:
| k 2.6.32-20 | 2.6.32-21 k 2.6.32-23 | 2.6.32-24 k |
|---|---|---|
| KMS | KMS + blacklist for i8xx | KMS |
sid, with the latest
-intel driver from sid as well. (That holds for other drivers
as well.)experimental s kernel.experimental s driver package (2.13). Feel free to
open a bug upstream
if there s none for your issue already, optionally telling us about
it (through a bug in the BTS which can be marked as forwarded
there).nouveau s ABI changes, libdrm s compatibility (for
nouveau users) is a funny subject. Nouveau users are expected to
have the following in mind (README.Debian is there already in the
xserver-xorg-video-nouveau package).
| 2.4.21-1~squeeze3 (sid) | 2.4.22-1 (experimental) |
|---|---|
| nouveau 0.15 | nouveau 0.16 aka 1.x |
| 2.6.32 k 2.6.33 | 2.6.34 k |
2.4.21 package so that we get
the bugfixes of that version while still using the 0.15 interface,
which is what we have in the sid kernel for now. If we need more
stuff from 2.4.22 for squeeze, we should be able to cherry-pick
them, or even adjust the ABI-revert patch quite easily.
For now (and in experimental anyway), the 2.13 version of -intel
is going to depend on libdrm 2.4.22, but cherry-picking fixes
should be easy; making it build against sid s 2.4.21 shouldn t be
hard either.
xserver-xorg-video-openchrome
It s now possible to start X with the openchrome driver again,
thanks to Nethanel s feedback on
#597379, but that doesn t mean it s
usable for real unfortunately, since users still report frequent
crashes.
I today deactivated my
Facebook account. It was some effort, because I had developed some Facebook
applications, and their page to reassign them to a different developer was
broken (actually the whole application edit page was broken).I have always been a "responsible" user, keeping good control over my data,
and usually just posting stuff that I'd tell anyone anyway. Facebook has
also always been some kind of "marketing" tool for me, being able to support
some friends by inviting people to go to their events etc.However, there are plenty of reasons to abstain from Facebook:
The bug webinterface of the
Universal Debian Database
currently knows about the following release critical bugs:
| In Total: | 767 |
|---|---|
| Affecting Squeeze: | 387 |
| Squeeze only: | 86 |
| Remaining to be fixed in Squeeze: | 301 |
| Pending in Squeeze: | 23 |
|---|---|
| Patched in Squeeze: | 41 |
| Duplicates in Squeeze: | 30 |
| Can be fixed in a security Update: | 32 |
| Contrib or non-free in Squeeze: | 10 |
| Otherwise fixed in Squeeze: | 24 |
Squeezereleased. However, with the view of the Release Managers, 232 need to be dealt with for the release to happen. Please see
Interpreting the release critical bug statisticsfor an explanation of the different numbers.
Around three years ago I've migrated my stuff to Subversion from GNU Arch. Last year I migrated most important/alive things to Git. Unfortunately not all, so I still needed to host SVN server on my own.
I think it's now time to get rid of it :-). In past weeks I've moved most Debian packaging stuff to some team/collab-maint repositories (being it Git or Subversion), because I really don't see need for hosting that stuff on my own.
The remaining repositories are mostly historical (with single exception of StarDict dictionaries conversion tools) and nobody will probably care if they are gone. Ah and there are some dead projects as well which were never finished and will never be :-).
Anyway svn.cihar.com is going to disappear soon and nobody will miss it.
Filed under:
Coding
Debian
0 comments
This last couple of days I've been dedicated making Gnus fresher.
I've decided to give a whirl on Gravatar support. I already tried the
gravatar.el lying on the Interweb, but well, it was crap: it used wget to
fetch pictures, therefore was totally synchronous. Reading each mail was
slower. The cache did not even have TTL, as far as I recall.
So, I've now wrote gravatar.el implementing the Gravatar API. Asynchronously
of course. With cache, TTL, etc. Perfect. :-)
Then I've composed gnus-gravatar.el, implementing a washing function adding
Gravatar for From field and/or Cc/To fields, like done for picons.
As I was expecting, the patch was badly received by the GNU guys, which
start talking about thinks like external resources, privacy, non-free
software, etc. Boring.
Fortunately, Lars allowed me to push the patch in git so everybody can give
it a try. I'm now waiting for feedbacks in order to know if I will have to
maintain this patch outside Gnus, or not.
Here's the mandatory screen-shot.
I finally found the time to port the scripts
generating these statistics to use the Ultimate Debian
Database (and especially its bugs webinterface). Parsing the HTML output of bts.turmzimmer.net was
quite insane and slow, but it worked... kind of. However it's now done:
The script now uses not that insane SQL queries and UDD, of which I have
been told has more accurate numbers as bts.turmzimmer.net, which uses to
the best of my knowledge the obsoleted ldap gateway.
Well, so much for the talk, here are the actual numbers, created with
the new script:
| In Total: | 799 |
|---|---|
| Affecting Squeeze: | 429 |
| Squeeze only: | 110 |
| Remaining to be fixed in Squeeze: | 319 |
| Pending in Squeeze: | 22 |
|---|---|
| Patched in Squeeze: | 57 |
| Duplicates in Squeeze: | 35 |
| Can be fixed in a security Update: | 12 |
| Contrib or non-free in Squeeze: | 18 |
| Otherwise fixed in Squeeze: | 40 |
Squeezereleased. However, with the view of the Release Managers, 260 need to be dealt with for the release to happen. You'll note, that the numbers got quite higher. Sorry, for that, but bts.turmzimmer.net seems to be kind of buggy :( You'll also note, that there is no longer a row for
claimedand
fixed in delayedbugs, as UDD doesn't support these numbers as of now. But I think you'll agree with me, that having more accurate numbers is better than having these rows.
The unofficial rc bug tracker
currently knows about the following bugs:
| In Total: | 371 |
|---|---|
| Affecting Squeeze: | 281 |
| Squeeze only: | 66 |
| Remaining to be fixed in Squeeze: | 215 |
| Pending in Squeeze: | 14 |
|---|---|
| Patched in Squeeze: | 40 |
| Duplicates in Squeeze: | 23 |
| Contrib or non-free in Squeeze: | 7 |
| Claimed in Squeeze: | 1 |
| Delayed in Squeeze: | 3 |
| Can fixed in a security Update: | 12 |
| Otherwise fixed in Squeeze: | 14 |
Squeezereleased. However, with the view of the Release Managers, 235 need to be dealt with for the release to happen. Please see my older post for an explanation of the different numbers.
As this year's admin, I wrote up the following summary which has now been
posted at the R site in the appropriate slot. My thanks to
this year's students, fellow mentors and everybody else who helped to make it
happen.
f:R^m -> R^n, through Automatic Differentiation (AD). Numerical evaluation of derivatives has widespread uses in many
fields. rdx will implement two modes for the computation of derivatives, the Forward and Reverse modes of AD, combining
which we can efficiently compute Jacobians and Hessians. Higher order derivatives will be evaluated through Univariate
Taylor Propagation.
Delivered:
Two packages
radx: forward automatic differentiation in R and
tada: templated automatic differentiation in C++ were created; see
this blog post for details.
Last modified: Wed Sep 22 19:39:43 CDT 2010
This morning, my laptop was stolen from my parked car while I was jogging. I do not want to make a big deal out of it.
Still, even though I am sure it was not targetted at my data (three other people at least were reporting similar facts in the same area), and the laptop's disk will probably just be reformatted, I am trying to limit the possible impact of my cryptographic identification being in somebody else's hands.
GPG makes it easy: I had on that machine just my old 1024D key, so it is just matter of generating a revocation certificate. I have done that, and uploaded it to the SKS keyservers - Anyway, here is my revocation certificate:
-----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: A revocation certificate should follow iHIEIBEIADIFAkyaOZwrHQJBIGNvbXB1dGVyIGNvbnRhaW5pbmcgdGhpcyBrZXkg d2FzIHN0b2xlbgAKCRDYDvNai7UnrzWAAKC34eF76JQjxrZqSjNwcC0dU/5VbACg gMIMmYg91Sl3y8KsZXdGj/rV7UE= =rdlT -----END PGP PUBLIC KEY BLOCK-----But What worries me more is access to the computers my ssh key works for. Yes, the ssh key uses a nontrivial passphrase, but still SSH keys cannot be revoked (and this makes sense, as SSH should not add the delay, or potential impossibility, to check with a remote infrastructure whenever you want to start a session). So, I generated a new key (and stored it at ~/.ssh/id_rsa.new / ~/.ssh/id_rsa.new.pub) and came up with this snippet:
$ OLDKEY=xyHywJuHD3nsfLh03G1TqUEBKSj6NlzMfB1T759haoAQ $ for host in $(cat .ssh/known_hosts cut -f 1 -d \ cut -f 1 -d , sort uniq); do echo == $host ssh-copy-id -i .ssh/id_rsa.new.pub $host && ssh $host "perl -n -i -e 'next if /$OLDKEY/;print' .ssh/authorized_keys" done
/[, ]/, but... I didn't think of that. Besides, the savings would be just for academic purposes ;-)
I m putting together a list of email server features that you should look for. I m thinking:
![]() |
Hello fellow developers,
The summer is over
The highlight this year has been getting almost all of our students at DebConf10. Thanks again this year to generous Travel Grants from the Google Open Source Team, we managed to fly in 7 of our students (up from 3!). You certainly saw them, presenting during DebianDay, hacking on the grass of Columbia, hacking^Wcheering our Debian Project Leader throwing the inaugural pitch of a professional baseball game or hacking^Wsun-tanning on the tr s kitsch Coney Island beach.
Before I give the keyboard to our Students, I d like to tell you that it will be the pleasure and honor of Obey Arthur Liu (yours truly, as Administrator) and Bastian Venthur (as Mentor) to represent Debian at the Summer of Code 2010 Mentors Summit on 23-24 October 2010, at the Google Headquarters in Mountain View. Like last year, we expect many other DDs to be present under other hats. We will be having 2 days of unconference on GSoC and free software related topics. We all look forward to reporting from California on Planet and soc-coordination@l.a.d.o!
All of our students had a wonderful experience, even if they couldn t come to DebConf, that is best shared in their own voice, so without further ado, our successful projects:
Multi-Arch support in APT
by David Kalnischkies, mentored by Michael Vogt
apt-get install MultiArch does mostly work now as most code is already merged in squeeze, but if not complain about us at deity@l.d.o! Still, a lot left on the todo list not only in APT so let us all add MultiArch again to the Release Goals and work hard on squeezing it into wheezy. Next.