Search Results: "ag"

11 February 2007

Christian Perrier: fr: 99.817%, cs: 93.199%

Curves are again with the "right" slope. Thanks to Neil Williams upload for dpkg-cross. Good news also for libapache-mod-backhand who has been uploaded today. We're now left with atokx, atokx2 and wmmoonclock. Today, I worked on remaining issues of various ways to "break" PO files in a few packages. This was affecting the import of material in i18n.debian.net which I intend to get as clean as possible. That will mean a small bunch of NMUs for these package as they currently require hacks in the sync scripts, which I don't like. Ah, and Rapha l Poir e got a very last medal in biathlon..:-)

Andreas Metzler: gotcha in library packaging - gettext translations

I have realized today that we do not ship upstream's gettext translations in the Debian packages. Fixing this required a tiny little bit of thought. Upstream installs the catalogues as e.g. /usr/share/locale/pl/LC_MESSAGES/gnutls.mo. Shipping these files in libgnutls* would have broken co-installability of multiple versions of the library (libgnutls11 and libgnutls13). Since the translations are tiny currently (about 80KB) I did not go for a libgnutls-data package but instead simply versioned the filename.
--- gnutls13-1.6.1/po/Makevars.orig     2006-03-03 16:16:16.000000000 +0000
+++ gnutls13-1.6.1/po/Makevars  2007-02-11 10:22:01.000000000 +0000
[...]
 # Usually the message domain is the same as the package name.
-DOMAIN = $(PACKAGE)
+DOMAIN = $(PACKAGE)13

Rudy Godoy: invol crate+ - the report

