We recently bought a Canon Vixia HG20 camcorder. The HG20 records in AVCHD format (MPEG-4 h.264) at up to 1920 1080. To get from the camcorder to a DVD (or something we can upload to the web), I need some sort of video editing software. This lets me trim out the boring bits, encode the video for DVD, etc.
Background
In addition to DVD creation and web uploading, I want the ability to burn high-definition video discs. 1920 1080 is significantly higher resolution than you get from a DVD. There are two main ways to go: a blu-ray format disc, or an AVCHD disc. A blu-ray disc has to be burned onto BD-R media, which costs about $5 each, using a blu-ray burner, which costs about $200. AVCHD discs use the same h.264 encoding that the camcorder does, meaning they have better compression and can be burned onto regular DVD+R media, fitting about 30 minutes onto a DVD. Moreover, it is possible to move AVCHD files directly from a camcorder to an AVCHD disc without re-encoding, resulting in higher quality and lower playing time. The nicer blu-ray players, such as the PS3, can play AVCHD discs.
AVCHD seems pretty clearly the direction the industry is moving. Compared to the tape-based HDV, ACVHD has higher quality with lower bitrates, better resolution, and much greater convenience. Hard disk or SD-based AVCHD camcorders are pretty competitive in terms of price by now too, often cheaper than tape-based ones.
The downside of AVCHD is that it takes more CPU power to process. Though as video tasks are often done in batch, that wouldn t have to be a huge downside. The bigger problem is that, though all the major video editing software claims to support AVCHD, nobody really supports it well yet.
The Contenders
Back when I got my first camcorder in about 2001 the one that I m replacing now you pretty much had to have a Mac to do any sort of reasonable consumer or prosumer-level video editing. We bought our first iMac back then to work with that, and it did work well with the MiniDV camera.
Today, there s a lot more competition out there. The Mac software stack has not really maintained its lead some would even say that it s regressed and the extremely high cost of buying a Mac capable of working with AVCHD, plus Final Cut Express, makes that option completely out of the question for me. It would be roughly $2500.
Nobody really supports AVCHD well yet, even on the Mac. Although most programs advertise support of smart rendering a technique that lets the software merely copy unchanged footage when outputting to the same format as the input none of them have smart rendering that actually works with AVCHD source material. Though this fact is never documented, though discussed on forums.
Another annoyance, having used Final Cut Express in the past, is that with these programs you can t just go to the timeline and say delete everything between 1:35 and 3:52 ; you have to go in and split up clips, then select and delete them. They seem to be way too concerned about dealing with individual clips.
I briefly used Cinelerra on Linux to do some video editing. It s a very powerful program, but geared at people that are far more immersed in video editing than I. For my needs, it didn t have enough automation and crashed too much and that was with MiniDV footage. It apparently does support AVCHD, but I haven t tried it.
I ve tried three programs and considered trying a fourth. Here are my experiences:
Ulead/Corel VideoStudio Pro X2
Commonly referenced as the go to program for video editing on Windows, I started with downloading the Free Trial of it from Corel. Corel claims that the free trial is full-featured all over on their website, but I could tell almost instantly that it wasn t. I wound up buying the full version, which came to about $65 after various discounts.
I wanted to like this program. Its output options include AVCHD disc, Blu-ray disc, DVD+R, and the like. Its input options include MiniDV, AVCHD, ripping from DVD, ripping from Bluray, and just about every other format you can think of. And it heavily advertised proxy editing , designed to let you edit a scaled-down version of AVCHD video with a low-CPU machine, but refer back to the original high-quality footage for the output.
It didn t pan out that way.
The biggest problem was the constant crashing. I really do mean constant. It probably crashed on me two dozen times in an hour. If you are thinking that means that it crashes pretty much as soon as I can get it re-opened, you d be correct. Click the Play button and it hangs. Click a clip and it hangs. Do anything and it hangs.
It did seem to work better with the parts of the source that had been converted to a low-res version with Smart Proxy, though it didn t eliminate the hangs, just reduced them. And every time I d have to End Task, it would forget what it had already converted via Smart Proxy even if I had recently saved the project and have to start over from scratch.
I spent some time trying to figure out why it always thought my project was 720 480 even when it was 1920 1080, and why the project properties box didn t even have an option for 1920 1080. After some forum searching, it turns out that the project properties box is totally irrelevant to the program. Yay for good design, anyone?
VideoStudio Pro X2 does have good output options, allowing combination of multiple source files onto a single DVD or AVCHD disc as separate titles. Unfortunately, its DVD/AVCHD rendering process also yes hangs more often than not.
The documentation for VideoStudio Pro X2 is of the useless variety. It s the sort of thing that feels like it s saying The trim tool is for trimming your clips without telling you what trimming your clips means, or making it obvious how to remove material from the middle of a clip.
The proxy editing feature isn t what it should be either. Instead of being something that just automatically happens and Works in the background, you have to manage its queue in the foreground and it forgets what it was doing whenever the program hangs.
On the rare occasion when pressing Play did not cause a hang, the AVCHD footage played back at about 0.5fps far, far worse than PowerDirector manages on the same machine. Bits that had been rendered for proxy editing did appear to play at full framerate.
I have applied for a refund for this purchase from Corel under their 30-day return policy, and have already uninstalled it from my disk. What a waste.
CyberLink PowerDirector 7 Ultra
This was the second program I tried, and the one I eventually bought. Its feature set is not quite as nice as Corel s, especially when it comes to versatility of output options. On the other hand, it feels done. It only crashed two or three times on me apparently that s GOOD on Windows? Things just worked. It appears to have proxy editing support, but it is completely transparent and plays back with a decent framerate even without it. It can output to AVCHD, Bluray, and DVD, though smart rendering doesn t work with AVCHD source material.
Its weakness compared to the Corel package is that it doesn t have as many options for formatting these discs. You can have only one title on a disc, though you can have many chapters. You have some, but not much, control over compression parameters. The same goes for exporting files for upload to the web or saving on your disk.
The documentation is polished and useful for the basics, though not extensive.
Overall, this package works, supports all the basics I wanted from it, so I m using it for now.
Adobe Premiere Elements 7
I downloaded the trial of this one too. I opened it up, and up popped a dialog box asking what resolution my project would be, interlacing settings, etc. I thought YES now that s the kind of program I want. As I tried out the interface, I kept thinking the same. This was a program not just for newbies, but for people that wanted a bit more control.
Until it came to the question of output. Premiere Elements 7 was the only package I looked at that had no option to burn an AVCHD disc. DVD or Blu-ray only. That s a deal-breaker for me. There s no excuse for a program in this price range to not support the only affordable HD disc option out there. So I didn t investigate very much farther.
Another annoying thing is that Adobe seems to treat all of their software as a commercial. I m a user, not an audience, dammit. I do not want to buy some photoshop.net subscription when I buy a video editing program. I do not want to see ads for stuff when I m reading PDFs. LEAVE ME ALONE, ADOBE.
I just felt sleazy even giving them my email address, let alone installing the program on my system. I think I will feel like a better person once I reboot into Windows and wipe it off my system.
Pinnacle Studio 12
Another program that comes highly rated. But I never installed it because its minimum system requirements state that it needs an Intel Core 2 Quad 2.66GHz or higher for 1920 1080 AVCHD editing. And I have only a Core 2 Duo 2.66GHz half the computing horsepower that it wants. And since they offer no free trial, I didn t bother even trying it, especially since PowerDirector got by fine with my CPU.
Conclusions
This seems to be a field where we can say all video editing software sucks; some just suck a little less. I m using PowerDirector for now, but all of the above programs should have new versions coming out this year, and I will be keeping a close eye to see if any of them stop being so bad.

