Search Results: "tats"

17 May 2008

Neil Williams: diff.gz stats

Romain, you might just want to check 471263 where there is disagreement over how this lintian test should or should not behave towards generated files. In particular, if a package contains a patch in debian/patches that causes upstream files to be modified indirectly (e.g. because upstream is old / quiet and hasn't updated the autotools stuff for years, any patch that affects Makefile.am or configure.in ac is going to cause changes in generated files and these changes should not be wrapped into yet more patch files because of the inevitable build failures when any of the tools used to generate those files are updated.

Your stats may also be out because of this problem - it is hard to see how lintian can resolve the problem cleanly without carrying a long list of "possibly generated files" and risking the list going stale.

There is more to the contents of .diff.gz than may meet the eye. :-(

Kartik Mistry: Inhumanity


* Somebody told that ‘This is inhuman‘. Now, please someone please preach similar to China!

16 May 2008

loldebian - Can I has a RC bug?: You can never be sure


You can never be sure

13 May 2008

David Welton: Restaurants, immigrants, and the popularity of various cuisines

A little off-topic exercise conducted in the "eye of the storm", when Ilenia and Helen were still in the hospital: A post on Seth Robert's blog brings up the idea that many Chinese restaurants were opened as a way to go into business without competing with native male workers. The post made the rounds of several other online journals. That was the push I needed to get up and go collect a few statistics of my own, regarding an idea I've been kicking around for a while. My theory is that the number of restaurants of a given type, divided by the number of immigrants from that country might be an interesting way of guaging the popularity of the cuisine in question. In order to simplify things just a bit, I actually used data from Italy, for the following reasons: Unfortunately, finding out the number of restaurants of various types is far from an exact measurement, and since this is a quick fun project, I just went for Yahoo search (they deserve credit for keeping their search API open when Google's was closed) results on terms like "Ristorante Turco" (Turkish), "Ristorante Messicano" (Mexican), and so on. This was the most expedient means of gathering information quickly, but this approach does present a number of obvious problems, listed here in the hope that someone without diapers to change and a business to run might come up with some good answers: That said, for a quick project, this approach seemed to work out ok, and the results appear credible. Obviously, the results also reflect people discussing certain cuisines, rather than an actual number of restaurants, but since it does reflect interest, we'll use the number in any case. Since the number of restaurants/interest in a type of restaurant was clearly not correlated directly with the number of immigrants, other factors must come into play. For instance, "ristorante giapponese" turns up 125,000 hits, but the stats say only 6873 Japanese nationals live in Italy. As above, hits don't mean actual restaurants, but clearly Japanese cuisine is not being popularized through immigration. Here's my guess: these statistics show, to some degree, what people in the host country actually like to eat. Food that tastes good means more restaurants. Things that aren't that popular mean few restaurants, even if there are many immigrants. To pick on one country, there are many Philippino immigrants in Italy, but very few search hits - and anecdotally, I've never seen a Philippino restaurant in Italy either, whereas even smaller towns like Padova have Chinese, Mexican (well, it's called that, even if it's a shadow of the real thing), Japanese, various Arab and middle eastern restaurants, and even a few less common things like Eritrean. And I know that many native and foreign restaurants employ Philippino cooks. Below is the chart I whipped up showing the number of Yahoo hits per immigrant. The Italian names shouldn't be too hard to figure out. A few tricky ones: Giordano-Jordanian, Giamaicano-Jamaican, Spagnolo-Spanish. If you're interested in numbers or source code, contact me. Immigrants and Restaurants

Kartik Mistry: [VAC] Till I get Debian machine!


* I have no longer pure Debian machine access available to me for unknown time :( So, obviously, I will not able to update my packages (most packages need no update and migrated into testing already, some are waiting for sponsor to uploads). All are under LowThresholdNmu. Feel free to do NMU without asking me, if RC/RG bug appears :) I will have IRC/Mail etc access though. Enjoy Madi! Meanwhile, I am enjoying beer, movies, learning Python and finishing readinglong pending books.

11 May 2008

Kartik Mistry: Santacruz in Kandivali


* While waiting for Kushal to wake up and get ready for office, I tried to organize my flickr pics and found this map: Looks like Yahoo people needs someone from Mumbai ;)

Christian Perrier: French over 100% !

If you look at the po-debconf stats pages, you'll see that, as of today, the French translators translated 9693 strings out of 9688...:-) We are so clever! This is actually an annoyance on the scripts that generate these pages. Sometimes, in packages, the debian/po/*.po files contain *more* strings than the debian/po/templates.pot files. This happens when maintainers do not run "debconf-updatepo" in the clean target of their debian/rules files. People, there is a lintian warning for this...:) We will try to correct this (actually, more Nicolas Fran ois than me, indeed) but that will make my stats less easy to do... So, "sadly", we are indeed only about 99%... That said, the NMU campaign is still going on. Portuguese is now ahead of Czech (ranked 3rd). Russian passed Swedish and is very close to Spanish for rank 7. And, among the most actives, Finnish and Basque are still climbing up quickly.

Kartik Mistry: oops. forgot it!


* Ooops. I forgot to thank my dear AM, adn, in public. My AM Report is out! Thanks a lot! It was really wonderful experience of NM Process with you enjoying ups and downs like real life from my side and learning something new from each mail from you :)

8 May 2008

Stefano Zacchiroli: vcs distribution stats for packaging

Some more stats: $VCS distribution for Debian packaging I've set up yet another stat page, this time it's about the distribution of $VCS for Debian packaging. It's as trivial as you can imagine: it gets all the Vcs-XXX fields out of unstable Sources and plot how many packages are using a given $VCS. I've got no surprises in the relative popularity of $VCS: subversion is clearly the most widespread (with about 2700 packages on a total of about 13000) and git is growing (700 packages); with the exception of bzr (90 packages), all the other are used by less then 50 packages. Thanks to Lucas I've also included graphs in the page, as I think it would be interesting to monitor the evolution. (Probably as everybody) I'm confident to see an increasing trend for git balanced by a decrease of subversion, we'll see. The total number of packages using some $VCS is encouraging, we are at about 29% of the archive (you know that if your package is not declearing some Vcs- headers in its source stanza I'm not counting it, right? Go add the headers!). Interesting side effect: as I'm now maintaining a handful of these stat pages, I was pondering hey, we should create a wiki page with pointers to all the stat pages about Debian we have . Well, in fact it already exists: Statistics on wiki.d.o.