In my previous post ( to this Debian section), I've mentioned we were preparing an event focused on direct contribution. Well, we've done it and it was very successful!. The event name we've choose was invol crate+, which means "involve yourself" and the plus sign meaning "more", since that was the main idea behind the event. We've worked for a couple of months, this includes live and online meetings, (even we all live in Lima sometimes it's quite difficult to match our spare time) and a lot of online work. We've just published the event report (currently in Spanish only, translation in progress). The main things I'd like to highlight is the fact that we got people doing real work and breaking the ice from "I want to do something, but I'm quite not confident to get on the teams" to people discussing work-related issues on our l10n-spanish list. I wanted to people directly learn and use the tools we do and also the infrastructure, so at some point I made the decision of make them directly work on our team's infra, this of course got some people inquiring if I was running a parallel project and complain about the quality, later I had to explain what was this rush of translations and that we were running this workshop and, yes, I knew the work was not going to be as we usually expect but they were quite new and we didn't have much time for have them learn all our policy, terms and all things one knows after being on the team for a while.
My girlfriend also involved herself and did some translation work and took pictures for me, cute. However, since I had an horrible issue with my main domain for email, and also because my time constraints, I didn't have much time to follow them up but I'm glad about what they did and that some of them are very encouraged and still working on the list. One of our goals was to get at least one people "hooked" on the direct contribution I'm glad to see we over-passed this goal. The report has the in-depth details, like number of participants, talks, also the problems we faced, as Diego describes (no, don't believe him, I wasn't acting as the contact/manager guy all the time, word). We had a dinner later with some of the people who still had energies or were hungry ;).
There is a pictures gallery at our website, also the talks slides, the videos are still on processing. We'll publish them once they are ready, like everything in Debian of course ;). Finally, I want to say that this was a great personal experience to transmit the things I've learnt and having people to feel that they also can do it, but even more: doing it!. Sometimes online chat or mailing lists are quite cold for transmitting this knowledge to newcomers. Usually they got scared after one tells them they have to read a lot, or they just got frustrated by their inability to understand the team work-flow at the very beginning. I'd like to thank our wonderful band, or squad (you named it, we can get it for you), who is responsible for making this happen. We are already working on the long-term (call strategic if you like it) plan for the up-comings invol crate+. We've already made a shot-term plan for this year and started to work on the next invol crate+, be ready.
Of course thanks to Peru Pacifico Institute where we hosted the event. We had a post-event meeting with them and directors are very happy with us and with the success, they are willing to work together again on the future. Also to our helpful sponsors, speakers, friends and relatives who support us.

Wouter Verhelst: Names

I'm not very good with names. Given names I can manage, but I quite often forget what people's last names are. However, I'm not all that bad in remembering what I know people from. I've taken up the habit of calling people by the project they're known by if I can't immediately come up with their last name. This works, as people usually know who you're talking about if you mention, say, Dries Drupal, Philip Tinymail, Thomas Gstreamer, Guido Python, Theo OpenBSD, etc. It doesn't sound as good when you say Linus Linux, but then usually everyone knows who you talk about when you just use his first name. I do wonder what I'd be known by, though...

Antti-Juhani Kaijanaho: Announcing darcs-monitor

There aren’t many features I grew fond of with CVS that I haven’t yet found a satisfactory solution for in Darcs. One of them was, until today, sending commit mails to mailing lists. There are a number of more or less ugly hacks floating around the net, but I never found them very satisfactory, so I wrote my own. Darcs-monitor will send email to a specified recipient about new changes added to a specific darcs repository. It can be run as an apply posthook (resulting in near-instantaneous “push” emails), or periodically from Cron, or occasionally by hand, whatever seems most convenient. You can get it by darcs at http://antti-juhani.kaijanaho.fi/darcs/darcs-monitor/ (darcsweb available), or as a tarball at http://antti-juhani.kaijanaho.fi/software/dist/. It depends on mtl and HaXml and is written in Haskell, naturally. It has been tested only with GHC 6.6 so far. For installation and usage instructions, refer to the README. Please note that this software is very new and thus can be buggy. As with any email-sending software, bugs can result in major annoyance; user caution is warranted.

10 February 2007

Daniel Baumann: Debian Live USB

In the past, live-package was only able to build ISO images and netboot tarballs. Then, I added the 'usb' target and as of today, with live-package 0.99.20-1, all autobuild flavours are also available as images for USB memory sticks. As before, the images can be downloaded from http://live.debian.net/.

Uwe Hermann: Capturing and replaying console/terminal sessions with script and scriptreplay

Have you ever wondered how you can easily capture a console session on Linux (and probably most other Unix-like OSes) without the need for special video recording software? Here's how: you can use the script(1) command (part of the bsdutils package). An even cooler feature is that you can replay a script with the correct timing information: See the script(1) and scriptreplay(1) manpages for more details.

Christian Perrier: fr: 99.787%, cs: 93.067%. And today's winners are...

...the maintainers of libapache-mod-backhand and wmmoonclock who just modified the debconf templates of their packages when sending uploads which were supposedly fixing the debconf translations. As a results, statistics are still going down, thanks to the excellent combined work of a few package maintainers. Highly motivating..:-( Still some progress for Czech, though, thanks to a few NMUs and uploads.

Bastian Venthur: Pimp My Boot Process (II)

I’m still working on a grub/usplash splashscreen in order to pimp my boot process. Let’s see what we have: Creating the grub image is rather easy. What’s obviously missing here is the correct position and color of the text stuff. Creating a working splash image for usplash was kinda tricky. I tried several HOWTOs which took a long time since I had to reboot in order to test the result. Unfortunately every attempt I made resulted in either a blank screen or the default fallback splash. As a last resort I took the source of debian-edu-artwork which has a working usplash, replaced their image with mine and rebuild the package. I don’t know yet why, but it worked. I plan to create package with combined grub/usplash(/xDM) artwork and several alternative themes, but since our usplash version is lagging behind upstreams I think I’ll wait until we catched up again. The new version is not backwards compatible with the old one and the new one as quite a lot new cool features like: which make it a lot easier to create good looking splash screens.

9 February 2007

Russell Coker: execmod

Ulrich Drepper has written a good web page about text relocation which is most often noticed as execmod failures reported when running SE Linux. When an AVC message reports a failure of execmod against a shared object it means that the object has text relocations (the shared object code writes to code that it executes to fix up addresses). This is due to being compiled without -fPIC or -fpic.

The command eu-findtextrel (from the elfutils package) when run with a parameter of the shared object in question will tell you which functions were compiled without -fpic or -fPIC.

The module in question must be recompiled with -fpic or -fPIC to generate the correct code.

Without SE Linux it's still a bug to compile a shared object without position independent code, so any shared object which can't run under SE Linux because of execmod will probably have problems in other situations anyway (maybe only on certain architectures).

Russell Coker: xen and yoyo

One of the benefits of Xen is that it allows a machine to be easily rebooted. Remote console and remote power management technologies are either expensive or implemented on the motherboards of expensive machines. With Xen the virtual machines can be managed without such expense and also with less effort.

This raises immediate possibilities for training sys-admins. One problem with training system administrators is that they need to have servers to administer and the mentor needs to be able to easily access them and fix them when they become unbootable. Xen makes these problems easy to solve on cheap hardware.

Monash University has for many years had a machine named Yoyo which is used for training sys-admins. It's not expected to be up as much as machines that are run by experienced sys-admins (hence the name) but I expect it would still have better uptime than a lot of corporate servers.

Unfortunately until recently there were no options available to people who weren't Monash students for learning about system administration. To solve this I want to run some sys-admin training with a server.

My plan is to set up a machine running Xen at a server room and provide a basic Debian install in a domU. I will then give the root password to a small group of trustworthy people (who I have known for some time or who are local and can be verified) and start the training. My plan is to set up a mailing list for emergency communication on one of my servers and have the trainees set one up for regular use on the domU. I will provide DNS secondary service and have an NS record for yoyo.coker.com.au point at the machine in question so the first task for them would be to run a DNS server.

I won't have unlimited bandwidth so I will track the bandwidth use from the dom0, and I will use the dom0 to make backups of the system via LVM snapshots.

The terms of service etc will be mostly copied from the Monash machine.

Please let me know if you have any suggestions for how to run this.

Hopefully this will work out and other people will want to do the same. If you run such a machine then please add a comment to this post with the URL for information on it.

Jeff Bailey: Wonderful Dentist in Montr al

I had the most wonderful dentist appointment this morning. [info]bbollenbach was so excited over this dentist http://www.smilemontreal.com/ - but it seemed mostly because they use lasers to do any fillings or whatnot.

I started off by going to their website to get the phone number, and found a web form there. I filled in information asking for an appointment. I got an email back on a Sunday night from the dentist saying that someone would contact me during the week. They were nice enough to call during the evening (which was funny, since I'd given them my work number assuming they'd call during the day, but I was here anyway that day) and booking the appointment was easy.

I got an email saying that they'd booked the appointment and a link I could click to get an iCal appointment. This didn't work in the Google Apps for Your Domain setup, but might if I were using local mail.

A day before hand I got an email asking me to confirm that I would make the appointment by clicking a link.

The place is a little further away from M tro Vend me than I'd thought - it's beside the Westmount Public Library. I walked in to find a nice spacious waiting room. The office manager / receptionist was very friendly, and this continued through to dealing with the hygienist and the dentist himself. I usually *hate* hygienists - most of the ones I'd met before hand had been dentists from overseas whose accreditation's hadn't been accepted here. So understandably bitter and annoyed. My only other good hygienist had been at the clinic in Toronto, but that was also the dentist who tried to convince me that there were no risks with using mercury fillings, and that she was exposed to it much more anyway, so why was I so insistent on white fillings anyway? (Worth noting that my plan *covered* white fillings, so it wasn't an issue of price or anything.)

The dentist was also a really calming presence, and answered my questions with a smile. I need to go back, so I'll know more about what he's like then. But so far I suspect I've found a keeper.

Ross Burton: Xrandr, postscript

If anyone out there has been using my Edgy packages for the new Xrandr love, then you'll notice that I've just deleted them... Daniel Stone, X hacker extraordinaire, has built updated packages. As he can actually use git I trust them more than I trust my own. They may blow up your machine and so on, but they are available here:
deb http://www.fooishbar.org/packages/ randr-1.2/edgy/$(ARCH)/
He also kindly built AMD64 debs, something that I cannot do.

Erich Schubert: DBus user bus?

So far, DBus has two types of busses: the session and the system bus. The session bus is used by most of your desktop applications. The system bus is used e.g. by Hal signalling that new hardware was added, or by NetworkManager for network connectivity changes. The system bus is protected via a security policy. Problems arise now when you need to locate your session DBus from a different session. For example, from a cron job. There is a DBus application called "notification daemon" which can display popup baloons. This is useful for signaling yourself e.g. the completion of a long-running computation or just about anything you want. But it's using the session bus, so you can't reach it from outside of your current session. A year ago, I wrote a hack for this, which will locate your current Gnome session, read the environment variable to find the session bus and then send a message to the sessions notification-daemon. This is an ugly hack, however yesterday and today people asked on #dbus precisely how to do this. It seems to be a common question. Maybe DBus should be extended by a "user" DBus, and applications such as music players or the notification daemon should actually listen on that bus (as well). Maybe it could also be made possible to (securely) locate your session DBus via the system bus, I don't know how detailed the security policies of the system DBus are.

Christian Perrier: fr: 99.716%, cs: 92.927%

French is going the wrong direction as I already explained, but it's interesting to see that Czech continues to progress. This means that maintainers are quietly fixing translations for their packages, which is still good. Few activity today, mostly because of an hectic schedule, being away from home. I essentially completed the translation of atokx, broken by its maintainer, and dealt with several answers from maintainers after I proposed some NMUs. It seems that I'm now reaching packages which are really maintained..:-) Yesterday also saw the beginning of a big update for apt-listchanges. Translations are coming in in a rush and I hope that Pierre will like this. Some translators even volunteered to use the (still experimental, and for a while) Debian i18n server, hosted here, in Extremadura.

