Older blog entries for salimma (starting at number 67)

Over at my other blog…

… some ruminations on using commitment sites acting as anti-charity escrows, and tending the public commons as a spiritual practice. With a plug to MIT quantum complexity theorist and Cory Doctorow! You can find out what they have in common for yourself: On motivational anti-charity, Old Catholics, and secular monasticism


Syndicated 2011-03-27 21:58:10 from Intuitionistically Uncertain » Technology

HOWTO: Installing Oracle’s Java plugin on an SELinux-enabled system

As tested on Fedora 14 x86_64, with Sun JRE 6u23, Firefox 4 and Google Chrome.

That this works was a pleasant surprise to a friend and I — he thought the Java plugin does not work with Chrome, and I did not realize the 64-bit version is out (OpenJDK has had a plugin since it was called IcedTea, but the Java applets I need to use tend to make use of the Sun/Oracle binary blobs not yet reimplemented).

Getting it to work with Chrome is straightforward — like with Flash, you symlink $JRE_HOME/lib/amd64/libnpjp2.so to /opt/google/chrome/plugins. With Firefox 4, though, SELinux comes into play. Presumably because while Chrome’s executable is already marked as requiring an executable stack, Firefox 4′s (or rather, XULRunner 2′s) is not.

No big deal, you might think. The SELInux troubleshooter pops up, just follow its suggestions and all shall be well — pipe the relevant audit log lines to audit2allow, load the generated policy modules, close Firefox and try again. Except for… no cheese.

If this happens to you, save yourself trying to delete the symlink, reload Firefox, closing, recreating the symlink, and trying again. It appears that Firefox tries to cleverly remember which plugins fail to load, and it’s this cache that you need to purge. Delete ~/.mozilla/firefox/*.default/pluginreg.dat, and you’d be set on the next restart.


Syndicated 2011-01-21 11:32:21 from Intuitionistically Uncertain » Technology

Good bye del.icio.us, hello Xmarks and Firefox 4!

How fast the wheel turns. Not too long ago, Xmarks‘ public bookmark-syncing service is shutting down, while Yahoo’s Delicious seems reasonably healthy (despite worrying indicators such as lack of support for the more recent Firefox 4 betas, and lackadaisical support for Chrome that, I think, no longer works either). And now the latter is closing — though it’s ironic that you see no official announcement when logging into Delicious, save the news articles and switching guides bookmarked by users!

Now Xmarks is owned by LastPass, and hopefully will be integrated soon with their own offerings — Xmarks’ password-sync is inferior, for instance, and if they offer a unified SSO with LastPass’ multi-factor authentication then that would be wonderful. I carry a Yubikey around these days, with the primary key set for Fedora’s Account System, and the second key set for Yubico’s public server for use with LastPass. If someone were to use a keylogger on a public computer that I use, then by all means; the password they tapped won’t be enough.

These all mean that I’m no longer trapped on Firefox 3, since the other extension without official Firefox 4 support, Greasemonkey, supports it in their nightly builds. Gmail is really annoying to use without Greasemonkey’s Gmail Fixed Font script! Makes one wish that Google integrates its Mail and Groups teams a bit better — Groups’ interface allows switching between fixed-width and propotional fonts for reading, while Gmail only offers it for composing. Sadly Groups’ new beta interface does not even have this feature implemented — ah well, there are three feature requests for it already, hopefully they’ll get it implemented before the new interface goes live.


Syndicated 2010-12-18 11:01:07 from Intuitionistically Uncertain » Technology

On the separation of license grant and physical artifacts

I’ve been pondering the issue for a while, but have yet to put it in writing, until Frédéric Filloux wrote about it on Monday Note:

We’re now in 2015. I read books-related contents on a number of different devices: my smartphone, my high definition tablet, and even my PC some times. (I personally do not believe in TV for such products). I want spend a long weekend in Rome. Instead of buying a couple of books – one to organize my trip and another to use on location – I will buy rights to both.

My digital rights are also transferable: I can loan or give the book by simply transferring the rights attached to the digital files. In retrospect, this feature makes 2010 digital bookstores look primitive. For instance, in the Apple iBooks Store, I was forbidden to offer a book to anyone or even to access to a iBooks in a foreign country – thus negating key advantages of dematerialized contents.

Some of these are already possible nowadays — tech-savvy publishers such as O’Reilly and The Pragmatic Bookshelf already let you regenerate your digital content in the format of your choice, though normally limited to PDF, ePub and Mobi/Kindle only. But the ePub format should be flexible enough to display differently based on available screen size and multimedia support. There are free self-publishing options with sites such as FeedBooks. There are music sites that sell music files in multiple formats — though so far, only Magnatune (which has shifted entirely to a subscription model) allows redownloading while the others (Pristine Classical, HDtracks, iTunes) make you commit to the format of your choice at purchase time.

There are several limitations with these sites that might prevent more widespread adoption, though:

  • Reliance on customers’ ethics: for example, The Pragmatic Bookshelf uses an easy-to-remove watermark; O’Reilly does not use any DRM or watermark; likewise with Magnatune, Pristine Classical and HDtracks. While admirable, and I personally find it a moral obligation not to distribute digital products entrusted to me in such a manner, many publishers would likely balk at the idea.
  • Conversely, overly-restrictive DRM: the Amazon Kindle, Apple iBooks and B&N nook stores fall in this category. B&N innovated the ability to lend books but in a very restricted fashion: you can only lend to a unique user once, and only for two weeks. Why? Physical books can be passed around without constraints. Amazon, sadly, chose to copy this model without any change. It’s sad, when public libraries that offer DRMed ePub lending do not have such restrictive conditions; the problem is not technical but commercial motivation.
  • Inflexible purchasing model: with the non-DRMed publishers you normally commit in advance to buying the rights to a work in digital-only form, or in a paper+digital bundle. You can’t “upgrade” from digital-only to paper+digital (though upgrading in the reverse direction is sometimes possible). You can’t order a replacement physical media if yours is damaged (though, again, software games publishers used to offer this). You can’t, of course, “upgrade” from a DVD to a Blu-Ray edition of your favorite movie without paying the full purchase price.

The solution, as I see it, is to separate right of use from the physical artifact. Publishers should be able to sell the two independently from each other (though obviously there is a dependency of the latter on the former). You should be able to permanently deactivate your rights license code on an artifact (for reselling), or temporarily deactivate it (for lending), and set a time limit on the latter. After all, in the information age content is getting increasingly Platonic: living in pure digital form, only to be instantiated into tangible physical forms — we should focus less on the latter and more on the former.


Syndicated 2010-11-10 14:06:45 from Intuitionistically Uncertain » Technology

New fedoraproject.org site

Maírín’s website redesign has gone live! It’s a gorgeous, user-friendly look — congrats to her, the design team, and everyone who worked on this.


Syndicated 2010-10-28 07:09:53 from Intuitionistically Uncertain » Technology

FUDCon: travel notes

Typing this on the train coming back from FUDCon. Amazon’s Kindle has free unrestrained 3G access in Switzerland (though Google curiously geo-located me as being in Ireland), as I discovered on the first day of FUDCon, while killing away time waiting for the bunker to open (I’m glad to discover, later, that the consensus is that the Wired Dreams party indeed was a disappointment).

The train just left Switzerland, so I’m back on my netbook, but data coverage is still a bit spotty. For a while the phone actually picked up Austrian cellular networks!

It’s the first time I’ve been to FUDCon, and I’ll definitely be coming back. Though alas, the next one in Tempe, Arizona would be rather hard to squeeze in, so it might be a full year wait. It’s a wonderful energizing experience. The north American folks are great presenters (unfortunately I missed out on Jesse’s dist-git talk), and luckily one of my preferred Barcamp topics (Peter Robinson’s Fedora Mini Mobility) ended up on the morning slot, since I regrettably had to board the train right after lunch, missing all the afternoon sessions. Some ideas came up that I’ll try and follow-up on fedora-de{sktop,vel} as soon as I get back.

Oh, and for anyone thinking of visiting Red Hat’s Czech office — or Novell’s Czech office, for that matter, beware: they’re all party animals! The bunker was well stocked with beer and stronger stuff (including Swiss absinthe, which I was informed has the highest thujone content in the world, Switzerland happily not being part of the EU). ’80s Czech music is awesome, and MIsha regaled me with a Russian narcissus/Father Christmas tale, that surprisingly had a happy ending. Not many photos, unfortunately, but between Maírín and Nicu I think the event was well-covered.


Syndicated 2010-09-19 15:35:29 from Intuitionistically Uncertain » Technology

Attending FUDCon Zurich for the weekend

Got in here late last night by train — amusingly, of the three legs of the journey (Erlangen-Nürnberg-Buchloe-Zürich), the only late train was the Swiss train from Buchloe. Uncharacteristic, but hey. Took a detour of 15 minutes walking to the hotel due to mistaking a canal for the river that was shown on the map, which afforded some amusing sights: from someone climbing out of the Botanical Gardens, after hours, over the fence, to someone skateboarding backwards… to a Valley-esque girl outside a bar whose vocabulary appeared to be limited to “OMG” which she repeated ad nauseam.

No Internet on the train (I could have used my phone as a modem until the Swiss border, but between a paper, an eBook — Peter Hamilton’s Pandora Star), no Internet in the hotel, so I had to wait until I arrive at the conference venue for my Internet diet. Finally got the liboauth/bti EL-5 updates finished.

Adam’s just starting his talk so it’s time to sign off now.


Syndicated 2010-09-17 09:16:29 from Intuitionistically Uncertain » Technology

Android : flashing :: programming : ?

Your editor will confess that he still feels a certain childlike joy at the prospect of reflashing an expensive device that he depends on, possibly bricking it, then painfully restoring all of the settings and discovering all of the new bugs which have been added. It’s the sort of adrenaline experience that others, perhaps, seek through horror movies, bungee jumping, investing in equities, or PHP programming

Jonathan Corbet, The end of the road for the Nexus One, Linux Weekly News


Syndicated 2010-07-22 09:21:40 from Intuitionistically Uncertain » Technology

iTunes feed extractor

The downside of Apple’s iPod/iPhone being so popular is that so many podcasts only publish iTunes links, instead of the more standard RSS/Atom feeds. And I know of OS X and Windows users who detest iTunes — imagine how Unix users feel!

Well, the feeds are still there, but hidden from plain sight — turns out, though, that if you pretend to be iTunes, you can actually trick the iTMS server into giving you the raw data. And with Python 2.6′s built-in support for Apple’s property lists, extracting the feed is a trivial matter.

#!/usr/bin/env python

import plistlib
import urllib2
import sys

ITUNES_VER = '7.4.1'

USER_AGENT = 'iTunes/' + ITUNES_VER

def get_props(url):
    request = urllib2.Request(url)
    request.add_header('User-Agent', USER_AGENT)
    response = urllib2.urlopen(request)
    return plistlib.readPlistFromString(response.read())

def get_feed(url):
    next_url = get_props(url)['action']['url']
    props = get_props(next_url)
    return props['items'][0]['feedURL']

if __name__ == '__main__':
    for url in sys.argv[1:]:
        print get_feed(url)

Syndicated 2010-07-15 01:59:18 from Intuitionistically Uncertain » Technology

58 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!