Older blog entries for bstpierre (starting at number 69)

Using SSH for IPv6-enabled HTTP Proxying

My ISP has apparently made no progress whatsoever with IPv6, but I’ve got an IPv6 enabled VPS. SSH makes it trivial to use that VPS as a SOCKS5 proxy. Just do: ssh -D 8080 myvps.example.com...

(Click through for full post...)

Syndicated 2011-11-11 16:50:26 from The Daily Build

Fixing Certificate Errors with Cisco AnyConnect

“AnyConnect cannot confirm it is connected to your secure gateway. The local network may not be trustworthy. Please try another network.” There may be several reasons for this error,...

(Click through for full post...)

Syndicated 2011-11-06 15:50:20 from The Daily Build

Preserve Your Sanity When Dealing with Unicode in Python

I have not yet played with python 3, which sounds like it makes working with Unicode easier. In python 2.x, working with Unicode can be annoying, but when you remember this rule of thumb, it’s...

(Click through for full post...)

Syndicated 2011-10-05 16:09:13 from The Daily Build

My First Android Adventure

Here are my notes about getting the Android SDK up and running using only the command line tools that come in the SDK. The following worked for me on Ubuntu 10.04 LTS as of September 2011. I find...

(Click through for full post...)

Syndicated 2011-09-27 02:43:37 from The Daily Build

Change directories faster with zsh

Something I didn’t know until recently: zsh does not require cd to change directories. Using the directory as a command implies “cd”. For example, instead of doing:...

(Click through for full post...)

Syndicated 2011-07-25 15:23:44 from The Daily Build

Use Linux to build win32 installers for Python apps

A python-based project I’m working on has a win32 user that I need to support. Until yesterday I’ve been moving to a win32 laptop in order to run python setup.py bdist_wininst so I can...

(Click through for full post...)

Syndicated 2011-07-20 15:00:36 from The Daily Build

Making perl unit tests easier to run in emacs

It’s a hassle to have to switch from emacs to the shell, run unit tests, pick out the failure, switch back to emacs, navigate to the line, forget where you were supposed to go, switch back, etc...

(Click through for full post...)

Syndicated 2011-07-08 00:57:15 from The Daily Build

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

60 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!