Search Results: "bab"

15 October 2009

Gustavo Noronha Silva: Moving back to Belo!

So, next Saturday Luciana and I are moving back from Rio de Janeiro to Belo Horizonte after about 6 months here. It was an interesting ride. We didn t really have a good time finding a good place to live at - Rio is very expensive and it looks like demand is so high anywhere close to Luciana s work place that the only reasonable solution was to live very far away, and even there we didn t really have much success, although for other reasons I may talk about later. Belo is how the foreign people who live there usually refer to Belo Horizonte. I think that is probably because it s a bit too hard for them to say Horizonte =D (if it helps you, you could use the Mineirish Belzonte ). I have borrowed this svg file kindly licensed in the FDL by Raphael Lorenzeto de Abreu, and generated a simple png image that you can see in this post with Belo Horizonte, and some other cities we often talk about at Collabora =): A straight line between Recife and Belo Horizonte has about 1640km. There are 340km between BH and Rio, and 973km between BH and Florian polis. A bit about Belo Horizonte, for those friends of mine to whom I always have a hard time explaining where it s located, and what kind of city it is: Belo Hozizonte is a nice, beautiful city, with a quite big metropolitan area. About 6 million people live in greater Belo Horizonte. It is considered one of the three most influential cities in Brazil, along with S o Paulo and Rio de Janeiro. It s surrounded by mountains, which are considered one of the defining geographical features of the Minas Gerais state, of which it is the capital. Here s a picture that is available under the public domain in Wikipedia: Speaking of Minas Gerais, it is, according to Wikipedia, the fourth in size among the 26 States of Brazil, being just a bit bigger than mainland-France. Minas Gerais is one of the main earth transports hubs of the country (having the largest number of federal roads), and is famous for its tasty food, the beauty of its people, its cheeses, the calm, introspective nature of its people, its interesting way of speaking portuguese, and its alcoholic beverages. Now, going away from Rio to Belo Horizonte has a single big disadvantage associated with it: we don t get to have the Sea a few minutes away, anymore. Our solution to that is, of course, going to one of the numerous bars (the legend goes around that BH has the largest absolute number of bars of all cities in the world), and drinking instead of swimming! Quem n o tem mar, vai pro bar!

Christian Perrier: Thy laptop shalt be a database server

So, nowadays, installing a brand new sid machine with the KDE task leads to...installing a MySQL server on one's laptop (thanks to the whole akonadi crap). There's probably a Debian bug report about this but I am too lazy (and too angry) to look for it. I think we should really congratulate KDE upstream developers for this very wise decision that's definitely a big progress in terms of user friendlyness. Being prompted for the MySQL root password while installing a new shiny laptop is a huge progress and will certainly never make Windows users laugh loudly. As a very longstanding KDE user, I am incredibly happy that Debian has chosen to install GNOME by deault. Really.

14 October 2009

MJ Ray: SPI October 2009

A board meeting of Software in the Public Interest will take place on irc.oftc.net #spi tonight (Wed 14 Oct) at 20:00 UTC. The meeting announcement was posted only yesterday, containing a proposal to hold a debian domain. The proposal says SPI Inc. will support a transfer of said domain to a registered non-profit organization in Taiwan which surprises me after the reply I had about Transferring to another non-profit that I d say that any transfer to a non-US non-profit is likely to be impossible. Oh and what happened to the contributing membership expiry resolution? I thought that was coming back this month. I see that there wasn t a SPI September 2009 meeting log summary sent to spi-general, probably because I wasn t there. I ll go do that now.

Robert McQueen: Telepathy Q&A from the Boston GNOME Summit

