Search Results: "Simon Richter"

27 March 2007

Peter Makholm: Debian Project Leader election

The major problem — one of the major problems, for there are several — one of the many major problems with governing people is that of who you get to do it; or rather of who manages to get people to let them do it to them. To summarize:- It is a well known and much lamented fact that those people who most want to rule people are, ipso facto, those least suited to do it.
It’s election time, as Debian Developer I get to chose who is going to be the Debian Project Leader for the next year - but I don’t really care. If we can’t get a naturally strong leader, then I don’t think it matters at all. A naturally strong leader is one who actually leads and do so by strong consensus instead of just wanting to rule. For a naturally strong leader the election is a mere formality and he will run virtually unopposed. So my vote is:
- - -=-=-=-=-=- Don't Delete Anything Between These Lines =-=-=-=-=-=-=-=-
e0acebd2-71f1-4df8-ae4d-50355ad7aa81
[ 1 ] Choice 1: Wouter Verhelst
[ 1 ] Choice 2: Aigars Mahinovs
[ 1 ] Choice 3: Gustavo Franco
[ 1 ] Choice 4: Sam Hocevar
[ 1 ] Choice 5: Steve McIntyre
[ 1 ] Choice 6: Rapha l Hertzog
[ 1 ] Choice 7: Anthony Towns
[ 1 ] Choice 8: Simon Richter
[ 1 ] Choice 9: None Of The Above
- - -=-=-=-=-=- Don't Delete Anything Between These Lines =-=-=-=-=-=-=-=-
What about “None of the Above” option? Isn’t that excatly what I want? No, not really. I don’t think we would be better of by not electing one of the candidates than we would by electing one of them. So “None of the Above” should be ranked equally with the others. Why vote at all? I want to make a point, as feeble as it is, which is clearly different from just being lazy. I want to show by active participation that I don’t think the election matters. Effectively a whatever option. Now go grab some beer…

26 March 2007

Simon Richter: Wacky ideas #13: Conflicts-If-in-Same-Dependency-Tree

Well, obviously this one needs a shorter name. The problem I'm trying to solve here is that SONAMEs, or rather the way they are used today, only handle the issue of a single, fully contained library changing ABI as one of its header files changes. However, libraries do not exist in a vacuum; as a bare minimum, they use definitions for types and alignment requirements built into the compiler, and if any of these changes, so does the library ABI. Hence, the idea of using a single number to denote the ABI is not really sufficient. The correct solution would be to embed all ABI information into the soname (libapt-pkg, for example, uses "libapt-pkg-libc6.3-6.so.3.11" on amd64, which is better but still not perfect). Obviously, this would require massive changes to the build scripts in all libraries and educating all library authors, so it is not going to happen (soon). So, what other options are there? As the kernel ABI (the syscall interface) is supposed to be really stable, we probably do not have to worry about that. So, we only have a problem if there are libraries with different assumptions about each others' ABI in the same userspace program. This can happen in two ways: The compiler changed (as in the case with the recent C++ transitions), or a library that is an indirect dependency of something that also has another dependency (direct or indirect) changes ABI. I've talked (briefly) about the former in an earlier post already. To illustrate the latter, a small example: There is a library, libuseful.so.0 that provides a number of functions, among these: struct complex_number

  float real;
  float imaginary;

 
void complex_multiply(
  struct complex_number *result,
  struct complex_number const *lhs,
  struct complex_number const *rhs);
Now another library, libresourceful.so.0, comes along and implements complex_divide on top of complex_multiply. Since the definition for complex numbers from libuseful makes a lot of sense, the include file for libresourceful reads #include "libuseful.h"
 
void complex_divide(
  struct complex_number *result,
  struct complex_number const *lhs,
  struct complex_number const *rhs);
