Search Results: "bab"

11 March 2006

Erich Schubert: Why I'm proud of Debian

This is another example why I'm proud of Debian. I sometimes have the impression, that some distributions try to package stuff with as little effort as possible. Debian however has to support tons of different architectures, build daemons and pbuilder that mostly ensure you've got the build dependencies complete, tons of users of unstable and testing that will send you bug reports when you don't have the runtime dependencies right and so on. We have a really good quality assurance. On the very first day my selinux-basics package entered unstable, I already received feedback about the udev integration. So you might ask me, why I think this is really different from other distributions. There are of course distributions which have similar properties, but I think Debian has the biggest crowd. And Ubuntu is so closely tied to Debian that these things aren't that separable. Most Ubuntu packages are largely unmodified Debian packages. And changes done by Ubuntu - which for example tracks Gnome closer than Debian - will often be fed back into Debian again. For example fakeroot, or pbuilder are further examples on Debians best practises to do quality ensurance. Sane software shouldn't require real root privileges for building. The current Debian Vote on the GFDL is another example. I'm confident it will boil down to "Debian refuses the GFDL, because it contains too many restrictions for our users". Debian cares much for it's users. And the users of our users. And the users of our users of our users. ;-) As a whole, not just the majority which will probably never even consider changing a GFDL-licensed document. Of course, people are frequently annoyed by e.g. Debian not having the latest X.org betas in unstable, so they could try out Xgl, Aiglx and this other eye candy. Sorry about that, but I do think that the X task force knows how to set its priorities right, and you could probably just get these beta version from Ubuntu and run them on your Debian. Or build your own packages and offer them to others who want to try it, too. Or wait, like I do quite often (for example for ekiga, which is stuck in the NEW queue currently). It doesn't really hurt much to not have the newest, fancies toys. In fact, you are likely to be more productive when you don't care for these things.

Christian Perrier: Shadow birthday

One year ago, I uploaded shadow 4.0.3-31 with "New maintainer" in the changelog. During this year, the shadow maitenance team has been built with Alexander Gattin, Christine Spang, Martin Quinson and last but definitely not least Tomasz Kloczko, the upstream author and Nicolas Fran ois, the best non DD ever. In one year, this wonderful team built 35 releases, closed 214 bugs (according to the changelog), cleaned out the BTS which had about 300 opened issues at that time. There are now 35 opened bugs, 24 being fixed in upstream's CVS, 3 tagged "wontfix" and 1 fixed in experimental. In short, there is no reported issue that hasn't received attention. It took us six months before being able to resynchronize the Debian version of login and passwd with upstream. After achieving it and after dozens of exchanges with upstream, the size of the diff.gz file went down from over 1.5MB to about 120kb in the next release. Upstream changelog is now full of patches and rewards to Debian. We used 26 cheese names for naming releases in a tradition established after a famous Cheese Party held at Debconf 5. Be prepared for the Debconf 6 Cheese Party! I see this work as a good example of revival work for an essential package and good collaboration with upstream. I probably have my part in this, trying to keep the communication, sometimes making decisions and always revive work on forgotten issues. But, definitely, I have to deserve a special mention to Nicolas. He's definitely the one who understand the whole code and when he didn't knew, he just learned. Without him, we would never have been able to achieve this. Please, just give him direct DAM approval if he ever applies as a NM...:-) Again, happy birthday to the new shadow....

10 March 2006

Axel Beckert: Vintage Computer Festival Europe 7.0 ahead

It’s only seven weeks to the most important vintage computing event in Europe, the Vintage Computer Festival Europe (VCFe), which for the first time will be three days this year because of May the 1st being a Monday this year and an official holiday in Germany and some of the swiss cantons (at least Zürich). So the VCFe 7.0 will take place from April the 29th to May the 1st 2006 in Munich and it’s focus this year is:
Home Made Brains
Kit-Computers and Individual Designs I’m currently thinking about which old hardware I’ll present at this year’s VCFe. There are a few ideas flowing around in my head:
  • Old x86 laptops (1989-1996). This was my exhibition last year, but ayca, my i486 Toshiba laptop is broke (probably the display controller) and the “new” Compaq LTE pony hasn’t been setup yet. Nevertheless, I’ll bring my (nearly) everyday ThinkPad bijou with me since it’s now 10 years old and therefore ontopic now. Yeah!
  • The HP 9000 Apollo Series 400 I got from dwalin and dyfa, if I manage to get a NetBSD installed on that box.
  • Buying a tux case but installing some old hardware in it instead of the current FOX board. On the other hand: There should be at least a Linux running on that box.
