Search Results: "bab"

18 November 2005

Aigars Mahinovs: Mokso


Mokso
The photo is from yesterday, but I have not taken a picture today and spent most of the day thinking - about life, about future, about past.
Looked back at SBackup. It seams that many people are using it. I should probably fix the bugs. Spent some time planing the bugfixes and the path ahead for the project - sbackup 2.0 will be more like a rewrite - users ask for many good features that the current architecture simply can not do.
Also a community web page must be made - sourceforge is just ... not too communicative?

17 November 2005

Ross Burton: Express Tosh

If I had known that the Daily Express front page yesterday was just so damn good I'd have bought a copy myself. With a paper bag on my head, obviously. Instead I have to make do with a small image. Diana Fund Pays Out To Gypsies And Asylum Seekers I'm still not sure that this isn't some great spoof or prank. Maybe someone broke in and changed the front page just as it went to press? What do we have here: Marvellous stuff. I can only imagine the Express has taken to being a parody of itself... NP: Individuality, Rachelle Ferrell

Anthony Towns: Afraid of your Neighbour's Disapproval

Continuing on from the SCC stuff, which I should probably get in the habit of calling the mirror split, then… At the same time as I’ve been trying to work out ways to fit the mirror split stuff into the AJ market concept, I’ve been pondering on and off what can be done to improve the security situation. My thinking’s probably still biassed by my long time wish for official security updates to testing, but I’m somewhat inclined to think that if we can figure out a way of integrating the testing security team and the official security team we might end up closer to a solution – at the very least that’d provide us with a decent number of people who can actively help out with security updates that aren’t secet and get a few more people familiar with the technical aspects of how security updates are released, who’ll then have less of a learning curve if they end up being added to the security team proper. And heck, even if that doesn’t work, it at least gives people running testing an easier url to remember for security updates. Of course, integrating the teams isn’t that easy, or it would’ve already been done. So after thinking about it, I had a chat with Joey (aka Martin Schulze, aka the guy who’s issued 317 of the 340 security advisories in the past 12 months) about the problems:
<aj> so, the other thing i wonder is what you think of the testing-security-support split?
<Joey> need more input
<aj> as in separate host, funny domain name, not available on security.debian.org/, extra effort to mirror, etc
<aj> i think it sucks :)
<Joey> there are a lot of sucking things…
<aj> it’s true
<aj> so, i figure the reasons for the split are (a) you don’t want to add a bunch of people to team@ and hence vendor-sec, and (b) there’s no way to make it so they can use dak-security without being full team/vendor-sec members; and maybe (c) you don’t want them officially associated with debian security coz they’re newbies
<Joey> a) and b) are true
<Joey> However, with security.debian.org being a push mirror, it would be possible to let it be pushed from a second source into a different directory, such as /testing-security/
<aj> hrm
<Joey> However, that would require all architectures to be supported and not just some.
<Joey> all as in “all that are in testing”
<aj> ah, that’s (c) then – they don’t do enough for the official debian stamp
<Joey> ah ok
Assuming those really are the key factors (which might or might not turn out true, but they seem likely) then that’s something that can be worked on. The first point is completely out of my domain – I’ve never been on vendor-sec, and it’s not likely something that ought to be tweaked much anyway; vendor-sec’s a very closed list by design, and for most security work it’s probably a distraction (testing security as is currently operates without concerning itself with vendor-sec, AIUI); the second points purely technical; and the third point is a combination of technical issues and an issue of training, both of which will be hopefully helped a lot by integrating testing-security and security.debian.org. So the easiest point of attack is obviously the second one, since it’s “just” a matter of expanding dak’s featureset. The problem here is embargoed fixes – the security team needs to be able to prepare fixes for vulnerabilities revealed on vendor-sec, but then keep them secret from everyone not on vendor-sec until the publication date. Which is fine, except that dak takes an all or nothing approach to that sort of secrecy: secuirty uploads go into accepted, get built, and then the security team run “amber” to publish the update. But what that means is the accepted directory and its contents can only be visible to people with vendor-sec access, which means only people with vendor-sec access can do security updates. But we do actually have a different queuing mechanism that allows us to keep some things secret, while not hiding everything: thanks to the crypto-in-main transition, the NEW queue acts like that, more or less, only allowing ftpmaster to see the contents of NEW packages until they’ve passed license inspections and the appropriate export notifications have taken place. And actually, we’d already considered extending that sort of behaviour to add an “unapproved” queue that would prevent uploads from entering proposed-updates without the stable release manager’s prior approval. The idea then, would be to have a couple of queues for the security team: an embargoed queue, accessible only to those with vendor-sec access that would store embargoed fixed ‘til they’re ready to be released, and an unembargoed queue for preparation accessible by a wider group, for preparation of fixes that don’t need to be secret. Both queues would need to be autobuilt (and the build logs for embargoed uploads would need to stay restricted, while the build logs for unembargoed uploads would not), which is an added difficulty, since only accepted can be autobuilt presently. But otherwise, it seems basically plausible, both to myself and Joey. Conveniently, Andrew Pollock’s been interested in throwing some money through the AJ Market to see what happens, and since the initial idea we were tossing around fell through due to his move to the US, he’s put up the dosh to make the above happen. Well, strictly the dosh to make me make the above happen, or something. Anyway, I’m already running behind both in implementation and blogging about it, so back to the grindstone… (Okay, perhaps it’s not quite the feature Mark Twain would most like added to dak, but it’s still nifty.)

16 November 2005

Joey Hess: note to self (or, e vs a)

