Search Results: "ina"

11 October 2006

Ben Armstrong: Ideal mobile text-editing device

Dear Lazyweb, I’m looking for a small, (easily fits on my lap on the cramped seat of a bus,) inexpensive, (around $100 CAD,) mobile text-editing device with a 90%-sized keyboard and decent battery life that runs an open source OS and Vim, and that I can sync to my desktop system. My first mobile device was a NEC PC-8201A, circa 1984. It ran on 4 AA NiCad batteries which I hardly needed to change more than once a week. At the time, it was my ideal mobile notetaking device. Its near-full-sized keyboard, Wordstar-compatible text editor, terminal program and serial interface allowed me to take notes which I would sync to my father’s Mac at home or to the VAX at the university. Today, my mobile computing needs have hardly changed: text editing is almost all I do. I don’t ask for much of a display, but as an 80 to 90 wpm touch-typist, I won’t settle for anything less than a near-full-sized keyboard. I’d prefer a system that runs Debian, and Vim is a must. Some means of easily synchronizing the device with my home system is necessary: PCMCIA wireless-B would be ideal, but is not a must-have. At the moment, I’m using an old Zaurus (not Linux-compatible) ZR-5000 which has good battery life but a very cramped keyboard, poor software, and no functional means of synchronizing the device to my PC. OK for jotting down quick notes, but frankly, I’d rather have my PC-8201A back again. I could at least type on it and sync it across the serial cable. I took a brief look at various Psion models, but they appear to be near-impossible to find. The HP Jornada 720 looks intriguing. And the NEC Mobilepro 780 appears to be another possibility. Have I overlooked anything? So, suggestions please.

10 October 2006

Russell Coker: day 3 of beard, and the gimp


Right now I'm just starting to break new personal records for hairyness.

I've been surprised that the GIMP isn't as difficult to use as I had previously thought. I particularly like the preview feature for saving JPEGs. I can use a slider to set the quality of the image and see a preview of viewing the file before saving. In the past with less capable software I used to go through a laborious process of saving a JPEG, viewing it in a separate program, and then repeating until I achieved an acceptable balance of file size and quality. Now I can adjust the slider and see what the result would be in terms of both quality and file size.

Recently I was doing sys-admin work for a company where Windows was the desktop standard. Often we had to send around screen-shots of various problems and the way of doing this was to use CTRL-PrtSc to copy an image of the window in question and then paste it into a MS-Word document because the Windows image had no other program that was capable of dealing with image data. One significant problem with MS-Word is that it doesn't allow expanding the image or modifying it, so you see it at about half the original resolution. It seems that what I should have been doing is pasting the image data into the GIMP and then saving it as a PNG file (PNG is loss-less compression which avoids the ripples you get from JPEG compression of text and it's also very efficient at compressing the regular data that is typical in a screen-capture). PNG files would take much less space than MS-Word documents and allow efficient viewing by many programs (including web browsers which are on all machines).

Matthew Garrett

So it's been pointed out that since I'm no longer terribly involved in Debian, I possibly shouldn't be on Planet Debian nowadays. So unless there's any violent objections I'll ask to be removed at the end of the week - my RSS gunk is at http://mjg59.livejournal.com/data/rss for those who want to read my delightful prose in any case.

Anyway. Some token Debian-related content. Mozilla corp are unhappy with Debian providing a package called "firefox" unless every patch provided has been approved by Mozilla in advance (there's also some stuff about the logo, but that's basically a bizarre corner aspect of the same problem). I'm not going to argue against this on philosophical grounds - it's clear that that isn't going to change anybody's mind. Instead, let's compare this to some other major applications:On the Mozilla side of things, the closest I can really come up with is cdrecord. There's some pretty strong parallels (upstream being unhappy about various patches, requiring a sufficiently different work to have a different name), but the end result in the cdrecord case was that we ended up with an application that was poorly integrated with the rest of the Linux environment for the sake of remaining consistent across different operating systems.

I'm not saying that that's going to happen to Mozilla. But we've seen numerous cases where allowing vendors to distribute derived versions has encouraged development and testing of new ideas, and I think in most cases that's resulted in benefits to the upstream project. The fundamental problem with refusing to allow patches that cause significant deviations from upstream behaviour is that it makes it impossible for anyone to actually get things like UI experiments into the hands of users. With Gnome, if upstream don't like your idea you have the opportunity to prove them wrong and possibly change their mind. With Mozilla, if upstream don't like your idea you're pretty much screwed. Most distributions are going to be unhappy about losing the magic Firefox branding, so you're unlikely to sell them on it. And you're not even allowed to provide binaries or source on your website unless you've renamed it away from Firefox.

I think the Mozilla corporation are missing something here. We shouldn't be prizing cross-platform consistency over integration and innovation, and we certainly shouldn't be doing our utmost to make it difficult for people to experiment with code. There's a reason that cd writing under Linux has been sucky for years, and it's not because people lacked the technical ability to make it better.

[1] Ok, the X.org case is slightly confused by the fact that they are upstream now. But without the ability to fork under the same name, they wouldn't have been.

Edd Dumbill: The most chilling word in contemporary English

"Inappropriate."

Evan Prodromou: 18 Vend miaire CCXV

I've been a fan of the Open Directory Project for a long time. I finally volunteered to become an editor about a month ago, and I just started editing my first category, wiki farms , today. I hope to get the category up to good shape in the next few days. I've now got an ODP profile, too. tags:

Hudson Maj, Amita June and I went down to wt:Hudson (New York) over the weekend for the wedding reception of our friends Morgan and Kate. The trip down was fantastic -- the colors in the wt:Adirondacks were really amazing, just hitting their peak. Amita June had a good drive, too: she got to look around a lot, listened to some music, and had a nap of about an hour and a half. Hudson was a cute town, but not cutesy like other parts of the wt:Hudson Valley can be. The town is small -- 4-5 streets wide -- with big brick buildings lining the main street down to a promenade overlooking the Hudson River. There are a few gourmet restaurants and a disproportionate number of art galleries and antique stores, but it doesn't feel like the locals have been pushed out of their town... yet. We stayed at the St. Charles Hotel, as arranged by Kate's stepmom for most of the guests. It was functional and clean but otherwise unexceptional. There was a bar and a restaurant downstairs, and the hotel itself is just opposite a nice little park. Sunday morning we had breakfast at the Earth Kitchen organic market; I had a bowl of granola and fruit, Maj had a huge plate of huevos rancheros, and AJ ate whatever she could get off our plates. We walked around town and down to the waterfront, where we got a panoramic view for miles up and down the Hudson Valley. With the leaves nearing their height of color, it was an awe-inspiring view. We took a late lunch at Mexican Radio, a branch of a restaurant by the same name in Manhattan. It had good quality California-style Mexican food, with a few fusion dishes (like "Mexican spring rolls") that were probably overdoing it a bit. The margaritas were top-notch, and they have a tequila sampler option with three excellent tequilas for... $125! You won't normally lose that much money on three shots of tequila unless you pass out in the gutter in wt:Nuevo Laredo. The reception itself was at the Ca' Mea restaurant, right next to the historic Hudson Opera House. Kate and Morgan were in good form, playing goth-y music from their early days, and family and friends had a good time too. We all probably ate too much, and Maj and I both had hangovers the next morning. Amita June, however, had an excellent time running around the party and dancing with the bride. She was made for weddings. The drive home the next day was less than optimal. We did brunch in the St. Charles's restaurant, Bridges, and then stopped by the house of Kate's dad and stepmom for an afternoon get-together. They have a really nice Victorian house on a hill above town that overlooks the valley. We had to leave after only a few minutes, though, since we'd been lucky enough to get guest-listed for the Massive Attack show in Montreal that night. Trouble hit us as we were coming up the 87, though. First, the baby refused to sleep, getting more and more hysterical the longer she went awake. By 4:30PM, we'd had to stop so many times to soothe her that we were starting to get worried about the time. Then, we hit a detour on the interstate -- a huge accident had happened going through the mountains. We got into a sluggish line of cars wending its way along highway 9, and by the time we were back on the interstate we knew we were going to be late. We decided that luck was against our going to see MA, so we called and canceled our baby-sitter and sent email to our friend DJ Ghostbeard who'd asked us to come to the show (although we didn't get a call through... his voicemail box was full). We stopped at Geoffrey's Pub in wt:Plattsburgh for a late dinner of blackened salmon, broiled seafood and mashed potatoes, and then got back on the road. ...and straight into a 2-1/2-hour line at the Canadian border. This weekend was Canadian Thanksgiving, and apparently a lot of people took the opportunity to dip down into the states for a last bit of outdoorsmanship before the winter frosts settled in. Amita June, already a little frantic from not sleeping, went completely ballistic, and although we managed to keep her mellow most of the time, 2 hours in a line of cars with a crying baby is a little bit much for anyone. We didn't get back to Montreal until nearly midnight. It was great to get home, finally, and as usual travel's made me appreciate staying in one place. The Gazette this morning says the Massive Attack show was excellent, but I'm glad we didn't try to make it -- coming in 4 hours late is just too much. We're off to wt:Halifax next weekend for our wedding anniversary, and hopefully we'll be back into travel mode by then. tags:

Destinyland Dave Cassel has an excellent list of the 100 Greatest Internet Moments. A great compendium of Stuff What Happened over the last 10 years in cyberland. I think Dave's one of the best Internet culture observers out there. I'm glad to see he's got a new podcast, Destinyland, in which he tears apart the weird media culture we live in. Example: the crazy spiral of Dana Plato. Example: Schoolhouse Rock: Behind the music. Example: Dark side of the Hampster Dance. Good stuff. tags:

Erich Schubert: Cluster computing with AJAX (aka: ajax-seti)?

Ajax has shown how viable it is to run client-side computations, while just downloading the raw data from a server. But Ajax is not restricted to doing fancy user interfaces. It should easily be possible to use an iframe based ad to use the CPU power of page visitors to do some large-scale computations. Can you imagine how much processing power Google could churn up by having its GMail users do some distributed computing? Or on YouTube. While the user is watching the video, a javascript does some calculations in the background. By keeping data in a cookie, your calculations might even be able to survive page reloads. And if you're running a large ad network such as Googles', you might even be able to dect user inactivity. Update a cookie whenever the user comes onto an adsense page; if he didn't go on such a page for 30 minutes assume the user is idling and start computation. If he leaves open his web browser over night you'll get a lot of CPU cycles. (Yes, I know that Google is supposedly not in desparate need for free CPU cycles...)

9 October 2006

Jonathan McDowell: Progress with the Balloon

Way back at Steve's Debian BBQ I had a late night conversation with Wookey about the fun I'd had hacking on the E3 and how gradually getting more bits into the linux-omap or mainline kernel gave me a bit of a kick. And he talked about the Balloon and how someone who would do that for it would be quite useful. I, of course, foolishly volunteered if presented with suitable hardware. The next day came and I thought no more of it until the following weekend when I got handed a board. Ooops. I got stuck for a long while fighting with the major NAND changes in 2.6.18, but thanks to Vitaly Wool's YAFFS cleanups eventually got a board that would boot and mount the rootfs. This allowed me to start looking at drivers. Today I finally got USB host working. In addition I have the CF slot working (and have had networking going with my CF network card [which doesn't bloody get detected if the dongle isn't inserted. Grrrr.]). As far as I'm concerned that's significant progress (even if it's largely been as a result of being able to use Nick Bane's existing work). The main item left to get working on my board is USB client (sa11x0-udc), so that's my next task. I have a driver but unfortunately it doesn't seem to want to work. I shall kick it. I've also got LED and I2C drivers to write, but they should be a doddle.

Erich Schubert: How bugs shouldn't be handled