Yesterday I phoned into
The Phone Co-op AGM 2009 and heard the reports, most of which you can read in the PDF annual report from the AGM website. There were also various questions from members, which I scribbled down as follows:-
- What does ADSL mean?
- Asymmetric Digital Subscriber Line. Essentially, what we sell as broadband.
- How many day-equivalents of training did part-time employees get on average? (I think this was the question, but I got a bit lost.)
- Information not immediately available. ThePhoneCoop will research and reply later. The number of part-time employees is an asterisk footnote in the non-financial performance indicators.
- Where are the Phone Co-op s investments?
- Most of the share capital is for investment in TPC, but surpluses arise for various reasons and are invested outside. Current locations include 40k in long-term investments, including 10k in the Co-operative Group, 20k in Westmill wind farm, 5k in a hydro power project; 60k is in the ICOF share account, 1.4m in the Co-operative Group, [...I missed some. I was struggling to keep up. Some of this may be wrong anyway...] 486k in Midcounties Cooperative share account, 20k in Chelmsford Star; total of about 2.9m.
- Is ICOF deciding recipients of the sustainability fund or The Phone Co-op?
- The arrangement with ICOF is now ending for various reasons and now TPC will partner with Black Country Reinvestment Society. Don t want to manage the fund directly because it s not a core task for a phone company.
- The increase in turnover is described as mainly to existing customers. Has there been an increase in the number of customers?
- The Phone Co-op is recruiting 150-200pcm residential and 30 business customers, but losing a similar number. Have recruited new staff to try to improve this.
- Is share account interest being cut in line with banking interest?
- Just cut to 3%, but there has been a net inflow of investment. Current interest receipts from TPC cover it due to long-term investments, but they will mature, so the interest rate will be cut gradually to keep it sustainable.
- Purchase from other cooperatives is 11% and falling. What is being done to increase it?
- [I missed the answer to this.]
- What is happening about getting a new office?
- The Phone Co-op still has an option on a site in Chipping Norton, but no planning permission. An alternative commercial building which was being discussed with its owner was lost to housing (planning permission granted there!). There is a general lack of suitable sites available and things are happening cautiously in the current climate.
- If we re trying to save paper, why did members receive two envelopes in the post for this AGM?
- The report was sent from Calverts directly, to save time, postage, staff and report miles
- Is the description of non-white in the performance indicators a problem for mixed white+non-white people?
- Will look into this.
- How many affinity schemes are there?
-
- There are currently 300 and they are being reviewed for the best way to work better with them.
- Are acquisitions likely?
- Expect the credit crisis to being opportunities. There are benefits from more traffic and so on. TPC has been contacting potential suppliers and intermediaries asking after other providers in difficulties.
- What is the deferred income shown in the financial statements?
- Pre-billed broadband and similar products.
- Is the investment in the Co-operative Group risky?
- TCG holds around 4bn in assets under and is one of the longest continuously-traded companies in the UK.
- Are ThePhoneCo-op s 0845 numbers advantageous to TPC or the caller?
- Still yes for TPC, paying 1p/min at peak; probably not advantageous to caller these days.
- There are 15% sales to cooperatives shown. What s the largest cooperative and what % of that is it?
- Shown in the annual report. [The numbers in report work out to about 15% of all sales I think. So, nearly all sales to cooperatives are sales to Midcounties?]
All errors and omissions in the above are mine.
I heard the allocation approved, then I had to leave before the special meeting and the presentations. If anyone has links to them or coverage, please leave me a comment. Other comments welcome, too.
If you go for an ultrasound or some other imaging procedure, they
may give you a CD with the images that requires some overly
complicated and under-featured Windows viewer. Chances are these
images are in
DICOM
format, which is like the AVI of the medical world.
Your first clue will be that
file might report the file as
an unoptimised QuickTime movie, e.g.
$ file ./QMAG0001
./QMAG0001: Apple QuickTime movie (unoptimized)
After figuring out the file type wasn't actually anything to do
with QuickTime, I tried some of the many different tools and
methods to convert this to something viewable. Unfortunatley, the
DICOM viewer in GIMP and ImageMagick (probably the same thing?) didn't
like the files at all, and neither did a range of other tools. I
finally managed to do it with the
dcm2pnm tool from the
Debian
dcmtk package
-- just point it at the file and it spits out a PNM which is easily
converted by all graphics tools.
You can also encapsulate a series of images in a DICOM file, like a
little movie.
dcm2pnm extracts these easily, but requires
the
--all-frames options. An
ffmpeg recipe to turn
these extracted files into a more easily viewable movie is:
$ ffmpeg -qscale 5 -r 20 -b 9600 -i foo.%d.ppm movie.mp4
I certainly can't guarantee this will actually work for you, as
DICOM appears to be an extremely complicated format with many possible
vendor extensions. But hopefully it's a starting point!

