Search Results: "gwolf"

19 June 2007

Gunnar Wolf: Fun at Debconf - And redefining targets

For some days at Debconf, I've been somewhat stressed and frustrated. You see, the first DebCamp/DebConf I took part in (Oslo), I was really productive - Besides meeting lots and lots of people and having a great time, during DebConf3 I learnt a scary lot about the project in many aspects and, although I was already a DD, it really decided me to get more involved.
When we were at Brazil, I had a great time as well, but (code-wise, bugs-wise and so on) I was much less productive - I started peeking at the processes that involve running such a strange and intensive conference, I was more active talking with other Latin Americans, and so on.
So, for DebConf5, I was a full orga team member - Man, did that make me feel powerful! Of course, as there was so much orga work to be done, I basically didn't hack into anything. During the day it was organizational work, and during the night time-after-22:00 (how do you people live without a night!?) it was sauna. What a great invention of the Finns! After getting relaxed by sauna, nights were socially intensive
About DebConf 6... Well, it was hectic and chaotic. It is probably the most stressful two-week period (two week? Two months at least! Well, anyway) period of my life. It is the only Debconf so far I don't even remember having had much social interaction. But still, for reasons I fail to understand, I am really happy we held DebConf in Mexico. It is one of the best, most exciting and (hopefully!) unrepeatable experiences in life.
What about this year? Well, I took a couple of steps back, and while I'm formally still part of the always-great orga team, there are way too many things I don't know or can answer. Partially, I blame that impossible dialect of English they speak in the UK - Please, next time you feel a bit tired, lock yourself in a room with six hurried English and Scottish people, add a couple of Germans to the mix (no, I don't have problem with the other accents spoken in there), and try to get the general lines discussed. Impossible.
As I took a couple of steps back, I thought I would be able to hack a bit. There were some great ideas of things to work on - But so far, I've practically not started with any! I wanted to do some QA rounds in the pkg-perl repository, kill a couple of long-standing bugs, and then there is thismetainit idea we have been discussing... So we held the MetaInit BoF, and Nomeata has been actively hacking it - But I must recognize I have done little besides documenting and cleaning a bit a minor module of it. The second day I was here, I started working on something that was completely outside of my plan (hacking up a subsystem for Pentabarf to help the video team, as I previously complained). Just after we finished with it, DebConf properly started - So I've been basically taping the talks, reviewing the files, in the orga and video meetings... Until yesterday, I was quite frustrated not to have been able to work a bit on the couple of things I wanted to do. I have not yet been able even to work on three things I need for my Real Life, which still counts, even at DebConf.
But then, yesterday I read a post by Wouter - Man, you are completely right, and I must keep this in mind at all times: DebCamp to me isn't about being productive, so much as it is about meeting people and getting to know the environment. Well, I've terribly even failed to get to know the environment (I'll reserve some time on Thursday or Friday, I hope), but so far this has been quite fun, and completely out of what I usually do. And, even without me considering this, DebConf has been quite productive for me in ways I didn't expect - I've met and had a couple of beers with the pkg-perl group (and today I'll meet with the pkg-ruby-extras group), have plotted several things with the Spanish-Speaking group (which, by the way, has tremendously grown since we were at Oslo), I even started hacking a bit my way into Pentabarf, which will be very useful once I get back to work!
Anyway, in short: Wouter, you made me reconsider, you made my day - Thanks! And now, I'm a happy man again :)

14 June 2007

Gunnar Wolf: Momomoto!

Yesterday and today, I've spent most of the time sitting next to Dami n Viano (des), feeling 1337 because we are doing exactly the heavily recommended pair-programming thingy with a Rails application that everybody in Debconf is familiar with: We are adding some stuff for our beloved video-team in Pentabarf! Now, Pentabarf is -as we were trying to explain earlier on, amidst angst and frustration- a strange beast: It looks like your regular Rails app. It smells like Rails. But it tastes like Java.
For some reason, the Pentabarf author (who I sincerely expect to meet soon - yes, he is coming to Debconf as well!) decided not to use Rails' killer app part, the one which has got most interested people into the whole framework, ActiveRecord. For all of the object-relation mapping needs, uses something called Momomoto.
To its defence, Momomoto is a lightweight library. This has the great advantage that, although it completely lacks documentation, its source code is very easy to follow, and it takes just a couple of hours (and forehead-wall bangs) - Much unlike ActiveRecord. But on the down side, as lightweight as the library is, the model it uses is completely suboptimal for many of our (so far really simple) uses. We have a simple view, for example, that runs in at least On^3 (measured in independent DB queries, of course). Going through a different model, it could at least be cut to a much nicer On^2.
Anyway... I'm relieved. The extension the video guys wanted is not that large, and it's mostly done. It is surely showable by tonight's meeting (modulo a couple missing bits, of course, but it's just bits), and will be ready no matter what by tomorrow. I'm just sorry I had to throw des aside, as pair-programming for two days in a row for the best portion of the day is not good for sanity.
Well, neither coming to Debconf is, so whattheheck... ;-) At least I could get a bit of my mail and RL work backlog processed.