6 May 2008

Julian Andres Klode: News on debimg


Well, you may have noticed that debimg 0.1 is still not released. But a lot of work happened over the weekend in my local branch. First of all, debimg’s set support is almost finished. I uploaded a tarball containing the differences between the official lenny weekly build from yesterday and a build created today by debimg, using the tasks of debian-cd 3.0.4 (after manual conversion to a format supported by debimg). Look at http://jak-linux.org/cdimage/tests/ for the tarball. Secondly, the dependency resolver has been rewritten. It’s a bit slower now (0.72 seconds for main), but creates much better results. Resolving the dependencies of all packages in Debian Lenny i386 in alphabetical order, debimg 0.0.X resolved 206 dependencies differently than apt. Now, these have been decreased to 15 dependencies, whereas 13 dependencies are false-positive (some packages were not installed because they were already installed). This means that only two ones were different, in this caseachims-guestbook and chdrv, which both depend on virtual-only packages (achims-guestbook: apache httpd, chdrv: console-utilities). The third big change is the addition of the hooks module. This module allows you to hook in custom functions, which have access to the Configuration object (ConfigObj) and the MediaSet. There are currently three types of hooks: pre_hooks (run before fetching packages, adding files to the disk), mid_hooks (run after the packages have been fetched) and post_hooks (run after the image has been built). Hooks can be added based on project and architecture, using a simple syntax which support shell patterns. (It’s ‘project/arch’). The hooks module uses python decorators to register functions. debimg 0.2 will switch to hooks for internal functions, too, like bootloaders and other stuff. The code has not been merged into the master branch, but I will hopefully be able to merge it tomorrow. The release of debimg 0.1 is now planned for this weekend.

Kartik Mistry: Todays fortune


