Search Results: "bod"

20 June 2006

Carlos Villegas: /sbin/bootchartd and KDE

After finding out that bootchart wasn't considering the whole time for KDE to start up, we are trying to modify bootchart so it ends up with another program. The changes doesn't seem to be working for the moment as the program selected to end logging can't be found in bootchart.tgz. Anybody familiar with this?
On the other side, we are considering to add ELF prelinking as one of the hotpots to decrease the boot process time. Probably it could help when big programs start that need to link to many libraries, e.g. KDE.
Well, as a remark, anonymous comments are now enabled in the blog and a contact address has been added to both, the webpage and the blog.

Uwe Hermann: On destroying data

The Known Plaintext blog has a pretty interesting high-level article called Ten Commandments of Data Destruction, which gives some advice on how to handle destruction of data on hard drives or USB thumb drives (e.g. if you want to sell them on eBay)... While most of the stuff is good advice, there's one thing in there which is certainly not a good idea: "format your hard drive before giving it to the recycler"! That will usually not help at all! Don't ever think that formatting will really erase your data! Using simple, and widely-available tools everybody could restore data from such a formatted drive, even without requiring any costly equipment. If you absolutely must sell or give away an old hard drive (physical destruction is always better!), wipe it with a Gutmann-style tool, such as wipe(1), or shred(1). Oh, and apply the tools to the raw partitions (e.g. /dev/hda) after booting from a live CD. Wiping single files on a mounted file system might not yield the expected results on some (journalled) file systems, because they are caching stuff etc... The follow-up article presents some further ideas, e.g. an acid bath for your hard drive. It also mentions that simply breaking the read/write head or the motor of the disk might not suffice, forensics labs could replace those parts successfully... David Bianco makes a very good point about data on company laptops (especially so if you consider the alarmingly high rate of "laptop theft, xxx million data records lost"-type news stories): "don't put the freakin' data on the laptop in the first place!". (via Jesse Kornblum)

19 June 2006

Lars Wirzenius: Debian: Packaging tutorial (again)

I gave my Debian packaging tutorial today. The Computer Science department of the University of Helsinki provided the space (a classroom with networking), for which I hereby offer grateful thanks. There were fourteen students, and everyone made a package out of my hello world program (especially written for this tutorial). The slides used my liwc package as an example, and during the talk I noticed a couple of problems, which promptly resulted in a bug report. Excellent! Nobody wanted to do a victory dance, people are too shy. I've now given this tutorial twice: once for three of my friends privately, and once for a larger group. It only covers the very basics of creating packages, and there's much more to learn. Some day I might do a second part, and cover things like maintainer scripts, advanced dependencies, debhelper, pbuilder, and piuparts (the last three were only briefly touched upon today). I might be willing to do the first part again, if there's enough interest. Not very soon, though, teaching is surprisingly exhausting and time-consuming. However, if you'd be interested, please do mail me (at liw@iki.fi).

Michael Janssen: Weekend Weeviews: Jawbreaker, Real Genius, Primer

There are three reviews this week, because I neglected to review one which I watched earlier. I'm also trying to decide whether the links at the end are of any use, and whether it's useful to syndicate this to Planet Debian. Feedback is encouraged! ;-)

Jawbreaker

The whole premise of Jawbreaker gets laid out right at the beginning - after a opening sequence in which we see the title candy being made, a couple of girls kill a friend by surprising her and using a jawbreaker as a gag. The movie then degenerates into a formulaic nerdy girl gets to be pretty storyline. Unfortunately Jawbreaker doesn't pull it off as well as Mean Girls does, and ends up falling pretty flat. One saving grace of this movie is that it is very short at just 87 minutes. One small treat is that Rose McGowan is playing a decent role, although I do have a much older vision whenever I see her from her work on Charmed. One thing which keeps bugging me is how the movie reminds me of But I'm a Cheerleader, even though the plots and premises are very different. The soundtrack is very well done with good placement of good songs. Jawbreaker is bittersweet at a 5. (imdb, amazon)

Real Genius

I have always heard good things about Real Genius, but never saw it all the way through. Supposedly this is a tragedy. Apparently [info]ceilingsarecool saw it before, but didn't remember a bunch of the plot. A whiz kid enters college early and starts working for a professor. The premise is setup in the first 10 minutes or so, which is that Herr Professor is really corrupt and working to provide a laser weapon to the military. This leaves ample time for the comedy in the movie to play out, as Whiz Kid gets to experience all the wild antics of college with a high-IQ twist. Lasers are used fairly extensively in the movie (mostly as part of the plot) and get a nice chunk of credits in the end. The movie unfortunately doesn't really age well with time, unless you're a fan of 80's movies. There are no less than 2 montages with music, and the ultimate 80's end-of-movie song "Everybody wants to rule the world" by Tears for Fears is playing at the end. Real Genius still is smarter than many movies you'll see nowadays, so it burns in a 7. (imdb, amazon)

Primer