11 June 2007

Gunnar Wolf: Arrived!

Ok, so here am I, just arrived to Debconf, surrounded by tens -soon to be hundreds- of Debianers. A big YAY! :D

6 June 2007

Stefano Zacchiroli: gnuhtml2latex

Decent printing of HTML pages (via LaTeX) More and more frequently I happen to have the need of printing (X)HTML pages. I guess this is a good sign: given that (almost) the only stuff I print are academic papers, this might means that I'm encountering more frequently papers which are freely available on the web as web pages and not as PDF/Postscript stuff which I can access only via the IP addresses of my university. But let's get back to the main rant. It appears that printing decently HTML pages is not that easy. Firefox per default prints in huge and ugly fonts consuming tons of resulting pages. Out of my memory I remember that with the old Netscape reducing the font size used to impact the printing font size, but I'm no longer able to do that with Firefox. Similarly, a2ps and html2ps do not seem to produce decent results for me. Today I stumbled over the weird idea of passing through (La)TeX to exploit the supposedly human-oriented layout algorithm of the suite and I found the gnuhtml2latex package, maintained by Gunnar. So far it is working like a charm. Well ok, to be honest sometimes the generated LaTeX does not compile properly out of the box, but fixing it so far has always been easy and the quality of the resulting printed pages is wonderful! I'm just puzzled about the weird tool name ..., why not "gnugplv2orabovehtml2latex" then?

24 May 2007

Gunnar Wolf: Top-down and bottom-up: Two approaches for... Hydrodynamics?

Yesterday we had one of our first full-evening rains of this Summer. It started raining around 15:00, and didn't really stop until past 22:00. Most of the time, it was a low intensity rain. Also yesterday, Sergio and I started with the Debian course I recently talked about - Fun!
Now... This course is scheduled at Instituto de Astronom a, which is halfway between my work and my home. 19:00 to 21:00.
I decided to leave early, so we could check some pending details - At 18:00. I biked to Astronom a, about 1.5km. When I arrived, I was as wet as you usually get at a regular rain: I still had some dry spots under my arms and legs. Nothing terrible, although a bit coldish - Anyway, that's a top-down approach for hydrodinamics, the approach most people are used to.
When we finished this session, I had to go out in a rush, as I had a meeting at 20:00 at Balderas (downtown Mexico City, ~25min away by metro). Of course, I was one hour late already, and adding the time it would take me to get home, leave the bike and run to the metro, I could not just sit and wait for the rain to get any easier on me. So I pedalled.
Contrary to what I originally expected, I didn't get soaked wet in the usual pattern. Stronger rain leads to more rain flowing down the road. Yes, almost immediately I felt a cold shudder on my legs and back: The water sprayed from below by my wheels. Of course, the front wheel was even more fun, as it sprayed my face from below - My helmet has a small protuberance at the front to make some shadow, and tilting a bit my head forward prevented the rain from hitting my eyes - but the dirty water, with small bits of wood and whatnot, from the ground found an easy way to my face. My only defense was to close the eyes as much as I could without losing visibility. A strange excercise to do :) Anyway, that's the bottom-up approach for hydrodinamics.
Anyway, by the time I got home, after an extra ~1.5km, my pants were basically a soup. My shirt was not exactly dry, but it still kept me a bit warm. I just ushered inside, grabbed a jacket, and went on for my second meeting.

23 May 2007

Gunnar Wolf: On sending out the right image

