Search Results: "uli"

23 October 2008

Julien Danjou: Quarter

I've just turned up a quarter of century. :-)

21 October 2008

Julien Danjou: Debian bug sprint

I want cookies.

Julien Danjou: awesome 3.1: more changes

A lazy morning again, so you'll enjoy another short list of changes in the upcoming awesome 3.1 (first one is still here): Not too much changes, I've spent something like a week thinking and writing the 2 last points. I've now a bunch of things to finish and I think we'll go for a RC release in something like a couple of weeks.

19 October 2008

Julien Blache: Digi AccelePort drivers updated to 1.3-14

Digi released a new beta release of the dgap drivers a couple of days ago, notably fixing the build issue (TTY flip buffer) with newer kernels. They now ship two versions of the driver, one suitable for 2.4 and 2.6 kernels up to and including 2.6.26, and one for kernels 2.6.27+. The appropriate version will be picked up automatically when the module is built, of course. APT source line, unchanged: deb http://debian.technologeek.org/ etch non-free The packages are still built for Etch; Sarge users should stay with 1.3.6 (unless running a newer kernel, but then a rebuild of the userspace tools is required). Feedback at the usual address.

17 October 2008

MJ Ray: What topics do you want to read here?

I’ve just set up a poll on my site asking: what topics do you want to read here? Since this July, when cycling and most local and political themes were split off into other blogs, this site has been mostly Web Development and GNU/Linux topics, with an SPI article appearing most weeks, and minor themes of Koha news and ideas and general internet/telecoms issues around ThePhoneCoop. Finally, Drupal, OSCommerce and general business topics appear less frequently. By traffic, the SPI series seems by far the most popular (but at least one of those is heavily spam-attacked now, so I’d discount it), followed by other political themes, then the technical posts. I suspect that politics is getting a temporary boost because of the US and Canadian elections, even though I’ve not written about them much. But is there some other theme that people want to read about? The poll box on the right column lets you tick as many or as few as you want. It requires javascript, but if you don’t have javascript, please leave a comment on my site. If you want to suggest a new topic which I should add, please leave that in a comment too.

15 October 2008

Joachim Breitner: Infinite loops in Haskell

Just some small thoughts about cyclic lists in Haskell. Every Haskell beginner knows that you can use infinite lists, as long as you don t fully evalute them. So, this is perfectly valid
endless = [0..] -- All natural numbers!
main = print (endless !! 10)
It will not crash, but print "10" as the list has not been fully used.What happens if we take a piece of the list further down, let s say at position 1000000000:
endles = [0..]
main = print (endless !! (10^9) )
If you try this at home, better run "ulimit -S -v 1000000" before, because then you ll get "test: out of memory (requested 1048576 bytes)" instead of a sluggishly swapping machine. What happened? The long list will be evaluated, and fills the memory. Does this mean that we can not use arbitrary long lists? Let s try a special case: A list that is infinitely long, but repeating the same values all over again:
list = "Oh, happy day! Oh, happy day. "
cycle' list = list ++ cycle' list
main = do let rlist = cycle' list
print ( rlist !! (10^9), rlist !! 0 )
We repeat the (finite) list endlessly, and then try to pick the 1000000000th element. We also pick the first element again, to make sure the compiler does not cheat by forgetting the first 999999999 elements (It s actually pretty nice that the compiler will forget these elements, but not what I want to demonstrate here). Running that code, sure enough, fills up the memory.But maybe I was coding badly. At least I have re-implemented a function that already exists, which is bad practice. Let s try with Haskell s own cycle:
list = "Oh, happy day! Oh, happy day. "
main = do let rlist = cycle list
print ( rlist !! (10^9), rlist !! 0 )
Now it takes a while, but surprisingly, the memory gauge does not skyrocket, and in the end I m told that the 1000000000th character in my infinite character string is 'd'. This leads me to the conclusion that the Haskell library uses black magic. Or does it? Here is the definition of cycle:
cycle xs = xs' where xs' = xs ++ xs'
What is the difference to our cycle'? Here, the result is given a name (xs'), which is used again inside the function. So while our cycle' appends the list over and over again, filling up the RAM, their cycle ties a loop and makes the end of the list refer to it s beginning. And my list lookup will no longer evaluate the list up to infinity, but just run around in, well, cycles until it has counted down from 1000000000. I could even ask for the last element of this list, and it will not use any more RAM than a small, finite list, while endlessly searching for the end of the list.Despite Haskell being a very high level language, I sometimes wonder how my data will look like on the physical memory. And as you can see, it can make a difference. Some more thoughts on this were written down by Duncan Coutts.

