Search Results: "sten"

30 November 2009

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.

Clint Adams: The Colbath-Kelleher Twining

Melissa was complaining that I was being nice for the wrong reasons. Several responses came to mind but I instead focused my attention on the man insisting that I had not paid for use of the sushi buffet. Technically, he was correct, but as I had just now learned of the sushi buffet's existence from him, I did not consider this to be a problem by any stretch. Condescendingly, he attempted to give me an out. Perhaps I took a piece of sushi without realizing it and would like to suddenly remember right at that moment. He seemed unconvinced by my denials. I asked him why exactly he thought I had taken sushi from his precious buffet. Melissa became increasingly more fretful. I was losing patience with both of them, and I was tempted to ask her where her husband was just to cause an explosion, but I knew that that probably was not the right way to escape this situation. Fahd passed by, and was no help at all.

29 November 2009

Torsten Landschoff: New on Debian planet

Now that there is some content here, I added myself to the Planet Debian blog aggregator. Sorry for my weird head image, the shadow looked much better in Gimp. I ll have to correct that on another day Thanks to Holger Levsen for pointing me at the wiki entry which describes how a Debian developer can add himself to the Planet.

Torsten Landschoff: New development box installation woes

I got a new computer at home a week ago and finally got around to assemble all the parts. Which wasn t as easy as expected, especially fitting the CPU cooler was a hard fight. Specs For the curious, here are the specs:
CPU
AMD Phenom II X4 965 (4 3.4 GHz)
Mainboard
MSI 790GX-G65
Graphics
ATI Radeon HD 3300 (on-board)
RAM
8 GB, DDR3
Hard drives
2x SATA 1.5 TB (by Western Digital)
Ubuntu installation For testing and having a first look, I installed Ubuntu karmic koala (amd64). Installation went like a breeze, everything was detected and worked out of the box. Well, kind of graphics performance was dreadful. Which was kind of expected. Debian installation I originally thought about using Debian only inside virtual machines or change roots. Still, Ubuntu does not really feel like the real thing . So I went to install Debian, aiming at a sid/unstable installation. The first boot using the official squeeze snapshot netinst image (Binary-1 20091128-11:21) went fine. Up to the first prompt: No input was possible. Probably a problem with the USB keyboard I had connected (Logitech wireless). Out of curiosity I tried the graphical installer, which did not even get so far. It was stuck in an endless loop trying to start an X11 server. So I dug for a PS/2 connected keyboard and had more luck. I got to the point where the installer searches for the CD-ROM drive. As I did not want to dismantle my old system yet, I used an external USB DVD/RW drive. This was not detected by the installer so I was unable to continue installation. I guess, the NIC driver was also on the disc so no ethernet either. Today I installed the DVD burner into the tower and had more luck. It still amazes me how easy it is to create my default storage setup using d-i (LVM on RAID). However, the installer failed to reread the partitions after I created two on each drive, interestingly telling me about /dev/sda2 being busy. Perhaps a left-over swap partition from the Ubuntu install? Anyway, after running fdisk manually and writing the same partition table again, I was able to continue. The remaining d-i steps went fine, with just a nuisance: I was asked for the console font setting twice. And I had no idea what it was asking of me, AFAIK UTF-8 should be fine for all possible uses. I selected # Latin1 and Latin5 western Europe and Turkic languages. Not that I will see the console unless Xorg fails to run After having the base system running, I rebooted without selecting any more software, partly because I knew that the resync on md1 will need restarting after booting into the new system. The new system booted fine and I called aptitude to install build-essential, Xorg and both KDE and Gnome desktops. This pulled in MySQL via akonadi-server (ouch!) and I was asked for a MySQL root password. Seriously, I don t care, this is a desktop system. I tend to forget the password anyway and the last time, root was able to reset it. So I just hit Enter, leaving no password set. This lead to the installation asking me two more times for the password, which really sucks given that the server is only used by Akonadi for whatever reason and the last time I looked, it creates its own MySQL configuration. Albeit my old system is 8 years old, the new system still seemed slower. Which of course is due to disk latencies, given that /dev/md1 was being synchronized in the background. Anyway, I was eager to test the desktop experience and started gdm. X came up fine, but again I had no mouse and no keyboard (USB mouse, keyboard connected as well as PS/2 keyboard). I also was unable to switch to a VT, so I logged in remotely and rebooted the new system. After the reboot, hal obviously picked up the input devices and X11 worked fine now. At this point, I stopped as the sunday almost passed already. Summary: Debian installation still needs some improvements I think. Maybe our distribution is just too stable, after all my last install is 3 years back due to a disk crash Relevant Debian bugs

28 November 2009

Bernd Zeimetz: the ganneff way of becoming a debian package maintainer