If you mount a microdrive on a pcmcia adapter and somehow the prtition #5 that you thought it had is not there, but partition #3 is, and contains a "joey" directory, rm -rf ing the directory before looking in it and checking what you really mounted is probably a bad idea. Especially when the laptop's hard disk chatters a lot during the rm. On the other hand, svn up after fscking your home paritition and seeing it pull all the files out of cache is pretty fine.

Joachim Breitner: Lightweight Replacement for 111 lines of code

Chris Lamb has announced his gaim plugin “gaim-lightthink” both on his blog and on the thinkpad-linux mailing list. His plugin does basically the same thing as my gaim-thinklight plugin. I was a bit surprised to read that his plugin is supossed to be a lightweight replacement for mine, as he says on the code page.As he has not yet replied to my mail, I can only guess what he means - it’s probably not lines of code, I count 111 in mine and 128 in his. So I hoped he had found a better solution for letting the user write the /proc/acpi/ibm/light file, but he just requires the user to change permissions himself (on every boot, that is), while I install a suid program that does nothing but lets anyone write one of two strings to that file. Also, I think constructing a long line like “echo on > /proc/acpi/ibm/light; sleep .400; echo off > /proc/acpi/ibm/light; sleep .400;...; &” is not very lightweight compared to call the light controlling program directly from gaim, using gtk’s event loop for the delays. But maybe I’m missing something...BTW, I’m still looking for a sane way to let my plugin write to that /proc file. There should be a system wide list of files and permissions for virtual files (/proc, /sys), where packages like gaim-thinklight can register their needs. This file should then be worked off upon boot (or better, upon mounting of the respective file system).

Gunnar Wolf: ...So I did it

So it seems I cannot uphold my word - Well, yes, it was because of the trouble it would represent to the fine Moquegua guys - But anyway, I ended up accepting the invitation practically at the last minute, and went to Moquegua, Per , probably for my life's most tiresome journey.
Saturday, after lunch, we headed for the airport. I left Mexico at 17:30, and arrived five hours later in the Lima airport. Thanks to Antonio, Jos and Laura, who picked me up at 23:30 and arranged me a room in a hotel. I met the DebianPeru crowd, a very nice group, Sunday morning - We had breakfast, chatted for a while, and went for Lima's famous ceviche (assorted seafood cooked in cold in lemon. VERY good). At 3:45PM, I took the bus to Moquegua... For 17 long hours.
Got to Moquegua at ~8AM, went to the Jos Carlos Mari tegui University. I met the other guest speakers for breakfast, went with them to meet the Univerity Rector, hooked up some minutes to the net, went to a typical Moqueguan restaurant, gave my talk... Then hurried up to get the bus back to Lima. We got there five minutes before it left. I don't know why or how, but the bus back took 14 instead of 17 hours - I will not complain ;-)
Back in Lima, Carlos met me at the bus station, we went for breakfast, and hurried to the airport. I crossed the gate at 12PM, hurried by the airline personnel (and didn't manage to see Rudy/Stone_Head, who was on his way there)... Just to find the plane was delayed, although by little. Sat down for a while, hacked for a bit, and took the plane back home.
Summing it all up, I traveled roughly 40 hours, out of the 72 hours I was out of Mexico. Of course, you could add 1hr travelling to the airport and 1:30 back home... Anyway, 40/72 is quite close to 42/74 :)
I am tired. Plain tired. I am just waiting for Nadezhda to get home, as I want her to find me alive, and I'll crash down in bed.

Anthony Towns: Hacking dak

Who can resist a good rhyme? Or a bad one? So this round of dak hacking turned out to make the AJ Market scheme another notch more confusing – hence the delay in blogging, and the teaser in my last post. The issue leading to the confusion is that the major item on the list to start hacking on was SCC, which unlike the projects I’ve undertaken so far, is more than a day’s hacking. In fact, due to the need to give mirrors a chance to adapt to the new system between it being implemented and actually used, it’s actually more of a multi-week task. And doing it as a one-day-a-week project would extend that into a multi-month task afaics. I guess that’s still better than never, but obviously it’s worth looking into alternatives. Naturally, then, the first phase of a longer project like this is threefold. We’ll call it “the three P’s”. Planning My theory at this point was to come up with a plan for what to do, try figuring out how much work it’d take, and then see what sort of financial arrangements might be plausible – not involving me cutting a few weeks out of my life for spare change, but without making the whole thing an unleapable chasm from what the AJ Market’s currently managing either. I figured writing it up as a semi-formal proposal makes most sense:
Summary Implementation of the outstanding mirror split proposal for the Debian archive to allow new architectures, particularly amd64, to be included in the archive. Benefit In spite (or perhaps because) of its simplicity, this project has been languishing for over two years, and is not currently being worked on; so at present it’s not even possible to estimate when it would otherwise be completed. It is most notably preventing amd64 from being integrated into the normal Debian development environment, causing derived distributions to maintain amd64 specific patches themselves. In the longer term, reducing the constraints imposed on the archive size may allow the introduction of additional suites, such as backports or volatile, as well as additional architectures; though significant further discussion on this would be needed. Background Since at least mid-2003 the Debian archive has been closed to new architectures due to the already large amount of space and bandwidth required to become a Debian mirror. At present, the archive uses some 158GiB of disk, and about 1GiB per day; additional architectures are expected to require approximately an additional 10GiB each, and there are likely around half a dozen architectures that will be considered for addition once the moratorium on new architectures is rescinded (incl amd64, armeb, sh variants, kfreebsd and possibly partial architectures for arch variants such as s390x and ppc64). The primary work needed to fix this involves:
  • ensuring the mirror network operates correctly when a majority of mirrors are partial; this reduces the impact on bandwidth and storage capacity
  • optimising portions of the archive maintenance software, particularly apt-ftparchive; this reduces the load on the archive server
  • providing appropriate guidelines on the qualification criteria new architectures need to meet in order to be added to the archive; this provides a limit on future increases, allowing growth to be appropriately controlled