Christian Perrier: Interacting with translators: what to do?

Holger Levsen made an interesting suggestion to me today: instead of whining against maintainers who do not interact with translators without explaining what I expect from maintainers, I should maybe explain what we expect. This makes pretty much sense indeed...:-) So, below is the mail I usually send to these maintainers:
Hello,
I just noticed new/modified debconf templates appearing for this
package.
I would like to suggest you to consider calling for translations when
introducing new debconf templates or changing the debconf templates in a
package or, if you prefer, to send a call for translations after uploading
the first version that introduces new templates or templates changes.
How to do this?
0) Install po-debconf
---------------------
If you test-build your package on your system, you shoud already have
it. Otherwise, consider apt-get installing it.
it will bring the needed utility.
1) Call for new translations
----------------------------
Just go to your package's build tree and use:
$ podebconf-report-po --call
This will propose you a generic mail which is to be sent to
debian-i18n@lists.debian.org and call for new translations.
This utility will mention existing translations to avoid duplicate
work.
It will also attach the needed material to this mail.
Please also think about giving a deadline to translators. We like
deadlines..:-)
2) Call for translation updates
-------------------------------
If your package already includes debconf translations (ie *.po files
in debian/po), please consider calling for translation updates if you
happen to change something in the templates...or just in case when you
release a new version.
This is done with the following command:
$ podebconf-report-po
This will build private mails to translators (ie people listed in
"Last-Translator" in the PO files) for translations that are
incomplete. These mails will included the needed PO file for each
translator.
3) Check for writing style compliance
-------------------------------------
The Debian i18n contributors have developed a set of suggestions for
the writing style of debconf templates, to give them an overall
consistency all around Debian. These writing style suggestions are
explained in the Developers Reference. Lintian also warns about common
writing style concerns.
If you change your templates to fit this, please consider 2), of
course..:-)
Of course, everybody will notice that this can be applied to any gettext-based internationalised software.