Once there was a project called Debian and a Ganneff.... (unfortunately in German only....)
22:20 < cb> Das ist doch voll die Arbeit Maintainer zu werden :-). Ich geb
gew nschte Pakete immer nur weiter an einen der da sowieso schon den Kernel
betreut :-)
22:21 < Ganneff> es is nur viel arbeit wenn du keinen schimmer hast
22:22 < cb> ja ich hab nur das seepferdchen *g*
22:22 < Obilan> Knusper: ja sicher ist es das
22:22 < Knusper> kopf -> tisch
22:22 < cb> Knusper, wenn du die verwaisten pakete findest siehst du auf
der gleichen seite auch die links wie man maintainer wird
22:22 < Knusper> die hab ich gefunden
22:22 < cb> zumindest hab ich das das letzte mal dort gesehen
22:24 < Ganneff> wnpp?
22:24 < Knusper> aber man brauch dann schon leute, die einen "hoffieren"
22:26 < Ganneff> du brauchst erstmal die ahnung nen paket zu bauen.
22:26 < Ganneff> dazu siehe new maint guide
22:26 < Ganneff> dann brauchste nen sponsor. dazu gehe zur mentors liste
22:26 < Ganneff> dann machste mit dem eh weng rum (also normal so
paketuploads via dem)
22:26 < Ganneff> und hast da halt schon dein maintenance krams.
22:27 < Ganneff> irgendwann is der sponsor angekotzt von dir und dem
laufenden arbeit generieren
22:27 < Ganneff> der tritt dich dann dass du mal DM anf ngst.
22:27 < Ganneff> das machste dann, und jemand anders tritt dir deine pakete
als dmua zurecht, nachdem du in nem keyring irgendwo steckst.
22:27 < Ganneff> und dann kannste denn krampf selbst hochladen. aber nix
andres.
22:27 < Ganneff> irgendwann willste was andres. und willst das auch noch
ohne son doofen sponsor
22:28 < Ganneff> dann versuchste dich an DD
22:28 < Knusper> ahhhhhh
22:28 < Ganneff> dazu musste dir nen advocate suchen
22:28 < Ganneff> der is  blicherweise einer dem du vorher im prozess
laufend auf den wecker fielst
22:28 < Ganneff> und er deswegen den nm leutz sagt "oh gott, befreit mich
bloss von dem"
22:28 < Ganneff> die machen das dann, aber sie wollen dir mal etwas
schmerzen zur ckgeben
22:28 < Ganneff> desdewegen wirste viele fragen beantworten m ssen
22:29 < Ganneff> und wie beim t v das auto musste hier deine pakete nochmal
vorstellen und checken lassen
22:29 < Ganneff> und dann nochmal fragen beantworten
22:29 < Knusper> thx...
22:29 < Ganneff> irgendwann gehst du dann mit den antworten den nm leuten
so auf den geist dass die dem frontdesk sagen "meine kacke, den wolle mehr
nit mehr sehen, schickts den dochma zu den DAMs, die hamms verdient"
22:30 < Ganneff> und die machen das dann meist. ausser sie m gen dich nich.
dann darfste nochma fragen beantworten
22:30 < Ganneff> bei den dams darfste nur warten. die testen deine geduld
22:30 < Ganneff> irgendwann langweilen die sich aber
22:30 < Ganneff> und dann kriegste pl tzlich mail
22:30 < Ganneff> OH MEIN GOTT. EIN NEUER DD.
22:30 < Ganneff> ende
22:30 < Ganneff> kapitel 2:
22:30 < cb> sch ne beschreibung
22:30 < Ganneff> du machst ne zeit als dd rum
22:30 < Knusper> LOL
22:30 < Ganneff> votest durch die gegend
22:30 < Ganneff> l dst pakete umher
22:30 < Ganneff> machst bugs in stable
22:30 < Ganneff> gibts dem security team arbeit
22:31 < Ganneff> sprich - du gehst allen auf den sack. denn das is was ein
dd macht. muss ja schliesslich auch spass machen.
22:31 < Ganneff> aber irgendwann, also irgendwann, da wird das langweilig
22:31 < Ganneff> und dann verschwindeste mal ne zeit.
22:31 < Ganneff> weil du weisst - da gibts noch son team. das brauch auch
arbeit
22:31 < Ganneff> die suchen so leute die weggehen und sich verstecken
22:31 < Ganneff> nennt sich mia. die suchen.
22:31 < Ganneff> vielleicht finden die dich ja auch.
22:32 < Ganneff> dann kommste zur ck und machst mal wieder etwas arbeit f r
security/stable/sonstwen
22:32 < Ganneff> oder nicht, aber das is langweilig, da fliegste einfach.
22:32 < Ganneff> wennde dann gar keinen bock mehr hast und ne l ngre pause
willst
22:32 < Ganneff> dann gehste und machst eien auf emeritus
22:32 < Ganneff> das sind die rentner, die alten s cke, die sich
zur cklehnen und  ber die versuche der neuen lachen die sich grad von den
sponsoren qu len lassen
22:33 < Ganneff> ende kap. 2, ich hab keinen bock mehr. (jaja, emeritus)
Cheers to #debian.de on freenode :-)

25 November 2009

Biella Coleman: Ninja Mind Tactics

