Search Results: "ina"

6 March 2007

Christian Perrier: My suspend to disk works again

There are days like this where you get inspiration. Since about January (strange that one cannot never remember the beginning of such annoyances), neither suspend-to-ram nor suspend-to-disk were working anymore on my Dell latitude X1. Suspend to RAM indeed stopped working back in August 2006 for an unknown reason. The laptop indeed goes into sleep mode but, when waking up, the video card is not restored properly. A quite common problem, unfortunately. Why it suddenly stopped working is hard to explainn but as my laptop runs unstable and, usually, the latest Debian kernel, there may be an explanation somewhere betwwen kernel stuff and Xorg stuff. Since then, I had suspend to disk working pretty well until it suddenly stopped working back in January. The system was printing "Snapshotting system" on the screen and that's all. So, since then, I keep my laptop ON all the time, which is pretty bad when travelling (and I travel a lot all day long as I use public transportation with 3 connections morning and evening). Moreover, I cannot even completely close it because some moron at Dell has decided to hardcode in the BIOS that the laptop should enter suspend to RAM when the LID is closed. So, closing the laptop means....no more screen when opening it up. As a consequence, during last weeks, I had my laptop hald-closed in my bag with some random device inserted between the screen and the keyboard to prevent it to be entirely closed. Absolutely stupid. However, this morning, the Holy Grace touched me. I finally remembered that, for last New Year's Eve week-end, I did setup the Conexant HSF modem drivers on the laptop because I was staying at my mom's place with nothing but a phone line to get my mail. And, definitely, this was the explanation. As soon as I unload the Conexant driver before going to suspend to disk mode, the suspend to disk magically works again. Dammit. Once again a proof that Thou Shalt Never Use Non-Free Drivers. I'm now again a happy suspend to disk user. If someone, some day, can bring me back a working suspend to RAM, I'll hug kiss her him to death.

Joerg Jaspert: Chemnitzer Linux-Tage 2007, dead Ibook

Last weekend I attended the Chemnitzer Linux-Tage, which have been, again, a very nice event. They have a really nice Social Event and very good overall service for people that do stuff for the event (like giving a talk, running a booth). If only they would have similar good connection with trains, its always annoying to go there. :) I had a talk on Sunday afternoon, a bit about Xen on Debian, and just judging from the feedback I got right after the talk my performance was not too bad. My slides are available in case you want to read them. (They are in german only). Fixed two little mistakes people told me after the talk. I also used the CLT to get another sponsor for this years DebConf, yay. Hopefully it works at Cebit too. :) The weekend only has one big bad thing - my Ibook decided to die. It just want let me turn it on again. Plays a sound, but nothing else happens. The few times it decided to boot it didnt run for long. Some minutes and it completly hang. BAAD. Especially a day before I want to use it to give a talk. Damn thing. Now I need to finally get me the new laptop I am planning to get since December. So, looking bad at what suggestions I got in December (thanks to all who sent mails!): - Someone suggested looking at Lenovo T60s. Well, fine, except that their largest display is 15”, and I want more. I dont care much about the weight, so that doesnt count. Also, if it would be IBM still I (maybe) would consider it, but at the same time I got two people telling me to not look at Lenovos, they had bad experience with them… - A suggestion lead me to a site of a notebook manufacturer that only runs if you allow flash in your browser. No thanks, they dont want my money. - HP business notebooks seem to have a good support within people reading my blog (or better - Planet Debian). - And finally, people have been happy with Dell notebooks. So I compared Dell and HP, both times the business notebook class. And currently want to buy a HP nw9440 one. Will get damn expensive, but a similar Dell would only be 100EUR less, and well, HP does care way more for Linux then Dell ever did (or will do)… BTW: We have to many mails on Debian lists!

Evan Prodromou: 14 Vent se CCXV