14 October 2008

MJ Ray: Three Internet (GPRS) with Sony Ericsson k608i and GNU/Linux

One massive annoyance with last week’s trip to the L2SE conference was the terrible state of WiFi access in London. I’d actually paid a little extra for first class on the home trip because it gives access to Paddington’s Victorian Lounge which says “It also has workstations with access to the Internet”. What it doesn’t say is that the workstations are desks not computers, there’s no wired ethernet and the wifi is Extortionate ISP The Cloud at the cost of 4.50 an hour. Alternatively, you can pay through Orange at 6/hour or more reasonably through O2 at 7.50/month. I was carrying two mobile phones, but not an O2. Why is Paddington so backwards? Bristol Temple Meads has U2com free wifi access through Dashi sushi bar (note it’s not National Rail or First Great Western) and fon which was about 3/day last time I used it. 4.50/hour seems a really terrible deal to me - I’ve used cheaper internet cafes than that and they have to maintain actual hardware. If that fee really reflects their costs, The Cloud must be a pretty wasteful operator. So I finally got GPRS working on my phone. Essentially, it was the same as described on Dave Stevens site and davesource, with the exception that the k608i already knows the connection settings, so the AT+CGDCONT line can be removed completely, as mentioned on Of Linux, GPRS Phones, Serial Cable, Irda, Bluetooth and USB, by Mikko Rapeli - otherwise the phone replies ERROR and the connection fails. It also needs the guest * guest line in the pap-secrets file and a matching user guest in the gprs options file. Another TTLLP member tells me that later phones offer NAP service and that pand is much simpler than pppd/gprs. I’ll find that out when I get a newer phone, I guess. Someone else suggested ip-over-dns to punish The Cloud for their silly fees, but is that legal?

13 October 2008

Julian Andres Klode: I am a Debian Developer now!


14 months after applying for the NM process, I’m a Debian Developer. On Mon, Oct 13, 2008 at 10:51:43PM +0000, Martin Zobel-Helas wrote:
> [ This is a long mail with important information, so please read it all
> carefully. ]
>
> Dear Julian Andres Klode!
>
> Your account ‘jak’ has just been created in the central LDAP
> database of the Debian project. [...] Thank you everyone (in chronological order):
  • Daniel Baumann (daniel) - Sponsored my first packages
  • Joerg Jaspert (joerg) - The first DD who signed my key
  • Niv Sardi-Altivanik (xaiki) - Advocated me for NM
  • Martin Zobel-Helas (zobel) - My first AM
  • Alexander Reichle-Schmehl (tolimar) - The second DD who signed my key (at CeBIT)
  • Bernd Zeimetz (bzed) - Took over in June, because zobel was very busy
  • Christoph Berg (myon) - For checking the AM report and requesting the account creation
  • Jonathan McDowell (noodles) - For adding me to the keyring
  • Martin Zobel-Helas (zobel) - This time for creating my account
And many thanks to Google - for helping me to find answers to important questions. Without you, I would know nothing. And of course all the others who helped to make this possible. Posted in Debian      

Julien Blache: We release when it s ready

Answer to anybody asking about the Lenny release.

Patrick Schoenfeld: Re: Gentoo destroying earth?

I fully agree that working with Gentoo is no fun at all, as Julian points out in his post
My impression, when I tried Gentoo for the first (and last) time is the same. Thats not because it is made bad. In fact things in Gentoo aren't made that bad. There is good documentation, portage is quiet nice (with its USE flags and alike), but in the end I'm not really satisfied.
After all Gentoo uses a copied concept, which itself is good. The concept is derived from the BSD-world and is just the concept of source-based systems. This concept has its advantages over binary distributions, because it allows a flexibility that is not really possible with a binary distribution. That really is the only appreciable advantage of these systems. Users of these systems (including FreeBSD and alike) tend to give other arguments as well: Newest Software, Highest Performance and even Security is a point they give.

Usually the "newest software" argument is brought up with a rant against Debian. I keep hearing statements like "Debian Etch is totally outdated and Testing is broken". That statement in itself is just wrong, but the important thing is: What do you need such new software for? On a server its preferrable not to upgrade to each and every major release, for certain reasons. Its also a bad thing to build on production systems, so you need to take further measures to administer systems like that. On a desktop I can understand the logic, but then again: No. Why would I want a system I have to compile from scratch and on each upgrade (wasting a lot of time, power etc.) which changes often?