Over the years far too many years I have occasionally chronicled the slow death of my mother, a death of mind, personality, really person that comes with Alzheimers. She has officially had the illness for 7 years now but had symptoms prior to this time, in the form of perceptual disturbances that are the defining feature of the rare type of Alzheimers she has, Benson s syndrome. As her illness progressed and we saw her doctors they would always ask: what other illnesses or health problems does Vera have? And I would answer none. Without fail and almost immediately, the inquiring doctor would respond back none? often with a slightly raised eyebrow, the one word uttered not to challenge the veracity of my answer, but used instead to convey another meaning, often bathed in some mixture of compassion and pity. It was an acknowledgement of the future that awaited us, basically stating with no other illness, this is going to be on heck of long and difficult haul of a life experience, which has indeed been the case. However, after nearly two years of being bed bound in a nursing home, physical health problems are now creeping in and my mother is descending into different type of hell, especially since she can no longer communicate the physical pain she might be in. The words she knows are few: no and a few other words (she likes to tell people they are loco and indeed I can only imagine how true this accusation of crazy is given that we are keeping her alive against her wishes). Her consistent and persistent wailing, agitation and crying do of course communicate the depth of suffering this being the hardest thing to bear witness to. She does have periods of calm, coaxed in part by the drugs she is given but these are not enough to override the pain she and we feel. About two months ago, her body started to give, the first problem being a fracture that led to significant internal bleeding and required a blood transfusion and a brace she is still wearing. A few weeks ago when I was visiting her, she basically developed these black and red welts on the bottom of her feet in a manner of two days, so instead of boarding a plane to NYC, I took her to the emergency room and stayed a full week while she was pumped with intravenous antibiotics. At first, doctors thought it might be gangrene, which was mortifying mostly because of all the associations that come with it. The doctors determined that it was not in fact gangrene but that she has a bone infection technically called osteomyelitis a tricky condition to treat that requires at minimum 45 days of IV antibiotics. The hospital/doctors who had originally determined she would stay there for her treatment, changed their mind unexpectedly and announced their intention to ship her to a long-term care facility, which in theory we were not opposed to, except for the fact that it is very far from where my sister lives, and also it is a facility we had not verified for ourselves. On top of it, we knew she had a legal right stay in the hospital (though some doctors informed us otherwise). We preferred the hospital because it is so close to our house, we would be able to hire someone to visit her when my sister is at work, and we suspect that she will have additional complications from 45 days of IV abx so why not stick around and receive treatment and care from the same internist who had been nothing but a great doctor. The story took a turn toward the surreal when the infectious disease doctor decided to release her to her nursing home with a treatment of oral antibiotics, even though every single doctor we saw from the emergency room doctor to the weekend internist who subs for her regular doctor, repeatedly informed us the only treatment is IV antibiotics for at least 45 days, possibly more (which is the normal treatment protocol).
Since so many people don t know how to maneuver complaints and take action in hospitals, doctors and other staff can exploit this to make medically dogdy decisions (which happened in fact when a feeding tube was put into my mom, but that is another long story I don t think I ever wrote about here). I am sure also that some doctor s are less willing to take questionable action with certain patients depending on the class and background of their family members but I bet the first impression I give off to doctors, to invoke Erving Goffman s work on self-presentation, is not someone willing to take swift action. In the hospital, I have the sense that most doctors don t take me all that seriously, probably thinking that I am 5 foot slacker/artistic type that I admittedly do look like as I dress in jeans, a hoodie and a winter cap because the hospitals are so effing, ridiculously cold in PR (and I can t help my height nor the fact that I look 24 or so). So it usually comes as a surprise when I bring out my mind ninja tactics developed over years of being and thinking like an academic, whose craft is research, whose passion is arguing, and for some of us who are politically inclined, who love the challenge of righting wrongs. So when this happened I contacted lawyer-friends, talked to the social worker and promptly complained to the head of client services/ombudsperson and made a stink but of a very particular sort: it was packaged in massive tact. I was very deferential (especially since those folks have nothing to do with the mess, they are there to help and are your allies), repeatedly pointed out how the doctor s decision amounts to medical negligence, and made it clear that I was willing to take action, leave my work if need be and get my ass down there, and casually mention how in the 5 hours between their decision and my phone calls, I have already taken action (how I have contacted lawyers on the island, etc). Needless to say, the hospital decided that my mom is staying put in the hospital and I am relieved. But this solace is only of the tiniest sort. I am still reeling from the absurdity of her condition and her suffering. She is only alive because of a feeding tube that I am opposed to, her state of being a modern day zombie that in reality, or at least from my perspective perpetuates her suffering. For this reason, truth be told and at one level relieved that her body is finally failing, that there is a chance, a light at the end of this lonely, now horrific tunnel that her life will end sooner than later. This, however, makes it no easier emotionally nor ethically as it is my mother who must journey alone through significant pain and suffering as her body now goes elsewhere a journey we can watch in person yet are powerless in its face.

Biella Coleman: Ninja Mind Tactics