Now one of the more serious people in Debian decides to write pointless 1.0, which takes two complex numbers and calculates (a*b)/a, using both complex_multiply and complex_divide, and links against libresourceful.so.0 and libuseful.so.0. Some time passes, and shortly before Debian freezes, libuseful's author decides that she needs more precision, so she changes the floats to doubles, bumps the SONAME and releases the new version. Shortly thereafter, someone notices that libresourceful is now using an outdated version of libuseful, and recompiles libresourceful. Since the header of libresourceful did not change, noone thinks of changing the SONAME, after all, changing it would render us incompatible with other distributions. Now, pointless 1.0 depends on libuseful.so.0 and libresourceful.so.0, which in turn uses libuseful.so.1. It still believes complex numbers are made from floats, however libresourceful now disagrees. The (a*b) expression is calculated correctly, using floats, however the result is then passed to the complex_divide function which expects a pair of doubles. Not good. Obviously, there is a number of things people have done wrong in this example. First of all, if you inherit type definitions or anything else from another library, your ABI becomes bound to theirs. As you cannot know statically what version your library will be linked against, you need a script that computes your ABI version at build time. If you do not want that, you need to repeat the type definitions in your header and (deep-)copy the data from one of your structures into one provided by the library you are using (I can already hear the screams of the performance fetishists). The assumption that, just because a dependency changed, there is not necessarily a need to bump the soname is not fundamentally incorrect; if no interfaces are being propagated, it is certainly correct, and most libraries do not really do this (for example, a HTTP library uses the resolver, but never passes the hostent structures upwards). Detecting this is difficult to do, although Sun has a few tools to help here. So where does that leave us? In my opinion, the most sensible thing a distribution can do is to make sure such a constellation never gets installed to an user's system. If there is any doubt, we need to err on the side of caution (aka use a bigger hammer). This is a "wacky ideas" post, so I also need to propose a totally untested thing that might work (or not), but at least has passed the stage of me sleeping a night over it. Ideally, dpkg would enforce that. In order to do that, it needs appropriate metadata that tells it that a certain constellation is probably wrong. The thing we want to avoid is an application using multiple versions of the same library at the same time, where "use" is denoted by a dependency relationship. So what we need is a way for a library package to declare that it is wrong to (indirectly) depend on this package and a package out of a certain group at the same time. I can see two ways of doing that, each with its own advantages and disadvantages: The "explicit" way is to add a new dependency relationship (that is where the subject "Conflicts-If-in-Same-Dependency-Tree" comes from), where you would conflict in this way with a virtual package that is named after your library without the SONAME version, and at the same time provide that virtual package (which is a technique that should not be unfamiliar to Debian people). The hypothetical libuseful above would then state Package: libuseful0
Provides: libuseful
Conflicts-If-in-Same-Dependency-Tree: libuseful
So installing pointless_1.0 would pull in libuseful0 and libuseful1, dpkg would see the conflict and refuse. For upgrades, it would refuse the libresourceful0 upgrade, as that would create an inconsistent situation. The only way out of there is to recompile pointless. The advantage is that the modifications to dpkg would be manageable (at least compared with the other option, which I will introduce shortly), the obvious disadvantage is the massive number of virtual packages introduced. The "implicit" way of doing that is moving the SONAME into its own field in the control file, and teaching dpkg that two packages with the same name and different SONAME fields can be installed at the same time, although not depended on by the same package. This is a really nasty change to dpkg and also requires a syntax for dependencies that includes the desired SONAME version, but it gives us a lot of other advantages. The one immediately visible is that it does not bloat the Packages file too much, and does not introduce lots of virtual packages, although the net effect inside apt and dpkg is probably going to be the same. A really cool side effect though would be that the soname is no longer part of the Package: field, and thus it becomes possible to insert it using substvars. This, of course, is a cool thing when library authors come to their senses and include ABI information for dependent libraries into their SONAMEs. Since this has gotten lengthy, thanks for reading this far. Of course, questions and comments are requested, and if you are interested in pursuing this, please get in touch, either via email or if you can wait that long, at the "Wacky Ideas" BoF at DebConf. The last thing for me to do here is to welcome Joachim to the "post your ideas" "meme".

25 March 2007

Joachim Breitner: My Debian Project Leader Vote

