Search Results: "ina"

13 November 2005

Matthew Palmer: Working as a Witness

(A continuation of my reminiscences as an expert witness.) In an earlier post, I made brief mention of the unpleasant realities of being a witness in a trial. More details, ahoy! Most witnesses aren't allowed in the courtroom except when they're giving evidence (to avoid bias) and have to sit out in the hallway. Bring a fat book, because you could be out there for days. I don't think much compensation is provided for your time, either. And, as a final indignity, the lawyers might not even end up calling you to the stand. For example, one of the prosecution witnesses in the case I was involved with was called to appear, and sat outside the court for eight (count them, 8!) days, before being told he wasn't needed after all, and he could go home. I don't know about you, but if that had been me, I would have ended up in the dock myself on a charge of mayhem. Another witness, after having been through her time on the stand, made a comment along the lines of "I'm going to make sure I'm overseas next time". Expert witnesses (as I was) get treated a little better. We can watch most of the bantering in court, while we evaluate the technical evidence presented by other witnesses (experts and non-experts alike), and at least the pay is sensible. As an occupation, "expert witness" would be OK. The hours are pretty sweet, the pay is good, and the conditions quite reasonable. For a regular geek like myself, though, it was fairly close to agony by the end of it. I've had three big projects on indefinite hold while I was at court, unable to give my clients a firm date when I could resume work for them. They were all understanding, bless them, but I could have lost out badly. The complete uncertainty as to what is going to happen and when means that you basically end up camping out at the courthouse for umpteen days. At least, in my case, I was being paid regular consulting rates for my camping. When I say uncertainty, I really do mean it. I was originally told I'd be needed for a day or two -- a quick look at what the other witnesses were saying, maybe jump in the box for a bit, and then I'm off. Then the first witness in the stand was there for nearly three days (along with a day or two of procedural stuff in amongst it so I had been there a week before he was finished). Then the defence was going to make a motion for dismissal, because the prosecution were being pummeled by his honour for their lack of case preparation, so I would have been out of there. That never materialised. Then more procedural faffage, another witness that ended up in the box for about 4 days -- each day of which I thought was the last -- and then it was my turn, which lasted nearly four days. At no stage did I have any indication of when it was going to be over, either, so I couldn't say with any sort of certainty when I could start helping anyone else out. While the legal system has a vital part to play, I'm wondering if something could be done to improve the running of trials to reduce this sort of pummeling of witnesses. On the sweet hours: court convenes each morning at 10am. There's usually half and hour to an hour of transcription correction (although I get the impression that isn't a standard thing) then witnesses start going through. There's a half hour morning tea break around 11 or 11:30, and then an hour lunch at 1pm. Usually there will also be an afternoon break of 10 to 15 minutes, before court adjourns for the day at 4pm (if not a bit earlier). I presume that the reason for the short days is that it's mentally very tiring, and there's lots of prep work for the lawyers mornings and afternoons, but it's a lot better life when you've got none of that to do. Unfortunately, the day isn't short enough that I could get a lot of other work done, so it's effectively just a short-paid day.

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

Ian Murdock: The thin(ish) client revolution

