Norbert Tretkowski: Iron Man
You are Iron Man
| Inventor. Businessman. Genius.![]() |
| Inventor. Businessman. Genius.![]() |
debconf debconf-2.0 or similar rather than just
debconf, in order that we can start rolling out
cdebconf as its replacement. Like most jobs that involve
touching the bulk of the archive, this looks set to take quite a while, as
the list of bugs should
indicate.
Recently it occurred to me that we didn't necessarily have to do it that
way round. In a bout of late-night hacking while staying awake to look after
a sick child (he seems mostly OK now, although the rushed trip to the
hospital earlier was a bit on the nerve-wracking side), I've shuffled things
around in the cdebconf package so that it no longer has any file conflicts
with debconf or debconf-doc, and changed the debconf confmodule to fire up
the cdebconf frontend rather than its own if the
DEBCONF_USE_CDEBCONF environment variable is non-empty. (The
details of this may change before it actually gets uploaded, as I'd like to
get Joey to look it over and approve it first.) This allows you to install
cdebconf, set that environment variable, and play around with cdebconf with
relative ease; when we come to switch to cdebconf for real, instead of a
huge conflicting mess that apt will probably have trouble resolving, it'll
just be a matter of changing a couple of lines in
/usr/share/debconf/confmodule.
Of course, don't expect cdebconf to be a complete working replacement for
debconf just yet; if you try using it for a dist-upgrade run it'll fall
over. Due to its d-i heritage, it doesn't yet load templates automatically;
that has to be done by hand. Frontend names differ from debconf's, which
will need some migration code. At the moment it can only handle UTF-8
templates, which are mandated in the installer but only optional in the rest
of the system. It doesn't have all of debconf's rich array of database
modules. I haven't adapted the Perl or Python confmodules yet. The list goes
on. However, I think we at least stand a chance of getting a handle on the
problem now.
(I'll post this article to debian-devel once the changes have been
reviewed and uploaded.)
In 2006 as in past years, satellite TV channel SFinfo at 13e will be broadcasting some sessions of the World Economic Forum, with both German and Original (often English) soundtracks (I think Left/Right split). If you have a satellite set, you can see what the barons of big business are saying: sometimes depressingly hilariously irresponsible.
At 16:00 UTC tomorrow (Friday 27 Jan), the session WEF Digital 2.0: Powering a Creative Economy is televised. Now, the only one of that panel who doesn't alarm me is the first one and that's probably only because I don't know who he is. Gather round, one and all, get ready to chuck the rotten fruit at the TV.
All I can say is: that is a small fish.
set header_cache="/path/to/some/directory" in your .muttrc file - things go 10x faster after the first cache.
In the same spirit of switching for a new year, I decided to switch my finances up a little bit. I'm currently migrating to using the StackBacks system for managing finances. This is the budget for the generation of consumers who would rather carry around a debit card than a bunch of cash, and is especially good for weaning yourself from credit cards. At the same time, I'm switching banks from a national chain to a local credit union.
<HTML></HTML>Danke, Microsoft, daß Du mich vor einer solch gefährlichen Seite bewahrt hast!
25 Jan 2006: google is taking a lot of heat online for agreeing to Chinese government content requests. I won't criticise the actual decision too much, because it's typical corporation behaviour: follow the money, like the rest of the World Economic Forum. If you're buying Chinese products just because they're cheaper, you're part of the reason they have the money and part of the reason that google is following them - corporations are seldom held accountable. If you don't like that, maybe you should Boycott Made In China as well as google? Conclusion If you believe that privacy matters, that bugs should be fixed (or at least answered) or that WEF is wrong, say no to google. Boycotting it will help to make the point.
In 2006 as in past years, satellite TV channel SFinfo at 13e will be broadcasting some sessions of the World Economic Forum, with both German and Original (often English) soundtracks (I think Left/Right split). If you have a satellite set, you can see what the barons of big business are saying: sometimes depressingly hilariously irresponsible.
evolution's widgets/misc/e-dateedit, a custom date field:
e_utf8_strftime (buffer, sizeof (buffer), _("%m/%d/%Y"), &tmp_tm);
You see that _("%m/%d/%Y") there? That means you'll only have a sane
(that is, non-American) date format if you're running with LC_MESSAGES
set to the format you prefer for dates and such. It also means extra
work for the translator as well as possible errors due to translators
having a personal preferred way to write dates. Using "%x" instead
fixes the problem (verified by binary patching
/usr/lib/evolution/2.6/libemiscwidgets.so.0.0.0, since I don't have a
very recent evolution source handy) and gives me nice and (semi-)sane
dates.
Bug not yet filed due to me being aboard an aeroplane.
Now I just have to fix the way to write dates in nb_NO.UTF-8 into the
same as ISO-8601, but that should be easy enough.
Update. I meant %x, not %c, of course
TEMP1= mktemp /tmp/tempenv.XXXXXX exit 1 perl $CONF_DIR/project.pl $@ > $TEMP1 if [ $? != 0 ]; then return fi . $TEMP1 rm -f $TEMP1There are several things wrong with this. First it uses a temporay file. Secondly it uses more processes than are required and thirdly it doesn't clean up after itself properly. If perl failed, the temp file would still be created, but not deleted. The last problem can be solved with some suitable uses of trap:
TEMP1= mktemp /tmp/tempenv.XXXXXX exit 1 trap "rm -f $TEMP" INT TERM EXIT perl $CONF_DIR/project.pl $@ > $TEMP1 if [ $? != 0 ]; then return fi . $TEMP1 rm -f $TEMP1 trap - INT TERM EXITOf course this can all be replaced with a single line:
eval $(perl $CONF_DIR/project.pl $@)
Next.