Search Results: "mak"

17 April 2007

Gunnar Wolf: Init followup

First of all, sorry for the delay. Leaving just as the discussion gets started is bad, yes... But I'm only now reading Erich's and Sven's follow-ups. Both (as well as some comments in my blog) ask why not integrating the startup links in each of the packages - Well, basically because I don't think that most maintainers will take care to do this, and we will end up having a situation very close to what we have today: If I'm not interested in supporting your favorite init system in my packages, I just won't bother to make the scripts.
Note: I'm going into braindump mode. Verbose blabber and some stupidity might follow ;-)
Think on the webapp scene - Most webapps ship with an Apache-like snippet so that http://yourserver/thisapp just works(tm). I love that, and it's one of the little details that make Debian shine - Things usually work with the least administrator burden possible. But it happens that there are other web servers around there - They just become somehow second class citizens (I happen to sponsor/comaintain Cherokee, for instance), as nobody cares to include the equivalent snippets for them. Apache is the standard, and is good enough.
The same goes for sysv-rc: It just rules the world. Who will work all the needed patches to support all the different init systems? As the maintainer for a simple package which requires to be started up, I probably won't care to even understand all the intimacies of every init system, at least until they all have a decent user base. But by having one package per (server,init-scheme) pair, any maintainer can come up with the needed initialization.
Of course, this degrades quickly. First of all, as a user: if mydaemon is not correctly starting up, I will probably file bugs at mydaemon, not at mydaemon-initscheme. If mydaemon changes its parameters, we will witness transition of mydaemon-*.
Further, remember this is Debian, and volunteer-work has its downsides. If the mydaemon maintainer is a primadonna (or just does not give a flying crap about the runit init scheme), he will just trash reports regarding a nonimportant init scheme. Bad. And, as Erich points out, we have ~1000 packages including /etc/init.d/something - It will mean 3000 or so packages for a decent (not complete!) coverage of the different schemes. And, of course, a very uncoordinated way of working. But back to my line of thought: If I'm promoting an init scheme, I cannot just push it down each maintainer's throat. I must include at least the most important init scripts somewhere. Maybe we could just group daemons by task, and then have -say- a webservers-runit package providing the init scripts for each webserver for runit? This could cut down from 3000 to some 100 packages, most probably team-maintained... But it still faces many scalability problems, and the bug-filled-somewhere-else problem seems unavoidable.
I think something interesting could come off Sven's idea of providing several independent scripts instead of today's complete init scripts - This would make it easier to adapt startup/shutdown and similar events to different world views, and if not specifically needed, most init scripts could even be autogenerated calling the right bits here and there. That would rock - except in the corner cases (I predict no less than 10% of the packages will become corner cases ;-) ) where it will crumble apart. But maybe if a package declares it should be autostarted and provides the separate bits, the sysv-rc, upstart or runit helper can come up with an autobuilt initscript (or equivalent) - And if it does not work, it can always be overriden by a maintainer- (or user-) supplied, explicitly built script. Humh...
The topic surely calls for a Debcamp session, as Joachim says in comments in two of our posts and Erich acknowledges. Erich, as the main instigator of this blog series, I hope you can at least join via Ekiga or such, as it can be quite interesting - But, yes, none of the people involved so far participates in any of the inits' maintenance... Anyway, please keep the ideas flowing. I want to sketch something up, as I feel this can be useful - and not only for initscripts, but for many of the areas where Debian provides several ways to do the same thing. And, once again, that's one of the best points of Debian for me.

Marc 'Zugschlus' Haber: UTF-8 on a shell

Dear Lazyweb, can you please explain how to properly credit a frenchman in a changelog without mangling his name? I do not consider it acceptable to use a different editor, make sure that my terminal was started with the proper environment variables set (run-time configuration does not seem to do it) before I can correctly enter non-english characters in a text mode editor. I guess I need to make the UTF-8 transition on the desktop. Are there any docs about how to do this? It is just incredibly frustrating to spend an hour on IRC just to create a changelog entry for a patch that took a minute to make and five minutes to test.

Masayuki Hatta: Becoming the official GNU a2ps maintainer