The performance argument is the dumbest of all. Binary distributions usually build binaries for various platforms. And while they can't be optimized for a very specific processor or a very specific feature set (=reduces binary size) they usually perform well enough that a difference between the self-compiled Gentoo system and a foreign-compiled Debian is not noticed by the user and sometimes not even measurable. So the time you save during the lifetime of your builds (which is not very long on a Desktop, is it?) because of the enhanced performance is used up a hundred times, by the time you waste for compiling the whole software only for yourself. Even if some of the software performs noticable better (e.g. video processing is said to benefit a lot from an optimized platform).

What about the security argument? It has been said, that you get your updates earlier then users of binary distributions. That is partly true, because in a binary distribution the update needs to be built first, before it gets to the end user (however, everything before is the same for a binary or a source distribution). But do you really follow security issues that close, that you benefit a lot from this? If you do, indeed, you save some hours. If (and only if) both distributions have a solution for a security issue at the same time.

Anyway. The flexibility argument can't get discussed away. Its the argument that makes Ports in BSD-systems attractive. You can have exactly the features you want, with the build-time options you want. In a comfortable manner. That is in contrast to binary distributions where we package developers need to guess which features might be needed (/wanted) by the users with mixed results. Good if they can decide for themselves. Still, I don't see the reason for compiling the whole system, if I need one or two customized components. So I go with Debian and customize packages if I really need/want to. The only difference is that it takes a lot of more effort.

I would love to see something done in Debian to reach a compromise. Making rebuilding of packages with different options very comfortable. We have DEB_BUILD_OPTIONS, maybe we should enhance it to support a lot more options then noopt,nostrip or nodoc. Possibly it would be a good thing to standardize on some use flags (e.g. [no]ssl, [no]ldap, etc.) and support them in the debian/rules file. This way building customized packages would be as easy as setting sensible DEB_BUILD_OPTIONS and run dpkg-buildpackage on the source. This could be eased further by providing a tool to download the source and build a given package (IIRC such a tool already exists). How does that sound?

10 October 2008

Julian Andres Klode: Gentoo destroying earth?


