Search Results: "ag"

18 December 2007

Neil Williams: em_installtdeb

Further to my musings on a debhelper-type script to handle tdebs, I'm considering two modes:
  1. maintainer mode - the default. With no options, operate on all .po files in all identifiable gettext directories (if -d /^po.*/), creating absolutely minimal control data on-the-fly, installing the directories and the binary translation data (.gmo) and building the .deb for each translation (with nothing else in the package). Emdebian will use this mode when cross building.

  2. translator mode - when passed the name of a translation locale (either in the gettext form, e.g. sr@Ltn, or the filename form, sr+ltn) only builds a package for that po file. Should be relatively simple to create upload wrappers that can handle single translations in a similar manner to current uploads from porters.


Likely that some kind of update tool is going to be needed to retrieve the updated translations from the locale repository and merge back into the upstream package - which in turn means some form of "translation source" in the repository (the po file as a gz maybe?). Need to keep the POT file somewhere as a source file too so that new translations can be created easily. Such a tool would also need to be distribution-neutral as upstream may not be using Debian at all. Likely to investigate linkage with the Translation Project on an opt-in basis. (Not all upstreams use TP).
I can see an apt-locale package in the offing . . . - get source, build a single tdeb for a new or updated translation, query the locale cache, partner to langupdate . . .
Still not convinced on the script name: em_installtdeb because this script also generates stuff and the 't' is almost hidden in the name. (Eventually, I'd seek inclusion into debhelper and change the prefix accordingly).
Also not sure how to handle the package version string - this isn't commonly in the POT file (and may often be wrong or apply to the upstream version) but some Debian-compatible versioning will be needed. May need a stump debian/changelog that is discarded during building and which is generated within maintainer mode - i.e. held in the tdeb source.
Yes, I know some of this diverges from the Debian TranslationDebs approach but this is done with good reasons:
  1. Emdebian does not want more than just the translation binary files in the tdeb package.

  2. To get a working implementation soon, Emdebian is doing without the .tdeb suffix and going with .deb

  3. No dependencies at all

  4. No "language packs" as Emdebian needs full control over individual translation files, not over mere collections of localisation support files.

Norbert Tretkowski: MySQL 5.0.51 uploaded to Debian

Yesterday in the evening I uploaded MySQL 5.0.51-1 to Debian unstable. Unfortunately it took a bit longer to prepare the updated package than expected, mainly because 5.0.51 wasn't MySQL's best relase, and I had to backport and include some fixes from 5.0.52 and 5.0.54 to get it working (see the changelog for details). Then I had to wait a few more days until 5.0.45-5 got into testing before I could finally upload 5.0.51-1 to unstable.

The most important changes are:Regarding the Community vs. Enterprise decision I had a discussion with Kaj Arn , Lenz Grimmer, Daniel Fischer and Monty Taylor on IRC last week and we decided to stay with the Community Edition in Debian for now, and see what the future will bring us.

Michal Čihař: We need quantity and not quality

Working on the project here at Japan is sometimes really fun. Tomorrow we have important delivery and this afternoon out Japanese colleagues decided that 2000 pages describing our software solution is not enough. They need at least 500 extra pages. Fortunately it could be any existing documentation, so we randomly choose POSIX standard Part 1 (535 pages) and the Eclipse basic tutorial (592 pages). Japanese guys were really happy that they have 1100 more pages and we're happy that we don't have to produce more documents. Now I only wonder why the hell customer is interested in quantity of paper and not in quality of work.

Chris Lamb: PDF calendar generation

As an alternative to those Christmas “round robin” letters, my mum likes to create a calendar to send to relatives. This year, I rewrote the original crufty PHP script in Python:
usage:  pdfcalendar [options]
 Generates a simple PDF calendar for the specified year, one page per month,
 optionally using images in the specified directory.
 To use images, use the --dir argument to specify a directory (or leave empty
 to use the current directory) with the structure:
      -- 01
          -- s6000001.jpg
      -- 02
          -- s6000002.jpg
         \-- s6000003.jpg
      -- 03
         \-- s6000004.jpg
     etc.
 Images will be included on the appropriate month's page. If multiple images
 for a month exist, they are tiled horizontally.
options:
  -h, --help            show this help message and exit
  -d DIR, --dir=DIR     Directory to source images (Default: '.')
  -y YEAR, --year=YEAR  Year of calendar (Default: next year)
  -o FILE, --output=FILE
                        Output file (Default: calendar.pdf)
  -q, --quiet           Don't print status messages to STDERR
GPL3+ source available in Git. Would love a patch that tiles images in a square if anyone has a spare moment.

Martin F. Krafft: Taxes and wars

I was considering importing my car to Switzerland. When I moved in 2002, I asked the customs office about the process and was told that I'd need to pay taxes and fees, so I postponed the import until Day Unknown. Today, a very friendly customs official told me that this is not true and that I could have imported my car duty-free if I had done so as part of my move. Slightly annoyed, I went on to discover what those duties would be today. I found out that there are seven different types of fees I'll have to pay, and tried to understand the reason for these fees:
  1. To import a car, you need a form 11.010, downloadable from the Swiss Customs Office. Because each download causes extra work for the administrator, they charge a nominal fee of CHF 0.70 to get the PDF file.

  2. I take that form to the customs office. There, the officials will assemble around the car and attempt to lift it. I don't know why they do that, but they charge you between CHF 12 and CHF 15 per 100kg of weight. I think it must be recompensation for the hard physical labour. Also, each customs official can lift 100kg, which explains those figures they seemed a bit arbitrary at first.

  3. Next, they'll ask 4% of the estimated value of the car as a car tax. They do this because the value of a car is directly related to the area it covers, and since Switzerland is so small, you effectively have to buy a couple of square metres for the car. It's not quite as easy as that though: once I bought the area under my car, I have to move the car away, because I cannot park my car on the area I just bought. I have to buy parking space for that. If I don't want to buy a parking space, I have to keep the car moving. In order to keep the car moving I need to fork over CHF 40 per year for a permit to drive the car on Swiss highways.

  4. Now, I pay 7.6% value-added tax. It makes no difference that the car isn't new, that I am not selling or buying it, nor that I have already paid 16% VAT in Germany when I bought it. Since I am about to "consume" the car in Switzerland, I have to pay consumer tax. Since I also consume the physical labour the officials put into the car lifting exercise, as well as the area under the car I bought, I pay VAT for (car value + lifting tax + area under car). Unfortunately, the European Union will not pay back the consumer tax I previously paid as part of the export, since I already consumed the car there.

  5. I then get a report about the import. This costs CHF 20. I don't need this report, but I have to buy it. The reason is that the computer admins are so overworked serving PDF files to future importers that they have not had time to stop the computers from printing this report, and the special paper and toner used by all administrative offices in Switzerland costs about CHF 20 per page. An alternative explanation is that CHF 20 is the smallest bit of "money" in Switzerland, everything else is "change".

  6. I will also have to pay annual taxes for possession of a car, the value to be determined by the custom officials. Since I already paid for the area under the car while moving and while stationary, I think the annual car tax is levied for environmental reasons. A lot of people drive through Switzerland to get from Germany to Italy or from Austria to France, pumping a lot of exhaust gas into the Swiss air. This makes them guilty, just like inhabitants of Switzerland who own a car are guilty. Due to legal reasons, the Swiss government can only punish Swiss people for those sins, so the annual car tax is a little higher to cover for all environmental damage. It is doubtful where the money goes, though. I also have to continue paying taxes in Germany, because I still have a residence with my parents.

  7. Finally, I have to purchase a car insurance. That insurance does not insure the car, it insures the others on the road. Actually, it is a driver-car-dependent insurance, meaning that the others are insured only if I am the driver of my car. If I drive another car, or someone else drives my car, the others will not be insured. unless I pay higher insurance fees. Because cars with a larger area under them and those that require more people to lift them are more dangerous, the insurance fee is proportional to the car density. At least I can give up my German insurance and be covered by the Swiss insurance. However, I cannot keep my German insurance and be covered in Switzerland. I think this is because the head of customs department and the CEO of the insurance company have sex with each other.

It's been a great day, given how much I learnt. I finally understand why people have fought wars over taxes. I think I may leave the car in Germany. PS: Yes, this post may be considered hyperbole. NP: The Pineapple Thief: 8 Days Later

Russell Coker: The Net - Good for Literature

A recent news article has Doris Lessing (a Nobel prize winner for literature) claiming that the net has “created a world where people know nothing” [1]. However the Internet is a great tool for learning for people who choose to use it in that way, for example I have learned many interesting things from reading Wikipedia and following the links which I probably wouldn’t have learned in any other way. Criticising the Net for the lack of reading by the population makes just as much sense as criticising newspapers. She gives an example of a North London school where the library was under-utilised and compares it to schools in Africa where students beg for books and claims that the Net is at fault. But you could just as easily blame newspapers as Britain has some of the worst examples of tabloid journalism in the English language - of course Britain also has some really high quality papers and anyone can choose which ones to read. I think that when children don’t have much interest in reading it’s more sensible to criticise the education system. The article is not that great either, one significant flaw is referring to Elton John as “another creative type“. No, Elton is a formerly creative type who’s afraid that the pension he expected from his back catalogue is threatened. Ex-artists who complain about the Net merely demonstrate that for them it’s not about the music. The Wikipedia article about Elton John [2] documents his career and you can see that since the late 80’s it’s been steadily going downhill. To create literature you must read it - which doesn’t mean being close to old-fashioned libraries (as Doris claims). Currently I am trying to write science fiction, largely inspired by Cory Doctorow [3] and www.365tomorrows.com/. One good thing about the Internet is that there is a reasonably level playing field that everyone can compete on. Bloggers compete for readers using all forms of writing - including literature. The speech has more information about Zimbabwe [4] and the difficulties faced by people there who want to learn. One thing that has the potential to improve the situation there is the One Laptop Per Child [5] project. Such a laptop costs about the same amount as 20 novels (based on US prices) or 5 text books but can be used to store many more books.

Adam Rosi-Kessel: Gabe and Max

Via Steve Via Ze: Gabe and Max’s Internet Thing. “Very funny.” A sequel. “Also funny”:

Bastian Venthur: On #422085 and #417256

Since I received a terrifying amount of insults via mail for not implementing this feature request after my last blog entry, where I asked for help developing rng, I’d like to make my position about this issue clear. Why I was opposed to implement it:
  1. I personally hated that some packages sent a huge amount of unrelated info with every bugreport for this package, even if it’s not meaningful for this bugreport. I made a quick check against my favorite package with a very long output and thought (and still think) that this info is not even relevant for the majority of bugreports of this package. So I thought it was not too much to ask, to write the reporter a friendly mail to post the output of this script, if it’s really needed.
  2. I was personally very annoyed by packages with very long presubj text, which I doubt anyone reads anyway. Since I don’t want rng to be annoying to the users, I decided to leave that feature away. An implementation of this feature would mean to pop up a window with some text the user should read before continuing to report the bug. I don’t like popups and don’t want rng to make use of them.
  3. I’m definitely opposed to a feature which will pop up a terminal where a user has to do something before he can proceed reporting a bug. Sorry, but this won’t happen in rng. I might consider such a thing if it could be scripted to use QT or even GTK but a terminal popping up in a GUI application is a no-go for me, sorry.
  4. I was personally very annoyed by some of the reactions on this bugreport. Since we’re all volunteers and stuff and this feature is maybe a nice-to-have but definitely not a must-have, I decided to put this issue very low on my to do list.
However, I agree that the stuff in /usr/share/bug isn’t completely useless. The opposite is true, it makes the life of maintainers easier and rng should make use of it where possible. So what can we do now? Maybe we can start all over and discuss this issue in a more friendly and constructive way? Here’s my offer: rng will support bugscripts, but it will not feature a terminal popping up asking a user questions. I’m developing a GUI application and a popping up terminal is not very GUI’ish for me. What can we do about this? Is there a way to implement this? Supporting presubj might be okay too, but I don’t want rng to be annoying. Popups are annoying and having to read the same stuff again and again when reporting multiple times on the same package is annoying too. Maybe rng could spawn a pop up with a checkbox “Don’t show this text again when reporting a bug against this package”? Maybe we could have an option in the (not yet implemented) preferences window where we could suppress those messages completely? And please, don’t use abusive language or even insults when contacting me about this issue. My rng-time is currently very limited and my motivation to work especially on this issue is already very low. We’re speaking here about a fully optional feature. Providing the output of some scripts or having to read a presubj is helpful, but not mandatory when reporting a bug. So please, be nice! I really don’t need all that stress right now.

17 December 2007

Neil Williams: catching up

The blog has been quiet but I'm not. :-)
Sometimes things happen in a flood but, in my life, that only happens after a prolonged period of thinking, planning, breaking, fixing, swearing and testing. Right now, I'm in one of those intervening periods when lots of things are just concepts and it also coincides with a period of more-than-usually stressful paid work. (Those who are familiar with healthcare will be aware of the national panic that ensues when things close down for just two days).
So what am I conceptualising?

I've got a few minor things to do in the meantime but expect another flurry of visible activity towards the end of the week.

Christoph Haas: Tracking down Postfix breakage due to a libnss-ldap.conf upgrade

Now this has really been a waste of time. Months ago I convinced myself that NIS isn’t really a modern way to keep my user accounts network-wide - be it even only my home network. So I tried libnss-ldap and read wiki.debian.org on LDAP and literally found dozens of documents that describe how to do [...]

Russell Coker: Christmas and New Year

Christmas is billed as a family occasion and a huge amount of advertising money is spent convincing people that they need to have big expensive family events. This is good for the advertisers but not good for people who have no family to meet up with (orphans, people who live in different countries to their families, and people who don’t get along with their relatives). If any of your friends don’t have an event planned for Christmas day then it’s a good idea to invite them to your family party if possible. When I was younger there were two occasions when friends who didn’t have a possibility of attending a party with their own family attended a Christmas party with my family. Unfortunately I’m not in a position to make such an offer this year, but I encourage everyone who knows of someone with no plans to consider the possibility of inviting them to a party. Another possibility is that Linux people who have no option of a family party could arrange a Linux community Christmas party.

David Welton: Announcing Hecl Android Alpha and Hecl Android Developer Challenge Entry

Alpha Android Hecl I'm a little bit nervous about the idea, but I decided that I might as well release early, because for the foreseeable future, there's always going to be "one more feature" I could add. So, without further ado, I'm going to announce that I have a version of Hecl running on Android that has a access to a number of Android wigets. It is available here: http://www.hecl.org/Hecl.apk Hecl Android Demo However: this is an alpha release, for those interested in hacking on it. If you are bothered by broken code, don't like to report bugs, don't want to think about how to improve it, complain loudly about missing features, then this code is not for you yet. Soon, I hope, it will be stable and useful for many more people, but for the moment, a lot of things are up in the air: Of course... Hecl itself is a pretty cool language, I like to think, and the fact that it's interpreted means that you don't have to recompile anything, you just
  1. Edit your script.
  2. Replace the script in the zip file: zip -r bin/Hecl.apk res/raw/script.hcl
  3. Load it up on the emulator: /opt/android_sdk_linux_m3-rc37a/tools/adb install bin/Hecl.apk
You can do other cool things too, like downloading bits of code over http and running them. Hecl @ Android Developer Challenge I hope that people interested in hacking on Hecl will do so because it's fun and interesting. Being an early adopter means you have a lot of influence in shaping the future of this programming language, and the API's to interact with Android (or Java ME if that's your thing). However, seeing as how Google has put together this contest: http://code.google.com/android/adc.html I have decided to submit the Android port of Hecl, and split the prize money, should we win any, with those who have contributed to Hecl. That includes any and all contributions to Hecl, whether or not it's directly related to Android or not. So, with documentation, Java code, Hecl code, tests, and even improvements to the web page as valid things, there's room for everyone to get involved. Of course, in order not to paint myself into a corner, I reserve the right to make final decisions about percentages, but it should be roughly equivalent to lines of code added, deleted or modified (yes, deleted counts too - if you make the project that much slimmer without sacrificing functionality, that's wonderful!). Also more than welcome are people who want to submit their own projects to the developer challenge based on Android. We make no claim to your winnings, and we'll be happy to give you a hand. Interested? Join the Hecl mailing list, that's where all our discussions take place: http://sourceforge.net/mailarchive/forum.php?forum_name=hecl-devel Hope to see you there!

Eddy Petrișor: spechless

Why don't you replace it with a lioness?

I am sure some people will say I am missing something...

This political correctness has went too far once again.

Erich Schubert: Linux adoption progress

Linux has already been the main OS here at the computer sciences for some time. The computer pool was just switched to Ubuntu, after having been on SuSE and OpenSuSE for the last 6 years or more. With the latest hardware upgrades, our computer lab is nicer than ever: dual-core AMD64 systems with 2.6 GHz, a couple of them with two LCD screens connected (which is great for developing, having the editor on one screen and documentation on the other). I wonder if the machines spend more than 1% of their time at full CPU speed - I havn't seen any running at more than the minimum 1 GHz.But one thing I've noticed, which has changed: even those people I can see in the lab having their own laptop with them have Linux running.A few years ago, most people bringing their laptops were doing so to have Windows around. Now with the nice dual-screen setups here, bringing along a laptop to have Linux is less attractive than ever. Still more people bringing their laptops run Linux anyway.I figure this means that they've noticed that the DEs a Linux system offers is very useful (granted, and more to what they have at the university when they don't have their laptop around. However the main part - Java and Eclipse - actually wouldn't differ). They still dual-boot (I overheard something about 'on Windows, this and that and foo) - and even accept the effort of dual-booting to get the Linux benefits.In a few years, will there still be Windows developers you can hire, when everybody studying computer science is being taught Linux? (Granted, not all universities have made the full switch to Linux for their computer sciences)P.S. I'm not involved with the computer admin group; for detailed inquiries you should talk to them directly. Especially for e.g. software distribution questions and such. Oh, and I heard that the servers were running Debian for some time already, while the clients were OpenSuSE. So maybe they still are Debian.

