Oculus Rift DK2 Unboxing

The DK2 has arrived! Just 24 hours after it shipped it was on my doorstep. It probably helps that I’m in Southern California less than 3 hours drive from where it shipped from, Ontario, CA.

This is just a preliminary post, but here are my unboxing photos. I have since installed it and used it. My initial impression is, I can’t wait until the existing software supports this thing!

My favorite 3 new features are: 1) The higher resolution display, 2) The motion tracking, and 3) The display driver that feeds the video directly to the rift without extending or mirroring your desktop. I was hoping this would come someday, and it has.








The Oculus Rift DK2 is coming!

I never thought I’d be happier to see a text from my bank alerting me a purchase was made on my debit card! I also just received, minutes ago, confirmation from Oculus that they charged the remaining balance and the Oculus Rift DK2 is about to ship!

With higher resolution, motion tracking, and a built in latency tester, my team can’t wait to continue developing for the Rift.

By the way, if I sound like an over-excited child on Christmas Eve, you’re spot on!

Python ipcam library for Foscam and other ip web cameras

Here is a very helpful, easy to use, python library for Foscam and other ip web cams. I have been using it with a Raspberry Pi.

IPCam Python Library

Here’s an example of how it works:

Instantiate a camera connection.

from ipcam import IPCam

cam = IPCam(host='',

Get a snapshot from the camera.

snapshot = cam.get_snapshot()

Save the snapshot to a file.

from datetime import datetime

file_name_suffix = datetime.now().strftime("%Y%m%d_%H%M%S")
file_name = 'snapshot_{}.jpg'.format(file_name_suffix)
f = open(file_name, 'wb')

Additionally, you can set camera parameters easily as well, they’re all by name, and right on the connection object.


Installing Psycopg2 on Mac OS X – pg_config missing – libssl not loaded


Psycopg2 installation not finding pg_config from Postgresql. Also, upon using psycopg2, it fails with Library not loaded: libssl.1.0.0.dylib.


  • Mac OS X Mavericks
  • Postgresql from Mac OS X Installer on Postgresql.org (Using 9.3 in this case)
  • Python 2 or Python 3


  • Missing pg_config
  • Library not loaded: libssl.1.0.0.dylib


There is no need to add postgresql via homebrew just to get libraries. The application installer already installs them.

Additionally, you do not want to redefine DYLD_LIBRARY_PATH. This will break other dynamic links even though the default value is empty.

You simply need to add 1 environment variable to resolve the missing pg_config on installing psycopg2.

Then add 2 symbolic links to resolve the location of libssl.1.0.0.dylib and libcrypto.1.0.0.dylib when using psycopg2.

export PATH=/Library/PostgreSQL/9.3/bin:$PATH

ln -s /Library/PostgreSQL/9.3/lib/libssl.1.0.0.dylib /usr/lib/libssl.1.0.0.dylib
ln -s /Library/PostgreSQL/9.3/lib/libcrypto.1.0.0.dylib /usr/lib/libcrypto.1.0.0.dylib