Entries by Dave

MQTT vs Websockets vs HTTP/2: The Best IoT Messaging Protocol?

While doing any sort of development for an Internet of Things (IoT) connected device such as an Arduino, Raspberry Pi, or other embedded platform, the question inevitably comes up as to what is the best messaging protocol to use? Assuming your application can’t use straight up web pages, there are really two viable options at […]

A Simple Go TCP Server and TCP Client

Golang is a new-ish programming language that has really come into its own. It is a portable language which runs across many platforms; but allows advanced system and memory access unlike other web programming languages. There are a number of readily available packages which extend the functionality of Go without re-inventing the wheel, so you […]

Aeon Labs Smart Energy Meter (Home Energy Meter)

It has always been a goal of mine to have a ‘smart house’. In my old townhouse, I knew we were going to be moving so I did not take the time to install any of the neat equipment that I’ve been reading about. After purchasing a new home last year, I began researching in […]

Centos pip python install error

While attempting to install Thumbor on a CentOS server I recently had the following error message: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242———————————————————— /usr/bin/pip run on Thu Sep 18 21:07:45 2014 Getting page https://pypi.python.org/simple/pycrypto/ URLs to search for versions for pycrypto in /usr/lib64/python2.6/site-packages: * https://pypi.python.org/simple/pycrypto/ Analyzing links from page https://pypi.python.org/simple/pycrypto/   Found link https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.0.1.tar.gz#md5=4d5674f3898a573691ffb335e8d749cd (from https://pypi.python.org/simple/pycrypto/), version: 2.0.1   Found link […]

SSH – Unspecified GSS failure

Recently came across a problem with one system authentication to another via ssh. I added the public ssh key to ~/.ssh/authorized_keys entry. Changed ownership to the proper user and also chmod 600 ~/.ssh/authorized_keys. Still no dice. Using ssh -vvvv the following error returned on pubkey authentication: 12debug1: Unspecified GSS failure.  Minor code may provide more […]

Enable/Disable Output of Audio Input in Ubuntu

After hooking up my old-school turntable to the input jack on my desktop PC, I thought I’d be easily able to output the sound from my speakers. I could even see the audio playing as an input and could record it using Audacity, but not output it directly. By default Ubuntu does not load the […]