* From world’s favorite time pass, Orkut: You have a strong desire for a home and your family comes first. * On Debian front since Sunday, I updated chmlib (Thanks meebey for reporting and pabs for quick upload) fixing horrible bug due to my overlook in debian/copyright (#479649) and uploaded new release of libyahoo2 0.7.6 to mentors. * And yes, I am bit sick from last 2/3 days. Stomach is bad :(

4 May 2008

Kartik Mistry: News: Not for me..


* I just removed all local and international news feed from Akregator feed list. They are not for me. Local news channels are full of IPL news only and international are useless for me. Also, deleted some useless feeds like my own blogs feeds etc. * In other news, I went to my first visit of any BLR mall today. Met Harsh at lunch and had good time and talk in Gujarati in Real Life. Feeling very very good. We went to some foo places for his PG accommodation too. And, me and Kushal went to yet another nearby mall, Garuda. Pretty nice and good eye-stoppers there. And got a book, ‘The Emperor’s New Mind by Roger Penrose‘. * Some time life worth to call it good.

1 May 2008

Lior Kaplan: Firefox triage has ended - 300+ bugs processed


It took half a year (including a long pause), and the Firefox triage is finally over. The last part, reviewing 120 bug reports took about a month. Starting with 324 bugs, the triage ended with 10 open bugs which I left for the maintainer to handle himself. Although I didn’t keep record about the exact numbers about how many bugs were found to be fixed, it seems that ~250 bugs were closed (fixed, not relevant any more, whatever…). This leaves ~70 bugs to be valid (all reassigned to Iceweasel and got the right version info). As I see it, the biggest problem of the large package maintainers have is to figure out if the bug is Debian specific or upstream only. The latter should be reported upstream by the users (when possible) to lower the pressure on the maintainers. I my recent triages I saw a lot of upstream only bugs reported only in Debian, since the maintainers can’t be just “bugs forwarders”. It might work well in small packages, but this doesn’t scale up. So when possible, please try and report bugs upstream… Anyway, I’ll probably initiate another triage for Iceweasel when version 3.0 will enter testing (probably post Lenny).

Kartik Mistry: Today


* Up late at 11 am. Chewed some mails and feeds. Searched for ATM nearby. Nothing found, Lunch ended up biscuits and dosa/idali. * Noon nap. Built kdelibs first time (2nd try, still going on). Built latest LDTP and uploaded to mentors. Waiting for dinner. Called Ks and home at eve.

30 April 2008

Luca Bruno: kaeso


Some of you may have already read of ksplice, a recently announced hot-patching system for Linux kernels. Given the actual kernel source tree and a security patch to be applied (which shouldn’t include semantic changes), it can build a kernel module with the fix which would introduce a trampoline to the bug-fixed object. The mechanism, along with other limitations, is described more deeply in the accompanying paper. An RFP was reported a couple of days ago, for which I’ve put an initial rough packaging under collab-maint with git (both source package and i386 binary are already available). All the things are still a bit unripe, thus before allowing it into unstable I’d like to find a co-maintainer (preferably with a good kernel knowledge :) ). So, if you found it useful and want to help, feel free to drop me a note.

29 April 2008

Julian Andres Klode: What will be in debimg 0.1


debimg 0.1 will be the first major milestone in the development of debimg. I will now list some changes compared to the current release, debimg 0.0.3 (Please note that the following text is from an internal NEWS file and may not be correct in some aspects, as it is already some days old) Support for disk splitting This release of debimg adds support for creating media sets, i.e. splitting the packages over multiple disks. This is achieved by providing a new class called MediaSet, which passes all calls to methods to all medias. When a package is added to a MediaSet, MediaSet tries to find the first disk where it can be added, by checking if all dependencies of the package are provided on the disk (or previous ones). This dependency checker does no recursive dependency checks, and can be disabled via OptimizedDiskSplitting = False (or no, n, 0…) in the configuration file. The MediaSet classes are also lists, so you can access disk one via the index 0. BaseMedia has been modified to also support being accessed via index, using disknumber-1 in order to have both classes share the same API. New data lists This release of debimg brings users a more powerful way to include packages. Instead of various keys to include packages, debimg now uses the Include key. To include packages, you have to use the ‘Include’ field. The value is a list of items, separated by commas. An item may either be the name of a package or a special form written as key:value. In this case, the following keys are supported: Task/Priority:
This includes all packages belonging to the specified task or priority. In
case of tasks, debimg first includes all Key packages, then the other
packages. Configuration files are easier This release of debimg makes it possible to build multiple architectures using the Architectures option. This option replaces the previous Architecture option, which is now set automatically by the script for each architecture. It also enables the Projects option, in case you want to build multiple projects. (All need to have the same MediaType and same NumberOfDisks). The project may also be cd-set, dvd-set, dvd9-set, netinst or businesscard. In these cases, MediaType is set automatically. [MediaType may also be moved in to data files]. This release also allows you to prefix any configuration value with path: in order to automatically convert the value to an absolute path. This is needed for many file options, but should not be used for some other stuff. Improved Jigdo Support debimg 0.1 allows you to define the public path (name) to (of) the image file and the template file that is written to the Jigdo file. Use urlgrabber for file downloading Starting with this release, debimg uses urlgrabber to download all kinds of files (except packages). A urlgrab call has been added to BaseMedia.addFile() which now understands http:// and ftp:// urls. Plugins (maybe) debimg 0.1 may introduce support for registering custom functions. This feature is low-priority, although required for easy development of Ubuntu-related code. About debimg debimg is a GPL-3 licensed software designed to replace debian-cd, a tool to create Debian images. For further information about debimg, visit the Wiki page. For more information about Debian, visit the website at www.debian.org.