Small budget films are usually interesting to watch, because either they are simple masterpieces, or they try to be way more than they can be and end up being a trainwreck which you just can't stop watching. Primer is the rare gem which found a happy medium between complex and simple. At the start, a garage business is introduced with four tech friends making a bit of money selling to hobbyists. Apparently they have some sort of deal about who gets to pick the next thing they try, and one of them wants to try something related to physics. Two decide to attempt it on their own and they create a device which apparently lowers density, or gravity, or something. Then they discover it does much more than that - it can manipulate time. Fortunately there is still much of the movie left after this. The acting is not top notch by any means, and comes off as cardboardish, but it seems well-placed in this script because most techies that I know are not the best with social skills. It's important to note that the main focus doesn't lie on the device, but on the implications and ramifications. As the movie approaches it's end, the pace and convolution increases quickly. A rewatch is in order for Primer - and even then you still may be missing parts in the giant puzzle which is laid out before you. Shane Carruth directs, writes, and produces an amazing film, especially considering the sub-10k budget. Primer scores e^2.30258509. (imdb, amazon)

18 June 2006

Steve Kemp: What we re dealing with here is a total lack of respect for the law

Right it is 23:43 and I’m just back from a dodgy metal night - picture the winners of the Eurovision song contest but with a lesser budget. Normally this would be described upon my real blog which contains adult language, and a mixture of random trivia, sadism, and geekyness in more detail than is displayed here. (You might think this is a hard mix, but I’ll tell you it isn’t suprising if you’ve ever programmed Gtk 2.x in raw C ;) ) Anyway the reason I went to the gig in the first place was that last year one of my partners was a bass-player, and she was often playing gigs in different locations. Unfortunately for the duration of our relationship I managed to never actually hear her play. Not deliberately - it was just the way things worked out. We kinda tailed off seeing each other because I was sleepy and she lived in a different city. Actually this is a common theme with me. I once lived with a concert chello player and for the entire 2.5. years of our relationship I managed to never hear her play, or practise (and we lived together!). Again not deliberate, it was just the way things worked out. (Even now I don’t think she’s ever heard me play the guitar.) Later I had a relationship with a Swedish dentist and for the duration of our relationship I refused to let her look inside my mouth [mostly ;) ]. It was only after we’d ceased being .. close .. that I let her extract some wisdom teeth of mine. Of course she was Swedish, living abroad, and all her friends were Swedish too - so I had a lot of Swedish “friends” around that time. Maybe one day I’ll even meet a genuine blonde Swede. (I can say “hello”, “goodbye”, “I love you”, “marry me”, and “you’re cute” in Swedish!) (I’m not a slut; I just know what I like.) Anyway .. enough side-tracking. The only reason this is coming up at all is because I think context is important when writing about people that aren’t known - I hate seeing people in blogs write about “J”, or “C”, with no hint of the nature of the relationship, or why we should know/care about their actions - people are important, and if you’re going to bring them up you should explain who they are, and why they are relavent. The fact that I’ve drunk 5 bottles of cider now is also helping extend this entry If it helps I almost promise not to mention these people again. So, to recap, I’m at this metal gig, and damn they were a fantastic band. Miranda (the woman I was “with”, previosuly if not recently) was a total camera-slut, and she was technically extremely competant. I guess I shouldn’t have been suprised but I was. So, why do I mention any of this? Well I was standing outside before the band started as it is illegal to smoke in public enclosed places in Scotland (since Marche this year) and this obviously rules out smoking in a pub in the basement bar. (The bar was unstaffed since the bands playing tonight were “too loud”. Sucky having to walk upstairs to find beer.) So .. stood outside, totally under-dressed for the occasion. Almost everybody else in the (very sweaty) basement bar was dressed in monochrome and I had shiny white shoes and colourful t-shirt. Still I was one of the tattoo’d + pierced people so all was good. “Excuse me, you look like Steve Kemp”. For the first time ever somebody recognised me from my planet debian hackergotchie. Neat huh? And now it is 23:58 and I’m going to listen to some nice Rammstein and go sleep. Tomorrow I must do some Debian work, and tidy a friends flat - since they just moved out and want their deposit back. In the future I will try to keep the entries here more on-topic, unless people actually care about this kind of entry …

17 June 2006

Edd Dumbill: In search of agile infrastructure for web applications