Daniel Leidert: FYI: docbook-defguide 2.0.17 ready - Sun Java vs. GIJ building the package

Ok guys. After spending several hours of this weekend to package the latest release of Norman Walshs DocBook: The Definitive Guide, I’m now proud to tell you: It’s done! I was able to build the package with a free Java engine (GIJ) so docbook-defguide can stay in main. However, it was some kind of disappointing: Sun Java needs an hour and a maximum heapsize of 512MB to build the package on my system. GIJ needs 16 hours and a maximum heap size of 1GB to build. kaffe, which I tried too, fails much earlier than GIJ with a maximum heap size of 512MB. So I decided against it and for GIJ. If you know of a way to speed up the build process (besides the possibility to buy a faster system … except you want to make it your christmas or birthday present for me *g*), don’t hesitate to tell me. The packaging files are in the Debian XML/SGML groups SVN repository. However, expect the package in your Debian repository soon (guess, my sponsor wants to rebuild it, which may need another 1x hours :)). Update Ardo van Rangelrooij kindly offered to build the package on an AMD X2 4600+ with 6GB. The build time decreased to at least 7-8 hours. The package will be uploaded to the Debian archive within the next days.

Jose Luis Rivas Contreras: This is spam?!

I was checking my mail and saw a message to debian-mentors@l.d.o with: please get me a sponsor.u can contact me on 00026774674834 or 000256714146928.am daneal aged 19 thx If this is spam then it was designed very well, if not, why any sponsor needs your phone numbers or your age?! Really weird.

