Search Results: "az"

25 May 2006

Simon Law: Debconf 6, Day 5


Gorditas
Originally uploaded by sfllaw.
After a very tasty breakfast of gorditas in the market, I sat through talks all of Thursday morning, which were all quite good. They were visionary talks, talks about where Debian was going to go, and what we can do to get it there. After a brief lunch, we returned for the talk of debugging debian-installer. I've been lugging around my laptop, jamaica, through the entire conference. It's an old A20m, which means that it's a rather bulky looking thing, that is quite heavy. What makes it noticable is that it's been epoxied together, after having been dropped one too many times. People marvel that GNOME runs reasonably on it. Anyway, during the talks, my wireless card decided it didn't want to work any more. Pulling it out and letting it cool down seemed to get it responsible again. Strange. After the afternoon talk on how to find security problems within Debian, I went back to the hotel to change. You see, we were going to a Formal Dinner. I had not packed for a formal dinner, thinking that all functions would be casual at the very most. Still, I pulled out a pair of pressed slacks, an ironed shirt and a colourful tie. When I left my room, it became apparent that Formal actually meant "clothes without any holes".

Mariachi band
Originally uploaded by sfllaw.
We all packed into the coach buses from yesterday and drove into town. This was actually quite difficult for the drivers, because the streets were very narrow and the buses were incapable of turning around corners. I think it took us fifteen minutes to park, which mostly consisted of doing a 30-point turn. We disembarked and walked into a large building. Two of the walls were made of stone, the rest were made of stucco. There was a small stage presiding over a floor full of fold-up tables which were arranged in a Debianesque spiral. I decided that I was going to be at the nexus of activity, so I sat down at the central table and reserved a seat for AJ. As people seated themselves and started talking, there was a sudden commotion. Holger was running towards AJ with a plastic crown, deposited it unceremoniously on his head, and continued sprinting past. This drew applause and photographs, along some cheering of "Long Live the DPL!" AJ looked decidedly uncomfortable. It's probably for the best that Debian isn't a monarchy.

Indoor waterfall
Originally uploaded by sfllaw.
Our evening got more and more interesting. A mariachi band came in the door and started playing. Soon after they started singing, rain began to fall. This made lovely sounds on the tin roof above, which made me a little sleepy. Right about now, a brawl sprang up near the front door. There was some shoving involved and quite a bit of yelling. Soon, the combatants were separated and some of them left the building in anger. All this time, the musicians were playing louder and louder. As the music crescendoed, the rain fell harder and the wind blew stronger, until we had to close up the shutters to keep the water from blowing in. And the band kept trying to play over the rain. Then, slowly, the roof began to spring leaks. We were lining up for food then, and by the time I got to the buffet table, water was pouring into the trays. I managed to get something reasonably dry and scurried back to my seat. Which was wet. After I got some food inside of me, I experience the final act that capped our evening. We were chatting a bit about the strange weather we were having indoors when suddenly, water started cascading down one of the walls. It made a tremendous roar and the floor of the building quickly flooded. As I was photographing the events, the lights suddenly went out with a pop. We were plunged into darkness. I made my way back to my seat and someone eventually found the fusebox. The lights were restored, one by one, and it was soon time to leave. I don't know how the organizers of next year's Debconf are going to be able to top this: ceremony, live music, fisticuffs over a woman, an indoor waterfall, and drama. This was a night we're all going to remember.

Martin F. Krafft: Post-Debconf