Many advances have been made in agile software development. Frameworks such as Ruby on Rails embody agile principles by making software easy to write, easy to test, and above all, easy to change.If only we could say the same for the infrastructure on which we develop and deploy web applications. Not every application can be a Rails one, especially where it's been up and running for years. The systems we deploy on often rely on configuration files scattered all over the filesystem, and can be complex results of years of change.By extension, the systems we develop on often don't exactly mirror where we deploy. If we're lucky and careful, then we have a staging server which mirrors the live environment, but that's not too much of an advantage. Among other things, we need ways to evolve and refactor the live environment, and have our development environments easily track that.I'd like to call such an environment "agile infrastructure". Infrastructure that doesn't hamper developers, and allows live configurations to change and evolve. Infrastructure that allows new things to be tried with minimum cost, and can provide the best information possible to help future planning.Tools enable techniques, of course. It's a lot easier to be agile if you're programming in Rails rather than plain old PHP. So what are the tools enabling agile infrastructure?
Techniques I've found usefulWhile there's a long way to go, I'd like to describe some of the techniques I've been using to help create a flexible environment for developing a sizeable PHP/MySQL application.Operating systemAn operating system must be easy to bring into a known state with minimum interference. For this, I've found Ubuntu or Debian to be an ideal choice. Two of the main reasons include the constancy of stable releases and the fact that it's rare you need to stray outside the distribution's servers to get the software you need.DeploymentDeploying an application shouldn't break the cleanliness of your OS build. I prefer to package deployed applications into .deb files. This enables me to build on several advantages of the package management system:Source controlThe case for source control, thankfully, doesn't need making these days. Yet not every source control system is created equal. Developers shouldn't be constrained by source control, it should be cheap and easy to try new ideas and merge these in later.Not only cheap branching, but also easy merging, is required to keep development agile while still retaining the benefits of source control. Many people flock to Subversion these days, predominantly because it fixes some of CVS' more egregious misfeatures. However, merging can still be pretty difficult in Subversion.I prefer to use a system allowing easy merging, such as svk or bazaar. Because so many of us use laptops these days, disconnected operation is also a huge boon. Bazaar-NG offers both repository-oriented and completely decentralized operation, giving the best of both worlds. It also wins the competition for least setup overhead.VirtualizationPreviously a high-powered technology, cheap virtualization is now with us. Many identical virtual machines can be quickly created to enable testing and experimentation. Deployment to virtual machines can enable hardware independence for applications, reducing another big headache.Large organisations have it within their reach to bring new hardware online easily, and have invested much in management systems for it. Virtualization brings this in reach of small and one-man development teams.Desktop-based virtualizationSystems such as VMWare and Parallels untether developers from their desks. I use the OS X desktop daily for its productivity software, but an Ubuntu virtual machine for a large proportion of development work. A simple keypress lets me flick between the two. The advantages of multiple desktops to hand for web development are well known. (In fact, thanks to WINE and IES4Linux I can run Internet Explorer cheaply too from the same virtual machine).
Xen virtualizationAfter the initial novelty wears off, one of the most tedious tasks in the world is bringing new machines online. Combined with the tendency development environments have to get crufty as new ideas and tools are tried out, this makes for increasing disparity between the development and deployment environments.Wouldn't it be nice just to take a clean machine off the shelf, check out the source, and pick up again? Using Xen for Linux, this cheap virtualization is possible.Sadly, Xen isn't yet a packaged part of Ubuntu, but getting it up and running on Ubuntu Dapper isn't too hard. Warning: here's where things get pretty deep. Skip this bit if you're not interested in the nitty-gritty.I followed these steps:Getting over the DNS mountainIf you want it to be easy to bring new virtual machines up and down, you need to adopt a different approach to managing your DNS. You need to know how to predictably connect to a virtual machine. Yet it's going to get very boring and error prone to manage the IP address space manually in your DNS, or even to map the MAC addresses of your virtual machines in your DHCP configuration.
Help is at hand in the form of mDNS (also known as Rendezvous / Bonjour / ZeroConf). In the host machine, and in each virtual machine, I ensured the avahi-daemon and avahi-utils packages were installed, providing mDNS services. (You should also check that mdns is present in the hosts entry of /etc/nsswitch.conf).What all this does is allow the machines (virtual or otherwise) on the network to resolve names using mDNS. So if I create 3 VMs, alpha, beta and gamma, I can access these right away using the hostnames alpha.local, beta.local and gamma.local.Hey presto! Easily make machines appear and disappear without any need for sysadmin involvement. All the extra steps to add avahi installation can be easily scripted with xen-tools, to reduce the number of commands needed to birth a new machine to one.With this ease of creating new machines, it's much more straightforward to experiment with server topology and conduct experiments on server environments.ConclusionAgile development is necessarily constrained by the infrastructure on which it is conducted. The infrastructure itself is constrained by the tools and platforms of choice.By appropriate tool choice we can reduce the commitment and overhead of infrastructure. This enables developers to get on with the job they do best, and makes experimentation and evolution of infrastructure much simpler.When programming, it's dangerous to fall in love with your code, as the best solution may often involve throwing half of it away. The same hazard exists with infrastructure, with bizarre and awkward effects propagating back into code and operations. Get yourself a low commitment, agile environment, and you'll be able to keep up with the pace. 

Wouter Verhelst: It's life, Jim, but not as we know it.