At my Institute, we get the El Financiero newspaper - I like it quite a bit. It's very well balanced, with opinions from all of the political and economical points of view. Of course, it has huge business and market sections which I don't usually even care on looking at, as I won't understand much anyway. Those sections usually include advertisements for potential courses and businesses.
Today, Nadezhda showed me an ad that's just beautiful - It shows off the level of commitment and seriousness a company has. It is so beautiful that it deserves me copying it in Spanish and translating it for your further enjoyment. Of course, if somebody stumbles upon this advertisement at my personal blog - I don't know them, they might just be serious but clueless :)
GRUPO DE ASESORES PROFESIONALES
CONVOCA
A acad micos, investigadores, intelectuales, economistas y expertos en reformas estructurales para el an lisis de las siguientes:
  • Econom a y finanzas
  • Educaci n y empleo
  • Seguridad y desarrollo social
  • Pol tica y Energ a
  • Reforma del estado
Para integrarse a un equipo serio y propositivo de Profesionales en estas reas que brinde asesor a puntual sobre las antes descritas.
REQUISITOS: Titulados con Maestr a y/o Doctorado. Contar con publicaciones especializadas.
Interesados enviar CV al correo electr nico:
juan_zzz_at_starmedia_dot_com
juan_3zzz_at_yahoo_dot_com_dot_mx
Bosque de Ciruelos No. 140, piso 12, oficina 1202, col. Bosques de las Lomas
And now, for your further amusement, in my hastily translated English, as faithfully as I can do it.
GROUP OF PROFESSIONAL ADVISORS
INVITES
Academics, researchers, intelectuals, economists and structural reform experts for the analysis of the following areas:
  • Economics and finances
  • Education and employment
  • Social security and development
  • Politics and Energy
  • State reform
To join a serious and propositive team of Professionals in the above areas that gives punctual advice regarding the aforementioned.
REQUIREMENTS: Holders of a title, with M.Sc. or Ph.D. studies. Having specialized publications.
Interested people, send your CV by email to:
juan_zzz_at_starmedia_dot_com
juan_3zzz_at_yahoo_dot_com_dot_mx
Bosque de Ciruelos No. 140, piso 12, oficina 1202, col. Bosques de las Lomas
Yes, several of the redaction mistakes are in the original text (and several more were introduced due to my English translation, of course).
Anyway... Would you believe in the seriousness of a professional-looking group of economists, paying around US$2000 for 1/4 page in one of the leading Mexican newspapers? By the way, their offices are located at one of Mexico City's most exclusive, expensive areas. But... For $ deity 's sake... COME ON! Please tell juan_zzz to get a decent-looking mail and domain! Having their main contact addresses at two free mail providers, Starmedia and Yahoo, does no service at all to their professional image! How can people still not pay even a bit of attention to those basic details?

22 May 2007

Gunnar Wolf: Cannot help it - Are you into human interface design?

Thanks to Planeta Debian (yes, planeta, the Spanish version of Planet Debian), I came across this Dar o Rapisardi's post.
Sometimes poetry can be expressed in human-interface guidelines.

17 May 2007

Gunnar Wolf: When bad system design leads to pain...

A long time ago, I wrote the system that still manages the Cuerpo Acad mico Historia del Presente group in the Universidad Pedag gica Nacional. Yes, I'm happy a good portion of my project, which took me over a year of work... But I must admit a nice deal of shame as well.
Of course, it comes from not properly understanding the domain data and information volume my system would be working with - and coming up with a stupid way to implement searches. I won't get too much in detail because, even if you had access to the full search facility in the system (no, it's not available for the general public), I would not like a swarm of curious people to make last week's events come back... Anyway, the group works by daily filling in tens or hundreds of articles in the system, and having some interesting search sessions every couple of months.
I knew the performance problem was caused by an inefficient searching mechanism (explicitly, category exclusion is the prime killer). I knew loadavg jumped through the roof, memory usage did so as well... But it was not until some weeks ago we installed the mighty Munin on the machines at UPN that we got this jewel - Thanks, Victor, for putting the graphics somewhere they can be shown! ;-)
So... How much does memory usage increase during searches?

Whoa. The system has 640MB real RAM. It has as well 1GB swap. Don't ask me how the hell it reports it was using ~2GB swap - but still... And how is our load average?