Julian Andres Klode: Python Speed: x in list vs x in set


Well, this is my second post about speed in Python. Today, I noticed that debimg’s dependency resolver was much much slower than before. I thought what the problem could be and finally realized that the problem was that I switched from sets to list. This is fixed now in commit d0fd700080de5c19cb5fd66918d14c5ffa26e805 Now, some benchmarks (using IPython): In [1]: a = range(10**6) In [2]: b = set(a) In [3]: %timeit 10**6 in a
10 loops, best of 3: 31.8 ms per loop In [4]: %timeit 10**6 in b
10000000 loops, best of 3: 98.6 ns per loop 1ms are 1 million ns. Therefore, using sets is about 322515 times faster than using lists (or tuples). debimg can now calculate dependencies in 0.5 seconds again, instead of 1 minute with lists.

Kartik Mistry: 2 Months, 1 Day


.. I have not seen my son. .. I have not done any shopping (other than some junk food and beer). .. I have not watch any movie in theater. .. I have not stop thinking about ‘BLR Sucks’.

28 April 2008

Lior Kaplan: Why does Ubuntu puts Firefox transalation in gnome s language pack ? (2)


A day after presenting the question, seems like a user got a problem I didn’t thought of. He didn’t like Firefox 3 and decided to install Firefox 2 instead. The problem is that he now has Firefox 2 and the translation for Firefox 3 (from the GNOME package). Same problem occurs with the Hebrew interface… The solution is to manually delete the Firefox 3 files, and than install the mozilla-firefox-locale-he-il package. Don’t forget that this should be done on every update of the language-pack-gnome-he-base package (or any other language than Hebrew)! So who’s in favor of splitting the Firefox 3 translation to another package ?

27 April 2008

Lior Kaplan: Why does Ubuntu puts Firefox transalation in gnome s language pack ?


The other day, Tomer from Mozilla Israel contacted me to update me that the Israeli Ubuntu community changes the Firefox translation and doesn’t contribute the changes back. We sorted out the translation process with the Ubuntu people who were very open for comments. After that, Tomer mentioned he sees the changed translation in Hardy. I searched for the mozilla-firefox-locale-he-il with the right version, but it seems that package is still for Firefox 2. I checked the firefox-3.0 package itself to make sure the translations aren’t there, and indeed it only contains the en_US locale. Tomer told me he still sees the Hebrew translation but “dpkg -l grep firefox” doesn’t give up any other related packages. Tomer started to search his file system for the missing files, and I started to check out packages’ contents trough packages.ubuntu.com (well, I don’t run Ubuntu…). The files were found, and it seems they are part of the language-pack-gnome-he-base package. This sound very odd to me:
  1. Why link between GNOME and Firefox? (and while doing so, leaving out Tunderbird)
  2. What about people running Kubuntu? They probably won’t have GNOME installed.
  3. The package description says that it doesn’t include the Mozilla translations:
    Please note that you should install language-support-he to get full support for this language (spell checkers, OpenOffice and Mozilla locale packages, etc.).
  4. This change creates an broken upgrade path so it doesn’t support people upgrading from Firefox 2 to Firefox 3 in Ubuntu keeping their locale, as the firefox locale package doesn’t get updated, and doesn’t pull the new package.
  5. These packages were introduced about 1 week before the Hardy release. I would expect such a change be done in an earlier stage of the release…
I thought about starting to report bugs about a few of these issues, but it would be better to first hear what other people think about this.

Next.

Previous.