One thing that never really came to my mind during Debconf6 in Oaxtepec, Mexico, was blogging about what went on. In part, that's because I never had a minute to spare, plenty of other people were blogging about the event on the planet, and definitely also because I developed a dislike to play-by-play blogging, which I certainly do not like to read for my part. But now, sitting in Oaxaca in the Hostel Pochon (which has free wireless, imagine that), I feel like at least jotting down some of the highlights. My favourite non-Debian related happening must have been the descent to Mexico City airport. I am willing to bet that our pilots either had too much to drink or way too much fun, because we literally zig-zagged across this amazing city. It's about 2200 metres above sea level and our inflight information system noted our altitude at 3500m for at least 20 minutes, so glued to the window, I felt in a miniature world, hovering above a city that extends to all sides however far the eyes could see (I conclude that in all miniature worlds I've seen so far, such as the Eisenbahnmuseum Hamburg and Swiss Miniature, trains and cars are generally moving too fast). The population of "la Ciudad de Mexico" (which the locals just call "Mexico") is estimated to be somewhere between 20 and 24 million, which makes it the largest city in the world, and it was not hard to believe that during the descent (and afterwards). I arrived at Oaxtepec, a government-run vacational complex, some three or four hours after touchdown and didn't last very long until the jetlag took me to bed. That was Saturday night. With Sunday morning, the official Debconf conference had started and was to last for seven days. In general, that meant talks and BoF sessions throughout the day, loads of hacking and socialising in between, food, and drinks with more socialising in the evening (and throughout the night in some cases). I really enjoyed seeing many of the folks I had met at last year's conference in Helsinki, while some others' absence was equally prevalent. I spent most of the week hanging out with Biella Coleman, Micah Anderson, Sean Finney, Clint Adams, and a bunch of others, I also managed to make the real-life acquaintance of some people I had known online for a long time. In retrospect though, I should have spent less time with the regular clique (with whom I was to go to the post-Debconf trip anyway) and spent more time getting to know more of the attendants. The vacational complex was interesting, and unlike many others, I didn't get annoyed by the long distances between presentation room, my accomodation, the hacklab, and the place where we were served edible lunches and dinners. Rather, I enjoyed walking with others, engaged in discussions on some of the more prevalent topics filling my life with Debian (such as version control, low-level Debian tools, security issues, and social challenges). The only nuisance was the long walk to the nearby town and its market, from where I would get most of my food and drink throughout the week -- but even that walk I rarely had to manage alone. The massive pool (with a ten metre diving board) that lay in the middle of it all didn't really attract me that much, but then again I've never been much of a pool person. In the interest of various people worrying about my safety in Mexico, as well as some of my clients, I purchased a Mexican prepaid SIM card for my cellphone and linked up with the world (after two attempts and an accumulated 2.5 hour wait). The fun was only short though, when I found out that in Mexico, phone charges are ridiculously expensive, and receiving calls on a mobile phone costs exactly the same as making them. At USD 1/Minute to and from Europe, I ended up limiting my air time to a minimum. I spent most of the first couple days getting mdadm back into shape, bug triaging and uploading a new upstream to experimental, except for Monday, which I spent together with Joey Hess, Micah, and Biella trying to recover files from her wrecked filesystem, which we managed in the end using a simple fsck to at least recover her presentation. I'd be sitting on the terrace in front of the "hacklab" where people kept passing by, so my work certainly wasn't focused and without interruptions, but in the end I was still satisfied with the end result. And in the evenings, it was usually the same terrace, sampling the local beer, enjoying cheese from all over the world at the cheese party on Tuesday night, trying liquors from other parts of the globe, and talking and joking and meeting great people (I truly love the Debian crowd). Out of the large assortment of talks available, I attended several but found that front-up presentations aren't my thing and I would have to let the topic simmer a bit (along with some research) before delivering my questions to the speakers outside of the talk (where I finally got some interesting answers to long-standing questions). Thanks to the awesome work by our video team, which recorded every single presentation to tape, streaming it live and also intending to publish it on a post-conference DVD, I found myself often listening in on talks I wouldn't have gone to, while hacking away on said porch. Noticing, however, that many talk slots were left unfilled at the start of the conference (they did quickly fill with impromptu presentations and BoF sessions once the inertia of the event picked up), I was a little annoyed that my proposal was turned down in the first phase of selection. Wednesday was the day of the day trip. Against my recommendations of an early departure, we left the site at 11:30 with six busses (remarkably on time), heading for Xochicalco for a rather boring tour of the museum, and a vastly more interesting, two hour stroll (in the midday sun) around the actual archeological site, which was quite impressive despite mostly being artificially built or rebuilt by the government. We went on for an excellent buffet-style lunch (which was amazingly well organised), and then headed on for Cuernevaca, a small, romantic town where we had only an hour to spend before heading back home (who recommended starting the day earlier?). When we finally made it back to the conference, most of us were just tired and the evening wasn't as wild as some of the other ones during the week. Come Thursday, my mission was to attack the thinkpad packages, which make Debian on IBM laptops a lot more of a pleasure to use. Unfortunately, I didn't get anywhere (yet) with that work, simply because most of my time was spent battling the weird hacks that make up module-assistant, which actually makes it a lot harder for developers to provide kernel module packages (while really improving the end-user's experience). But of course, there was a positive twist to this issue, as I would now leave my screen in frustration much more frequently and socialise with the others. For the evening, the organisers had prepared the "formal dinner" (which isn't so formal at all). A bunch of busses took us to a nearby shed, where we found all tables arranged in a massive swirl, and when we were all seated, a Mariachi band entered, at the same time as the rain outside picked up -- I thought one of the Mariachis was playing the snare drum but as the rain grew stronger, I concluded it must instead be the drops on the metal roof causing the noise. Generally in love with rain, I made my way to the door while others lined up to fetch dinner and stood in awe for a bunch of minutes at the sight of the marble-sized drops descending from the sky. ... when suddenly I saw one of Debian's troublemakers, Jonathan/Ted Walther, running at me, chased by three developers and found myself amidst their altercation before I could do anything. People screaming, one reaching over my shoulder to push Ted, it was all too much. I told everyone to calm down, to which Jonathan/Ted reacted, vigorously shaking and foaming, with a "get out of my fucking way, you fucking Nazi" and I knew that stuff had gone wrong. I withdrew, and in an attempt to find out what had happened managed to piss off one of the three involved developers, who'd then later refuse to hear me out for an explanation. All that really left me in a depressed state mainly because I simply hadn't expected Debian developers getting physical at each other, and this time it was Erinn Clark who consoled me and turned the night around for the better. I still had no appetite and took the first bus home, sent an apologetic email to the offended developer (who never acknowledged receipt but seemed to have forgotten the incident the next day), and enjoyed beers while the others kept returning to the hacklab. Apparently, people were quite aware of my (passive) involvement during the incident, so I was bombarded with plenty questions, most of which I refused to answer for lack of knowledge of the actual facts. Still, when I saw one girl in another altercation with Jonathan/Ted later that night in response to severe offences he published on his blog, which led her to come close to tears, I decided it was time to pull him off the planet. He re-added himself shortly afterwards by "fixing a typo" (according to the CVS changelog), but by that time, I couldn't care less no more and simply resumed the discussions, which eventually turned into topics of life, intelligence, and the bottom-up vs. top-down debate. I am a strong supporter of bottom-up (as many of you know), and I somehow regret the way I approached the discussion, because in retrospect I see myself as somewhat arrogant during it; fortunately, noone seemed to hold it against me the next day. Throughout the entire week, I built up a reputation of the guy that needs no sleep: staying up until the early morning hours, yet rarely missing any of the first talks at 10 in the morning, and even joining with people for breakfast at the market before. Friday morning, however, I just couldn't get up. We talked until six in the morning, and when my eyelids finally moved after I dropped into bed, it was already noon and I dragged myself to the next talk. after which I simply returned to the hacklab and developed more of my dislike towards module-assistant, before the call for the official Debconf6 group picture rescued me (and those around me). The keysigning party followed and I made the mistake to offer to coordinate it (picking up where Anibal's great preparation left off), without really running the process through my head before. Standing up on the diving tower and screaming to the crowd of 140 participants, it was in part due to Moray Allen's comments that the party went more or less without any complications; I did get to conduct another experiment though. During the keysigning, Mark Shuttleworth invited a bunch of us to join him for dinner to discuss the Debian-Ubuntu situation (no bribes involved; we paid for ourselves). I'll have more on this in a separate post when it's ready. The discussion continued after we arrived back at the hacklab, and once again, I didn't go to bed at a civilised hour... ... but I did get up in time for Biella's talk, during which she employed very effective techniques to get me to actually pay attention (which I would have done anyway): she required my laptop for the presentation. Again, the talk didn't do much to me (which is not Biella's fault), but I am certainly interested in reading the relevant parts of her dissertation. At the same time, however, it made me realise how far from reality the academic world is: big words and complicated concepts just don't count when it comes to getting your hands dirty, and I will try my best not to go down that route when my own dissertation gets more serious. Two other memorable events happened on Saturday: the fun group photos (I was determined to get the participants to line up in a swirl in the pool, and partly succeeded), and the last-night-party on the porch of the hacklab, which was mighty fun, in part because we had speakers blasting tunes for the first time that week (thanks to the dance BoF the night before), and Ryan Murray was playing some of the truly excellent mixes of a close friend of his, which are available from mux.ca. I didn't sleep that night. And then Sunday had arrived, the sad last day of a great conference. I would like to thank all the organisers and helpers for making this event possible! I know some of you had some reservations before and during the event, but in the end it's the result that counts, and I was only one of many who were absolutely satisfied by the week. A great big THANK YOU to you! Following the last bits of socialising and copying Biella's harddrive image to Micah's drive for later rescue of some of her precious videos, we were off to Mexico city for the vacational part of the trip. Some of us went by bus, Vagrant and myself hopped onto the bus to assist one of our developers with his wheelchair at the airport. When the group reconvened in front of our hotel for the night in the centre of Mexico city, the vacation had started (blog post forthcoming sometime...)

Alex de Landgraaf: Debtags SoC project starts

Still amazed I actually got my proposal accepted. Considering I started writing it 3 hours before the (extended) deadline it was closer than that I'd like to, but lets hope the summer is long and I'll be able to do a lot of Debtags-hacking without too many close calls :) As for most of my recent projects, I've started a Trac environment and SVN repository. Doesn't contain much now besides my SoC proposal and a few links, but I'll get up to speed soon enough...

