Search Results: "sf"

6 March 2006

Lars Wirzenius: Review: "Producing open source software" by Karl Fogel

Karl Fogel's Producing open source software: how to run a successful free software project covers many of the important aspects of free software projects, and concentrates on the parts that are different from, say, traditional in-house development projects. The book covers technical aspects like mailing lists, bug trackers, version control systems, and other infrastructure necessary for a project to survive. It also covers more social aspects, such as how to deal with flames, forking, or how to employ developers for free software projects. The book is written well, and is a light, fairly quick read. Those of us who have participated in free software for a long time can find the book as a nice summary of things that have been learned over the years. Those newer to free software development may find many new things to learn. Most of us will find something to think about. Despite the level of detail Fogel gets into, the book obviously only scratches the surface. Free software development is such a vast new territory that it is not realistic for one book to cover all of it. For example, this book does not cover conferences and other face-to-face meetings, which are important for keeping the community of free software developers alive. With the caveat that it doesn't make further volumes on this topic unnecessary, Fogel's book really is worth the time it takes to read it. Recommended.

5 March 2006

Uwe Hermann: HOWTO: Anonymous communication with Tor - some hints and some pitfalls [Update]

Warning: Very long post ahead. You have been warned! What? Tor is a Free Software project (revised BSD license), developed by Roger Dingledine and Nick Mathewson, which creates an infrastructure for anonymous TCP communication. From the project website:
Tor is a toolset for a wide range of organizations and people that want to improve their safety and security on the Internet. Using Tor can help you anonymize web browsing and publishing, instant messaging, IRC, SSH, and other applications that use the TCP protocol. Tor also provides a platform on which software developers can build new applications with built-in anonymity, safety, and privacy features. Tor aims to defend against traffic analysis, a form of network surveillance that threatens personal anonymity and privacy, confidential business activities and relationships, and state security. Communications are bounced around a distributed network of servers called onion routers, protecting you from websites that build profiles of your interests, local eavesdroppers that read your data or learn what sites you visit, and even the onion routers themselves.
Tor also allows you to set up and/or use a so-called Tor hidden service, i.e., a server which offers some service (a website, ssh access, or similar) without revealing its IP to its users. Why? Why would you want to use Tor? Well, because you probably don't want anybody (neither state agencies, nor companies, nor "hackers", nor any other individuals or groups) to be able to record, analyze, and (ab)use information about your web browsing habits, or any other communication habits. For instance, you don't want Google to have a complete search-profile of you, which — even worse — might some day get in the hands of other parties. In the days of massive data retention you don't want all your electronic traces to be recorded, stored for ages, analyzed, and data-mined for dubious reasons and with even more dubious results and false conclusions drawn which might negatively affect you. If you're a human rights activist in China, you want anonymous communication. If you're a whistleblower, you want anonymous communication. The list is endless. For securing your communications, so that nobody is able to sniff your emails, your chat messages, your passwords, your private documents and conversations, you use encryption. For communicating anonymously you can use Tor. Combine both, and you have secure and anonymous communication. In case you're wondering whether criminals might abuse Tor, read the Tor Abuse FAQ. Short answer: yes, but if you're willing to break the law, you already have anonymity (open access points, stolen/prepaid mobile phones, etc.). You don't need Tor to do bad things if you're a criminal. If you're one of those horrible "oh, but I don't have anything to hide" guys, consider this: Say you have a drug/alcohol problem and want to visit an anti-drugs/anti-alcohol website or forum for help. Would you want the whole world, your neighbors, your co-workers, your boss, to know that, or would you rather want to keep that a secret? Say you have AIDS and want to get information on the web? Or, to make the example even more dramatic: Would you want some random guys to be able to watch you while you fuck your wife? No? So you have something to hide after all, right? My point is: Everyone has something to hide, even more, it is a basic human right to have the ability to hide something. It's called privacy. How? Tor implements a form of onion routing to, basically, push encrypted data through multiple Tor nodes (servers), before it reaches the final destination (e.g. a website). The result is that neither the website owner, nor a local eavesdropper, nor any single Tor server knows who requested that specific website, hence you are communicating anonymously. For more technical details, read the Tor overview and the Tor documentation pages. In order to use Tor, you have to install and run a local Tor client/daemon (this is not necessarily a Tor server!). On Debian, type apt-get install tor, on other systems you can get the respective binary packages or download the sources and compile Tor yourself. Usually Tor is used together with Privoxy, a configurable HTTP proxy which sanitizes your web-browsing experience by removing nasty banner ads, pop-ups, JavaScript, webbugs, cookies etc. etc. So: apt-get install privoxy. After installing and starting Tor and Privoxy, you can now configure your webbrowser to use Privoxy as an HTTP proxy (see below), and Privoxy will in turn use Tor to anonymize your communication if you add "forward-socks4a / localhost:9050 ." to your /etc/privoxy/config. Anonymizing various applications Most (but not all) of the following information is also covered in the very useful Torify HOWTO in the Tor wiki (I will add the missing information there, ASAP). As I'm pretty paranoid, I have checked every single of these configurations with Ethereal to ensure that the traffic is really anonymized. However, if you are paranoid, you shouldn't trust me, but rather test this stuff for yourself! Warning: DNS Leaks:
The biggest problem with many applications is that they leak DNS requests. That is, although they use Tor to anonymize the traffic, they first send a DNS request untorified in order to get the IP address of the target system. Then they communicate "anonymously" with that target. The problem: any eavesdropper with more than three brain cells can conclude what website you visited, if they see that you send a DNS request for rsf.org, followed by some "anonymous" Tor traffic. The solution: use Tor together with Privoxy, that prevents DNS leaks. Many non-HTTP-based applications are usually torified using a small tool called torify (e.g. by typing torify fetchmail), but often this approach has DNS leaking problems, see below. You might also want to check out toraliases, a small shell script you can source from your ~/.bashrc file. It defines some functions and aliases which transparently direct the traffic of some (but not all!) programs through Tor. Applications which cannot easily be torified Anything not using TCP usually cannot be torified, as Tor only works for TCP. Pitfalls to be aware of More information More information is available in the Tor documentation, the Tor wiki, and especially in the Tor FAQ. In addition, there's an IRC channel on Freenode (#tor), some slides and a video (torrent) about Tor you might find interesting. If you would like to help, you can run a Tor server, donate some money, or volunteer to do other things (code, debug, document, translate, and more). That's it for now. I'm very grateful for comments and suggestions, especially for hints on how to anonymize more applications. Also, if you notice any dumb mistakes I made, please leave a comment. Update 2006-03-07: Fixed typos, added link to the toraliases project (thanks Benjamin Schieder).