I worked a bit with some Gentoo systems the last days and it was no fun. The whole compiling thing is no fun. In fact, it is a danger for the environment. If every computer in the world run Gentoo, power consumption would increase dramatically. There would also be no netbooks, as they are almost unusable for running Gentoo on it, compiling software. The path chosen by binary distributions like Debian is much better. Packages are compiled centrally and users download and install these pre-compiled packages. But it is also much less flexible in terms of which functionality is supported. We, as package maintainers, have to decide which functionality is likely to be used by the users. In Contrast, Gentoo has USE flags, which allows the user to enable the specific functionality he/she wants. Should we combine the advantages of both technologies? Provide a normal binary distribution as we do now, but also provide a framework for users to easily recompile their packages, adding new functionality. Imagine a combination of all these technologies: User wants to install software X with feature F. The package maintainer has not enabled F in the binary. The user opens the website for his personal archive, selects the F flag and the software and clicks on build. The server builds the software and notifies the user once the binary is ready. At Ubuntu, the first step has been made into this direction. While the package format is still the same, Launchpad allows users to create so-called PPAs (Personal Package Archives), where users can upload their source packages, which are then compiled and made available to other users. Let’s say Project A releases version X of their software. They can create a source package for it, upload it to the PPA, and provide the binary packages to the users. Prior to PPAs, most users would have used an old version, compile their own version or use tarballs containing pre-compiled software (mozilla does this). And sorry for the title. I respect the Gentoo community and the Gentoo developers, they are doing great work there. And ebuilds and Gentoo’s boot system (with this runscript stuff) is really easy. BTW: I also like the way Gentoo displays its boot messages. It looks much more organized than Debian’s boot process. (In terms of the message logging, where Debian writes “done” when something is done, and Gentoo writes “[OK]” to the right side of the screen, in green letters. (This is partially possible in Debian using lsb-base-logging.sh, but not all init scripts use these functions, or they use the wrong ones.) Posted in Debian, General, Ubuntu      

Julien Danjou: Space invaders for awesome

I was sure it will be possible. With current awesome git version it's possible to run a space invaders game. Space invaders With only 380 lines of Lua. Is there any window manager capable of doing this ? ;-) And don't say it's useless! Thanks to Gregor "farhaven" Best for wasting his time with that.

Julien Danjou: Nada Surf at Olympia

Tuesday evening I was at the Olympia to see Nada Surf, the french New York guys, on tour. The show was very nice. I've already saw them 2 years ago, and it was already very cool, so nothing new. They played lots of different songs from all albums. I really appreciated this since I'm not a big fan of their latest ones. That was funny to see most bitches fidgeting on their seats when they played some recent successful songs and becoming totally quiet and passive when they announced that they were going to play Telescope from Karmic (a EP from 1995 before their first album). But well, that still was a great show and was pleasant to be there.

4 October 2008

Joey Hess: feature creep

The original spec for today: Go out to Anna's. Run some cables.
Use case: Joey is in yurt. Joey has power, and even interwebs. But this means parking the truck in the area where it got stuck the last two times. Ok, let's add in getting a load of gravel to fix that. Hmm, if we're going to get one load of gravel (over one ton already!), might as well get two... Hmm, we didn't notice that unloading tons of gravel, for three people with shovels, is 95% of the planned work for today. Oh well, let's do it anyway... Darn, that super-long ethernet cable that was part of the original plan doesn't work. No link at all, no lights on the cable tester. (Bisection shows the problem affects only half the cable.) At least the power cable worked. I guess that ethernet will have to be dealt with in version 2.0..

3 October 2008

Julien Danjou: The eggtray problem

I still don't know why but many GTK+ applications use something called eggtrayicon. As far as I know, eggtrayicon.c is a file written in 2002 by Anders Carlsson which implements the Freedesktop.org system tray procotol for GTK+ applications. Problem is that this C file is used in dozens of programs and maybe more, and is a bit bugged. I've already send patches for mail-notification and Audacious. pidgin is the first fixed implementation I found and works quite well. Many other applications are probably affected. That seems to me like a real problem. Multiple copy of bad code instead of using native GTK+ system tray implementation. So please stop using this bad implementation

1 October 2008

Julien Danjou: First awesome 3.1 changes

I'm lazy this morning, so I'll write a quick changelog about what's coming next in awesome 3.1, as of now. And of course some bug fixes. :-)

29 September 2008

Julian Andres Klode: juliank


The most important birthdays in the FLOSS world this year (where age mod 5 = 0):
  • 10 years: Google (September), Open Source Initiative (February)
  • 15 years: Debian, FreeBSD, NetBSD
  • 25 years: GNU
  • 35 years: Ian Murdock (April), Mark Shuttleworth (September)
  • 55 years: Richard Stallman (March)
Posted in General      

24 September 2008

Lucas Nussbaum: Cool stats about Debian bugs

Now that bug #500000 has been reported, let’s have a look at all our other bugs, using UDD. Number of archived bugs:
select count(*) from archived_bugs;
 count
--------
 402826
Number of unarchived bugs marked done:
select count(*) from bugs where status = 'done';
 count
-------
  8267
Status of unarchived bugs (”pending” doesn’t mean “tagged pending” here):
select status, count(*) from bugs group by status;
    status       count
---------------+-------
 pending         53587
 pending-fixed    1195
 forwarded        6778
 done             8267
 fixed             167
The sum isn’t even close to 500000. That’s because quite a lot of bugs disappeared:
select id from bugs union select id from archived_bugs order by id limit 10;
 id
-----
 563
 660
 710
 725
 740
 773
 775
 783
 817
 819
Now, let’s look at our open bugs.
Oldest open bugs:
select id, package, title, arrival from bugs where status != 'done' order by id limit 10;
  id       package                                         title                                            arrival
------+----------------+----------------------------------------------------------------------------+---------------------
  825   trn              trn warning messages corrupt thread selector display                         1995-04-22 18:33:01
 1555   dselect          dselect per-screen-half focus request                                        1995-10-06 15:48:04
 2297   xterm            xterm: xterm sometimes gets mouse-paste and RETURN keypress in wrong order   1996-02-07 21:33:01
 2298   trn              trn bug with shell escaping                                                  1996-02-07 21:48:01
 3175   xonix            xonix colors bad for colorblind                                              1996-05-31 23:18:04
 3180   linuxdoc-tools   linuxdoc-sgml semantics and formatting problems                              1996-06-02 05:18:03
 3251   acct             accounting file corruption                                                   1996-06-12 17:44:10
 3773   xless            xless default window too thin and won't go away when asked nicely            1996-07-14 00:03:09
 4073   make             make pattern rules delete intermediate files                                 1996-08-08 20:18:01
 4448   dselect          [PERF] dselect performance gripe (disk method doing dpkg -iGROEB)            1996-09-09 03:33:05
Breakdown by severity:
select severity, count(*) from bugs where status != 'done' group by severity;
 severity    count
-----------+-------
 normal      27680
 important    7606
 minor        6921
 wishlist    18898
 critical       29
 grave         209
 serious       384
Top 10 submitters for open bugs:
select submitter, count(*) from bugs where status != 'done' group by submitter order by count desc limit 10;
submitter                        count
----------------------------------------------------+-------
 Dan Jacobson                     1455
 martin f krafft                    667
 Raphael Geissert                    422
 Joey Hess                            392
 Marc Haber                368
 Julien Danjou                         342
 Josh Triplett                    331
 Vincent Lefevre                    296
 jidanni@jidanni.org                                    260
 Justin Pryzby      245
Top bugs reporters ever:
select submitter, count(*) from (select * from bugs union select * from archived_bugs) as all_bugs
group by submitter order by count desc limit 10;
                  submitter                     count
----------------------------------------------+-------
 Martin Michlmayr                4279
 Dan Jacobson               3652
 Daniel Schepler     3045
 Joey Hess                     2836
 Lucas Nussbaum        2701
 Andreas Jochens                   2605
 Matthias Klose            2442
 Christian Perrier           2302
 James Troup                   2198
 Matt Zimmerman                  2027
You want more data? Connect to UDD (from master.d.o or alioth.d.o, more info here), run your own queries, and post them with the results in the comments!

23 September 2008

Christian Perrier: Joerg m'a tuer

(semi-joke only fully understandable by French folks. Julien Blache used the same joke in the past) My dear Genneff, "Valid-Until" is certainly a good idea and I have no doubt it's well implemented in our archive tools. I'm less sure about this being implemented in apt, because of the loose resources of the APT maintenance "team" as of now. And I'm damn sure that implementing that feature will add yet more work coordinating l10n. APT is currently fully translated to 18 languages and, of course, the warning message issued by APT when a user is directed to a faked security repository *has* to be translated for the user to really understand what's happening. It even has to be translated very carefully. Contrary to popular belief, not all systems admins understand English easily. And we really want the important message that will be issued by APT in such case, to be understood and understood well. So, good luck to /me dealing with a last minute l10n update that will quite certainly happen, now. I can't even use this in an attempt to get bug #500000, as #499897 is already reported against apt. Crap. I'm out of ideas for getting that bug report... As a revenge, I propose that next time we all see Ganneff in a group, we all hug him to death for implementing that very good feature in our archive tools.

19 September 2008

Biella Coleman: If I were in Manchester, I would go

To this… (and I know there are readers of the blog in Manchester and close by who just may be interested in the a one-day seminar and evening lecture on the 1858 cable and later transatlantic communications link). Full details below. ***
2008 marks the 150th anniversary of the first communications link laid beneath 1600 nautical miles of the Atlantic Ocean. That telegraph cable was the first in a series of cutting-edge technologies enabling fast and accurate communication between Britain and the United States of America, linking the old and new worlds. To mark the occasion, the IET in conjunction with the Museum of Science and Industry, Manchester, are holding a one-day seminar and evening lecture on the 1858 cable and later transatlantic communications links, including wireless and satellite, on Tuesday 28th October 2008. Both events are open to the public and admission is free of charge, but pre-booking is a must. The programme is given below. Both events will be held in the Cardwell Theatre, MOSI and there will be a small exhibition on the history of transatlantic communications to accompany the event. To register for the seminar and/or the lecture, please contact Anne Locker (details given at the end of the email). SEMINAR 1000-1030 Arrival and coffee 1030-1045 Bob Martin-Royle :Chairman s welcome, introduction and overview 1045-1115 Neil Barton: First steps to transatlantic - crossing the Irish Sea 1852-1854 1115-1130 Donard de Cogan: Background to the 1858 telegraph cable 1130-1145 Pauline Webb: John Pender and Manchester s contribution 1145-1215 Donard de Cogan: Insights into the landing of the 1858 cable 1215-1230 Pat Wilson: Lord Kelvin s contribution to submarine telegraphy 1230-1300 Questions and discussion 1300-1400 Lunch 1400-1430 Bob Martin-Royle: Marconi and the first transatlantic wireless links 1430-1515 Phil Kelly: TAT1 (includes film) - the first telephone cable 1515-1545 Tea 1545-1615 Des Prouse: Telstar - the birth of transatlantic satellite communications 1615-1630 Transatlantic communications: the present and future 1630-1700 Questions, discussion and closing remarks EVENING 1800-1830 Light refreshments 1830-1930 Nigel Linge: An interactive public lecture on The Transatlantic Telegraph Cable - the birth of global communications 1930- 2000 Questions and closing remarks Regards, Anne Locker
IET Archivist The Institution of Engineering and Technology
IET

Savoy Place
London
WC2R 0BL
United Kingdom

Next.

Previous.