The Debian project is having it s annual vote for the the post of the Project Leader, a mostly representative and medidative post. Here is my ballot:
[ 6 ] Choice 1: Wouter Verhelst
[ 7 ] Choice 2: Aigars Mahinovs
[ 5 ] Choice 3: Gustavo Franco
[ 1 ] Choice 4: Sam Hocevar
[ 3 ] Choice 5: Steve McIntyre
[ 2 ] Choice 6: Rapha l Hertzog
[ 4 ] Choice 7: Anthony Towns
[ 6 ] Choice 8: Simon Richter
[ 6 ] Choice 9: None Of The Above
I voted for Sam first because he has some fresh ideas and takes it not too serious after all, working on Debian should be fun. Next is Rapha l Herzog. He got the big plus of some good people on the prospective DPL board and I know he is doing some good stuff with regard to collaborative maintenance, e.g. in pkg-perl. I d then rank the current DPL and his Second in Charge equally. They didn t do anything particular bad (besides maybe the dunc-tank-experiment, but I m not blaming that failure entirely only on them), and continuity is normally a good thing. Well, just for fun, I ll give the advantage to Steve. Gustavo has a lot of ideas, and I m not sure how realistic they are. I ll still prefer him to nothing, so he is ranked next. I don t know enough about Simon and Wouter to really vote for or against them. Aigars plans though, despite knowing him personally, are not the right for a DPL post, so sorry, that puts him below NOTA.

22 March 2007

Simon Richter: Early rising and spring cleaning

In the last weeks I've focused more on doing things than writing about them. I've (for the most part) managed to become an early riser, getting up at 5 o'clock each morning, and gotten a number of things sorted in the two hours between breakfast and going to work. The time for this got taken away from the part of the evening where I'm too tired to do anything meaningful and so end up reading emails. This, of course, means that I will have less time for reading mail, and so I've changed my mail setup so that list mail no longer goes into my inbox. This was long overdue, and it is a good thing that the blue "message" LED now only lights up for mail addressed to me (and spam, but I'm going to deal with that later).

20 March 2007

Sune Vuorela: Debian vote sponsorships?

As I am not a DD yet, I don’t have vote rights. That means I cannot vote in the DPL election. The only way I can influence the decision is to influence other people and try to make them vote the right way (or alternatively, just vote what I would have done) Is there a vote sponsorship page anywhere? <big smiley> If anyone got a spare vote, you are most welcome to send in my ballot:
- - -=-=-=-=-=- Don't Delete Anything Between These Lines =-=-=-=-=-=-=-=-
e0acebd2-71f1-4df8-ae4d-50355ad7aa81
[2] Choice 1: Wouter Verhelst
[7] Choice 2: Aigars Mahinovs
[2] Choice 3: Gustavo Franco
[1] Choice 4: Sam Hocevar
[5] Choice 5: Steve McIntyre
[6] Choice 6: Raphael Hertzog
[8] Choice 7: Anthony Towns
[4] Choice 8: Simon Richter
[3] Choice 9: None Of The Above
- - -=-=-=-=-=- Don't Delete Anything Between These Lines =-=-=-=-=-=-=-=-
And yes, jcristau, Myon, Q_ and others - I need to get back to my application.

13 March 2007

Simon Richter: Why Debian packaging is easy

Eddy, the problem with packaging software is that it is not a once-off thing, but the package needs constant maintenance, and for that, I need to be able to understand how the build process works (on a large scale). While at first the rules file generated by dh_make seems huge, it is actually quite easy to understand if you have the output of "apropos dh_" printed out and are not afraid to look at the occasional manpage.

12 March 2007

Simon Richter: Eek

I did not expect this when buying a CPU fan today.

7 March 2007

Eddy Petri&#537;or: The game Oolite was liberated

Yet another liberated game: Oolite, a clone of Elite.

I am the maintainer of the package; it was introduced as a non-free game in Debian, but a week ago upstream has announced that the game is now relicensed with a dual model licensing with GPL and cc-nc-sa 2.0 (the old license). Also, the change applies retroactively to the 1.65 release while further releases will be licensed GPL only and GPL/cc-nc-sa 3.0 for the code and data, respectively.