Aigars Mahinovs: Top 10 libre timewaisters from Debian

This Saturday we had an installfest in LAKA with a topic of free games. It came to me to make my own top 10 of free Linux time wasting games that are packaged for Debian. Here we have the list for future reference: Honorable mention - Battle for Wesnoth: a turn based strategy game with a lot of scenarios for single player and also with multiplayer support.
  1. Enigma - A fine puzzle of precision ball moving around large and complex landscapes with a lot of different of tools and quirks
  1. Bygfoot - A football team manager with a lot of nice extra tools like transfers, injuries, salaries, sponsorship deals and a nice comentary for the games themselves. I only would love to see some kind of an online mode either in runtime mode or in turn-per-day mode.
  1. Blob wars - Funny and bloody as hell. Think Rambo as a bruised blob shooting other blobs and rescuing another blobs. Got a lot of laughs during the presentation.
  1. Pingus - Lemmings clone just with penguins. Nice graphics and control. Looks like there is a lot of levels too. Wonderful intro.
  1. LiquidWar - A very addictive and abstract game of liquid domination. Nothing much to explain - just play it with your friends or against a bunch of AI players.
  1. Tecnoballz - Arcanoid on steroids ... x4 ... with a shop ... and bosses ... and ballz ... lots of ballz. Must see.
  1. Scorched3D - The best 3D graphics I have ever seen for a free software project. Same old addictive blowing stuff up with nukes that we all love since Scorched Earth and Worms. Gameplay is better then the latest Worms. Great multiplayer fun. I only with the camera would be more intelligent.
  1. Frozen Bubble - instant classic of free software gaming. Wit and precision required. Fun supplied.
  1. Neverball - Great graphics. Wacky gameplay. Tilt the world with your mouse. Do not fall off. Try the harder levels for even more fun.
  1. Powermanga - Just plain fly and shoot. With powerups. Lots of powerups. Especially note the last powerup that upgrades your ship to a new model which has new weapons to upgrade. Waves and waves of enemies with an occasional big boss. Sadly no multiplayer.
Note: sometime later this week I will also add screenshots to the list.

Lars Wirzenius: Random thought: Mice hands