I've been using GNU a2ps from ancient days. I prefer to print out things prettily and read them on papers (with highlighters at hand) rather than on computer displays. You may safely say I'm a caveman. Unfortunately, the upstream development of GNU a2ps is basically dead. I know there are some promising replacements (most notably Cedilla), but the problem is, I got used to the good ol' GNU a2ps too much. It still works for me. And to make it worse, I'm a Lisp illiterate (do not throw stones at me, please). So, I finally took over the official maintainership of GNU a2ps, and now preparing a new maintenance release. No flashy new features (such as the much needed UTF-8 support), but most of easy bugs are fixed. You can obtain the current tarball: http://people.debian.org/~mhatta/a2ps-4.13c-rc3.tar.gz (I'd like to upload this to alpha.gnu.org, but GNU sysadmins don't give me the needed permission yet). Or, you might want to obtain it through the anonymous CVS:
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/a2ps co -r a2ps-4-1x a2ps
Note that specifying the tag "a2ps-4-1x" is important. So, at least you have someone to blame w.r.t. GNU a2ps now. Please give it a try and tell me how you think (Debian packaging is underway). The a2ps mailing list is also revived, it's not yet another spam honeypot anymore. Join there if you want. Or, if you are kind enough, please join the development at Savannah.

Tag this post with del.icio.us!

MJ Ray: Webmastering: How fat is your feed?

Because of the problems with my aggregator's memory use, I'm unsubscribing from some feeds that are too big, too slow and not vital enough that I'll miss them. So, it's goodbye to: no2id.net newsletters - too big (144k), too slow (dates back to February) and not vital - I'll keep the events and news release feeds for now. www.thewildbeast.co.uk - too big (72k) and too slow (dates back to May 2006). scobleizer.com - I subscribed to this after a recommendation, but it's too big (128k) and actually rather irritating IMO, waffling about things that I'm not interested in. www.sbs.gov.uk - site seems to have vanished without warning. Typical failure of our government to make life easy for small businesses. aphoc.org - site has been offline too long and I don't remember what it was. There's a couple more which I'm keeping under review, but they've earned their keep for now. (Update: removing just the above has shortened the merge time from 3mins to 30secs.) My feed is about 29k at the time I write this: how big is yours? If your feed is larger than about 50k - particularly if you don't send a Last-Modified or Content-Length header - you should take steps to slim your fat feed. Consider reducing the number of items, particularly if you have stuff more than three month old in it. Am I lazier than most at unsubscribing from feeds - my main feedbox still contains more than 70 - or will people with fat feeds already have lost lots of readers?

MJ Ray: A survey of OPAC wants

Dave Pattern has been conducting a survey of librarian views of their OPACs. He's posted the results to his opac-survey blog category and it might make interesting reading for other koha developers. Or maybe I'm just a survey nut.

16 April 2007

Pete Nuttall: Debconf Reconfirm

If you are coming to debconf, and if not why not[0], the debconf team would love for you to reconfirm. This both makes our lifes' easier, and you need to do it to get sponsorship, if you have asked for it. To reconfirm, please prod pentabarf. The proper reminder is on debconf announce. Looking forward to seeing you in Edinburgh! [0] I'm not going to be there for most of it, actually.

Benjamin Mako Hill: Undiscipline

I think it's good exercise to write on ruled or graph paper but to attempt to ignore the lines on the paper completely.

Gustavo Franco: Quitting full time job, new uploads.

Just quit my full time job, (hopefully) I'll just work for them keep leading the Sacix (www.sacix.org.br) development and not also in front of a team maintaining our ISP in parallel as I was. Sacix is yet another Debian/Ltsp based distribution but unlike many others from this camp we aren't focused on education. Yes, 0-200 age range! There's GNOME by default and regular apps (including gcompris, but as i wrote, education isn't the primary goal), we're also a custom Debian distribution and we've multiple profiles (artwork and set of packages). In other words almost any community telecenter project or lab can fit over our infrastructure. Sacix has more than 100,000 end users!

Sacix was all over the place during FISL in Porto Alegre, Brazil. Three setups running and the feedback of our upcoming Etch based release called Sagui was great! Arara (Sagui-1) supported only pt_BR, with Sagui we wanted to make sure that we weren't turning the life harder for English and Spanish speakers. Unfortunately, the website is over trac and I would like to hear about sane solutions on how to handle bugs in these three languages and a good plugin to start translating the wiki pages. Comments?