David Berlind: “[P]icture a world where, instead of carrying a notebook computer with you everywhere you go, and instead of having power-drinking desktops in every corner of your house, all you have is a USB key that you take from one dirt cheap thin client to another. On that key is not just all of your personal data (that is stored in the cloud but replicated to your USB key for offline usage), but perhaps a small Web server and some applications, both of which are thin-client friendly.” I’m in complete agreement that the thin client/web application computing model is the wave of the future, and that the days of the fat client as the primary mechanism for monetizing software are numbered. However, I don’t buy into the notion that software-as-a-service displaces the traditional fat client entirely, for one very simple reason: It’s going to be a while yet before we have truly ubiquitous network connectivity. Sure, perhaps if you live in the San Francisco Bay area or in a similarly technology centric place, it’s easy to buy into the notion that it won’t be long before we’ll all be connected all the time. However, we can’t lose sight of the fact that a vast majority of the population doesn’t live in a world where technology billboards dominate the morning commute. Heck, my cell phone doesn’t even work when I visit my grandfather in rural Indiana—the notion of an omnipresent wifi fabric built from community hotspots is a long way off there, to put it mildly. And even when we do get to the day when we have ubiquitous connectivity, we’ll still want caching for optimization and replication to eliminate the single point of failure problem, not to mention the ability to retain control over our own digital lives. So, I view the thin vs. fat client juxtaposition as being not so much about user experience—AJAX has shown us that remarkably good user interfaces can be built on the web. It’ll be more about caching and data replication, two very important considerations in any distributed system. I think most people are missing that. David, as usual, appears to get it. My prediction: Applications will increasingly move to the web, so you’ll be able to get to your data anytime, anywhere, and from any connected device. No surprise there. But the majority of the time, when you’re using “your” client device (whether it’s a PC in your home or office or a handheld device or something that lives on a USB key and securely attaches to the network via some device that’s outside of your administrative control), you’ll still primarily interact with the web through a fat client of some sort. To be sure, the fat clients of the future will look a lot different from the fat clients of today. Hint: “Fat client” doesn’t have to mean “self-administered”. Perhaps the fat clients of the future are delivered on demand or via independently developed components that integrate into some larger framework. Perhaps it’s as simple as running a web server locally. But the fat client in whatever form will still be the primary interface the vast majority of the time. That’s why I don’t buy for a minute that Web 2.0 is yet another death knell for Microsoft. They’ve obviously got a great fat client story, and in case you haven’t noticed, they’ve just woken up to what’s going on around them. By the way, this is the area where I think Linux on the desktop could have the biggest impact—it won’t be about who has the better desktop or who can replicate the popular fat client applications of today in open source. It’ll be about who can mold Linux into the fat client framework of the future, seamlessly integrated with applications and services delivered via the web but open. If I were Microsoft’s competitors in this space, namely Google and Yahoo, I’d be spending a lot of time thinking about this. In today’s fat client world, Microsoft is between them and their customers more often than not, and if the past is any indication, they’ll be able to use this position to tremendous advantage.

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.

Tollef Fog Heen: GPL, CDDL and derivative works

Ian Murdock writes a bit about OpenSolaris and the Nexenta people who are creating a GNU+Solaris based OS. He writes a bit about the fact that the Debian community hasn't exactly embraced their efforts, but have rather been rude to them. A small thing caught my eye though:
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 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 not so much that you make the library a derivative work of the application as that you are making the application (that is, the binary /usr/bin/dpkg or whatever you are linking) a derivative of both the dpkg source code as well as the libc binary) and this is problematic when the libc in question is under the CDDL and dpkg is under the GPL.

Anand Kumria: Onella - Party People

<p> Zeeshan Ali <a href="http://www.advogato.org/person/zeenix/diary.html?start=77">writes about Finnish women</a>. Onella is actually one of the better bars in Helsinki, hopefully you discovered the two "secret" bars after the inital heavy-metal one. The first is your typical dance-floor, the other is a uniquely Finnish experience. </p> <p> Basically it consists of drunk Finns, mainly drunk Finnish women, getting up on the table &mdash; dancing as best they can &mdash; and singing along to all the recent songs. <strong>Except it is all in Finnish!</strong>. Every song you know, and some you wish you didn't, will be sung, the audio will sound familiar but the words are Finnish. Distinctly odd. </p> <p> Yes, Zeeshan, Finns are very weird. I can not imagine anything like <a title="No secrets in Finland" href="http://today.reuters.com/news/newsArticle.aspx?type=oddlyEnoughNews&storyID=2005-11-02T150542Z_01_EIC254324_RTRUKOC_0_US-FINLAND-WAGES1.xml">this</a> happening anywhere else. Even the BBC's <a href="http://news.bbc.co.uk/1/hi/programmes/from_our_own_correspondent/4384992.stm">Night out in Helsinki</a> is fairly tame to my experience at Debconf5 </p> <p> Over the course of many nights, I saw </p> <ul> <li>Drunk women falling off tables (many times &ndash; and cute ones too!)</li> <li>People punching fists into windows</li> <li>Large brawls</li> <li>Pepper spray indiscriminately bandied about</li> <li>Bottles being thrown &ndash; by the bar staff at customers</li> </ul> <p>It makes for lots of fun adventures &mdash; If you ever meet <a title="Horms" href="http://www.vergenet.net/~horms">Simon Horman</a>, he can fill you in far better than I can</p>

Anand Kumria: Plugins I have installed