Jordi writes about the lack of left-handed mice. I feel his pain, having been there. Many years ago, I decided to start using a mouse with my left hand, even though I'm primarily right-handed. The basic reason was that with a normal keyboard, you have to move your hand a long way over the cursor keys and the numeric keypad to get to the mouse. With the left hand, it's just there, a few centimeters away. Much nicer. The fact that I could use cursor keys or the keypad while using the mouse was an added benefit. About ten percent of all people are left-handed, and that's a pretty hefty piece of the entire market. If I were a mouse maker, I'd do my best to satisfy it. If I was a radical type of person, I'd suggest a letter writing campaign. Incidentally, it only took me a couple of days to switch mouse hands, but I never got as quick and precise with my left hand as I was with my right hand. I don't think it is acceptable to tell left-handed people to just switch to using a mouse with their right hand. (These days, I only use my laptop's touchpad.)

James Morrison: Visitors

Apparently it's been a month since I've said anything. No wonder people say I don't update this blog enough. A few weeks ago, Simon came to visit/make supper for some of us down here. It was good to see him again. Unfortunatly, after he left my fridge had stuff in it, so I had to leave it plugged in. That stuff I mentioned was mostly flavoured vodka and ice cream.

The weekend after Simon visited, I visited Victoria to see Gordo, who was on his last weekend on the west coast. I partied it up pretty hard with him and had quite a walk around Victoria saturday night while trying to find Esquimalt.

Before my mother arrive last saturday I figured it was a good idea to get rid of the ice cream and vodka in my freezer. So, I got to watch spaceballs with some friends while mixing some vodka smoothies.

My mom and auth Faye were down last week. I was partial tour guide, partial tourist this last week as we explored big basin, Stanford and San Francisco. It was fun to have visitors for once. I even got a lamp, some bowls and some wine glasses out of the deal.

Tonight, I went out to the Dana St. Roasting Company to see what was going on in Mountain View. To my surprised, tonights show was belly dancers. There was some very impressive dancers. It was a good night to go out.

(less than 900 emails to catch up on)

4 March 2006

Joey Hess: the first step in writing a successful GUI library

Is this..
mygui_init (void)  
    if (! connect_to_display())  
        fprintf(stderr, "Cannot connect to display. You lose.\n");
        exit(1); /* no way to recover from this horrible state */
     
 
Well, it worked for both GTK and Qt..

David Nusinow: Momentum Makes Debian More Fun For Me

Via Luis, I really like this article. Debian has become way too corporate in a lot of ways it seems, and many of us are forgetting what it's like to try and do something daring. It's one of the reasons I find aj's DPL platform compelling, even though he hasn't said how he's actually going to encourage a faster tempo. People got really excited when I simply updated Debian's X packages to the latest upstream version. Granted, this is cool, but it's far from the exciting stuff I'm looking to do once we're finally caught up with upstream for real (almost there!) It doesn't have to be revolutionary or anything, but I want the XSF to be a center for exciting things to happen. Unfortunately, the most exciting X stuff is happening everywhere but Debian right now, despite my best efforts to open it up further.

And while I share helix's hate for the term "stop energy", the vast and deep flamefests that periodically consume the project really do seem to slow down our development noticeably when I just look at daily changelogs in sid. Julien may call me a teletubby for this (a metaphor I loathe for its utter stupidity) but debian-x has been almost 100% free of flamewars for the past year or so since I came on, and we've gotten a remarkable amount done. Contrast that with the previous era in which the fighting seemed to sap the will of the most productive and capable members of the team, all of whom seemed to focus much of their energy elsewhere as a result. While I think a mailing list code of conduct will be an important step in achieving this effect project-wide, I think a more fundamental solution is for individuals to attempt to build momentum themselves. Momentum like what I've tried to build with X seems to stop these energy-sucking flamewars dead in their tracks, and makes the project seem like a lot more fun place to be. I know that with all the flames going on with ndiswrapper and such I've been able to retreat in to XSF-land and find my happy place and be productive.

Michael Banck: 3 Mar 2006

FOSDEM 2006 This year, the days before FOSDEM were the stressful ones, as I got to organize accomodation. Initially, we wanted to have similar appartments as last year, but by the time I was less busy at uni to actually look into it, most of them were already booked, so we had to put up with a youth hostel instead. The positive sides of this were the much lower expenses and a location in the city centre, making us actually look at Bruxelles a bit in detail this time. "Us" were the Hurd people, including Martin "earliest Hurd adopter present" Michlmayr. I got to FOSDEM by car again, picking up Marcus Brinkmann, Neal Walfield and Olaf Buddenhagen on the way in Cologne. Finding the youth hostel seemed to be pretty hard as we just had a street address and a map without street names, but we managed to find it pretty quickly to my great surprise (driving around in Bruxelles usually ended up being a complete disaster over the last years). After a strange encounter with a Guillem Jover lookalike in front of the hostel, we met the other guys (Thomas Schwinge, Marco Gerards, Stefan Siegl and Ognyan Kulev) and had a discussion about Neal's and Marcus' plan to move to a persistent system. After dinner, I met the other Debian people in the Roi d'Espagne and hat some longer chats with Jeroen van Wolffelaar, Rob Bradford, Martin Michlmayr and Jordi Mallach, who I finally met for the first time and who did not cop out of FOSDEM this year as usual... The pub is getting more and more crowded each year, all the hackers barely fit even though they opened the balustrade this time as well. It was great to see everybody again and have a few beers. Martin and I then managed to find the way back to the hostel by foot. We had no developer room, and no talks in the Debian room either, so FOSDEM was a pretty relaxed event this year. I met some more familiar faces like Noel Koethe and Andreas Mueller and listened to a couple of talks, most notably Richard Stallman's and Jeff Waugh's keynotes and Hanna Wallach's talk about FLOSSPOLS. Stefan Siegl also managed to get GNU Mach working for both my 3Com PCMCIA NIC and my Orinoco PCMCIA WLAN card, confirming his title as Hurd "hacker of the month". On Saturday evening, we (at this time, Guillem Jover, Gianluca Guida, Bas Wijnen and Jeroen Dekkers had joined) had dinner with the french Hurd guys (Manuel Menal, Marc Dequenes, Richard Braun, Arnaud Fontaine and others) in an italian restaurant. At 10:40 PM, the waiter told us in a rather unfriendly tone that they would close at 11 and presented us with the bill, along with handing out the menu again so that we could look up our share. By the time the bill arrived the french part of the table (at 10:55 PM), the guys were pretty surprised by this whole business and complained loudly that they did not have a dessert yet and insistent on having one. After some more minutes of discussion, the waiter gave in and served their desserts, after which each of them paid his share with his carte bleue. I believe we left the restaurant around 11:30. On Sunday evening, we had dinner again (the french guys had left Bruxelles already) and then drove back to Germany after having desserts and coffee in a bar. We left Bruxelles at around midnight and arrived in Duesseldorf at 2:30 PM, so we were glad that Neal offered us to stay at his place. We had breakfast the next morning with him and Isabel and then I proceeded to drive back to Frankfurt in the early afternoon. FOSDEM rocked, as usual. After being with the Debian crowd for the first three years or so, and mostly sticking with the Hurd crowd last year, I think I managed a pretty good balance between the two this year. This will not have been my last FOSDEM.

2 March 2006

Wouter Verhelst: Grmbl.

I'm angry with Kanaal 2. They've broadcasted Star Trek series since they were founded approximately a decade ago, which was nice; not that I'm a fanatic who would never miss an episode, but I do appreciate a bit of science fiction now and then—and in my opinion, Star Trek is some nice SF. Well—most of it, anyway. This year, they've started the first season of Star Trek: Enterprise as well... at 8 AM, on saturday morning. Morons.

Andrew Pollock: [opinion] On movie advertising

Robert Collins: Actually no, we don't pay enough at the movies so that we don't have to be inundated with advertising. In fact, it's getting harder and harder for movie cinemas to make a buck, that's why the candy bar has such outrageous prices. It's the advertising that is their bread and butter, not the ticket sales.

Dirk Eddelbuettel: Quantian 0.7.9.2 released

A new release of Quantian is now available! Release 0.7.9.2, available as a iso file of 2.7 gb, contains almost 7.6 gb of quantitative, numerical or scientific software. This release is the second one based on Knoppix 4.0.2 and features: Downloads are available via the Quantian site at the Fred Hutchinson Cancer Research Center in Seattle and at from Greg Warnes' machine at Yale. European mirrors should be in sync within a day or two, Bittorrent support via the Linux Mirror Project should also be available soon. Note that http transfers seem to be problematic due to the file size of over 2gb; rsync and bittorrent are probably a better approach. More information is as always available at the Quantian pages.

1 March 2006

Steve Kemp: Write a wise saying and your name will live forever

It looks like I’ve earnt another ID: CVE-2005-4720 - Firefox 1.0.6 segfaults on this malformed .html page. Still no news about the security bounty though. I’m tempted to prod people .. but I haven’t managed to get round to it yet. On the one hand it’s bad to push for things like that. On the other hand there is no way I’d cash the cheque, and it would look lovely hanging on my wall…. Nothing much to say about the Debian Project Leader election yet. I think it is pretty clear to me that the idea of a “team DPL” was a failure. (At least I saw nothing happen any different.) I hoped the current/previous DPL would do great things, but to be honest didn’t see much evidence of it. (I know that personal issues came up, which is understandable, but it was disappointing to see the lack of promised status reports.) I also utterly refuse to vote for anybody who mentions in their platforms “we’re all social disfunctional”. I’m not. I’m good with people, animals, and myself. I don’t need somebody reinforcing geek stereotypes in even the smallest way. I did have the vague hope we’d have a female DPL, but alas that doesn’t look like it will happen for a while longer. Something to think about for the next year perhaps? Ummm .. I’m not sure how valid people would consider my opinions given that I’ve been mostly driven away from Debian mailing lists, and have never been a big IRC users .. so I will stop commenting now!

28 February 2006

Aigars Mahinovs: Testing blogging from GMail

This particular post is being written from GMail, transfered to my blog server by email, processed by some massage scripts and then integrated into my blog without me doing much about it. Neat ne?
P rb d u ar r t Latvie u valod . , , .
This concludes language testing. :)