...or so Spock said. Apparrently. Yesterday, for some reason, I was reading something on Wikipedia. Don't ask me what I started with, I don't remember; however, my journey through Wikipedia eventually got me to the Rare Earth hypothesis, the Principle of Mediocrity, and other related things. Both are subjects relating to whether or not there would be life on other planets. The latter claims that this is, in fact, quite likely; the Principle of Mediocrity basically says that "Earth is a relatively ordinary planet orbiting a relatively ordinary star in a relatively ordinary galaxy which is one of countless others in a giant universe, possibly within an infinite multiverse". This is supported by a number of astronomical findings. The contrast to that, the Rare Earth hypothesis, claims that Earth is, in fact, not a very ordinary planet. That to be able to reach a point where complex multicellular can have evolved—such as on Earth—such a high number of variables have to have the exact right value, with in many cases such low margins for errors, that while possible, the likelihood that life would exist on other planets is very low. They were both interesting reads. However, there is one thing to which I did not find an answer: Why does it have to be Earth-like life? As I understand the theory of our origins, life began on the Planet Earth in a relatively stable body of unclean water—known as the "Oersoep" in Dutch, though I couldn't find the English term for that—on which the sun shone; that sunshine made the elements of the "oersoep" react with eachother so that it eventually formed single-cell life, which then evolved into multi-cellular life, and so on. Even today, the sun still shines on Earth, and almost all energy in use on Earth can in some way or another be attributed to something that once received sunlight; I suspect the only exception to that is nuclear energy. As I understand the Rare Earth hypothesis and the Principle of Mediocrity, both seem to assume the basic premise that the only way in which life could evolve is the way in which it evolved on Earth; that is, you need direct sunlight so that you can have some chemical reactions. You cannot have too much ultraviolet, gamma, or x-ray radiation, because that would kill life. You cannot have too many impacts of extraplanetarian bodies, such as comets or asteroids, because these impacts and the resulting fallout would destroy life. I did not find any argument for that assertion, however; and what I don't see is why it would be necessary. We could define the "oersoep" as some sort of a "stable chaos": a bunch of chemical elements and a varying external influence (sunlight) means that you have a brewing and reacting bunch of matter, where the composition of the matter is constantly changing; however, at the same time, when viewed over a large amount of time, not much did in fact change. The varying external influences have a regular and stable rhythm; the sun appears in the morning and disappears in the evening. The sun shines longer in summer than it does in winter. While it is not the same all the time, there is predictability. If a number of chemical elements react with eachother in a certain way on one day, then they will react the same way again the next day. If this happens for years on end, you may have a series of reactions that is more or less reproducible, where the final result of all the chemical reactions turns out to be the original starting point again. At least almost so. Such a series of chemical reactions could be called "life", especially if it occurs within a small group of chemicals that sticks together, like a cell. While a body of unclean water with regular sunshine certainly is one way to get to a series of repetitive chemical reactions, I fail to see why it would have to be the only possible way. If there were a planet composed mainly of Helium (rather than Hydrogen and Carbon, as on Earth) but also containing a bunch of other elements (so that they can react with eachother) with a star that sends out lots of gamma radiation and an atmosphere which blocks sunlight (I don't know whether Helium can do that, but let's assume it can), then I do not see why it would not be possible for life to evolve on such a planet which would be based on Helium rather than Carbon and Water, and which would require gamma radiation to survive but would die when brought into prolonged contact with light, just like we will die when brought into prolonged contact with gamma radiation. Another example could be a planet where every year a comet of approximately the same composition impacts on the same place on the planet's surface. Such an impact would regularly stir up the chemical elements on this planet, and could provide the needed energy to produce the chemical reactions required to sustain life. If any life were to evolve on this planet, not only would it be able to survive such constant extraplanetary impacts, it would also require these impacts to continue in order to survive. I haven't been able to find any information on that. It would seem that either I'm missing something very basic, or that nobody has thought of this before—and I would find that highly unlikely. So, anyone who's been thinking longer than me about this subject (that is to say, just a few hours) who could enlighten me? Of course, one answer could be to say that God created all life, and that the evolution theory is only a theory, which is not grounded in any reality. But make a comment to that effect on my blog, and I will moderate it away. After having a good-hearted laugh at it.

Axel Beckert: WML builds and runs on cygwin

For a long time the Website Meta Language (WML) did not build on cygwin, but nobody knew why or how to fix it. At the end of last year, the WML maintainer changed to Shlomi Fish and one of his goals was to get WML run under cygwin. Many probably didn’t expect it to really happen since WML developement has stalled for the last three or four years, but the Subversion 2.0.x maintenance branch of WML now builds and works on Windows under cygwin. This shows that there is really something going on in the WML developement again. Congrats and thanks to Shlomi!

15 June 2006

Steve Kemp: Hate something, change something, make something better.