Have you ever seen a (single CPU, Pentium 4 1.7GHz) Linux system with a loadavg of 80?! For those who don't know, loadavg gives you the general status on how many jobs are pending scheduling by the CPU. 1 means that all of the CPU's time during a specified timeframe was used (and, on single-core systems, it's the optimal usage level). On this machine, things start getting uncomfortable at 6 or 7. I had never before seen values even half this large.
Sigh... Well, in my defense, I must say I've warned them about this problem for over two years. My contract with them has long passed - I've repeatedly recommended them to hire somebody to fix it. So far, they have not.

Gunnar Wolf: Starting as a mentor soon

After a long time talking this as a mere potential would-be-nice thing, finally we are putting some action behind our words: One week from now, Sergio Mendoza and I will start a ~2 month long extracurricular course on Debian. The students? We have 12 students of the Facultad de Ciencias at my University. The students are pre- and post-graduate (licenciatura and maestr a), from the Phsyics and Astronomy areas. Sergio got this group as he is a teacher and researcher at Instituto de Astronom a.
While this first iteration is completely extra-curricular, unofficial and by invitation only, we expect this pilot course to be later presented as an official course in the Faculty.
Many people will remember I usually don't like general courses on Unix, Debian or whatever. What made me accept this time - even more, be enthusiastic about it? First of all, the requirements: We assume the students already know their way (at least as users) in a multiuser Unix-like system, so we won't be hand-holding them all the way through. Second, the focus: Sergio (who is among the first Debian users in Mexico and who got us our first full Debian mirror - which is actually a bit sick, but awaiting for prompt hardware upgrade ;-) ) wants them to focus on becoming developers. Not only developing science-oriented applications and libraries, but properly packaging and integrating them in Debian (and, hopefully, some of them will become interested in joining the project). We will also spend a good portion of the course on teaching them good practices on system adminsitration, teaching the principles behind what we do (i.e. I'm looking forward to participating, and in this case as one of the more students, in the sessions where different cryptography-related topics will be explained, starting from their mathematical foundations and going all the way up towards the implementation, where I'm more comfortable at).
It will be a nice experiment. I will be away for at least five of the lessons (Blame Debconf!), but I'm really looking towards the process and the results.
We will be making rough documentation of what we teach. We don't have a planned complete program, as we want to go with the group's real skills and interests, planning not more than three lessons ahead. This will be, however unofficial it is, my first time in front of a group in a university-esque setting (i.e. not short sessions, not capacitation built for a company, but with people eager to learn what we want to teach. I'll post again on this topic :)

Gunnar Wolf: On magazines without editorial direction

Scott complains on how Linux Format #93's articles comparing Ubuntu and other distributions often contradict each other, and blames it on the lack of any editorial direction or basic research.
I... Have to confirm this. But anyway, I can stand a bit on the different writers' side - Each article is written by a different person and, although the magazine must try to be coherent (of course, within certain limits - if the magazine suggests editor's picks in one article, they should not bash them to death in the next one).
I write the Linux column in the Spanish edition of PC Magazine. No, it's by far not a technical column, nor anything far like it. The magazine is end-user oriented, and clearly sponsorship-driven - In fact, my column was not part of the magazine for quite some time, as they gear it towards end-users, and sponsors (I cannot venture which sponsors, but your imagination will probably go to the same company as mine) do not like what I write about. All in all, I get the general topics which each month's edition will cover, and I just have to write an article about one of them. Of course, I don't know most of the other writers. There is no interaction at all.
And I guess that Linux Format is a typical magazine - If they run like PC Magazine, they just won't have the time to put all the articles together checking for inconsistencies. I think it is enough of a task to chase the contributors month after month (BTW, I'm a week late already :-/ But I cannot finish just today, as there's too much work to do, and I spend my time blogging... Hmh, time to finish this post, as coitus interruptus as it may seem).

7 May 2007

Gunnar Wolf: Nekkid city!