We had a good weekend this weekend. It was the Nuit Blanche here in Montreal -- a winter festival in which people stayed up all night on Saturday night, visiting art museums, dancing, seeing theater, or having hot chocolate. It's a good tradition in this city, and a lot of fun. We went ice-skating in Parc LaFontaine on Saturday afternoon -- except the ice wasn't very skatey. After the big snowstorm on Friday, the temperature went up to 4C on Saturday, so the ice was mushy and soft. Amita enjoyed riding around on the lake on her sled, though. On Sunday we had a bruncher at our house with friends who were a little worn out from the long night. I made fondue fromage, a big salad, potatoes, and a fondue v g tarien -- veggie bouillon boiling in a pot, with various vegetables that people could dip in, let cook, then eat off their forks. It was a good time. tags:

RoCoCoCamp is a go I spent part of the day today meeting up with the other CoConveners of RoCoCoCamp to go over some logistics for the event. RoCoCoCamp is an unconference centered around wikis and wiki-like Web sites, but stretching out into issues of collaboration, creativity, and self-organizing social groups. It's the Montreal version of RecentChangesCamp, and it's going to take place 18-20 May 2007 here in Montreal. We're finalizing the space and starting to line up funding for the event, as well as catering, lodging, etc. I've sent out a lot of invitations to wiki friends to come join; I think it's going to be a great conference. tags:

More certs for certifi.ca I've been trying to streamline the user experience on certifi.ca, the OpenID identity-provider I set up that uses only client-side certificates for authentication. I've added support for 4 more CAs: GeoTrust, TC TrustCenter, CACert, and StartCom. They all seem to be working well, which is great, although I could really use some help beta-testing the service by users of some of the newer CAs (especially CACert and StartCom). tags:

5 March 2007

Julien Blache: On why I wrote pommed

Wouter asks why I wrote pommed instead of patching pbbuttonsd. First things first, pommed was originally named mbpeventd and targeted only at the MacBook Pro and MacBook laptops. The port to the PowerBook and iBook (which is what Wouter uses, I think) wasn’t a goal at first. pommed handles the hotkeys events and the ambient light sensors (if available) and that’s it. Nothing more. pbbuttonsd does a lot of other things that other pieces of software can handle far better than it does. I never ran it on my PowerBook and stuck to pmud; it did just what I needed it to do, and it did well. The kernel handled the LCD backlight all by itself, and I had no need for either the volume +/- keys or the eject key. When I got my MacBook Pro, I took a look at the various ways to get the hotkeys to work. Well, nothing worked. I discovered that pbbuttonsd was also available on i386/amd64 and gave it a try. IIRC I had to build it on amd64, and the Makefile already raised a couple of mental flags. But oh well. Then I tried to configure it, and discovered a gazillion configuration options, half of them unneeded. Anyway, I got to the point where it would run, and obviously there was some patching to be done to get it to play nice with the MacBook Pro. To put it simply: looking at the code made me cry. It’s horrible. Incredibly complicated and obfuscated for no good reason. At that point, patching was out of the question. Moreover, I never liked pbbuttonsd that much, for various reasons, ranging from its “let’s do everything!” policy to its SHM interface for the GUIs (come on, that’s the 21st century knocking at your door). So, in a nutshell: I really like the KISS approach and the traditional UNIX way of doing things, so I tend to dislike most one size fits all software. It took me, what, 2 hours to build the first version of mbpeventd which handled the LCD and the keyboard backlight. That’s all the features I needed, past that point everything else was just pure bonus. As for the name… mbpeventd really sucked as a name, and it wasn’t a good name anymore once the PowerBook support got added. I did not want to go with something like “appled” because I did not want to use the name “Apple”, but that was the closest match. Then I thought “hmm, why not … translate it … pommed? … sold!”. The name is funny for both Corsac and I because it’s a fortune cookie from one of the IRC channels we’re both hanging on; as it happens, the fortune is about Apple hardware and how users can get lost with a one button mouse. So, why use pommed? Use it if you want something lightweight, fast and simple which won’t try to do everything for you. And you can even patch it and send me the patches!