24 May 2006

Wouter Verhelst: Duck with whisky

One of the classic recepies that get forwarded by mail over and over again to me is the following. It's usually in Dutch, but I've translated it: Get yourself a duck of about 1.5 to 2kg, and two large bottles of Scottish whisky, bacon strips and a bottle of olive oil.
Put the bacon around the duck, and treat the inside with pepper and salt.
Preheat the oven for 10 minutes at 180 degrees Celcius.
Fill a large glass with whisky.
Drink the whisky while the oven is preheating.
Put the duck on a fireproof platter and fill out a second glass of whisky.
Drink out the second glass of whisky and put the duck in the oven.
After 20 minutes, put the oven to 200 degrees celsius and vill 2 glazzes of whisky.
Drink out the glazzes and pick ub the piecez of the first glazz
Fill anozzer half glazz and drinkit.
After halven our, open the ovven to cheq the duck.
Fetch the burninjury oindmend in the bathrthroom and pud it on the ubber zide of the lef thand.
Vill anozzer two glazzez of whiskey.
Open the ovven after the first glazz izz embdy and biggub the bladder.
Pud the oindmend on the inner zide o the righdhand.
Biggub the dug.
Biggub the dug again and use a towel to rrremovve the oindmend from the dug.
Degreaze th hand with visky and biggub the oindmend dube whisj is laying onthe ground.
Clean ub the brokan glazz and put the dug bag in the ovven.
Pig ub the dug and open the ovve firs.
Open the segond boddle of bisk and pud id straight ub again.
Get ub from the fllloorr and puz the bagon under ve cabined.
Geddub again and siddown aniwey.
Pud the boddle on the flooj.
Dring fromve boddle since the glazzez are borken or unreadjable.
Switch ovv the ovven, gloze your eyez, and ffffall over. No, I didn't try it. But it might sound like something nice for a DebConf in Edinburgh...

Matthew Palmer: Testing the Testing of Your Tests