It has been a quite long time since I blogged about D-I.
As everybody now probably knows,
D-I RC2 for lenny was released on January 31st, which now allows
releasing Lenny.
While the last work for Lenny is going on, I noticed that, during this week, one of our "new" translators completed the first two parts of Debian Installer translations...which is the key for a language to be "activated" (with translations flowing to packages).
So, this morning I activated Kazakh in Debian Installer, which means that
we will be painting a significant part of the world in red (dear readers, were'nt you missing "my" neat maps?).
Of course, this is way too late for lenny, but given the high activity of that team now, I don't doubt that Kazakh will be part of Squeeze D-I.
So, the count is now 64 and I really have to move my a** to shake those 16 translators and teams that are listed in "work in progress". Most of them are indeed silent, unresponsive, or just sleeping..:-)

Bruce Schneier
is very sceptical about the new
hard drive encryption standards released by a group composed of virtually all major storage vendors. He points out that the established software solutions have worked just fine, while this new standards adds complexity (and probably flaws, too) at the hardware level. I'm not so sure myself in which direction the balance goes:
- Encryption (without the key management, which I do not suppose the standard covers) is not that complex to get right and it can easily take advantage of hardware acceleration. (Yes, I don't quote numbers here. Schneier claims he hasn't had problems with encryption speed, but doesn't have numbers either ...)
- It should be a lot easier to subvert a software component than it is to subvert a hardware component.
- It is a lot harder to correct errors in hardware / firmware than in software and get users to apply the updates.
- In many cases the key management is the weak point, not the encryption itself. And key management is hard to get right regardless of where the encryption sits.
- I'm sure the abysmal track record of encrypted drives affects only the cheap USB drives and not the type of hardware we're talking about here. But, can I really be sure? (Serious) software solutions come from companies where security is the main business, whereas the hardware encryption will be implemented by storage companies which so far haven't had to care much about these issues.
- Finally: This standard should replace a number of proprietary solutions since some vendors already do offer encrypted drives anyway. Assuming the standard is sane, this should certainly be a Good Thing in any case.

My home file server,
Asterisk
PBX, firewall and general router is apparently dying. I am
looking forward to replacing it, because it s old and eats too much
power anyway. Now I just need to figure out what to put in its
place.
Basically I need a low-power machine that ll be always on, with
at least two LAN ports (three would be better, but I can also
connect the cable modem with USB), and a means to connect at least
two harddrives with at least 1Tb capacity.
I d rather use SATA for the drives than USB, but I would be
willing to investigate
eSATA and external drives
too. However, I want to have direct access to the drives and not be
forced to use some sort of proprietary RAID.
At the moment, I am investigating the
Thecus N3200PRO, which has quite a reasonable
hardware
selection.
The device has a low-power
AMD Geode processor,
but for some reason I have it stuck in my head that the
ARM would be
a better choice.
Does anyone have experience with this device? Or maybe someone
would like to make a different suggestion?
Mail me!
I d prefer a device that I can get working without too much
learning or frickling. The less I have to learn/know about and
touch hardware, the better. It would help if the machine booted off
the harddisk, for then I could install Linux elsewhere and move the
disks. Alternatively, network booting and a serial console would
work, although I hear that USB makes that unnecessarily painful.
I d like to avoid flashing ROMs or other black magic just to get it
working.
NP:
AC/DC:
Powerage
Update: The folks at
EXSYS kindly replied and filled me in
with some information regarding the N3200PRO. Thanks!
First of all, Thecus officially claims that it is not possible
to install Linux on the device (although the device is running
Linux, according to
the
hardware list).
Second, the machine boots off a Flash-ROM, which makes the
installation more difficult than I d like it, and apparently also
one-way: once the Thecus firmware has been overwritten, there seems
to be no way to get it back.
I am looking elsewhere now, because even though the hardware is
exactly what I want, I won t give money to a company who impose
shackles on their customers and force them to use software that may
not be up-to-date, and which is probably castrated I d be
surprised if the N3200PRO spoke IPv6, for instance.
Nevertheless, I ve
asked about installing Debian in the Thecus User Group forum
and I also dropped a message to Thecus itself. I ll keep this post
up-to-date, so come back for more.

I don't remember where I saw this first - probably in the Debian Installer code. Anyway, given an
n-tuple it can be somewhat unwieldy to unpack it:
VAR="Aho Sethi Ullman"
ONE="$(echo $ VAR cut -d' ' -f1)"
TWO="$(echo $ VAR cut -d' ' -f2)"
THREE="$(echo $ VAR cut -d' ' -f3)"
The trick being presented is to generate the boilerplate code and then eval it:
VAR="Aho Sethi Ullman"
eval $(echo $ VAR awk ' print "ONE=" $1 " TWO=" $2 " THREE=" $3 ')
Here's a more concrete example, with apologies to Python:
for PAIR in \
"one Aho" \
"two Sethi" \
"three Ullman"
do
eval $(echo $ PAIR awk ' print "k=" $1 " v=" $2 ')
# .. do something with $k and $v
done

So for those of you, not going to FOSDEM, there should be streaming. :-)
For the sake of full disclosure: this is the first time streaming is officially planned at the
FOSDEM Debian dev room, but so far maybe the worst prepared. So this announcement is probably a bit too brave...
But I thought I send it anyway. I'm quite very confident it will happen, despite my desorganisation atm (and the little time to set up and test on saturday). And as it would be very sad, if there were streaming, but no viewers due to lack of announcement of the streams, I decided to write this here.
The URL of the streams should be announced/linked on http://video.debconf.org but will definitly be also announced on our wiki page where we keep track of the
volunteer shifts (for those watching at home, those times are UTC+1). Please enter your name in the schedule there, if you want to help us, we have 60 shifts to fill. (15 talks, 4 positions for each: 2 camera operators, video mixer, audio mixer.)
Watch this space :-) (Though a proper announcement shall also be send to the project mailinglist.)
Tim Skirvin sent me some enhancements to this script, so I took a moment
to write documentation and put it up on my
miscellaneous scripts page. This is my version of the integration
script between git-buildpackage and pdebuild with cowbuilder. There isn't
very much to it, but it does handle automatically adding the etch
workaround option where needed and supports selecting the chroot in which
to build via an environment variable.
As usual for these sorts of little scripts, it hard-codes some of my
preferences and will probably require modification to work smoothly in
your environment. Unlike the larger packages I maintain, these random
scripts are little things I use to speed daily tasks or obscure scripts
for specific needs I have. I make them public on the outside chance that
they'll solve some problem someone else is having or will serve as a
useful example. Further updates generally won't be announced in my blog.
Ted T'so wonders about the LUGs over the world, seeking to answer a conversation he recently had at the Linux Foundation. He quotes a blog posting in Lenovo,
Local User Groups - gone the way of the dinosaur? . I think this is an interesting point to gather input from others.
In Mexico City, we
did have a strong LUG several years ago, holding not-very-regular-but-good-quality-wise meetings, roughly monthly, at Instituto de Ciencias Nucleares. I was active there ~1996-2001.
By 2001, however, the group stopped acting as one - Maybe one of the main factors is that we had a very strong, unquestionable group leader and cohesion factor (
Miguel), who worked at Nucleares and regularly got said auditorium. Once Miguel left to form Ximian, the group slowly disgregated.
In one of the last LUG meetings, we started working towards the National Free Software Conference (CONSOL)... Nowadays, in Mexico (as a country) we have several conferences around the year, although I'd be hard-pressed to say whether any of them really fills the needs of a LUG (and my answer would probably be negative).
Now, there are several smaller groups that have popped up in the void left by the Mexico City LUG - Mainly LUGs local to universities or faculties... And yes, a 25-million-people city is too large to have a single, functional LUG - Just the geographical size of the thing is too daunting. Besides, we are too many people, even though few of us are contributing any real work. But I also recognize that a local *users* group should care about making the users better, before focusing on making the world a better place ;-)
Anyway... My intention with this post, besides writing what I see, is to ask to other people that read me (I know this blog is syndicated at
Planeta Linux Mexico, maybe even people reading in other Latin American countries through
Planeta EDUSOL) to write what they see at their local communities. To make this a bit more useful, please leave a comment (in English, if possible) at this blog, so this can be used as a summary for Ted's request as well.