Anyway, I’ll be there, many other Symlinker (at least dino and Venty) also will be there. And I hope to see you there, too. :-) Oh, and btw: One wish to the Debian community regarding the VCFe: Perhaps someone who’s familiar with the Debian m68k Port could give a talk about how Debian plans to save this port although the old hardware isn’t fast enough to fit the requirements for inclusion in a Debian release. This would give a really interesting talk about old and new hardware. Talks can be held at least in German or Englisch IIRC. TIA. :-) Update 16:26h: I thought of this mail by Wouter Verhelst about how modern ColdFire computers could run buildds for a hybrid m68k and ColdFire port when writing this paragraph. See also this Symlink story [German] about that topic.

Philipp Kern: Meme Time: Which Sci-Fi Crew Would You Best Fit In?

Nothing stunning, given my preferences. I would have expected Enterprise D, but well, I guess those two are just two similar. ;-) I never saw Babylon 5, Firefly, Farscape, Cowboy Bebop or Battlestar: Galactica, though. You scored as Nebuchadnezzar (The Matrix). You can change the world around you. You have a strong will and a high technical aptitude. Is it possible you are the one? Now if only Agent Smith would quit beating up your friends.
Enterprise D (Star Trek)
75%
Babylon 5 (Babylon 5)
75%
Nebuchadnezzar (The Matrix)
75%
Millennium Falcon (Star Wars)
75%
Deep Space Nine (Star Trek)
63%
Serenity (Firefly)
63%
FBI's X-Files Division (The X-Files)
63%
Andromeda Ascendant (Andromeda)
56%
Moya (Farscape)
56%
Bebop (Cowboy Bebop)
56%
Galactica (Battlestar: Galactica)
38%
SG-1 (Stargate)
38%
Your Ultimate Sci-Fi Profile II: which sci-fi crew would you best fit in?

Axel Beckert: Which SciFi crew would I best fit in?

In m³’s online pamphlete, I found a new quiz I immediately had to take:

Which sci-fi crew would you best fit in? Before taking the quiz I already wondered which possible answers it offers and what I’d expect as result. The only thing I knew so far was that The Matrix was featured in the quiz since m3 scored as Nebuchadnezzar. Farscape came to my mind. During the quiz some of the questions seemed quite obvious on which crew they would count resp. not count. Since I don’t like military, I knew that Star Trek crews won’t be on the top of my list… Well, it seems as if had guessed quite well:

You scored as Moya (Farscape). You are surrounded by muppets. But that is okay because they are your friends and have shown many times that they can be trusted. Now if only you could stop being bothered about wormholes.
Moya (Farscape)
88%
Babylon 5 (Babylon 5)
81%
Deep Space Nine (Star Trek)
75%
Serenity (Firefly)
69%
Enterprise D (Star Trek)
69%
Nebuchadnezzar (The Matrix)
69%
Millennium Falcon (Star Wars)
63%
Andromeda Ascendant (Andromeda)
56%
FBI's X-Files Division (The X-Files)
56%
SG-1 (Stargate)
56%
Bebop (Cowboy Bebop)
50%
Galactica (Battlestar: Galactica)
44%

Your Ultimate Sci-Fi Profile II: which sci-fi crew would you best fit in? (pics)
Created with QuizFarm.com.

Interestingly the Enterprise D from Star Trek TNG is also in the list and not that far down as I expected it. So there seems to be at least a slight correlation between what SciFi series/movies I like most (Farscape, Star Trek TNG and DS9, the early Star Wars movies, The Matrix, Babylon 5) and with which crew’s philosophy I agree most as well as which ships appeal most to me (Millennium Falcon, Moya and many ships from B5, TNG and DS9) and vice versa: I’m not that big fan of Battlestar Galactica nor Star Gate neither do I like the design of the ships showing up there. Another two things I noticed by this quiz: I should perhaps once have a look at Firefly which I haven’t seen yet nor do I know much about it. And I probably won’t find Cowboy Bebop that appealing if I would watch it once. BTW: Series I missed in the list: Star Trek TOS, SeaQuest DSV and Futurama.