Actual work I expect there will be six phases to the project:
  1. cleanup of the archive as it stands, and establishing a clear categorisation of its contents to define what a partial mirror by architecture or suite should officially contain
  2. providing appropriate scripts to ensure mirror sites can easily comply with the previously defined expectations for partial mirroring
  3. devise an appropriate structure for the new mirror network, that can easily incorporate existing mirrors, and coexist with the existing structure
  4. provide information on the new structure to both mirror admins and users; assist with the transition, and resolve any problems found
  5. ensure the archive management software is appropriately optimised, and that archive inclusion criteria have been debated and established
  6. add new ports that have passed the qualification requirements to the archive
In theory, a couple of days for each of those sound plausible, so making that twelve days actual work (with a couple of week’s delay in between for mirrors to have some time to adapt to the new network). On the downside, twelve days at a day a week is over three months of real time, not counting the possibility of doing other things with the one day a week, or Christmas, or the aforementioned delay for mirrors. Yick. So much for planning. Preparation So the next “p” is preparation. In this case that’s finally getting around to fix dak CVS, which has been slightly broken since May. The extent of the actual breakage was just the loss of the ChangeLog history, aiui (or at least, that was the unrecovered breakage), but the result of that was months of uncommitted changes on both ftp-master and security (and reportedly from Ubuntu’s dak installation too). The changelog for the first set of commits (not counting buildd changes from ftp-master, security changes or Ubuntu changes that haven’t made it to ftp-master) looks like:
        * tiffani: new script to do patches to Packages, Sources and Contents
        files for quicker downloads.
        * ziyi: update to authenticate tiffani generated files
        * dak: new script to provide a single binary with less arbitrary names
        for access to dak functionality.
        * cindy: script implemented
        * saffron: cope with suites that don't have a Priority specified
        * heidi: use get_suite_id()
        * denise: don't hardcode stable and unstable, or limit udebs to unstable
        * denise: remove override munging for testing (now done by cindy)
        * helena: expanded help, added new, sort and age options, and fancy headers
        * jennifer: require description, add a reject for missing dsc file
        * jennifer: change lock file
        * kelly: propogation support
        * lisa: honour accepted lock, use mtime not ctime, add override type_id
        * madison: don't say "dep-retry"
        * melanie: bug fix in output (missing %)
        * natalie: cope with maintainer_override == None; add type_id for overrides
        * nina: use mtime, not ctime
        * katie.py: propogation bug fixes
        * logging.py: add debugging support, use   as the logfile separator
        * katie.conf: updated signing key (4F368D5D)
        * katie.conf: changed lockfile to dinstall.lock
        * katie.conf: added Lisa::AcceptedLockFile, Dir::Lock
        * katie.conf: added tiffani, cindy support
        * katie.conf: updated to match 3.0r6 release
        * katie.conf: updated to match sarge's release
        * apt.conf: update for sarge's release
        * apt.conf.stable: update for sarge's release
        * apt.conf: bump daily max Contents change to 25MB from 12MB
        * cron.daily: add accepted lock and invoke cindy  
        * cron.daily: add daily.lock
        * cron.daily: invoke tiffani
        * cron.daily: rebuild accepted buildd stuff
        * cron.daily: save rene-daily output on the web site
        * cron.daily: disable billie
        * cron.daily: add stats pr0n
        * cron.hourly: invoke helena
        * pseudo-packages.maintainers,.descriptions: miscellaneous updates
        * vars: add lockdir, add etch to copyoverrides
        * Makefile: add -Ipostgresql/server to CXXFLAGS
        * docs/: added README.quotes
        * docs/: added manpages for alicia, catherine, charisma, cindy, heidi,
        julia, katie, kelly, lisa, madison, melanie, natalie, rhona.
        * TODO: correct spelling of "conflicts"
Ugh. Still, that’s enough to start work. And the final “P”? Come on, be honest with yourself, you know what it’s going to be. Procrastination Okay, that’s not entirely fair; the irrelevant bit of work was actually on to TODO list before SCC (mostly because it was something that I could get done reasonably quickly) and in fact was this line of the above changelog:
        * dak: new script to provide a single binary with less arbitrary names
        for access to dak functionality.
All the various model/actress names have been getting more than a little confusing recently, with almost forty in the dak suite, and another two dozen or so in use elsewhere – and then there’s the fact that the whole hot babes thing is both a bit offensive, and getting a bit old. OTOH, you need something to rename them to. We ended up deciding on the “version control solution” and introducing a “dak” command that’d launch all the different little bits of functionality depending on arguments, in the same way cvs, svn, tla, bzr, darcs etc do. The implementation’s kinda neat: we have a list of commands (like “ls”) and their description (“Show which suites packages are in”), along with the python module and function they’re in (“madison”, “main()”). That let’s us not actually have to change any of the other scripts immediately, and lets “dak ls foo” work the same as “madison foo”. It also means that down the track we don’t need to have separate modules for each subcommand, and that we can rename modules and functions without affecting the user interface. Of course it also means that all the internal scripts haven’t changed to use the new names yet, leaving the new interface a bit underused, but hey, “dak ls” at least manages to be one character shorter than “madison”, so that’s a win! To be continued…