On #debian.de, someone looked for an application to record the screen. So I tried finding the appropriate applications. On first try I found istanbul, but I remembered there was another one. I looked at the description of istanbul and tried searching some more. I remembered it was a city name, too, so I googled and finally found byzanz, too. Thus I filed a wishlist bug (#391860) on byzanz and istanbul to unify their descriptions, and maybe both use the terms "desktop session record" and "screencast". The bug on "byzanz" was immedeately closed, with no discussion taking place. Pretty much a "I like my description, closing the bug". This is not ok. It's just a wishlist bug. There is no harm in keeping it open anyway. And the package description is something you can always improve. Maybe tag it wontfix (however the next maintainer might want to fix it, after all). But just closing it twice (I reopened it once, stating that it is not fixed and thus shouldn't just be closed; I don't play bug ping-pong) without any discussion is not okay IMHO. To me this is just arrogant: "I don't want any wishlist bugs on my packages, and I don't care for your opinion." We've now been talking a bit on IRC; and it'll eventually be fixed on the next upload. But still I'm pretty annoyed by this reply I got back to the bug report... I think what helped is that the official description says "Record your desktop session to a GIF file", which contains exactly the word combination I was missing... "session record", because I'm not recording audio. Maybe the description should also contain the word "application", because after all that is what I'm very likely to want "record" an "application" (and not my full desktop). [Update: he didn't close the bug a second time. This was to a delayed email processing on bugs.debian.org, which processed the -done message after my reopen command. Sorry about this inaccurancy.]

Andree Leidenfrost: New Upstream Mondo Rescue Packages

I have just uploaded mindi and mondo 2.20 (version numbers are now the same for mindi and mondo).

This release marks a bit of a milestone in that we can ship the pristine upstream source in Debian for the first time because the busybox binaries were removed upstream. This together with the numerous bug fixes and stability improvements and combined with the fact that there are no revolutionary new features (despite the version number jump) made me decide to try and push the new upstream version into etch.

'Try' because although I've tested things quite thoroughly on both amd64 and i386, there is always a residual risk (one of my favourite alliterations ;-) ) of something bad slipping through. I think that taking this risk is justified, though, because 2.20 should be a definite improvement over 2.09. Bruno and I worked really hard to get this released in time for etch (Thank you, Bruno, for making my priority your priority!).

While testing, I found #389931, #389729 and #390653 (Thanks for your great help, Russ!). I've also found that archiving to tape doesn't work for me (still gathering more information, so no bug report yet), but it also fails with 2.09, i.e. there is no regression.

Main testing was performed on:
Oh, and this also contains the fix for RC bug #391127.

People seem to be using Mondo Rescue on 'vintage' versions of Debian which is presumably due to Mondo Rescue being disaster recovery software. So, I've made a change to post-nuke suggested by Augustin Amann (Thank you, Augustin!) to make people using the latest packages on sarge happier. I'm still in two minds about adding versioned depends on grep and binutils to make the life of woody (!) users a bit easier as well.

Wouter Verhelst: On Firefo^WIceWeasel

Recently there's been some awe in the Free Software and general Linux world from several people over the fact that Debian is dropping Firefox from its distribution, and planning to replace it with GNU IceWeasel. Personally, I don't see what else the Firefox maintainers should do. While I can understand the Mozilla people's concern over modified (read: possibly trojaned) versions of Firefox and that they need to protect their trademark against abuse, I can't believe that there can't be a better way to handle this than to require review of every patch in the Debian package. After all, packaging a browser requires more than just writing a script that gets it compiled and that gets the compiled stuff in the .deb archive. There is also branding to be done—the Debian firefox package contains a search engine for Debian packages. I doubt this is part of the original firefox source, and there are more things. Additionally, sometimes you may have to change stuff so that it works with the specific quirks of the Debian distribution, or other things. Finally, in accordance with its published policy on the matter, the Debian distribution also wants to be able to distribute security-patched versions of Firefox after Debian Stable releases; and we want to do that not just by throwing in the new version of Firefox, but by using the older version, patching it so that the security bug (and only the security bug) gets fixed, and releasing that. We can't use the official mozilla.org/mozilla.com source for that, since they cease security support after half a year or so (which is, by far, not enough for Debian); and the discussion in the bug report on the matter does not inspire confidence that we would be allowed to release a security-fixed version of firefox and still call it firefox. The alternative would be to forget about our own security releases and ceding to the braindead mozilla.org/mozilla.com security policy, but I have a pretty public opinion on that one. So that leaves us with not adhering to their braindead trademark policy, which requires us to choose another name. And as it happens, there already appears to be a piece of software that not only is a forked Firefox, it also drops non-free software from the release, something which Debian has to do anyway. So why not use that instead? BTW, yes, I did call their trademark policy braindead. No, IANAL. But you don't have to be a lawyer to see that doing something like the way Debian manages its trademark—you're not allowed to call it "official" unless your product is bit-by-bit the same thing as what Debian produces—is sane enough without being a nuisance like the firefox trademark policy.

Wouter Verhelst: Go Antwerp, Go!

Yesterday was Election day in Belgium; 318 municipal governments were elected, along with 5 provincial governments (of whom nobody really knows what they do) and in some large cities (such as Antwerp, where I live) also district governments. One secret hope I had was that the extreme-right Vlaams Belang party would not get any more successful than they already are. The good news is that they in fact didn't. The bad news is that they didn't lose any votes either. They gained .6% (or so) on the 33% that they already had, which basically is a stagnation. The very good news, however, is that Patrick Janssens, defending mayor of Antwerp, gained a good 16% in votes to arrive at 35%, becoming the largest party of Antwerp. Finally, sanity is beginning to return. Go Antwerp, Go!

Jeff Bailey: Inbox under control

I have my email inbox finally under control. I started with 3000-odd messages in my Inbox a few weeks ago, and decided that I wanted to get my Inbox truly down to messages I hadn't replied to but intended to. I had a few still from when we moved a year ago, and I got to the last of those today - and found out that she's on LJ as well (Hi, Peggy!)

After this, the only one that's not from sometime in the last past week is a message about HPPA ELF ABI documents and LSB.