Keeping track with packaging software which is under heavy development
can be time-consuming. I noticed this while packaging
Conkeror,
because there was quite a demand for up-to-date packages, especially
from upstream themself.
So recently on the
IRC channel
#conkeror the idea of
automatically built
Debian packages came up. After a few hours of
experimenting and a few days of steadily optimizing, I can proudly
present
daily built
snapshot packages of Conkeror for currently Lenny and
Sid, ready
to be included in your sources.list:
deb http://noone.org/conkeror-nightly-debs lenny main
deb-src http://noone.org/conkeror-nightly-debs lenny main
deb http://noone.org/conkeror-nightly-debs sid main
deb-src http://noone.org/conkeror-nightly-debs sid main
The binary package conkeror-spawn-process-helper is currently only
built for the i386 architecture, but other architectures may follow.
The packages probably work also on any other Debian based distribution
(e.g.
Ubuntu) which includes XULRunner version 1.9.
Surely they are not of the usual Debian quality, but they should do it
for staying up-to-date with the Conkeror development just by using
your favourite APT frontend.
The script which generates those packages is also
available in the Conkeror git repository at
repo.or.cz.
The APTable archive is generated with
reprepro. Packages and the
repository are signed with the passphrase-less GnuPG key
373B76B4 which is used only for the Conkeror nightly
builds. (If anyone knows a better solution for automatic builds than a
passphrase-less key, please tell me. :-)
P.S.: I really like the new keybindings << , >> and
G . :-)