Thanks Paulo for contributing with usbfloppy drivers support (yes, this weird stuff really exists), tons of tests and ideas! We've been working very hard during the last two years releasing minor stuff here and there and nobody seemed to care, when we put the pieces together they finally get it and recognize it as something. ;-) Thanks for the others contributors, you know who you are and 'Sacis' wiki article too.

Btw, I'm just having a break from a 'code merging' session with Vagrant Cascardian. New ltsp package coming soon! It will be on the pile of my recent uploads: python-gdata, pyspf (thanks ScottK) and alacarte.

Biella Coleman: On the Caveat, Better than Well, and HOT Latino Bodies

So, yes these three topics, the caveat, the book Better than Well and Hot Latino Bodies are related. You just have to stick with this long post to find out why… *** As I progress slowly but surely with my book manuscript, I am really coming to see how a dissertation and book are quite different creatures. I think one of the most important and noticeable differences is that a book has a lot more short caveats and warrants than necessary in a dissertation. I think there are two main reasons for this. One of which is has to do with your committee members, the primary and (usually only readers) of the dissertation. They are a lot more prepared and adept to ingest complex ideas than lets say undergraduate students, because that is what they are trained to do and because most of them are much more familiar with your topic because they have been with it nearly as long as you have. In a dissertation you are also allowed to (and often expected) to go on and on, ad naseum, with your theoretical explanations that help substantiate what are otherwise shakier, initial claims. For various reasons, for a book, especially if you are not some FFT (Famous French Theorist), you are strongly encouraged to dump most of the theory in favor of providing a streamlined version (which really, is preferable of course, but extraordinarily hard to pull off). I have been thinking a lot of the caveat because I have just finished re-reading a book Better than Well that is not only fascinating in its own right but brings the caveat to a stunning art form. The author, Carl Elliot, is a philosopher/bio-ethicist and the topic of the book, broadly speaking, examines how the rise of new enhancement technologies (prozac, plastic surgery, sex change surgery) is bound tightly with longer-standing, distinctly American ideals, such as the autonomous, self-directed and authentic self. It is one of those rare books that can be read by your father, aunt and uncle, tossed over to a willing teenager, and assigned in all sorts of college courses and still manage to impress all sort of academics in all sorts of fields. Part of the reason for his broad appeal is because the book is thoughtful and clever and so chock-full of really interesting examples that you are hooked and want more of his tasty intellectual Kool-Aid. So while he has one main focus, which largely triangulates between enhancement technologies, selfhood, and consumerism, in the process of exploring them, you learn about a bunch of other really neat topics: suburbia, the history of cosmetics and childhood, odd social phobias, long-gone and culture- bound disorders like dissociative, fugue, amputee wanabee’s, extreme blushing, and so much more. Along with crystal clear writing, he also throws in some classically funny lines, my favorite one currently being: For better or worse, suburbia has come to stand for something than can be survived only with minor tranquilizers. Another reason he manages to pull this Houdini-like feat is because of his judicious and artful use of the caveat, which is really the only way he can bring forth complex ideas, in a fashion that is much more accessible than is usually done in a purely academic book. To take on example, when he introduces the usefulness theories of Thorstein Veblen, an economist usually known (and only barely), by academics, he opens in the following way, because in many ways, if you just decided to pick up a copy of Veblen, his style make strike outdated:
Reading Veblen nearly a century after he wrote The Theory of the Leisure Class, it is not easy to know which parts of the book to take seriously. It comes off as equal parts intellectual theory, social satire, and crackpot polemic, (and goes on for a full more paragraph) and then says Where Veblen is prescient, however, is his sense that in a consumption economy, consumer goods would become markers of who we are. p. 103
In this way he can say, ok Veblen is useful because of this specific reason” and yet communicate to his academic readers that he knows the limits of Veblen. No matter how much I love the book, and now matter how I think his use of the caveat is stunning, there are two problems I have with it. In one case, I think he fails to give one of the most important caveats. He paints a picture in which all of American society is ensnared in dominant social codes and mores (which somehow all point back to consumerism and capitalism and a desire to improve the self). While there are points he seems to back away from that sort of statement, and a few rare points where he ascribes his insights to the group I think he should mainly be sticking to white, liberal-leaning middle-class Americans I think there are more instances where he paints a picture of America as far more uniform than it actually is. According to his account, no one is immune to the forces he so eloquently writes of and so in the end the environmentalist activist, is as caught up in the traps of consumer life-style as is the investment banker on Wall Street. It lead hims to say such statements as
Many Americans today learn who they want to be by listening to a Methodist minister or a civics teacher but by watching advertisements for The Gap.
Ok while he bit about the civics teacher may be true, any consideration of lets, say… the religious right in this country, which, as we know from recent elections, don’t represent a teeny-tiny itsy-bitsy minority (and for a fascinating glimpse into the world, I would recommend Jesus Camp), would bring holes, and sizable ones, to that sort of statement. Many Americans do in fact listen to their minster. And this does not only help explain the deep divisions in this country, but I bet because they do listen to their pastors, their notions of the good, the self, etc, are going to be pretty distinct from those he describes (and gain see Jesus Camp to get at this point) It is not that the religious right exists outside of the web of consumerism we are all at least partially caught in, and indeed, a lot of the new Protestant religious movements here and elsewhere as Jean and John’s Comaroff’s work has shown can be all about securing a more robust middle class lifestyle. But we must remember that even something as powerful as consumer capitalism or dominant ideals of an authentic, beautiful self though powerful and more often than not work in concert with each other do not quite have the power to efface all meaningful difference between lets say a white, liberal middle class woman and let’s say, many Latinos, who, do, let’s not forget, comprise a huge portion of America. Many Americans have a very different picture of the ideal female body than the picture he explores, which is skinny and lanky and forever youthful (and hence the appeal of botox and lipo). Let me provide just one example drawn from the annual Puerto Rican day parade and this hold true for the one held either in NYC or Chicago. Along with a blizzard of Puerto Rican flags, what you may also notice is the abundance of really bright spandex being donned on ladies that are not by any standard of the word slim. I am sure that any middle class lady (you know, the type who spends 5 days of the week working out at the gym, wishing her thighs were just a little thinner), would feel morally repulsed in seeing that sort of image, that is if they even bothered to go to the parade. But among many Puerto Rican men (not all) a sexylicious and extra-curvy, meaty Puerto Rican woman, decked out in tight & bright spandex, will like bring on a loud HAY MAMITA, ven ac ”………………… which roughly translates into You are HOT… Like I want you NOW. (more…)

