Daniel Burrows: ANNOUNCE: cwidget
I've just uploaded the first release of libcwidget to Alioth and NEW. libcwidget is a high-level C++ library for developing user interfaces that run in a terminal using curses as the display and input layer. It uses widget abstractions similar (but of course not identical) to those found in GTK+ and Qt, with signals and slots provided by libsigc++.Background
Back when I started writing aptitude, I had one general goal:
Just because it runs in a terminal doesn't mean it has to suck.
I tried to apply this in the user interface, but I also applied it internally. The curses programs I looked at before writing aptitude all had very ad-hoc UIs. In many cases the code was structured with each "view" that appeared mapped to a custom C function call; if the author was feeling ambitious, similar-looking screens might be abstracted into a single function call, but the basic structure of the interface still reflected the call graph of the program.
aptitude had a primitive interface abstraction layer from the get-go; over the years, I borrowed ideas from GTK+ and restructured this layer into a full widget set. libcwidget is this code, disentangled from the guts of aptitude and slightly cleaned up. Because of its history, it is missing widgets that aptitude doesn't need (like a multi-line text editor), but it provides an extensible base that you can build upon.
Getting cwidget
The cwidget library is available (both as source and as an i386 .deb) from the cwidget Alioth releases page. There is also API documentation automatically generated from the upstream repository, which, while it is woefully incomplete, should provide some information: I've tried to write Doxygen tags into most of the code I've added in the last 4 years or so.
The upstream code repository is in git (because what fun is a new project if you don't learn a new VCS?) and available here. To retrieve a copy of the repository for yourself, run this command:
git clone git://git.debian.org/git/cwidget/head cwidget
As
Yesterday I bought a laptop for a friend, who also asked me to install Linux
on it. Since she's not computer-savvy at all, I opted for an Ubuntu. I provide
here a short description of the hardware and what to expect regarding
compatibility for anyone about to buy one of these.
Hardware description
I have just come back from a half week stay at the Hilton Indian
Lakes resort (which is the second time in a month that I have
stayed at a golf resort and club and proceeded to spend 9 hours a
day in a windowless conference room). On Thursday night, an ex
Chicago native wanted to show us the traditional Chicago pizza
(which can be delivered, half cooked, and frozen, via Fed-Ex,
anywhere in the lower 48). Google Maps to the rescue! One of the
attendees had a car, and we piled in and drove to the nearest
pizzeria. It was take out only. We headed to the next on the list,
again to be met with disappointment; since making the pizza takes
the best part of an hour, and we did not want to be standing out in
a chilly parking lot while they made out pizza. So, I strongly
advocated going to Tapas Valencia instead, since I have
never had tapas before.
Somewhat to our disappointment, they served tapas only as an
appetizer, and had a limited selection; so we ended up ordering one
tapas dish (I had beef kabobs with a garlic horseradish sauce and
caramelized onions), and my very first paella (paella valencia),
with shrimp, mussels, clams, chicken, and veggies. We ate well, and
headed back to the hotel. As we parked, and started for the gate, I
realized I no longer had my wallet with me so back to the
restaurant we went. The waiter had not found the wallet. Nor had
the busboy. The owner/hostess suggested perhaps it was in the
parking lot? So we all went and combed the parking lot once,
twice.
At this point I am beginning to think about the consequences I
can t get home, because I can t get into the airport, since I have
no ID. I have no money, but Judy can t wire the money to me via
western union because I have no ID. I need money to buy greyhound
tickets to get home on a bus and then there is the cancelling
credit cards, etc. Panic city.
While I was on my fourth circuit of the parking lot, the owner
went back and checked the laundry chute. I had apparently
carelessly draped the napkin over my wallet when paying the tab,
and walked away and the busboy just grabbed all the napkins,
wallet and all, and dumped it down the chute. Judy suggests I carry
an alternate form of ID and at least one credit card in a
different location than my wallet for future trips.
If that was not excitement enough, yesterday, I got on the plane
home, uneventfully enough. We took off, and I was dozing
comfortably, when there were two loud bags, and the plane juddered
and lister to the port. There was a smell of burning rubber, and we
stopped gaining altitude. After making a rough about turn with the
left wing down, the pilot came on the intercom to say We just lost
our left engine, and we are returning to O Hare. We should be in
the ground in two minutes . Hearing the in , a guy up front
started hyperventilating, and his wife was rubbing his back. My
feelings were mostly of exasperation, I had just managed to get
myself situated comfortably, and now lord only knows when we would
get another aircraft. When we landed, the nervous dude reached over
and kissed his wife like he had just escaped the jaws of death. And
he asked if any of us knew statistics, and if we were fine now. (I
was tempted to state that statistics are not really predictive, but
hey). It was all very pretty, with six fire engines rushing over
and spraying us with foam and all. When we got off the plane the
nervous dude headed straight to some chairs in the terminal, and
said his legs would not carry him further. He did make it to the
replacement plane later, though.
Turns out it was a bird flying into the engine that caused the
flameout. Well, at least I have a story to tell, though it delayed
getting home by about three hours.
Thursday evening, when I came from work I found my nslu2 not working. It is/was a router and a local mirror. I tried to understand what's going on, but I couldn't. Everything looked fine, except that it did not resolve any addresses and the ping to my provider was not giving any results.
The most common (and, in fact, visible) complaint concerning the New Maintainer process is the time it takes for the DAM to approve the applicant and, after that, create her account. No need to rehash over that.
Another very common problem seems to lie at the AM level, with a number of AMs being mostly inactive, as far as the NM process is concerned, for long periods of time. I know a number of NMs who are waiting for their AM to, basically, come back to life.
It’s not OK for an NM to have to wait for months for her AM at whatever step of the procedure without any reply whatsoever to her mails/IRC pings. It’s even less OK to have NMs wait for months for their final AM report to be posted on -newmaint.
The problem is not with the time taken by the whole procedure (though that can be improved too), the problem is with unresponsive AMs. If you can’t keep up, give up. Don’t let your NMs wait for you indefinitely.
It’s even worse when the AM wants to be the exclusive sponsor for her NM. That means the NM cannot properly take care of her packages in Debian. That’s not acceptable. That practice should be discouraged.
And, oh, this works both ways: if you’re in the NM queue and have time constraints impacting your application, please tell so to your AM and ask to be put on hold until you can find enough time to resume your application. You’ll help everybody by doing so.

Only an outline so far but most of this code already exists in Emdebian SVN.
The search for the 
Reading