I'm writing an application in Ruby that makes heavy use of XMLRPC (the application of XMLRPC-over-Unix-socket fame), and so I'm using Mock Objects to mock out the XMLRPC client proxy and provide an interface that doesn't involve having a whole other infrastructure running on my laptop so I can run my test suite. For those who don't know, mock objects are objects which look and superficially act like the real objects you might use to communicate with an external service, but don't actually do the communication -- instead, they return canned responses to your calls. Why is this useful? Well, imagine that the real object talks to a SOAP service on the 'net (such as the Google search API). It means that every time you run your test suite, you need access to the Internet. The external service may also cost something everytime you talk to it -- or it may be impossible to use to test, since there's statistics generation or something going on that means that hammering it for test purposes is just impractical. In addition to returning values to your application, mock objects will usually record what has been called, so that after your test run is complete, you can also verify that all of the methods you wanted called have actually been called. This means that you can have a good idea that what you wanted to happen to the service actually would have been done. Handy. Some people have a (justified) ditrust of Mocks, because it's easy to make a mock object that doesn't perform like the real one (and hence invalidate your tests), but they provide a necessary evil in cases where you just can't use the real object when running your test suite. The XMLRPC proxy I'm using has a bit of a quirk. Everything runs through one method on that object -- XMLRPC::Client#call(). This seems really limiting, especially in a wonderfully dynamic language like Ruby. In reality, it's not too bad -- it makes the object interface easier to mock, and you couldn't emulate the whole thing with method_missing anyway, because you can have various Ruby-illegal characters in XMLRPC method names. The downside to this all-in-one-method thing, though, is that simply verifying that #call() has been invoked a dozen times doesn't really tell me much about whether the mock was used the way I wanted it to be used. My chosen mock object suite, Test::Unit::MockObject, whilst otherwise excellent, is (or rather, was) missing the ability to verify the arguments that are passed to your calls -- you can say "I need methods x(), y(), and z() called", but you couldn't say "I need the call y('foo', 'bar', 42) made". Of course, this change the mock object class is non-trivial, and needs to be tested itself (it'd be pretty lame if a class intended to facilitate automated testing lacked a test suite of it's own). I added a bunch of tests to the test suite, and got some good results. I had a couple of false starts, where I wasn't checking most of the corner cases (where bugs lurk in the shadows), but eventually I got a test suite that was fairly complete, which drove the new features I needed to a good place. So I carted my newly enhanced mock object class across to my production project, and off I went. Except that I was getting some downright weird failure messages when my code wasn't invoking the mock object the right way. Why? Because I hadn't tested that my failure messages were appropriate. Why was that? Because the assert_raise assertion in Test::Unit doesn't have a facility to make sure that you're passing back the right exception message, only that you're passing back the right exception class. Whisky, Tango, Foxtrot? Over. (This space intentionally left blank for me to insert the correction to this claim that the lazyweb is sure to provide) So I had to write a new assertion (assert_exception_message) which checked that both the right class and the right message came back. This code, of course, needs to be tested too, because otherwise you can't be sure that your test code is performing right. At this point, I was writing test code to test a new assertion I'd written so I could test the mock object class I had modified so I could test my application. At this point, things got a bit "meta". It got a bit difficult to separate out the tests from the tests' tests. But I fought through the brain melt, and shortly thereafter came out the other end with a properly working piece of actual application, and all was well in the world. By now, a certain Mr. Tendys is probably rubbing his hands with glee, as he gets ready to espouse at length about how this whole post just proves how utterly useless test-first programming (or even testing in general) is for producing economically-viable software. Let me analyse what I "spent" on getting all this functionality, though -- about 3 train trips home -- maybe 4 hours of time total, including writing the extra tests in my application to use the wonderful new features I'd made. That's not much, in the grand scheme of things. I've wasted that much time in a day skiving off work in the past because I was frustrated with what I was trying (and failing) to program, usually because I was swamped with bugs. What did that four hours of my time buy me? Heaps. I can now better verify my software works as anticipated. I have confidence that my software is a lot more robust than it was before. My tests identified several issues that passed my eyeball check, but blew up when I tried to actually use them in a particular way. But with the help of my tests, I identified the problems quickly and went on my way. Since I was working in a localised area of the application, I was immediately familiar with the code, and could stomp the bug almost immediately. If I'd only done end-to-end testing at the end of development (or worse, released it with the bugs still in there), the debugging would have been much harder because I'd forgotten little details about the code. I reckon that benefit, alone, has probably saved me 4 hours already, since I've spent whole days hunting down little bugs in an ad-hoc fashion in the past. I'm fairly sure most any programmer can empathise with me there.

23 May 2006

Wouter Verhelst: Jazz' Oops.

wouter@jazz:~$ ps aux   grep [k]swapd
root         4  0.1  0.0      0     0 ?        Z    Apr26  63:19 [kswapd] <defunct>
wouter@jazz:~$ dmesg   tail -n 23
Warning: kfree_skb passed an skb still on a list (from 000e4416).
Negative d_count (-1) for sparc32/soft-fp
Unable to handle kernel NULL pointer dereference at virtual address 00000000
Oops: 00000000
PC: [<00027c16>]
SR: 2004  SP: 043f9f24  a2: 043f8000
d0: 0000002d    d1: 00000001    d2: 04181f50    d3: fffffbd5
d4: 000001af    d5: 00140d6c    a0: 00000014    a1: 0000003a
Process kswapd (pid: 4, stackpage=043f9000)
Frame format=7 eff addr=043f9f4c ssw=0485 faddr=00000000
wb 1 stat/addr/data: 0005 00027c0e 0010e024
wb 2 stat/addr/data: 0085 00000000 00000000
wb 3 stat/addr/data: 0005 00000000 00000000
push data: 0010e024 ffffffff 01d33ae0 04181fb0
Stack from 043f9f8c:
        01b97300 00000001 00027da8 04181f50 00000001 00000005 00000030 00000005
        00000001 00000002 043f8000 00002000 04371830 00191ff8 00028070 000005d9
        ffffffff 00000020 00019740 00000005 00000030 00000000 00000005 00000000
        000197f6 00000030 00002980 000029b4 00000000