Aigars Mahinovs: Migrating from Blogger to your own Mnemosyne blog

As I decided to migrate my blog from blogger.com to my own blogging software on my own domain, I did not want to leave my old posts behind. As I had more then 150 of them, I had to do some automation to do that within my lifetime. The first step is to get the data from Blogger.com database to somewhere where you can access it in full. You will need FTP or SFTP access to a computer with a real IP address. The idea is to go to blogger.com and specifiy that you want to switch storage of your blog pages from their blogspot.com service to your of FTP or SFTP server. You will have to provide server address, URL, folder, username and password. URL does not matter at this point, but other parameters define where your data will be dumped to. Save the changes and republish the blog. After a few dozens of minutes all your data will be at your server in a set of complete html files. Now we need something that will parse those html files and write out something that your blogging software can understand. As I use Mnemosyne, my format is a set of mail message files. To allow me to use HTML formatted messages in my blog (and not only reST) I added this to my config.py:
class EntryMixin:
   def _init_content(self):
       """Read in the message's body, strip any signature, and format using
       reStructedText unless X-Format=='html'."""
       s = self.msg.get_payload(decode=True)
       if not s: return ''
       try: s = s[:s.rindex('-- \n')]
       except ValueError: pass
       body=False
       try:
               if self.msg['X-Format'] == "html":
                       body = s.replace(" ", " ")
                       body = re.sub(r'&(?!\w 1,10 ;)',r'&',body)
                       body = xml.dom.minidom.parseString("<div>"+body+"</div>").toxml()
       except KeyError:
               pass
       except xml.parsers.expat.ExpatError, e:
               print "W: Parse failed for "+self.msg['Subject']+" at "+self.msg['Date']+" from "+str(int(time.mktime(time.strptime(self.msg["Date"],"%a %b %d %H:%M:%S %Y"))))
               print xml.parsers.expat.ErrorString(e.code), e.lineno, e.offset
       if not body:
               parts = docutils.core.publish_parts(s, writer_name='html')
               body = parts['body']
       self.cache('content', body)
       return body