The first Telepathy session session on Saturday evening at the Boston GNOME Summit was very much of a Q&A where myself and Will answered various technical and roadmap issues from a handful of developers and downstream distributors. It showed me that there s a fair amount of roadmap information we should do better at communicating outside of the Telepathy project, so in the hope its useful to others, read on MC5 Ted Gould was wondering why Mission Control 4 had an API for getting/setting presence for all of your accounts whereas MC5 does not. MC5 has a per-account management of desired/current presence which is more powerful, but loses the convenience of setting presence in one place. Strictly speaking, doing things like deciding which presence to fall back on (a common example being if you have asked for invisible but the connection doesn t support it) is a UI-level policy which MC should not take care of, but in practice there aren t many different policies which make sense, and the key thing is that MC should tell the presence UI when the desired presence isn t available so it could make a per-account choice if that was preferable. As a related side point, Telepathy should implement more of the invisibility mechanisms in XMPP so it s more reliably available, and then we could more meaningfully tell users which presence values were available before connecting, allowing signing on as invisible. Since MC5 gained support for gnome-keyring, its not possible to initialise Empathy s account manager object without MC5 prompting the user for their keyring password un-necessarily (especially if the client is Ubuntu s session presence applet and the user isn t using Empathy in the current session but has some accounts configured). Currently the accounts D-Bus API requires that all properties including the password are presented to the client to edit. A short-term fix might be to tweak the spec so that accounts don t have to provide their password property unless it s explicitly queried, but this might break the ABI of tp-glib. Ultimately, passwords being stored and passed around in this way should go away when we write an authentication interface which will pass authentication challenges up to the Telepathy client to deal with, enabling a unified interface for OAuth/Google/etc web token, Kerberos or SIP intermediate proxy authentication, and answering password requests from the keyring lazily or user on demand. Stability & Security Jonathan Blandford was concerned about the churn level of Telepathy, from the perspective of distributions with long-term support commitments, and how well compatibility will be maintained. Generally the D-Bus API and the tp-glib library APIs are maintained to the GNOME standards of making only additive changes and leaving all existing methods/signals working even if they are deprecated and superseded by newer interfaces. A lot of new interfaces have been added over the past year or so, many of which replace existing functionality with a more flexible or more efficient interface. However, over the next 4-6 months we hope to finalise the new world interfaces (such as multi-person media calls, roster, authentication, certificate verification, more accurate offline protocol information, chat room property/role management), and make a D-Bus API break to remove the duplicated cruft. Telepathy-glib would undergo an ABI revision in this case to also remove those symbols, possibly synchronised with a move from dbus-glib to GVariant/etc, but in many cases clients which only use modern interfaces and client helper classes should not need much more than a rebuild. Relatedly there was a query about the security of Telepathy, and how much it had been through the mill on security issues compared to Pidgin. In the case of closed IM protocols (except MSN where we have our own implementation) then we re-use the code from libpurple, so the same risks apply, although the architecture of Telepathy means its possible to subject the backend processes to more stringent lockdowns using SElinux or other security isolation such as UIDs, limiting the impact of compromises. Other network code in Telepathy is based on more widely-used libraries with a less chequered security history thus far. OTR The next topic was about support for OTR in Telepathy. Architecturally, it s hard for us to support the same kind of message-mangling plugins as Pidgin allows because there is no one point in Telepathy that messages go through. There are multiple backends depending on the protocol, multiple UIs can be involved in saving (eg a headless logger) or displaying messages (consider GNOME Shell integration which previews messages before passing conversations on to Empathy), and the only other centralised component (Mission Control 5) does not act as an intermediary for messages. Historically, we ve always claimed OTR to be less appealing than native protocol-level end-to-end encryption support, such as the proposals for Jingle + peer to peer XMPP + TLS which are favoured by the XMPP community, mostly because if people can switch to an unofficial 3rd party client to get encryption, they could switch to a decent protocol too, and because protocol-level support can encrypt other traffic like SRTP call set-up, presence, etc. However, there is an existing deployed OTR user base, including the likes of Adium users on the Mac, who might often end up using end to end encryption without being aware of it, who we would be doing a disservice by Telepathy not supporting OTR conversations with these people. This is a compelling argument which was also made to me by representatives from the EFF, and the only one to date which actually held some merit with me compared to just implementing XMPP E2E encryption. Later in the summit we went on to discuss how we might achieve it in Telepathy, and how our planned work towards XMPP encryption could also help. Tubes We also had a bit of discussion about Tubes, such as how the handlers are invoked. Since the introduction of MC5, clients can register interest in certain channel types (tubes or any other) by implementing the client interface and making filters for the channels they are interested in. MC5 will first invoke all matching observers for all channels (incoming and outgoing) until all of them have responded or timed out (eg to let a logger daemon hook up signal callbacks before channel handling proceeds), all matching approvers for incoming channels until one of them replies (eg to notify the user of the new channel before launching the full UI), and then sending it to the handler with the most specific filter (eg Tomboy could register for file transfers with the right MIME type and receive those in favour to Empathy whose filter has no type on it). Tubes can be shared with chat rooms, either as a stream tube where one member shares a socket for others to connect to (allowing re-sharing an existing service implementation), or a D-Bus tube where every member s application is one endpoint on a simulated D-Bus bus, and Telepathy provides a mapping between the D-Bus names and the members of the room. In terms of Tube applications, now we ve got working A/V calling in Empathy, as well as desktop sharing, and an R&D project on multi-user calls, our next priority is on performance and Tube-enabling some more apps such as collaborative editing (Gobby, AbiWord, GEdit, Tomboy ?). There was a question about whether Tube handlers can be installed on demand when one of your contacts initiates that application with you. It d be possible to simulate this by finding out (eg from the archive) which handlers are available, and dynamically registering a handler for all of those channel types, so that MC5 will advertise those capabilities, but also register as an approver. When an incoming channel actually arrives at the approval stage, prompt the user to install the required application and then tell MC5 to invoke it as the handler. Colin Walters asked about how Telepathy did NAT traversal. Currently, Telepathy makes use of libnice to do ICE (like STUN between every possible pair of addresses both parties have, works in over 90% of cases) for the UDP packets involved in calls signalled over XMPP, either the Google Talk variant which can benefit from Google s relay servers if one or other party has a Google account, so is more reliable, or the latest IETF draft which can theoretically use TURN relays but its not really hooked up in Telepathy and few people have access to them. XMPP file transfers and one-to-one tube connections use TCP which is great if you have IPv6, but otherwise impossible to NAT traverse reliably, so often ends up using strictly rate-limited SOCKS5 -ish XMPP proxies, or worse, in-band base64 in the XML stream. We hope to incorporate (and standardise in XMPP) a reliability layer which will allow us to use Jingle and ICE-UDP for file transfers and tubes too, allowing peer to peer connections and higher-bandwidth relays to enhance throughput significantly. Future Ted Gould had some good questions about the future of Telepathy
Should Empathy just disappear on the desktop as things like presence applets or GNOME Shell take over parts of its function? Maybe, yes. In some ways its goal is just to bring Telepathy to end users and the desktop so that its worth other things integrating into Telepathy, but Telepathy allows us to do a lot better than a conventional IM client. Maemo and Sugar on the OLPC use Telepathy but totally integrates it into the device experience rather than having any single distinct IM client, and although Moblin uses Empathy currently it has its own presence chooser and people panel, and may go on to replace other parts of the user experience too. GNOME Shell looks set to move in this direction too and use Telepathy to integrate communications with the desktop workflow. Should Telepathy take care of talking to social networking sites such as Facebook, Twitter, etc? There s no hard and fast rule Telepathy only makes sense for real-time communications, so it s good for exposing and integrating the Facebook chat, but pretty lame for dealing with wall posts, event invitations and the like. Similarly on the N900, Telepathy is used for the parts of the cellular stack that overlap with real-time communications like calling and SMS, but there is no sense pushing unrelated stuff like configuration messages through it. For Twitter, the main question is whether you actually want tweets to appear in the same UI, logging and notification framework as other messages. Probably not anything but the 1-to-1 tweets, meaning something like Moblin s Mojito probably makes more sense for that. Later in the summit I took a look at Google Latitude APIs, which seem like something which Telepathy can expose via its contact location interface, but probably not usefully until we have support for metacontacts in the desktop. Can/will Telepathy support IAX2? It can, although we d have to do a local demultiplexer for the RTP streams involved in separate calls. It s not been a priority of ours so far, but we can help people get started (or Collabora can chat to people who have a commercial need for it). Similarly nobody has looked at implementing iChat-compatible calling because our primary interest lies with open protocols, but if people were interested we could give pointers its probably just SIP and RTP after you dig through a layer of obfuscation or two.
If you want to know more about Telepathy feel free to comment with some follow-up questions, talk to us in #telepathy on Freenode, or post to the mailing list.