I have prepared the packages (oolite 1.65-5 and oolite-data 1.65-2) and Simon Richter agreed to make the honorary upload :-) tomorrow morning.

I hope he doesn't forget to build the packages by passing the '-sa' parameter to dpkg-buildpackage :-) and that these packages will reach Etch just in time for release.


As a bonus to this change, the game will be autobuilt on amd64, too.

(BTW, why isn't there any amd64 buildd in the non-free buildd network? Any technical reason?)

Update: the amd64 build seems that was behind in January when I installed the game on my new laptop. 1.65-4 seems that has been built a month ago, much later than the other arches.

Update: It seems that the package is on a positive trend on popularity: a constant rise in the number of oolite package installations is visible...

4 March 2007

Julien Blache: DPL elections 2007: candidates at a glance

3 March 2007

Adrian von Bidder: Platforms: random thoughts

These are some random thoughts based on a not very thorough reading of candidate platforms of the DPL Election 2007, and my subjective view of the candidates based on the mailing traffic I remember reading. Wouter Verhelst: Has quite a broad Debian-background, the platform also seems to share quite a bit of my view of where Debian's problems are at the moment. Doesn't propose a course of action right now, not sure how to judge that. Not sure if I remember Wouter being heavily involved in flamewars, but I do remember reading quite a few of his emails in discussions with interest. broad Debian-background, the platform also seems to share quite a bit of my view of where Debian's problems are at the moment. Doesn't propose a course of action right now, not sure how to judge that. Not sure if I remember Wouter being heavily involved in flamewars, but I do remember reading quite a few of his emails in discussions with interest. broad Debian-background, the platform also seems to share quite a bit of my view of where Debian's problems are at the moment. Doesn't propose a course of action right now, not sure how to judge that. Not sure if I remember Wouter being heavily involved in flamewars, but I do remember reading quite a few of his emails in discussions with interest. broad Debian-background, the platform also seems to share quite a bit of my view of where Debian's problems are at the moment. Doesn't propose a course of action right now, not sure how to judge that. Not sure if I remember Wouter being heavily involved in flamewars, but I do remember reading quite a few of his emails in discussions with interest. Aigars Mahinovs: Quoting from his platform: “My goal of running for DPL is not to be DPL, but to get a few concepts closer to real life.” So don't run for DPL, but start doing these things you're thinking about. Not being DPL has the advantage that you don't have to spend time on DPL stuff that would detract you from these goals. Speaking about your goals: (i) No release: I've thought about that, too, but I feel this would quickly make Debian irrelevant. (ii) $HOME configuration files organisation: take it up with the upstream developers of all the application. I think this is a very good idea, but freedesktop.org would be a better platform. (iii) Old Maintainer Process: Idea looking for a problem. (iv) Dropping Trademarks: not sure what to think about this. Gustavo Franco: Some focus on the desktop, and a constructive attitude towards Ubuntu, both positive in my book. (The first one primarily because on servers Linux is already quite well established, while the desktop is where more work is still to be done. Not because servers are less important.) His goals: (i) Core teams: as with Wouter, he sees that people and what goes on between them are where the problems are. (ii) Release goals: I think building the release based on release goals could be a driving force, but this is more RM area than DPL. (iii) Adding features to the bts doesn't need DPL powers. (iii) New developers: certainly an area that still needs attention, but the intended course is not entirely clear to me. (iv) NEW queue: same. (v) CTTE: Not sure what the idea behind this is. (vi) Groups: yes, but again not entirely clear what and how. (vii) Backports: yes, new versions of some software should go into Debian (stable) faster. Officially supporting backports or something else, I don't know, but this is an area where a DPL could pull together the RMs, security team(s), backports.org people etc. (viii) Universal OS: is this about more media coverage or about more face to face meetings? Both are good, but we should set clear goals beforehand. (ix) Much work is needed, especially in the area of buildd management (meaning: the processes and people behind it!). Does Gustavo have previous involvement here? (x) Vendors, Website, Publicity: This is more or less all about media coverage and popularity. Much needed, but as Debian as it is will never be able to commit to a public official opinion of anything, we'll need to think hard about what to do here. (xi) NMU: I don't see a great need for action here, personally. Overall: this platform contains too much material, I fear trying to tackle all these areas will lead to a burned out DPL within three months and little actually getting anywhere. Sven Luther: It's true that it always needs at least two people for a flamewar. But having a DPL who is always ready to provide one side of an argument is not a good idea. Sam Hocevar: Everything is high-level on his platform. Both good and bad. Not sure how to rate this platform, but I see myself nodding along. Learn from other OSs is good, but I hope he also means active cooperation and not just passive let's see how they do it. Steve McIntyre: Should have won 2006. Certainly did a lot of both behind-the-scenes work and some good communication. The platform lacks mention of relations between Debian and the outside world, which is an area where I feel some work is missing (and where the DPL as the only person with a official role also known outside Debian can make a difference), and also lacks mention of legal problems (trademarks and patents) where I'm not sure how solid Debian's work is. Additional argument in favor of Steve: Having a 2IC and promoting him to DPL the year after might be a good idea overall. Maybe we should actually elect the 2IC and only have a confirmation vote to promote him to DPL? Raphaël Hertzog: I like the DPL board idea. I also like how Raphaël focuses, in his platform, on the DPL board idea and some selected problems. On the other hand, the platform is wholly focused inward, outside relations are important, too ! Anthony Towns: Not sure what to think of the current DPL. I think he had good ideas, and I still think the original “spend Debian funds for the release”-idea was not that bad, but seeing how it all worked out was very, very painful for too many people. The platform seems pretty much empty, so I guess ajt won't have my vote this time. Simon Richter: Maybe I miss something, but I only see “don't repeat the dunc-tank flamefest” in his platform, which seems a bit thin. His observation that the real power of the DPL is to get everybody's attention may be partly true, though, even if this power will be spent as soon as a DPL, trying to mediate, lets himself be drawn into the flamewar instead (I don't accuse Simon that he ultimately will do this, but I fear that it happens all too quickly). Now what? I really don't have the time to thoroughly follow the campaigning, but I'll certainly have a look at the rebuttals, and perhaps somebody will do some summary. So the ballot below will certainly change. (You might also be able to buy the vote if you're rich enough ;-)
 [ 1 ] Wouter Verhelst
 [ 5 ] Aigars Mahinovs
 [ 3 ] Gustavo Franco
 [ 6 ] Sven Luther
 [ 3 ] Sam Hocevar
 [ 1 ] Steve McIntyre
 [ 2 ] Raphaë Hertzog
 [ 5 ] Anthony Towns
 [ 4 ] Simon Richter
 [ 5 ] NOTA

28 February 2007

Simon Richter: NATOMGWTFBBQ

I needed a bunch of documents on ASN.1 as I'm currently hacking on an SNMP server. Said documents are available for free from the ITU, and linked on the ASN.1 site. Sounds easy enough, doesn't it? For some obscure reason however, I cannot get the documents when I'm behind NAT. Tcpdump shows the connection setup going through, but the HTTP request is not acknowledged from the other side, and no response is sent. If I start the request from the router, it works (although there seems to be a bit of packet loss or something else slowing down the download). Now the question is why this is happening, and whether it is the fault of my NAT setup, or of their firewall.

26 February 2007

Simon Richter: Wacky ideas #12: split build dependencies into tools and libraries

In the last week, I've played with cross-compilation. One thing that would be a showstopper if we were interested in having some architectures always cross-built (I'd love to see a "palm" architecture at some point) is that build dependencies are not qualified as to whether they belong to the "build" or the "host" system; also this information cannot be easily synthesised. So, we should have two different fields here.