Peter Makholm: Java on Linux/PPC

One step nearer removing OS X form my iBook. Now I got java running so I can log on to my net banking account. The following works on my Debian Etch (-ish):
  1. Download IBM’s java-package from http://www-128.ibm.com/developerworks/java/jdk/linux/download.html (registration required) - you need the 32bit iSeries/pSeries version in tgz format
  2. Make sure that the package includes …/jre/bin/libjavaplugin_oji.so (somehow I got a package which didn’t have the file)
  3. install java-package
  4. run make-jpkg <tgz file>. If it complain about “no matching plugin was found” look in /usr/share/doc/java-package/SUPPORTED and rename you tgz file to something supporte of almost the correct version.
  5. Install the resulting package and restart firefox (whatever it is named today)
I downloaded a file called ibm-java2-jre-5.0-4.0-linux-ppc.tgz and renamed it to ibm-java2-jre-50-linux-ppc.tgz and it seems to work.

Benjamin Mako Hill: Undiscipline

I think it's good exercise to write on ruled or graph paper but to attempt to ignore the lines on the paper completely.

Jonathan McDowell: In search of a HDTV PVR

As mentioned in the past I got a new TV this year. It's an LG 32LCD2DB with a native panel resolution of 1366x768. As well as the usual SCART/component inputs it has VGA and HDMI. Currently my homebrew PVR outputs to the TV via a full featured DVB card with onboard MPEG2 decoder, but this limits me to 720x576 output and a basic OSD. My current box is a PIII-800 with a basic onboard SiS graphics chipset, so it's not got the grunt to drive the TV directly itself. I'm thus on the lookout for an upgrade. Let's start with my constraints. I have a Silverstone LC-02 case. I'd previously planned to upgrade to something bigger, but the discovery that LinITX can provide a variety of riser cards to suit PCI-E/PCI as needed means I don't have to. The LC-02 will take a MicroATX board and provide me with 2 slots, one of which is taken up by the PCI DVB card. This box lives in my living room, so it needs to be quiet - the current incarnation is a bit too loud but I believe that's mainly due to using a standard heatsink+fan assembly, so I'm hoping that something specifically designed to be quiet will be better. An lirc dongle and wireless keyboard/mouse are already sorted. I'd like to expand the use of the PVR to be a more general PC as well; up until now it's just been a PVR, but being able to check email/IRC would be nice, as would the ability to play games. Up until now I've run VDR, which takes full advantage of the MPEG2 decoder, but I'd like to give MythTV a decent try. All of this points to wanting more than just a HD hardware MPEG2/MPEG4 decoder. First lets start with the graphics chipset options. The contenders seem to be ATI, Intel, nVidia and Via. From my reading ATI lack any form of XvMC support in both their Free and binary blob drivers, so we can discount them. nVidia have support, but only in their binary drivers. The Nouveau project have support on their TODO list, but I can't see any sign of it yet. I'd really rather avoid non-free drivers, so that leaves us with just Intel and Via. I really like the look of the Intel G965/X3000. They've opened up their driver development and it seems to be quite active from reading the Xorg mailing lists. However they don't have any XvMC support; Keith Packard on the xorg list in February says "For media purposes, the current drivers aren't taking full advantage of the hardware yet", though later on does say "XvMC is on several of our lists; I don't know when someone will pick it up and implement it". Unfortunately I get the feeling it's not a high priority; I've seen/heard several comments about the fact that any processor that'll get hooked up to this chipset will be more than fast enough to cope without the assistance. That may be true, but I don't want my CPU to be spending all its time trying to decode MPEG2 or MPEG4 at 1920x1080i while the GPU sits mostly unused. I'd much rather the GPU was used to the full giving me spare CPU cycles, or perhaps the ability to clock it a bit slower for common use cases, reducing power and heat. I'm keeping Intel on my list because I hope they do get round to proper support sooner rather than later. They've also talked about the fact the GPU is programmable which would make it perfectly possible to add MPEG4 acceleration to the chipset; that would be pretty sweet. It's a bit odd to end up with Via on the list. I mainly think of them as associated with MiniITX boards, but they do also produce various motherboards for Intel/AMD CPUs with integrated graphics. They managed to shoot themselves in the foot for a period of time by limiting the maximum accelerated resolution to 1024x1024, but recently they've released the CX700M /P4M900 chipsets which appear to do 2048x2048. The OpenChrome project have these up and running to a basic level from what I can tell, but work on XvMC support appears to be progressing with various patches and reports flying about on the list. So currently it looks like Via has the best option (albeit through the Free software community, rather than a concerted effort on their part), while Intel has something that could be very appealing if the driver was more complete. The other factor is the CPU. 3 contenders this time; AMD Intel and Via. My current PIII-800 is rated at 20.8W TDP. Modern processors are in general a lot hotter, but I need to keep in mind that I'm looking for a quiet machine, and that the case doesn't have a huge amount of room for big cooling systems. AMD's dual core chips all start at 89W or more, though some of their single core lower end CPUs are more like 67W. Of course the Intel graphics won't work with it and I'm not 100% sure Via has a suitable Athlon chipset at present either (the 2 I found were for Intel/Via). Intel's P4 offerings aren't much better for power consumption, with many of the highest end chips being over 100W. Core 2 Duo looks promising; 65W, so more than the current CPU, but a lot more grunt. Via come out tops here; 20W for their 2GHz top end processor. However this is only single core and compares poorly to the equivalent clock speed of Core 2 Duo. A MiniITX board with a 2GHz C7 and a CX700M would probably make a fine PVR, but I'm not convinced about there being enough grunt for anything else. The Via chipsets appear to have more active in-progress support for media acceleration, which suggests a P4M900 + Core 2 Duo. That's contrasted with what looks to be the more powerful X3000, that actually has a manufacturer who seems to want to get full Free support out there. I'm probably a couple of months off actually making a decision; partly because I want to watch how it all plays out in the hope that the Intel chipset will get some more support, or that the Via chipset will be proven to be reliable in operation. And assuming I do make a video chipset/CPU decision I then get the joys of trying to find a motherboard with DVI + SP/DIF. I know the G965 can do DVI out with an ADD2 card in the PCI-E slot, but I don't know if the P4M900 supports the same thing. I can't see an Intel MicroATX 965 board with SP/DIF out - there's an HD audio header, but this doesn't seem to be a direct mapping. Can I get a converter?