9 March 2006

Julien Blache: What does this Project need now ?

It’s 11:30pm right now, I spent the whole day coding and can’t sleep even though I’m tired. The only thing I can focus on right now is Debian and the complete mess the Project is trying not to become. So here we go. Following tbm’s last posts about DPLship, I think he’s right. It’s pretty obvious, the last few DPLs did not take any real decisions and we’ve become quite used to that. Saying that the Project is on the road to self-destruction may be a slight exaggeration right now, but that’s what we’ll end up with if we don’t react soon. The good news is, the DPL election is in the process. The bad news is, we don’t know yet if one of the candidates will be able to carry out much of the processes needed to get the Project back into shape. We’ll find out eventually. Before doing anything, we need a clear picture of the Project as it is today; nobody can claim that today, Joey’s resignation as SRM proves it: nobody knows what the fuck did or did not happen between Joey and ftpmasters, and there’s probably a metric fuckton of gory details to take into account too. So, getting a clear picture of the state of the Project. In one word: audit. Ask every individual delegate for a detailed, comprehensive status report including all the details, including sensitive ones — obviously those reports will be sent to the DPL. No report, and that’s one less delegate. Don’t ask for team reports, they’re biased; getting X copies of the same report from team members is out of the question too. While they’re at it, ask each delegate to reaffirm its commitment, or appoint somebody else. Play by the rules or get replaced (by a little shell script, wherever possible). Based on the information collected through those reports, decide a plan of action and discuss it with the delegates. Once the decision is taken, announce it, get some feedback, then implement it. Remember: always consider the Project as a whole. The only problem is, this may well take more than one DPL term to achieve. It’s so fucking simple and we’re so fucking incapable of doing it. Sit back, look at things the way they are. Pity.

Philipp Kern: SSH control connections

Thanks to the one who posted this little hint some weeks ago The ControlMaster? feature recently provided by ssh is really helpful. (If you are on Darwin, you need to install openssh through DarwinPorts first.) It's quite easy to enable it. Consider the following snipplet for ~/.ssh/config:
ControlMaster? auto
ControlPath? ~/.ssh/ssh_control_%h_%p_%r
It creates a control channel for a server connection upon the first connect. It is persistent as long as the first SSH process is running. It will block after the logout though if there are still childs connected to the master process. If that annoys you, just open some SSH masters which pre-authenticate into the background by using ssh -M -fn. What do you gain from that? Well, consider you have a SSH connection open to some host and want to scp something. You won't have to go through any authentication again and the copy process starts immediately because it is multiplexed over the connection which already exists. The same counts if you want to start a second shell to that host with the same username. I use ssh-agent for authentication (gpg-agent probably soon to come...), but sometimes the negotiation just needs quite a long time, so this snipplet is a serious SSH improvement for me.

Joey Hess: ikiwiki

Thanks to everyone who contacted me with wiki suggestions. After looking at a lot of wikis, and finding none that really met my requirements (svnwiki and zwiki probably came closest), I decided to write my own. Currently it's some 300 lines of code that implements everything I need in a wiki for my project right now. A few minor features are lacking (online page editing, search, RecentChanges, themeability). Actually, I've turned the traditional wiki concept inside out, and instead of a big engine that stores pages, history, converts a custom markup to html, etc, etc, my wiki just runs on a set of files, formats them to html using a standard formatter like markdown, handles WikiLinks, and writes out static html for the web server. It's a wiki compiler. To let other people edit the wiki, just set up a subversion (etc) repository, let people commit to it, and run the compiler in a post-commit hook. Of course, it takes care to only rebuild pages when something has changed that makes rebuilding necessary, so a typical commit will take less than a second to compile and go live. I'll probably add all the missing features as I need them, and might eventually release it. BTW, I'm calling it "ikiwiki".