<p> <a href="http://www.stillhq.com/">Michael Still</a> <a title="trackback pings" href="http://www.stillhq.com/blosxom/000007.html">writes</a> about <a href="http://www.movabletype.org/trackback/beginners/">Trackback pings</a>. </p> <p> I'm still not used to blosxom and how everything fits together but I thought I'd enumerate the plugins I've installed. </p> <dl> <dt><a href="http://www.insanum.com/downloads/BlosxomV2/categorytree.gz">categorytree</a><dt> <dd>I've actually got this named as 01categorytree, so it runs first, but it gives me the listing of topics I've posted too</dd> <dt><a href="http://www.hecker.org/blosxom/extensionless">extrensionless</a></dt> <dd>I'm a big fan of <a href="http://www.w3.org/Provider/Style/URI">Cool URIs</a>, this helps me almost get there. Bonus points to those who can work out where I don't quite make the magic happen seemlessly. Oh, named 02extensionless.</dd> <dt><a href="http://www.blosxom.com/downloads/plugins/atomfeed">atomfeed</a></dt> <dd>As every good blogger knows, syndication is the name of the game. While you got use the deprecated RSS, <a href="http://atomenabled.org/">Atom</a> is where is it at. I've actually disabled RSS feeds in preference to atom</dd> <dt><a href="http://www.blosxom.com/downloads/plugins/breadcrumbs">breadcrumbs</a></dt> <dd>On permalink posts, you'll see a click-trail. All professional websites have them, so I figured I should too.</dd> <dt><a href="http://molelog.molehill.org/blox/Computers/Internet/Web/Blosxom/Calendar/">calendar</a></dt> <dd>Presents a calendar with all the posts you've done on various days highlighted, so you can quickly determine when someone has been sleeping or has been an insomniac</dd> <dt><a href="http://www.blosxom.com/downloads/plugins/config">config</a></dt> <dd>Comes with the Debian blosxom package, and originates with the author. Allows you to customise configuration dependant on where the post is in your heirarchy and other magic.</dd> <dt><a href="http://my-security.net/bloxsom/directorybrowse.txt">directorybrowse</a></dt> <dd>If you have deep category hierarchies this makes all the elements of the paths clickable. It's cool, you want it.</dd> <dt><a href="http://www.hecker.org/blosxom/plugins/feedback">feedback</a></dt> <dd>Part of the blogging scene is to allow other people to comment upon what you've written. This gives them comments and trackbacks. I've modified this somewhat and still need to fixup how comments are previewed but otherwise this plugin is gold</dd> <dt><a href="http://www.blosxom.com/downloads/plugins/flavourdir">flavourdir</a></dt> <dd>Also part of the <a href="http://packages.debian.org/blosxom">blosxom</a> package, this means you do not have to have your blog entries intermingled with the page templates (known as flavours) used to display them</dd> <dt><a href="http://www.blosxom.com/downloads/plugins/interpolate_fancy">interpolate_fancy</a></dt> <dd>For large plugins, like feedback, you might end with some text on your template that you only want displayed some of the time. This enhances blosxom so your template (flavour) can have conditionals, comparisons and whatnot.</dd> <dt><a href="http://noone.org/blosxom/multcat">multcat</a></dt> <dd>Not everything can be easily catagorised into one thing. This lets you put a post into multiple places. It'd be nice if all the categories a post was under was displayed as part of the category path</dd> <dt><a href="http://www.insanum.com/downloads/BlosxomV2/rendertime.gz">rendertime</a></dt> <dd>Calculates the amount of time the page took to render</dd> <p> On my todo list is to convert from a table based layout to a fluid CSS one. It'll probably be a 3-columned look with fixed-width sidebars since negative margins looks are harder to get right.</p>

Anand Kumria: IPv4 Link Local addresses

<p> <a href="http://blogs.gnome.org/view/jamesh/2005/11/02/0">James Henstridge</a> notes that <a href="http://www.progsoc.org/~wildfire/zeroconf/">zeroconf</a> can cause large amounts of network traffic. Yes, that was true back in July. A <a href="http://bugs.debian.org/317655" title="bug 317655: Zeroconf crucifies the network">bug</a> was filed and then fixed within 2 days. </p> <p> This was because I was at <a href="http://www.debconf.org/debconf5/">DebConf</a> and able to see how zeroconf performed in a large environment. Basically there are two tests you do to determine whether an <abbr title="Address Resoultion Protocol">ARP</abbr> packet is destined for you. And at the time, zeroconf, was only doing one of them. </p> <strong>Update: 18:20 AEST</strong> <p> <a href="http://www.davyd.id.au/">Davyd</a> asks why would you use zeroconf over <a href="http://people.redhat.com/dcbw/NetworkManager/">NetworkManager</a>. I haven't been able to put my finger on exactly why, but I feel the design is wrong. </p> <p> I do believe there should be an <em>overall</em> co-ordinating process looking after networking on the user-space side of the fence though. I've been thinking about writing something which would do it too; but I haven't fleshed out my ideas enough to commit my editor to coding. </p> <p> Oh, one bug that NetworkManager does have is that it only allocates <abbr title="Internet Protocol v4 Link-Local">IPv4LL</abbr> addresses when it fails to acquire one from the DHCP server. This is wrong and goes against <a href="http://www.rfc-editor.org/rfc/rfc3927.txt" title="Dynamic Configuration of IPv4 Link-Local Addresses">RFC3927</a>. </p>