23 February 2007

Simon Richter: Threads

Miriam, coroutines have the same problem as threads, futures and all the other interesting concepts out there: they are perceived as a magic bullet when they are merely one tool in the great toolbox. Whether a tool is appropriate depends on the job. Postgres, for example, handles each connection in a separate process, which adds a lot of complexity to their internal structures as all concurrent accesses need to be handled properly. However, SQL's transaction and isolation semantics make a single-threaded implementation almost as hard to implement, so the correct answer was to use threads. The biggest problem with threads is data consistency, and this is where almost all negative examples originate: some variable was not declared volatile, some lock not held long enough, some set of locks taken in the wrong order. A rule of thumb should be: if your threads need to interact, then you should not be using threads. If you have to compute something which will take longer, it is absolutely fine to start a new thread, but then you will have to protect the inter-thread communication appropriately. What is appropriate depends on the problem again; in most cases it will be message queues which allow the other thread to handly the request when it is in a safe state. Coroutines come in at a point where "you should not be using threads", by essentially allowing me to write a producer-consumer model as if it were threaded, and then letting the compiler build a nonthreaded version from that. In the C++ world, most algorithms can not be combined directly because they are written as a consumer/producer loop and cannot be suspended -- coroutines will make that possible.

22 February 2007

Simon Richter: git repack