15 November 2005

Joe Wreschnig: Sick, 0.15, and so on

Ick.
So I caught some sort of cold/flu thing, which inverted my sleep schedule (especially since it happened as daylight hours began ending around 5PM). In the process of rotating it back I got sick again, probably due to lack of sleep. Last night I didn’t sleep at all, so hopefully I can pass out around 10PM tonight without a problem. Quod Libet 0.15
Released (and uploaded to Debian), featuring all the aforementioned speedups (SVN actually has even more yet, and some significant memory reductions). We are polishing everything up (and working on the audio feed browser (feedparser is seriously hot)) for 1.0. It’s all very cool. Well, except the times GStreamer segfaults; that’s not so cool. Geeky Jokes
In a lecture on quantifier semantics, my NLP professor made the comment “In America, a b F(a, b). In my country, b a F(a, b).” Much of the class laughed. Speaking of NLP, my final project for that class is likely to segue into the next thing [info]gesten and I tackle, assuming I have any free time at all next semester. Books
I haven’t spent money on books in almost two months (aside from textbooks). This means the amount of books I own and haven’t read is actually for the first time in about a decade. Soon maybe I’ll even be able to go back and reread the books I read when I was 12 but don’t remember very well (ruining precious childhood memories in the process). Python Optimizations
Just because all my posts have had one of these lately, two recent things that surprised me: if s[:1] == c: is slightly faster than if s and s[0] == c:. And if v: is slightly faster than if v is not None: if v could be 0, “”, or (), the false immutables (this one surprised me less after some thought, but it’s still easy to forget when is is otherwise faster).

David Welton: Licensing and standards

Idle thought of the day: How does licensing interact with standards - how does the presence of a standard affect which license you should choose for an open source project? We know how the GPL and BSD licenses work, and how the differ... how each can work in different situations with different community and business goals. But... let's throw another factor in - an open specification/standard that is well defined and doesn't have a lot of "wiggle room" for real innovation. Should you choose the maximum amount of openness (BSD) because a proprietary implementation doesn't have that much room between you and the "ceiling" (100% spec compliance), so there is no real reason to make a proprietary fork? Or is the whole thing a moot point because most specs are usually big things that leave a lot of room underneath for innovation. It would be ridiculous to reduce Linux or FreeBSD to "just an implementation of POSIX and a few other Unixy specs", for example. The uptake of the standard probably weighs on the equation too. If it's something you just want to see as widely used as possible (say, TCP and IP), the BSD license is a good one to get the code into a lot of people's hands. An already adopted standard in wide use with no free implementation might have other implications, depending on what your goals are - if you did a nice implementation, perhaps you could corner some licensing fees by dual-licensing the code as GPL/proprietary. Perhaps it's not that important a factor in the mix... what are your thoughts?

Steve Kemp: Things I have never written #1

Coding Mistakes
I broke my debian administration website yesterday. Predictably enough I’d woken up around 9AM and thought that it would be a good time to make significant refactering changes. Tested them on my laptop, committed them to CVS, then updated the live site. Had a quick play to make sure nothing had obviously broken - but didn’t try to leave a comment on an article. Went to sleep and woke up around 4pm to find 15 emails telling me things were broken. Most mails on the site in a single day! Should be fixed now. But I’ll never again make changes before lunchtime, I’m just not good with the whole sleepy-coding thing.
Things I have never coded: 1
Inspired by Joey Hess’s “Ten years of free software”. Things I have never coded part 1. I have never coded a text editor. *shock* In the past I have written simple wrappers around the various text controls in different environments - for example under Windows I once coded a tabbed text editor called MyNotepad, which featured a novel dockable tree-control to the side which allowed navigation and loading of files easily. When I first started working with Java I coded a similar thing, but with the ability to load external Java .class files as plugins. This editor was called Rosetta, inspired by the band Rosetta Stone (who were in turn inspired by the actual Rosetta stone ) At times I think about text editors. I use them daily, obviously, and I love working with some more than others. My editor is usually GNU Emacs but I’m also partial to Vim. I will use both happily; although neither is pleasant without my personal customizations. Simple text editors are a traditional project for coders, and freshmeat is littered with their discared corpses. Probably the only reason I’ve not started - that and apathy. My ideal editor would be:
  • Both curses and x11 based.
  • Scriptable (Lua is love?)
  • Extensible.
  • Portable between (at least) GNU/Linux and Solaris.
  • Modeless.

Steve Kemp: Holidays + Xine + Stats

Yesterday
I missed a holiday
I managed to fail to go away on holiday for four days by virtue of being asleep and missing the train. That sucks. Although on balance probably for the best, I was very tired.
xine-ui bug triage
I did a minor amount of triage upon the xine-ui package. There’s been an annoying bug in the package for about 40/50 days - where if you right-click upon the screen the GUI would crash. This had been reported four or five times, so I merged all the bug reports together added a patch which I’d tested. Then I mailed the maintainer asking if they’d object to an NMU to fix it. Today I got a go-ahead, so I’ll be making an upload shortly.
Debian Admin webstats
Almost more hits upon the website in the first four days of this month than in last month combined. Wow. We’re averaging close to 50,000 hits a day. When I think things like that I get all paranoid and have to remember that it doesn’t matter how good the writing is ..,

Uwe Hermann: Sony XCP Rootkit Saga Continues

