Author: Jani

  • RIAs and Free Software

    Some issues with RIAs I’ve been wondering:

    • How come there’s no Flash-based Ogg player? Actually, it seems that a Vorbis player is being worked on, which is great, but I’m still puzzled that this hasn’t come about way, way earlier.
    • How come there’s no Flash-based Ogg player that would work with the free Flash player implementations? Granted that having one that works with the non-free plugin, which is the most prevalent, is of massively bigger importance for spreading Ogg, than having a fully freedom-friendly one. And also, those of us who choose to use the free implementations probably have no problems playing back Oggs without a Flash-based player. However, I’m not trying to be critical here; these are just issues that I find confusing in how the free software community works. (More on this below.)
    • Is Flash a non-free format? Is there such a thing as a ‘non-free format’, or am I just confused in my terminology?
    • Are there any truly free RIA platforms? I know of none. Based on what I understand from the Wikipedia article, Moonlight can hardly be considered one, given its MS-imposed restrictions.
    • If there aren’t any truly free RIA platforms, why not?

    As I said, this isn’t a criticism. I’m just genuinely puzzled by these questions and how the community works. More generally, I would presume that it would be natural for those striving to free people from non-free formats and software, to begin from their own side of things (the free software world), and from there to reach towards those still locked in. This would pave a nice, finished road for the unfree to flock back to the other side with them.

    Let’s say a locked-in user comes to contact with Ogg through a Flash-based player on the web. They then, through proper evangelising, start to contemplate switching to a free Flash player. But if the free player can’t play the Ogg files displayed on their favourite sites, they face the added difficulty of having to try and get them to play otherwise.

    If, instead, they’d find that the free Flash implementation they’ve now switched to plays the Ogg player just fine, they won’t have to go through the hoop of getting the Oggs to play otherwise — at least not until they start contemplating ditching Flash altogether for being a non-free format.

    And what about ditching Flash, if you still want to have RIAs in your truly free world? With Ogg itself it seems to me that the work began as it should have, with laying the foundations by creating a free alternative. But what if there’s no free alternative for the non-free RIA platforms?

  • Miro 1.2.8 is in the archive

    No need to compile Miro 1.2.8 for Lenny anymore, just pick it up from your local ftp mirror’s pool. It hasn’t yet migrated to testing and I don’t know if it will, but it (1.2.8-1) seems to work ok for me at least. And it fixes the issue with YouTube subscriptions, which was why I wanted to upgrade in the first place.

  • Uutinen: Ubuntu 8.10 (Intrepid Ibex) julkaistu

    Ubuntu 8.10, koodinimeltään Intrepid Ibex, on julkaistu, ja on nyt ladattavissa Ubuntu Suomen sivuilta. Tietoa uusista ominaisuuksista sekä muita lisätietoja tuoreesta jakeluversiosta löytyy esimerkiksi julkaisutiedotteesta ja julkaisumuistiosta.

    Itse olen käyttänyt virtuaalikoneessa Intrepidiä jo sen varhaisista testijulkaisuista (Alpha) lähtien Hardy Heronin rinnalla. Kehitysvaiheessa Intrepidin kohutuin uudistus oli sen uusi, tummiin sävyihin perustunut teema, johon ainakin minä alun kulttuurishokin jälkeen tykästyin kovasti. Tämä uudistus jätettiin lopullisesta julkaisusta pois, mutta sen saa halutessaan käyttöön valitsemalla Ulkoasu-asetussovelmassa DarkRoom-teeman.

    Ulkoasupuolella uudistukset typistyivät uuteen taustakuvaan, ja sekin on mielestäni vähemmän onnistunut kuin Hardyn tyylikäs haikara.

    Ulkoasunhan voi kuitenkin räätälöidä ihan mieleisekseen, joten tärkeintä on tietysti se, mitä on pinnan alla. Heti välittömimmän pinnan tuntumassa on Intrepidin mielestäni mielenkiintoisin uudistus, eli GNOME-työpöytäympäristön tuorein julkaisuversio 2.24. Sen jälkeen merkittävin uutuus on uunituore Linux-ydin, 2.6.27.

    Jatkossa tämän blogin merkinnät perustuvat Intrepid Ibexin käyttöön ainakin seuraavan version (jonka koodinimi on Jaunty Jackalope) julkaisuun saakka.

    Lopuksi muistuttaisin vielä, että niiden Hardy Heronin käyttäjien, jotka ovat tyytyväisiä nykyiseen järjestelmäänsä, ei ole syytä rynniä päivittämään sitä. Hardy Heronhan oli pitkällä aikavälillä tuettu julkaisu (LTS), eli sen käyttäjiä tuetaan vielä seuraavat kaksi ja puoli vuotta. Hardyn voi siis halutessaan päivittää vasta seuraavan LTS-julkaisun tapahduttua.

  • Temporary File Name

    For creating temporary files with unique names, there’s the hard way and then there’s the easy way.

    I would have left a comment about this on a little stupid blog, but the comments were closed, so I’m making this entry in the hopes that Google’ll pick it up and show it to someone like I was a minute ago, forgetting the name of mktemp.

  • Compiling Miro 1.2.8 on Lenny

    Not sure if all of the stuff I installed was necessary, but at least nothing required was missing when I did it like this. I’m writing this down from memory and not on-the-go, so there might be errors, but the idea is there.

    1. # apt-get install miro python python-pyrex \
      libboost-python-dev libboost-filesystem-dev \
      libboost-date-time-dev libboost-thread-dev \
      libboost-serialization-dev python-gtk2-dev \
      python-gnome2-extras-dev libxine-dev chrpath \
      libxv-dev libssl-dev libffi-dev python-dbus \
      python-gtk2 python-gnome2 python-gnome2-extras \
      python-glade2 python-gst0.10 imagemagick libxine1-x \
      libxine1-plugins xulrunner-1.9 xulrunner-dev
    2. $ wget http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-1.2.8.tar.gz
    3. $ tar xvf Miro-1.2.8.tar.gz
    4. $ wget \
      http://bugzilla.pculture.org/attachment.cgi?id=1096 \
      -O miro.patch
    5. $ sed -i -e 's/1.1.2/1.2.8/g' miro.patch
    6. $ patch -p0 < miro.patch
    7. $ cd Miro-1.2.8/platform/gtk-x11
    8. $ ./run.sh
  • YouTube updates

    After YouTube’s/Google’s latest update I was offered the possibility to link my Google account to my YouTube account. There was banner with a link at the top of YouTube’s front page for this.

    The update broke downloading of YouTube videos. This also means I can no longer get shows from YouTube into Miro.

  • GRUB, subprocess post-installation script returned error exit status 1

    Note to self: the next time GRUB starts exiting with 1 during postinst (when upgrading the kernel), check /boot/grub/device.map. Apparently the last time this happened, I had to change hd0 to point to sda, and this time I had to change it to point back to hda. Without this change grub-probe would fail, causing update-grub and thus the postinst to fail also.

    Also, don’t be fooled by update-grub staying quiet; update-grub && echo success lets you know whether it did actually complete or not.

  • You learn something new… occasionally

    Ha, I just discovered that apt-get build-dep whateverpackage is an easy way to satisfy some, if not most or even all of the dependencies required for building whateverpackage from newer sources.

  • Making the Epson Perfection 660 scanner work with xsane

    Looks like this takes a while without ready-made instructions, so I’ll jot ’em down here for future reference.

    1. Pick up the Scan Tool zip archive from Epson’s site (not sure if the link works, but it’s in the support section. I picked Windows XP as my OS, the Linux option took me to a site which didn’t mention the 660 so I don’t know about that.
    2. Extract Euro/DATA/BIN/TAIL_061.BIN from the archive.
    3. Toss the file into a suitable directory; I chose to create /usr/local/share/sane/snapscan for this purpose.
    4. Edit /etc/sane.d/snapscan.conf and fix the firmware line to point to TAIL_061.BIN in wherever you put it in the previous point.
    5. Add your unprivileged self to the scanner group. Log out and back in to make it actual.

    That’s it.