Pierre, it should also be said that repacking is not a good idea on a public repo that is exported over HTTP. As soon as I need an object that is in a packfile, I need to retrieve the entire packfile, so if I repack daily, everyone needs to get the entire repository for each update (provided something changed, of course). It is usually better to let a few objects accumulate (say, about 1000), and then repack without the -a and -d options, which will create a pack with just the new objects. Of course, if you are running "git server" and use only "smart" methods to access the repo, you can repack as often as you like.

9 February 2007

Simon Richter: You fail at democracy

The NATO security conference is this weekend. All the disruptions in normal life going on here (a large part of the city centre is actually closed down to the public), this shows exactly how detached politics and the real world are today. After all, if what I'm doing on behalf of the public causes so much dissent that I feel that the public needs to be locked out, then I'm obviously not fulfilling my mandate.

Simon Richter: I love it when a plan comes together

So, it's the week before the fair. Last week, the main concerns were proper lighting and colourspace conversion, this week it is test-assembling the flyer stands. That's the cool thing about small companies: there's nobody telling you that certain things should be left to the appropriate department.

7 February 2007

Simon Richter: It's that time of the year again

I'm going to be at this year's "embedded world" trade fair, probably on Wednesday. If you want to swap keys or drink beer, contact me.

Simon Richter: (Not) sleeping in my car

It seems as if I wasn't the only one missing the sponsorship deadline. I'm pretty much convinced that we are going to have more fun with a smaller, central-ish flat that with the house, simply because it is less of an "us versus them" thing then. Still, the "sauna with Debian people" thing would be nice, so it might be an option to declare a bit of holidays just after DebConf. Also, there have been rumours that one of the Finns might bring a sauna tent. This blog post was brought to you by the letters A, N, S and U, in no particular order.

6 February 2007

Simon Richter: Can I nominate Sam Hocevar? Just a little bit?

5 February 2007

Simon Richter: Fun in Scotland

Eventually, it just had to happen. Being used to subconsciously disregarding emails asking me to "update my application details", I overlooked both of the reminders to please fill in the timeframe in which I'd be at DebConf. Which probably means, I'm not going to get food/accomodation sponsorship. If I calculate with the (ballpark) figures I have, that would be a massive amount of money, even if I can get space in one of the hostels (which I currently do not know). So, I went out today and investigated some other options. One that particularly stuck out was a luxurious house about 15 kilometers from Edinburgh, that, provided there are a few others who'd share, would cost about the same to each of us. The downside is obvious: It'd be quite some distance to the venue, the train takes about half an hour to Edinburgh central and we'd have to get to the train first (the web site advertising the house says "car advised"). On the other hand, the house has an indoor pool, a sauna, Internet access, a washing machine and a clothes dryer and a garden with barbecue place. If there is a significant number of people (there is space for nine) interested, this might be an option.

Next.

Previous.