Wouter Verhelst: On my platform

I originally was quite reluctant to post on Planet Debian about the DPL race, but hey, this is the campaigning period, anyway. My choice not to go into too much detail about what I'll do about Debian seems to spark some confusion. I initially thought of adding a rather verbose explanation for that to my platform; but as the initial version of my platform got quite long and convoluted, it got cut. Perhaps that wasn't a very good idea, so here goes: One observation I've made over the years is that DPL candidates often come up with all sorts of grandiose plans about what should be done to improve Debian. These plans are usually the result of some observation they've made, and consequently some thinking they've put in so as to come up with what they think is the most reasonable solution to the problem at hand. The only problem with this approach is that, if you're not involved in whatever you have ideas on, you'll probably end up suggesting things which the people that are involved do not think is a good idea to do. Which would consequently mean that you'll either have to do it all by yourself (since you can't force DDs to do something against their will, and we have a constitution to back that up), or that they convince you that it's not a good idea, and you end up not doing whatever you promised to do during your campaign anyway. First, this is silly. If you don't know whether you can or will keep a promise, you should not make it. But apart from that, it's also a problem; if you get elected mainly because you promise to do one thing and then don't end up doing it, or do something else instead, then you've got yourself a very good reason not to be liked in the community. Which isn't something a DPL should aim for, I believe. So rather than coming up with a detailed plan of all the things I'd do once elected, I decided to come up with a detailed plan of all the things that need work. The exact stuff that gets done about them would then be decided after having a chat (on IRC or otherwise) with the people involved, directly or otherwise, and after considering what other people's opinion on the matter is, if I know said opinion. Does that give me a carte blanche, as Julien suggests? Well, yes and no. Yes, because every Debian Developer who runs for DPL is essentially asking for a carte blanche; after all, the DPL has the ability to speak for the developer body, unless overruled by GR. No, because I don't think doing whatever I want and everyone else be damned is an even remote sign of maturity, and because I promised not to seek the controversy in making decisions (while not avoiding it at all cost either).

Russell Coker: last beard post

On Tuesday the 23rd of January I shaved off my beard after spending 107 days growing it, see above for the final beard pic. It was an interesting experiment and it's something that I recommend trying, but I couldn't keep it.

Having a beard is more effort than being clean-shaven. Eating is more difficult when you are trying to keep your beard out of your food. If you get the full beard (as I did) then the moustache at the sides of your mouth will get into your food (particularly bad for ice-cream). I guess that the benefit of having a waxed moustache would be that the wax would keep it out of the way of the food - the waxed moustache wasn't just an issue of style!

Madduck suggests that when you drink Guinness you "push your lips past the head and draw up only the dark stuff". Of course that won't work if you have a moustache as you don't want a moustache that's soaked in beer!

Immediately after cutting off my beard I didn't shave for almost a week and experienced much less discomfort than I had preveiously experienced when not shaving for that period. I think that having been used to having a beard an amount of hair that would previously annoy me is not noticable. Also it
seems that the hair was initially softer after I cut off the beard. Maybe shaving somehow makes the hair grow tougher.

When I had the beard I thought that I hadn't adjusted my body image to match, as every time I looked in the mirror I felt surprised to see it. Once it was gone my new look initially seemed more odd to me than my previous appearance, and it took me a number of weeks to get used to not having a beard.






When shaving off my beard I decided to do it in stages, firstly I did a "goatee" cut and then just a moustache. The moustache is a little lop-sided, but I was in a hurry and didn't plan to keep it for long.

Christian Perrier: Bump

This is the sound of Galician po-debconf translations being given a big push with the last upload of dbconfig-common and its 101 strings for po-debconf. I'm amazed by the current effort of Magic Jacobo who is doing alone all this effort. Simultaneously, the Portuguese team has definitely beaten up the Brazilian team and the Catalan team is still running after world domination. Czech and German are progressing rapidly and all this should be soon available as nice graphs thanks to the work of Nicolas Fran ois.

Pierre Habouzit: Russel...

I think there is a photo of ESR on your blog You should check if your camera isn't playing tricks on you

Kartik Mistry: New DigiCam

* Finally, I got my new digital camema Samsung DigiMax S700!. Now, my adventure in digital photography is about to start. Thanks Hiral & Atin for this! Some cool/bad features:
+ 7.2 MP, 3x Optical Zoom, 5x Digital Zoom
+ Large 2.5″ LCD
- No Viewfinder, so battery eater! * LDTP Package is fixed now. * I forgot that it was Holi yesterday and couldn’t found any shop open in my native Palanpur. Meet Vinay/Anil/Manish in hurry and back by night bus. Well, bus was jam packed and I had to standup during the whole journey.

Andrew Pollock: [tech] MythStream

I like to listen to Nova 96.9's stream, and I'd been doing it really sloppily at home by quitting the MythTV front-end running on the TV, and just running mplayer with the URL of the stream. I really wanted to be able to play the stream through MythTV. So a few weeks ago I did a spot of searching and up came MythStream, which appeared to be just the ticket. I'd already done a few sloppy unpackaged installations of things on the MythTV machine, and I wanted to stop this, so I held off installing it until I had time to make a package of it. Today I finally had time to make said package (which is here if anyone else is interested) and it works a treat for what I want to do. It looks like it has plenty of other features that I don't really need but will explore anyway. MythStream screenshot

4 March 2007

Russell Coker: vaccinations

You might expect that a vaccine against a disease that causes cancer would be widely embraced as soon as it was proven safe. If the disease in question was transmitted by contaminated food or water, sneezing, or most of the other ways that diseases spread then it probably would be widely accepted.

However recently there is a recently released vaccine against Cervical Cancer. The virus in question is only transmitted sexually. Apparently 80% of women in the US will catch it before the age of 50 (so it's obviously not scaring people away from unsafe sex).

There is a strong Christian lobby against the vaccine, their idea is that if sex doesn't cause debilitating and/or fatal conditions such as cervical cancer then their daughters will have less reason to avoid it. The fact is that religious people are statistically more likely to practice unsafe sex (see this link) so it seems unlikely that preventing one of the STDs that religious people might catch will affect the amount of unsafe sex.

One thing that seems strange about the entire discussion is that no-one has raised the possibility of vaccinating boys. Vaccinating boys could lead to the virus being eradicated. Even if an eradication attempt fails it will help save some of the Christian girls.

Sune Vuorela: Linux forum day 2

Yesterday evening I got back home from Linuxforum day 2. There was some nice talks, and I saw the Google geek herder fall off the stage. I also got a nice introduction to Qt. Finally I saw a spam fighting deathmatch. Among the serious competitors, a pseudo-icelandic guy also joined in. A short post-presentation (in danish though, but you might get the meaning of it anyway), but you might find the principles. Find it at YouTube. Anyways, there was funny presentations of policyd (with and without the -weight), dspam, annoyance filter, milter and postgrey. As it was most a matter of funny presentation and the technical details were more secondary, it was more a person than a product that won. The winner was Ralf Hildebrandt with .. something (policyd either with or without the -weight).
No open source events without beer, so there was after the spam contest, a couple of nice beer. It was basically a nice Linuxforum - and I am looking forward for next year. But it was also a bit ‘interesting’ if it was possible to get to linux forum, just like yesterday, because some violent criminals and spoiled younsters have tried to set large parts of the streets on fire in Copenhagen. PS.: Comments by anonymous hooligans will not be accepted.

Christian Perrier: cs: 94.431, de: 84.891, sv: 80.167, vi: 77.601

The l10n NMU blitz campaign continues to give results and not only for French. I'm now reaching quite recent bug reports (about 30-40 days ago)....which were sent by some teams when I started this campaign, back in January. So the stats for these teams will improve strongly, namely the Czech team stats and a few others (Galician, Portuguese, Catalan...). On the ranking contest, Spanish is coming closer to Dutch for the 7th rank, mostly because many Spanish translations were pending in the BTS while much less Dutch ones were. Both these teams have strong QA processes so that slows them down when compared to 1-person "teams". Of course, the result is certainly definitely better. For the 9th rank, Portuguese should come before Brazilian as of today. Ditto for Galician/Catalan for the 14th rank. Another activity began yesterday: try to complete a few packages in testing. These packages have a complete translation for several languages in unstable but they don't qualify to enter testing. So, I will offer to upload l10n fixes through testing-proposed-updates as the release team seems to be OK with that. There's a chance that my own language reaches 100% for testing also, then. And, finally, I'm polishing a new project: proofreading ALL debconf templates, and bring more wording consistency, with the help of debian-l10n-english members. That will of course be a lenny project.

3 March 2007

Meike Reichle: Saturday at CLT almost over

Hi from Chemnitz! As expected it's great here. As usual. :) My two talks went really well. They were mostly freely improvised since I was kind of slack regarding their preperation, but I got very positive feedback on both and plan to expand them for future events. There's still a lot of visitors walking around. The debian booth is well visited with questions in all ranges, babelbox is running merily on the demo machine in rotation with bb, which never ceases to fascinate people. ;) My saturday was really busy. I walked over here around 8:30, had breakfast and gave my first talk. After a two hour break I gave the other one and ever since then I've been switching from one conversation to the next without pauses. Most of these conversations were with "strangers" who visited my talks and wanted to tell me about projects and ideas of their own, their personal experiences with Linux and Free Software or give further suggestions for my talks. I've really enjoyed these conversations, though they got a bit tiring after a while since for some reason people always catch me when walking somewhere, and so most of these long conversations were held standing and my legs are pudding now. In a few minutes (hopefully) the social will start and I hope it will be as good as last year. I plan to take things a bit easier tomorrow, visit other peoples booths, take some pictures and maybe even visit a talk or two. The rest of this day will hopefully be spend having some more inspiring conversations, enjoying good food and drink and continuing to try to coax Noel into relinquishing to me his old Debian shirt, that he grew out of. (Small Debian shirts are such a rare and precious good!)

Adrian von Bidder: Platforms: random thoughts

These are some random thoughts based on a not very thorough reading of candidate platforms of the DPL Election 2007, and my subjective view of the candidates based on the mailing traffic I remember reading. Wouter Verhelst: Has quite a broad Debian-background, the platform also seems to share quite a bit of my view of where Debian's problems are at the moment. Doesn't propose a course of action right now, not sure how to judge that. Not sure if I remember Wouter being heavily involved in flamewars, but I do remember reading quite a few of his emails in discussions with interest. broad Debian-background, the platform also seems to share quite a bit of my view of where Debian's problems are at the moment. Doesn't propose a course of action right now, not sure how to judge that. Not sure if I remember Wouter being heavily involved in flamewars, but I do remember reading quite a few of his emails in discussions with interest. broad Debian-background, the platform also seems to share quite a bit of my view of where Debian's problems are at the moment. Doesn't propose a course of action right now, not sure how to judge that. Not sure if I remember Wouter being heavily involved in flamewars, but I do remember reading quite a few of his emails in discussions with interest. broad Debian-background, the platform also seems to share quite a bit of my view of where Debian's problems are at the moment. Doesn't propose a course of action right now, not sure how to judge that. Not sure if I remember Wouter being heavily involved in flamewars, but I do remember reading quite a few of his emails in discussions with interest. Aigars Mahinovs: Quoting from his platform: “My goal of running for DPL is not to be DPL, but to get a few concepts closer to real life.” So don't run for DPL, but start doing these things you're thinking about. Not being DPL has the advantage that you don't have to spend time on DPL stuff that would detract you from these goals. Speaking about your goals: (i) No release: I've thought about that, too, but I feel this would quickly make Debian irrelevant. (ii) $HOME configuration files organisation: take it up with the upstream developers of all the application. I think this is a very good idea, but freedesktop.org would be a better platform. (iii) Old Maintainer Process: Idea looking for a problem. (iv) Dropping Trademarks: not sure what to think about this. Gustavo Franco: Some focus on the desktop, and a constructive attitude towards Ubuntu, both positive in my book. (The first one primarily because on servers Linux is already quite well established, while the desktop is where more work is still to be done. Not because servers are less important.) His goals: (i) Core teams: as with Wouter, he sees that people and what goes on between them are where the problems are. (ii) Release goals: I think building the release based on release goals could be a driving force, but this is more RM area than DPL. (iii) Adding features to the bts doesn't need DPL powers. (iii) New developers: certainly an area that still needs attention, but the intended course is not entirely clear to me. (iv) NEW queue: same. (v) CTTE: Not sure what the idea behind this is. (vi) Groups: yes, but again not entirely clear what and how. (vii) Backports: yes, new versions of some software should go into Debian (stable) faster. Officially supporting backports or something else, I don't know, but this is an area where a DPL could pull together the RMs, security team(s), backports.org people etc. (viii) Universal OS: is this about more media coverage or about more face to face meetings? Both are good, but we should set clear goals beforehand. (ix) Much work is needed, especially in the area of buildd management (meaning: the processes and people behind it!). Does Gustavo have previous involvement here? (x) Vendors, Website, Publicity: This is more or less all about media coverage and popularity. Much needed, but as Debian as it is will never be able to commit to a public official opinion of anything, we'll need to think hard about what to do here. (xi) NMU: I don't see a great need for action here, personally. Overall: this platform contains too much material, I fear trying to tackle all these areas will lead to a burned out DPL within three months and little actually getting anywhere. Sven Luther: It's true that it always needs at least two people for a flamewar. But having a DPL who is always ready to provide one side of an argument is not a good idea. Sam Hocevar: Everything is high-level on his platform. Both good and bad. Not sure how to rate this platform, but I see myself nodding along. Learn from other OSs is good, but I hope he also means active cooperation and not just passive let's see how they do it. Steve McIntyre: Should have won 2006. Certainly did a lot of both behind-the-scenes work and some good communication. The platform lacks mention of relations between Debian and the outside world, which is an area where I feel some work is missing (and where the DPL as the only person with a official role also known outside Debian can make a difference), and also lacks mention of legal problems (trademarks and patents) where I'm not sure how solid Debian's work is. Additional argument in favor of Steve: Having a 2IC and promoting him to DPL the year after might be a good idea overall. Maybe we should actually elect the 2IC and only have a confirmation vote to promote him to DPL? Raphaël Hertzog: I like the DPL board idea. I also like how Raphaël focuses, in his platform, on the DPL board idea and some selected problems. On the other hand, the platform is wholly focused inward, outside relations are important, too ! Anthony Towns: Not sure what to think of the current DPL. I think he had good ideas, and I still think the original “spend Debian funds for the release”-idea was not that bad, but seeing how it all worked out was very, very painful for too many people. The platform seems pretty much empty, so I guess ajt won't have my vote this time. Simon Richter: Maybe I miss something, but I only see “don't repeat the dunc-tank flamefest” in his platform, which seems a bit thin. His observation that the real power of the DPL is to get everybody's attention may be partly true, though, even if this power will be spent as soon as a DPL, trying to mediate, lets himself be drawn into the flamewar instead (I don't accuse Simon that he ultimately will do this, but I fear that it happens all too quickly). Now what? I really don't have the time to thoroughly follow the campaigning, but I'll certainly have a look at the rebuttals, and perhaps somebody will do some summary. So the ballot below will certainly change. (You might also be able to buy the vote if you're rich enough ;-)
 [ 1 ] Wouter Verhelst
 [ 5 ] Aigars Mahinovs
 [ 3 ] Gustavo Franco
 [ 6 ] Sven Luther
 [ 3 ] Sam Hocevar
 [ 1 ] Steve McIntyre
 [ 2 ] Raphaë Hertzog
 [ 5 ] Anthony Towns
 [ 4 ] Simon Richter
 [ 5 ] NOTA

John Goerzen: A better environment for shell scripting

Shell scripts are good for a lot of things. It's quick and easy to design shell scripts that take input from one program, pass it to another program, munge it for filenames, etc.

But there are a few drawbacks to shell scripts.

The #1 drawback, in my opinion, is that it is extremely difficult to get quoting and escaping right. I often see things like $@ in shell scripts (breaks if a parameter has a space in it). I also see people failing to check for errors properly (set -e helps that). It's also difficult to do a more modern style of exception handling (do a sequence of actions in a temporary directory, and always remove that directory, even if there's an error, but stop processing and propogate the error). Command-line parsing is esoteric and odd, even with getopt. That's not to say that it's impossible to make a secure shell script that handles filenames with spaces in them properly. Just that it's difficult, and makes using common operators like backticks difficult.

Awhile back, I toyed with the idea of making Haskell a shell scripting language. This week, I spent some time to make this a reality. I released HSH, a shell scripting environment for Haskell.

HSH makes it easy to run shell commands, set up pipelines, etc. straight from Haskell. You can either use simple strings to invoke commands (they'll be passed to sh -c), or you can specify arguments as a list (like exec...() takes), which eliminates the strange filename problems.

But the really cool thing is that HSH doesn't just let you pipe from one external program to another. It also lets you pipe to/from pure Haskell functions. Yes, you can pipe the output of ls -l straight into a Haskell version of grep. I've found it to be very nice, especially for more complex processing tasks.

I put these simple examples on the HSH homepage:

run $ "echo /etc/pass*" :: IO String
 -> "/etc/passwd /etc/passwd-"
runIO $ "ls -l" - - "wc -l" 
 -> 12
runIO $ "ls -l" - - wcL
 -> 12
In this example, wcL is a pure-Haskell line-counting function.


The results were surprising. According to SLOCCount, porting hg-buildpackage from a shell script to a HSH script achieved a 20% reduction in source lines of code. And at the same time, gained better error handling, better safety of filenames, better type safety (compile-time type checking), etc. Yet it does exactly the same thing in almost exactly the same way.

Even greater savings will occur too. I decided to reimplement a small part of sed just for fun, and that code is still in my tree. If I removed that and replaced it with a call to sed as in the shell version, that would probably buy another 5% savings.

I didn't really expect to achieve a reduction in lines of code. I thought that I'd be lucky to come close to breaking even. After all, who'd expect something other than the shell to be better at shell scripting?

I don't know if these results are generalizable, but I'm really excited about it.

Brett Parker: Of CGI Scripts and Line Endings

MJ Ray said in Bad Tech: CGI Scripts and Line Endings, "Problem: CGI scripts uploaded with the MS Windows version of FileZilla over SFTP don't work until converted. Either there's some FileZilla settings wrong by default, or it just doesn't work." - the problem is that unlike with traditional FTP, which in ASCII mode would automagically translate line endings in to a sane format, SFTP (as far as I can tell) will always send them as binary, and thus if they were in DOS format before the transfer, they'll be in DOS format after the transfer. So, your choices are (other than the evil perl^M symlink)... Teach users about line endings - get them to do the equivalent of a :set fileformat=unix in vim before saving ;) (I'm not sure which editors out there let you set what line endings to use - might be worth finding out what the users use and looking it up) When they upload, rather than them uploading directly in to FTP space it hits an area that is checked every x minutes - that area is then copied to the right area with the transformation being done server side Something else.

Julien Valroff: Sound output broken on my Dell Inspiron

I have recently noticed that the sound output of my (nearly) 3 months-old Dell Inspiron 1300 is broken. I am pretty sure it is something like a bad contact. As I use this laptop mainly as a media box, I cannot leave it in this state. I thus wrote to Dell Support team on Thursday evening, less than 5 days before the end of the 90 days warranty. They called me back yesterday morning to confirm they have received my request, and I received an e-mail yesterday afternoon asking me to do some further tests. I think I will have to sent the laptop back and wait for ages until it comes back. As it obviously runs Debian, I will also have to set up the original system back on it, which will oblige me to re-install the whole system after repair. Cheap is not always good.

Evan Prodromou: 11 Vent se CCXV

We had one of the biggest snows of the year today in Montreal. The storm, which happened overnight and was supposed to let up around noon, still hasn't stopped. It's a practical white-out outside -- big fluffy flakes everywhere. The radio said we had more than 40 cm of snow, which is just amazing. I headed over to La ka this afternoon for an interview with Steve Faguy of the Montreal Gazette. I was pretty worried about going out, but as usual I was pleasantly surprised when I was outside. Snowy weather is pretty gentle, and although I was cold and wet when I got to La ka, it wasn't all that bad. I had a good talk with Steve about Wikitravel, Montreal tech scene, and the French Revolutionary Calendar. I'm looking forward to seeing the article when it comes out. tags:

certifi.ca doing well I was glad to see a post about certifi.ca in the Solution Media Blog of Thomas Huhn. Thomas set up the extremely useful OpenID Directory, so his opinion is pretty valuable. I'm glad he's as enthused about certifi.ca as I am. tags:

Registration and privacy I think I have an account on every free OpenID service on the Web. I need lots of accounts for debugging purposes, and I also like to have an idea of what people are doing with the protocol. I checked out prooveme.com a few days ago. prooveme.com gives out OpenIDs with SSL cert authentication, like certifi.ca. It seems like an OK service, but I don't think they use SSL and certs the right way. I tested the prooveme ID on a couple of services, had a couple of errors, and that was that. So I was surprised to see this posting in the proovemeblog today:
  • certifi.ca is another site doing certificated OpenID. Evan, the creator of certifi.ca is a subscriber of ours. We'll obviously be pleased if he carries on using us!
Now, I've been in wikis long enough to know that you have to AssumeGoodFaith when people post things in public forums, so I'll take this comment as nothing more than clumsy but good-natured ribbing. Ha ha ha. But: I haven't publicly said that I'd tested out the prooveme server. I'm not particularly embarrassed about it, but I hadn't had any reason to mention it to anybody, either. So the only way the poster could know that I'd registered for their service was to check their database records for my registration information. Publishing users' registration info without their consent steps over an important privacy line for me and, I think, for a lot of people. I'm not sure making a joke really justifies that kind of privacy invasion. I don't feel fairly treated, here. I partly blame myself: after all, I submitted personally-identifying information (PII) into a Web form on a site without an explicit privacy policy. I've gotten so used to OpenID providers being experienced with security and privacy issues that I made assumptions that turned out not to be the case. I've taken the incident as a wake-up call to put a privacy policy on certifi.ca. I hope that will communicate to users what I consider acceptable use of their data. And I'll make sure to check carefully for privacy policies whenever creating a new account in the future. For clarity: if I have an account on a Web service, that is not any kind of endorsement of their service, and doesn't necessarily suggest that I use that service regularly (or at all). I'm going to see what I can do to get my account deleted from the prooveme servers to avoid any misunderstanding in the future. tags:

2 March 2007

Sune Vuorela: Linuxforum day 1

Today I was at the business day at linuxforum. The first exciting thing about the day was if it was possible to actually get there after violent criminals have been ruining Copenhagen all night long. My bus took a detour, but I ended up at the rigth place finally. Today there was talks and some companies have been running their booths. The most interesting talk today was Poul-Henning Kamps talk about varnish. Another interesting topic was how lego tried something new - work with the community around their mindstorms stuff with great success. Tomorrow it is a bit more techie-day where the local LUGs are having booths also, and with exiting talks about Qt programming and a spamfilter deathmatch.

Next.

Previous.