13 October 2009

David Pashley: Tarballs explained

This entry was originally posted in slightly different form to Server Fault If you're coming from a Windows world, you're used to using tools like zip or rar, which compress collections of files. In the typical Unix tradition of doing one thing and doing one thing well, you tend to have two different utilities; a compression tool and a archive format. People then use these two tools together to give the same functionality that zip or rar provide. There are numerous different compression formats; the common ones used on Linux these days are gzip (sometimes known as zlib) and the newer, higher performing bzip2. Unfortunately bzip2 uses more CPU and memory to provide the higher rates of compression. You can use these tools to compress any file and by convention files compressed by either of these formats is .gz and .bz2. You can use gzip and bzip2 to compress and gunzip and bunzip2 to decompress these formats. There are also several different types of archive formats available, including cpio, ar and tar, but people tend to only use tar. These allow you to take a number of files and pack them into a single file. They can also include path and permission information. You can create and unpack a tar file using the tar command. You might hear these operations referred to as "tarring" and "untarring". (The name of the command comes from a shortening of Tape ARchive. Tar was an improvement on the ar format in that you could use it to span multiple physical tapes for backups).
# tar -cf archive.tar list of files to include
This will create (-c) and archive into a file -f called archive.tar. (.tar is the convention extention for tar archives). You should now have a single file that contains five files ("list", "of", "files", "to" and "include"). If you give tar a directory, it will recurse into that directory and store everything inside it.
# tar -xf archive.tar
# tar -xf archive.tar list of files
This will extract (-x) the previously created archive.tar. You can extract just the files you want from the archive by listing them on the end of the command line. In our example, the second line would extract "list", "of", "file", but not "to" and "include". You can also use
# tar -tf archive.tar
to get a list of the contents before you extract them. So now you can combine these two tools to replication the functionality of zip:
# tar -cf archive.tar directory
# gzip archive.tar
You'll now have an archive.tar.gz file. You can extract it using:
# gunzip archive.tar.gz
# tar -xf archive.tar
We can use pipes to save us having an intermediate archive.tar:
# tar -cf - directory   gzip > archive.tar.gz
# gunzip < archive.tar.gz   tar -xf -
You can use - with the -f option to specify stdin or stdout (tar knows which one based on context). We can do slightly better, because, in a slight apparent breaking of the "one job well" idea, tar has the ability to compress its output and decompress its input by using the -z argument (I say apparent, because it still uses the gzip and gunzip commandline behind the scenes)
# tar -czf archive.tar.gz directory
# tar -xzf archive.tar.gz
To use bzip2 instead of gzip, use bzip2, bunzip2 and -j instead of gzip, gunzip and -z respectively (tar -cjf archive.tar.bz2). Some versions of tar can detect a bzip2 file archive with you use -z and do the right thing, but it is probably worth getting in the habit of being explicit. More info:
Read Comments (8)

12 October 2009

Christian Perrier: What marathon now?