Miriam Ruiz: Frets On Fire in Debian?

It seems that after my last post talking about the abusive position of teosto regarding the songs in the game Frets on Fire, even when the authors of the game and songs were willing to put them under a free (DFSG) license, many people is asking about whether FoF could enter Debian even without songs. I don’t really see any problem with that, in fact the game is already packaged in our subversion server (Debian Games Team). In my opinion the game itself could be into main, and the songs, well, I guess the only possibility would be to put them in non-free. There are free and non-free songs all around the net, and in fact it’s quite easy to make them, so I don’t think the lack of songs would be a problem. The game doesn’t need to depend at all in the original songs. The problem is that most of the songs out there are based in music protected by copyright, and/or they’re not easy enough for beginners. We should need to have at least a replacement of the tutorial, so that people could downoad the game and try it.

15 April 2007

Christian Perrier: Back on shadow

Today, Nicolas "nekral" Fran ois and I spent some time on the remaining issues of the shadow package. As the package is part of the base system, it was frozen for a while now. Thankfully for us, our upstream was nearly inactive in the meantime (no new version) and the issues reported in the BTS in the meantime were pretty minor (indeed, several of them are unreproducible, often errors in users' PAM settings). So, now we're back on duty to make the bug count for that package down to 0 (there are 17 opened bugs as of now). Our upstream seem to come back to life so we will probably do our best to lower the size of the Debian diff.gz file which raised again in the last months of the sarge->etch release cycle.

Kai Hendry: Opensource Web applications

olpc web browser pointing to Webconverger Whilst downloading, installing and running Debian packages is easy, fun and “free”, most Web applications aren’t. I can’t be the only one that thinks there is a problem somewhere as for example, where are the all the Web applications listed on Freshmeat? I have an idea for a Web application though I thought it would be cool to make it as Free software though it can be a pain. I think there is a few more “barriers to entry” problems running a Web application as a free software project. Web hosting is generally quite poor and a lot of the Web centric deployment/packaging tools aren’t up to scratch. Though there are a couple of amazing examples of “open source” Web sites, like the stuff My Society do. Nonetheless I would like to see Debian as an even better Web application platform.

Kai Hendry: Opensource Web services

olpc web browser pointing to Webconverger Whilst downloading, installing and running Debian packages is easy, fun and “free”, most Web application services aren’t. I can’t be the only one that thinks there is a problem somewhere as for example, where are the all the free software Web services listed on Freshmeat? I have an idea for a Web application though I thought it would be cool to make it as Free software though it can be a pain.
  1. Getting a reliable host
  2. Host has to be Debian and probably unstable to get the bleeding edge stuff :)
  3. You probably want to have root, hence dedicated
  4. It is probably expensive and you might have to watch bandwidth
  5. You have to create accounts, where your colleagues also want root.
  6. You could use sudo though you’ll probably get frustrated with it and end up with “ALL = NOPASSWD: ALL” and no one checks the logs ;)
  7. You’re probably want Xen and a few IPs
  8. Since Web application packaging with current tools is near impossible with all the different httpds and DBMSes, you’ll probably have to use some odd hand crafted setup.
  9. You will probably want a DBA sooner or later, to figure WTF is going on with your DBMS ;)
  10. You’ll probably end up with a several step build&deployment process (that’s bad)
  11. Testing (if you ever get that far) will probably be a kludge
  12. To lower the barrier of entry, you will probably go for PHP which is great to deploy. Scary to secure.
  13. Though non-PHP avenues will probably require FastCGI. And FastCGI on Apache last time I checked is PAIN.
  14. Your developers probably can’t run the Web application locally as it such a pain to setup (esp. forget offline)
  15. You might have some “privacy policy” that makes sharing log or database data difficult amongst developers.
  16. Your Web application will probably need mail server access and all the pain that comes with that.
  17. Your application will have to deal with difficult abuse problems like spam that ordinary applications don’t usually deal with.
  18. If your project’s site becomes popular you’ll have a ton of maintenance and scalability head aches that will probably require money to be thrown at the problem.
  19. Someone will think your Web design stinks. Then if you use some “designer”, he creates some awful XHTML template and some fixed px style sheet with images replacing text. ;)