Call Trace:
        [<00027da8>] [<00002000>] [<00028070>] [<00019740>]
        [<000197f6>] [<00002980>] [<000029b4>]
Code: 265f 285f 4e75 2f0c 2f0b 286f 000c 41ec 0018 b1d0 
That's bad, right? I guess I'll have to reboot it when I get anywhere near it. In the mean time, I've had to shut down its buildd, since not running kswapd is wreaking havoc with the load on jazz. And while I'm at it, might try to install 2.6 on the box, too, see whether that works yet. Only that has a different set of issues; it doesn't seem to be possible to generate initrd images for 2.6 kernels while you're running 2.2. And I'm not compiling my own kernels; Debian's kernels are just fine. If I can get them to work. Suggestions, anyone?

22 May 2006

Gunnar Wolf: Back to... Normality?

Yesterday night, without all the stares and ceremony I would have liked for such an important moment (but, hell, it was ~500m away of the Oaxtepec entrance!), I gave the three-finger-salute and rebooted moe.mexico.debconf.org. After some seconds, I started unplugging the six Ethernet cables that this noble machine held together forming Debconf6's connection to the world (thanks, Punk0 and Jyr, for working with this bunch of crazy and nervous people, five days nonstop until the wireless link between homer and moe worked fine and reliably, and still talking to us!) and ran back to the hacklab to finish packing the van with the lent equipment.
Ok, so now moe is back in its place, my office (believe it or not, yes, today I came back to work). Its identity has been restored to mosca.iiec.unam.mx, and moe's ancient but still working hard drive now sits idly where it belongs, in my desktop drawer. I am back in my place again, tired as I can be, but really happy of having ~250 of my closest friends visit my country. Besides, I am very happy that, AFAIK, this Debconf is the one that most people spend some time on an after-trip.
I am really happy with what we did at Debconf, even given all the problems we originally had. And... Well, I eagerly wait for Debconf7, where I expect to spend much more time attending talks - but most importantly, hanging out with you, having nice, fun talks/mao/whatnot.
PS: Alfie, you are severly mentally disturbed!

Edd Dumbill: Give me books, twice

Two books have recently been published that I want to read.The first of these I took delivery of instantly in PDF form, and a paper copy will make its way to me in due course so I have it as a handy reference.The second of these is going to take 12-14 days from Amazon (5-7 days if ordered through O'Reilly's UK distributor Wiley).
There's been a lot of talk on David Heinemeier Hansson's blog about PDF publishing, but to me it's simply a way of getting me the information I need quickly. Normally, I want the paper copy too.Another small but significant benefit is that PDFs weigh very little! Having just taught a Rails tutorial at XTech, I can vouch that there was no way we wanted to carry around 30+ copies of the Rails book on the offchance attendees wanted to buy it. Whereas some publishers have experimented with certain product lines available only as PDFs, I can't quite shake the feeling they're offering an inferior product in which they are not confident enough to commit to paper.My suggestion is that PDF and print is not an "either/or" choice, but an "and/or".

Carlos Parra Camargo: Powered by debian sarge

This weekend, i've been thinking about debian-cd and also, as you can see the debian logo at the right bar, i've installed a debian sarge in my personal server. In two days i will know if i've been selected to participate in Google Summer Of Code. I send two applications: rewrite debian-cd and a graphical tool to compile debian packages. I have to confess that i've already been working in debian-cd-ng (i call it debian-cd next generation, idea stolen from bzr) because i'm really interested in. For many years, i've been really interested in the debian world, it was a time that i was really interested in become a DD but i was afraid of the process. I'm looking forward a great piece of software to package it to debian, if i found it this summer, surely i will package it and try to upload to debian i hope that it's just a matter of time. Well, i've many exams in a week so i've to study a little harder for this week. The friday i've an exam about informatic rights, it's really interesting and it's greatful to have a subject that it isn't relationed with maths or programming. Pleasy notify me any bug on my english, thanks :-)

21 May 2006

Christian Perrier: Debconf 6 - day 6 - real content