This will try to parse messages as pure xHTML if custom header "X-Format" is set to "html" in the blog entry. There is one problem with this approach - xHTML must be valid, otherwise XML parser in Kid templating engine will fail and there will be no end of trouble. That is why even in HTML mode we reparse the body to XML and back to string again. If we get a parsing error at that point, we fall back to reST parser. Now we need something that will analyse our Blogger.com generated HTML files and get our content from there. Here is the script that I used:
#!/usr/bin/python
import os, os.path, time, sys, glob, re, xml.dom.minidom
id = 1
host = "old"
mdate = re.compile( r'\">(\d+) (\D+) (\d+)<' )
mbody = re.compile( r'</div>(.+)<div style=' )
mfooter = re.compile( r'<a href=\"http://example.com/(.+)\" title=\"permanent link\">(\d+):(\d+)</a></em>' )
files = glob.glob("old/*/*/*.html")
for file in files:
       year = 0
       month = 0
       day = 0
       hour = 0
       minute = 0
       subject = ""
       oldurl = ""
       body = ""
       date = ""
       title = ""
       footer = ""
       f = open( file, "r" )
       status = 0
       for l in f:
               if status == 0:
                       if l.find('class="date-header"')>0:
                               date = l
                               status = 1
               elif status == 1:
                       if l.find('class="post-title"')>0:
                               status = 2
                       if l.find('class="post-body"')>0:
                               status = 4
               elif status == 2:
                       if len(l.strip()) > 0:
                               title = l
                               status = 3
               elif status == 3:
                       if l.find('class="post-body"')>0:
                               status = 4
               elif status == 4:
                       if len(l.strip()) > 5:
                               body += l
                       if l.find('padding-bottom: 0.25em;')>0:
                               status = 5
               elif status == 5:
                       if l.find('posted by ')>0:
                               footer = l
                               break
       f.close()
       rdate = mdate.search( date )
       rbody = mbody.search( body )
       rfooter = mfooter.search( footer )
       year = rdate.groups()[2].strip()
       month = rdate.groups()[1].strip()
       day = rdate.groups()[0].strip()
       subject = title.strip()
       body = rbody.groups()[0]
       body = "<p>"+body+" </p>"
       body = re.sub(r'<img([^>]*?[^/])>',r'<img\1/>',body)
       if subject == "":
               subject = re.sub(r'<br.*?>','\n', body)
               subject = re.sub(r'</p.*?>','\n', subject)
               subject = re.sub(r'<.*?>','', subject)
               subject = subject.strip()
               line = subject.find('\n')
               if line > 45:
                       subject = subject[:40]+"..."
               else:
                       subject = subject[:line]
       oldurl = "http://oldblog.blogspot.com/"+rfooter.groups()[0].strip()
       hour = rfooter.groups()[1].strip()
       minute = rfooter.groups()[2].strip()
       mtime = time.mktime(time.strptime(day+" "+month+" "+year+"  "+hour+":"+minute, "%d %B %Y %H:%M"))
       outname = str(int(mtime))
       while os.path.exists( outname+"."+str(id)+"."+host ):
               id += 1
       outname = outname+"."+str(id)+"."+host
       out = open( "entries/new/"+outname, "w" )
       out.write("Date: "+time.ctime(mtime))
       out.write("\nSubject: "+subject)
       out.write("\nX-URL: "+oldurl)
       out.write("\nX-Tags: untagged")
       out.write("\nX-Format: html")
       out.write("\n\n")
       out.write(body)
       out.close()