Roland Mas: Docbook-Slides to Docbook translator

I have a set of slides for an upcoming training session. They're written in Docbook-Slides, a customised version of Docbook for, well, presentation slides. That customisation is available for Debian in the docbook-slides package, which also contains a few XSL stylesheets to convert the slides into several HTML forms (with frames, without frames, with/without some Javascript helpers, etc.). Unfortunately, there isn't any proper way to turn these slides into something printable. You can get XSL-FO with other provided stylesheets, but since passivetex is no longer part of Debian, it's hard to get a PDF. Which is silly, since dblatex (as well as others, I'm sure) can turn plain Docbook into nice PDF files. So I took the time to read a fine XSLT tutorial, and came up with my very first stylesheet, which doesn't print out "Hello world" but rather turns a Docbook-Slides document into a Docbook article. Which dblatex is happy to convert to PDF for me. Let there be much rejoicing. I'm not sure it's a good idea to actually publish one's first snippet of any language, but I'll do it nevertheless, out of hope that I can avoid frustration for some people:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="slides">
<article>
  <xsl:apply-templates select="@*"/>
  <xsl:apply-templates/>
</article>
</xsl:template>
<xsl:template match="slidesinfo">
<articleinfo>
  <xsl:apply-templates select="@*"/>
  <xsl:apply-templates/>