Over the years far too many years I have occasionally chronicled the slow death of my mother, a death of mind, personality, really person that comes with Alzheimers. She has officially had the illness for 7 years now but had symptoms prior to this time, in the form of perceptual disturbances that are the defining feature of the rare type of Alzheimers she has, Benson s syndrome. As her illness progressed and we saw her doctors they would always ask: what other illnesses or health problems does Vera have? And I would answer none. Without fail and almost immediately, the inquiring doctor would respond back none? often with a slightly raised eyebrow, the one word uttered not to challenge the veracity of my answer, but used instead to convey another meaning, often bathed in some mixture of compassion and pity. It was an acknowledgement of the future that awaited us, basically stating with no other illness, this is going to be on heck of long and difficult haul of a life experience, which has indeed been the case. However, after nearly two years of being bed bound in a nursing home, physical health problems are now creeping in and my mother is descending into different type of hell, especially since she can no longer communicate the physical pain she might be in. The words she knows are few: no and a few other words (she likes to tell people they are loco and indeed I can only imagine how true this accusation of crazy is given that we are keeping her alive against her wishes). Her consistent and persistent wailing, agitation and crying do of course communicate the depth of suffering this being the hardest thing to bear witness to. She does have periods of calm, coaxed in part by the drugs she is given but these are not enough to override the pain she and we feel. About two months ago, her body started to give, the first problem being a fracture that led to significant internal bleeding and required a blood transfusion and a brace she is still wearing. A few weeks ago when I was visiting her, she basically developed these black and red welts on the bottom of her feet in a manner of two days, so instead of boarding a plane to NYC, I took her to the emergency room and stayed a full week while she was pumped with intravenous antibiotics. At first, doctors thought it might be gangrene, which was mortifying mostly because of all the associations that come with it. The doctors determined that it was not in fact gangrene but that she has a bone infection technically called osteomyelitis a tricky condition to treat that requires at minimum 45 days of IV antibiotics. The hospital/doctors who had originally determined she would stay there for her treatment, changed their mind unexpectedly and announced their intention to ship her to a long-term care facility, which in theory we were not opposed to, except for the fact that it is very far from where my sister lives, and also it is a facility we had not verified for ourselves. On top of it, we knew she had a legal right stay in the hospital (though some doctors informed us otherwise). We preferred the hospital because it is so close to our house, we would be able to hire someone to visit her when my sister is at work, and we suspect that she will have additional complications from 45 days of IV abx so why not stick around and receive treatment and care from the same internist who had been nothing but a great doctor. The story took a turn toward the surreal when the infectious disease doctor decided to release her to her nursing home with a treatment of oral antibiotics, even though every single doctor we saw from the emergency room doctor to the weekend internist who subs for her regular doctor, repeatedly informed us the only treatment is IV antibiotics for at least 45 days, possibly more (which is the normal treatment protocol).
Since so many people don t know how to maneuver complaints and take action in hospitals, doctors and other staff can exploit this to make medically dogdy decisions (which happened in fact when a feeding tube was put into my mom, but that is another long story I don t think I ever wrote about here). I am sure also that some doctor s are less willing to take questionable action with certain patients depending on the class and background of their family members but I bet the first impression I give off to doctors, to invoke Erving Goffman s work on self-presentation, is not someone willing to take swift action. In the hospital, I have the sense that most doctors don t take me all that seriously, probably thinking that I am 5 foot slacker/artistic type that I admittedly do look like as I dress in jeans, a hoodie and a winter cap because the hospitals are so effing, ridiculously cold in PR (and I can t help my height nor the fact that I look 24 or so). So it usually comes as a surprise when I bring out my mind ninja tactics developed over years of being and thinking like an academic, whose craft is research, whose passion is arguing, and for some of us who are politically inclined, who love the challenge of righting wrongs. So when this happened I contacted lawyer-friends, talked to the social worker and promptly complained to the head of client services/ombudsperson and made a stink but of a very particular sort: it was packaged in massive tact. I was very deferential (especially since those folks have nothing to do with the mess, they are there to help and are your allies), repeatedly pointed out how the doctor s decision amounts to medical negligence, and made it clear that I was willing to take action, leave my work if need be and get my ass down there, and casually mention how in the 5 hours between their decision and my phone calls, I have already taken action (how I have contacted lawyers on the island, etc). Needless to say, the hospital decided that my mom is staying put in the hospital and I am relieved. But this solace is only of the tiniest sort. I am still reeling from the absurdity of her condition and her suffering. She is only alive because of a feeding tube that I am opposed to, her state of being a modern day zombie that in reality, or at least from my perspective perpetuates her suffering. For this reason, truth be told and at one level relieved that her body is finally failing, that there is a chance, a light at the end of this lonely, now horrific tunnel that her life will end sooner than later. This, however, makes it no easier emotionally nor ethically as it is my mother who must journey alone through significant pain and suffering as her body now goes elsewhere a journey we can watch in person yet are powerless in its face.

22 November 2009

Joey Hess: building a day

The difficulty with living on the Joey sleep schedule as the year wanes is finding enough daylight to have a satisfying day. The plan was to hike in the mountains, but my inbox said otherwise. Ugly new debhelper bugs. Looking at the hard one, I felt as if someone from 30 years ago was trying to take my day away. Why does make(1) not provide a way to discover which targets exist in a makefile? My hack to workaround that historical oversight was breaking, and make was nearly fork-bombing the system in the process. This seemed likely to eat my weekend -- I was very glad to find a quick, ugly workaround. By then it was 2:00. I'd not get to the mountain pass til after 3:00, which was pushing it. Almost stayed home, but it was such a nice sunny day, perfect weather. So I headed out. Spent half an hour along the way talking with an old woman about a well (long story), but reached the Roan with nearly two hours of daylight. And it was sublime. I realized I'd never stayed up there for sunset, so I hunkered down on a rock, finished checking my email (left over from the earlier hurry), and then spent half an hour chatting on the phone with my dad, as the sun inched down a finger at a time. When it went behind the other peak, and mist crept up the valleys below, it got cold and I hurried down. Reached the car in deep dusk, and coasted down the mountian while listening to a BBS nostalgia piece on the radio. On the way home, pulled in at the Ridgewood BBQ, and am sitting on the porch in the cold with about 50 other people, waiting for a seat (hopefully before it closes), and blogging. I accomplished everything I wanted to today, including getting something significant done, hiking, and spending quiet time on top of the world. Though only just, and feeling I was running late the whole time. Nice thing about the Joey schedule though, is I will have seven more hours of quiet time before sleep.

21 November 2009

Biella Coleman: How Far Can it Go?

