Greece and the EU
Python OAuth2 failing with X509 error
ssl.SSLError: [Errno 185090050] _ssl.c:343: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
The solution to this is that the cacerts.txt file in the Python installation is only readable to the root user / wheel group. In order to fix that up, first find the cacerts.txt file:
find /Library/Python/ -name cacerts.txt
Then modify the permissions on the file:
sudo chmod 644 /Library/Python//2.7/site-packages/httplib2-0.7.7-py2.7.egg/httplib2/cacerts.txt
Note that the URL endpoints for twitter on the python-oauth2 Github page are currently wrong. To use the "Twitter Three-legged OAuth Example" change http://twitter.com/oauth/request_token to https://api.twitter.com/oauth/request_token, etc.
The Raspberry Pi 2
Back to blogging
Brighton
Last Monday we bought a house in Brighton. I wasn't sure it was going to happen. Genetically I'm predisposed to worry about stuff, and right until the last moment I was thinking of disaster possibilities. We were supposed to exchange contracts and settle at 2pm. We spoke to the vendors and they were saying that they couldn't possibly be out of the place before 2pm, so we decided to travel down by train and get there around 3pm. We got final confirmation from our solicitor that the settlement had happened at 3pm, while we were still on the train. We got to the house, and the vendors were still in the process of moving out. We grabbed some keys and went and grabbed something to eat. By the time we came back, the vendors had left and the place was ours!
Jeremy Howard talk about the Data Science Revolution
OpenSCAD rocks the house!
Da Vinci 3D Printer Arrives
Configuring a Jaalee iBeacon Transmitter
I received 5 iBeacon transmitter units from ibeaconmodules.us today. They arrived unassembled, so I put them together and configured their local names with my iPhone.
The first hurdle I found in setting them up was getting the battery in the right way around. Each unit comes with a watch battery, and you need to have the side with the plus sign facing away from the circuitry.