Anand Kumria: A walk across the Sydney Harbour Bridge

# metadata <p> I woke, not for the first time today, and there were people all around. Dressed up and talking. And drinking. </p> <p> Ahh! I'd fallen asleep at a bar. <em>Again</em>. Fortunately that is enough off a clue for me to realise that I should go home. Getting home, is where this adventure starts. </p> <p> I started off at <a href="http://www.sydneypubguide.net/pubs/Cruise.aspx">Cruise Bar</a>, which has a great view of the Opera House [<a title="Sydney Opera House in the afternoon" href="/~wildfire/aum/images/opera-house-in-afternoon.jpg">1</a>], [<a title="Sydney Opera House at dusk" href="/~wildfire/aum/images/opera-house-at-dusk.jpg">2</a>], [<a title="Sydney Opera House at night" href="/~wildfire/aum/images/opera-house-at-night.jpg">3</a>] and (somehow) staggered my way to the <a href="http://www.sydneypubguide.net/pubs/Ship_Inn.aspx">Ship Inn</a>. Unable to flag down a cab in this area &ndash; lots of people going home around 23:00 &ndash; I resolved to get myself to North Sydney, where lots of cabs are. </p> <p> For those of you unaware, Sydney Harbour Bridge now has security personnel stationed at all pedestrian entrances and across its length. At least six of them "patrol" the bridge. </p> <p> By "patrol", I mean of course you'll be queried as to why you wish to cross the bridge. <q>Mate [sic], you can't cross the bridge. You aren't allowed here</q>. <q>Mate, are you fucking deaf?</q>. (on radio, to pals)<q>Yeah the fucking wog is crossing, shall I intercept him and hold him?</q> </p> <p> Followed while crossing the bridge. In my case I had (at one stage 3 security personnel behind and adjacent to me and 3 policemen ahead of me). And abused (I was repeatedly cursed at, racially slurred against, by the people from IVS Security) during your walk over the bridge. It amazes me that they even had police waiting to talk to me. Fortunately I know that the best thing you can do when confronted by the police is not to say anything. </p> <p> In this case there is nothing they could do -- since crossing the Harbour Bridge, and not responding to the security guards who harass you is not (yet) a crime. Today, 2 Nov 2005, though the Parliament of Australia is rushing through laws which might mean that I can be "detained" and held incommunicendo indefinitely. </p> <p> These laws &ndash; part of the War on Freedom &ndash; would make the rest of this entry illegal. </p> <p> I've been thinking about terrorism and Australia. How would you get access to restricted locations, determine sensitive areas and generally get information not available to the ordinary public? Become a security guard. </p> <p> In Australia, things like <a href="http://smh.com.au/news/national/braindamaged-man-told-to-pay-up-after-bashing/2005/11/01/1130823210703.html" title="victim of security guards">this</a> are not uncommon. (c.f. David Hooks killed by a security guard; a female security guard shooting someone, etc.). Worse is that security guards often enjoy a fairly close relationship with the Police. Meaning that if you join up, you also get to know some of the procedures that might be applied to deter you. Bottom line: every security guard is a potential terrorist. </p> <p> Terrorists, like modern-day Politicians, seek to curtail the liberty of others for their own purposes. The best way to do this is by planting fear and doubt into the hearts and mind of the general populace. In America, this was done via the September 11 plane hi-jacking; in the UK, by exploding bombs on the mass-transit system there. </p> <p> How, or where, should Australia be targetted? Australians are renowned world-travellers (I believe the figure is that 10% of Australians are outside the country at any one time), so attacking transportation isn't the way to go. You need to go after the life-style. </p> <p> Large community events, like Melbourne Cup day, the various Grand Finals and, of course, Cricket would be the perfect targets. High visibility (the media are already at these venues!), high impact (you are talking 30,000+ people in these stadiums), for minimal cost (a stadium has few seating area &ndash; probably 6 to 8 attackers could bring down most stadiums). </p> <p> Another good location would be to pick your local Westfield shopping centre / mall. Lots of people, lots of fear instilled. Plus we'd be rid of the stupid things. </p>

11 November 2005

Joe Wreschnig: More Python

I’m writing a registration database for Anime Detour, our local anime convention. Normally I would hate this kind of work (does anyone actually like SQL?) but SQLObject, which [info]gesten pointed me towards, is really awesome. It basically turns any SQL database (in my case SQLite) into a Python object database, with classes as tables, instances as rows, and Python class methods for queries. People stuck writing database code should definitely check it out. Another Optimization Lesson
Quod Libet stores a library of your music, like most other players. The most common things the library needs to do, and therefore the most efficient things it should do, are 1) get a list of songs in the library, and 2) check to see if a song is in the library (or equivalently, given some handle, retrieve the song with that handle from the library). Anyone familiar with Python will probably think of a dict keyed to something unique, like the filename or URI. That’s what I did, and that’s what I wrote. When QL saves, it serialize the song list using pickle, and dump it to the library: pickle.dump(library.values(), file). When it loads, it does something like for song in pickle.load(library): if song.valid(): library.add(song) where song.valid() reloads the song if its mtime has changed or removes it if the file no longer exists. So what’s the problem with this code? I sure didn’t see one until this morning, when our Italian translator complained about interestingly long cold cache startup times. The answer’s at a lower level than Python programmers usually have to work at: This sucks for disk cache. library.values() dumps the file in Python dict order, which is not only not meaningful, it’s actually semi-random for security reasons. When I reload the dumped file and iterate through the songs in it, I’m stat(2)ing files in an order designed to be as unpredictable as possible. How is the cache supposed to cope with that? The answer is, it doesn’t. Sorting the songs by filename when saving the dict costs almost nothing (Python out-sorts every other language as far as I know), but saves 10% wall clock time for me when starting - it will probably save even more on filesystems that perform poorly on stats of large files (reiser3), and directory trees that go more than 2 levels deep. Lessons learned: First, CPU profiling is good, but doesn’t have all the answers; profile.py insists the program is slower because of the sorting on exit. Second, ideas that work fine for n=100 don’t work well for n=10000 even if the algorithm you chose scales well with regard to complexity theory. Finally, the fundamentals still matter; fixing slow Python code still makes you consider OS/hardware-level cache effects.

Mike Hommey: Firefox 1.5final approaching

… and for now, it’s 1.5rc2 that got in experimental. I made some changes to the firefox wrapper script so that it should be quicker to launch firefox in most cases. We don’t try to find the JVM version, since the ones we wanted to set LD_ASSUME_KERNEL for have been ABI incompatible for a while, and we don’t remove the XUL.mfasl and other problematic files since it is now correctly (I hope) by firefox itself. And if bugs arise again, we’ll try to fix in upstream code, not in wrapper script… I also fixed the dash bug and another one in xpidl. For what it’s worth, I did some testing with JVMs and firefox. I got success with On the other hand,

Martin F. Krafft: Seeking a multifunction printer

As I will be operating from a home office from now on, I am looking into getting myself one of those multifunction printers, to be able to make photocopies and the occasional scan, in addition to my need for good and fast printouts. A fax option would be nice should I decide to get a land line again. But the quest is painful. The first decision is between ink and laser. Since I would like to print mainly text, a laser seems like the better choice, and the HP LaserJet 3030 or HP LaserJet 3380 seem interesting at first, but both apparently suffer from "unimpressive print quality." So then there are the HP Color LaserJet 2820 and HP Color LaserJet 2840, but I don't think I will be needing a colour laser printer anytime soon, and these printers are said to be loud and slow, and the scan quality is mediocre. Other laser multifunction devices include the Brother MFC 7420, which is mediocre at best. So, onto the ink jets. The HP PSC 2355 looks interesting (and it's cheap). But it's crap at scanning and lacks and automatic document feeder, something I'd really like. So, staying with HP for two more, there are the OfficeJets: 7210 7310, 7410, 9110, and 9130. Here, the 7410 seems like the clear winner, and it also does duplex printing, but it's way expensive. Plus, it uses the braindead HP b/w + colour dual cartdridge system, which is not very economic at all (and HP enforces HP cartridges with a chip, so printing will be expensive in the long run). ... this brings me to the final three of the printers I looked at: the Canon Pixma MP780 and MP800, as well as the Epson Stylus CX6600. These all have separate cartridges per colour, which seems to me to be way more economic. The MP780 has an automatic document feeder, the MP800 does not. If I were on a Windows machine, my choice would be between the Epson Stylus CX6600 and the Canon Pixma MP780 . Unfortunately, linuxprinting.org doesn't list either of them, so I am somewhat hesitant. While I expect all HP printers to just work with Unix these days, I am not sure about Canon and Epson at all -- CUPS does not list them as supported, although gs has an epson driver it seems. ... and when I am done figuring out which device can be used as a printer from Debian, I'll have to look at the scanning. Unfortunately, Sane does not seem to support any of the printers mentioned above. What a joy. Fucking manufacturers. (If you have any thoughts on that matter, please let me know.)

Julien Blache: X, Emacs and PHP : I m tired.

I’m getting increasingly tired and frustrated by the inability of X, Emacs’ php-mode to properly indent a mixture of PHP and HTML. Mixing HTML and code inline was, like, a feature of PHP. And the fucking mode can’t deal with it. Tired of that shit. Found mmm-mode and HtmlDeluxeMode on the Emacs wiki. Sort of worked in XEmacs, but the cure is worse than the disease. Doesn’t work at all in Emacs. (on a Sarge system) Still looking for a solution. At that point, using another editor is an acceptable solution, but it must not require X. If you’ve got any suggestions to share, do not hesitate to mail me. Vi vs. Emacs trolls don’t count ! :-)

Matthew Palmer: Do we need a licence to *use* our software?

Note: All of this is specific to Australian law. Similar principles may apply elsewhere, but I've got no idea where, if any, they might apply. Also, I'm not a lawyer, nor do I play one on TV, and my writings here (and for that matter, everywhere else) are for entertainment purposes only. If swallowed, do not induce vomiting. In the middle of a cogitation this morning, my thoughts turned (as they occasionally do) to the much loathed EULA for Nobody's Favourite OS. As we all know, this EULA is pretty brutal in the things you agree to allow other people to do to your machine, and the rights you agree to give up. As I was, in general, thinking about issues of copyright law, the EULA got looked at through copyright-coloured glasses. And it was... weird. As we all (probably) know, copyright law is about limiting the actions that can be performed with a work of creation, and giving the author of the creative work the ability to be the sole arbiter of who can perform those actions. The Australian Copyright Council has a nice information sheet on Copyright and Computer Software if you'd like to get the full story. The set of actions which the Copyright holder has exclusive rights to is fairly well proscribed. The statement "All Rights Reserved" doesn't mean "every possible right is reserved", it means "those rights which I can control (by virtue of the legally-protected monopoly of copyright law) are reserved". As far as I can tell, there is no right which allows the copyright holder to control the use of the creative work. It's important to think about what "use" actually means. The Copyright Act and the above info sheet tend to apply the word "use" to include the act of making copies, as well as other dealings (protected or otherwise) in the copyright work, but that doesn't seem particularly useful for this discussion, because I can't think of another appropriate word to use to describe a non-copying action involving the work. So I'll stick with "use" for that, and go with "copying" for any duplication. Obviously, the type of work that we're looking at determines what "using" that work means. A book is read, or perhaps burnt for warmth. A picture is stared at. A computer program is run. I can't find anything in Copyright law that covers reading, burning, or staring, but section 47B of the Copyright Act 1968 (Cth) deals with the "normal use or study" -- basically, the act of using the thing. It says that users are allowed to copy the program into RAM to run it[1]. Goody. So far, it looks like there's no way the copyright holder can stop us from running our legally acquired copies. There are two flies in the ointment, though. The first is s47(2)(b) of the Act:
(2) Subsection (1) does not apply to the making of a reproduction of a computer program:
[...]
(b) contrary to an express direction or licence given by, or on behalf of, the owner of the copyright in the computer program to the owner or licensee of the copy from which the reproduction is made when the owner or licensee of that copy acquired it.
Aaaargh! Does this mean that the copyright holder can force a licence on us, against our will? I really don't know the answer to that. Hopefully, at the very least, the protections of contracts law[2] would apply to such licences. If licences can be treated as contracts, then they can be rejected. If the copyright holder can't restrict the running of a legally obtained copy of the program, then how can they compel the acceptance of a licence? One idea that comes to mind is the process of installation. That is neither an incidental nor an automatic copy, and hence doesn't fall under the allowances of s47. So, without the permission of the copyright holder, making an installation from CD to your hard drive would seem like an infringemnet. On the other hand, the installation program usually runs directly from (for example) the CD, and if it wants to make copies of other copyright material owned by the same person or company as part of it's ordinary operation, then who are we to stop it? But back to the idea of compelling acceptance. Looking at the XPToy Retail EULA for a moment, part of the agreement is that you agree to be bound by the terms by the action of installing, copying, or "otherwise using" the software. But if you don't agree to any of the EULA, I'm not sure how you can agree that you agree to be bound by the EULA by performing an action which the copyright holder cannot restrict you from doing. On the other hand, perhaps I've drunk too much of the GPL "You don't have to accept this licence, but nothing else gives you the right to copy this software" inplied-licence-acceptance kool-aid, and there is provision in law for licences to specify other positive means of signifying acceptance. I know that contracts can be accepted by written agreement between the parties, and with a suitable verbal exchange, so perhaps you can add "Installing, copying, or otherwise using" to that list. I wonder if "You agree to the acceptance of this agreement to give me your first-born child by blinking within 15 metres of me" would be valid? No, I didn't think so either. Does anyone know where the descriptions of permissible means of agreeing to a contract are defined in Australian law? To get back on track, let's assume for a moment that we can refuse the EULA. Can we still use the software? s47(2)(b) says we can't contravene licence terms, but if we can refuse the EULA then it doesn't look like there are any licence terms. So we're back to relying on s47(1), which says copying for running the program isn't a problem. If you can avoid accepting the EULA, and don't do anything otherwise naughty with the software, I can't see how anyone can have any complaint, in Copyright law, with your actions. Of course, the next trick is to avoid clicking-through the EULA "you accept" notice without falling foul of any other provisions, but if we've already knocked the paper-EULA on the head with contracts law or something, then I don't think that your click-through acceptance (coerced, as it were) is going to worth a hell of a lot more. I know the DMCA in the US did a lot to strengthen the power of click-wrap licences; perhaps those provisions got written into AusNSFTA. Of course, this whole thing is based around a lot of conjecture and a lack of real, detailed knowledge of the law. Perhaps there's even some bits of the Copyright Act I've missed. I'd be interested to hear your thoughts on the matter. Do we need a licence to use software we've legitimately purchased? I'm interested in your comments. E-mail me at mpalmer@hezmatt.org.
1. I'm not quite sure why this is so majorly different to a person with an eidetic memory reading a book, but I guess it's better to cover the issue to stop lawyers getting richer. 2. There's all sorts of goodies in contracts law, from what I recall -- prohibitions against coercive contracts, and contracts presented as a fait accompli (AKA "take it or leave it") without any ability or intention to negotiate. Certainly sounds like a EULA to me...

Jordi Mallach: The East Coast Road Trip

Tomorrow I leave Montr al, Qu bec and Canada and will move down to the US, on my way to New York City. This part of my stay in North America is a bit (others would rather say "totally") improvised, and the plans are not too accurate even now, 8 hours before our departure. The first idea for this was to travel on a night bus from Montr al to Boston, meet mako and mika and then move to New York City during the weekend. The unavailability of any buses that did this route in less than thirteen hours made me look for alternatives. Chatting with mdz, I found out he was flying with Mark and Jane to NYC very early on Friday night, on the private jet. Sounded like a plan. Only it had a big flaw: non commercial flights entering the US require visas for everyone aboard, apparently. If you don't have it, the reports say you're really, really fucked up. So, having no visa as I don't need it in normal conditions, this was discarded too. Finally I learned that jblack was driving down to Pennsylvania after the conference. I asked him if it was possible to go with him on his way South, and he said yes. He could drop me in the nearest point to Boston, or drive me straight to NYC. As NYC is the easiest for me and jblack and Clint has no problem with hosting me one extra day, that's what we're going to do. (After having everything more or less clear, Paul Sladen came along and proposed yet another plan involving a bicycle and hitch-hiking. I was able to say no, though.) Here starts this crazy road trip. Wish me luck, and see you in NYC!

10 November 2005

Joey Hess: BBS

Sometime over the years, I've managed to forget, or block out, most of my memories of the time in high school when I used BBSes, before the internet. Even though I still have friends from back then, and even, come to think, host a rack of computers at the house of a guy who was once a sysop. Those couple of years (how many?) are mostly a blank, and not something I think about much. I can't remember the first time I used a BBS. I can remember clearly and crisply the first time I used a unix system. A bit of it came back when I didn't pirate the BBS Documentary, an epic 8 part series of interviews with the people who brought us the likes of XMODEM, fidonet, pcboard, and ansi art. Highly recommended. Amazing how just looking at so many of the people immediatly reminds me of the BBSers I knew at the time. Its producer, Jason Scott, also runs textfiles.com, a huge collection of all sorts of text files from the 60's through 90's, which mostly originate from old BBSes. His historical bent in preserving and documenting this stuff really appeals. I poked around the net today, managed to find some docs about one BBS I remembered using, and nothing about a couple of others. Logged into a telnet BBS or two and remembered just how angry fruit salad and silly to use those systems really were, and also how much they probably contributed to my enduring enjoyment of unix, muds, and email. I thought it would be nice to not forget about this stuff, and so I coded up a reminder, merging the ancient plain text files with what's currently new and spiffy (weblogs natch), and creating this webblog which has a random text file posted to it each day. Of course, the subjects range from anarchy, to programming, to phone phreaking, to porn, so view at your own risk, just as if it were 1992, and you were were dialing a number your war dialer had found while you were away at school. Would you like to play a game?

David Nusinow: Modular Server Debs!

I've been relatively quiet lately because I've been plodding along, working on modular packages for Xorg. For those who don't know, the next release of Xorg will actually be two releases of the same code. One release, 6.9, will be based on the old monolithic build system. This system requires me to build every single part of Xorg whenever I want to update any one part. This means that whenever I push out an Xorg fix, no matter which component it's in, you have to download all the other components even if they are 100% identical to the previous version already on your hard drive. We've all lived with this for a long time, and while it's not pleasant, we all seem to get by. The packaging apparatus for this system is mature, stable, and well understood, if complex. That's why I've been able to get the 6.9 release candidate packages out to experimental fairly quickly after they are released.

The other release happening is for 7.0, which is obviously a major version number bump. The actual code you run for 6.9 and 7.0 is 100% identical, but the build system has been totally rewritten around the venerable autotools (you know... configure /make/make install). Each piece has been split out from the others so that you can build any one component without building all the others. This means that if we want to ship a driver update, you don't have to download all of the fonts and other things that weren't touched. That also means that you won't have to install the drivers for cards you don't own if you don't want them. Furthermore, it lowers the barrier for things like hacking on X significantly.

The problem with the modular tree is that the packages for it are brand new. Ubuntu shipped modularized versions of the libraries, and I've already stolen those, fixed them up for Debian, and built them locally (they're sitting in our svn repo, but running them won't get you anything at this point.) The server and driver packages are brand new, and I've been taking the packages from Ubuntu's development branch and working on them for Debian. Today was a milestone day because in addition to the libs, with Daniel Stone's constant help I've finally managed to build packages for the modular X server itself. Now I can't run it yet (I haven't packaged the drivers and a few other bits) but the fact that I managed to produce what will be a functional server package is a huge step, and constitutes the cornerstone of the whole thing.

Once we can create packages that can actually run on at least the machines of the XSF, we can start looking at getting the packages in to the archive. Since these aren't well tested like the monolithic packages, we'll have to do a lot of polishing to get them to the same level of quality. My goal is to get that done for etch though, and I think we can do it. Exciting things are happening, and I'm hoping that the modular packages will encourage more people to hack on X, leading to even more exciting things. Build that momentum.

9 November 2005

Joshua Kwan: Linux fails

My CS61A professor is usually very retro, and uses a VT220 connected to our lecture hall projector to page through Scheme code as he gives his lectures. But today he threw us a curve: he brought in his Thinkpad X-series laptop running Fedora Core. It turns out that some ridiculous networking library for our implementation of Scheme somehow requires an X display to function correctly, and VT220s hardly have support for anything close to X! So, what worked initially? Nothing. I came down to offer my services. Well, there’s still a ways to go..

Aigars Mahinovs: Now I am getting a bit photoestatique - my Canon E...

Now I am getting a bit photoestatique - my Canon EF 100-300mm f/4.5-5.6 USM lens has already arrived and my Canon Digital Rebel XT (350D) with the kit lens and a 1 Gb Compact Flash card has shipped from USA today. When it arrives, I will go to a local shop and buy myself a Canon 50mm f/1.8 prime lens. With that my new photographic kit will be complete. Finally!
Now, I must reserve next weekend to image hunting activities...

Next.

Previous.