I didn't follow this disaster too closely, but here's a short (most probably incomplete) roundup of what happened so far:
  1. The Sony DRM installs a rootkit,
  2. people use the rootkit to make game cheats safe from the (Blizzard) Warden,
  3. trojans start (ab)using the DRM rootkit,
  4. Sony gets sued,
  5. Sony pulls the rootkit.
Nice bedtime story so far. Now it turns out that Sony s web-based XCP (rootkit) uninstaller seems to open huge, gaping security holes itself... Not that I would care too much, I don't buy any Sony CDs. There's a huge pile of great Creative Commons licensed music out there (shameless plug: check my music podcast for some hand-selected goodies). No need to pay huge corporations for crappy music which comes with funny "extras"...

14 November 2005

Wouter Verhelst: Automatic networking

A long time ago, I wrote:
In these days of VPN, IPsec, dynamic routing, tunnels, IPv6, and autoconfiguration protocols, one would expect that it would be possible to configure a laptop to find all kinds of hosts automatically, both for those that are network-specific (proxy servers, NNTP-servers), and for those that are not (mail servers, version control systems, ...).
I then went on to say that I could not, at the time, expect my laptop to find those networks by itself; every time I logged on to some network, I had to set up at least two SSH tunnels. I received a lot of feedback to that post, and I now do have my laptop set up so that it configures itself automatically if necessary. Well, almost; see below. This is what I've done: I don't use ifupdown on my laptop anymore. The package is installed and configures my lo interface, but that's it—nothing else. Instead, I'm using whereami to configure my network cards. Whereami is an excellent piece of software that is configured through two configuration files: detect.conf and whereami.conf. The former has a pretty peculiar syntaxis, which you'll need to get used to at first; but it's very powerful. There are a few things you can do in detect.conf:
  1. Run tests. A test will check whether a condition is true, and set a location based on the result. An example of a test could be
    testmii eth0 lan
    
    which checks whether the MII detects a cable (testmii) on eth0, and will set the lan location if that is true. Tests are the raison d' tre of detect.conf; the point is to run as many relevant tests as possible, to get as much information as possible about the location where you are; that way, you can configure the system later on from whereami.conf (see below). There's other things like testdhcp (check for the presence and/or the returned IP address of a DHCP server), testap (test for the presence of an Access Point), testmodule (check whether something loaded a given kernel module), or even testarp if you're desperate (to test whether a node with a given MAC address lives on the network).
  2. Checking locations. For instance, you might want to run testdhcp on eth0 only if the location lan is set already. This way, you don't get timeouts if you're on the train or anything. Checking locations is done with if <location> ... elif <location> ... else ... fi. Which is to say, you get a multi-line block of if structures, in which you can then run other tests conditionally. I'm just too lazy to write it out here :-)
    Unfortunately, it is not possible to nest if structures in detect.conf; but I don't think it's actually necessary for the detection (it might be nice for whereami.conf later on, but there the issues can be worked around).
  3. There's also the possibility to do things like setting environment variables, default locations, and some similar housekeeping things.