8 March 2006

Joey Hess: seeking wiki

For a new project, I'm looking for wiki software with the following characteristics: At one point I had a half written wiki that supported a cvs backend (this was before svn) and supported browsing historical versions, but it got bogged down in trying to use html as the standard markup language, which diverted too much energy to writing code to sanitise html, and stalled out before it was usable. Writing one again doesn't seem wise, there are already too many. So I'm looking for pointers to anything that meets at least some of these requirements. Update: Subwiki uses subversion but is developing slowly and may be non-DFSG free. There's discussion about making TWiki support a svn backend, but it appears not to yet; it would probably meet all my other needs then some. GW uses subversion, but seems to be a java based academic research project. trac uses subversion, though it's not just a wiki and it might not use it for the wiki. Rather than tight subversion bindings, I'd be happy enough with a wiki that used flat text files and was flexibe enough so I could store them in svn. I'd even be happy to use viewsvn as the history browser for the wiki. Small and minimal, building blocks, like blosxom blogs, is good.

7 March 2006

Joey Hess: DPL..

Since I find the DPL position increasingly uninteresting except as a position of technical leadership, I will probably use the following simple metric (which I think of as the "degrees from Bruce Perens" metric) to rank my choices for Debian Project Leader in this year's elections:
  1. Order the candidates based on the perceived solidity of actual technical changes they propose to make to Debian.
  2. Rank "further discussion" above the first candidate whom I could not bear to see as DPL.
I won't bother listing the result, it's pretty predictable. But I will here excerpt all the at least vaguely technical content from the candidate's platforms:

David Welton: Ruby vs Tcl, part 1

Actually, "Ruby vs Tcl" is just a dramatic title. I like to think of myself as somewhat of a connoisseur of programming languages, which means I find something to like about most of them. Also, having put my toes in the water by creating my own, Hecl, I have way too much respect for the people that do the work to really pick on any language too much. However, comparing and contrasting is fun, as long as it stays productive! I'm a long time Tcl fan, having known the language for something like 7 or 8 years. Recently, I've started picking up Ruby, because I've decided to follow the herd and use Rails (which is every bit as pleasant as its made out to be, but more on that another time). Where Ruby shines Coming from Tcl, which has to be one of the most misunderstood languages out there, one of the things that I enjoy most about Ruby is all the buzz. It's a pleasant change from the "trying to hold the line" mentality in the Tcl world. Of course, marketing and the inclinations of 'the herd' are fickle things, and as the Python folks are discovering, what popularity giveth, popularity can take away. In any case, learning a new language is fun and not all that difficult with Ruby, so I'm enjoying riding the wave. Point in Ruby's favor, even though sometimes I'm left scratching my head that it took Rails to convince some of the Java guys that scripting languages really are that much more productive. The other thing that really sticks out about Ruby compared to Tcl is that it's Object Oriented (henceforth known as 'OO') through and through. At the low level, I don't really care too much (puts "hello world" is valid Ruby and valid Tcl), but Ruby's OO is nice for organizing more complex data structures. Tcl has OO as well. Actually, Tcl has several, competing OO systems, which is a classic case of "choice is not good" because none of them is standard and something you can count on being present. Also, most of the Tcl object systems don't do a great job of deleting unused objects. I don't suppose it would be that hard to add that if there were one good, standard one. Luckily, such a beast is on the horizon, but it's awfully late for a language that's more than 15 years old. Point goes to Ruby. Ruby also wins in the 'available libraries' department, although probably not by that much, being relatively new to popularity. What Ruby really has going for it is that: 1) The standard distribution is pretty big, with lots of good stuff, an approach that the Tcl world hasn't taken. This means that Ruby out of the box does a lot more than Tcl. 2) Via Ruby Forge and the gems system, Ruby is attempting to centralize and standardize the distribution of extras, something which Tcl has never really managed. Things they both do well In terms of community, both languages seem pretty well off. The Tcl newsgroup, comp.lang.tcl, is one of the friendliest, most helpful corners of usenet, and reflects very positively on Tcl. I'm newer to Ruby, but by and large, they seem to be handling the massive influx of new people with aplomb, and without much, if any, of the snotty "I was here way before you" attitude that sometimes crops up in these cases. I'd call it a tie. Both languages are very flexible, but in different ways. They both support 'eval', and let you do all kinds of nifty introspection. I fear I don't know Ruby well enough to come up with a definitive answer, but I Think I'd still give the edge to Tcl, just because of its ultra-simple syntax and command-based style lets you redefine Tcl commands in Tcl itself - and everything is a command, even if, while, and the lot. Like I said though, this is a vague enough requirement, and they are both very malleable languages that you could make a case for "everyone being a winner". In terms of syntax, de gustibus non disputandum est. Ruby has more of it, which can sometimes be helpful. For instance, foo[1] vs lindex $foo 1. On the other hand, Tcl's
array set hash  
    foo bar
    bee bop
 