Here I parse the HTML files using a simple state automata and then assemble all the data that we need to have, like timestamp in filename and Date field. In this script it is assumed that in the current directory there is "old/" directory with subdirectories like "2005", "2006", ... which have subdirectories for months in which there are xHTML files for individual posts. The output is written to "entries/new/$timestamp.$id.$host" files. After running this script and then running mnemosyne you will see a bunch of messages about failed parsing of some messages. That shows you where your xHTML is not valid. The usual problems are html entities ( like &euro; ) that the parser does not recognise and lack of closure on img or br tags:
This will fail because of &euro;
<img src="smile.png"> will fail, it must be <img src"smile.png"/>
My import script fixes img and br tags, but for other problems there is not much choice but going trough the entries and fixing them up manually. Also later on, if you will want to paste some custom HTML into your post, you will have to mark the whole post as HTML mode post and also check if you pasted HTML is valid XML manually. There are some other fun things in this blog, but I will go into that in later posts.

MJ Ray: How I read the DPL 2006 platforms

Bill Allombert
  • Lars Wirzenius had denominated himself
  • fully volunteer project implications
  • some rules for better communications
  • mediate
  • consider the distribution globally
  • "assistant" projects, Debian-specific projects
  • neutral observers
Jonathan (Ted) Walther
  • unpopular
  • GIANT ROBOTS sex JET PACKS sex CITIES ON THE MOON sex SPACE COLONIES sex FLYING CARS beer
  • Most of us are disfunctional in various ways
  • if a person tries to get another person kicked out of the Debian project, and they fail, they themselves will be kicked out. wiki
  • developers who didn't go through NM to go through it within the next year. From that point on, every developer would be required to renew their membership every three years, similar to drivers licenses [MJR: not English driving licences, it's not]
  • honor James Troup
Andreas Schuldei
  • not found on this server