</articleinfo>
</xsl:template>
<xsl:template match="foilgroup foil">
<section>
  <xsl:apply-templates select="@*"/>
  <xsl:apply-templates/>
</section>
</xsl:template>
<xsl:template match="speakernotes" />
<xsl:template match="*">
  <xsl:element name=" name() ">
    <xsl:apply-templates select="@*"/>
    <xsl:apply-templates/>
  </xsl:element>
</xsl:template>
<xsl:template match="@*">
  <xsl:attribute name=" name() ">
    <xsl:value-of select="."/>
  </xsl:attribute>
</xsl:template>
</xsl:stylesheet>
Attentive readers will notice that, apart from slides and slidesinfo, only the foilgroup and foil elements are converted. In particular, the speakernotes elements are discarded, because I figure they have no place on the printed document. If you need them, beware. I think I understand what they mean by "XSLT is verbose".

Luciano Bello: I know that one....



I know that one... Let me think... I have it on the tip of my tongue...

:)

Ross Burton: GUADEC 2007 Pre-Call for Papers

I plan on announcing the GUADEC 2007 Call for Papers in the next day or so, so I want everyone to put their thinking caps on and consider giving a talk this summer. There are several topics I'd like to see a good set of talks on:

MJ Ray: Dude, where's my ad budget?

Or: Collateral Damage by the Cult of Celebrity. Or: The Hidden Costs of Downloading Porn. (No, I've not seen the film filked in the post title.) I got a work call from the advertising manager of one of my customers. They are just starting out with pay-per-click adverts. I understand that it's been working OK for the last few months, increasing their number of sales and general interest by enough to cover the cost. In general, each time they refined their campaigns or spent a little more, they saw a positive result. I got a call because since the start of February, they were suddenly spending a lot more money, without any corresponding results. Was there foul play? Had a competitor noticed their adverts and kept clicking them from different browsers? In short, was someone running a click-fraud attack on them? This is the sort of question I enjoy. (I did a statistics degree, but I don't use it directly in most of my work.) I massaged the logs and computed some general-purpose statistics. First, I looked for obvious attacks: were any particular machines or domains responsible for most of the clicks? Most non-IT people use the same ISP at home and at work, in my experience, so if it was a particular competitor, I'd expect to see lots of clicks from one domain. Nothing really stood out. The next thing I looked at was the geographic locations, very roughly. The pay-per-click adverts are targetted at European users on European sites. If it was some sort of distributed denial-of-service attack, I'd expect to see some increase in American and Asian traffic. Where were visitors coming from? I looked up locations by the first part of the IP address, which is crude, but good enough for this. You could even do something similar with the the xkcd ipv4 map - it looked like most of the addresses were in Europe, which is what I'd expect. There was one interesting US grouping, but that turned out to be one of the ad networks checking their ad links were still valid. So, I compared the time distributions of clicks now with clicks a month ago (when the ads were working fine). There were increased numbers of clicks just before 9, just after 17 and midnight-4 local time. I could dismiss the clicks just outside 9-17 common work hours as people looking to buy for their hobbies, but midnight-4 is a bit strange. Looking in more detail, the midnight-4 clicks were coming mostly from ad placements on one site. Looking at that site, it seems they specialise in 'sexy videos' of celebrities. Needless to say, that was not my customer's intended target market! I used that information to look at the whole dataset and see how much of the increase was due to that one site. Almost all of it was from there. Scores per night. Did any of those visitors stay long? Nope. It even looked like some of them were just private web spiders, downloading a page and all links from it, which I guess people might use to bulk-download videos overnight. So those results were sent to the advertising manager and they've updated their campaigns to exclude that site and any others related to sexy videos. It reminds me of the John Wanamaker quote
"Half of my advertising is wasted, I just don't know which half."
Maybe by working out statistics from the logs, we can reduce it from half for web ads - or at least limit it to half?

Next.

Previous.