Today I mostly packaged a current version of ecartis, to avoid content-transfer-encoding weirdness (#176667). There is also a compiled version of the package for sarge should that be useful to anybody. I also updated the “blog” facilities on the Debian Administration website - this was after I wrote a very long entry - and was annoyed that it seemed to spam the associated planet site. Entries can now be truncated by the use of the magic “<cut>” tag. I imagine few people will need/want it, but I’m sure I’ll find it handy.

14 June 2006

Steve Kemp: Your name: Desire. Your flesh: We are

Ooops. The mailing list was refusing to subscribe anybody. Should be fixed now.

Gunnar Wolf: Working on politics: The FeCal project

Ok, it may not be ready yet, it might be lacking too many details. It might even make sense to make this initial announcement in Spanish - But a long time ago, I decided my blog would be English-only, as most of the people who read it are not Spanish speakers. Anyway, here I go.
We are less than one month away of the presidential elections in Mexico. We are facing the choice between two candidates (the others won't really make a difference this time): Felipe Calder n, a conservative member of the right-wing PAN party (currently ruling), and Andr s Manuel L pez Obrador, from the center-leftist PRD party.
There are way too many reasons for me, and for my friends, to prefer and promote the L pez Obrador project. No, that is not the definitive leftist stance we want, but it is a good step in the right direction. He was the major for Mexico City from 2000 to 2005, and his government showed he knows how to push social programs, he knows how to improve the conditions of the mass of the population, he knows he must start acting from below, reducing the terrible gap that exists in my country between poor and rich people, among the steepest differencies in the world.
So... Instead of flooding my personal blog with things that are not directly relevant to most of us, some friends and I have started setting up www.fecal.org.mx, the unofficial site of Felipe Calder n.
Yes, we took some of the steps we often criticize about the right-wing propaganda: Attacking instead of proposing. L pez Obrador has lost some points as he is centered more in proposing and spreading his government plan than in destroying Felipe Calder n - While Calder n has been working on creating fear, on tying L pez Obrador's figure to that of an authoritarian dictator (Hugo Ch vez has often been quoted, although it has been proven over and over no link or similarity exists), on dismissing his economic program saying he only knows how to create debt (while Mexico City's economy was strongly reactivated during L pez Obrador's period, and the city's public debt has not grown considerably compared to what previous governments did), and simply ignoring any criticism to his own project dismissing them as baseless propaganda.
Originally, we intended FeCal to become just a parody of Felipe's official site, emphasizing on what a shitty candidate he is (no wonder he carries such a name!), but we decided to be more propositive than him - We will post news following Felipe's intransigency, erroneous economic decisions and incoherences, yes, but we will also write articles by ourselves, trying to provide more interesting content, something that can objectively be used as a reference on why Felipe Calder n's project cannot be seen as socially responsable, as something that will benefit anybody but the current ruling elite - Just giving six more years to the already too long 24 year old marriage with neoliberalism we have seen, just continuity with the current government's failures, just more white-collar corrupt thieves which never recieve any kind of punishment and discourage people from pushing together towards a better country.
So, I stop flooding here. If you want to take part in the FeCal project, please contact me. If you agree with what we say, link us from your page, from your texts, from whatever you do.

Gunnar Wolf: More != better

This is the time of year when most Free Software-related conferences in Mexico have their calls for papers. CONSOL's CfP closed two weeks ago (agh, I had to CONSOL's CfP closed two weeks ago (agh, I had to /lists.consol.org.mx/pipermail/consol/2006-May/006443.html">/lists.consol.org.mx/pipermail/consol/2006-May/006443.html">send my proposal by mail, and I do hope it gets in the official program - For sentimental reasons more than anything else ;-) CONSOL is, after all, still my baby!). Yesterday I had to come up with something, as CICOL's deadline was also hanging upon me. Now my attention has been brought towards FSL, for which I still have almost one month to think. And, of course, although at other times of year (but, of course, still clashing with other conferences) we will not have one, but three instances of GULEV this year..
WTF?
Mexico's Free Software community is a small and not too productive one, as most communities in our (culturally defined) continent, Latin America. And yes, conferences are quite fun, it's always nice to go to a nice place and meet your friends. But we must not forget the real motivation for them all: The academic program. We currently have four conferences that try to reach to the same audience (yes, in different places of the country, but all of them with a national scope). And if you compare the list of proposed talks (visible currently for three of them), you will see there is no real difference between the set of talks on them. Please explain me, what kind of incentive does this give to anybody to attend? Just to hang out with the friends, entering a talk here and there?
I ended up submitting the same talks for both CONSOL and CICOL, as running Debconf didn't leave me time to prepare or think over anything - That's not what I like to do, and I hope I can be a bit more creative with the topics for FSL. There is no published criteria yet on what will be the focus for (each of the) GULEV, so I'm not committing yet to them. And yes, being a very active Free Software promoter in my country, I try to be present everywhere - but of course, everything has a limit. I will most probably not skip CONSOL (as it is on the city I live, and it is the one I am most sentimentally attached to) or CICOL (as it is just 1hr south from here)... But I'm still uncertain if I'll be at FSL or any of the GULEVs.
Back on my initial questioning, anyway: Do we need four perfectly equivalent conferences in this country? Besides ego clashes, wouldn't we be best served if we had only one or two big conferences a year?

Gunnar Wolf: Thanks!

Debcamp was really stressing - It seemed we would not be able to get things to work for Debconf. And it would suck. I was quite down when I last wrote a blog entry - Not in mine, but in Debconf's. Things looked quite hellish, and I was _very_ annoyed - Well, I must say: Thanks to you all for the support. Mooch's request has been honored extensively, and it does help. Really.
Yesterday we had the Debian Day. About 50 Mexicans showed up, after we had to jump through some hoops with the Oaxtepec management people (thank you, thank you, you are great! Real dedication to your job, to make us feel welcome and important). The talks were interesting and well presented, and the people left happy - and some of them, left quite late. We had presence from at least one national newspaper (La Jornada and a magazine, Software Guru. Good.
Then, during the night, we were flooded by arriving foreigners. Boy, the hacklab was packed! Good thing we now will have both hacklabs running.
I have to thank most than to anybody else to my wife, Gaby a.k.a. Nadezhda - She has done all the ugly paperwork... Without her, we would all not be here. And later, I would probably be sitting in jail or something ;-)
Seems that the bugs are ironed out. Now I'll try to attend the "Sun and Debian: can we be friends?" round table.

Gunnar Wolf: My view on DPLship

