Search Results: "hug"

2 July 2006

Evan Prodromou: 13 Messidor CCXIV

Honk honk honk! honk honk honk honk! I guess Portugal just won the quarterfinals against England for the wt:World Cup 2006. We have a huge Portuguese community in Montreal, and the team's victories this year at the Cup and in 2004 for the Euro cup have been a huge source of pride. I'm not a big soccer fan, but I do love the fact that Mtl's cultural communities literally fly the colors, packing the bars and cafes and driving around honking after a win (or even a big goal). Italy, Portugal, Brazil (mostly Portuguese again), France... I even saw some cars with Ukraine flags. It's a cool part of being in such a multiculti city. tags:

Moving Day One of the things that's crazy about being in Montreal in the summer is that there's just too much to do. On any given day, there are just a billion jillion activities and things to do. Around May, the vegetation here just explodes into frenetic growth -- trying to get a full cycle of life in in our small sub-arctic growing season. Quebec's forests are as dense and overgrown as any Amazonian jungle. I think humans' social schedule during the summer is like that, too: trying to get a full year of fun into 4-5 months. Take today, for example. It may be 13 Messidor to us citoyens, but for the people of the North today is 1 July, officially wp:Canada Day. The national holiday of Canada, it's celebrated from Coast to Coast by lots of people who love Canada and want to celebrate their Canadianness. And then there's Quebec. Sure, Montreal has some nice Canada Day events, but there's something furtive about them. Even though somewhere north of 45% of Quebec's population wants to remain in the union, it's still rare to see overt Canada Day celebrations, outside the sponsored events. But for most Quebecois, July 1 is wp:Moving Day -- the day when everyone's lease is up, by government mandate, and those people who are going to move this year go to their new homes. There are moving vans in the street and people queued up at the rental places -- typical time to rent is 2-4 hours. We moved on Moving Day last year to our new, great apartment, and it's nice to be here. This may be the first Moving Day we've been here that no one's asked for help moving. That might say something about the stage of life we're in -- people are buying their own homes and settling down -- and it may say something about our reliability as friends since we had a baby. In any event, here's one Moving Day when any moving I do is on my own. tags:

Jazz There was a Canada Day parade this morning on the other side of town (where the anglophones and federalists live...), but we were too tired to go. So we instead skipped down to Place des Arts to visit the free outdoor parts of the Montreal Jazz Fest. Case in point with Montreal festivals in the summer: it was big, with tons to do, and we were totally unable to deal with doing it. We had some Molson Dry, saw some music playing and Amita June clapped along (she's a great clapper!), then we had quiche and a salmon wrap and some Molson Dry, then Amita June went and played in the kids' area, then we saw some more music, then some samba, then klesmer, then off to home. Good time, but tiring. I feel obliged to enjoy Montreal summers, but sometimes it's just too much. tags:

France Honk honk! Honk honk honk honk honk!! So I guess France just beat Brazil to get into the semi-finals. Is it actually allowed to have a World Cup without Brazil in the semi-finals? I thought it was a rule. Niko, my French Friend, was complaining last week that the French fans were just loitering around the bars on St. Laurent rather than being boisterous like other fans did when their teams won. Not today: on our way back from Jazz Fest, we saw a huge tow truck with a gigantic tricolor draped from the back trolling up and down Mont Royal. Kind of a bummer for the Brazilians -- and the rest of us who enjoy Brazil fans' antics. But I guess that's the way it goes sometimes. tags:

Fancruft I don't remember what I was looking up on Wikipedia, but there was some fancruft on the page and I ended up wasting half an hour reading Simpsons articles. I want my half hour back, Wikipedia! tags:

Marilynne Robinson When I was a freshman in college, one of my favorite instructors, Michael Near, assigned "Housekeeping" by Marilynne Robinson as an English 1B assignment. I found the story haunting and beautiful and altogether excellent. I tried digging up more of her work at the UC Berkeley main library, and all I could get was "Mother Country" -- her indictment of stratified society and nuclear energy. In it, she promised never to write fiction again. So I was stunned to read a quote by Robinson in Shannon's Livejournal. Wow. Apparently wp:Marilynne Robinson has written a book of essays in 1998 and a Pulitzer-Prize-winning novel in 2005. Incredible. Why was I not informed? I've got some reading to do. tags:

Full-text feed So I've got a full-text feed now. Hopefully it works for those folks with Planet aggregators or whatever, and especially for Joey Hess, who hates the stuff below the fold. Some corrections that I made to older posts seem to have fudged up some planets, notably Planet Debian, for which I'm kind of bummed. But I think I've fixed the problem, and this should be the only time it happens. Unfortunately, since I write a lot, it means a lot of scrolling. tags:

1 July 2006

Jesus Climent: Edinburgh

While in Edinbugh, I have taken some pics. We have not been able to get in most of the venues, so I will take some pics later, when it is open. But still, my main concern is where to find the picture where everybody is hugging Ganneff right before the Debconf Hug Days ended.

Evan Prodromou: 12 Messidor CCXIV

I got up this morning with hundreds of messages in my inbox, and re-sorted them to the correct folders. My monkeyplexer program, which sorts stuff into the correct folders automatically, has been running out of control. I developed it for a version of CRM114 that's now totally obsolete, but the file formats and interfaces have all changed. I've taken a poke at bringing the program up to speed with later versions, but it's just not bad enough to deal with. Also, the horrendous interface of crm114 is just too ugly to imagine. Blech. Instead, I took the opportunity to unsubscribe from about 25 mailing lists that I no longer read and that go from my inbox to an overstuffed folder to a trashcan two weeks later. Hopefully this will take some of the pressure off of the monkeyplexer until I get time to either a) move to something easier and bayesian like ifile or b) upgrade monkeyplexer. tags:

My mom, the rattlesnake magnet So, my Mom got bit by a rattlesnake yesterday morning. She'd taken a baby car seat out of my Dad's car the night before to put it in her car, but it was too late and dark so she left it in the driveway to install in the morning. Apparently when she tried to install it the next day, a rattler had snuck in there to sleep and nailed her on the arm. (My folks live on a pretty big lot in wt:Los Altos Hills, and there's a lot of wildlife, of the fuzzy and also scaly nature.) She got to Stanford Hospital just fine, and she's had 4 rounds of anti-venom. She's hurting but they think it's going to be all right. The strange part of the story is that this is the second time she's been bitten by a snake. I'm not sure how she's survived the process twice, but I'm pretty amazed that it happened twice at all. Waiting for news, here in Montreal... a little nerve wracking. tags:
 

Peer-to-peer, broadcast style I read through TechCrunch that three major studios will be distributing shows via P2P in the coming months. That's all well and good, but if it's a for-pay system (content costs $0.99 and up), why should you have to contribute any bandwidth into a peer-to-peer system? For a dollar a pop, these should be easy, high-performance HTTP downloads, not shaggy and unreliable p2p stuff. I contribute my upstream bandwidth to Free Software and Open Content, not to re-forwarding something I had to pay for. tags:

Stimulus and response Thanks to Matt for forwarding this excellent summary of blogs. tags:

While on the subject Our home mail server went on the fritz while we were in California, and it was a serious pain in the keester. I had to redirect all our mail redirects from our home server (bad.dynu.ca) to Gmail. The home server's back in business now, but I hadn't changed the email stuff back yet... and today I decided not to. I've re-pointed mail for our business, Wikitravel, and personal domains to the old Wikitravel server at iWeb (the same server this site runs on). I think that's probably the best thing for us to have a "home" server that's not at home; we really need to be able to get to our stuff from the road. It's been good so far; most of the domains were pretty easy. It's been the ones I'd forgotten about that are a hassle. Like, say, bad-people-of-the-future.san-francisco.ca.us. Damn, man. The geographical .us domains used to be one of my favorite things. Now they're not so much. tags:

Second wife So, I guess I'd finished some work yesterday, and I was feeling pretty good about it, because after dinner I decided to spend a little illicit "me" time. And with me, that usually ends up being a game. I'd heard a lot about Second Life, and I was especially impressed by some of the important appearances in the world, like Larry Lessig and Mia Garlick of Creative Commons. But I also have a terribly addictive personality, which is exemplified by the large pile of coffee cups on my desk, but also by the way I go completely crazy over video games. I just don't play them that often any more, because they suck up huge parts of my life, and in the end I've just moved a few bits around. So I try to steer clear. So the fact that there doesn't seem to be much to do in SL -- no level-ups, no territory to conquer -- is kind of an advantage for it. So I gave SL a try last night. I had to use one of our laptops, since the Linux alpha of their client doesn't work on Ubuntu (as far as I can tell). I'll say this: it's awfully nice for graphics, and the world is incredibly built out. But I felt a little bit like a hobo in Vegas -- everything was about casinos and strip clubs and huge fancy houses and cars and planes that I couldn't afford. SL is pretty famous for charging for every little thing, and building an impressive dual-world economy. It seems to have worked pretty well -- there's lots of chasing after the lucre in SL. It was awfully good on the eye-candy, but I felt like Neo in the Matrix: all I could see was dollar signs behind the colors. When I told Maj this morning why I was up till 2AM last night, she gave me a serious scowl. I'm pretty sure my SL days are over... mostly. After all, there's a theory that MMORGs are the reason why we haven't met any aliens -- that any sufficiently advanced culture is going to get sucked into pretend worlds like SL and not go out and explore the universe. tags:

29 June 2006

Amaya Rodrigo: That painful time of the year again

I did my taxes yesterday, two days before the final deadline. I do that every year. I wait until the very last moment, until I get so stressed that it is painful. So the next year all I remember is the painful experience and then postpone it more and more and try to avoid it until the very last day again. Rinse and repeat. It gets worse every year. I also stupidly refuse any help that is offered to me when there's still plenty of time, and then I will want it desperately when there's only one day left, but I am too embarrassed to ask for help then because, $DEITY forbid, THEY (yes, whoever "they" is, the evil "they", the ones that would be all after me if I was paranoid) erm, yes, because THEY would find out that I procastinate.

Anyway, yesterday I was on the verge of a break down, that's why I missed the Gay Pride day blog post, when Bego called me, came upstairs with her laptop (with a very helpful windows partition), which broke completely after installing the tax software, so we migrated downstairs to Carlos' office, where i could finally calculate my taxes, and using my SSL certificate, send the outcome of my calculations to the tax office, online. It all was pretty much smooth once you completely give up all hope and stick to windows and explorer.

Carlos was shocked that I was demanding a windows machine, that's when he realized the situation was pretty desperate, as the Linux client has proven not to work at all. Jose even took pics of me using windows. I hope they don't make it to Slashdot.

Special thanks to H ctor, who in the midst of a huge headache, ended up fixing Bego's fucked up Windows partition.

Amaya Rodrigo: Late, but Proud

Happy Yesterday! (Yesterday was the Pride day).

From Wikipedia: people should be proud of what they are, [...] sexual diversity is a gift, and [...] sexual orientation and gender identity are inherent and cannot be intentionally altered. Which I happen to agree with and celebrate.



This weekend we will skate through Madrid's streets, as there will be no cars in the centre, it will be a huge street party.

Info on activities for this year's Pride in Madrid, can be found here (in english, even).

28 June 2006

Anthony Towns: On being DPL

It’s almost the end of financial year in Australia, so what better time to take stock? I’m actually a bit surprised at just how much I need to do that – I knew being DPL would involve some new challenges, but it’s barely two months in and I’m already just about in shock. Guess it serves me right for putting “increasing Debian’s tempo” in my platform…
The two other roles I’ve been in that I would have expected to prepare me more have been Debian release manager, and secretary of Linux Australia. They’re both similar in a way – the release manager does a lot of cat herding within Debian, and has to make some calls that will leave people aggrieved; and Linux Australia has some contact with the press, and some reasonably serious projects going on. So a few issues were completely expected: a random initial slashdotting, a press report, an interview or two, some requests for quotes in articles and press releases, or ongoing opposition and arguments from dedicated Debianites who don’t happen to agree with me on some decision. There were other things that were new and interesting though not really surprising. The leader@ mail address turned out to have just as much spam as I expected, though also some unexpected interesting stuff too, including my first ever personally addressed open letter – in this case by Keith Curtis who also wrote the 10,000 bugs away from World Domination article that got slashdotted a while back. A tidbit:
Everyone agrees that Ubuntu couldn’t exist without Debian, but I also believe that Debian is better setup to take Ubuntu where it needs to go. There are hints that the Ubuntu team feels like they brought a pork chop suit to a lions den. Ubuntu’s user base and development team is growing exponentially, but I believe they could get there much faster with more of Debian’s help.
Keith also forwarded an open letter he’d written to Mark Shuttleworth, and had some interesting comments on the whole Java thing. As well, I suddenly started receiving SPI board mail, as Debian’s advisory representative to the SPI board, and started getting a couple of requests for authorising expenditures (Debian UK reimbursing Matthew Garrett for travel costs to the Gnome Advisory Board meeting in 2005) or providing a Debian representative for a meeting or joining the Google Summer of Code. And then there were the cool things I knew absolutely nothing about, like the excellent news Christian Perrier passed on about the launch of Dzongkha Linux, featured in news reports from Bhutan, India, and Australia. Of course, I completely expected that all this would overload me a bit, and I’d end up getting distracted from what I wanted to do, and not being able to keep up with stuff other people wanted me to do. To help with this a little, I delegated Steve McIntyre as, essentially, a co-DPL, and he’s been working on a few things, including the now successful switch of irc.debian.org over to OFTC, and another fun little endeavour that I won’t spoil just yet. Things started getting a bit weird as I was preparing to travel off to debconf in Mexico – with some frustrated comments from damog and Marga and Gunnar, which was odd coming from the conference organisers themselves; and independently the reinflamation of some old tension on the debian-installer team. That got compounded at debconf itself, with the controversy over the inclusion of Sun Java in non-free extending not just to the lists, but an article in LWN (with a followup) as well as numerous other places around the net. That issue came to something of a climax when John Goerzen (with whom I’ve had some entertaining disagreements in the past) questioned whether SPI had been sufficiently involved in the decision (“I am becoming increasingly concerned at the unilateral method in which you and/or the archive maintainers have taken this decision.”), to which I responded fairly curtly to defend the way Debian makes decisions (“If SPI wish to withdraw from their relationship with Debian, then that’s entirely possible to arrange. I don’t think it’s at all proper that you try to obtain veto power of Debian’s activities as conducted by the duly authorised members of that organisation.”). Nothing’s really news there – flamewar on Debian lists between influential project members? Next thing you know the sun will rise in the East every morning, and then where will we be? What’s not so normal is those flamewars getting front page coverage on slashdot, or noted in an article on distrowatch. As far as Debian’s concerned, we had a couple more rounds, both in public and on the developer only -private list, then moved onto actually getting the legal advice John wanted. That’s actually still pending, and the debate has pretty much abated while that’s going on. And meanwhile, Wouter Verhelst, Manoj Srivastava, and others have started a much more productive look at Debian’s relationship with SPI and similar organisations, which has continued on to a draft of a constitutional amendment. But there was more stress and chaos at debconf than just the Java stuff, but what’s really impressive is the way people ended up dealing with it. Take damog for example:
Just as Tore said: This is the best DebConf ever. Isn’t it great? I started really enjoying this DebConf once I stopped worrying about bullshit, once I stopped worrying about senseless things and started to really give a shit about almost anything. Why do I need Gunnar to tell my girlfriend Ana, “you picked up the irresponsible one”? Why do I have to worry about the DPL giving a shit or not on the Latinamerican Debian community, even after being invited to meet the guys or to attend our BOF? […] I enjoy people here, thanks to all the organization cabal, thanks for your effort and your time on this. […] But after leaving all of this behind, I think Ana and me are having a great time sharing time with friends around us (the friends, los cuates, we are here for).
After seeing that post, and figuring out who damog actually was when he gave a lightning talk towards the end of the conference, we had a chance to briefly chat about what was going on – somehow I hadn’t taken in the invitation to attend the BOF, and had been told it was all in Spanish anyway, so hadn’t gone; meanwhile they’ve been thinking about holding a Debian miniconf in Latin America somewhere and wanting to know what sort of support they can get from the rest of the project – particularly moral support rather than financial, at that. Hopefully we’ll see news on that score in the coming months. But really, damog was right in the first place anyway: why care if the DPL supports you or not? Debian’s about everyone doing what they think is good and worthwhile, and that combining to produce something great – it’s not about what some guy who got six votes more than the next guy happens to think is important. But support is important, whether it comes in the form of a DPL saying “good idea!”, or something else. Gunnar’s response to the latter, eg:
Debian is love. After my scream for help a couple of days ago, and after a mountain of hard work, things are just running. No, we are not -by far- free of incidents, and it would be foolish to expect it to be so, but we are working nicely. And by the way, thank you, I have been receiving the largest amount of hugs ever, and believe me, each of them has been important. […] Thank you all, folks. I am in Cristoph Berg’s talk about reworking NM - And this comes very good to wrap up my post. Debian is much, much more than technical work. It is a social club. I love this social club. Just sitting here makes long months of work really worth it. A great hug back to you all!
And in the end we got quite a bit out of debconf6, for example more movement on the forthcoming release, improvements on i18n stuff, a new publicity project, movement on updating python, amongst other things. Who knows if the next debconf will manage to be anywhere near as much of an experience, but at least we’ll find out fairly soon where it’s going to be (though that process isn’t without hiccups of its own). Post debconf, there’s also been a notable influx of trolling going on too; with the most obvious and odious example being the insane, anonymously-posted prayers for a female developer’s death. Fortunately those have mostly been ignored as the mindless spam they are, though one might argue that Marcela Tiznado’s acceptance as a DD on her birthday, and the inclusion of women.debian.org in the official debian.org namespace are a more appropriate response to that sort of harassment than any sort of direct reply anyway. Not all our problems have conveniently been resolved right now, of course, the difficulties related to the installer team I alluded to above are ongoing, and at the moment a really good solution is still eluding us, though development continues anyway. And then, of course, there’s more to come – half the point of posting this is so I can stop worrying about all the stuff that’s been and gone, and get on with interesting things like the next point release, and the various other projects that I’ve let languish for the past few weeks.

Erich Schubert: Dell and Linux - no match?

I just tried to see if I could order a laptop with Dell without Windows. So I went to the Dell Linux page. Which totally sucked. I'm using flashblock (since flash usually sucks), and the Dell Linux page has huge flash movies on them - the regular Dell site doesn't. Why for heavens sake does Dell use Flash on their Linux page? It's not as if Linux users care about their fancy animations. On contrary, some will probably not have Flash installed, or filtered (like me). And some will be annoyed by not being able to copy and paste the product description from that pointless flash. Even more so: all one flash does is display a table. You know, that has been possible in HTML for like ever, absolutely no reason to use flash here. Oh, and their "large text" button doesn't work either. Nor will screenreaders. Nor does google see the text in the flash. Dell Linux page with flashblock The reason you choose Linux is the reason you not choose Dell. To me this is Dell displaying that they have no clue about Linux admins. I still haven't found, what I'm looking for - a lightweight notebook, with a high resolution display, and good battery life (i.e. no nvidia or ATI graphics, preferrably no built-in CD to save weight and size) - best candidates so far: Fujitsu Siemens P7120 and Samsung X11-T2300 Culesa. Sony Vaio VGN-TX2HP/B is interesting, but I still have some reservations against Sony (they try too hard to do tech lockin, e.g. memory stick; and a friend had bad service experiences, their Rootkit, GPL violations with InstantOn...) and it's a bit too tiny for me. [Update: Thinkpad X series is not an option for me, too low screen resolution and according to the specs low battery life; Apple MacBook isn't an option because of their heat and battery issues, and I don't like the hype around it and any other Apple product]

25 June 2006

Mike Hommey: OpenGL performance and the importance of configuration

Until recently, I wasn’t really bothered by the poor OpenGL performance of my laptop. Though it has a Radeon Mobility 9200, the OpenGL “experience” was really bad. But since I was not using GL enabled applications, that was not an issue. Then, I tried Google Earth and thought “well, it’s slow, but it’s huge, I don’t know, maybe it’s normal”. A few days later I heard about neverball and gave it a try. It was even slower than Google Earth, and that seemed pretty hard to believe this time. Thanks to clues from people on #d-d, I figured out I didn’t have the libgl1-mesa-dri package installed. Quite simple to know if you are in the same case : first, grep “Direct rendering” in your X.org log file to be sure DRI is enabled on the server side. Then check for “direct rendering” in glxinfo’s output to know if it’s enabled on the client side. If not, try to apt-get install libgl1-mesa-dri. Trying neverball again was delightful: the game was playable. I thought I was done with my OpenGL settings until yesterday, when, for some reason, I read the X.org log and noticed AGP mode was 1x. I didn’t know exactly about nowadays, but I was pretty sure 4x was reached at some point, and that the chip in my laptop might support it. My friend google helped me finding something about “xorg.conf radeon 9200 mobility agp”, and gave me hints about three parameters to add to the xorg.conf file that might improve GL performance:

Option "AGPMode" "8"
Option "AGPFastWrite" "on"
Option "EnablePageFlip" "true"
Glxgears is not a benchmark, but still, it helps to make self comparisons. Before: ~260fps. After: ~1350fps. WAW ! Now Google Earth is really fast. Though I have a strange bug which appears whenever an X window (popup, balloon help, etc.) gets on top of the 3D frame: only the rightmost part appears… on the left. It appears on neverball, on glxgears, on Google Earth, but NOT on foobillard… moving or resizing the window usually fixes the display. Update: When switching to console and back to X, the glxgear performance gets back to ~260fps… Update 2: It seems my “before” score is not as bad as claimed. It’s actually ~950fps. Still a good improvement, though. The reason why i got ~260fps is that i almost never reboot my laptop nor restart X, and hibernate instead of shutting down the system. Which means I’m in the switched back from console case most of the time. Update 3: Thanks to Robert Hart for pointing to bug #363995. The patch from there works perfectly \o/. (If you can’t wait and want a patched .deb, send me a mail)

Aigars Mahinovs: Protocol violated

I am offitially screwed. Last night I wanted to reinstall my laptop (which is also my only computer now), so I backuped the contents of my laptop’s hard drive to an external usb hard drive as a 13 Gb tar.gz file and happily went on with a format and reinstall. Of course, when I had completed the installation and went back to unpack files from the backup, I was greeted by a nice message from gunzip - “invalid compressed data–format violated”. Currently I am trying to follow gzip recovery guide that requires one to manually find the next undamaged compression block and make a new gzip file with standart header and then the undamaged compression blocks, but it is quite possible that data after that will also be damaged. Additionally I have no idea how tar will react to me giving it a middle of the archive, hopefully it will not get too confused. Unfortunately the damaged block is only 90 Mb into the 13 Gb file. Oh, and of course there is a huge heap of really important files that I have no backup for that are on that backup. Fun, fun, fun. Update: I have managed to recover two crucial OpenOffice.org documents from the formatted filesystem using Magic rescue and now I am proceeding with finding if I can recover anything from the .tar.gz backup file using Gzip recovery toolkit. It is buggy, but it is still better then doing it by hand. Unfortunately, I also found out about some kind of hardware problem with my external harddrive - if I transfer lots of data to it (think a direct copy of a 13 Gb file), then it just locks up and stops responding until I power cycle it. If I turn off the USB2 support, then it works reliably, but very very slowly. This slows down my recovery attempts even more.

24 June 2006

Christian Perrier: Adopting CRM114 for filtering spam

Last week, I finally becamed annoyed enough by the huge amount of spam I receive, mostly on my @debian.org address. So, I decided that my current anti-spam measures (SpamAssassin running on my home server, which receives all my mail, as well as my laptop, which collects it) are probably not enough. In the same time, I was seeing a few people talking about CRM114 in various occasions. It seemed easy to setup enough for me to try doing somethign with it (I usually give up on stuff that requires too much effort....). Installing it on my laptop was fairly easy, as a Debian package exists for it. Using it through procmail recipes required some documentation reading, but no more than 1 hour. The most important part has been training it. I did so for about one week by feeding undetected spam to it and teach it that it is actually spam...and of course doing the opposite with false positives on ham. One week later, I feel safe enough to actually filter all mails detected by CRM114 as spam to a dedicated mailbox, which I of course will have to investigate once a day to sort out remaining false positives. But now, my incoming mailbox is clean again and it really seems that the time I invested in learning CRM114 and teaching it about spam/ham will very quickly be worth it. In short, just try it: there are chances that you won't regret it. PS: of course, things would probably be better if Debian mail machines were using some measures similar to those finally adopted on Alioth with the help of Pierre Habouzit (RBL+greylisting, IIRC). Old debate in the project....let's hope it will happen some day if nothing I'm unaware of does prevent it.

23 June 2006

Simon Huggins: 9300i Putty UTF-8 Trick

<p>I can't claim any credit on this one; James Rice told me about having met the author of <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">Putty</a> Simon Tatham in the pub. Anyway, if you want to switch the version of putty into utf-8 mode when you run it from your phone you can (simply?!) use: <pre> echo -ne '\e%G\e[?47h\e%G\e[?47l' </pre></p> <p>I tried to work out what this means and in the end asked some chiark users who pointed me at <a href="http://bjh21.me.uk/all-escapes/all-escapes.txt">a list of terminal escape codes</a> which explains that ESC % G means switch to UTF-8.</p> <p>For reference there is also a <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1501425&group_id=97245&atid=617443">UTF-8 bug on sourceforge</a> for <a href="http://s2putty.sf.net">s2putty</a> but for me at least with the above fix mutt redraws happily.</p>

22 June 2006

Steve Kemp: All that you feel is tranquillity

Ugh. I’d forgotten how annoying it is to reinstall existing systems. I’ve spent close to two hours reinstalling my “backup” PC. (This is the machine which used to be my primary desktop, now it mostly exists to host backups of my websites, and the primary machine which replaced it.) The intention was to reinstall so that I could setup a clean system with no desktop packages, and switch to using LVM. The machine hosts several Xen instances which are used to provide services such as DHCP + Debian package building. Backing up the data was easy, the Sarge installer is a pleasure to use, and I even remembered to copy all my SSH host keys. So why the pain? Well the machine is running Sid. (Will stick to Etch when it is available I think), and several packages which had been running happily for months such as apt-cacher were temporarily uninstallable. In the case of apt-cacher I was able to use approx instead - so that wasn’t a huge deal. But one thing tripping me up is sound. It was my main desktop system and had sound working fine. Now I have alsa setup, all the mixer volumes up to the max, and yet nothing. XMMS is playing happily - but absolutely no sound coming out. Apart from checking the mixer settings I can’t think of what else to do. Not a huge deal but it is a minor irritation since sometimes people come over and want a machine to use for surfing, etc, and I like to give them a standard desktop with links to my MP3 share, etc. Still all the main services are back up and running, GDM is available remotely via VNC, the logged in desktop is also shared via x11vnc, and the backups are starting to trickle back in. The current partition scheme looks something like this:
/dev/hda1                         on / type ext3 (rw,errors=remount-ro)
/dev/mapper/vol-home     on /home type ext3 (rw,noatime)
/dev/mapper/vol-backups on /backups type ext3 (rw,noatime)
Then I have a couple of xen domains:
	
skx@itchy:~$ sudo xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      873     2 r-----   230.8
builder.my.flat                    1      128     1 -b----    39.8
dhcpdns.my.flat                  1       96      1 -b----    39.8
skx@itchy:~$
Now time to find food, and water my plants.

21 June 2006

Philipp Kern: Debian NEW queue

Package count in NEW: 222
(NEW queue summary)
Well, that is a huge queue again. Could the ftp-masters please fast-track packages which fix RC bugs? (Like being stuck in NEW for a new SONAME because of an incompatible ABI change which caused dependent packages to FTBFS, like it's the case with gmp.) P.S.: And no, this is indeed intended as a general call, not to fast-track gmp, which is in NEW since only 2 days.

17 June 2006

Edd Dumbill: In search of agile infrastructure for web applications

Many advances have been made in agile software development. Frameworks such as Ruby on Rails embody agile principles by making software easy to write, easy to test, and above all, easy to change.If only we could say the same for the infrastructure on which we develop and deploy web applications. Not every application can be a Rails one, especially where it's been up and running for years. The systems we deploy on often rely on configuration files scattered all over the filesystem, and can be complex results of years of change.By extension, the systems we develop on often don't exactly mirror where we deploy. If we're lucky and careful, then we have a staging server which mirrors the live environment, but that's not too much of an advantage. Among other things, we need ways to evolve and refactor the live environment, and have our development environments easily track that.I'd like to call such an environment "agile infrastructure". Infrastructure that doesn't hamper developers, and allows live configurations to change and evolve. Infrastructure that allows new things to be tried with minimum cost, and can provide the best information possible to help future planning.Tools enable techniques, of course. It's a lot easier to be agile if you're programming in Rails rather than plain old PHP. So what are the tools enabling agile infrastructure?
Techniques I've found usefulWhile there's a long way to go, I'd like to describe some of the techniques I've been using to help create a flexible environment for developing a sizeable PHP/MySQL application.Operating systemAn operating system must be easy to bring into a known state with minimum interference. For this, I've found Ubuntu or Debian to be an ideal choice. Two of the main reasons include the constancy of stable releases and the fact that it's rare you need to stray outside the distribution's servers to get the software you need.DeploymentDeploying an application shouldn't break the cleanliness of your OS build. I prefer to package deployed applications into .deb files. This enables me to build on several advantages of the package management system:Source controlThe case for source control, thankfully, doesn't need making these days. Yet not every source control system is created equal. Developers shouldn't be constrained by source control, it should be cheap and easy to try new ideas and merge these in later.Not only cheap branching, but also easy merging, is required to keep development agile while still retaining the benefits of source control. Many people flock to Subversion these days, predominantly because it fixes some of CVS' more egregious misfeatures. However, merging can still be pretty difficult in Subversion.I prefer to use a system allowing easy merging, such as svk or bazaar. Because so many of us use laptops these days, disconnected operation is also a huge boon. Bazaar-NG offers both repository-oriented and completely decentralized operation, giving the best of both worlds. It also wins the competition for least setup overhead.VirtualizationPreviously a high-powered technology, cheap virtualization is now with us. Many identical virtual machines can be quickly created to enable testing and experimentation. Deployment to virtual machines can enable hardware independence for applications, reducing another big headache.Large organisations have it within their reach to bring new hardware online easily, and have invested much in management systems for it. Virtualization brings this in reach of small and one-man development teams.Desktop-based virtualizationSystems such as VMWare and Parallels untether developers from their desks. I use the OS X desktop daily for its productivity software, but an Ubuntu virtual machine for a large proportion of development work. A simple keypress lets me flick between the two. The advantages of multiple desktops to hand for web development are well known. (In fact, thanks to WINE and IES4Linux I can run Internet Explorer cheaply too from the same virtual machine).
Xen virtualizationAfter the initial novelty wears off, one of the most tedious tasks in the world is bringing new machines online. Combined with the tendency development environments have to get crufty as new ideas and tools are tried out, this makes for increasing disparity between the development and deployment environments.Wouldn't it be nice just to take a clean machine off the shelf, check out the source, and pick up again? Using Xen for Linux, this cheap virtualization is possible.Sadly, Xen isn't yet a packaged part of Ubuntu, but getting it up and running on Ubuntu Dapper isn't too hard. Warning: here's where things get pretty deep. Skip this bit if you're not interested in the nitty-gritty.I followed these steps:Getting over the DNS mountainIf you want it to be easy to bring new virtual machines up and down, you need to adopt a different approach to managing your DNS. You need to know how to predictably connect to a virtual machine. Yet it's going to get very boring and error prone to manage the IP address space manually in your DNS, or even to map the MAC addresses of your virtual machines in your DHCP configuration.
Help is at hand in the form of mDNS (also known as Rendezvous / Bonjour / ZeroConf). In the host machine, and in each virtual machine, I ensured the avahi-daemon and avahi-utils packages were installed, providing mDNS services. (You should also check that mdns is present in the hosts entry of /etc/nsswitch.conf).What all this does is allow the machines (virtual or otherwise) on the network to resolve names using mDNS. So if I create 3 VMs, alpha, beta and gamma, I can access these right away using the hostnames alpha.local, beta.local and gamma.local.Hey presto! Easily make machines appear and disappear without any need for sysadmin involvement. All the extra steps to add avahi installation can be easily scripted with xen-tools, to reduce the number of commands needed to birth a new machine to one.With this ease of creating new machines, it's much more straightforward to experiment with server topology and conduct experiments on server environments.ConclusionAgile development is necessarily constrained by the infrastructure on which it is conducted. The infrastructure itself is constrained by the tools and platforms of choice.By appropriate tool choice we can reduce the commitment and overhead of infrastructure. This enables developers to get on with the job they do best, and makes experimentation and evolution of infrastructure much simpler.When programming, it's dangerous to fall in love with your code, as the best solution may often involve throwing half of it away. The same hazard exists with infrastructure, with bizarre and awkward effects propagating back into code and operations. Get yourself a low commitment, agile environment, and you'll be able to keep up with the pace. 

14 June 2006

Wouter Verhelst: The sorry state of musical software under Linux.

This is going to be a rant on how doing anything music related under Linux currently works very, very bad. Perhaps I shouldn't be writing this since I don't have the time or skillz to help out in improving it any (so anyone interested in posting a comment to that regard should know that I already know ;-P), and because I've done it beforebut let's just ignore that for a few seconds. Hah. I've been a musician since I was 7 years old (well, a bit less if you don't count the first years where I was only learning how to read music and not playing an instrument (the flute) yet). I've always loved doing it, since music is a great way to express one's emotions and to relax, in my opinion. Being able to produce beaty is also extremely satisfying, and I just love music (in a John Miles sort of way). When I started to get into computers at the age of 14, one of the early things I did, even before doing my first BASIC program, was to play with musical software. I fondly remember some old Commodore 64 program of which I have forgotten the name, which would allow me to put notes on bars and play them, which was cool at the time—even if it would not allow me to put more than three notes in one chord, since that was the maximum polyphony which the Commodore's SID chip would allow. Later, when my parents bought our first PC-based system—a 486DX4@100Mhz—I moved on to Finale1. As a musical notation program, Finale is unsurpassed. It doesn't have a Linux-version, but there is lilypond. Of course, writing down music isn't everything. Any serious musician would also want to play the music he's written, either by having the computer play it itself, or by sending it to a MIDI device. This is usually done through a (hardware or software) MIDI synthesizer and some bit of software called a Sequencer. Traditionally sound cards came with hardware MIDI synthesizers on them, but as computers became more powerful (i.e., after the Sound Blaster 16-era), hardware MIDI synthesizers were replaced by software MIDI synthesizers that had their wavetable on disk and (when playing MIDI) in RAM. That doesn't require huge gobs of ROM chips on the sound card, resulting in either less expensive sound hardware and better MIDI playback (because software wave tables are usually larger than hardware ones). So what's the issue? Everything. While lilypond is nice, and (it has to be said) produces very beautiful output, the interface is way too cumbersome. I mean, what is the clearest thing to read? This:
r4\< e,8-. r8 r4 e8-. r8\!
or this? graphical version
of the above They represent exactly the same thing, yet someone who knows music needs a split second to decode the below but a few seconds for the above (if they understand lilypond's syntaxis). In fact, at first I thought that I had done something wrong in invoking lilypond-book to produce that snippet, because I had misparsed the code above (which, incidentally, is one bar of some actual music that I have in my ~/data/audio/lilypond directory) The plain text interface certainly does have some advantages, but IMO the downsides by far outweigh the benefits. In general, lilypond is not well suited as a way to actually write music, as opposed to simply typesetting already existing music. I did actually follow a course on harmonics (although I never finished it due to lack of time); when writing some new piece, I find that it often far easier to do the actual writing on a piece of paper and then enter that in lilypond syntaxis, rather than getting distracted over the lilypond syntaxis while trying to concentrate on what chords I can and/or want to use. It is unnatural, and would look like a Japanese person being forced to read and write texts like 'gaka ga e o kaita' which then get postprocesssed into something like ' ' (look ma, Unicode!). Or, in other words: why isn't there just an input method to write music? There are unicode characters for musical notes, you know... When comparing lilypond to finale, it is not hard to understand that entering music in a graphical environment is just so much easier. When I last used it, Finale had four input methods: one with keyboard and mouse (use the numeric keys on the keyboard to enter the desired note length and the mouse to enter the pitch); one with keyboard only (use abcdefg etc. to choose the pitch, and the same numeric keys to enter the desired length); one with keyboard and MIDI keyboard (use the numeric keys to enter a desired note length, and just press a note on the MIDI keyboard to choose it); and finally, it can also quantisise music as you play it (which is the fastest, but least accurate, method to enter music). Lilypond only allows entering music with the keyboard directly, and then only displays notes after 'compiling' them, so that you cannot see your mistakes and typos until much later. I'm disregarding midi2ly, which converts MIDI files to lilypond input files in a reasonably good way; but Finale has MIDI import functionality as well, I do not consider that to be an 'Input Method' as such. After having entered the music, a musician will want to do something with it. Have the computer play it, for instance, or print it out so that he or she can rehearse it and eventually play it themselves. Lilypond will do neither by itself; however, it can produce postscript, PDF, and DVI files which one can use to print, and/or MIDI files which one can have the computer play. The printouts are great, as I've said before; but playing the MIDI files is another matter entirely. As I've explained earlier, playing MIDI used to be done through hardware. When I still had a working SB16-compatible card, I could play MIDI files on my computer perfectly fine by just using the driver for that sound card. Since I currently depend mostly on ESS1371-compatible cards, that do not havve any hardware MIDI synthesizer, however, that doesn't work. So I have to use software sequencing instead. On Windows, software sequencing is done by the sound card's driver. On Linux, there is no software sequencing being done by any driver, so it all has to be done in userland. In theory, that's just fine. Unfortunately, the implementation sucks. The only software MIDI synthesizer available on Debian is timidity. On a 1.33Ghz processor, it requires approximately 60% of my CPU to play a reasonably easy MIDI file with a polyphony of only some 5 to 10 voices. Complex MIDI files are totally out of the question. And it gets worse; when one runs timidity -iA -Os, it will register itself as an ALSA device capable of playing MIDI, so that ALSA-using applications can play MIDI data by just throwing it to the relevant device. However, this requires far more CPU power, not even being able to play as much as two or three voices at the same time on my same system. If one knows that my last Windows-based system (a Pentium I at 166Mhz) was able to play much more complex MIDI files using the same ESS1371-based sound card just fine, it's not hard to see that timidity really (really) sucks. As said, I probably shouldn't be ranting about this as much as I do, since I don't have the time to invest in making this any better. But if anyone feels inclined to contribute some to Open Source Software, and needs some ideas, these might be interesting things to consider. 1 I should add that, to my shame, I used an illegal copy of both afore-mentioned programs. I didn't really know any better at the time.

Gunnar Wolf: Working on politics: The FeCal project

Ok, it may not be ready yet, it might be lacking too many details. It might even make sense to make this initial announcement in Spanish - But a long time ago, I decided my blog would be English-only, as most of the people who read it are not Spanish speakers. Anyway, here I go.
We are less than one month away of the presidential elections in Mexico. We are facing the choice between two candidates (the others won't really make a difference this time): Felipe Calder n, a conservative member of the right-wing PAN party (currently ruling), and Andr s Manuel L pez Obrador, from the center-leftist PRD party.
There are way too many reasons for me, and for my friends, to prefer and promote the L pez Obrador project. No, that is not the definitive leftist stance we want, but it is a good step in the right direction. He was the major for Mexico City from 2000 to 2005, and his government showed he knows how to push social programs, he knows how to improve the conditions of the mass of the population, he knows he must start acting from below, reducing the terrible gap that exists in my country between poor and rich people, among the steepest differencies in the world.
So... Instead of flooding my personal blog with things that are not directly relevant to most of us, some friends and I have started setting up www.fecal.org.mx, the unofficial site of Felipe Calder n.
Yes, we took some of the steps we often criticize about the right-wing propaganda: Attacking instead of proposing. L pez Obrador has lost some points as he is centered more in proposing and spreading his government plan than in destroying Felipe Calder n - While Calder n has been working on creating fear, on tying L pez Obrador's figure to that of an authoritarian dictator (Hugo Ch vez has often been quoted, although it has been proven over and over no link or similarity exists), on dismissing his economic program saying he only knows how to create debt (while Mexico City's economy was strongly reactivated during L pez Obrador's period, and the city's public debt has not grown considerably compared to what previous governments did), and simply ignoring any criticism to his own project dismissing them as baseless propaganda.
Originally, we intended FeCal to become just a parody of Felipe's official site, emphasizing on what a shitty candidate he is (no wonder he carries such a name!), but we decided to be more propositive than him - We will post news following Felipe's intransigency, erroneous economic decisions and incoherences, yes, but we will also write articles by ourselves, trying to provide more interesting content, something that can objectively be used as a reference on why Felipe Calder n's project cannot be seen as socially responsable, as something that will benefit anybody but the current ruling elite - Just giving six more years to the already too long 24 year old marriage with neoliberalism we have seen, just continuity with the current government's failures, just more white-collar corrupt thieves which never recieve any kind of punishment and discourage people from pushing together towards a better country.
So, I stop flooding here. If you want to take part in the FeCal project, please contact me. If you agree with what we say, link us from your page, from your texts, from whatever you do.

Gunnar Wolf: I have been hugged

Debian is love. After my scream for help a couple of days ago, and after a mountain of hard work, things are just running. No, we are not -by far- free of incidents, and it would be foolish to expect it to be so, but we are working nicely. And by the way, thank you, I have been receiving the largest amount of hugs ever, and believe me, each of them has been important. We are not over yet. At least two more days of work, and onem more day of taking all the shop back home, and that only means that the next step in the round will start: Handing back all the lent equipment, doing the travel reimbursements, closing all of our accounting stuff... And, of course, get the ball rolling towards Debconf 7. So... Well, six days into Debconf, I am currently sitting in the third talk I have opportunity to attend (of course, I have missed most of the ones I was interested in - Video team, I trust you to make a brilliant end product ;-) ), Nadezhda is printing 150 beautiful new T-shirts Pixelgirl designed a couple of days ago, and... Trust me, I still have a stressed face - but I am finally enjoying every minute of this fscking mess we decided to put up. Thank you all, folks. I am in Cristoph Berg's talk about reworking NM - And this comes very good to wrap up my post. Debian is much, much more than technical work. It is a social club. I love this social club. Just sitting here makes long months of work really worth it. A great hug back to you all!

13 June 2006

Neil McGovern: This is rather spiffy...

I've finally got annoyed at how much ram Gnome was using up, and decided to have a look at various other light weight systems, including: I generally got the feeling I'd popped back to 1994 and was using Slackware or something. This laptop doesn't have a lot of ram, but it's got enough to be able to run something that looks nice. As this is the computer I use most of the time, it does need to look nice.

However, I finally install xfce4. I do have to say, I'm very impressed. It looks nice, has all the functionality I'm looking for, and just worksTM. There's a couple of panels that don't seem to be installable at the moment, but this seems to be being worked on at the moment. It also has the advantage of huggie being one of the maintainers, so I have someone to prod if I get stuck. Sorry in advance huggie :)

Neil McGovern: This is rather spiffy...

I've finally got annoyed at how much ram Gnome was using up, and decided to have a look at various other light weight systems, including: I generally got the feeling I'd popped back to 1994 and was using Slackware or something. This laptop doesn't have a lot of ram, but it's got enough to be able to run something that looks nice. As this is the computer I use most of the time, it does need to look nice.

However, I finally install xfce4. I do have to say, I'm very impressed. It looks nice, has all the functionality I'm looking for, and just worksTM. There's a couple of panels that don't seem to be installable at the moment, but this seems to be being worked on at the moment. It also has the advantage of huggie being one of the maintainers, so I have someone to prod if I get stuck. Sorry in advance huggie :)

Jonathan McDowell: I'm melting.

This is silly. We get our few days of summer and suddenly we all can't cope with the heat. Or at least I can't. Especially when my neighbours decide it means they can play loud music that I really don't like (I don't do doof doof, sorry doop), or when it is music I like it's too distorted to actually be enjoyable. And if I shut the windows it just gets hotter and hotter inside. sigh. Sometimes I wish I worked in an air conditioned office again. Spent all weekend being too hot and avoiding writing my UKUUG talk for the end of the month. It's done and submitted now; thanks to #alug, Simon and Paddy for constructive criticism. Now I just have to produce some slides. Not much else happening. I have a u-boot patch for the E3 against their current git tree, but I haven't heard anything back about my JFFS2 compile patch so I'm not sure whether they'll take it or not. I've sent it off to Mark for comments first. Kathy's disappeared to New York with her sister again, leaving me at a bit of loose end. Off to the Fat Cat on Wednesday with the other Simon which can't fail to be nice. And, er, that's it really. I suppose I should go to bed.

Next.

Previous.