Last week, I posted some
diagrams showing
where apt and dpkg store their state files. I got a few suggestions
about how to simplify them and make them more readable, and here's a
tweaked version that includes those changes as well as some of my own.

This image is also available in
svg
and
pdf formats. As before, the SVG
probably won't work outside of Inkscape on Linux, and the PDF requires
Acrobat Reader to display properly. If anyone knows how to convert
Inkscape SVGs to PDFs that work everywhere, I'd be happy to give it a
shot.
As before, I also made a slightly less flashy version that should be
easier on printers, and perhaps easier on the eyes too:

This image is also available in
svg
and
pdf formats.

I ve so far been going through the list of projects that were done last year (
part 1,
part 2) in a somewhat dry fashion so I m going to make a little pause here and tell where I m going from with these posts.
As I went through the 2008 Summer of Code at Debian, I moved from being a nearly total outsider student to something more of a developer. I ve been contributing to Aptitude since the end of the Summer of Code (well, trying to find time to contribute more, as with many people..) and will be going to FOSDEM. I can t say I m an insider yet: I haven t met a lot of people, most people have no idea who I am, I ve been active here for, like 9 months and I m not even in new-maintainer yet (though I plan to apply when I feel I ll have contributed significantly to Debian).
The Student point of view
See, I m a student in Computer Science. I use free software, I d like to participate but it s intimidating and you never know where to start. You know the drill. Then comes the Google Summer of Code. Let s review its stated goals, as per its FAQ:
Google Summer of Code has several goals:
- Get more open source code created and released for the benefit of all;
- Inspire young developers to begin participating in open source development;
- Help open source projects identify and bring in new developers and committers;
- Provide students in Computer Science and related fields the opportunity to do work related to their academic pursuits (think flip bits, not burgers );
- Give students more exposure to real-world software development scenarios (e.g., distributed development, software licensing questions, mailing-list etiquette).
I m going to start with these goals and provide some of my opinions in something of a candid way.
Inspire young developers to begin participating in open source development
I have been playing with the idea of making a GUI for Aptitude ever since I dropped Synaptic, about 2 months into its use. It felt like when I bought a high-school required Texas Instruments TI-83+, that I dropped for a TI-89 within a month. Since back in 2005, every time I would see someone using Synaptic, I would pitch Aptitude as a better tool. The main reason for not doing so was that Aptitude was scary-looking. See, it s a lot of blocky text and wacky colors.
With life and cool stuff like
CPGE, I never had time to really code so I left it at that. In 2008, for the first time I was free the whole summer and so, I tried to get into the Summer of Code program and into Debian.
Actually, it wasn t the first try. One popular way to get acquainted with Debian is to go to wnpp, adopt a package (new or orphaned) and find a mentor to upload it. In January 2008, I did try to
package a set of geocaching tools I used at that time. But I didn t find a mentor to upload it. I didn t try very hard though and the package had some minor issues anyway. I reckon that Debian-mentor is a good idea to bring in new Debian Maintainers but the whole process is still quite technical. It is true that the minimal technical level for good packaging is not trivial in itself and the process should filter out unserious people, but the technicality curve could be adjusted to be more welcoming.
I think the Debian website could be improved in this area (ok, it s a quite long-standing bug). Holger Levsen mentioned the way Fedora and Sugar presented avenues of collaboration to prospective developers. The crux here is that it should feel much easier to identify areas to get involved into and who to contact if needed.
Help open source projects identify and bring in new developers and committers
Actually, it would rather be the other way around: help students identify and integrate into open source projects.
For the Summer of Code, I only postulated at two organizations, Debian and Freenet (the ones working on an anonymous darknet, remember ?). I got accepted at both and ultimately chose Debian (was my first choice from the beginning).
The Debian developers community is quite unique in the way it is very decentralized, independent and fluid. There are teams in some areas (Kernel, KDE, Translation, Edu, Publicity, whatever) but much of what makes up Debian is done by individual developers working on their own.
The downside of this is that for a newcomer, it s a little off-putting. Organized teams are not the way all things are done within Debian so there are often no smaller circle of people one gets to know. Going to Debian meetings and not knowing most of the people is a little intimidating. Keeping up with all the faces is a little hard too :).
Many other organizations participated into the Summer of Code and many would feel arguably different. Many may be more corporate-like, more hierarchical, more centralized. I preferred Debian because it was less formal in its structure. I felt that I didn t want to get into something that looked too much like work with supervisors and the like. It is indeed how it felt, there were no one up there to decide what we had to do. We were quite independent.
I can say that the Summer of Code is quite a good way to get a feeling of how a particular organization works in the inside.
Give students more exposure to real-world software development scenarios
As said earlier, many parts of Debian are independent, which is a result of the work separation through packages. In my work on Aptitude, it is a pity that I didn t have to interact a lot with other members of the Debian community. Aptitude talks with the rest of the Debian packaging ecosystem through mature library interfaces so there s not much need to ask questions beyond them, and even more so because my Daniel Burrows, my mentor and developer of Aptitude participated in their development. Also, I was working on bringing a graphical interface to it, so I didn t have to modify a lot of core code that interacted with the outside world.
Despite this, I still met a few people interested with future developments in the area of package managers. One example is Enrico Zini who pushed his work with Xapian APT Index. Over the summer, my mentor integrated packages search through Xapian which was interesting with the expanded possibilities of a graphical interface such as search as you type, drop down suggestions and so on.
Because of the short duration of the Summer of Code, most projects can t complete a full development cycle. The proposed work in my proposal was quite imposing. In the end, I managed to produce an (probably not even) alpha quality version of a graphical interface. My branch (if I remember correctly) was merged into the main trunk at the end of the summer and a version landed in Experimental at the end of the year.
One aspect that I missed was beta-testing feedback. During summer, only a handful people popped up on the mailing-list giving feedback on the GUI I was writing, although I knew through stats on my mercurial repository that dozens of people cloned it and followed it. Debian has no testing team , or any kind of semi-organized group of people who try stuff, which would be very useful to have an idea of how well I was doing.
So, did the Summer of Code at Debian give me real-world software development scenarios ? Not really in my case but by staying longer into Debian, I think caught up a little with that.
Here is some advice for the future Summer of Code student at Debian:
- the work of a Linux distribution might look a little nebulous and mysterious but the reality is that Debian does a very large range of development work: web development (debexpo), user application development (aptitude-gtk), hardware interaction (Debian NAS), developer infrastructure (lintian) or even quite theoretical stuff (debgraph) there is really a lot to choose from.
- Debian is not a nanny-project: you will not be managed, you re free, but you re on your own, be prepared
- don t hesitate to contact anybody working in areas you re interested in: look for packages maintainers, search mailing lists and wiki, look for debconf/fosdem/wherever talks by Debian developers. Developers will be happy to redirect you to the right people.
- choose something that can be reasonably finished by summer s end. Also take into account release freezes.
- be sure to contact anyone involved into the area you re working on: they will try to make it easier to merge your work in
- be sure to contact anyone involved into the area you re working on: it s ok to ask for help
- publicize your work: the Debian Project News will be happy to take your press releases , write a blog and get included on the planet, go on #debian-devel and #debian-soc, go to conferences and meetings
- you re not alone, interact with the other Summer of Code students, try out their code, give them feedback
- Communicate, nobody will kill you if you say something stupid
- Communicate, don t be afraid if you run into problems
- Communicate, clear enough ?
To conclude, despite all the difficulties, I would say that the Summer of Code at Debian was awesome. Although Debian is quite different from many other organizations, it was a very fruitful experience. And that s why I m still here.
Coming next is the rest of the projects reviews and a more concise and substantive list of recommendations for the handling of the next Summer of Code at Debian. And of course, see you at FOSDEM.
Paul Wayper has said that he only wants to work for companies that will send him too LCA [1]. While that criteria is quite reasonable it seems overly specific. Among other things the varying location of LCA will result in the expense for the employer varying slightly year by year - which employers generally don t like.
I believe that a better option is to have an employment package that specifies a certain amount of money (related to the gross income of the employee) should be set aside for training, hardware, or other expenses that help the employee (or their colleagues) do their job. Such an option would probably only be available to senior employees who are most able to determine the most effective way of spending the money.
For example an employee who earns $100,000 per annum might be permitted to assign 10% of their income ($10,000) to training or hardware that assists their job. Modern PCs are so cheap that any reasonable hardware requirements could fit within that budget with ease.
There are several benefits to such a scheme. On many occasions I have had colleagues who had inadequate hardware to do their work, slow PCs with small screens really impacted their productivity, in such situations buying a $400 PC and a $400 monitor for each person in the team could make a significant direct improvement to productivity before the impact on moralle kicked in!
Some years ago Lenovo ran some adverts for Thinkpads which said demand one at the interview . That made sense when a Thinkpad was an expensive piece of hardware. While there are still some expensive Thinkpads, there is a good range of cheap models, two which cost less than $1200AU and another eight which cost between $1200 and $1800. Now it makes more sense to allow each employee to choose their own hardware (both desktop and portable) and not even bother about issues such as whether the IT department blesses them. As Tom Limoncelli suggested in his LCA keynote, users are going to take more control over their environment whether the IT department like it or not, so it s best to work with them rather than fighting them.
For training a common problem is that management can t correctly determine which conferences are worthy of the expense of sending their technical staff. Then when a conference is selected they send everyone. It seems to me that when there are a number of conferences in a region (EG AUUG, LCA, OSDC, and SAGE-AU in Australia) there is a benefit in having someone from your team attend each one. Planning at the start of the year which conferences will be attended by each team member is something that appears to be beyond the ability of most managers as it requires knowing the technical interests and skill areas of most staff. If each employee was granted one week of paid time per year to attend conferences and they could determine their own budget allocation then they would be able to work it out themselves in a more effective manner.
Content analysis details: (5.9 points, 3.8 required)
pts rule name description
---- ---------------------- --------------------------------------------------
1.0 NO_REAL_NAME From: does not include a real name
1.0 HTML_MESSAGE BODY: HTML included in message
0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60%
[score: 0.4956]
1.4 HTML_10_20 BODY: Message is 10% to 20% HTML
1.5 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
1.1 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag
That's the registration verification email from the
National Do Not Call Registry.