Several people's blogs have appeared recently in the planet with the different points of view on the different candidates and various rants regarding the DPL office - Well... This time I have not yet been able even to read the platforms of the different candidates (of course, I plan on doing it quite soon), but I follow the posts on the subject with interest. The most interesting post so far is Martin Michlmayr's - Of course, being an ex-DPL, there are important experiences he has that few people do.
A couple of days ago I was talking with one of the candidates with whom I have talked and worked in the past. My main gripe with the whole process is that, although as a project we need a leader, an easily identifiable single contact person who knows the teams, knows the people and can speak on the project's behalf, I have not seen much being done by the past DPLs towards the inside of the project. Of course, it's easy to bitch around when I sit in the comfortable silent majority most of the time - Currently I am devoting quite less time and effort to Debian than what I should, although it is true that setting up Debconf6 in Oaxtepec takes a _lot_ of time and that it will facilitate much more interaction between Debian people (which is good for the project) than me working more and better on my packages and on doing interesting team work.
Maybe something that would make me to vote for somebody, more than the most coherent and best written platforms, is for the candidate to admit the lack of importance of the role to most of the project - or to defend how to make it again a leadership position.
Following Martin's post, maybe we do need a Bruce-like leader who tells us what to do and drives the project. Or maybe not, maybe we could do better with reducing the importance of the post towards the inside and emphasizing it's mostly a confidence vote for somebody to speak on behalf of us all. And even this would be difficult, as a sad flame in debian-private some months ago reminds us that nobody can speak on behalf os the whole project because somebody might be offended by the viewpoint taken by the official?
I am no big believer in democracies. I do think that sticking to much to a democratic constitution (where democracies are very scarce in the Free Software world, where projects tend to have benevolent dictators grown by meritocracy instead of democratically elected) and allowing everybody to voice too much the same opinion in our regular flamewars has lead Debian to the communications swamp it is right now. We do have very effective small teams (quoting Andreas Schuldei' term for the phenomenon that seems to work best and appear naturally in our project), integration between teams is quite good... But having 1000+ people sitting in a big room and shouting at each other is plainly not fun. Maybe we should stop pretending that there is no cabal (forgod'ssake...) and admit that there is and it works, and we (the drones) implement Their decisions? Nah... That sounds it would only create more flamewars.
But seriously: Towards the inside, do we need a leader? Have we ever used it?

13 June 2006

Bartosz Fe&#324;ski: 2.6.15 and ipw2200

Did anybody try to use ipw2200 driver included in recent kernels?
I found out that most recent version of kernel includes this driver so I decided to switch from self-compiled 2.6.14.4 and ipw2200-source package for module to new version of kernel and driver compiled in it.
Unfortunatelly such compiled kernel can't find firmware either in /usr/local/lib/firmware nor /lib/firmware, although according to /lib/udev/hotplug.functions these directories are checked and firmware seems to be ok cause works fine with 2.6.14.4.
Is it at all possible to use this driver compiled in kernel (not as a module)?

9 June 2006

Lars Wirzenius: Travel report: Debconf6, plus rest and relaxation in Los Angeles