Makes me reach for the shift key significantly less than
hash =   :foo => "bar", :bee => "bop"  
Tcl's spare syntax is one of the reasons it is so flexible, but for everyday use, sometimes it's nice to have a little bit more. In the end, it's a question of taste, so we'll call it even. Where Tcl is rock solid Here's where the "part 1" in the title comes in. The following are things I don't care for in Ruby, but since I'm new to it, there's the chance that I'm missing something in these observations. Interpreters. Tcl lets you handle multiple interpreters not only at the C API level, but in Tcl itself. This is really cool - you can juggle different people running different scripts in your application, without them stepping on one another's feet. If you want, you can let them share stuff, too. This capability has also been extended to provide safe interpreters for the execution of untrusted code. Ruby has safe evaluation too, but it's not in a completely separate context, so it's just a different way of doing things, but still, I like the idea of having and being able to manipulate multiple interpreters. Tcl wins hands down. Event oriented programming. Tcl really shines here, as it's possible to create simple, fast servers without actually having to muck about with select yourself. The python folks have caught on to this with Twisted, and I suspect that Ruby will too, if it hasn't already and I'm simply not aware of it. Note that Ruby has a select call as part of the language, but what I'm talking about is being able to whip up servers in a few lines, without even needing to require any external modules. Modularity is an area where both languages could do better (well, at least for some users/uses). Both languages might be interesting in the embedded arena, but it takes some effort to cut them down to size. In Ruby on the Mobile, Matz himself states that this isn't an easy operation. Tcl is notable in that it has some small footprint implementations like Jim, but the core language would require non-trivial hacking to remove some of the bits and pieces that are 'welded on'. A few nitpicks about Ruby: no deep copy - you have to marshal/unmarshal, which feels wonky to me. File.split functionality is just dirname/basename rehashed, rather that Tcl's more correct/useful splitting of a path into a list of all its components based on the current platform's directory separator. Threads are another area where Ruby, at first glance, at least, could probably use some work. Tcl has real, OS-level threads, which are very easy to work with because each one gets its own interpreter. Because of this, they almost feel like separate processes, but of course, if you need to, you can do all the sharing and mutexing and so on that you need. Conclusions So, what conclusions can you draw from this? Well, they're both fine languages, and are more than likely capable of doing most anything you need. Something else that I was pleasantly surprised by is the fact that Tcl, despite its age, and its lack of buzz and O'Reilly/Web 2.0/the hot new thingness, still has a lot to show the world, and does a lot of things right, out of the box. It's also worth noting that most of the problem areas for Tcl are social, rather than technical, and could have been resolved easily/avoided with the right leadership.

Christian Perrier: About reference systems

I'm currently very puzzled by Teletubbies being part of a few Debian developers and contributors reference system. It seems to be a sarcastic way to make fun about people who try to keep social relations to a level that would be considered normal in real life, or to people who think that technical excellence is not the only need to build the best operating system ever. I personnally know nearly nothing about Teletubbies (nor Bisounours, for French DD's). This probably means something, but what? And Teletubbies being used as a reference by some probably means something for them as well, but what? Bonne nuit, les petits..:-)

John Goerzen: Kennedy at the Berlin Wall