I think there is a few more “barriers to entry” problems running a Web application service as a free software project. Web hosting is generally quite poor and a lot of the Web centric deployment/packaging tools aren’t up to scratch. Though there are a couple of amazing examples of “open source” Web services, like the stuff My Society do. Any other good examples? Nonetheless I would like to see Debian serve as an even better Web application platform. Update: I think “services” makes more sense than “application” in this context… I hope you’ll agree.

14 April 2007

Thomas Viehmann: Cyrus IMAPd 2.3 and ANNOTATEMORE

Cyrus IMAPd implements annotations to mailboxes and the server. As shipped (in 2.3.7, the current upstream release, the Debian maintenance team on Alioth has preliminary packaging in their SVN, thanks!), the valid annotations are hardcoded. Having run an unpatched IMAPd since my own virtual domain patches were obsoleted by upstream supporting it, I've decided to write up a quick patch to make annotations runtime-configurable.

Ben Hutchings: ACCU Conference

I've been meaning to attend the ACCU Conference for some years and finally decided to pay my own way for a couple of days this year. It was an opportunity to hear world experts on C++ and other programming topics and to a smaller extent to meet and socialise with other professional programmers. I attended the following sessions: Keynote: Improving Collaboration in Open Source Projects, Mark Shuttleworth This was a somewhat surprising choice of speaker and subject since I think most attendees work on proprietary software, but I think any sensible developer in the proprietary world will try to build on free libraries under non-copyleft licences, where appropriate. Mark talked about governance and leadership in "open source" projects (actually praising Debian for having a clear constitution) and about the need for good communication between projects, for example about release schedules. He seems to have accepted that Launchpad cannot be a single hub, and called for standard formats for, for example, exchanging information about related bugs between bug trackers. But it doesn't sound like he's ready to take the lead on that. Choose your Poison: Exceptions or Error Codes, Andrei Alexandrescu Andrei looked at the strengths and weaknesses of various error reporting mechanisms in C++ and introduced a technique for making error handling more flexible. Normally a function is designed either to indicate errors through its return value or to throw an exception on error. If a function returns an error indicator, it's easy for callers to ignore it. If it throws an exception on error, then a caller that provokes errors more often than the called function's author anticipated pays a high cost in processing time for those errors. Andrei's solution involves a class template Likely<typename T> whose instances hold either a return value of type T or an exception. A function that can fail has a specialisation of this template as its return type. The caller can check for failure if it knows how to handle it, or it can ignore it - in which case the conversion to T or the destructor will throw the exception. This is clever but doesn't seem to be entirely satisfactory. The destructor which throws does first check that no exception is already being processed, avoiding collision of the two exceptions and consequent abrupt termination of the program, but this can result in errors being unexpectedly ignored. Introduction to Component-Level Testing, John Lakos A marathon 3-hour talk on designing and testing software, particularly C++ programs (the subject of his well-known book) as a set of well-defined components. Lakos first defined these components as being "physical" i.e. sets of source files - normally a header file defining an interface, an implementation file, and a test driver file. They may also include metadata for the build system. He talked about the value of reusable components (as if this wasn't obvious!) and the risk of introducing circular dependencies - which essentially turn many components into one and reduce reusability - if we fail to keep track of dependencies. Software built out of components can be viewed as a hierarchy or stack defined by dependencies. In a large system, components with similar dependencies and dependents can be grouped together into packages or package groups to simplify a view of these dependencies. He explained that the test driver's dependencies count just as much as the implementation's, because we cannot reasonably test a component until we have tested its dependencies. Test drivers should also be written to avoid depending on environmental settings and configuration, so far as possible. Finally, and perhaps most importantly, he spent a long time talking about how to construct test cases and test data. I might try to summarise this in a later entry if anyone's interested. The Appliance of Science: Things in Computer Science that every practitioner should know, Andrei Alexandrescu Andrei began by complaining that OpenOffice Impress was even worse than PowerPoint, but being able to use Linux (specifically Ubuntu) more than made up for the pain. He briefly presented four key ideas that he believes programmers should understand and be ready to make use of: Writing for ACCU (BoF) I think I've been convinced to write an article about standardisation of multithreading in C++. C++ Threads, Lawrence Crowl Crowl gave an overview (similar to this) of the extensive work that's been done on standardisation of multithreading in the C++ language and library. This is one of the most important features in C++0x due to the increased parallelism mentioned above. The current semantics of multithreaded programs are not standardised, resulting in subtle but potentially serious differences between current C++ implementations that support multiple threads, and in the need for assembly-language code in programs that use lockless synchronisation. Much of this is also relevant to C and is being considered by the C standard committee. C++0x Initialisation: Lists and a Uniform Syntax, Bjarne Stroustrup Stroustrup recapped the 4 forms of syntax for initialising objects in C++, some inherited from C and some necessarily invented for C++, none of which are entirely generic. He noted the lack of a simple syntax to initialise the elements of containers, which violates the general principle that class types should have the same status as built-in types in C++. He then introduced a new initialiser syntax that he and others have defined for C++0x, which is a brace-enclosed comma-separated list of values, similar to that used for arrays and C-style structures (aggregates). Container types can define a constructor with a parameter of type const std::initializer_list<T> & and when constructed with this new form of initialiser they will receive this wrapper for a constant array of element values. For types that do not, the values in the list are treated as arguments to some other constructor, if one matches. Otherwise, for compatibility, this may be treated as aggregate initialisation. C++ Standard Library report, Alisdair Meredith There was far too much information here for me to even begin to summarise. Suffice to say there are lots of good things coming bu the library committee will have its work cut out to get them all properly specified in time for the Committe Draft coming late this year.
I also met old friends and new, put faces to names from newsgroups and books, and got too little sleep.