This May I spent four consecutive weeks abroad, visiting first Debconf6 (including the Debcamp that preceded it), and then Los Angeles afterwards. I won't write a detailed report of everything that happened; nobody likes to read pages after pages of descriptions of meals and such. Instead, I'll jot down a few memories of moments. It's still long, sorry about that. May 6, about 3 AM, at home. Waiting outside for a taxi. Pretty tired already: spent the night frantically weighing all my clothes to optimize my packing. It is warm enough to wait outside without a jacket. The night is calm and beautiful. Mankind is so much nicer when it sleeps. May 6, about 4 AM, the Helsinki airport. I bump into Tuukka and Tulitar, who are on the same plane. Kaol also joins us, but that I knew beforehand. I'm suddenly much less apprehensive about the long flight. May 6, Mexico City airport. We meet more Debian people. The first taxi driver we're assigned seems to be suspect somehow. The other taxi drivers rebel and our luggage is put into another car, with another driver. I have no idea what is actually going on, but that develops into a theme for the Mexican part of the trip. May 6, Oaxtepec. We're finally here, but it seems very difficult for us to get rooms. While we wait, we and some of the people who arrived earlier go to a restaurant. The Germans want to order the same thing for everyone, but fail to agree on what, so eventually we order all the steaks on the menu. The food is good, but the restaurant staff would probably have preferred to go home at closing time. We eventually get rooms and I collapse into bed. Debcamp week, Oaxtepec. We have network. We don't have network. We have network. We don't have network. We have network. We don't have network. We're frustrated all the time. I was supposed to do billable work (related to Debian, even), and can't. Should've prepared for this possiblity. I'm too dependent on a good Internet connection, need to figure out to reduce this dependency. To have something else to do, I start the Mugshots project: take a photo of everyone together with a paper with their name, or IRC nick, or anything else they want to say about themselves. Debconf, late one evening. Everyone is partying one way or another, drinking, dancing, discussing. Lots of people around already. Nice people. Still I withdraw into myself. I'm physically present, but not interacting. Never know what to say; exhausted by having to remember who everyone is. I'm introverted, and deal better with smaller gatherings. My life's ambition is to become a multi-millionaire recluse. Debconf, late another evening, Oaxtepec. Everyone else is getting drunk, and it affects me. I make the silly bet about Debian releasing on time: if we do, I'll get a Debian tattoo. Not to worry, I win either way. Debconf, some evening or another. I participate in a game of Mao. It is an unpleasant game, for me. I suspected this beforehand, but now I've verified it. It is best for everyone if I never play again, now that I know enough to at least try to reach my personal, alternative goals in the game, which make the game less fun for everyone else. (Better for me too, since I make fewer enemies.) Debconf, day after formal dinner. I learn that Jonathan (Ted) Walther is gone. Good riddance. I suprise myself with the amount of glee I feel when removing him from the Mugshots gallery. (That, incidentally, was something I decided all by myself. It's my gallery, after all.) Debconf. The sponsored food is quite acceptable, but eventually becomes boring and bland. Mass-kitchen food can't but help to be like that, I guess, unless it gets expensive. I don't want to see another chicken leg ever. Debconf, early in the week. Droidy (Leena) and Burger (Ville) arrive. Very nice. Helps massively with my withdrawnness to have real life friends around. I still go early to bed, though, instead of participating in the partying. Debconf, late in the week. I get Ville and Frans Pop to talk and Ville agrees to have look at the installation manual. He's an actual (former) professional tech writer, so hopefully will be able to improve it a lot. May 22, Oaxtepec. Last day. I spend all morning packing, checking out, and waiting for a taxi. Strangely relaxing. Debconf is finally over, and although I did enjoy parts of it, and don't regret coming, I'm not sad it's over. May 22, evening, Los Angeles. Julie and Kristian meet me at the airport. Hugging happens. Happiness happens. I get my first taste of LA traffic, which seems to mostly consist of people complaining about how slow it is while driving very fast. May 23, the Promenade, Los Angeles. A three block long walking street of shops, with three (count them: three) bookstores. The two I have time for even smelled nice. I am in hog heaven. Colossal credit card cringing. May 24, Getty Center. A very nice, very impressive place architecturally. The art is good too. As usual, the impressionists make the strongest impression on me, but there's lots of other good stuff, too. Not everything, though: Robert Adams's photographs leave me unimpressed, possibly I lack the cultural reference points necessary to appreciate them. He has many photos of shabby temporary shelter-like houses that in reality seem to be nice south-western US houses from the 60s and 70s. My intuition just screams that the houses and their inhabitants won't survive their first winter. But of course, they don't have a cold winter there. The rest of the exhibition (or what I have time to see) has way too many portraits for one session. Portraits get boring after the first dozen or so, I'm afraid, unless there's something extraordinary about them. They are several rooms rebuilt from 18th century French aristocratic houses. Very nice, very pretty, but I would not like to live that uncomfortably. I have a small epiphany about nudity in art in one of the rooms with statues. I've always known nudity could be portrayed erotically, such as having two lovers embrace passionately; or that it could be portrayed more or less abstractly, using the human body, or parts of it, just because it can be a very beautiful subject, just like a flower, but without giving it a greater significance. It's decoration, nothing more. There are two statues in the Getty collection that show me a third way. They are exquisitely sensual, evoking a sense of form and texture that make me think of human skin and flesh, a sense that if one were to touch the statue, it would feel like touching a live human. Yet none of this is erotic at all. I'm not sure I can explain this, one may have to experience it for oneself. Unfortunately, I was too overwhelmed to write down the names of the statues. May 23, Los Angeles. The food takes me by surprise. Julie has always told me that food in LA is good, much better than in Finland, but she hadn't prepared me for an all-out assault on my palate. Dine well in LA and die happy. (When I go back to Finland, I will have to learn again how to cook, dammit.) May 25, Los Angeles. Jesus reminds me via SMS about the Towel Day. I participate. My hosts think I'm a bit weird, but in a funny way. Many happy days in May, Los Angeles. I visit the Los Angeles County Museum of Art (exhibiting a weird Italian designer, some boring Klimt paintings, and a very nice general collection); the Natural history museum of LA (dinosaurs! real skeletons! big ones! T.Rex! for the first time in my life! they're huge!); the Museum of Jurassic Technology (weird); had dinner with some local Debian people, and visited the local Google office afterwards; the Hollywood Boulevard at night (funny, for a while). And other places I've forgotten already. LA is not small. I visit a political theater play that is brilliant. I also visit my first American BBQ, and have my first experience with the LA gay community at the same time. I'm later told that these two are separable. I enjoy them both a lot. I visit more bookstores. My hosts keep finding new ones they want to recommend to me. Parking would be a pain in LA, except that it means that people do actually walk a lot, since the nearest parking space is always three blocks away, or five levels up without an elevator. May 28, Los Angeles. I innocently mention that LA is such a nice place, with nice people and gorgeous food, that I wouldn't mind living there. Julie's brother hears this and immediately connects me with someone he knows whose company is looking for new people. During the next three days, we meet and talk and things seem favorable. Even if I decide not to go (it may be too huge a change for me now), it's nice to feel appreciated. June 1, Los Angeles. Leaving for home. Not a sad thing, but I'm definitely feeling wistful. I get hugged about fourteen thousand times. Parting is such sweet sorrow. I will definitely have to go back to LA, one day.

8 June 2006

Martin F. Krafft: Missing the nipple

When I solicited feedback on laptops and subsequently settled for the Thinkpad X40 [0], I was still a little sceptical about that little thing sticking out the middle of the keyboard which serves as a mouse. I don't use the mouse much, but now, switching to a new desktop machine after my laptop has served as primary workstation for the past 4 months, I find I miss the nipple. After all, the nipple is the only intuitive interface. After that, it's all nurture.
[0]a choice which I've never regretted, except maybe because of the flakey Hitachi 4K60 drive IBM ships -- I've had 2 replacements already), I was still

David Welton: Streaming programmatically generated content from Rails

Today, I needed to do something that I didn't find a handy method for in Rails. The API has both a send_data and send_file method, but they are both 'one shot' in that you have to send all your data at once.
def generate_file
  @headers["Content-Type"] = "text/comma-separated-values;"
  @headers["Content-Disposition"] = "filename=\"some.file.txt\";"
  i = 0
  render :text => Proc.new    response, output 
    ...
    output.write("some generated text...")
    ...
   , :layout => false
end
I more or less copied that from the send_file method, and indeed, I'll even admit that I'm not entirely sure why it works. What I don't get is what "connects" the output variable in the Proc to an actual file descriptor somewhere. render_text doesn't really clear things up (well, for me, at least!).
  def render_text(text = nil, status = nil) #:nodoc:
    @performed_render = true
    @response.headers['Status'] = (status   DEFAULT_RENDER_STATUS_CODE).to_s
    @response.body = text
  end
In any case, the code does do what I want - perhaps someone else will find it useful. NOTE Comments are broken, as the typo journal system seems to have been somewhat abbandoned... argh!

Gunnar Wolf: Working on politics: The FeCal project

Ok, it may not be ready yet, it might be lacking too many details. It might even make sense to make this initial announcement in Spanish - But a long time ago, I decided my blog would be English-only, as most of the people who read it are not Spanish speakers. Anyway, here I go.
We are less than one month away of the presidential elections in Mexico. We are facing the choice between two candidates (the others won't really make a difference this time): Felipe Calder n, a conservative member of the right-wing PAN party (currently ruling), and Andr s Manuel L pez Obrador, from the center-leftist PRD party.
There are way too many reasons for me, and for my friends, to prefer and promote the L pez Obrador project. No, that is not the definitive leftist stance we want, but it is a good step in the right direction. He was the major for Mexico City from 2000 to 2005, and his government showed he knows how to push social programs, he knows how to improve the conditions of the mass of the population, he knows he must start acting from below, reducing the terrible gap that exists in my country between poor and rich people, among the steepest differencies in the world.
So... Instead of flooding my personal blog with things that are not directly relevant to most of us, some friends and I have started setting up www.fecal.org.mx, the unofficial site of Felipe Calder n.
Yes, we took some of the steps we often criticize about the right-wing propaganda: Attacking instead of proposing. L pez Obrador has lost some points as he is centered more in proposing and spreading his government plan than in destroying Felipe Calder n - While Calder n has been working on creating fear, on tying L pez Obrador's figure to that of an authoritarian dictator (Hugo Ch vez has often been quoted, although it has been proven over and over no link or similarity exists), on dismissing his economic program saying he only knows how to create debt (while Mexico City's economy was strongly reactivated during L pez Obrador's period, and the city's public debt has not grown considerably compared to what previous governments did), and simply ignoring any criticism to his own project dismissing them as baseless propaganda.
Originally, we intended FeCal to become just a parody of Felipe's official site, emphasizing on what a shitty candidate he is (no wonder he carries such a name!), but we decided to be more propositive than him - We will post news following Felipe's intransigency, erroneous economic decisions and incoherences, yes, but we will also write articles by ourselves, trying to provide more interesting content, something that can objectively be used as a reference on why Felipe Calder n's project cannot be seen as socially responsable, as something that will benefit anybody but the current ruling elite - Just giving six more years to the already too long 24 year old marriage with neoliberalism we have seen, just continuity with the current government's failures, just more white-collar corrupt thieves which never recieve any kind of punishment and discourage people from pushing together towards a better country.
So, I stop flooding here. If you want to take part in the FeCal project, please contact me. If you agree with what we say, link us from your page, from your texts, from whatever you do.

6 June 2006

Erich Schubert: Why I use (well, wrote) my firewall tool

Wouter Verhelst wonders why you would use a firewall config tool (apart from a GUI) instead of writing iptables rules directly. While I do just use a couple of iptables statements in a shell script here on my laptop, this is not manageable for larger networks IMHO. In fact, I wrote my Pyroman firewall admin tool for the very reason that it replaced an existing iptables script which was a pain to maintain. I'm talking 300-400 lines here. Four networks, two failover firewalls, a dozen of servers in the DMZ network some of which with extra access rights into the internal network (such as accessing the LDAP directory). And no full-time admin to take care of them. So I needed a firewall script that everybody can edit and that won't fail miserably when they make a mistake. A script with extensive error checking and that prevents people from locking themselves out. With an easy syntax. The first approach was in Perl, and already worked quite good. The rewrite then was in Python, and the users (read: fellow volunteer "admins", that don't know the firewall by heart as I do) liked it a lot. They now could add new hosts and services without depending on me to update the firewall. This is a configuration file they'll immedeately understand:
# add the web server
add_host(
        name="web",
        ip="10.100.1.2",
        iface="dmz"
)
# offering, well, web service.
allow(
        server="web",
        client="ANY DMZ INT",
        service="www ssh ping"
)
In contrast to any pure iptables script. It also helps to require them to commit their changes to a SVN repository (for getting the changes synched to the failover firewall) - that way you have version control and undo.

Next.

Previous.