Older blog entries for bstpierre (starting at number 62)

Make apt-get use an alternate sources.list

Since my company’s product is based on ubuntu, we use apt to distribute upgrades. We don’t normally want customers to pull upgrades from the upstream distribution, so we’ve pruned...

(Click through for full post...)

Syndicated 2011-01-06 16:18:44 from The Daily Build

An Interesting pid File Race

ISC’s dhcpd uses this code to check for an already-running daemon: /* Read previous pid file. */ if ((i = open (path_dhcpd_pid, O_RDONLY)) >= 0) { status = read (i, pbuf, (sizeof pbuf)...

(Click through for full post...)

Syndicated 2010-05-26 16:08:50 from The Daily Build

Using Lenny to Build Jaunty Packages

<shameless_plug> I’m in the middle of putting together packages for the analog call generator my startup is building. </shameless_plug> The process for building debian packages...

(Click through for full post...)

Syndicated 2010-05-13 15:43:13 from The Daily Build

zsh history expansion

Exploring zsh features made me want to figure out some of the history-editing wizardry. (Bash has similar history tricks, I just never bothered to dive too deeply into them.) If you want to...

(Click through for full post...)

Syndicated 2010-02-15 13:59:52 from The Daily Build

Data vs Code

I’ll take an array over a giant switch-case statement any day. The array definition will be more compact and easier to see all at once. Defining actions in an array enforces uniformity. You...

(Click through for full post...)

Syndicated 2010-02-05 16:08:05 from The Daily Build

Set Your zsh Prompt

Since the beginning of time, all the cool kids have had really cool shell prompts. It's a great place to display helpful information, and zsh has features that let you have a flexible, informative,...

(Click through for full post...)

Syndicated 2010-02-01 16:05:13 from The Daily Build

Insist on Automatic Tests

At some point your team is going to be gone. Not all at once (well, maybe, but in that case you won’t care), but over time turnover will completely replace your team. If you are the manager,...

(Click through for full post...)

Syndicated 2010-01-29 19:08:08 from The Daily Build

Make the zsh zle handle “words” correctly

Snippet from my .zshrc: # This controls what the line editor considers a word. By default it # includes '/', which makes it so that when I M-del (attempting to erase # a directory in a path), I erase...

(Click through for full post...)

Syndicated 2010-01-27 15:40:18 from The Daily Build

Moving to zsh

To get started: sudo aptitude install zsh chsh /bin/zsh That’s pretty simple. Of course, you’re not running zsh yet… either logout and log back in or just run zsh at the prompt....

(Click through for full post...)

Syndicated 2010-01-25 15:20:27 from The Daily Build

9 “Must-Have” Tools for Software Teams

The items below are useful systems based on my experience working with a bunch of different software teams at a handful of companies over the past decade-plus. I haven’t bothered to list things...

(Click through for full post...)

Syndicated 2010-01-18 16:06:38 from The Daily Build

53 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!