During the month of October I spent quite a bit of time thinking about the past, present, and future of F/OSS. This was due in part to participation in a Berkman Center event on Free Culture, where we discussed the historical arc of Free Software to Free Culture, the relationships between them (and their differences), and also the content and meaning each. Over the years, what I have found so interesting about Free Software is how it left its enclave to inspire countless groups into rethinking the politics and ethics of production and access and yet, as I raised in this pod-cast interview (due to the prompting of my interviewer, Elizabeth Stark), Free Software and/or Free Culture is still pretty bounded and contained phenomenon especially when compared to something like the existing consciousness over the environmental movement, which many folks know about and understand even when and if they are not involved in doing anything for the movement. I always ask my first year students whether they know what Free Software or Free Culture is and 9 out 10 stare at me with those blank eyes that basically speak in silence: no. Now, there are a group of activists, many located in Europe, a number of them with deep roots in the social justice movement who are taking Free Culture down a different path, trying to expand its meaning and conjoin it to social justice issues, build a broad set of coalitions across the political spectrum so as to override the fragmentation that is so characteristic to contemporary political moment, and use FC as an opportunity to critique the market fundamentalism of the last few decades. If you are interested in these issues, take a look at their charter: they are looking for comments (critical and constructive) as well as endorsements (here is the long version). I myself have a few comments, for example, I think it is worth noting something like the limits of what FC can do, that even if in many ways it can be activated to do good in the world, it is also best to highlight in the same swoop that FC is not some political panacea and has limits. For example some groups in the world, notably some indigenous communities abide by a different logic of access and culture, whereby full access is not culturally or ethically desirable, as the work of Kim Christen has illuminated. I also wonder in what ways issues of labor might be addressed more forcefully, and though they briefly raise the question of environmental sustainability, it is worth expanding these more directly and deeplyas this article by Toby Miller and Richard Maxwell make clear. There is more to say but I will leave it here for now and just say it is really great to see Free Culture taken down another political path that is rooted in coalition building.

Biella Coleman: How Far Can it Go?

During the month of October I spent quite a bit of time thinking about the past, present, and future of F/OSS. This was due in part to participation in a Berkman Center event on Free Culture, where we discussed the historical arc of Free Software to Free Culture, the relationships between them (and their differences), and also the content and meaning each. Over the years, what I have found so interesting about Free Software is how it left its enclave to inspire countless groups into rethinking the politics and ethics of production and access and yet, as I raised in this pod-cast interview (due to the prompting of my interviewer, Elizabeth Stark), Free Software and/or Free Culture is still pretty bounded and contained phenomenon especially when compared to something like the existing consciousness over the environmental movement, which many folks know about and understand even when and if they are not involved in doing anything for the movement. I always ask my first year students whether they know what Free Software or Free Culture is and 9 out 10 stare at me with those blank eyes that basically speak in silence: no. Now, there are a group of activists, many located in Europe, a number of them with deep roots in the social justice movement who are taking Free Culture down a different path, trying to expand its meaning and conjoin it to social justice issues, build a broad set of coalitions across the political spectrum so as to override the fragmentation that is so characteristic to contemporary political moment, and use FC as an opportunity to critique the market fundamentalism of the last few decades. If you are interested in these issues, take a look at their charter: they are looking for comments (critical and constructive) as well as endorsements (here is the long version). I myself have a few comments, for example, I think it is worth noting something like the limits of what FC can do, that even if in many ways it can be activated to do good in the world, it is also best to highlight in the same swoop that FC is not some political panacea and has limits. For example some groups in the world, notably some indigenous communities abide by a different logic of access and culture, whereby full access is not culturally or ethically desirable, as the work of Kim Christen has illuminated. I also wonder in what ways issues of labor might be addressed more forcefully, and though they briefly raise the question of environmental sustainability, it is worth expanding these more directly and deeplyas this article by Toby Miller and Richard Maxwell make clear. There is more to say but I will leave it here for now and just say it is really great to see Free Culture taken down another political path that is rooted in coalition building.

Torsten Werner: new arch all handling in Debian: lesson #1


Since some days we keep packages of Architecture: all in the archive as long as they are needed. You can find some details about that in my former post:
dak dominate will dodadoda the Debian archive soon.

The package that could currently profit most from that change is rpm! But the package dependencies are actually not strong enough. The source package rpm builds some arch all packages like rpm-common and several arch any packages and some of them (rpm, librpm0) have an unversioned field
Depends: rpm-common.
This dependency can be improved to
Depends: rpm-common (= $ source:Version )
to avoid nasty bugs after upgrading.

I fear that we have more of such packages in Debian.

20 November 2009

Ian Wienand: Go L4!

By now everybody has now heard about Go, Google's expressive, concurrent, garbage collecting language. One big, glaring thing stuck out at me when I was reading the documentation:
Do not communicate by sharing memory; instead, share memory by communicating.
One of the examples given is a semaphore using a channel, which I'll copy here for posterity.
var sem = make(chan int, MaxOutstanding)
func handle(r *Request)  
    sem <- 1;    // Wait for active queue to drain.
    process(r);  // May take a long time.
    <-sem;       // Done; enable next request to run.
 
func Serve(queue chan *Request)  
    for  
        req := <-queue;
        go handle(req);  // Don't wait for handle to finish.
     
 