So, now that I completed my 2009 program by running the Cologne marathon 6 months after my first one in Paris, I now plan the 2010 "season"..:-) (one point for you guys who told me that once you start you don't stop) The next step is definitely Paris. The race is close to my home, this is a great race in a great city at a great time. I really can't miss it. So, that one is registered. The point is "what about 'the other one'". I plan to run another marathon during that year, preferably during autumn. Actually, I would probably be able to run at least one more but, well, many people urge me to avoid exxagerating and that includes my beloved wife..:-) So, one more. Which one? At this very moment, I have about 4 options: So, at this moment, Berlin and Donostia have the lead. A good compromise could be running a marathon in Berlin and the 20km Behobia-San Sebastian run which is very popular in Basque country. We'll see..

11 October 2009

Asheesh Laroia: Microsoft loses all Sidekick users' data. Lesson: Make backups.

Some tens or hundreds of thousands of T-Mobile USA customers probably just lost the contacts, photos, and notes "on their phone" forever. Those data are primarily stored on servers run by Danger, a subsidiary of Microsoft; rather, they were, until data loss destroyed them. Many customers' phones do not have a complete copy of their data; some have no data at all. T-Mobile texted the affected customers with a link to this message:
Personal information stored on your device - such as contacts, calendar entries, to-do lists or photos - that is no longer on your Sidekick almost certainly has been lost as a result of a server failure at Microsoft/Danger.
Long story short: No backups.

The story is a sad one, told many times Microsoft chose to make no backups, reports Sidekick news website Hiptop3.com. It seems the team at Microsoft in charge of user data storage allowed an upgrade to the storage system with no backup in place. When the upgrade failed, the data was toast. This sad story of "no backups" is something that sysadmins -- myself included -- find ourselves in from time to time. Toward the end of 2006, the "Leafycaust" (disk failure with no backups at leafyhost.com) destroyed lots of data for Students for Free Culture. I had my own catastrophe in mid-2007 when two disks connected in RAID-1 (which is not a backup system) failed within two days of each other. (I now run nightly off-site backups for all the systems I maintain.) People who rely on computers ought to make sure the people responsible are doing those backups, and that the backups are actually usable. Students for Free Culture was a Leafyhost customer; T-Mobile is a Microsoft customer. It's somewhat humorous that Microsoft and Leafyhost provide the same level of assurance.

"im about to cry!" In the Hiptop3.com article above, users tell their own sad stories and give advice.
  • "Since then, I ve cried twice."
  • "Fortunately, through Facebook, I ve been able to contact one of my brothers who gave me my parents numbers."
  • "im about to cry!"
  • "For those of you out there who think your information is safe. Learn from this please. Store information online, on paper, on a phone, everywhere. Invest the time!"