Anthony Towns
  • a leadership hat
  • increasing its tempo
  • DPL and others actively and visibly recruit people on an ongoing basis
  • raise topics for discussion, and help guide them through
  • Gratuitous Song Parody
  • [seems to see the arbitrary expulsion and ban procedures as good developments?]
  • [title claims to be Ari Pollak's platform :) This is a good thing, will win votes.]
Steve McIntyre
  • [officer of the trader called "Debian-UK"]
  • regular status updates
  • agree a Debian code of conduct
  • more NM training can/should happen more within teams
  • more open discussion will happen naturally
  • Professionalism [(!) why not think of the children, too?]
  • detect [MIA] more quickly and more easily
Ari Pollak
  • half-joke candidate
  • half-DPL
  • Team Ari: Debian Police
  • who needs such complicated licenses, anyway?
Jeroen van Wolffelaar
  • DPL team
  • adoption of a code of conduct
  • insider reports
  • more use of the official wiki
  • Increase transparency of infrastructure teams
  • mediator/ombudsman ... team like the tech-ctte
  • actively approach the press
The above are in the reverse of the vote page order, in case you were wondering. I've not worked out my preference yet. Let's see what happens.

David Welton: Projects vs Business, "Agile Development"

Projects vs Business I read something via reddit recently that hit a nerve: In this article: Meeting the founders of reddit he says that: "Reddit, like many other initiatives is more a project than a company/business" Like everyone, I get inspired by Paul Graham's writings, and like the idea of making money doing something cool, but my brain seems to be much better at generating ideas for fun projects/cool hacks, as opposed to businesses. I wonder if it's possible or worth it to make that change. Sometimes trying to "be what you aren't" is unpleasant and unsuccessful. On the other hand, perhaps it's more of an acquired skill that doesn't really conflict with the 'hacker' mentality... Agile methods for introducing Agile Development? Something else I found on reddit: An Agile Approach to a Legacy System (pdf) seems interesting because it deals with crappy, real world code, rather than some ideal workplace that exists only in fantasyland. I wish that they'd explained a bit more, at the technical level, of how they managed to integrate their new system with the old one, as that is often a difficult task when the code always has to be up and running, and the old system is in production. I have a Big Ball of Mud to deal with myself, and a development process that is not agile, nor much of anything else really. It's the kind of situation that is only going to change 'in small iterations', rather than trying (and quite possibly failing) to impose a new way of doing things in one fell swoop. So perhaps what I need is an agile methodology for introduction agile development in small iterations?

27 February 2006

Martin F. Krafft: FOSDEM 2006

FOSDEM 2006 is over, I am now sitting at one of the weirdest airports I have seen so far: passages are intertwined and long, and it seems like you have to walk several hundred kilometres in circles before you finally end up at the place you ned to go to. I gave a talk Saturday on my Ph.D. research. Having spent almost an entire week preparing it, which involved rethinking my topic, the approach, and fighting doubts several times, I was all too pleased that a new aspect of my research was dawning upon me just in time to change a lot of the slides around a bit on the plane from Zurich. Even though my goal is to work a lot on Debian, I think the question on which I really want to concentrate is along the lines of "how to get volunteers to adopt new models and methods." Debian seems like a perfect environment in which to search for an answer, but I assume I shall also be looking around the Zope and Plone communities. Unfortunately, my talk didn't go as well as I had hoped. Part of it was on the Debian security situation, and having talked to a couple of people up front, and receiving even more feedback to my online personna, which apparently sometimes misrepresents my intentions, I took specific care to do with the delicate topic of Debian security with utmost care (and I think I succeeded; oh, and as a German I have a right to run-on sentences...). As a result though, I lost about 10 minutes of time, and additionally, I got confused about the length of my talk slot somewhere in the middle of the talk. So after giving an overview of my research idea, model, and approach, and the security situation, and just before coming to the exciting meat on possible extensions to Debian package management and the upload process which are geared to making it easier for others to contribute, h01ger kindly pointed out I had 10 minutes (not 25) left, a bunch of people walked into the room, generating noise and switching lights on and off, and on top of it all, OpenOffice crashed with the remainder of my slides -- those that contained graphs and other means to convey the complex ideas I was about to introduce. So everything seemed to be going wrong. I tried to give brief overviews of the ideas from the top of my head, but I didn't manage to piece together all the details that made the ideas interesting in a Debian context, and how the approach differs from Ubuntu's Launchpad and their new tool hct. So at the end of the talk I felt like I hadn't persuaded anyone of anything. Oh well. I was down for a while afterwards, it's been a long time since I felt a talk of mine failing as I did this time, and it wasn't until Hanna and some others consoled me by mentioning that they appreciated the contents I did convey (especially the security stuff), and quite a bunch of people found me afterwards with questions, suggestions, and comments. My slides are available online (~ 4.3 Mib) and I am looking forward to your feedback. I apologise for the size of the PDF and herewith promise never to use OpenOffice.org again. A bzip2-compressed version is available here (~ 1.4 Mib). Saturday night then ended with dinner and a bit of beer drinking, but noone was really up for anything more after the excessive opening party the night before. Sleep. Sunday morning, my laptop was still frozen by OpenOffice, and I rebooted it to find myself dumped into busybox as /dev/hda5 (my root) didn't exist. I quickly found the problem to be a missing udevd and udevsynthesize in the initramfs, but I did not manage to bring the system back up until Tollef gave me a hand to get pivot_root to do what it was supposed to do. Here's approximately how:
busybox mknod /dev/hda5 b 3 5
mount /dev/hda5 /root
mount -o move /sys /root/sys
mount -o move /proc /root/proc
chroot /root /sbin/udevd --daemon
chroot /root /sbin/udevsynthesize
exec run-init /root /sbin/init 2 < /root/dev/console > /root/dev/console
While we were at it, Daniel Silverstone showed us a wonderful way to help debug problems of this sort: /usr/bin/open. If bash only has /dev/console, it won't enable job control. This is exactly where open comes in:
/root/usr/bin/open /root/bin/sh
This will put an interactive shell on the next free tty with job control and all. Thanks, Daniel! I think that the above approach actually failed in the end for some weird reason we did not investigate further, so Tollef resorted to fixing the initrd instead:
update-initramfs -c -t -k 2.6.15-1-686
The important part is -t, which essentially redoes the filesystem so that custom changes are undone. I hadn't made any custom changes, but from the point of view of initramfs, I had deleted the udev binaries. Within an hour I had a working system again, and a
dpkg-reconfigure linux-image-2.6.15-1-686
zcat /boot/initrd.img-2.6.15-1-686   cpio -t   grep udev
verified that the problem was only intermittent (I rarely reboot my laptop but update it often). The T-Shirts Uncle Steve and I were selling pretty much all found new owners. This is great because I had been sitting on about a dozen shirts in XS and XXXL, and I thought I'd never get rid of them. Unfortunately, I sold them at no-profit, but given it was the last batch from Kernel Concepts, I am now thinking of arranging something with Steve to get a bunch of his shirts (which are nicer anyway). With talks coming to an end that day, everyone's departure was a stressful time and I was all the more glad to have had another night to spend in the city. I linked up with Jordi and some of the Debian Catalan people who were staying with a friend, Raoul, in the city. Raoul took us around a bit, showed us some of the historic sites in the centre of the city, and finally lead us to the bar of 2000 beers, where supposedly "the best beer of the world" was served: Trappist Westvletern Bleu 8. We ended the night around midnight for our flights were in the early morning. This having been my first FOSDEM, it was a great experience and I shall definitely try to be in Brussels again next year. Thanks to Wouter and all others who have helped out. Update: My slide links were previously not working. Thanks to all who pointed that out to me. They are fixed now. See above.

Uwe Hermann: M4 Message Breaking Project - Using distributed computing to break encrypted Enigma messages from 1942

Enigma This is pretty interesting stuff: the M4 Message Breaking Project tries to break Enigma M4 messages intercepted in the North Atlantic during World War II. From the project website:
The M4 Project is an effort to break 3 original Enigma messages with the help of distributed computing. The signals were intercepted in the North Atlantic in 1942 and are believed to be unbroken. Ralph Erskine has presented the intercepts in a letter to the journal Cryptologia. The signals were presumably enciphered with the four rotor Enigma M4 - hence the name of the project.
They provide Free Software clients (GPL'd, written in Python and C) for Unix-like operating systems and various Windows variants. Project updates are available from the project blog. The first message has already been successfully broken. The plain-text reads:
1930 Funkspruch 1851/19/252:
" F T 1132/19 Inhalt:
Bei Angriff unter Wasser gedr ckt.
Wabos. Letzter Gegnerstand 0830 Uhr
AJ 9863, 220 Grad, 8 sm. Stosse nach.
14 mb. f llt, NNO 4, Sicht 10.
Looks "
Translation:
1930 Radio signal 1851/19/252:
" F T 1132/19 contents:
Forced to submerge during attack.
Depth charges. Last enemy position 0830h
AJ 9863, [course] 220 degrees, [speed] 8 knots. [I am] following [the enemy].
[barometer] falls 14 mb, [wind] nor-nor-east, [force] 4, visibility 10 [nautical miles].
Looks "
Hm, digging in the past with modern technology... (via Network Security Blog)

26 February 2006

Wouter Verhelst: FOSDEM after saturday

This year's FOSDEM is a success again. Well, at least the Debian side of things—I wouldn't call the network a 'success' this year. But, well; they do their best, I'm sure. For me, personally, the weekend has also been a bit less of a success. On the early bird's meeting at the Roi d'Espagne, on Friday Night, I overdid it on my voice a bit; the result is that my voice was declining all the time on Saturday, until all I could do was barely something more than a whisper. I'm afraid today isn't going to be any better—on the contrary. I think I'll have to find someone else to moderate the talks at FOSDEM. I myself don't have the ability anymore in my current state. Volunteers to do this, please talk to me when you see me. But, like I said, the Debian side of things is doing quite well. Frans Pop set up a babelbox installer demo, which seems to be a success. There are T-shirts and other things being sold at the booth, and they are rather popular, I understand. And the three talks we've seen yesterday—Jeroen van Wolffelaar and Enrico Zini about Project SCUD, Martin F. Krafft about his Ph.D thesis, and Lars Wirzenius about piuparts (sorry, the Finnish Inquisition) were rather successful, with lotsa people attending. Especially Lars' talk. But it's time to go now. On to another exiting day of FOSDEM! hmm, that was a lame sentence. Let's try again. But it's time to go now. Oh, and did I mention that Lars' talk was great? Funny, informative, to the point. Just the way a talk should be. See you in a few hours.

25 February 2006

Uwe Hermann: Mplayer remote and local vulnerability + security fix

The well-known video player Mplayer is vulnerable to a heap overflow when playing ASF files locally or from remote (streaming). The potential risks:
High (arbitrary remote code execution under the user ID running the player) when streaming an ASF file from a malicious server, medium (local code execution under the user ID running the player) if you play a malicious ASF file locally. At the time the buffer overflow was fixed there was no known exploit.
Users of the older MPlayer 1.0pre7try2 should apply this patch in order to fix the security issue. CVS users should update to the most recent revision. I tried to do the latter, but I stumbled over several problems. First, I noticed and filed a bug (I think) in Debian's libavcodec-dev package which prevented a successful compile. After a few more problems I gave up and stayed with 1.0pre7try2 by applying the above-mentioned patch. I'll wait a few more days until the MPlayer developers fix the build issues in CVS... There's no known exploit in the wild yet, but I bet it won't take too long until one appears. So better fix your Mplayer!

Next.

Previous.