It is possible to set more than one location from detect.conf; for example, right now my laptop claims it's at werk,dhcp,lan. At home, it detects it's at thuis,dhcp,lan—unless I use my wireless interface, in which case it detects it's at zd1211,thuis,wlan,dhcp,wdhcp After whereami finished the tests in detect.conf, your network should be working (provided you have a network cable plugged in, or are in the vicinity of an AP that you can connect to). Next, it will process whereami.conf. The genius of whereami probably lies in whereami.conf: this is a simple shellscript, but every line can be preceded by one of +, -, or =, followed by a location. For example, I have (amongst other things) this set up in my whereami.conf:
+lan ln -sf /etc/news/leafnode/config.generic /etc/news/leafnode/config
+werk ln -sf /etc/news/leafnode/config.werk /etc/news/leafnode/config
+thuis ln -sf /etc/news/leafnode/config.thuis /etc/news/leafnode/config
Whereami will check this file for any lines that start with '+' followed by a location it's going to, or '-' followed by a location it's leaving from, or '=' followed by a location it's either leaving from, going to, or staying at. It then removes the +/-/= plus the location, and dumps the rest of the line to a file; that file is then ran as a shell script. In other words, the above code will overwrite my /etc/news/leafnode/config with an appropriate configuration, depending on what network I'm entering. I don't have to reconfigure NNTP servers anymore. Nor do I need to set up any tunnels—whereami does all of this for me, and more. Next, since a few weeks, I've also added ifplugd. Previously, when I would get my laptop to resume from swsusp, I would need to manually run whereami afterwards; with ifplugd, this is no longer necessary—I just removed the ifupdown script in /etc/ifplugd/action.d, and replaced it with a whereami script that I quickly wrote myself (not as if it's hard, obviously). There's just one thing left: the proxy server. There are just way too many programs that one needs to configure to use a proxy server (or not) in Linux; and though it's possible to configure a proxy server by letting firefox "detect" it, I have no clue how that's done. Additionally, programs that use proxy servers through environment variables can not be reconfigured, unless one logs off and on again. I guess I'm looking for something that will do transparent proxying if there's a proxy server on the network, or just forward the requests to the remote server if not. But that's for another time.

Jordi Mallach: The source of all evil

Yesterday was a very, very intense day, and I had lots of fun. Clint, sladen and I headed to Chinatown walking, with a few detours to be able to checkout Manhattan's skyline. The view from the other shore is awesome, even with the two towers missing. When I compare the current view with how it was four years ago, I understand how much the city has changed without them. They were so impressively big that I just can't picture them too well in my mind.


The skyline of South Manhattan We walked over the Brooklyn bridge, giving me other very cool views of Manhattan, while I hammered Clint with questions about this and that. I saw that since 9/11, you can't go past the Town Hall. "Security reasons", of course. I was very surprised to see police cars in every single street. It's like a Police State, and if you ask me, it didn't make me feel safer. After some walk, we finally got in Chinatown, which is the craziest place ever. People sell stuff on the sidewalks, and many streets are packed with people. We had to meet with mikah, biella, dilinger and his cat at some Chinese place for breakfast/lunch. The place, as Chinatown itself, was crazy. As soon as we sat down a few waitresses landed a few plates on the table, without asking or anything. A few minutes later I could see that the way they serve you is going around with carts with lost of food, and you either want it or not. We left dilinger at the metro station, and moved on to the SoHo. I wanted to go to the SoHo Apple Store to see if they knew about replacement Spanish keyboards for my Powerbook. My powerbook was bought in the US last year, so it has a US keyboard. This is mostly ok, but only mostly as it's missing a key. After SoHo, we went back to Chinatown to pick up bubbles. It was nice to see her after Debconf, and she made the effort to come just for a few hours even if she was ill and had lots to do in Philly. We headed to South Street Port, where I had a long chat about Cuba with micah while we sat on a bench looking at Brooklyn bridge. And then, we gathered all our braveness and headed to the heart of the beast, to the kernel of the system. We walked into the Financial District, and soon enough I was walking in Wall Street no less. If I breathed hard, I could smell the money. The road was paved in gold, and there were skyscrapers everywhere. I discovered the rulers of this world had opened a "public space" in JP Morgan's building. To their despair, probably, it had been taken over by the poor. I wonder what Bloomberg will do about it. As I walked up the street, a strange feeling in my heart grew and grew, until, behind a corner, I saw it. The source of all evil was ahead of me, guarded by George Washington himself.


The New York Stock exchange and it's black evil aura of Capitalism I was standing ahead of this building where so many people behave like bastards everyday, pushing millions to povery for a bit more profit margin. The doors were closed and surrounded by security officers, which despite being asked politely, didn't let us in for "security reasons". Next to it was the Church of Capitalism, at the end of the street. It's curious that such an old church still stands where it was build near the harbour probably a century ago, now surrounded by some of the most modern and tallest buildings in the planet. And then, we visited the bull, which I didn't know is the "friendly" symbol of how Capitalism works.


I had Capitalism by the balls We moved down to Battery Square, past the old US Customs building with the four statues representing the four continents. We saw the damaged sculpture which lived in the WTC, and sat down at the pier to watch a beautiful sunset over the Statue of Liberty.


The Statue of Liberty seen from South Manhattan At that point, biella and micah had to meet some friends at one cinema to see the Wal-Mart documentary. We went to a funky place to have some tea, decided to go see Times Square and then walk to Central Park. At the time, mako was arriving to NYC on the Chinatown bus, so we agreed to meet in a restaurant to have lunch. Paul Sladen finally managed to get lost, after many tries during the day, and wasn't seen until we got back home. Mako and Mika waited for us at the door of an... ethiopian restaurant in the SoHo, despite Mako knows I can't stand spicy food. But in the end it wasn't so bad, I just needed a few more glasses of water than average. And I finally got to know mika, after lots of time of chatting over IRC. Greg, SPI's lawyer, also appeared, and was a nice addition to the group. Mako knew where to take us after that. The Belgian bar was packed, but there was a private party in one of the spaces and we took over some of that space. After a few rounds, we were ready to leave the pub and go for Falafel and some tea. I was terribly falling asleep though, so instead of tea we took a cap back to Brooklyn, where we found Paul waiting at the door. After an hour of inflating a mattress, we were ready for sleep, at 4AM. It didn't look like the morning after would be very productive...

Ian Murdock: Small pieces loosely joined and Web 2.0

Om Malik: “[O]n this Web 2.0 highway, there are three exits: Microsoft, Yahoo and Google.” That’s a clever soundbite, and perhaps it’s true from the venture capitalist’s point of view, but I think it misses something fundamental: That the real attraction of the new web platform is that components don’t have to be rolled up into one big monolith anymore to integrate well with each other. We’re entering into a world where lots of little, independent component providers will be able to coexist and thrive alongside the platform vendors. Why? The platform vendors no longer have such a chokehold on distribution that the best the component providers can hope for are a few years of prosperity before the platform vendor notices there’s an interesting little market emerging around a particular component, integrates the component into the platform, and renders the independent component unnecessary. In the old world, a component provider’s prosperity was often its ultimate undoing. I’ve always sympathized with the platform vendors’ (OK, Microsoft’s) argument that this kind of integration is done in the interest of customer convenience—I for one don’t want to buy an operating system only to have to go out and source my own, say, memory management and data compression components (something, if you remember, we had to do in the MS-DOS days). In the old world, that probably meant going out, buying more software, and dealing with the headache of getting it installed and integrated. It was simply more convenient for the customer for the popular components to find their way into the platform, integrated and ready to go with no assembly required. In the new world, though, sourcing a component is no longer a heavyweight operation. By and large, the components themselves are free, and thanks to open APIs and data formats like RSS, it’s now possible to integrate those components into larger applications with comparative ease. Granted, the applications of today are largely ad hoc “mash ups” without an intermediating platform vendor in the traditional sense, but it won’t be long, in my view, before vendors step into that role and make writing such applications as systematized an operation as, say, writing an application for Windows or Linux is today. Yes, Microsoft, Yahoo, and Google are probably those vendors. Yes, the component providers probably hook into their platforms as the primary vehicle for monetizing their wares. However, without the same level of control over distribution that the old world enjoyed (not to mention the proliferation of open APIs and data formats), the big guys will have to coexist with the little guys. The platform vendors will compete by providing the most compelling incentive to the component providers. In old world terms, the platform with the most ISVs will win. This bodes very well indeed for innovation in the new “Web 2.0″ world. Above all, the days of the platform vendors integrating all the components into the platform to the exclusion of independent providers have come and gone. Thankfully.

13 November 2005

Matthew Palmer: Snail Racing (The Legal System)

I previously mentioned in a sidenote to another post that I've been involved in a court case over the last few weeks, and I promised a few people I'd blog about my adventures there. Obviously, not quite everything can be discussed in an open forum, but I checked with the legal beagles and I'm OK as long as I stick to generalities. Which is fine by me, since the detailed specifics are actually immensely boring. Executive Summary: It's the law Jim, but not as the TV shows it. I have to recommend that everybody spend a bit of time watching a case or two at their local court. It's surprising how different reality is to what you see on TV (of course, Australian courts are going to be different to the US courts we primarily see on TV, but even the dramatic representations of Australian courts I've seen are fairly inaccurate). The legal system, while appearing to be out in it's own little world, is a vital and integral part of most societies, so it's useful to have at least a basic idea of what goes on in them -- not because you'll end up in one (and even if you did, your lawyer will tell you what to do) but because it's an interesting insight into a part of our world that often affects us, but we don't like to look at. (Going and watching your houses of parliament, or an abboitoir, is a similar thing). Second, if you can possibly avoid it, don't get involved in a case. Not as a defendant, not as a litigant (in a civil case), and not as a witness. Litigants and defendants get screwed because they're stuck in a small room with a bunch of people they don't know or particularly like, for days or months, with a limited understanding of what's going on. Boooooooring. For witnesses, it's a different kind of pain. But I'll leave the details of that for another post. One of the things that quite surprised me is the general good nature and decent relationship between all of the legal professionals involved. They're willing to help each other out, they concede points graciously, and there's a surprising amount of banter between all of the lawyers and (in some cases) the witness as well. I'm told that this was peculiar in my case because I was involved in a voir dire[1], and everyone's on their more formal behaviour when there's a jury in the room. At times, it was almost a pleasure to watch the proceedings -- like a slightly dry but nonetheless compelling play. Most of the time, though, I characterised as "Snail Racing" -- about the most dull activity one could imagine, but nevertheless you just can't tear your attention away in case something interesting happens while you're blinking. When I say that the lawyers are good natured, that's not to imply that they're not vehemently arguing their case. Toward the end of the voir dire, in particular, counsel for the defence started to get rather vocal as to the lack of proper procedure on the part of the Crown. Over the entire voir dire, too, both counsel were always pressing hard and always trying to get their case seen in the best light. But their vigourous pursuit of the case never got personal or competitive. I think that's actually something that a lot of free software people could take on board (myself included) -- argue strongly for your position, but never internalise it or make it personal. Your position may be rather important (the defendant in my case was looking at up to 14 years if he got sent down) but making it a personal attack isn't going to help your case. I was amazed at the speed with which counsel picked up on new concepts and ideas. Unsurprisingly, the expertise I provided was quite technical, and counsel were not particularly computer literate. However, over lunches, I was able to essentially brain dump fair chunks of knowledge at the barrister, and he then went inside and laid it all out, usually accurately and very good presentation. It's also intensely satisfying to know that the questions that are being presented were suggested by you, and the skillful way that the ideas and queries were weaved together. I guess you'd get a similar buzz writing a play and then watching skilled performers bring it to life -- not necessarily exactly the way you imagined, but with an undeniable skill and vibrance. I've got a lot more material about my adventures in the legal system, which I'll be posting over the next while, but I figure this is probably well enough to be going on with for now.
1. A voir dire (as explained to me) is a sort of "trial within a trial", used to determine a point of fact or the admissability of a particular piece of evidence. It is run in the absence of a jury. They're only supposed to run for a couple of days; apparently mine was extraordinary at three weeks, although mention was made of a six week marathon (in the context of "this better not be like $OTHER_VOIR_DIRE").