Invest the time. It's good advice. Everyone: Please make backups. Don't trust any one thing - your IT staff, your personal computer, or your paid service provider, to keep your data safe. (For more technical readers: Don't rely purely on your DBMS, your filesystem, or one particular location. You know the drill; now practice it.) I'll conclude with a quote. This one is about the Leafycaust, but it could easily be about Microsoft/Danger:
Essentially, these notjobs burn through several thousand dollars of people s money for the service of deleting all their critical (and personal) data.

10 October 2009

David Pashley: Blog Copyright

To make things explicitly clear, my blog is copyrighted and licensed as "All rights reserved". It even says that at the footer of every page. That means you may not redistribute any content without my permission. Yes, this means you, Ross Beazley. I may allow aggregation sites to redistribute my content, but the only sites where I have given explicit permission are Planet Debian and Planet BNM. I am unlikely to be upset if your aggregation site links back to the original entry and does not carry advertising, and will probably give you permission. If both these conditions are not met, you do not have permission and will not be granted permission.
Read Comments (7)

Stefano Zacchiroli: RC bugs of the week - week 6

RCBW - week #6 RC bugs squashed this week by yours truly: This week I've cheated for at least two reasons:
  1. the first 4 entries in the list above are bugs of "mine", since within the Debian OCaml Maintainers team we migrated to a new package toolchain called dh_ocaml (with a lot of advantages I've anticipated before my summer break). The migration to that triggered (thanks, Lucas! :-) ) more than 30 FTBFSs which had to be dealt with. So, even if not cheating, it is at least breaking the NMU tradition of RCBW, but they were still RC bugs looking for a fix! All in all, I'm impressed by the fact that in about a week we dealt with most of them.
  2. the lxml fix above is severity "important" and as such, not RC. I attacked that because I intended to help out with the Python 2.6 transition which is still, at the time of writing, 41 bugs away from hitting unstable. I confess I did not find the task particularly fun (which is a requirement for me when I work on packages which are not mine) yet, we'll see next week ...
The feeling of the week I've to share is that I'm more and more impressed to not have received any complaint about my NMU activity, and I'm approaching the 50 NMUs. Actually I've received several "thank you" replies (you rock guys and you know who you are). On one hand this is probably a good indication that I haven't (yet) done any serious mistake; I do love peer-review! On the other hand, and more importantly, this is dispelling inside me the folklore / cultural block we have in Debian that "NMU is bad", while NMUing should become a way to help each other routinely. Really.

David Pashley: Name-Based HTTPS

This entry was originally posted in slightly different form to Server Fault There are two methods of using virtual hosting with HTTP: Name based and IP based. IP based is the simplest as each virtual host is served from a different IP address configured on the server, but this requires an IP address for every host, and we're meant to be running out. The better solution is to use the Host: header introduced in HTTP 1.1, which allows the server to serve the right host to the client from a single IP address. HTTPS throws a spanner in the works, as the server does not know which certificate to present to the client during the SSL connection set up, because the client can't send the Host: header until the connection is set up. As a result, if you want to host more than one HTTPS site, you need to use IP-based virtual hosting. However, you can run multiple SSL sites from a single IP address using a couple of methods, each with their own drawbacks. The first method is to have a SSL certificate that covers both sites. The idea here is to have a single SSL certificate that covers all the domains you want to host from a single IP address. You can either do this using a wildcard certificate that covers both domains or use Subject Alternative Name. Wildcard certificates would be something *.example.com, which would cover www.example.com, mail.example.com and support.example.com. There are a number of problems with wildcard certificates. Firstly, every hostname needs to have a common domain, e.g. with *.example.com you can have www.example.com, but not www.example.org. Secondly, you can't reliably have more than one subdomain, i.e. you can have www.example.com, but not www.eu.example.com. This might work in earlier versions of Firefox (<= 3.0), but it doesn't work in 3.5 or any version of Internet Explorer. Thirdly, wildcard certificates are significantly more expensive than normal certificates if you want it signed by a root CA. Subject Alternative Name is a method of using an extension to X509 certificates that lists alternative hostnames that are valid for that certificate. It involves adding a "subjectAltName" field to the certificate that lists each additional host you want covered by the certificate. This should work in most browsers; certainly every modern mainstream browser. The downside of this method is that you have to list every domain on the server that will use SSL. You may not want this information publicly available. You probably don't want unrelated domains to be listed on the same certificate. It may also be difficult to add additional domains at a later date to your certificate. The second approach is to use something called SNI (Server Name Indication) which is an extension in TLS that solves the chicken and egg problem of not knowing which certificate to send to the client because the client hasn't sent the Host: header yet. As part of the TLS negotiation, the client sends the required hostname as one of the options. The only downside to this is client and server support. The support in browsers tends to be better than in servers. Firefox has supported it since 2.0. Internet Explorer supports it from 7 onwards, but only on Vista or later. Chrome only supports it on Vista or later too. Opera 8 and Safari 8.2.1 have support. Other browsers may not support it. The biggest problem preventing adoption is the server support. Until very recently neither of the two main webservers supported it. Apache gained SNI support as of 2.2.12, which was released July 2009. As of writing, IIS does not support SNI in any version. nginx, lighttpd and Cherokee all support SNI. Going forward, SNI is the best method for solving the name-based virtual hosting of HTTPS, but support might be patchy for a year or two yet. If you must do HTTPS virtual hosting without problems in the near future, IP based virtual hosting is the only option.
Read Comments (14)

9 October 2009

Eddy Petri&#537;or: Converting flac to mp3 - Soundconverter

Why would I want that? Not because mp3 is in any way superior, is just my phone doesn't support playing FLAC and its audio capabilities are no match for flac.

If you want to convert FLAC to mp3, say to listen to your music on your phone or mp3 player, and you use GNU/Linux I recommend soundconverter.

This is already packaged in Debian and available in etch, lenny, squeeze and sid. It is probably available on Ubuntu and all other major distros out there, so, enjoy.


(This is also a reminder for me. I used soundconverter before, but I was unable to remember which was the application.)

Brett Parker: Firefox Paper Size

It appears that no matter what the system papersize is set to, and no matter what cups says is the default paper size, firefox, in its infinite wisdom locks it to being letter - this would probably be fine if I was in the US, but I'm not, and I want it to be A4... So, the stages to go through to get it to do the right thing appear to be: This seems like something that should be much easier set, apparently using Page Setup only affects the current tab/window you are in and doesn't change the default, which is just odd.

8 October 2009

Barry Hawkins: More Expensive and Complicated Equals Better: Carseats and Software

So I finally got around to checking out the TED site; I ve quickly become a fan. One of the first talks I watched was Steven Levitt s child carseats talk. Both the talk and the feedback comments on the TED site reminded me of things I see in software development. Here s the video if you haven t seen it.
<object height="326" width="334"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"><param name="allowFullScreen" value="true"><param name="wmode" value="transparent"><param name="bgColor" value="#ffffff"><param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/StevenLevitt_2005G-medium.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/StevenLevitt-2005G.embed_thumbnail.jpg&amp;vw=320&amp;vh=240&amp;ap=0&amp;ti=30&amp;introDuration=16500&amp;adDuration=4000&amp;postAdDuration=2000&amp;adKeys=talk=steven_levitt_on_child_carseats;year=2005;theme=unconventional_explanations;theme=presentation_innovation;theme=how_the_mind_works;theme=not_business_as_usual;event=TEDGlobal+2005;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;"><embed allowfullscreen="true" bgcolor="#ffffff" flashvars="vu=http://video.ted.com/talks/dynamic/StevenLevitt_2005G-medium.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/StevenLevitt-2005G.embed_thumbnail.jpg&amp;vw=320&amp;vh=240&amp;ap=0&amp;ti=30&amp;introDuration=16500&amp;adDuration=4000&amp;postAdDuration=2000&amp;adKeys=talk=steven_levitt_on_child_carseats;year=2005;theme=unconventional_explanations;theme=presentation_innovation;theme=how_the_mind_works;theme=not_business_as_usual;event=TEDGlobal+2005;" height="326" pluginspace="http://www.macromedia.com/go/getflashplayer" src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" type="application/x-shockwave-flash" width="334" wmode="transparent"></embed></object>
Steven Levitt shows in his talk how 30 years of data on car crash fatalities imply that carseats do not outperform regular seatbelts for children ages 2 and up. Anyone who has a child or grandchildren will probably bristle at hearing that; as the father of a pre-schooler, it certainly gave me pause. We spent no small amount of time and decent chunk of money in selecting carseats for our child, thinking we had done our best to ensure our child s safety. For that matter, it would be illegal for us not to have done so. To see a decent-sized data sample suggesting my child would be better off in a seatbelt at her age is rather unsettling. By the end of the talk, I took away these observations: So, software professionals, does any of that sound familiar? It reminds me of numerous initiatives over the years that have led us inexorably to the software productivity morass we have slogged through for years now. I suppose the most heinous case study in my own experience would be J2EE and the insistence that it was the solution that any reasonable business application would choose for a platform. (Before you .Net folks jump on that one, DCOM and later the .Net enterprise stack was much the same.) And who hasn t read a benchmark or white paper with seemingly incontrovertible data depicted in highly-polished graphics insisting that Product Y is the one solution to address them all? I noticed that there were comments below the video on its page at the TED site, largely because the negative verbiage of the topmost comment jumped out at me. I took the time to read through them all (there were 36 at the time of this writing), and to my amusement, I saw parallels between them and how people react to questioning and examining our existing practices and means of developing software. See if any of these strike a chord: In recent years I ve been greatly encouraged by the willingness of companies to question whether or not the heavyweight frameworks and technology stacks are what they should be using. Helping companies slough off high-ceremony processes in favor of right-sized process that focuses on delivering the right software in a timely manner has been some of the more rewarding work I ve done the past several years. I think we have an encouraging number of people in the industry who are challenging the more expensive and complicated always equals better mantra. For the brave individuals willing to put these questions to the community at large, I hope you find some comfort in knowing that the resistance and rejection you will encounter is a thing to be expected; you are not alone in that respect. Here s hoping we continue to be open to self-examination, no matter what emotional responses it might provoke or what fear of the future it may stir up within us.

6 October 2009

Steve Kemp: Poppa's got a brand new bang.

Recently I posted a brief tool for managing "dotfile collections". This tool was the rationalisation of a couple of adhoc scripts I already used, and was a quick hack written in nasty bash. I've updated my tool so that it is coded in slightly less nasty Perl. You can find the dotfile-manager repository online now. This tool works well with my dotfile repository, and the matching, but non-public dotfiles-private repository. I'm suspect that this post might flood a couple of feed agregators, because I've recently my chronicle blog compiler with a new release. This release has updated all the supplied themes/templates such that they validate strictly, and as part of that I had to edit some of my prior blog entries to remove bogus HTML markup. (Usually simple things suck as failing to escape & characters correctly, or using "[p][/P]" due to sloppy shift-driving.) I should probably update the way I post entries, and use markdown or textile instead of manually writing HTML inside Emacs, but the habit has been here for too long. Even back when I used wordpress I wrote my entries in HTML... Finally one other change in the most recent chronicle release is that the "mail-scanning.com theme" has been removed, as the service itself is no longer available. But all is not lost. ObFilm: Blade II

Micha Lenk: checkinstall for Debian Etch

Unfortunately checkinstall didn't made it into Debian Etch, hence I needed to backport it from Lenny. I tried to follow the instructions given on www.backports.org, but unfortunately the package FTBFS on 64 bit architectures with the libc6-dev provided with Etch. I dropped the versioned build-dependency on libc6-dev and restricted its build to Architecture: i386, but probably this renders the package inacceptable for www.backports.org... You can find the backport here.

Patrick Schoenfeld: To the rescue, git is here!

Consider the following scenario:

You work on a project for a customer that is handled in a Subversion Repository.
The work you get comes in form of some tickets. Tickets may affect different parts
of the project, but they could also affect the same parts of the project. Testing of your work
is done by a different person. For some reasons its wanted that the fix for each ticket
is committed in only one commit in the subversion repository and only after it has been
tested. Commits for two tickets changing the same files should not be mixed.

Now: How do you avoid a mess when working with several patches that possibly affect the same files?

The answer is: git with git-svn. Currently my workflow looks the following:

  1. Create a branch for each ticket
  2. Make my changes for the ticket in this branch
  3. Create a patch from the changes in this branch and supply the tester with it
  4. Wait for feedback and eventually repeat steps 2-4
  5. When testing is finished, run git rebase -i master in the branch, now squash each commit into one commit, build a proper commit message from the template git provides.
  6. Switch to master branch and merge the changes from the branch.
  7. Rebase master against the latest svn (git svn rebase) and dcommit
That workflow works good for me. It gives me the possibility to do micro-commits as much as I want and still only commit a well-defined, well-tested commit into the projects SVN.
Just some minor drawbacks I haven't yet solved (you know, git /can/ do everything, but that is actually a problem in itself):
For now I cannot tell how good merging works, as soon as conflicts arise. But I guess git can do well, although there is the possibility that it could get complex again.

Nevertheless, its probably not a credit to git, but instead to DVCSes in common, but anyway. I like it.

5 October 2009

MJ Ray: Betting on British Broadband Bugfixing

High-speed internet links are something that makes FOSS development much easier, but I m still having reliability problems with my ADSL. A fringe benefit of moving to a more open Linux-based router is that I can see what s going wrong in more detail. But now I have to gamble nearly two hundred pounds in order to get the service providers to continue trying to find the bug! Sorry for the length, but let me explain how bad broadband in rural England is just now Outside the big cities with their cable networks, Company A owns the lines, Company B provides the services and we buy those services from reseller Company C. Sometimes the same company is A and B or B and C, but never all three. Most of the companies who are B won t be C themselves - in other words, they don t sell retail, but they nearly always seem to have a main or preferred retail partner. Company A is nearly always OpenReach, part of BT Group, the telephone monopoly privatised back in the 1980s but still somehow keeping its landline monopoly. Why is that allowed? Company C has been The Phone Co-op for me for the last few years. Back in February, I changed how I bought my services, combining phone and broadband into one purchase. They d been two purchases mainly because I switched my ADSL from Pipex to the co-op at a different time to switching my line to them. As I understand it, this change had the side effect of changing Company B from OpenReach to Opal Telecom. Opal are the provider business behind TalkTalk, hardest to use Broadband ISP 2009. Since the change, I ve been suffering unexplained disconnections, especially in the early evenings and at weekends. I m pretty sure it s Opal s equipment to blame for two reasons:- Firstly, this wasn t happening until Opal became Company B, while Companies A and C are the same as before (when I had a stable but unspectacular 4Mbps connection). Secondly, since changing my router, I can see LCP TermReq being sent by Opal s PPP peers. Opal insist their equipment isn t sending TermReq messages. My Netgear router disagrees, but I can t seem to get anyone to take its pppd debug logs seriously. So, I ve complained to my supplier (Company C), they ve pretty straightforwardly passed it to Company B and I ve jumped through all the bloody silly hoops like using only wired connections to the router (yay, wires across the house), plugging the router into different phone sockets (yay, more wires across the house) and disconnecting everything from the phone sockets so Company A can run some voltage test (yay, uncontactability - just as well other software.coop workers can cover for me). Now the next step is for some phone engineer to call. For this to happen, I have to agree that I will pay GBP 164 if a fault is found on my phone network instead of theirs. If I don t, they will give up trying to find the fault. I don t really see why this is necessary: surely if there was a line fault, it would have shown itself on the old service? Also, the router says the line has no fault and the SNR and Attenuation are both fine but not great. Unlike most people, I ve already had my house phone network tested with professional equipment (yay for network engineers in the co-op trying to avoid the painful state of British broadband bugfixing), but I m still left betting hundreds of pounds on the phone engineers not pointing the finger at my network. What choice do I have? I ve read elsewhere about people giving up on ADSL and switching to mobile internet because then they have only one company to deal with. I can see some attraction in that, but I live in a village with poor mobile service and I suspect the forthcoming T-Mobile/Orange and T-Mobile/Three link-ups will soon make that less straightforward too. A confusopoly is probably more profitable to telephone companies. Do most people bet a couple of hundred pounds to get their broadband fixed? How many broadband faults get ignored at that point? Why don t the retail company Cs have access to enough Company B systems to lead the fault-finding instead of only being able to pass it on to people who seem to give replies that contradict the logs and won t talk directly to customers? Is fixing this A-B-C three-companies-pass-the-buck system a necessity for Digital Britain? Why isn t the government intervening to end the OpenReach monopoly outside the big cities?

4 October 2009

Matt Zimmerman: Free software is so easy you don t even need a keyboard!


For some time now, I ve been using a LinkSys NSLU2 as a file server for my home network. It s very small, has no moving parts, and uses relatively little electricity. Combined with a large USB-attached hard disk, it has worked very nicely overall. My only issue has been that it is somewhat underpowered: with a 266MHz CPU and only 32M of RAM, it just wasn t as responsive as I would like. This weekend, I finally got around to replacing it with a newer unit based on the Babbage 2 design, with an 800MHz CPU and 512M of RAM. This should be much faster, and let me run more services than just Samba and rsync. The only trouble was, the console interface on the new system is VGA and USB. I have a VGA monitor at home, but I don t have a keyboard. I used to be the sort of person who had cabinets full of spare computer parts at home. Before my transatlantic relocation, I lightened my load substantially, and have only one small box now. This box did not contain a USB keyboard, and our only computers at home are laptops and netbooks. Fortunately, the unit had a build of Ubuntu installed on its internal flash, configured to log in automatically to a graphical desktop. Using a dust-covered USB mouse I found in the bottom of the parts box, I copied and pasted letters from the gnome-terminal help files to install openssh-server, so that I could login over the network and finish setting it up. It has now replaced the NSLU2 and is much snappier.

Romain Beauxis: What they could (not) have said..

So apparently the debate on sexism is going on, and there are interesting contributions, in particular that blog post from Josselin Mouette. I mostly agree with Josselin. Parts of what he writes is a better expanded version of my answer on Daniel Kahn Gillmor's post. A nuance.. However, I think a nuance needs to be added. Josselin says that clich are mainly a rhetoric artifact that helps focusing the audience's mind to a specific image. Quite true. However, not all those clich may be used. For instance, I've been thinking of the following. Please, pretty please, do not get offended, this is just rhetoric arguments.. !
  • The new startup system in Ubuntu is like black people: it runs faster but it is not really clever.
  • Using a workaround for a fixing a bug is like a stinking french using perfume instead of taking a shower.
  • The bug report system is greedy as a jew.
As you may understand, only one one this clich actually makes me laugh. The two other one are strongly offending. So, not all clich are acceptable, even when used as a rhetoric form of humor. So what is the difference ? Well, I guess it is pretty clear: the black people have suffered from slavery for centuries, and are being discriminated every day based on the clich that people have about them. Similarly, the Shoah during the second World Wild War was a horrible massacre, and no one wants to use any of the clich that were very common before this happened because we have respect for this History. However, the stinky French are not really being discriminated, even though they are supposed to be arrogant socialist womanizers :-) Now, coming back to our topic, sexism, the nuance I would like to add is that of the relative overlooking of the discrimination being applied against women. I do not think I am really entitled to tell about the daily discriminations that women suffer from, but the reason why I think we accept to easily the clich about women is probably because we do not understand how bad it can be for them. And I believe this has to come with man's ego because trying to understand how it is to live the life of a woman is probably what we lack. Lagniappe An interesting related though that came to my mind in this debate about clich is about Orwell's writings. When reading Down and Out in Paris and London, I was quite offended by the use of clich about Jews and also Armenians. This was really offensive for a modern reader. But Orwell is a writer that was the perfect opposite of a dogmatic, and he constantly revised his judgment, which is why I like his writings. In particular, in his Tribune chronicle on December 10th, 1943, which is an awesome contribution in the topic so racial discrimination and social issues, we can read the following [1]:
Is there anything that one can do about this, as an individual ? One can at least remember that the colour problem exists. And there is one small precaution which is not much trouble, and which can perhaps do a little to mitigate the horrors of the colour war. That is to avoid using insulting nicknames. It is an astonishing thing that few journalists, even in the left-wing press, bother to find out which names are and which are not resented by members of the other races. The word 'native', which makes and Asiatic boil with rage, and which has been dropped even by British officials in India these ten years past, is flung about all over the place. 'Negro' is habitually printed with a small n, a thing most Negroes resent. One's information about these matters needs to be kept up to date. I have just been carefully going through the proofs of a reprinted book of mine, cutting out the word 'Chinaman' wherever it occurred and substituting 'Chinese'. The book was written less than a dozen years ago, but in the intervening time, 'Chinaman' has become a deadly insult. Even 'Mahomedan' is now beginning to be resented: one should say 'Muslim'. These things are childish, but then nationalism is childish. And after all we ourselves do not actually like being called 'Limeys' or 'Britishers'
I cannot say how much I recommend reading these chronicles, printed under the name Orwell in Tribune.

[1] I would like to reproduce the whole text, but I only have the printed copy, and I am kind of lazy :)