So, really, here's now the full story of that 6th day of Debconf. It indeed began as early as usual, like 7:30 wake-up after being to bed at 02:30. It's amazing to see how I didn't yet burned out. I had to run a 2nd BOF about i18n infrastructure, which main point was indeed to begin summarizing all the ideas we exchanged during the first one, then later during the various private discussions. We had the very good suprise to finally see Javier Sola showing up at the meeting. For those who don't know about him, Javier is member and one of the heads of the Wordforge project, a project that attempts to simplify the process of localisation of Software and is developed with Free and Open Source software in mind. Wordforge is the project that now covers the development of Pootle and related tools such as the Translate Toolkit. Javier came especially for TWO days at Debconf, from Cambodia, where he lives, just to meet us. I tried, during this second BOF to summarize ideas we had already prepared, along with other people, the night before. It is really good to see people actually pusshing you up to achieve things you wouldn't have any idea being able to do when coming. Javier then improvised a general presentation of Wordforge, which has hopefully been taped along with the BOF so that interested people will be able to see it. I have to confess that I ended up this very long session (about 2h50) absolutely enthusiast about the idea of collaborating with Wordforge and this is the way to go if we want our i18n infrastructure. Just don't ask me why, I just know this...:-) The day then went at the speed of light. First, Javier (Fernandez Sanguino, that time) and I finally began to synchronize our thoughts for the talk of the next day. This quickly lead us to...the lunch time where we continued discussing together (not much occasions to talk with Javier during that Debconf even though we wrote a 25 pages paper together...). Too bad I missed the part about NM process by Christoph Berg which would have been deeply interesting to participate. Post lunch continued with still slides work with Javier, missing our fellow Josselin talking about shared libraries (I'm afraid I wouldn't have got a clue about this, but anyway....). My award for the "best Debconf6 talk" goes, this time, to Meike (who would have guessed?) for this so great talk about talks. And, no, you're not *that* jamming from one leg to another. The group photo and the keysigning are of course traditional events of a Debconf and both were one after the other...pretty tiring, but as usual good fun. I very slightly regretted that several of the usuall participants of the keysignings I've already been in weren't actually participating in that one. For sure, many of us have already exchanged keys but I see this also as a kind of "bienvenidos" to all participants in Latin America in this Debconf. For the same reason, I would also have, like Damog, been glad to see Anthony attend the Debian Latin America community BOF but I tend to believe that being in all the place people would like to see him and talk with everybody who wants to talk with him, is simply not humanly possible. Finally, after lunch, we i18n dudes continued with a huge discussion, again, to continue drawing ideas for that damn i18n infrastructure stuff. I ended up the "day" completely enthusiast (and, no, without any chemical help) and finishing my mail. Finally, at 02:00 the day finished liked a dream by a nice online chat with Elizabeth (my beloved wife, dudes) who was actually waking up to drive our daughter to the high school. To bed at 03:45...a bit crazy. I have a talk tomorrow...

Norbert Tretkowski: World domination

I'm really amazed to see so many users of the ion3 window manager here at DebConf6 in Oaxtepec.

20 May 2006

Ren&eacute; van Bevern: ion3-scripts for Lua 5.1 also in experimental (and: strange language designers!)

As Norbert already pointed out, the Ion 3 suite of packages is currently hanging around in experimental, because Ion 3 now uses Lua 5.1, which breaks most of the user-contributed scripts. Fortunately, I think this state will be for long, because I have not been lazy either and changed almost all scripts to work with Lua 5.1 and uploaded an updated ion3-scripts package to experimental. This is the first time ever that I see language designers breaking basic things in their language with a minor revision. It is that the for-loops for Lua 5.1 are incompatible to the for-loops that were commonly used in Lua 5.0 programs. You can imagine what that means to most Lua programs, since a for loop is rather not a seldom-used construct. ;-) But hell, Lua also makes its parsing of floating point numbers dependant on the current locale, i.e. 5.1 is a valid number in a Lua program when parsed in LANG=C but not in LANG=de_DE. Okay, I am straying from the subject ... what I really wanted is to ask you to test the new ion3 package in conjunction with ion3-scripts from experimental and report bugs on still broken scripts. My impression is that it is working rather fine and can go to unstable soon.

David Pashley: Choosing Member Functions at Runtime in Java

Have you ever wanted to call a member function in your class, but not known what it will be at compile time? I'm writing a SAX parser and would like a function for every element name. I could write a massive switch statement in the startElement function, but this will quite quickly become unmanagable for a large schema. The alternative is to look to see if a particular member function exists and call it. To do this little bit of magic we need to use Java's introspection API. The first thing to do is to get a Class object for our class. We can do that by calling:
Class klass = this.getClass();
We can then look up the method we are looking for using Class.getMethod, but this function requires an array of types that the method we are looking for takes as parameters, so we get the right version of an overloaded method. We can do this with:
Class[] arguments =   Int.class, String.class, URL.class ;
Method method = klass.getMethod("foo", arguments);
Now we have our method, we can call it using the Method.invoke() call. This takes an object as the first parameter, which we can use this, and an array of Objects for the parameters.
Object[] values =  bar, baz, quux ;
method.invoke(this, values);
But what happens if our class has no member method called foo()? Well, Class.getMethod() will throw a NoSuchMethodException, so we can just throw a try/catch block around the code to deal with unhandled functions. It's worth pointing out that Class.getMethod() also throws SecurityException and Method.invoke() throws IllegalAccessException, IllegalArgumentException and InvocationTargetException, so you'll want to catch Exception too. We can chain some of these calls together and the result for my SAX parser is:
public void startElement(String uri, String localName, String qName, Attributes atts) 
            throws SAXException  
   try  
       Class[] argTypes =   String.class, String.class, String.class,
               Attributes.class  ;
       Object[] values =   uri, localName, qName, atts  ;
       this.getClass().getMethod("startElement_" + localName, argTypes)
               .invoke(this, values);
     catch (NoSuchMethodException e)  
       log.debug("unhandled element " + localName);
     catch (Exception e)  
       e.printStackTrace();
    
 
With this arrangement, when I want to handle a new element in my code I can just make a function like:
public void startElement_foo(String uri, String localName, String qName, Attributes atts)
            throws SAXException  
   ... 
 

Kai Hendry: No Java thanks