Matthew Palmer: Linking Does Not Create A Derivative Work

Ian Murdock's recent piece on the whole Debian/Nexenta controversy contained what is an almost-universal misunderstanding (so common, in fact, that I held the same misunderstanding myself until fairly recently) about what the GPL actually says about linking in other software with a GPL-licenced work. Ian writes:
It seems to me the argument that linking a GPL application to a CDDL library and asserting that that somehow makes the library a derivative work of the application is, to say the least, a stretch&emdash;not to mention the fact that we're talking about libc here, a library with a highly standard interface that's been implemented any number of times and, heck, that's even older than the GPL itself. It's interpretations like this, folks, that give the GPL its reputation of being viral, and I know how much Richard Stallman hates that word.
The core misunderstanding there is that the GPL somehow claims that libraries linked into a GPL-licenced binary are derived works. Nothing in the text of the GPL states that, and a quick scan of the GPL FAQ doesn't provide any opinions of that nature, either. What the GPL does state are a few conditions which you have to abide by in order to be given permission by the copyright holder to exercise rights ordinarily held exclusively by said copyright holder. One of those is that, in order to be given permission to distribute a compiled binary, you must be able to provide source code for the binary itself, as well as all interface definition files, build scripts, and modules contained in the binary, and that all of this material must be provided under terms no more restrictive than those of the GPL. The GPL isn't trying to lay a "derived work" claim on any of those other parts. It's just saying to you, as someone who wants to distribute a binary, "here are some other things that must be OK if you want to do this". A similar clause exists with regards to patents and court judgments (section 7, for those of you playing along at home). This doesn't mean that the GPL is attempting to claim that the patents or court judgments are derived works. A licence could also say "you must delete all copies of any Microsoft product from your hard drive before duplicating this software", but that wouldn't mean that the licence is attempting to claim that all Microsoft products are derived works of the licenced software! As anyone who's looked at a typical proprietary software EULA probably already knows, a software licence can claim pretty much anything (and, apparently, thanks to the DMCA, in the US they can make it stick). The licence doesn't make the claim on the basis of derivation, it makes it because that's just what the licence claims. The GPL is no different in that respect. If you can't fulfill the licence conditions (either because you don't want to, or because -- as in the case of the clause under discussion -- the module you are including in your binary can't be licenced under terms equivalent to the GPL) then you can't do whatever it is that the licence would otherwise allow you to do. To be fair to Ian, some of the comments he made to his blog post indicate that he does understand the distinction between a claim due to derivation and one due to a simple licence term, but I thought it worth making the point crystal clear to everyone out there in the blogsphere, because it's a very common misunderstanding, and I'd hate for it to spread any further than it has already.