Okay, I'm again not ready for release on Friday, so I will probably
switch to Monday releases ;-). But I think it's good to announce some
news which you can expect in next
Gammu version.
Besides usual bunch of bug fixes (many of them were revealed by testing
with Valgrind) the new testing version will have few interesting
features.
For Nokia users on Linux is great news, that Gammu can now use directly
FBUS USB interface (through
libusb-1.0. This is especially good
news for DKU-2 cable owners, as before they did not have possibility to
use Gammu without compiling separate (and broken) module. This
connection type is called
fbususb and is heavily inspired by
implementation in Gnokii, but uses newer libusb API and behaves more
nicely when CDC ACM driver has already hooked some interfaces. I would
specially like to thank to Peter Stuge for testing this feature (I'm
still without a Nokia cable).
The second big news is monitoring of SMSD state. SMSD now exports shared
memory segment, where some information about it's runtime can be found.
Little program called
gammu-smsd-monitor can display you these
information.
The third update is for python-gammu users, which now gain ability to
interact with SMSD through new gammu.SMSD object. For now it can inject
SMSD messages and get SMSD status (see previous paragraph), but more
features can come in future. I want to use this for creating some GUI
for SMSD, which will allow to send messages and monitor it's state. But
this is still future and if you want to write something like this,
you're welcome!

... is almost as bad as ever before.On my Core 1 Duo system (32 bit), official Adobe Flash crashes my browser
when I close a tab which had a Flash plugin running. Going to a blank page
then closing the tab usually helps, but it seems that sometimes Flash continues
to run in the background (sound doesn't stop either) and then will still crash.On my AMD64 system, the official Adobe plugin crashes my browser. There are
reports at Adobe that link it to Gmail. So here, the Adobe flash is unusable.
The 32 bit version via nspluginwrapper did not have sound for me, probably
some issue with Pulseaudio.So I'm now trying out Gnash. First thing I noticed: it has FlashBlock built in,
all those stupid Flash things won't auto-run but I'll always have the nice
play button to enable them when I want them to run. And while Gnash is working
pretty well on most sites, every now and then something just does not work.
Like some YouTube movies not playing (usually very short ones - maybe it will
only start playing a video when the buffer was completely filled, and a video
which is smaller than the buffer will thus not play?) etc.Some wishlist items:
- Add a 'auto run whitelist' to Gnash, when I go to YouTube I usually want to
actually run the video.
- Provide some 'fall through' option, so if the Flash doesn't work right in
Gnash I can pass it on to the Adobe plugin if I really need to.
I know that the latter won't be easy, but isn't nspluginwrapper doing something
like that?

Arthur Liu is doing a great series of posts following up on
the results of Google Summer of Code '08 projects in Debian.
(
post 1
post 2)
Most of them failed to produce code that's actually used
in Debian, though there were some very successful projects, too.
My experience with
ikiwiki
in '07 parallels that:
latex
Patrick Winnertz produced a working teximg (latex -> image)
plugin that's in ikiwiki.
The initial proposal also included doing latex -> html and
wiki page -> latex conversions; that work never happened.
file upload and image gallery
Ben Coffey had an ambitious proposal to add file upload
support to ikiwiki and also write an image gallery plugin
using that.
Ben did produce a working file upload interface, but that
code never got into ikiwiki. This was due to a combination
of at least three things:
- The only outside communication with the ikiwiki community
was doing a design proposal at the beginning, and a code
dump toward the end of the project.
- There was an existing complex spec for how to limit who
could upload what files, but Ben didn't choose to implement
those access controls.
- The code dump was not even noticed until much later, when
I was putting the finishing touches on my own implementation
of an attachments plugin.
By the way, since I happened to do that attachments plugin as a
paid consultant, I have an interesting data point: It took me 19
hours total to implement it, vs roughly a summer of work for
the GSoC project. I don't mean this to reflect poorly on Ben, it
just shows that someone who is familar with a code base and has
thought a lot about a problem can work on it much more
efficiently than a newcomer.
AFAICS, Ben never did get to the gallery part. His involvement
in SoC was cut short for personal reasons.
Wiki WYSIWYG Editor
Taylor Killian produced a working interface to Wikiwyg, but
it tragically never made it into ikiwiki.
This seemed to be going swimmingly -- Taylor set up a subversion repository
for his work and produced several revisions of the wikiwyg plugin in
response to feedback. At the end of the summer, it was close to ready to be
included in ikiwiki.
Then we lost contact with Taylor, and his site fell off the net.
Subversion repo: Gone. Tarballs: Gone.
The final tragic part of this story is that I had a local copy
of all of Taylor's work. And when I moved ikiwiki over from
subversion to git, I set up a wikiwyg branch, and put his work
into it, and happily deleted my other copies of his work.
But I made some kind of newbie mistake pushing that branch,
and so his work never made it onto my git server, and at this point
seems completly lost.
(I still hope to hear from Taylor..)
gallery
Arpit Jain produced a working gallery plugin for ikiwiki.
But that code never made it into ikiwiki.
The main stumbling block seems to be that it used the
lightbox javascript
library, which, at least at the time was licensed under a non-free CC license.
The code is present in a branch in ikiwiki's git repo, but at this point
there is still no image gallery plugin in ikiwiki, though others are now
working on other implementations.
Conclusions
I learned some important things from participating in the '07 SoC:
- There needs to be a well-defined place where students check in their code
regularly, and where it is regularly reviewed.
Either give them each accounts and branches in the project's main subversion
repository, or better use distributed VCS. Ikiwiki switched to git as
a direct result of the problems I saw with students publishing their
code in the ad-hoc ways that resulted from not having that. And I keep
backups of every ikiwiki git repo I am aware of, because any could fall
off the net at any time.
- If your goal is to have a student develop something that is included
in your project, that needs to be one of up-front success criteria
for the SoC project. Otherwise, most of them will fail to get all
the way there. Students need an incentive to deal with licensing issues,
to respond to maintainers' feedback, and to keep following up until
their code is merged. I suspect that requiring students leap over this
sometimes very tall bar will scare a lot of them away though. You
have to decide whether your goal is indeed to get working code
in production, or if it's more to mentor a student for the summer.
- Just because one is very familiar with a code base and very productive
in working on it, and has had lots of success getting others to
contribute to it in the usual free software manner, does not mean that
one will be a good mentor for a student working on that code base.
In fact, it probably means you won't be, unless you have some prior
experience teaching students. Which is why I've not participated in
SoC since. :-/