I've got episode 2 of my new podcast Sound of History online. It's been really interesting to find these old recordings. For this episode, I found Kennedy's famous 1963 speech in West Berlin. I keep being struck with what an amazing orator Kennedy was. It is quite the captivating and amazing speech. Reagan's speech to West Berlin in 1987 is also in this episode. It's three times longer than Kennedy's, and probably less inspirational, but still an interesting listen. Next week I'm going to have one of the forgotten opposition speeches, trying to argue against Reagan. Also some good material out there from that perspective. In other news, ourmedia.org is being terribly annoying. It's much easier to upload to archive.org directly. I don't know why I ever bothered with ourmedia.org (or why anyone does, really).

Erich Schubert: LaySVN rewrite

Today I've rewritten most of my "laySVN" layered subversion tool. Tests had shown that most of the time was spent calling the "status" command of the underlying subversion client. This is probably due to locking, and the workaround is pretty simple: avoid calling it on single files, instead run it on the whole repository at once. This of course requires major changes to the code, so I've started a rewrite. I've already applied for a alioth project for it, I'll make the source available via svn.debian.org soon. "Layered subversion" means that you basically checkout multiple subversion repositories on top of each other. A file found or ignored in an "upper" layer will not be checked out in lower layers; ignoring a file in a layer will effectively "hide" it if it were in lower layers. This is an interesting alternative to branching. In branches, you have to "carry forward" changes from one branch to other branches. The base case - merging changes from a "lower" layer into an "upper" layer is usually quite easy. The other direction can get quite messy however. Assuming that multiple files were modified in the checkout, how are you going to commit these changes to the correct branches? Basically you'll have to commit the files to the correct branches, then do the merging magic. Along comes laySVN, where this common usage pattern is much easier. Changes will automatically be committed to the highest "layer" the file is in. A checkout will update the file to the version of the "highest" layer. The only case which is a bit more complex is when you want to make changes to a file on a different layer. Then you actually have to "add" the file to the appropriate layer. Not really difficult either, is it? A different name for "layered subversion" would probably be "difference branches", which are very similar.

6 March 2006

Simon Richter: What is CS?

As this year is going to be the year of computer science (or rather, Informatics) in Germany, and most of the money for it has already been spent (it all went to some PR agency AFAIK), some students are planning to organise a bit of a roadshow that will demonstrate simple topics to interested audiences. For example, we are going to show different sorting algorithms by ordering ten volunteers standing in a row by their first names, and talk a bit about complexity here, and I'm trying to rehash my crypto talk into something with more theory that is still less dry than it is currently (probably with a bigger focus on PKI).

Kai Hendry: Computer Science for kids?

Earl1a A friend of mine with a 10 year old child wants his son to play less online Role Playing games and learn programming. In this kid’s free time, all he does is play computer games. At that age I was probably the same, though what made me a “programmer”? My friend is so frustrated with his son’s constant game playing, that he has limited his son to use the computer only in the weekends. I found this quite surprising, but I think I can understand his concern. I remember not coming down for dinner, because I wanted to play BRE (BBS door games) with my friends instead. Thankfully my Dad never threw out my computer out the window like he swore he would do at times. :) So now, my friend suggests that perhaps we could teach his child something about programming. Perhaps a whole group of kids. All armed with laptops. But, when I was that age, I don’t think I was very interested in programming for the most part. I had to be forced to write some logo and turbo pascal for school. And looking back at it, logo and turbo pascal seemed so much easier than the complex and multi-layered APIs (Web) I work with everyday. Ok, I do remember being enthused about: But both of these cultures seem to be on the decline. Or perhaps I am just out of touch? During boarding school I actually stopped having access to BBS/Internet so I didn’t really touch a computer throughout my A-levels. It was only at Bath University where I found myself, almost surprisingly, taking a Computer Science course I learnt about Unix et al. So I started learning Computer Science at University. I think people in Korea are surprised when I tell them I hardly knew about computers before I joined a Computer Science course! ;) Ok, so without driveling any more. Here are the questions for you to say your bit in the comments. It would be great to teach on Plan9 or something simple, but I think kids would be more interested in graphics and sound. Bleh…

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).

Erich Schubert: LaySVN rewrite