12 November 2005

Christine Spang: Mutt sucks less

So, I’ve recently switched to Mutt for mail-reading purposes, and aside from it taking a motherload of all time to get all the necessary parts setup and configured properly having never done it before, I am so far extremely happy. It looks like it’s going to be a huge timesaver overall once I have everything tweaked to my liking. Yay for Erinn giving me her super muttrc file which was incredibly helpful and neato. (Though I’m still tweaking the display colours in it: I agree, helix, I don’t like yours. :-p) All I need to do now is get my spam filtering setup in both procmail and the necessary hooks in Mutt, and add a few macros of my own. (And finish fleshing out my aliases.) Oh, and I need to fix some of my procmail rules, probably to sort by List-Id instead of ^TO, because I believe many of these lists are using bcc or something which breaks my list filtering. I haven’t looked at it too much yet. One of my friends gave me lots of digital pictures from various things: Home-brewed Halloween fun: I was traumatized that I forgot my cross at home. I also apologize for any trauma caused by this picture. (Yes, all three of us are indeed girls.) Edit: added in proper image thumbnail to not be evil.

Jordi Mallach: Good Morning New York!

After a not-so-easy ride with James Blackwell, and the last minute surprise of Paul Sladen joining us, we arrived in New York. The sky was dark already. Instead of arriving at 15:00 or so as expected, we arrived at something like 20:00. Behind, we had left great perils like an empty gas tank and finding no gas station, and noticing one tire could use some pumping; evil officials at the US border not liking the fact that it was the first time I entered the country, which involved fingerprints and a smily face at the customs offices after a long wait; a great meal (after a long wait to get served) at probably the best restaurant in the whole State of New York; the three of us becoming terribly sleepy half an hour after resuming the drive, and having to stop for a short nap and stopping for gas once again around 70 miles away from NYC. When we did arrive, we managed to get lost a few times around the city. We crossed four bridges on our way to Brooklyn, which accidentally let me admire the Manhattan skyline by night, and finally, got to Clint's place. When we were parking, I noticed the tire was mostly flat now. Surely not the best way to land in the city. We also found out Clint and the rest had left for dinner after a long wait, as neither they or us expected to arrive so late, and we were way too freaked out with the crazy traffic and finding our way to phone them. After a while, both problems were sorted out; Clint appeared and James was able to leave. James, thanks for all you did! I owe you a big one next time! We spent some time with Clint, dilinger, biella and micah, saw the great view of Manhattan from the roof of his appartment, and eventually went to bed. Apparently, they are taking me to a place called "Dim Sum" for breakfast. I wonder how dilinger's cat tastes.

Christian Perrier: Holy war against Nexenta

Hmmm, dear LWN, Anthony Towns is not alone when claiming that the reaction of the Debian community towards Nexenta after they announced their work was probably overflated and certainly too much aggressive. I remember having done so already and I did it again later. I usually avoid debian-devel flamewars but here, this is not really a flamewar. This was a rude action against people who may have done mistakes, errors and certainly need to talk deeper with the Debian community. Even if the contributors in this thread do not think they have been rude, I'm pretty much sure they have been "perceived" as being rude by outsiders. I'm afraid that such behaviour is very likely to enforce a very commonly feeling among the free software community of Debian being a kindergarten of free software bigots completely disconnected from real life. We know we are not this so we should try to avoid people thinking we are. This is not why I work in this project. When it comes at Free Software, I'm a kind of "bigot" too, but I usually try to not enforce my bigotry to other people by being uselessly aggressive. This also is a key point for Free Software and we should more often think about it. (don't take the word "bigot" as first degree, please...) We (as a community) have been aggressive with Nexenta about this issue, just like we have been in the past with, say, Ubuntu. So, I wish that we'll sing along with Erast Benson at next Debconf just like some did at Debconf 5 with the Shuttleworth gang. I wish I would see more Debian contributors bringing this feeling in -devel, especially our "historical" contributors, just like Ian Murdock did. Don't be shy, people..:-)

Next.

Previous.