John Goerzen: Ice Photos

For those of you wanting to see some pictures from the recent ice storm, here you go.

The morning:

img_4166.jpg

This bush sorta got short and flat:

img_4173.jpg

A tree branch:

img_4183.jpg

And another:

img_4185.jpg

Then, at noon:

img_4200.jpg

Then the snow came:

img_4229.jpg

If you have trouble finding the driveway... well, good thing we've got reflectors.

img_4253.jpg

The rental generator that kept us warmish:

img_4262.jpg

More snow:

img_4287.jpg

You can also see the whole set on flickr.

Ross Burton: Gypsy Hacking

Last night I sat down and hacked a bit more on my Gypsy status monitoring tool thingy. Basically, it shows you all of the information from the GPS, and is mainly useful for checking that the data being sent by Gypsy makes sense. Gypsy Status It still needs a fair amount of work, the layout of the labels on the left is clearly sub-optimal and I'd like to have a marker on the satellite image to precisely locate you, but apart from that it's coming together nicely. NP: Storm, Heather Nova

Jose Luis Rivas Contreras: libtorrent/rtorrent 0.11.9/0.7.9 ready!

Like 7 hours ago I finished the new upstream releases of libtorrent/rtorrent 0.11.9/0.7.9, there're amd64 binaries availables here for libtorrent 0.11.9-1 and here for rtorrent 0.7.9-1, this release fixes some segfaults issues because of GCC-4.2.X and fixes some PEX issues. Right now waiting for libtorrent to be uploaded and then consequently rtorrent.

Russell Coker: Debian Developers Meetings

David writes about the concept of having a central resource for arranging meetings of Debian Developers [1] (or other targetted special interest groups). It seems that the best way to implement this is via a Wiki. The main page would have links to one page per country, and then the residents of that country could create pages for each state/province/city/whatever. Each page would then have information on mailing lists, web pages of local organisations, etc. To get this started all we need is someone with a public wiki to create a top level page and invite submissions from others. Is anyone interested in doing this?

Next.

Previous.