I did it.
We did it.
The whole lot of us did it.
And we liked it.
In fact, we loved it.
Today, Spencer Tunick held his long awaited session in Mexico City. I signed up a long time ago, yet could not believe this was really going to happen - And man, did it happen!
For those still wondering who is Tunick (lazy you, as with the first link, it becomes just obvious), he is an artist who enjoys gathering large crowds, getting them all naked, and photographing them. Some people (including me, until this morning) erroneously categorize him as a photographer - No way! Out of Tunick's own words, out of many comments I heard and read today (i.e. at El Universal's forum), I can assure you only a participant can feel Tunick's art - A sensation of togetherness, of freedom, of clean enjoyment, throwing out the denial and repression we have regarding ourselves and our society. I was quite skeptical. The Mexican society is well known for being conservative on many issues. Nudism in Mexico is basically something not even talked about. There are a couple of nudist beaches, but they are closely associated with relaxed morals and drug abuse, and are just not safe for, say, women on their own. Nudists are seen as sex-maniacs... And, yes, this is as far as it gets from truth.
As I said, not only did it happen here, but how! We were between 18,000 and 20,000 naked people in the Z calo, Mexico City's main square, the third largest square in the world. The previous attendance record for Tunick's works was at Barcelona, Spain, with 7,000 people. And the surprise is not just the number - I insist, it fills me with joy to recognize a positive change in my country, to recognize we are not that retrograde anymore.
Nadezhda and I were there, as many couples, groups of friends, even families (although, yes, people under 18 were requested not to come - they would be expelled if found). I think the main age group was people in their late 20s, but there were many people from every age group. We met people who travelled from Jalapa, Veracruz (5 hr away), to be here today. I read reports of people coming from Guanajuato (5 hr), Oaxaca (6-7 hr), even Durango (14 hr)! We met near the Z calo at 4:30 AM, as Tunick likes making his work with the early morning light. As you can imagine, and after quite a busy and tiring day, I feel like minced meat... So I'll leave this for now. I expect to come back to the topic in the next couple of days - But anyway: This was amazing. Incredible.

5 May 2007

David Moreno Garza: To Edinburgh

I just booked and paid my tickets to reach Edinburgh next month and attend DebConf7. I’ll be flying to New York on June, 16th through Delta from MEX. Then, I’ll go over the Atlantic with Flyglobespan, from JFK to Liverpool John Lennon Airport. From there, I’m still not completely sure, but I guess I’ll go by train to Edinburgh. Same way to return, on Sunday 24th, after spending a Saturday night in NYC. There’s a small thing that it’s still worrying me. I got the best deal ever from the US to the UK with Flyglobespan, but their first transatlantic flight will be by the end of May and I’m travelling in the middle of June. So, I’m bit skeptical on the matter. But reaching the UK from the US for only 550 USD, return, was impressive and I took the chance. If I don’t appear on DebConf on Sunday 17th around midday, it’ll be because I’ll be in NYC waiting for some answers from Flyglobespan. Anyway, I just moved and this travel expense was not easy. Actually, I wasn’t considering to attend, but after receiving sponsorship, I reconsidered and well, it couldn’t be possible at all without the support of the DebConf orga team, Gunnar, who lent me the sponsorship money for faster and local moves; my employer who is paying the MEX-JFK-MEX flight, but after all, my beloved fianc e, Raquel, who has been an incredible support for a guy like me (a fat, lazy, farty, stupid, anger-tending dude). I really, couldn’t be the happiest person I am today, without you: I love you, peque :-). Have I mentioned that any Debian friend visiting Mexico City can crash on our apartment? Yes! Just like bubulle’s hotel in Paris! ;-)

3 May 2007

Gunnar Wolf: On certifications

Ok, so LPI will be at Debconf, giving discounted certifications to registered attendees. Is this good or bad? Mario likes the idea, Madduck is in the middle ground, not decided on his stance on this regard, and Joerg basically says it's not worth much to him personally. Actually, I'll quote Madduck, as he has an interesting point:
I am not looking for employment, and if I was, I'd certainly not want to work at a company that thinks certifications are the true proof of capabilities. So I guess that leaves me with a 'no' still.
When confronted with this topic, I always oppose certifications. Why? First of all, I think they are worth very little. I got three or four Brainbench certifications when they were free - And of course, noticed right away that such a simplistic test is worth very little. Of course, LPI is a better established name, and is usually respected - Lets be fair, and talk about LPI together in the line with Cisco's, Microsoft's, Novell's and similar certification programs.
I've worked with several people who have got certified in different technologies, and almost always, this works against them rather than in their favor - Such people usually are blinded to all but their technologies. My most recent experiences are with the network infrastructure people - Cisco people know how to push Cisco, but know very little about protocol details, and cannot recommend a tool that's not madesold by Cisco. Same goes for 3Com. Same goes for everybody else. Although many certification tests include general situations like Solve this real-world problem, they are hampered by the final exam syndrome: The certification candidate spent a couple of nights frantically reading the books, and the material sits eager to jump on his brain lobes. Of course, given a couple of weeks, he has forgotten most of it and confused the rest. No, I don't have hard data to back this up except for my experience - But I have some experience at least. Oh, and of course: This people can quote from memory in inverse alphabetical order each of the command-line options to ls, but might be unable to spit up a clever shell pipeline without sketching it in paper and thinking it over for some minutes.
What will this mean for most of Debconf's target audience? Well, just what Ganneff and Madduck said: Take the test if you want to get a new job more easily - but you should have more confidence in yourself.
Just as a final note: Whenever I've interviewed people to work with me or for people that trust me, from all of the received curricula, I start by throwing out every curriculum that has the certifications earned in a prominent place. People who give too much weight to certifications IMHO tends to be worthless to work with.