I just visited Google and Firefox popped up a message, “Install Missing Plugins”. Oh crap. Are Google using (more) Flash I first think? Then I go see what plugin it wants… the Java runtime environment !! WHAT? NOOOO! I also sadly saw this webtoolkit released recently by Google that seems to be a Java + Eclipse monster. I hate Java. Absolutely loathe it. Recently there has been talk of an amazing license change to warrant its inclusion into Debian. Evil. I thought Java was dying. :(

19 May 2006

Thom May: Relocating

<p>I&#8217;ve decided that with the amount of changes my life will be going through in the next few months (of which more in a later post), I should really start blogging again.</p> <p>I&#8217;ve gone looking for something with a pretty web front end, and since I refuse to install the <a href="http://www.php.net/">Abomination</a> on my server, <a href="http://www.typosphere.org/">Typo</a> looked like a pretty good choice.</p> <p>The titles are a nod to two of my favourite authors - Kim Stanley Robinson for &#8220;haecceity&#8221; and Ken Macleod for &#8220;biolog&#8221;, his take on blogs in <a href="http://www.amazon.co.uk/exec/obidos/redirect?link_code=as2&amp;path=ASIN/1841493449&amp;tag=haecceity-21&amp;camp=1634&amp;creative=6738">Learning the World</a></p>

Anthony Towns: On Photo Ops

Who would have thought this would turn out to be one of the better DPL portraits from DC6?

Joey Hess: a night to remember

(Written mostly for my family since hundreds of others are probably writing their take on the same for Planet Debian.) So glad tonight wasn't another slow dinner for 300 geeks, but instead a masterpiece that couldn't have been orchestrated better on purpose. Sitting in the center of a Debian "swirl" of tables in a big echoing metal-roofed meeting hall with two rough stone walls. At the "DPL table", which means we get to eat last. A mariachi band comes in in a bit of a hurry, horns playing way too loud but still fun. And quickly after there's a sound like a thousand tapping drums underneath the music as rain starts coming down, drumming on the roof. A couple of songs, a couple of burts of rain. One time the band is up on the stage, reach the climax of their music perfectly timed with a torrent of rain that concludes it, washes it away and drowns it out. Just to add to the flavor, a scene develops in front of the stage. If you ignore what's really going on (which I won't go into), it's right out of a Mexican telenovela: One tall guy with multicolored hair and some others remonstrating a guy who subtly reminds me of the Mexican clown that would be characterised as the "tramp". And then they push him right across the room to the door, with him gesticulating broadly all the way, but seeming beneath it all to be going along, miming out the scene. A croud develops over there, and for a minute the croud dynamics seem about to get ugly, but the band does their best to drown it out and soon there's a bunch of people dancing in line to the buffet. And the weather does its best too, as a whole side of the wall begins to fountain water down inside the building, pouring down, exciting and beautiful and completly unexpected. And then we sit down to eat. And then the power goes out. Pitch blackness for seconds, then it's a strobe show with one camera flash after another, the odd laptop or PDA or laser pointer breifly lighting up the scene. The lights come back on slowly, in stages, like theater lights at the end of a show. By now I'm so hyped up on Mexico and drama and disaster and life that I get up and go all over the room, chatting with lots of folks about how amazing that was, how it couldn't have been scripted better, how it's like the Debian release process, what the pictures from the blackout will look like, and just reacting to the catharsis. And outside it's a cool and gorgeous night in the street washed clean, I'm really happy right now to be in Mexico.

Ted Walther: Report from Debconf, Day Five


Me and Anthony Towns
A Debian Pope is born. Tonight was Debians formal night. Fabio drove John Sokol, Hilda, and myself to the auditorium where the dinner was being held. Fabio owns the local internet cafe and provides the internet connection to Debconf. Hilda is a local businesswoman, who owns a dental supply company. Very nice people; a real slice of the real Mexico. Hospitable, friendly, and helpful. We arrived just after the buses arrived and people chose their seats. As a formal diner, I had to wear my official costume, the crown and the clue bat. If anyone wants a genuine replica of the clue bat, the price is $50. If you don't buy it for your office, buy it for your kids; the foam is four inches thick and cannot bruise, cut, or hurt anyone. As soon as I entered the auditorium where the dinner was set up, Juan Diaz from Argentina took the crown from my head and raced away. I chased him with the clue bat. Then I saw that his intention was to put the crown on AJ, Debians newly elected project leader. He did it hastily, illegitimately, and backwards. Reaching AJ, I put down my clue bat and told him to hold still. To the cheers and applause of the entire auditorium, I lifted up the crown, and then placed it on AJ's head correctly, in a style befitting a pope crowning an emperor. Immediately after, we hugged and waved to the happy crowd. By the act of crowning, I am now the Debian Pope. This isn't the cushy job it might seem; some members of Debian really hate popes of any sort. Mariachi rain dance. Soon after the crowning, the food and drink started arriving. The mariachi band started playing their trumpets and guitars, starting off with the Mexican national anthem, which is a fun song to sing but I didn't understand a word of it. The newly crowned AJ came along the tables and organized "the wave" like at a football game. We all stood up and sat down as the wave came around, and made the low moaning WHOOOP sound as it came by us. A few minutes after this the food was set on buffet tables, so everyone got into line to get their meals. The meals were simple. Some meat, some rice and bread, and some salad. A nice meal after a week of rich eating. Beer flowed freely, and toward the end some wine was passed around too. The mariachis must have been a signal, because the rainy season started right after they started playing. First the rain bounced off the tin roof so we could hardly hear the band. As dinner went on the clattering of rain got louder, then flashes of lighting showed through the windows. The roof leaked onto many peoples dinner plates and heads, so we all got cozy with each other, finding places out of the rain. At one end of the hall the rain gushed out of the roof so strongly that the entire wall became a waterfall. Finally the lights went out. Cell phones and cigarette lighters quickly waved around, lighting up the place. Strobe lights from digital cameras gave the place a disco atmosphere. Slowly the emergency backup lights came on, then a few minutes later full power was restored. The rain did stop after that, but many people chose to leave shortly after, including yours truly. The Pope is assaulted. Several acts of rudeness and aggression were committed against myself and my guest, a local businessperson. I'm going to wait until tomorrow to see how Debian responds to this inappropriate behavior. If it is resolved to my satisfaction, I'll see no need to name names or post the details in public.

Aigars Mahinovs: Debconf6 day 3: BOOT!

May 16th. In the morning I was kind of lazy and watched the talks via the webcast which worked very nice. I was even able to give some comments via IRC feedback. Very nice experience. One good idea popped up in the IRC there - it would also be useful to have an audio only webcast to conserve bandwidth. The "early" morning discussion about etch release and kernel to use in it was quite interesting to watch while I did not necessary got all the things that were said there. Then in the tower there was a great BOF session about speeding up the boot. It was a very nice session because there was a lot of discussion, lot of questions and comments from the audience. A GPL license talk followed the boot BOF and again I watched it via the webcast from the hacklab. Convenient. But then my network went down somehow I found it faster to walk to the tower then to get it back up. Several good questions were asked about the problems with current GPLv3 draft. Some ideas formed about how to fix the Affero clause using "public performance" phrasing. An insightful insight into the brain of debian-legal. Mao is deep ingrained into the brains of Debian Developers
marga: it has been observed that debian members respect each other.
Myon: are you explaining the rules?
marga: Myon, actually, I wasn't, but I wouldn't mind explaining them
dondelelcaro: Myon, is that against the rules?
Myon: I would have to take a penalty card if I said 'yes'
dondelelcaro: talking.
Enrico did the social guidelines dance outlining the recommendations for peaceful coexistence without resorting to telletubbie or inquisition practices. It sounded very reasonable as recommendations, but those must never be promoted to any kind of policy. Enrico also mentioned that. Penny Peach, we miss you. After dinner a bunch of small mexican-looking females bunched first around the Japanese guys and then around the group where I was in. They were all smiling and very exited. They spoke very fast Spanish while rubbing their clothes and making horizontal back-and-forth motions with their hands. Nobody of us spoke Spanish. And they kept speaking and rubbing. My mind raced to present one unlikely reasoning after another, but nothing really fitted the situation. After a few minutes of total confusion we found a Spanish speaker who found out that they wanted ... an iron. An iron to iron their clothes. Doh! I was so confused that I only got 1 blurry photo from the ... incident. Random note: the fan control system here is quite ... buttony. Then we had a BOF about packaging of web applications and other applications that need database access. Maintainers and users of such things will be happy to hear that the situation is being resolved and there will most probably be a policy for etch+1 for that. Large ISPs and hosting providers will be happy to hear that their need are also heard (or will be heard if you join the process) and most probably it will be possible to activate/deactivate a web application for a certain user at a certain path of a certain virtual host with a single command that can also be scripted. In any case if you are interested in this development, please participate now, so that your need can be heard too. After the BOFs the, now official and scheduled, wine and cheese party started. It was briefly interrupted by rain, but the tables were moved under the roof in seconds and the party continued. There were around 40 different cheeses. Most of them were French and almost all of them were very tasty (some were .. an acquired taste :)). I can't say anything about the wine (I do not like the taste of alcohol), but other tasters were expressing very positive remarks. The party went on for a long time with more and more cheeses and vines brought up with time. There was some more hair coloring going on. Then there was the demonstration of use of duck tape on an almost professional HD 1080i video camera. And then there was the public demonstration of present Debian swirl tattoos. Impressive. When I was just going to go to the bed, I was lured into another game of Mao. I must say that playing Mao right after the wine and cheese part is ... interesting. Some girls got ... lucky ... seven. And there was still quite a lot of hacking going on around two in the night when I went to sleep. Tomorrow is the daytrip.

Erich Schubert: Worldcup songs (aka: the four letter f-word: F*FA)

FIFA sucks. It's so much about commerce... Don't buy their stuff. Buy your soccer balls at e.g. Transfair. These were bought at fair prices and not made by exploiting people in third world regions. Check out the 'Wilde Fu ballkerle' design. Very sweet. Much better than this annoying worldcup logo just about everywhere. But back to my original topic. These annoying 'official' worldcup songs. Dear FIFA, how about letting people decide which songs they like? I hate your choice... It makes me think of Titanic! And actually I hope that this happens to FIFA, that they go down like titanic because of some corruption scandal or so. If you want to compare them, check out Voices from the Fifa World Cup at Amazon (with realplayer samples). My current favourite is 1. FC Sommer, played by the Bananafishbones (last.fm), an indie band. They're cool. They do a festival and support new indie bands. If you want to listen to an excerpt, point your browser to the 1. FC Sommer page, there is a realplayer stream available again, klick that audio button. That song has some great wordplays in there, too bad that you can't translate them in all details into english. The refrain is "Der Sommer geh rt dem, der den Weltmeister schafft" which translates to "The summer belongs to who wins the worldcup"; the world play is "Weltmeister schafft" (becomes the world champion) and "Weltmeisterschaft" (Worldcup). And there is also a nice song by Sportfreunde Stiller, who did a whole CD full of soccer songs. So just ignore FIFA and don't buy their branded stuff.

Next.

Previous.