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 in pip-build-root

While attempting to install Thumbor on a CentOS server I recently had the following error message: ———————————————————— /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 https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.1.0.tar.gz#md5=1d3eb04f06e6f09a080bc37fb019f9bf (from […]

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: debug1: 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 […]