Gunnar Wolf: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

This looks like random blabbering, right? A very specific random blabbering that has somehow appeared in blogs of at least tens (if not hundreds, maybe even more) blogs of techies all over the place. What is it?
For the more tech-friendly readers, it has some resemlance to a number - a long number, a 32128 bit one. And for those of you who are not Computer Science minded, you might actually prefer to see it as a simple base-10 (that means, decimal system) number: 13'256,278'887,989'457,651'018,865'901,401'704,640. I don't know how to spell it in English, but I do in Spanish (why? Because we have this difference: In Spanish, a billion is a million millions, and a trillion is a million billions - unlike English, where a billion is a thousand millions and a trillion is a thousand billions). So, lets do the excercise in Spanish:
Trece sextillones, doscientos cinuenta y seis mil doscientos setenta y ocho quintillones, ochocientos ochenta y siete mil novecientos ochenta y nueve cuatrillones, cuatrocientos cincuenta y siete mil seiscientos cincuenta y un trillones, dieciochomil ochocientos sesenta y cinco billones, novecientos un mil cuatrocientos un millones, setecientos cuatromil seiscientos cuarenta
Hah! I guess my fifth-grade teacher would be quite proud of me!
Now, I hereby pronounce my transcription of this utterly long and basically random-generated number into the beautiful Spanish language copyrighted by me, and publicly available under the Creative Commons Attribution-ShareAlike 3.0 Unported License, as it is a very valuable and hard literary work.
But, really, what is it? Well, this mindboggingly long number is the key with which most HD-DVD movies processed so far is encrypted with. Of course, the Motion Picture Ass. of America (MPAA) does not want this (again, randomly generated) number to be out there in the wild, so they say the number is copyrighted by them - This does not hold up, as it has been widely shown before (i.e. Intel dropped its 286/386/486 numbering scheme because a number is not copyrightable or trademarkable - and AMD was perfectly able to legally sell 386/486 chips). So, I have put more work into this number than what they have. I deserve the credit - the transcription is mine. Use it freely.
Oh, and of course, some more examples: [update]: Yes, sorry, I was counting with half of my brain shut down and the other half brain trying to fetch some coffeine, or something like that. It's a 128 bit number, not 32!

26 April 2007

Gunnar Wolf: Dude, where's my country? Seems like Google doesn't know

I was trying to make a credit-card purchase on the web. The site I was trying to give money to prefers not to directly handle such messy details, and outsource their credit card application to Google. So far, so good - I got redirected to Google Checkout. Ok, I start filling in my personal data, until...

WTF? and yes, I do mean it. WTF?
I live, as many of you know, in a little country called Mexico. No, it does not appear on many world atlases. It's so very small, only slightly below two million square kilometers, that it's easily overlookable. Also, only a hundred million people live there - Not much. No, the 25,000,000 people that live together with me in Mexico City won't feel left out at all - We are used to it. But come on - In the listing I see our alphabetically neighouring countries (Malta, Mauritius, Moldova, Monaco)... Why did they get listed and we didn't? Of course, I tried editing the form data and substituting Moldova's MD for our dear MX, to no avail - We are not only off the map in their lists, but also in the database - and there are some integrity checks. Does somebody know which way should I whine in order to get the Google folks to fix this? :(

Gunnar Wolf: tbm's Release Management talk

Thanks to Romain Francoise, I found and watched Martin Michlmayr's Release Management in Large Free Software Projects talk on Google Video's Open Source Speaker series. Martin: Thanks a lot, great talk. I've been following your presentations lately, as I've given some talks on this topic - Quality Assurance on Free Software Projects (Spanish only) - However hard I try to remain faithful to the subject, I end up giving a talk on what Free Software is and how its processes are naturally more prone to yielding better quality than propietary projects.
Anyhow, with this post I want to do basically three things:

25 April 2007

Gunnar Wolf: Got my Debconf tickets!

