I’ve been pounding on GPSD with the Coverity static analyzer’s self-build procedure for several days. It is my great pleasure to report that we have just reached zero defect reports in 72.8KLOC. Coverity says this code is clean. And because I think this should be an example unto others, I shall explain how I think… Continue reading Engineering zero-defect software
Category: Software
Some figures that make me happy.
I got emailed summaries from a Coverity scan of the repo head version of GPSD today.
Falling through the cracks: why GPSD sometimes bogarts non-GPS devices
In a recent Google+ comment, H. Peter Anvin grumped about GPSD using “braindead heuristics” to determine which USB devices it should sniff as possible GPses when it gets a hotplug notification saying that one has connected. I was going to reply in a comment there, but the explanation ran too long for that. Short version:… Continue reading Falling through the cracks: why GPSD sometimes bogarts non-GPS devices
The long past of C
Hacking on the C code of giflib after an absence of nearly two decades has been an interesting experience, a little like doing an archeological dig. And not one that could readily be had elsewhere; nowhere other than under Unix is code that old still genuinely useful under any but carefully sandboxed conditions. Our reward… Continue reading The long past of C
giflib: everything old is new again
In 1994 I handed off the maintainership of giflib, the open-source library used by pretty much everything in the universe that displays images for the single most widely used icon and image format on the World Wide Web, because patent issues made it unwise for the project to be run by someone in the U.S.… Continue reading giflib: everything old is new again
Super Star Trek 2.1
I guess it’s paleo-game theme week. For your retrocomputing pleasure, here’s my Python forward-port of the 1973 University of Texas FORTRAN Trek game: Super Star Trek. Anybody old enough to remember TTYs probably played this on one. While it has accreted some features over time, it’s still functionally pretty close to the original FORTRAN Star… Continue reading Super Star Trek 2.1
VMS Empire 1.9 released
Recent discussion of the 4X game Eclipse reminded me of a responsibility. I’ve just shipped VMS Empire 1.9. This is a close descendent of the original solitaire Empire computer game that was the ur-ancestor of all 4X computer games, including Civilization and Master of Orion.
Another bite of the reposturgeon
Five weeks ago I wrote that direct Subversion support in reposurgeon is coming soon. I’m waiting on one final acceptance test before I ship an official 2.0; in the meantime, for those of you kinky enough to find the details exciting, description follows of why this feature has required such a protracted and epic struggle.… Continue reading Another bite of the reposturgeon
Are threads still a menace?
An interesting question showed up in my mailbox today. So interesting that I think it’s worth a public answer and discussion: In chapter 7 of The Art of Unix Programming, you classified threads under the section “Problems and Methods to Avoid”. You also wrote that with the increased emphasis on thread-local storage, threads are looking… Continue reading Are threads still a menace?
Coming soon: reposurgeon does Subversion
For those of you who have been following the development of reposurgeon, a pre-announcement: the next version, probably to be numbered 2.0, will directly read Subversion dumpfiles and repositories. I’ve got this feature working now – it’s why my blogging has been scant recently – but I intend to have a really good regression-test suite… Continue reading Coming soon: reposurgeon does Subversion
Against decentralized bugtracking
I’ve spent a lot of time and bandwidth on this blog thinking out loud about version-control systems and software forges. In my last post, I announced that I was going to try to sneak up on the problem of designing a better software forge by enhancing Roundup. Over the last three years I’ve gotten a… Continue reading Against decentralized bugtracking
Sneaking up on the forge problem
I’ve written before about the problems with today’s software-forge sites – how they’re craptacular piles of PHP driving direct SQL queries with almost zero scriptability that become data jails for open-source projects. I’ve hinted that I think there’s a potential solution based on Roundup, a brilliantly simple and powerful message queue manager disguised as a… Continue reading Sneaking up on the forge problem
Attack of the 50-foot reposturgeon
Well, I thought I was done hacking on this for a while. Then one of the projects I did a conversion for disclosed the existence of a second repo for their website, which I had to merge into the code repo. As a subdirectory. Which meant pushing all the file paths into a subdirectory. Which… Continue reading Attack of the 50-foot reposturgeon
Reposturgeon from the Black Lagoon!
reposurgeon 1.8 is out, and with this release it has all the conversion features I’ve been able to think up while doing the last couple of conversions. This version creates real tags from the lightweight tags generated by git-svn, and also consolidates matched D/A pairs from Subversion into renames. An “edit multiline” variant of the… Continue reading Reposturgeon from the Black Lagoon!
Night of the living reposturgeon!
reposurgeon 1.7 is out. Fewer obvious changes this time; the big feature is that it knows how to read and use the CVS revision maps generated by the -R option of git-cvsimport. This means that it can patch CVS revision references into an action-stamp form that makes sense in a VCS-independent way. Fear the reposturgeon!
Son of the reposturgeon!
Somebody said “Release early, release often.” once…and, just a day after reposurgeon 1.5, reposurgeon 1.6 is out, with a bug fix and a tasty new feature.
Names and consequences
freshmeat.net abruptly changed its name to freecode.com a couple of days ago. As a consequence, the little program I wrote to submit release announcements to it is now renamed freecode-submit. People who ship releases frequently enough to find freecode-submit essential might also want to look at shipper, which I wrote to automate other aspects of… Continue reading Names and consequences
Revenge of the reposturgeon!
Reposurgeon 1.5 is out. This is a major release based on experience gained converting the roundup repository.
RFC: Action stamps
This is a request for comment on a convention for uniquely identifying user actions on the Internet. The motivating context was identifying commit changesets in version-control systems in a way independent of the specific VCS. It is anticipated that this format will have uses in recording many other similar sorts of transactions, including actions on… Continue reading RFC: Action stamps
Repositories in Translation
I’ve been doing a lot of repository conversions recently, lifting ancient project histories from Subversion or even CVS into modern distributed version control systems. I’ve written about the technical problems with these conversions elsewhere but they also raise issues that are almost philosophical – and not unlike, actually, the challenges natural-language translators face moving a… Continue reading Repositories in Translation