Here is a little illustration of that in operation. Semaphores with Google Go Serve creates goroutines via the go keyword; each of which tries to get a slot in the channel. In the example there are only 3 slots, so it acts like a semaphore of count 3. When done, each thread returns its slot to the channel, which allows anyone blocked to be woken and continued. This instantly reminded me of the very first thing you need to do if you ever want to pass Advanced Operating Systems -- write a semaphore server to provide synchronisation within your OS. In L4, threads communicate with each other via inter-process communication (IPC). IPC messages have a fixed format - you specify a target thread, bundle some data into the available slots in the IPC format and fire it off. By default you block waiting for a reply -- this all happens within a single call for efficiency. On the other side, you can write servers who are listening for remote IPC connections, where everything happens in reverse. Here's another illustration the of the trivial semaphore server concept Shehjar and I implemented. L4 semaphore server example Look familiar? Instead of a blocking push of a number into a slot into a channel, you make a blocking IPC call to a remote server. My point here is that both take the approach of sharing memory via communication. When using IPC, you bundle up all your information into the available slots in the IPC message and send it. When using a channel, you bundle your information into an entry in the channel and call your goroutine. Receiving the IPC is the same as draining a channel - both result in you getting the information that was bundled into it by the caller.
IPCGo
Start threadStart goroutine
New thread blocks listening for IPC messageGoroutine blocks draining empty channel
Bundle information into IPC messageBundle data into type of your channel
Send IPC to new threadPush data into channel
Remote thread unbundles IPCgoroutine drains channel and gets data
Whenever you mention the word "microkernel", people go off the deep-end and one thing they seem to forget about is the inherent advantages of sharing state only via communication. As soon as you do that, you've broken open an amazing new tool for concurrency, which is now implicitly implied. By communicating via messages/channels rather than shared global state, it doesn't matter where you run! One of those threads in the example could be running on another computer in your cloud, marshalling up it's IPC messages/channel entries and sending them over TCP/IP -- nobody would care! At any rate, do not communicate by sharing memory; instead, share memory by communicating is certainly an idea whose time has come.

19 November 2009

Adrian von Bidder: HTTP over UDP?

I was just seeing the headlines about Google's SPDY technology which, as far as I understand right now (haven't read the LWN article yet) is trying to accelerate HTTP by doing fancy things within the TCP stream. I'm just thinking: why not do HTTP over UDP instead, like DNS does? This would cut down latency for small requests a lot, and for big transfers, the added latency woulnd't matter that much. How could that work? I figure that with today's JavaScript enabled, Ajaxy web, many requests (and responses, of course) would indeed be small and would fit in an UDP packet (especially since I'd say content should be compressed in any case without special negotiation.) OTOH, encryption would be hard (or, at least in a first protocol revision, not supported) and since persistent TCP connections are available, maybe this is just unnneccessary. I don't know. But I'm not sure if persistent TCP connections are actually that widely in use on web application where a user might click on a button every few minutes. How long do browsers and servers keep the TCP connection open?

17 November 2009

Torsten Werner: dak dominate will dodadoda the Debian archive soon



This blog post is about fixing the bug #246992: 'arch all package available before arch any dependancy'. What does that mean: we will keep multiple versions of arch all and source packages per suite as long as older arch 'any' package are still available because maybe newer versions haven't been built by the buildds yet. That means that packages from the unstable suite will always be installable in the future.

The old code in make_suite_file_list.py has been replaced by generate_filelist.py and dominate.py. The first one is generating the file lists for apt-ftparchive and the second one removes obsolete packages from the database. The code in make_suite_file_list.py has been written by people that are no longer members of the ftpteam. Its main control function has a nice name: do_da_do_da(). The new script dominate.py still ships with a small function doDaDoDa() as a reminiscence to our forefathers.

My code has been merged into dak and will be activated on ftp-master.debian.org soon. It can't re-add packages that have already been removed in the past but is will make the archive more friendly in the future. Unfortunately it will leave more cruft in the archive that cannot be cleaned fully automatically. We will need your help to find such corner cases. Please report any errors in the archive as a bug report against the virtual package 'ftp.debian.org'.

More information about the topic can be found in ftpteam's wiki.

16 November 2009

John Goerzen: Droid Review Update

It s now been nearly a week since I started using the Droid, and I have some updates from my initial review. Browser First, I, like many reviewers, complained about the lack of multi-touch in the browser, thinking it inferior to the iPhone/iPod Touch as a result. I think I, and all those other reviewers, were mistaken. The great part about the Droid browser is that I can just double-tap on the content column, and it automatically zooms in to the width of that column (hiding left/right navigation or whatever else may be there). Moreover, the Droid browser also seems to render these columns narrower than the iPhone/Touch browser does. So some websites aren t viewable on the iPhone even in landscape mode without horizontal scrolling, but work great on the Droid even in portrait. Perhaps multi-touch pinching is missed in the map, but the utility of it seems far less important now that I ve played with it some. Vibration I complained that the shortcut on the lock screen puts the device into silent mode, with no corresponding shortcut to put it in vibrate mode. That s true, but there s another annoyance: if you enable a lock pattern the Droid version of a power-on password even the shortcut to silent mode is gone. Doh. Now you have to unlock the device before you can put it on silent or vibrate. Cool Stuff in Settings There s some nifty stuff in settings that some reviewers seem to have missed. You can see what services are running, and kill any of them. Even niftier, in the about the device screen, it can show you what s using battery power, and how much. It lists apps, cell modem, wifi, OS, etc. It would be nice if the iPod Touch, with its worse battery life, had this feature; my Android, at least, doesn t seem to really need it, as the battery life is fine. I also appreciate that just about everything on the Droid has more options than on the iPhone/Touch. I was in the Wifi menu on Terah s iPod Touch today, trying to figure out where the rest of the settings where. Then I realized they aren t anywhere; the iPod Touch doesn t have those as configurable options. Consistency and Duplication I get rather annoyed with UIs or devices put similar functionality multiple places. The Droid has a habit of doing this sometimes. Here s an example. Say you want to remove an app. You can, as I did, go to Settings, then Applications, and remove it from there. But later, I was wondering how you can rate applications. I noticed a Downloads screen available from the menu in the Market. That s where you rate it. You can remove apps from there too. Strangely, removing apps from the Downloads screen asks you why you re removing it, but the other screen doesn t. Wonder why that is? Camera I did check out the camera. I have very little experience using cell phone cameras. So I guess I ll say the Droid s camera is far better than the Blackberry Pearl s and far worse than my Digital Rebel. Compared to the Digital Rebel, or even an ancient 35mm camera, it s terrible. Maybe it s typical for a cell phone, and I guess it works in a pinch. I wouldn t rely on it for anything I want a print of.