And, while on my way there, I'll get to visit my family in New York (and get to know a bit of the city, I hope) for a couple of days as well! :D Leaving Mexico in June 7th, three days in NY, travel to Edinburgh on June 10th (arriving early on the 11th), and head back home on the 24th. Yay! BTW, attempting to save some money and the pollution caused by air travel, I asked Google for how to drive from New York to Edinburgh. It looks clear and easy, but in the end I settled for air travel. Specially for the estimated travel time (about 29 days 17 hours)... Oh, and item 23 slightly worries me: Swim across the Atlantic Ocean: 3,462 mi.

17 April 2007

Gunnar Wolf: Init-related ideas BoF submitted for Debcamp

Ok, so it just seems like a hot topic - I just submitted a BoF for Debcamp to talk about the init-related ideas we've been discussing. As Debconf's Pentabarf conference management system does not like disclosing talk details before the talks are accepted, I'll reproduce here my short blurb:
This BoF comes out from several ideas posted in Planet Debian by Erich Schubert, Sven M ller, Joachim Breitner, Mike Homey and myself (so far). It's not to be "chaired" by any of us particularly, but I expect an interesting brainstorming session.
There are several different init systems present in Debian - However, we are only supporting currently one of them, good ol' sysv-rc - We have close to a thousand packages providing init scripts suitable for it, and close to none for all of the other systems.
In current systems, full of hot-pluggable devices, changing network configurations and so on, however, I think this situation is quite prone to change - sysv-rc and its runlevels are better suited for stable server-like systems, and is hard to adapt for future needs.
We will talk about the potential difficulties Debian will face in order to better support more init schemes, and discuss some ideas to solve them.
This should be a brainstorming session, not much material will be prepared (maybe some sketches by each of us, but nothing formal). If you plan on attending, take a look at the messages linked to in the 'links' section.
Note that, following Nomeata's suggestion, I'm presenting this for Debcamp - If you are not attending Debcamp and are interested, we will try to set this up via some sort of videoconferencing (or at least the usual video feed + IRC feedback), and I do hope we can have something showable (at least a broken concept) after Debconf.
In not-so-closely-related topics, I just learnt there is a shadow of doubt regarding my presence in Edinburgh - I will do my best to dispell the threat. I just don't want to miss a Debconf!

Sven Mueller: init script generators

Gunnar is following up on the init script blog posts by Erich and me. First a note to Gunnar: The idea of the init scrip snippets isn’t exactly my own idea, but rather taken from a comment to one of Erich’s posts (IIRC), I don’t know the original author anymore. Anyway, I really think that some init script generator should work. It should even be possible to fetch variables from /etc/default/<daemon-name> if needed. I’m just doing a braindump of what I have in mind for the start and stop of a daemon. I would expect a configuration file (currently I think one for each operation might be best, but INI-lookalike files might also be OK). So for the start operation, I would expect these options:
  1. simple daemon, uses a default config with a hardcoded path and needs no options or only static options passed:
    [SIMPLE]
    /path/to/daemon
    option 1
    option 2
    option 3
    
    Where I chose to name one option per line so whitespace and controll characters can be part of the options without the need to quote anything.
  2. a bit more complicated, needs a few variables from /etc/default/daemon:
    [TEMPLATED]
    /path/to/daemon
    option 1
    %PARAMETER_FROM_ETC_DEFAULT%
    --parameter=%ANOTHER_ONE_FROM_ETC_DEFAULT%
    
    Where the script generator would have to make sure that the parameters from /etc/default are filled in at runtime. I would expect POSIX-Shell-Scripts in /etc/default for this.
  3. Really complex: A custom script snippet is needed which has to do some specificc tasks, like cleaning possible stable locks which had been left behind.
    [SCRIPT]
    rm /var/lock/daemon.lck
    /path/to/daemon --background --and --other --options
    
    Where the script generator would simply take this script and use it where it would otherwise generate its own code.
As for stopping, I generally see only three options for the sysv-like background processes: Either a script is needed (see above for how that would look like) or a process needs to be killed according to a PID-file or the process name (with the later being rather bad). So this would result in:
  1. [SCRIPT] like for starting the daemon
  2. killing by PID-file:
    [PIDFILE]
    /path/to/pid-file
    
  3. killing by process name/executable:
    [PROCESS]
    binary
    
    or
    [PROCESS]
    /path/to/binary
    
    where the generator would either only look at the name of the process (first version, no full pathname) or for a process with the given executable (from /proc/ /exec, I would expect).