3 October 2009

Frans Pop: debmirror III

debmirror 2.3 should be hitting the mirrors about now. Main change is that it will now use the available diffs to update Contents files, which should give a nice bandwidth reduction for users who mirror those. With that the option --pdiff (for "package diff") no longer really covered its function, so I decided to change it to --diff. There's also a fix for mirroring archives that don't have a Release file. Question for users The option --add-dir has been marked as deprecated (for quite some time now I suspect). I'm considering to remove it in the next release as I cannot see any use cases for it, but it's quite possible I'm missing something and there are still people using it. If you would like that option preserved, then please mail me at debmirror@packages.d.o with an explanation of why and how you use it. Managing the size of a local mirror The archive has grown a lot over the past Debian releases and keeping even a partial local mirror can require quite some disk space. Luckily debmirror offers quite a few options to tune what is mirrored. My own mirror covers testing and unstable 'main' for 6 architectures (i386, amd64, armel, hppa, sparc and s390), no source, no D-I images. It uses only 61G. I say "only" as that's about 33GB less than it could have been without tuning. In other words, I'm saving a bit more than one third! Here are the options I added to achieve this:
--exclude-deb-section='^debug$'
--exclude='/(xen-)?linux-[a-z]+-2\.6[.0-9]*-[-[:alnum:]]*(openvz vserver xen)[-[:alnum:]]*_'
--exclude='(k/kde g/gnome o/openoffice\.org).*/.*_(armel hppa s390)\.deb'
--exclude='(a/axiom/ d/debian-edu-doc/ e/ember( -media)/ e/eclipse(/ -))'
--exclude='(e/erlang g/(gcl(cvs)? ghc6)/ l/llvm(/ -) p/paraview/ o/openturns/)'
--exclude='(s/scalapack(-doc)?/ f/festvox- g/gcc-snapshot/)'
--exclude='(/acl2-books_ /digikam-doc_ /fluid-soundfont-gm_ /deal.ii-doc_)'
--exclude='(/libxmpp4r-ruby-doc_ /lilypond-doc_ /qt4-doc_ /vtk-doc_)'
--exclude='/i18n/Translation-.*\.bz2' --include='/i18n/Translation-(nl de)\.bz2'
And the explanation is: Obviously I have nothing against any of the packages that I exclude. It's just that I don't need them.

Next.

Previous.