15 November 2009

Russell Coker: Backing up MySQL

I run a number of MySQL databases, the number of mysqld installations that I run is something like 8, but I may have forgotten some. With the number of servers that I run on a do nothing except when it breaks basis it s difficult to remember the details. The number of actual databases that I run would be something like 30, four databases running on a database server (not counting mysql is fairly common. Now I need to maintain some sort of automated backup of these, this fact became obvious to me a couple of days ago when I found myself trying to recreate blog entries and comments from Google s cache There are two types of database that I run. There are ones of significant size (more than 1GB) and tiny ones I don t think I run any database which has a MySQL dump file that is more than 20M and less than 2G in size. For the machines with small databases I have the following script run daily from a cron job (with db1 etc replaced with real database names and /mysql-backup replaced by something more appropriate). The --skip-extended-insert option allows the possibility of running diff on the dump files but at the cost of increasing file size, when the raw file size is less than 20M this overhead doesn t matter and gzip should handle some extra redundancy well. #!/bin/bash -e for n in db1 etc ; do
/usr/bin/mysqldump --skip-extended-insert $n gzip -9 > /mysql-backup/$n- date +%Y-%m-%d .gz
done Then I have a backup server running the following script from a cron job to copy all the dump files off the machines. #!/bin/bash -e
cd /backup-store
for n in server1 server2 ; do
scp $n:/mysql-backup/*- date +%Y-%m-%d .gz $n
done This script relies on being run after the script that generates the dump files. Which is a little more tricky than it should be, it s a pity that cron jobs can t be set to have UTC run times. I could have run the dumps more frequently and used rsync to transfer the data, but it seems that the risk of losing one day s worth of data is acceptable. For my blog I can get any posts that I might lose from Planet installations in that time period. For the bigger databases my backup method starts by putting the database and the binary log files on the same filesystem not /var. This requires some minor hackery of the MySQL configuration. Then I use rsync to copy the contents of an LVM snapshot of the block device. The risks of data consistency problems involved in doing this should be no greater than the risks from an unexpected power fluctuation and the system should be able to recover from that without any problems. My experience with MySQL dumps is that they take too long and too much system resources for large databases so I only use them for backing up small databases (where a dump can be completed in a matter of seconds so even without using a transaction it doesn t hurt).

13 November 2009

Stefano Zacchiroli: jane street core 0.6.0 has arrived

Debian "Core" 0.6.0 packages ready I've completed the packaging of the new release of (Jane Street) Core, version 0.6.0. Core is (yet another) extended / alternative standard library for OCaml, integrating not only the much needed "everyday functions" but also offering consistent abstractions throughout all stdlib modules (with a lot of inspiration from well-known type classes from the Haskell stdlib), consistent naming conventions (e.g. all functions using exceptions as meaningful return values ends in _exn), and significant syntax extensions. While I've been thus far an OCaml Batteries Included fanboy, I confess that nowadays I'm more skeptical about its success than in the past, in spite of having contributed a tad of code to it. The reason is simply that the lead of the project is now gone and, more importantly, has done so without having (yet?) clearly appointed/found a new lead. That does not change the fact that David has only to be kudoed for his amount of impressive work on Batteries. Still, as a matter of fact right there is no stable release yet and there is no one that will be taking the project to deliver one, since no one else has stepped forward (yet?). In this interim the OCaml problems in delivering, on top of an amazing core language, an amazing development platform in which programmers are not forced to reinvent wheels, stand. Core fills such a gap properly. I was preferring Batteries to it due to its more open development process, but in spite of that Core is a pretty damn good stdlib. Long life to Jane Street that currently maintains it :-) Now, back to the main topic of this post, Debian packages for Core 0.6.0 are now available; you will be able to get it from the main/unstable archive soon (some manual NEW processing is required). In the meantime they can be fetched from my personal APT repository, as usual:
    deb http://people.debian.org/~zack/debian zack-unstable/
    deb-src http://people.debian.org/~zack/debian zack-unstable/

A few noteworthy changes from the past package releases: Update 18/10/2009: core 0.6.0 and all its components have passed through NEW, they are now available in the Debian archive as usual

9 November 2009

Stefano Zacchiroli: on mail addresses and upload rights

1 I posted like 3 o 4 messages to an Ubuntu mailing list in my life; it happened when they discussed DEP-3, which I think can help in syncing patches between the 2 distros (or, if you want, in removing one more excuse for not doing that). When I did that, I posted with my @debian.org address. If I have upload rights to Ubuntu, I would certainly use my @debian.org address, to show to the Ubuntu community where I come from. Now, why then should a @ubuntu.com guy do anything different when uploading to Debian, no matter which rights he has earned in the (Debian) project? Or better, sure he can do it differently, but why should we ask he to do that? 2 DDs have different "philosophies" about which address they use in Maintainer/Uploaders fields: some of them consistently use @debian.org address in every package they (co-)maintain; some other use some of their non-Debian addresses. Shouldn't the latter choice be completely orthogonal to whether they have a @ubuntu.com address? 3 As Gaudenz has shown in his master thesis (there's a very nice DC9 talk about that), Debian has surely lost a lot of "contributors" (people that interact on lists, BTS, ...) in favor of Ubuntu, but has not lost "uploaders" (Gaudenz' names were actually different, but I can't remember them and the slides are in German, which I can't read :-/). In fact, there is a flow of people which become uploaders to Debian, that come from Ubuntu; that flow most likely compensates the decrease in the number of Debian contributors which become uploaders. So, let's face it, we will have at least for a while people coming from Ubuntu uploading to our archive, possibly/hopefully because they like more our free ideals and democratic project management. These are my personal reasons for finding some rants pointless. (But still, that rant finally gave me the opportunity to mention Gaudenz's work, which I've found pretty impressive!)

8 November 2009

Russell Coker: I m an Aspie

I ve recently been diagnosed with Asperger Syndrome (AS) [1]. Among other things this means that I am genetically predisposed to have an interest in solving technical problems and give lectures about how I solved them, but that I tend not to be a people-person . AS is generally regarded as an Autism Spectrum Disorder (ASD), but there is a lot of debate among the experts about the exact relationship. Some people (such as the psychologist who assessed me) believe that AS is a synonym for High Functioning Autism (HFA), however one theory I ve heard is that HFA people are more sensory oriented and Aspies differ by being information oriented in that case I would not be regarded as HFA. I m not bothered by this issue, I m sure that in a few years time the experts will have some consistent definitions for such things that most people can agree on. There is no Boolean assessment for AS, the assessment is based on a sliding scale of number of criteria. People who are almost Aspies but don t quite pass the test (or more commonly don t get assessed because they don t think they would pass) are sometimes referred to as Asperger Cousins (AC), this is a slang term that is not formally recognised but is often used in online discussions. I m sure that a significant portion of the readers of my blog would regard themselves as being at least ACs if they investigated the issue. The test at Glenn Rowe s web site [2] can give you an idea of how you rate by some criteria but note that this is not at all conclusive and it s based on the theories of Professor Simon Baron-Cohen [3], not all of which have general agreement. Leif Ekblad is running a project to analyse long-term changes to the Aspie score of adults [4]. The main quiz for that project seems quite popular for self-diagnosis, but again it s not conclusive. I think that diagnosing oneself for an ASD is not nearly as crazy as most things which might fall in the category of being one s own psychologist, but I still strongly recommend getting a formal assessment if you believe that you are an Aspie. In Australia it costs about $600 and there s a waiting list of about 3 months. Chaotic Idealism has an insightful post about the pros and cons of self-diagnosis [5], if you suspect that you may be an Aspie then I recommend that you read it before doing the tests.

6 November 2009

Joachim Breitner: Releasing zpub as Free Software

Earlier this year, my brother and I developed a documentation management server for a small software developing company. They were sick of creating their documentation by sending around Word documents, having to manually merge them, losing changes and not getting a clean, consistent layout.So we created zpub for them: It is based on DocBook and Subversion, and adds a fairly nice web interface to it. Now their work flow is
  1. The editor checks out the DocBook source document via Subversion. With a client like TortoiseSVN, this is possible even for the less tech-savvy editor.
  2. He works on the document using the editor of his choice. We recommended an editor with a proper DocBook mode such as the XMLMind XML Editor or Serna Free, which was recently published as Free Software, to our customer.
  3. When satisfied, he commits his changes via Subversion, adding a comment describing his modifications.
  4. On the server, zpub renders the document in the various output formats (.html, .pdf, .chm), and makes the result available via the web interface. The commit messages are put there, and all previous revisions of the document can still be accessed.
  5. Optionally, an e-mail about the change is sent out to a per-document configurable list of recipients.
  6. Optionally, the documents are rendered with a DRAFT -Watermark on the pages, to avoid leaking wrong revisions to the outside. Only users with extended rights are allowed to release a document, thus causing a version without that watermark to be rendered.
For more details on the feature and usage of zpub, check out the documentation that you can find on the demo instance.We are actually quite satisfied by zpub, and it would be a petty if that was just it. Of course, there are quite a view programs out that that can provide these features plus many more, much more than a company the size of our customer would want to have (or even to worry about). So there is a niche between sending Word documents by mail and buying a very expensive, complicated product where zpub fits in.Being a fan of Free Software myself, and since zpub is based on Free Software, we decided that we want to release zpub itself under a Free License. We chose the EUPL, which is a GPL compatible license created by the European Commission, since our customer comes from a municipal environment. The code is hosted on gitorious now, so if you have a need for zpub, just give it a try.Also, if you run a Free Software project, manage your documentation in DocBook (or want to start to do so) and think that zpub might be a neat idea to allow more documentation writers to contribute, talk to me. I might well offer free hosting in that case. If you are a commercial user, I m still offering hosting (and support or feature development), just not for free any more. Note that the zpub user interface and documentation is currently only available in German.

Next.

Previous.