Holger Levsen: let the beer flow at least

Frustration and (missing) flow blew my mind away in the last hours. I didn't count them properly, but I would guess I had more than 20 network connection losses today. And in at least 75% of them I was working online or in the middle of an irc conversation.

Then I switched to wired networking and after 5min I had another network crash. Ten minutes later my laptop froze completly when loading planet.

So I switched to a beer flow. I'm uneasy to commit to drink a beer for each network loss, but this is how I feel at the moment.

Besides these little annoyances, dudesconf is pretty and pretty well organized, thanks and kudos to the team making this possible and taking care of many little details. You rock! I haven't heard anybody else complain about the network so I guess it's my lovely hardware - which is running etch, reinstalled this wednesday, so I don't blame the software except some drivers for not properly (as in open) documented hardware.

I'm looking forward to next year when I can easily justify buying a new laptop to myself.

Adam Rosi-Kessel: Google Reader is the Solution

I was a long-time hold-out user of standalone RSS aggregators (SharpReader for Windows and Straw on GNU/Linux, both of which have been somewhat stagnant over the last couple of years). I’ve finally thrown in the towel and switched to Google Reader. It was a great decision. The key factor is mobility. I check email and blogs from my personalGoogle Mobile Image laptop; our kitchen computer; my office workstation; and, perhaps most significantly for Google Reader, from my cell phone. The Google Reader cell phone app is quite good (handy “keyboard” shortcuts, efficient presentation), and allows me to catch up during time that is difficult to use for other purposes: waiting for the train, standing in line at Starbucks, on the elevator. The only real downside is the lack of offline support (although I don’t think it would take a rocket scientist to create it), but this is far outweighed by the mobile functionality. As “access anywhere” becomes more important than “offline access,” I predict we’ll see more users of all applications make this sort of switch.

Next.

Previous.