Today I've rewritten most of my "laySVN" layered subversion tool. Tests had shown that most of the time was spent calling the "status" command of the underlying subversion client. This is probably due to locking, and the workaround is pretty simple: avoid calling it on single files, instead run it on the whole repository at once. This of course requires major changes to the code, so I've started a rewrite. I've already applied for a alioth project for it, I'll make the source available via svn.debian.org soon. "Layered subversion" means that you basically checkout multiple subversion repositories on top of each other. A file found or ignored in an "upper" layer will not be checked out in lower layers; ignoring a file in a layer will effectively "hide" it if it were in lower layers. This is an interesting alternative to branching. In branches, you have to "carry forward" changes from one branch to other branches. The base case - merging changes from a "lower" layer into an "upper" layer is usually quite easy. The other direction can get quite messy however. Assuming that multiple files were modified in the checkout, how are you going to commit these changes to the correct branches? Basically you'll have to commit the files to the correct branches, then do the merging magic. Along comes laySVN, where this common usage pattern is much easier. Changes will automatically be committed to the highest "layer" the file is in. A checkout will update the file to the version of the "highest" layer. The only case which is a bit more complex is when you want to make changes to a file on a different layer. Then you actually have to "add" the file to the appropriate layer. Not really difficult either, is it? A different name for "layered subversion" would probably be "difference branches", which are very similar.

Kai Hendry: X40 versus the T30

T30 and X40 batteries I am a little disappointed with the new Thinkpad X40 I have from work. I wanted a MacBook Pro, but their availability and price in Korea is bad. Unplugging the mains leaves me about 2:30hrs. That’s almost the same as my personal T30 machine! My T30 has about 2 hours of battery life, although it also has about twice the CPU power (going by Bogomips)! If I do processor intensive stuff like compiling and watching videos then we can half those times… (!) My T30 also has better wireless performance after my little tests. I’m also wary of this little X40 keyboard. I don’t think it’s good for my RSI. Though it’s too early to tell. You can get a bigger battery pack for the X40. But it will probably be expensive. :/ The X40 is brand new and is branded IBM thinkpad. The build quality is excellent, just like my other thinkpads I’ve used. It does say “Lenovo” on all the copyright stickers. I whipped out the hard drive and I thought I might upgrade to a quieter Seagate Momentus. I was surprised to see a 2” drive that was about half the height. I didn’t know about this form factor! I’ll miss my T30’s roomy 100G. It was tricky installing Debian without a CDROM. I managed in the end with an external USB hard drive and my experiences are documented in debian-boot threads starting here and here. One major redeeming thing about the X40 is that I get 18371880.31 bytes/sec compared with the T30’s 959174.47 bytes/sec for USB throughput. That’s an amazing 20x speed up! So I’ll be using external USB drives to compensate for the tiny 30GB hard drive. I am giving away my old T30 to my sister. I just wish the X40 fealt a little more like an upgrade from the T30. The X40 is my workplace’s equipment after all. I think I will aim to get a Mac Pro still if I visit Japan in the next weeks for myself.

4 March 2006

Jordi Mallach: Buying a computer mouse

I've had the same mouse for probably 5 years, and I'm very happy with the result. Unfortunately, the batteries don't make good contact with the pins anymore and sometimes it takes ten minutes of delicate work to get it going again. So today, I went to buy a mouse, and surprise, surprise, I had forgotten how much it sucks to be a left-handed when purchasing certain objects. At the computer store, there were about 25 different mouse models, most of them featuring extra buttons, ergononic shape and other cool stuff. I was ready to buy something for even more than 20 if it was worth it, but due to the non-simmetrical shape of most of them, again I could only go for the cheapest models. I took a Creative optical mouse, and downgraded from a cordless mouse with 5 buttons + a wheel to a plain simple 3-button + wheel. At least it's USB... all the low end mice are still PS2. When I was looking for a laptop, one of the requirements was that the touchpad wasn't slightly displaced to the left. So right-handed-ish... I know there are shops with stuff for left-handed. Once, my mother bought me a pair of nail scissors designed for left-handed people. All that kind of stuff is generally very expensive and anecdotic, though. I wonder if we'll ever see laws that will force manufacturers to provide inverted items on demand. I want one of those cool mice.

Next.

Previous.