Christopher Berner

3 minute read

I’ve been working on an autonomous hexacopter, which has a Pandaboard ES running Ubuntu on it, and I wanted it to setup its own wifi network in the field for easy ssh access. Turns out this is pretty simple to do, but you need to configure several different daemons to get it working right. 1. Check your wifi card You’ll need a wifi card that supports master mode, if you’re going to create an access point with it.

Christopher Berner

3 minute read

Well, 12.10 (quantal quetzal) is out and runs a lot better on a Macbook Pro retina (rMBP) than 12.04. Just installed it on my retina and I think I can finally use it as my day to day laptop! Improved from 12.04 Better APIC support in the kernel (previous you had to boot with noapic) Special keys on keyboard work (volume control…etc) Better touchpad support (two-finger scrolling works!) Got full resolution and external monitor (edit: ran into some issues after trying to boot between OSX and Ubuntu, that I haven’t figured out yet) working!

Christopher Berner

3 minute read

  1. Install rEFIt Download and mount the rEFIt-0.14.dmg disk image. Double-click on the “rEFIt.mpkg” package. Follow the instructions and select your Mac OS X installation volume as the destination volume for the install. If everything went well, you’ll see the rEFIt boot menu on the next restart. If you run into any problems, you can find more details on their website.
  2. Resize Partitions This step is pretty straight-forward.

Christopher Berner

1 minute read

Add snapshot versions to your setuptools packages from SVN is easy, using the tag_svn_revision = true options in setup.cfg. However, getting this working for GIT proved to be more difficult, as there’s no built in support. However, I finally settled on a bash script that does the job quite nicely. now=date +%sgitversion=git describe --long --dirty=-$now|sed 's/.\*(\[-\]\[0-9\]\[0-9]\*[-\]\[a-z0-9\]*)/1/'python setup.py setopt -o tag_build -s $gitversion-c egg_info python setup.py sdist First we generate a unique version string, based on the number of commits since the last GIT tag:

Christopher Berner

1 minute read

I started using Eclim a couple days ago, and kept running into Error running command: pyflakes <path to my code>, when my files contained more than one syntax error/warning. After a bit of googling I discovered this bug, which suggests that the version of pyflakes in Debian isn’t compatible with Eclim. Sure enough, removing the the .deb package (apt-get remove pyflakes) and installing it from pip (pip install pyflakes), fixed it.