Pynsive: A Simple Plugin Library for Python – A Second Look

In my last article on Pynsive I showed you an easy way to get started using Pynsive. Pynsive is a simple plugin library that follows PEP 302. Today I’m going to show you step-by-step how to create and use a plugin context.

Continue reading

Posted in Open Source, Python | 1 Comment

Using SO_REUSEPORT with Python on Ubuntu 13.04

The Linux Kernel 3.9 introduced a new feature that allows you to bind multiple socket listeners (servers) to the same port on the same host. What this means is you can build servers that all listen on the same port and can handle incoming traffic very efficiently. For example, you wouldn’t need to spin up a master process that then spins up child processes (fork) to handle the load. Instead, you can just spin up multiple processes that all listen on the same port. Let’s do a simple example to demonstrate this.

Continue reading

Posted in Open Source, Python, Socket Server, Ubuntu | Comments Off

Creating a REST API using Go (GoLang) and Goweb

In my last article I showed you how to create a simple REST project using JAS. Today, I’ll show you how to use another Go REST framework called: Goweb.

Continue reading

Posted in Go, Open Source, REST | 2 Comments

Creating a REST API using Go (GoLang) and JAS (JSON API Server)

In a previous article I showed you how to get Go up and running on an Ubuntu 13.04 Desktop system. Today, I’ll show you how to build a simple REST API using Go. In particular, I’ll be using JAS (JSON API Server) which is a simple REST API framework.

Continue reading

Posted in Go, Open Source, REST | 1 Comment

The two minute guide to getting started with Go (GoLang) on Ubuntu 13.04

According to the website “Go is an open source programming environment that makes it easy to build simple, reliable, and efficient software”. In the community Go has been growing in popularity and where I work it is picking up steam with several new projects like Gopercloud as one example. Today, I’ll show you how to quickly get started using and learning Go.

Continue reading

Posted in Go, Open Source | 3 Comments

Getting started with Pynsive – a Python plugin library

In the words of the Pynsive author “Sometimes it’s the simplest project that is most useful”. Pynsive according the the readme is a simple plugin library that uses the sys.meta_path list along with a custom finder and loader definitions to hook into the Python import process. Pynsive also follows PEP 302.

Today I’ll show you the most simple way to use this new library.

Continue reading

Posted in Open Source, Python | 1 Comment

Getting started with Ansible on Ubuntu 13.04 (Desktop)

This blog post will cover getting Ansible working on Ubuntu 13.04. The steps are actually very well documented but I’ll cover a few steps I needed to do to get everything working properly. The steps here are for testing and learning Ansible on a VM enviroment only and not for production setup.

Continue reading

Posted in Ansible, Open Source, Python, Ubuntu | Comments Off

Using a Python client to test Tornado WebSockets

In my last article I showed you how to how to use WebSockets in a very minimal code fashion using Tornado and Python. Today, I’ll show you a very easy way to build a Python client and test out your WebSocket projects using a library called: websocket-client.

Continue reading

Posted in Open Source, Python, Tornado | Comments Off

Getting started with WebSockets using Python and Tornado

Using WebSockets in Python with Tornado is very easy. Today I’ll show you how to build a very simple application that will demonstrate the basics of getting everything working.

Continue reading

Posted in JavaScript, Open Source, Python, Tornado | 6 Comments

Setting up OpenStack (Grizzly) Keystone in ten easy steps on Ubuntu 12.04 LTS

I’m going to go through the steps required to setup OpenStack’s Identity Service Keystone on Ubuntu 12.04. I’ll assume you already have Ubuntu up and running.

Continue reading

Posted in Open Source, OpenStack, Python, Ubuntu | 1 Comment