[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installed libbusiness-onlinepayment-bankofamerica-perl 1.00-1 (all source)



Ivan Kohler wrote:
> Description: 
>  libbusiness-onlinepayment-bankofamerica-perl - Bank of America backend for Business::OnlinePayment

Yipes! That's 8 characters longer than our previously longest package
name. It makes me wonder if we're not carrying consistency too far.

For what it's worth, a histrogram of package name lengths. Just for kicks,
I calculated[1] it for unstable and also for potato, and have superimposed
the plots:

num pot uns
2   39  52  ===*
3   183 308 ===============**********
4   272 438 ======================**************
5   310 534 =========================*******************
6   355 622 =============================**********************
7   420 736 ===================================**************************
8   371 704 ==============================****************************
9   303 598 =========================************************
10  343 662 ============================***************************
11  293 669 ========================*******************************
12  207 502 =================************************
13  174 411 ==============********************
14  175 360 ==============****************
15  118 283 =========**************
16  77  210 ======***********
17  74  203 ======**********
18  56  173 ====**********
19  53  137 ====*******
20  39  92  ===****               Key:
21  33  105 ==******                    * packages in unstable
22  15  53  =***                        = packages in potato (and unstable)
23  13  67  =****
24  16  45  =**
25  8   34  **
26  10  32  **
27  8   19  *
28  6   12  *
29  7   11 
30  5   8 
31  3   3 
32  7   2 
33  3   0
34  3   2 
...
42  0   1

I wish this looked more like a bell curve.

In the set of packages with names longer than 25 characters (89 packages),
I see:

lib-*-perl		21
kernel-whatever-*	33
xfonts-*		15
bleh-modules-*		5
misc others		15

In other words, a good deal of it is due to verbose boilerplate in package
names. I have to wonder if that leading "lib-" buys us anything at all[2], if
kernel-2.x.yy wouldn't be as clear as kernel-image-2.x.yy, etc. There's gotta
be a better way.

-- 
see shy jo

[1] grep ^Package: /var/lib/dpkg/available | perl -ne '@a=map { s/Package: //; $_ }<>; print map { chomp; length $_, "\n" } sort { length $a <=> length $b } @a' |uniq -c | perl -e 'while (<>) { ($a, $b)=split(" ", $_);  chomp;print "$b $a ". ("*" x ($a / 12))."\n"}' # who needs gnuplot?
[2] Compare libfoo-bar-perl with pl-foo-bar or something like that.



Reply to: