Search Results: "mak"

4 December 2009

Neil Williams: Using podebconf-report-po with gnome-doc-utils

gnome-doc-utils has a fairly idiosyncratic layout - help/package.pot, help/lang/lang.po - which doesn't suit things like podebconf-report-po that I want to use to call for translations and updates.

This little snippet creates the relevant directory from a gnome-doc-utils Makefile.am:

report-po: Makefile
if [ ! -d po ]; then \
mkdir po/ ; \
fi
cp $(PACKAGE)-help.pot po
cd po ; \
for l in $(DOC_LINGUAS); do \
if [ ! -L $$l.po ]; then \
ln -s ../$$l/$$l.po . ; \
fi; \
echo -n $$l: ; \
msgfmt -c --statistics $$l.po; \
rm -f messages.mo; \
done


Also, I thought gnome-doc-utils updated the PO files automatically but I couldn't get it to do it, so I've got this snippet too:


check: update-po

update-po: Makefile
for l in $(DOC_LINGUAS); do \
xml2po -u $(top_srcdir)/help/$$l/$$l.po $(top_srcdir)/help/C/$(PACKAGE).xml; \
done

MJ Ray: Funding Networking, Coops and SocEnt

As an aside to yesterday s Another Network Begins note, I should mention that one of the challenges of running any inter-business project is paying for it. It surprises some people that many great cooperative projects are running on very small budgets, whereas it looks like some Social Enterprise groups are awash with cash. How can this be, when it still looks like cooperatives are stronger financially than social enterprises? A written answer in Parliament on Monday suggests one possible reason: Co-operatives UK and The Plunkett Foundation together get 164k of Cabinet Office funding, while the Social Enterprise Coalition alone gets 488k and there are other SocEnt groups on the pay list. Once again, I m surprised by the way the Labour and Co-operative government is behaving, like I was on the way the real help initiatives exclude cooperative partnerships, while being open to both private sector employers and social enterprises. I m all in favour of intervening in markets, but this doesn t feel like it s making things fairer. Three strikes, funding social enterprise in preference to cooperatives would a Conservative or Liberal Democrat government really be worse?

Russell Coker: Testing Noise Canceling Headphones

This evening I tested some Noise Canceling Headphones (as described in my previous post [1]). I first tried the ones on sale at Brookstone [2], they were the on the ear type so there was never a chance that I would buy them but they seemed like good ones to test. I wore them for about 10 minutes while I walked around the store looking at all the electronic stuff that s on sale. I noticed that they were much more effective at filtering low frequencies and regular sounds. So for the Christmas music that was playing the music was mostly filtered just leaving the sound of the singing. Also I was able to talk to the guy who worked there and hear him clearly when the noise canceling was turned on this can be considered a bug or a feature depending on your planned use. When I listened to electric fans the sound of the buffeting air was filtered just leaving the high pitched bearing noise. It is well documented that there is a hissing sound from noise canceling headphones and sometimes a feeling of pressure. I didn t hear any hissing but it did feel a little different when I turned on the noise canceling. After 10 minutes I didn t feel in any way uncomfortable, so I could probably survive an entire flight while wearing such headphones. I can highly recommend the customer service at the Brookstone store in Menlo Park. The guy who was working there was totally helpful, even by US standards his customer service was really good. Sometimes when you make an unusual request (such was wanting to try the merchandise for an extended period of time) the staff aren t particularly enthusiastic, but I had no problems at Brookstone! After Brookstone I went to a Bose store and tried the Quiet Comfort 15 noise canceling headphones [3]. The Bose store conveniently had a device configured to emulate the sound of a jet engine to demonstrate how the QC15 stopped that. I was quite impressed with that. I did feel that the QC15 was a little light for my taste, I would rather have something bigger and heavier with thicker padding to improve the passive resistance to sound. But I expect that many people would like it to be small and light as it s designed for travel. I visited a Sony store a couple of times, but no-one seemed able to serve me. I ll go there again some time when they are less busy. Finally I have to note that I have received a significant number of comments suggesting ear-bud type devices. I suggest that anyone who doesn t mind wearing such things should consider ear-bud type devices. But as I can t stand such things I will continue my search for over-ear headphones. I may end up just buying the Bose QC15, they seem to be good enough and not really expensive.

Clint Adams: This is not for Kumar, part 1

Lil is white trash. She does not live in a double-wide and make hot dog casserole, and in foreign lands she could easily pass, but she is white trash nonetheless. Lyle is white trash. He does not buy potted meat or have a car up on blocks in his yard, but he is white trash nonetheless. One day Lil and Lyle met, and something drew them together. Perhaps it was a disturbance in the philotic web, or maybe a magical Jungian archetype of a dirty rag as a gas cap that resonated in their minds, but whatever it was, they decided to keep in touch online and get to know each other better, with clear non-platonic overtones. Lyle had a penchant for underdressed girls with a modest amount of tattooes and piercings and a full-on bent for drunken promiscuity. While Lil did not fit this stereotype well, she played up her sexual indiscriminateness and made up a few fetishes to impress him. Lil needed a boy who would not judge her for all her faults and long history of poor decision-making. So Lyle pretended not to judge. One-third deceit, one-third misinterpretation of Internet ambiguities, and one-third imagination led them to develop unrealistic perceptions of each other. Since they also had unrealistic perceptions of themselves, were fairly narcissistic, and were almost totally caught up in their own private melodramas, it took a while for the veil to come down. Come down it did, like an avalanche of Kraft Dinner boxes falling off a Canadian supermarket shelf. Then they were angry. Then they were sad. Then they brushed on fresh new coats of self-delusion and heated up some chicken nuggets.

3 December 2009

Maximilian Attems: Vienna buying Office Licenses

When you just read the following sentence: "usage of a software, that can only be used together with the Internet Explorer". You already know the consequence that several hundreds Wienux boxes are gone.
Heavily disgusted by the waste of community money. The online local newspaper has a comment that seems quite to the point to me: "If as sysadmin you introduce Linux you'll be accounted for eventual failures, while with softies people just accept the shortcomings and won't blame you."
German source: Wiener Inkompetenz in IT Managment. P.S.: Wienux got setup by inexerienced people having no prior exposure to Open Source. The project setup included a calculated failure from the start.

Tollef Fog Heen: ekey happiness

In my last post about the ekey, I complained about two things: memory leak in the server and missing reconnects if the client was disconnected for any reason. I've meaning to blog about the follow up for while, but haven't had the time before now. Quite quickly after my blog post, Simtec engineers got in touch on IRC and we worked together to find out what the memory leak problem was. They also put in the reconnect support I asked for. All this in less than a week, for a device which only cost 36. To make things even better, they picked up some other small bug fixes/requests from me, such as making ekeyd-egd-linux just Suggest ekeyd and the latest release (1.1.1) seems to have fixed some more problems. All in all, I'm very happy about it. To make things even better, Ian Molton (of Collabora) has been busy fixing up virtio_rng in the kernel and adding EGD support (including reconnection support) to qemu and thereby KVM. Hopefully all this hits the next stable releases and I can retire my egd-over-stunnel hack.

MJ Ray: On The Road, #online09 and #koha

It was great to meet the newest member of our co-op yesterday and discuss a new ethical business referral network, but I ve barely spent any time back at home and I m heading out again, partly to visit online09 and IMS, partly to collect some things from the co-op s founder and also to do whatever else I can do in London in the time available. I was unable to attend yesterday s #koha IRC general meeting because of the terrible state of mobile internet coverage in rural Gloucestershire and Worcestershire, where I was at the time. Apologies for not sending apologies beforehand, but I thought it would work. Mobile internet is so frustratingly patchy outside the big cities. It works, but not reliably when I m moving fast, which seems like part of the point of mobile . Once again, I m surprised that the U2Com free wifi network still has only one London hotspot. It makes finding wifi in Bristol and Somerset so much easier (as well as attracting me to Bath Ales) and there was even a node in Manchester yesterday. Is there another free wifi network in London that I don t know about? The Londonist Free Wifi map doesn t show if they re in networks.

2 December 2009

Mike Hommey: Removing a VMFS extent

Until vSphere 4, the only way to add space to an existing VMFS was to add an extent. This means creating a new partition, most of the time on a new LUN, and extend the VMFS there (vSphere 4 is now able to resize a partition on a grown LUN). This is somehow equivalent to adding a physical volume in a volume group under LVM. But contrary to LVM, once you added an extent to a VMFS, it is impossible to remove it. Well, until now, it was. I just pushed my lvm branch of vmfs-tools (get a git snapshot tarball), which includes a new tool named vmfs-lvm, allowing to just do that. For the moment, the tool is not cluster-safe, which means you d better run it on an offline VMFS (i.e. make sure no server is using it). Data should not be at risk because the tool checks the removed extent doesn t contain any data, but it also assumes the filesystem is in a consistent state beforehand. The command line to remove an extent looks like the following:
# vmfs-lvm extent0 extent1 ... extentn remove
This will remove the last extent. Update: There was a bug when setting some values at volume level. The git snapshot link above has been updated accordingly.

Margarita Manterola: Women event in Argentina

Next Saturday a group of more than 20 women that work with Free Software in Argentina and Uruguay will gather to speak at a Free Software event in Buenos Aires, called Software Libre, Pasi n de Mujeres. It's your typical Free Software event, with talks related to the philosophy of Free Software and the Free Culture in general, and also technical talks related to using and developing Free Software. With one important difference: all the speakers will be women. This might sound shocking to some people and normal stuff to some others, but the reaction created by the call for talks of this event was definitely not something I expected. Women from all over the country (and many also from other Latin American countries) have contacted us, to tell us about what they do in their daily lives with Free Software and how they would like to share their work with others. The event is open for both men and women to attend, however, of the more than a 100 people that have already pre-registered, more than half are women. A ratio that is more than amazing when you have been to a Free Software event before. I think that the fact that all the speakers are women is really encouraging for many women to attend, who otherwise wouldn't. Debian will be sponsoring the event, by paying the bus tickets of the speakers that come from the whole country, which is a great help in making this event a big success. I really expect the event to be a fantastic opportunity for the women in our country to finally show all the great work they are doing... I'm very excited about it :) PS: Somehow, I screwed up Planet Debian, filling it with old posts. I'm sorry! :-\

Margarita Manterola: Life after DebConf8

Finally, after more than a year of preparation, and six months of very very hard work, DebConf8 has come and gone. Even if I'm not yet completely recovered from all that stress, I'm good enough to feel really happy about how things turned out. DebConf8 was a great success. We had great talks, many opportunities for developing interesting ideas, a lot of social interaction, an awesome video team that allowed more than 200 people from all around the world to be part of the conference even if they weren't in Argentina, and in general almost everyone had a very good time. It was really nice to have so many people from Debian over here, and it was specially nice to see them working and enjoying themselves so much. This was all possible thanks to our sponsors, thanks to the many hours spent during the previous months both by the DebConf orga-team (the usual suspects) and specially by the local team, which includes Tincho, Dami n, Romanella, Maxy, Sebas, Zero, Mendieta, Dererk, Melisa, Angasule, Lisandro, Nueces, and also thanks to the all help of the volunteers that came to work with us during DebCamp and DebConf, which include Tom s, Tinchito, M nica, Lucas, Germ n, Diego, Fefu, Nicol s, Mart n, Marcos, Hern n, Alejandro, Mat as, Rodrigo, Alberto and Joaqu n, and finally, DebConf wouldn't have been the great event it was without all the people that managed to travel thousands of kilometers to get here. To all of them, thanks, for making DebConf8 such a great conference Now, at last, DebConf8 is over (although there is some stuff that we still need to do before we can really forget all about it), and life goes on. Today, I did my first NMU after a long time. I'm particularly glad to have time for fixing bugs again, but I won't lie, I'm also extremely satisfied with how DebConf8 turned out. See you in Extremadura!

Margarita Manterola: The tyranny of Spanish users

Caution: Latin American rant ahead. With my Latin American Spanish keyboard (xkb code "la") I can type in: But not in: It turns out that for some people it's more important to have 3 (yes THREE) asciitilde (~) in the Latin American Spanish keyboard, than to allow people to write in the language spoken by 51% of South American people, or the second official language in Paraguay (spoken by 94% of the population). The same thing happens with the Traditional Spanish keyboard (code "es"), which was initially thought only for Spain, but is now widely sold all over Latin America. It includes 2 asciitilde, but no dead_tilde. I think this is outrageous and I'm very very pissed about this. As can be seen in the posts I've made to the bugs in Debian and in FreeDesktop. However, it looks like we Latin Americans are overwhelmed by the amount of Spanish people in Free Software (particularly in Debian) who don't care that Brazil is the biggest economy in the region nor that other native american languages can't be written without a dead_tilde. For the record, there are some other European languages, that can't be written with the Latin American keyboard, such as: But in this case, it makes much more sense to not be able to write those than not being able to write Portuguese or Guaran , and it's not like there are 3 macrons and no dead_macrons, there are no macrons at all (same for all others).

Margarita Manterola: Barbara Liskov, mother of Object Oriented Programming, among other things

This post is about Barbara Liskov, for the Ada Lovelace Day. Barbara Liskov is the first woman in the United States of America that obtained a Ph.D. from a Computer Science department, in 1968. However, this isn't by any chance her greatest achievement. She's the creator of the CLU programming language, a language created in the mid-70s, that we would find crufty and ugly nowadays, but that with its strong emphasis in abstraction, the use of clusters (basically equivalent to what we call classes today) and iterators, was to become the rock foundation of Object Oriented Programming. Apart from that, she worked in the design of a timesharing operating system, called Venus; designed another programming language, called Argus, that was oriented to distributed applications, and also set the foundations for much of what is currently done as distributed computing. Aged 70, she's currently still working at MIT, as the leader of the Programming Methodology Group, researching ways to tolerate byzantine faults. For all this work, she received the John von Neumann medal in 2004, and the Alan Turing award in 2008. All in all, what I find the most inspiring of all her life, is the fact that she was able to pursue her career, working on a new way of creating programs, while she was also a wife and a mother; and that today, aging 70, she's still researching, leading a group, and working towards making computing better.

Biella Coleman: The Politics of Piracy and Spicing the Political Life

Reality needs fantasy to render it desirable, just as fantasy needs reality to make it believable. Stephen Duncombe
This fall I have been awash in a few obsessions including book piracy and spam. I recently got to talk about one of these obsessions when I was interviewed about book piracy by Nora Young for her weekly CBC radio and podcast show Spark. I mostly gave a lay of the land panorama with a nod toward some of the conditions, technological and social, that can help us grasp the contemporary explosion of book piracy and also raised some thoughts about what might change the future landscape. What I don t raise is whether a politics built around an explicit embrace of piracy is regressive, progressive, or something else but these ethical questions were posed in the comments left for the full interview. Some of the comments pointed to the pitfalls and shortcoming that can follow the terminology of piracy many of which I share. But what keeps me interested in the politics of piracy is how it can speak the language of spectacle, which can be a powerful tactic and technique for broadcasting a political message. Here I just paraphrasing and cribbing the work of Stephen Duncombe, who has argued, I think quite persuasively, that we cannot rely solely on reasoned debate for building political programs. Duncombe does not argue that we must toss out rationality and truth seeking (these are absolutely necessary) but notes how on their own or if not clothed in some other cloak, they may not be enough to convey and compel, especially in this day of total media saturation. Or to put a but more poetically by him Reality needs fantasy to render it desirable, just as fantasy needs reality to make it believable. Much (though not all) of contemporary digital piracy follows the logic of spectacle. It builds and conveys a fantastical drama of right and wrong, of new possibilities, of freedom from the noose of the law; it signals and speaks to the thrill and fun in twisting, even breaking, existing structures and constraints; and provides a window into another way of acting/behaving. In many cases what it provides is a commons (and I will be exploring it in depth in my class next semester on the commons) and many folks, I imagine, turn to piracy simply for the free stuff, and a number of them come out of the other side transformed into copy fighters willing to engage in a politics beyond sharing stuff and waving the pirate flag. For those of us who believe in greater access and different ways of imagining structures and strategies of re-compensation, piracy on its own is not certainly enough and I understand fully and even to some degree, share the skepticism many feel toward such language. But I am not quite ready to declare a politics of piracy as always politically bankrupt or necessarily backward. I guess what I embrace is a diverse political ecology. For some, the drama of spectacle and thrill of transgression are what turns their political mojo on; for others it is the cool and reasoned debate common to policy and reform; for others, they want to focus on building alternatives as we see with Free Software or radical tech collectives. For some, it is both the reasoned salt and the transgressive pepper that spices their political world. And I would rather have more spice than less, especially in an era where the blandness of political apathy is that which is our most dangerous enemy. Related Links: Here is a wonderful animation by the NZ Book Council that captures what I love about books and renders its materiality wonderfully alive. On the Media has a episode on book publishing and Cory Doctorow has penned some thoughts about the future of book selling. If you want to keep abreast on the politics of liberating books, check out Free our Books. If you are more interested in the technical side of things, check out the book liberator project.

Biella Coleman: The Politics of Piracy and Spicing the Political Life

Reality needs fantasy to render it desirable, just as fantasy needs reality to make it believable. Stephen Duncombe
This fall I have been awash in a few obsessions including book piracy and spam. I recently got to talk about one of these obsessions when I was interviewed about book piracy by Nora Young for her weekly CBC radio and podcast show Spark. I mostly gave a lay of the land panorama with a nod toward some of the conditions, technological and social, that can help us grasp the contemporary explosion of book piracy and also raised some thoughts about what might change the future landscape. What I don t raise is whether a politics built around an explicit embrace of piracy is regressive, progressive, or something else but these ethical questions were posed in the comments left for the full interview. Some of the comments pointed to the pitfalls and shortcoming that can follow the terminology of piracy many of which I share. But what keeps me interested in the politics of piracy is how it can speak the language of spectacle, which can be a powerful tactic and technique for broadcasting a political message. Here I just paraphrasing and cribbing the work of Stephen Duncombe, who has argued, I think quite persuasively, that we cannot rely solely on reasoned debate for building political programs. Duncombe does not argue that we must toss out rationality and truth seeking (these are absolutely necessary) but notes how on their own or if not clothed in some other cloak, they may not be enough to convey and compel, especially in this day of total media saturation. Or to put a but more poetically by him Reality needs fantasy to render it desirable, just as fantasy needs reality to make it believable. Much (though not all) of contemporary digital piracy follows the logic of spectacle. It builds and conveys a fantastical drama of right and wrong, of new possibilities, of freedom from the noose of the law; it signals and speaks to the thrill and fun in twisting, even breaking, existing structures and constraints; and provides a window into another way of acting/behaving. In many cases what it provides is a commons (and I will be exploring it in depth in my class next semester on the commons) and many folks, I imagine, turn to piracy simply for the free stuff, and a number of them come out of the other side transformed into copy fighters willing to engage in a politics beyond sharing stuff and waving the pirate flag. For those of us who believe in greater access and different ways of imagining structures and strategies of re-compensation, piracy on its own is not certainly enough and I understand fully and even to some degree, share the skepticism many feel toward such language. But I am not quite ready to declare a politics of piracy as always politically bankrupt or necessarily backward. I guess what I embrace is a diverse political ecology. For some, the drama of spectacle and thrill of transgression are what turns their political mojo on; for others it is the cool and reasoned debate common to policy and reform; for others, they want to focus on building alternatives as we see with Free Software or radical tech collectives. For some, it is both the reasoned salt and the transgressive pepper that spices their political world. And I would rather have more spice than less, especially in an era where the blandness of political apathy is that which is our most dangerous enemy. Related Links: Here is a wonderful animation by the NZ Book Council that captures what I love about books and renders its materiality wonderfully alive. On the Media has a episode on book publishing and Cory Doctorow has penned some thoughts about the future of book selling. If you want to keep abreast on the politics of liberating books, check out Free our Books. If you are more interested in the technical side of things, check out the book liberator project.

Bastian Venthur: The sorry state of Python in Debian

Looking at the sorry state of Python in Debian, makes me wonder if we shouldn t enforce team maintainance of packages above a certain popularity/importance/whatever threshold. People worked hard in the last months to fix any bugs that would prevent Python2.6 to land in unstable and yet nothing happens. Time passes by and we will eventually end up with Squeeze having a horribly outdated Python version.

Benjamin Mako Hill: Introducing Between the Bars

I've been working with Charlie DeTar and the Center for Future Civic Media on a project called Between the Bars which is a blogging platform for prisoners. The current platform is essentially a snail-mail to web gateway: prisoners send letters which semi-automatically scanned and posted to the site; comments are printed and mailed back. As we plan the launch of the project, we are trying to talk to as many stakeholders as possible -- this includes ex-prisoners, families and friends of people who are or have been in prison, non-profits working with prisoners, victims of people in prison, people who work in prisons or in corrections, probation officers, or almost anyone else with a perspective or set of experience that might help us understand the difficult space our project is trying to negotiate and who might be able to help influence the design. At the moment, we're not talking to current prisoners due to rules regulating research involving prisoners, but almost anyone else would be someone we'd love to connect with. We're interested in hearing from people about their experience with prisons or prisoners, about staying connected to families and friends while behind bars, and, ultimately, about how we might design, deploy, and support technology to help folks out. If you or someone you know are stakeholders and would be willing to talk about your experience and opinions with prisons, communication, and technology, please drop us a line at betweenthebars@mit.edu.

30 November 2009

Martin Meredith: (UK) The Gadget Show PC vs Mac

Today, an episode of The Gadget Show aired in which they compared PC and Mac to put on their wall of fame . I was shocked that there was no mention of Linux at all in their rundown. Here is the email I just sent to them in response to the show:-
Date: Mon, 30 Nov 2009 22:16:28 +0000
From: Martin Meredith <mez AT debian DOT org>
To: gadget.show AT northonetv DOT com
Subject: PC vs Mac Yes, you mention windows But both PC s and Mac s have the ability to run a little thing called Linux Linux is the base of an operating system that s been around for years, often
making innovations BEFORE Windows or Mac are able to. It s an Operating system that s written by the people, for the people, which
shows in the fact that there are hundreds (if not thousands) of distributions
available to download and use for FREE!!!! A large motive behind the Linux movement is the fact that it s completely free.
Both in the sense of Free Speech, and in the sense of Free Beer. You don t have to pay for it, and you can do what you like with it. Compare the above to a Mac. With a mac, you re limited to the hardware you can use, you re limited in the functionality, etc etc. Comparing to Windows, you can see the benefit of the price. Constantly upgrading windows can cost a LOT of money. Ok, Linux does have it s flaws. Some hardware isn t supported correctly, and a lot of the software you ll find on the shelves of your local shop probably won t work with it. But, nowadays, with the advent of the iPhone, and to a lesser extent, Android based Mobile Phones, people are coming to expect easily available software. Enter the package Manager. Most distributions of Linux now offer an easy way to find and install applications, and some go a step further and give you an application that makes life even easier (See attached screenshot) Linux also has the benefit that, like the Mac, the fact that it s not Windows,
and something that 90%+ of people use, it s not a target for Viruses. Add that
to the fact that it has Least Privileged Access built in (Think Windows Vista
are you sure that you want to run this program as an admin? ), and has done
since the very beginning, and it makes it one of the most secure operating
systems you can find. Linux has come along in leaps and bounds in recent years, and is surely a
competitor for any operating system out there. While it may be unfamiliar,
with the advent of new technology, it s perfectly placed. This has been shown
by the fact that until Microsoft made a sly move to relicence Windows XP for
netbooks, it was hard to find a netbook with anything but a Linux based OS on it (and all those who tried out my eeePC 701 when it was new and shiny out of the box tended to prefer what was on that than Windows!)
Regards,
Martin Meredith Freelance Writer for Future Publishing
Debian Developer http://www.debian.org/
Ubuntu Developer http://www.ubuntu.com/
Deputy IT Manager for Mobile Fun Ltd. http://www.mobilefun.co.uk/

Daniel Baumann: EXTLINUX as Alternative Bootloader

In September, the Debian GRUB maintainers took a step further in the long way of deprecating grub in favour of grub2. From my personal point of view, grub2 is not the way to go. Mostly because of these reasons: Back in Juli, when I was listening to the talk of Giacomo Catenazzi at DebConf 9 about bootloaders in Debian (high (618MB), low (110MB)), I was reminded that I really should getting EXTLINUX splittet out of Debians syslinux packaging and made available as an alternative bootloader within Debian. Last week I hacked together an initial working version and uploaded it to experimental. Note that the two comands extlinux-install and update-extlinux do not have all the safety belts yet, the theme-ing mechanisms are not integrated yet (I'll upload a syslinux-themes-debian soon), and that the layout of the generation of the config files in /boot/extlinux may could change (debian-wise, not upstream-wise). For me, it works already well though, I'm using it on my main desktop and notebook. If you want to help finding bugs or submitting wishlist bugs for additional stuff to be added, and recovering from an unbootable system is not a problem for you, you're welcome to try it out:
	# apt-get install -t experimental extlinux syslinux-common
	# sed -i -e 's ^postinst_hook =.*$ postinst_hook = update-extlinux ' \
		-e 's ^postrm_hook =.*$ postrm_hook = update-extlinux ' \
		/etc/kernel-img.conf
	# mkdir -p /boot/extlinux
	# update-extlinux
	# extlinux-install DEVICE
Update: Rather than having /etc/kernel-img.conf modified by users, bootloader packages should add symlinks to their update scripts to /etc/kernel/postinst.d and /etc/kernel/postrm.d. Uploaded new version to experimental. Thanks maks for mentioning it.

Andrew Pollock: [tech] Review: iGala digital picture frame

Now that I'm not letting the cat out of the bag (I bought these as gifts) I can write a review. The use case was pretty simple: I thought it'd be a cool Christmas present for our parents to give them something Internet-enabled that would give them regular updates on their grandchild (when he/she arrives). I was thinking a picture a day type of thing. So I hunted around for a WiFi-enabled digital picture frame, and found the iGala being sold pretty much exclusively by ThinkGeek. The reviews seemed pretty good. I know WiFi-capable frames have been around for a few years, but they always seemed to be pretty lacking in terms of WiFi functionality. Like they wouldn't do any security, or they'd only do WEP. This particular product claimed to do the whole gamut, including WPA2. The fact that it was a touch screen and ran Linux also made it appealing. So I ordered a couple of them for a few weeks before we headed to Australia, with the intention of making sure that they'd work. Here's the highlights. WPA2 didn't work (nor did WPA) Despite the software on the frames claiming to be able to talk WPA2, the frame would not associate with my Linksys WRTU54G-TM. I had to drop it all the way back to WEP to get it to connect. For me, this was the most disappointing failure. I bought the product specifically on the strength of its claim that it supported WPA2, and it just didn't work. It was also pretty impossible to debug the failure. I downloaded the latest firmware update, and that added additional settings for TKIP or AES when selecting WPA2, but neither option helped. The automatic updates are brain-dead Speaking of downloading firmware updates, the latest firmware that I downloaded and installed on the frames added automatic over-the-air firmware updates. Nice enough feature, except for the implementation. The frame tried to make an HTTP GET request for a non-existent file, every 6 seconds. So the frequency of checking alone is totally ridiculous, but couple with this the fact that it's making a GET request (this is what $DEITY invented the HEAD request for, people!) and the website has a "friendly" 404 Not Found page that weighs in at a little over 10 Kb. By my calculations, that's nearly 150 Mb of failed update checking traffic a day. Taking these frames to a backward country like Australia, where ISP users still have monthly quotas, gives the frame a pretty horrendous running cost in terms of traffic. Not to mention the outbound bandwidth requirements for the server hosting the updates. Crikey, the mind boggles. I'd have thought checking once a day and on power on would be perfectly sufficient. Transitions are unavoidable It may be just me, but I hate cheezy transitions. Digital picture frames tend to come with a myriad of them, but they all look cheap. It's impossible to tell the frame to just change the picture, it has to use at least one transition effect all the time. It defaults to randomly choosing from all the available ones. At least you can tone it down to just one. Automatic on/off time I liked that it was possible to configure operating times. No need to have the thing chewing power 24x7. It just seems to turn off the backlight outside of the programmed operating hours, so it's still doing the lame uber-frequent and bandwidth-intensive checking for updates even when it's "off". Photo check frequency is configurable Another nice feature was the ability to check for new photos at varying intervals. What I wanted for my parents was to just update once a day, so they'd get a new photo every day (assuming we put a new one in the Picasa web album that it's checking). This was very doable, and coupled with the automatic on/off time, means they should wake up to a new photo every day (that we change it). Built in photos are a bit too sticky There's 3 or 4 in-built photos as part of the firmware. If there's nothing accessible or available online, it'll cycle through these. Somewhat annoyingly, you need to have at least two photos in your online source for it to stop wanting to incorporate the stock photos in the mix. The workaround is to put the same photo in the online album twice, so you don't realise it's switching between two images. Lame, but it works... Touch screen UI was adequate Given the alternative user interface for digital picture frames is a little IR remote control and some dinky menus, the iGala was nice to configure. A full on-screen QWERTY keyboard pops up for entering WEP/WPA/WPA2 keys and configuring the Picasa/Flickr connections. Fairly responsive support The main near-showstopper for me was the lack of advertised WPA2 support. I emailed the Aequitech support folks quite a bit during my "evaluation" period. They got back to me fairly quickly most of the time and wanted to know exact details of my setup so they could reproduce it in the lab. They'd be well served having an actual ticketing system, instead of hiding behind an email address, as it made it hard to keep track of the multiple issues I was raising with them. It's written in Lua?! I have no familiarity with Lua, other than I know of its existence as a programming language. I'm curious as to what their motivation was for this language choice. All of the Lua code shipped in the complete firmware refresh ZIP files is bytecode. I have no idea if it's possible to decompile it. The CPU architecture would appear to be a Blackfin based on the few compiled binaries included in the full firmware. Easy to update Prior to the new update "functionality" I've already railed against, it was pretty easy to update. Download a ZIP file and a shell script, put them in the root directory of a USB key, and plug it into the frame and stand back. The updates don't seem to cryptographically verified (even the over-the-air ones), so I wonder if it's possible to break into the frame by way of a cleverly crafted "update". I have no idea what breaking into the frame would buy you. I don't know what sort of computing power they have. Conclusion I still think the iGala is a reasonable, if somewhat immature product. If the software is going to be actively worked on, and the support people continue to be responsive, then I think it's got good potential. For the price, I expected a more polished product, though. I received an email from their support people shortly after returning from Australia saying that they'd fixed the WPA2 problem. Unfortunately I had no intention of trying to remotely talk my parents through how to reconfigure their access point or the frame (interestingly WPA2 didn't work with their Linksys WAG54G2 either, so I'd love to know what WPA2 devices it was tested with), so it's 128-bit WEP until I next go to Australia.

29 November 2009

Jonathan McDowell: DIY laptop SSD "upgrade"

I'm due a new laptop; my Portege R200 is over 4 years old now, I find it much slower than my desktop (no surprise; P-M 1.2GHz/1.2GB vs Core 2 2GHz/4GB), it's had a new battery and it has an annoying whine on the screen unless you press the side in just the right way. It's still better for long periods of use than my EEE 901, which is why I keep it. In particular I'm off to LCA2010 in January, along with some associated travel beforehand, and I'll want more than the EEE for that, but probably not a brand new laptop. Which meant that when the R200 started throwing disk errors recently I wasn't particularly happy.

Having decided it wasn't worth buying a new 1.8" drive I looked for alternatives. eBay offered plenty of options for 1.8" IDE to CF adaptors and I picked up a Kingston 32GB CF card from eBuyer. I copied across the data from the old drive using a USB adaptor, frobbed grub sufficiently that I got it installed on the CF, then swapped out the drive for the adaptor + CF. I had to do the swap a few times; the first I forgot to have a kernel with ext2 support (the HDD was ext3, but I went back to ext2 for the CF). The second I'd done my usual trick of forgetting to populate /dev with things like console and sda* (ie enough to get to the point where udev will run). And then grub needed some prodding to boot without intervention. I got there in the end and I'm currently writing this from said laptop.

I've made a few changes to the Debian install in an attempt to make things smoother; basically the same tricks people have been using on EEEs or other slow SSD devices. No swap, Iceweasel synchronous toolkit writes disabled, filesystems mounted with noatime, /tmp on tmpfs, various daemons that I don't really use disabled. It's still noticably slower than with the HDD, particularly on writes. However it's quieter and as long as it lasts for the next 3 months I'm happy (plus after that I can reuse the 32G CF card somewhere else, which I couldn't have done with a 1.8" HDD as easily).

Now, back to eying the Lenovo X200s (ugly, trackpoint but 1440x900 display, good battery life) and Toshiba R600 (slower, lower res but pretty and trackpad).as potential replacements. Maybe there'll be something even shinier in 12" by next year...

Next.

Previous.