Alright, this would leave the cases of running (instead of backgrounding) the server and stopping such a running server (the later should be fairly simple unless the stopping of the server requires additional actions other than simply killing it) as well as the reload/restart/status stuff. But these should also be relatively simple actually. What would be interesting for me:
Does any init system require information that is not part of the following list? I would plan with supplying information how to: Finally, even with all that information available inside a Debian package, this would still leave one question unanswered: Who triggers init script generation? If a daemon package does so in postinst: How do I switch to a different init system? If the init system does it in postinst: What happens to additional daemons installed later on? If they get regenerated during system start: How much penalty does that cause? Currently I think the route to go is to provide a command to daemon packages’ postinst that (re)generates only the needed scripts for that package and have a command used in an init system’s postinst which regenerates all of them. That should do. Regenerating during boot would most likely take too much time and has other problems, too, like the availability of a writeable filesystem to store the generated scripts.
Alright, if someone would like to see this post (or rather parts of it) on the Wiki page about an Init HackFest, please transfer it there yourself. I’m currently not able to log in, for whatever reason.

Gunnar Wolf: Init followup

First of all, sorry for the delay. Leaving just as the discussion gets started is bad, yes... But I'm only now reading Erich's and Sven's follow-ups. Both (as well as some comments in my blog) ask why not integrating the startup links in each of the packages - Well, basically because I don't think that most maintainers will take care to do this, and we will end up having a situation very close to what we have today: If I'm not interested in supporting your favorite init system in my packages, I just won't bother to make the scripts.
Note: I'm going into braindump mode. Verbose blabber and some stupidity might follow ;-)
Think on the webapp scene - Most webapps ship with an Apache-like snippet so that http://yourserver/thisapp just works(tm). I love that, and it's one of the little details that make Debian shine - Things usually work with the least administrator burden possible. But it happens that there are other web servers around there - They just become somehow second class citizens (I happen to sponsor/comaintain Cherokee, for instance), as nobody cares to include the equivalent snippets for them. Apache is the standard, and is good enough.
The same goes for sysv-rc: It just rules the world. Who will work all the needed patches to support all the different init systems? As the maintainer for a simple package which requires to be started up, I probably won't care to even understand all the intimacies of every init system, at least until they all have a decent user base. But by having one package per (server,init-scheme) pair, any maintainer can come up with the needed initialization.
Of course, this degrades quickly. First of all, as a user: if mydaemon is not correctly starting up, I will probably file bugs at mydaemon, not at mydaemon-initscheme. If mydaemon changes its parameters, we will witness transition of mydaemon-*.
Further, remember this is Debian, and volunteer-work has its downsides. If the mydaemon maintainer is a primadonna (or just does not give a flying crap about the runit init scheme), he will just trash reports regarding a nonimportant init scheme. Bad. And, as Erich points out, we have ~1000 packages including /etc/init.d/something - It will mean 3000 or so packages for a decent (not complete!) coverage of the different schemes. And, of course, a very uncoordinated way of working. But back to my line of thought: If I'm promoting an init scheme, I cannot just push it down each maintainer's throat. I must include at least the most important init scripts somewhere. Maybe we could just group daemons by task, and then have -say- a webservers-runit package providing the init scripts for each webserver for runit? This could cut down from 3000 to some 100 packages, most probably team-maintained... But it still faces many scalability problems, and the bug-filled-somewhere-else problem seems unavoidable.
I think something interesting could come off Sven's idea of providing several independent scripts instead of today's complete init scripts - This would make it easier to adapt startup/shutdown and similar events to different world views, and if not specifically needed, most init scripts could even be autogenerated calling the right bits here and there. That would rock - except in the corner cases (I predict no less than 10% of the packages will become corner cases ;-) ) where it will crumble apart. But maybe if a package declares it should be autostarted and provides the separate bits, the sysv-rc, upstart or runit helper can come up with an autobuilt initscript (or equivalent) - And if it does not work, it can always be overriden by a maintainer- (or user-) supplied, explicitly built script. Humh...
The topic surely calls for a Debcamp session, as Joachim says in comments in two of our posts and Erich acknowledges. Erich, as the main instigator of this blog series, I hope you can at least join via Ekiga or such, as it can be quite interesting - But, yes, none of the people involved so far participates in any of the inits' maintenance... Anyway, please keep the ideas flowing. I want to sketch something up, as I feel this can be useful - and not only for initscripts, but for many of the areas where Debian provides several ways to do the same thing. And, once again, that's one of the best points of Debian for me.

Next.

Previous.