With some luck I'll be able to keep it this way!

Daniel Jacobowitz: ALSA: Disasters, frustration, hacking, progress, and education

I have had, ever since I got my current desktop, been frustrated with ALSA support for it. The machine is an Shuttle SN25P (with ice1724 onboard 7.1 sound card); it's otherwise very nice. I've had it for a bit over a year. When I got it, I lost several long weekends to hacking on ALSA and peering through asoundrc files, gstreamer and gnome-control-center source code, and other such things. There were two basic problems. One was that no matter what I did, I couldn't get the back speakers to play independent channels. Generally they mirrored the front speakers. The other was they adjusted volume based on the headphone mixer, rather than the master mixer - especially aggravating because muting the master mixer left my music still pouring out of the rear speakers! I filed a bug in the ALSA tracker, but didn't get much feedback, and eventually gave up. Last week, someone else seconded the bug. A helpful fellow responded and pointed us to a couple of basics, like the ALSA datasheet archive (very handy, since as far as I can tell a lot of them aren't available elsewhere, at least without NDAs). We spent some time poring over those. One of the interesting things I learned this weekend: there's a bunch of independent chips involved in onboard sound, in my case three. One seems to do communication between the computer and the analog-digital convertor, another handles the actual conversion (AC97 compatible in this case), and a third (I think...) handles the remaining two channels for 7.1 support since the second one only seems to do six. Digression time. Unfortunately one of the things he asked us to check was physical connections between the chips, and whether there was an onboard EEPROM... and somehow, in lightly applying enough compressed air to dislodge the dust, I got something wedged into the fan of my video card. Which began making a horrible rattling noise. And then when I attempted to clean it, I made it even worse. So at this point in my Saturday afternoon I had to go out and buy another one. The new one is marginally crappier than the old one, which was also pretty cheap, but the new one has the advantage of not needing a fan at all. Digression part two. While I was at the store, I picked up a Slug. I haven't unboxed it yet or gotten a drive for it, but I think I will in a week or two, and see if I can pick up some of Martin's excellent work in running Debian on one. I see that the IXP ethernet driver isn't working at the moment, maybe I can give Lennert a hand... At this point it was clear ALSA had eaten my weekend. So I came back to finish the job. The other reporter of the bug noticed a very interesting bit in the manual for the VT1617A (Via-manufactured AC97 codec) - which affected volume control and routing for the rear surround channels. I poked around in the kernel driver for a while, and discovered that the similar VT1616 chip exposed that bit as an ALSA mixer control (boolean switch)! So, wiring the two together was the next logical step. And suddenly I'd made a world of progress. I could hear things out the back speakers. Apparently - as far as I can tell anyway - no one has good solutions to this problem. I fumbled around with it for a while, wrote two more ALSA patches, and got manual configuration to use a software volume control (the "softvol" plugin) and mute switch which govern all channels. But I'm taking a break from that while I fish around for how this works on other chipsets. It's so immensely awkward that I can't believe there's no standard solution. I mean, is wanting your volume control to affect all your speakers such a rare thing? Anyway, this paragraph summarizes about six hours of beating my head on the wall. Most of this was at the asoundrc format, which is immensely picky, underdocumented, and seems like it really oughtn't to be needed at all. But apparently it is. During the course of this I got to learn how different applications decide which volume control to use, which was exciting in an exasperating and insanity inducing sort of way. You see, ALSA exports basically everything on the card as a "mixer control". There's some things which recognize volume controls by name, and some basic sorting by usefulness. xmms allows you to select any one control to use for its volume slider, which is nice. The GNOME mixer applet allows you to select any arbitrary _set_ of volume controls for the panel applet, which is even nicer. But it's at this point that, both last time and this time, I gave up in general rage. You see, the mixer applet is completely disconnected from the other and more useful way I deal with volume - the hotkeys on my keyboard, which GNOME also handles. But those go to gnome-settings-daemon, and a bunch of code labelled "acme". And this just adjusts the volume on the track which gstreamer (the GNOME audio management libraries) have marked as "MASTER", and that's done based on the order ALSA supplies the controls, which is done by a name-based sorting deep within the bowels of the ALSA library (it's in mixer/simple_none.c). And if you have two with similar enough names, it slaves them together. And nothing has a higher priority than the hardware supplied "Master Playback" controls. The best I could manage was to get the software volume control listed right after the master (in which case it wouldn't get adjusted at all), or adjusted in lockstep with the real master channel (which causes the front speakers to drop at a different rate from the rear speakers, messing up depth). Like last time, this was the point at which I gave up for the weekend. But this time I've learned a lot more and made a whole lot more progress! And written more of it down, so hopefully I have to rediscover less of it next time. I really was going to do a bunch of other things this weekend... but it just didn't happen.

Matt Brown: Per Client VLANs with Madwifi

I’ve written a patch for the madwifi-ng driver to separate each associated client into a unique VLAN. The patch only makes sense for use when the driver is in master mode being controlled by hostapd. Using this patch with WPA2/RSN you can acheive complete layer 2 isolation between associated clients. The patch does not support placing multiple clients in the same VLAN. Full layer 2 isolation requires that there is no broadcast or multicast traffic transmitted from the access point. To enforce this the patch mangles outgoing broadcast / multicast packets to be directed only to the node associated with the VLAN that the packet was received from. Clients can still send/recieve broadcast and multicast traffic without problems if you bridge them onto another layer 2 network. You must fully understand the consequences of this before using the patch. In the worst case scenario if you bridged the VLANs for each client together onto a common L2 network you will cause every broadcast/multicast packet sent onto that L2 network to be transmitted by the access point as a unicast packet to each associated client. If you have a lot of broadcast/multicast packets this is going to significantly reduce the performance of your network. This is a somewhat contrived situation as there is no point creating the VLANs in the first place if you’re just planning to bridge them back together, but I use it to illustrate the risks this patch can introduce if you don’t understand it properly. At this stage I’m not convinced that the patch is actually useful, and I’m not going to be proposing it for inclusion in the driver. You’re welcome to use it if you find it useful. Please let me know how you are using it and any problems that you run into. I don’t guarantee that I can provide support or assistance though :P The Patch How the patch works
One of the primary constraints I had in writing this patch was that the clients using the access point are not required to do anything special. From their point of view they are simply associated to a standard AP running 802.1x with WPA2. There are no 802.1q packets “on the air”. All of the VLAN functionality is handled within the driver itself. Inside the driver there is a node table listing every node that is associated. The patch adds an entry to each node record specifying a VLAN id for that client. By default this id is automatically assigned when a node associates, but it can be modified by wriiting to the /proc/net/madwifi/<iface>/sta_vlan file. As packets are moved between the kernel and the actual physical card by the driver 802.1q tags are added and removed as appropriate to ensure that the kernel sees every node in it’s own VLAN. The VLAN tagging code in the driver ignores EAPOL frames so that they are always sent to the base device where hostapd is listening. Userspace Setup
By default per node VLANs are disabled and have to be explicitly enabled

echo 1 > /proc/sys/net/<iface>/per_node_vlan

And you almost certainly want to stop the driver from bridging packets between clients

iwpriv <iface> ap_bridge 0

Then it’s simply a matter of creating the appropriate VLANs on the base interface using the standard Linux VLAN tools, eg:

vconfig add <iface> 4
Final Comments
I’ve tested the code fairly extensive and it works fine for me. It’s not particularly clean and the mangling of broadcast/multicast packets is a messy hack. You can achieve a very similar situation using PPPoE from the client to the Access Point without having to patch the driver to support per node VLANs.

Martin-&#201;ric Racine: Linutop - Internet for the masses

I promised last week that I would be telling more on October 1st, about the mysterious Project X that I had been sporadically blogging about over the last few months. Better late than never, so here's the story: Casablanca I met Morocco-based French entrepreneur Laurent Bervas via his blog in January 2006, while looking for countries nearby EU with a promising ICT market, because of growing obstacles in getting work in my field, due to my not being an EU national. By the time the situation had reached the ridiculous extreme that friends were continuously loosing juicy recruitment bonuses, simply because their employer's HR department had issues with hiring non-EU nationals despite EU policies that clearly favor foreigners married to an EU national I figured that I ought to do something creative and see which of the countries bordering with EU might offer interesting opportunities. Laurent was blogging about all the exciting opportunities he kept on seeing, since he relocated to Morocco to conquer the high-end Real Estate market. One day, he wrote about Morocco becoming a rising figure in the outsourcing business for the Francophone market, which prompted me to contact him. After a couple of weeks of discussion, he cautiously dropped his idea for a niche market he had spotted: a simple Linux-based set top box to surf the Internet. He then asked if I would be interested in developing it and in launching a startup with him to promote it. I gladly accepted. Startup That's when Laurent decided to introduce me to an old friend of his, Fr d ric Baille, who spent several years at Compaq, culminating with a role in the team that launched the iPaq. Fred's help was instrumental in defining the market positioning of our product. Laurent and I discussed the product features at length over IM and immediately agreed that the OS would be based on Free Software. That left the hardware part unresolved... or so did Laurent think. Years ago, I briefly worked in the management team of an Estonian data security startup. This gave me the opportunity to network with several movers and shakers of the Estonian ICT. Among them was a promising ASIC and industrial design startup that produced really cool Thin Client hardware. The answer to our hardware needs, I figured, could easily be fulfilled by them. My idea of contracting the hardware to Estonia was initially received with skepticism, so I made a simple proposal: why don't we hold the inception meeting in Tallinn and meet with the potential hardware supplier at the same time? Fred and Laurent accepted, so we spent part of April 2006 there, with me acting both as their friendly tourist guide and as the middleman for the introductions. Fred and Laurent immediately fell in love with Tallinn's designer bars, omnipresent WiFi network and blond-a-plenty. Most of all, their visit at our potential hardware supplier gave them the answers they needed: Estonia is IT. Overview The hardware we selected is built around the AMD Geode LX, a nifty Pentium-compatible single-chip computer. It comes equipped with VGA output and four USB 2.0 ports, along with high-quality audio via 1/8" input and output jacks, plus a built-in encryption engine. We added 100baseT Ethernet connectivity (with provision for other networking options) to that, to complete the platform. For the software part, we used ingredients from Debian's Etch release, focusing on a configuration that would enable easy access to the most popular applications for home and small business use: Instant Messenger (Gaim), Multimedia player (Totem), PDF reader (Evince), Web browser (Firefox), word processor (AbiWord). The result is this: Press Coverage The editorial team at IT-Neeger (an A-level Estonian ICT blog) immediately scooped the story [in Estonian] and it produced such a strong response that the traditional Estonian media contacted the IT-Neeger team to write a feature article (stay tuned for details). The local Slashdot, Minut.EE, also reported [in Estonian] on the IT-Neeger article. Thus, myself and Laurent Bervas spent the better part of this week being blogged, interviewed and podcasted by a variety of Estonian and French publications, which is how I only got around blogging this bit tonight. Marketing Contrary to our competitors, we fully intend on keeping this platform open, so our initial market will actually be Free Software developers with a penchant for innovation. As such, our first 50 units are exclusively intended for interested developers who want to improve upon our initial idea and participate in defining the final product. Inquiries are welcome!

Adam Rosi-Kessel: Absurd Copyright Law Case of the Day

I’m visiting my parents’ house in Vermont, where they finally got cable after the provider agreed to dig up the ground and run a mile or so of cable to their house in return for a two year subscription agreement. (I think after two years the cable company will almost have broken even on the cost of the installation). Having been absent myself from the cable world for some time, I am impressed by the variety of interactive and “on demand” options. My parents’ low-end package includes dozens of free on-demand movies and music videos, as well as built-in easy-to-use tivo-like functionality. The on-demand music videos show one brief ad before the video — it seems the tradeoff is that if you are really going to watch the ad, they can get more money and show you fewer ads. (Or, maybe I’m wrong — if it’s one ad per video, I suppose that would be more ads, but it feels like fewer because of the “on demand” nature. I guess it’s a perceptual trick.) Anyway, getting to the title of this entry. Anybody in the field of intellectual property these days has got to find Weird Al Yankovic’s music video for Don’t Download This Song (warning, myspace page, authorized by Weird Al!) (or, here) (warning, YouTube page, also authorized by Weird Al!) at least a little amusing. If you haven’t watched it, see it now. The opening verse goes like this:
Once in a while maybe you will feel the urge
To break international copyright law
By downloading MP3s from file sharing sites
Like Morpheus or Grokster, or Limeware or Kazaa
But deep in your heart you know the guilt would drive you mad
And the shame would leave a perminant scar
Cuz you’d start out stealing songs, then you’re robbing liquor stores
And selling crack and running over school kids with your car
On the cable video-on-demand channel, however, the names of all the filesharing services (Morpheus, Grokster, Limewire, and Kazaa), are all replaced with beeps, as if they were vulgarities unfit for broadcast. Or cable. If you had never seen the video online, you’d actually be likely to think this was another Weird Al joke — that he can’t even sing the names of (the mostly now defunct) filesharing services publicly. But I’m pretty sure the video was censored by the cable provider or distributor and the irony is wholly unintended. There are a couple of possibilities here. One is that the distributor was trying to avoid inducement liability under the Supreme Court’s decision in MGM v. Grokster. Could a funny song about filesharing actually meet the inducement standard? I sure hope not. The other possibility is that the distributor just found the references too abhorrent to leave in — basically the equivalent of the seven dirty words banned from broadcast TV and radio. Either way, if Weird Al were dead, I’m sure he’d be spinning in his grave. We’re lucky he’s still kicking. (“case” is kind of a misnomer for the title here, but is included for consistency).

8 October 2006

Petr Rockai: power management on a linux laptop

I have been using powersave until recently, but I have gone from unhappy to fed up. I also have acpi-support and laptop-mode-tools and hell knows how they all interact. To add insult to the injury, powersave loves to crash or get stuck at times and dbus screws up at times too, which in turn screws powersave. Oh dear. So i have ditched powersave, left laptop-mode-tools and acpi-support around. And i wrote a perl script, i have called it "pm" to handle things i used powersave for. Primarily dpm (device power management) in linux, suspend to ram/disk, battery monitoring and friends. Right now it's ~250 LOC with comments, and more importantly, i know how it works. And it can do things powersave can't. So i am basically happy. It can suspend and resume pci devices (using id<->function mapping) and report their status. It has a very slim suspend wrapper, that just locks screen, syncs drives, remembers power states of pci devices and asks kernel to suspend. After resuming, it restores power states, does chvt voodoo to wake up my intel graphics and sets drive spindown timeout (something, somewhere screws this one up). I also added a "summary" output, that i run using watch on one of terminals in my screen session, that reports cpu frequency and scaling policy, system temperature, battery state (including charge/discharge rate in watts and remaining capacity in mAh), harddrive state (when spinning, also temperature and number of spinups in the drive's lifetime... if you know how to get those two without spinning up the drive, tell me). Then power states of devices (usb, ethernet, wlan, sound, modem, pcmcia, smartcard controller and isa bridge). And as a cherry on top, a list of processes and pids that have recently caused block reads from the drive (needs vm/block_dump enabled in kernel), so you can find out what caused drive spinup. That is about it, now for the catch. It works for me, it probably won't for you, at least not out of the box, unless you have same laptop as me. The pci ids of devices are hardcoded (although not hard to change near the top of the script), so is the screen lock function and probably a bunch of other things. It shouldn't be hard to make a similar script for your system using mine as a starting point though. Another thing that is missing is a nice reporter for KDE to be put on the panel or somesuch. Also, since the script is simplistic in its design, it assumes lots of things about both kernel (tested on 2.6.16 stock debian) and userspace utilities (acpi, hdparm, smartctl) and (oh, coarse-grained evilness), that you have sudo (needed for hdparm at least). Another assumption is that you have single battery and single cpu. But for all the limitations, it goes that if you are going to use a script like that, you probably know enough to extend it to multi-battery and/or multi-core situations. The script definitely needs a hacker-nature :-). So for the brave, the script is to be found on the pm page.

Ian Murdock: Google Reader gets it right

Google Reader relaunched a few weeks ago, and for the first time since my initial foray into blogging with Radio Userland in 2003, I’m actually enjoying using an RSS reader. Why? River of news. Most feed readers inexplicably model the email workflow, presenting feeds like folders and feed items like messages. Given the state of most peoples’ inboxes, why on earth would you model email when you’re writing one of these things? Google Reader does river of news right. Simply click on “All items” and scroll through the items with the mouse wheel, clicking on the interesting stories (or reading them inline when the feed is full text). Google Reader takes care of marking the items read as they scroll past. Automatically. The praise doesn’t stop there. There are handy keyboard shortcuts (”n” for next item, “r” to refresh, etc.). Performance is excellent, as feed items are loaded on demand using AJAXy techniques. The look and feel is clean and simple, reminiscent of Gmail, down to easy to read timestamps like “9:53 AM (7 minutes ago)”; and, also like Gmail, there’s a mobile version. Intriguingly, you can sort by “auto” in addition to by newest, which presumably applies some sort of relevance algorithm to the feed items. However, it isn’t clear how it determines relevance (does it track my clicks as I scroll through the feeds, examine my broader search history, what?). Google Reader is a good platform citizen too. There’s a gadget you can add to your personalized Google home page, and gadgets, in case you missed it, are becoming full fledged web components as of last week. Oh, there’s an API too. Finally, in concert with Mozilla Firefox 2, subscribing to feeds finally no longer involves configuring a bookmarklet or, worse, the complex gymnastics of right click/copy link location/go to the appropriate URL/paste/subscribe. With Firefox 2, you can configure the feed subscriber to use Google Reader. As a result, you can now click on the feed icon in the address bar to subscribe to the site’s feed. In most cases, you can even click on a link to an RSS/Atom feed, for those sites that don’t have autodiscovery configured properly. My only complaint here is that it doesn’t remember that I want to subscribe in Google Reader; rather, it asks whether I want to “Add to Google Homepage” or “Add to Google Reader” every time. Ideally, it would show me a preview of the feed instead. I’ve seen Google Reader do that before, so perhaps it’s just a matter of configuring it to go to a different URL, though I’m not sure how to do that. So, what’s not to like here? As with most Google products, it’s not particularly well integrated with the Google platform. Indeed, in that particular post, I complained that there were three different ways of creating a bookmark in the Google platform. Well, there now appear to be four. If all of these mechanisms were integrated, that would be enormously powerful. See something interesting in the Google Reader? Click on the star and, optionally, add tags. See something interesting on the search results page? Ditto. See something interesting on a random webpage? Pull down a menu on the Google Toolbar and do the same thing that way. Want to add free form notes to any of the above bookmarks? Pop into Google Notebook. Naturally, all of these actions should result in the bookmarks/tags/notes/etc. being added to a single stream that can be shared with other users, with all of the resulting social network functionality. Etc. etc. etc. Sigh. I guess I have to be patient a little bit longer. Fortunately, Google sees the problem and is finally doing something about it.

Biella Coleman: My Reading

So people may be wondering, How does Biella pass her time in the vast, desolate Canadian north? Thankfully there are many things to do in Edmonton proper, but I have delved quite a bit into reading so I thought I would take a break and give small reviews of the books I have read or am reading as they are all quite good. I am trying to be more systematic about my reading habits so I am back to using citeulike. I am adding anything new I read and then as I go back to I have already read (for articles), I am adding them to the list also. I hope this pays off in the future! I started the reading bash with a book that was recommended to me over a year ago while I was still in Chicago: The Fugitive’s Property: Law and the Poetics of Personhood as it deals with the bread and butter of my own work, intellectual property, liberalism, market capitalism, and American history. I found the introduction enlivening and was sufficiently interested to continue on. I think there is not a lot of innovative work in the field of intellectual property (only because it has been covered very well) and to bring together slavery/the fugitive person and intellectual property under the same analytical lens, seems productive. Best looks at how the legal treatment of the slave and that of IP, hold striking parallels for their highly fugitive (formal) nature, driven and intensified by the legal/market framework that makes personhood into property. There is a lot of good stuff in there (including a fantastic discussion on legal positivism) but in the end, the labor it took to sift through some really obtuse prose was too much for me. I can’t remember the last time I languished under the heavy weight of language that was far too ornate and under sentences that just lacked clarity. This was compounded by the fact that he assumed you knew a fair bit about slave history, which I did not. My drive also escaped me and while I hope to return to it later, I took a break and turned to more readbale material. After such heavy linguistic ornateness, I needed an antidote, QUICK, and I knew exactly where to go: William Sewell and his book I had on my shelf also nearly for a year: The Logics of History. Along with being a first rate historian he is like that black instrument popularized in the 1980s by the likes of Herbie Hancock, and Brian Eno, he is a synthesizer with an amazing ability to write clearly. Being the synthesizer that he is, he is skilled at connecting the dots between various theoretical topics like event, structure, and agency, making the theoretical implications so crystal clear you feel happy to have entered into a field (the social sciences that is) that feels awfully arcane and pointless at times. I left Stehpen Best, which was like leaving a cluttered medieval castle and into a simply decorated room filled nothing with good theoretical feng shui (I think about writing in spatial terms more than ever). He just makes reading fun, even when the topics can be less than enthralling. Many of the essays were published previously and I had read a number of them, such as his famous essay on structure and agency. What I appreciated along with the great writing, was that he takes serious the question of plurality of social life within the net of various social, economic, political determinants. So while he assumes the existence of structure (and turns Marshall Sahlins to establish), he also is quick to show that structure, like a cultural system, can only act as partial (and unexpected determinants of social life) because of the existence and presence of events (which is really Sahlins great masterful point) but more importantly because of the plurality of structures… This was perhaps on the the central motifs in my dissertation; while I placed hacking within the cultural lineage of liberalism, in no way is this the only cultural system that hackers operate through and with; they move through a cultural domain more intrinsic to their own praxis, not to mention other systems of value that reverberate more widely among the digerati… And it is this movement between social positions that allows for forms of reflexivity and social change. I primarily used Bakhtin to make this point but now I got Sewell to add to this mix. Here is a nice passage from the book that makes this point:
I would argue that a multiple conception of structures would make subjects cultural creativity easier to explain. If the cultural structures by which subjectivities are formed are multiple, then so are the subjectivities… Because persons, symbols, and objects of cultural reference overlap between structural realms, structurally generated rules, emotions, categories, and senses of self can potentially be transposed from one situation to another. Indeed, if actors commonly have the experience of negotiating and renegotiating the relationships between noncongruent cultural structures, it follows they should have some intellectual distance on the structural categories themselves, that they should be able to view one set of cultural categories from the point of view of others that are differently organized, to compare and critizise categories and categorical logics, to work out ways of harmonization or odering the seemingly contradictory demands of different cultural schemes. A multiple conception of structure, consequently makes human creativity and reflection an integral element in the theory of history, not a philosophically prior metaphysical assumption. p. 213
And here is a more engaged review that is a little more critical than my very short comments. As part of a reading group organized by my tireless supervisor, I am also reading The Cultural Locations of Disability written by two of the most prolific scholars in the field, Sharon Snyder and David Mitchell. Since I am a novice in field it is hard for me to judge the two chapters we have so far read but it is a total total total treat reading a book slowly with a group of other folks from a vast range of departments. So far I appreciate the larger arguments presented in the introduction. For example, they point to two broad categories—capitalism and modernity/enlightenment– as driving forces in a new wave of obsession with the disabled. So while capitalism’s insistence on measuring the worth of humans through an abstract and actual ability to labor, marginalizes those who cannot offer their constant labor power (and makes them an “odd” cultural object), modernity–in its desire to march forward to the mysterious plane of progress, offers a technological promise to eradicate what it designates as deviant or primitive. As they nicely sum up: In a culture that endlessly assures itself that it is on the verge of conquering Nature once and for all, along with its own primitive instincts and the persistent domains of have-nots, disability is referenced with respect to these idealized visions. As a vector of human variability, disabled bodies both represent a throwback to human prehistory and serve as the barometer of a future without deviancy. p. 31 I, think, however, they should have also included some discussion of liberalism, which in many ways, was the legal and philosophical engine that helped to naturalize capitalism not to mention it also offered a vision of person, in which self-development, expression, and discrete autonomy was deeply cherished. Seen in this liberal light, disability becomes also a type of tragedy that can be resolved though new technological interventions they discuss under the guise of modernity. I have just started Michelle Murphy’s Sick Building Syndrome and the Problem of Uncertainty: Environmental Politics, Technoscience, and Women Workers, which promises to be quite a tour de force into the contentious politics of uncertainty and the play of perceptibility and imperceptibility that surround one of many many syndromes sick building syndrome that now are part and parcel of the medical and patient advocacy field. Along with this I read and finished Andrew Lakoff’s Pharmaceutical Reason: Knowledge and Value in Global Psychiatry, which will make for great teaching, and has one of the nicest discussions on the way in which psychiatry’s insecure status among the other medical science was one of the driving forces toward embracing the new scientism of the 1980s that coincided with new more general neoliberal trends. Another nice move about the ethnography is that he was able to clarify some of the trends and rationalities of American and European psychiatry by examining how it was received and resisted among more psychoanalytical Argentinian therapists. Very classicial anthropological lens in that sesne. Finally I am in the middle of Play Money: Or, How I Quit My Day Job and Made Millions Trading Virtual Loop and I will say more about it when I am done, which should be soon as I am tearing through it evern night. I have been waiting for this book for a long while now because Dibbell is part of that trinity (Steven Levy, Bruce Sterling, Julian Dibbell) that offers some of the best writing on hackers, the internet, and virtual worlds. And this book continues in that tradition of providing a fantastic read, a vivid ethnographic picture of the topic at hand, along with key insights into the nature of economies, money, and plau within (and outside of) virtual landscapes. What I respect about Julian Dibbell is that he took a long time to get this book out. He started the research in 2003 and then spent a few years writing up. I think there is a lot of pressure to get any material or book on “virtual whatever” out there as quick as possible but for the most part I think that is a mistake. You need to let these things brew a long while or else they won’t acquire that taste of a finished product.

Andree Leidenfrost: Debian Voting Galore

I've crawled out from underneath my Mondo Rescue stone and looked in bewilderment at the various vote messages in my inbox. (It's not quite as bad, I've followed things to some detail passively on private and planet.)

The main questions seem to be:
  • Is it good or bad to collect money to pay people for getting specific tasks done in Debian? Does involvement of the DPL in such an initiative constitute a conflict of interest?
Here is how I've voted and why:

a65763d3-b1e2-4530-8ff8-aa5915274eb4
[ 1 ] Choice 1: Re-affirm DPL, wish success to unofficial Dunc Tank
[ 2 ] Choice 2: Re-affirm DPL, do not endorse nor support his other projects
[ ] Choice 3: Further discussion

49a98df6-2bd4-40c8-a559-7e15212dbd26
[ ] Choice 1: Recall the project leader
[ 1 ] Choice 2: Further discussion

I think AJ is trying to improve things in Debian and that Dunc Tank is one attempt to do so. I believe it is a worthwhile attempt and can understand that he wants to be involved. While I also understand the concerns raised by other people, I believe that only time will tell whether Dunc Tank is in fact good or bad for Debian (I hope it's good). As far as the conflict of interest issue goes, I think it's less than ideal but the smaller evil to keep AJ as DPL whilst he's involved with Dunc Tank. I don't think AJ should run again if he stays involved in Dunc Tank as he is at the moment. I think that we need to consider integrating Dunc Tank into Debian if it is still alive and kicking in 12 months time. (Or to set up something similar as part of the project.)

c2d43675-9efa-4809-a4aa-af042b62786e
[ 1 ] Choice 1: Release Etch even with kernel firmware issues
[ 2 ] Choice 2: Special exception to DFSG2 for firmware as long as required [3:1]
[ ] Choice 3: Further discussion

22fc4edd-1f6c-454f-b204-6aa0bad0ce1d
[ ] Choice 1: DFSG #2 applies to all programmatic works
[ 1 ] Choice 2: Further discussion

I believe that we should indeed release Etch as planned even if that means shipping a number of firmware blobs. I do not think that an ongoing exception is appropriate here. If this is still not resolved by the time we want to release Etch+1, let's have an other GR.

I am not sure what "program" really means in DFSG #2 - I've always taken it to mean the software, documentation, fonts and artwork that we ship as part of Debian. It likely has to comprise more than that, but I am convinced there have to be some exceptions:
  • It defeats the purpose and very nature to modify licence texts. If people can change a licence at will, there is not much point having one in the first place.
  • It equally defeats the purpose to modify logos (and thus their representations as files of whatever format). Logos allow users to recognise more easily what content is available. It does not make sense to allow modification or use in a different context of such a logo as it would then be more confusing than helpful.*
I believe that these are just two examples of potentially many where 'free' versus 'non-free' are inadequate categories to think in.

Finally, the DFSG are part of the Social Contract and not the other way round. I like this because I value doing the best for our users higher than some rules. The DFSG exist to empower our users - I don't believe that removing firmware blobs from the kernel serves this purpose. That said, we should by all means strive towards free firmware, but I view this as more of an incremental, ongoing task of convincing vendors over time.

* I believe for example that the dispute over Firefox would be best resolved by Debian using the Firefox logo (and name) and the Mozilla folks dropping there requirement for patch review.

Next.

Previous.