adventures of a VoIP / SIP / IMS trainer & contractor|


Python versions? “Python2” vs “Python3”?

Python is a generalized term

If you have ever been confused by the term “Python”, or by all the number of Python versions in existence, don’t feel bad. The term “Python” is a bit general in nature. Since the initial debut in 1991, the language has gone through a number of major and minor revisions. The most notable, is the change from Python 2.x to Python 3.x.

Python 2 matured at version 2.7+. This was scheduled to hit end of life years ago, but finally has done so at the start of 2020. See Sunsetting Python 2 if you care to […]

Setting a vim Color Scheme

I was recently lecturing on API and API Design with Python, and was in a room where the projector was nearing it’s last days. With significantly less lumens, it was difficult to see the blue comments on black background. Perhaps your reasons are different, but if you’re looking for instructions for setting a vim color scheme, read on.

From within vim, issue the following command to change to the ‘morning’ theme.

:colorscheme morning

Now from within vim, issue the following command to change to the ‘industry’ theme.

:colorscheme industry

If you’re lazy, you can shorthand the colorscheme command as follows.

:colo blue

To cycle through available […]

Python and APIs – NASA’s Open APIs

I often work with Alta3 Research to provide Python Training solutions for corporate enterprises. The video below is one I made for Alta3 Research documenting the use of Python to interact with NASA’s Open APIs by leveraging the HTTP / HTTPS protocol.

Using Python to interact with APIs using HTTP / HTTPS is a critical skillet for anyone looking to automate solutions within their infrastructure. In this lab, the messaging is rather simple. Of the many HTTP / HTTPS verbs (POST, DELETE, PUT, etc.), we’ll only be utilizing the GET. Consider the model below.

(our code)
Python Client ——- HTTPS GET ——-> […]

Python Looping with while and for

If you just landed here, looking for help on Python training, or Python looping you came to the right spot! If your new to Python programming, you might start back on my first post before hopping into a discussion of loops.

Before reading about my take on Python looping, start by reviewing the official documentation on Python while loops, and Python for loops. After you read over what has to say on the matter, it is time to start coding.

Lab 4.1 – Using a while loop

I have long thought writing simple games a fun way to learn programming. Imagine […]

Python Training – Making choices with if, elif, else

If you just landed on this site looking for Python training, then you came to the correct spot! This post is the continuation of several posts on learning to code with Python. The start of this series can be found here.

In this post we’ll explore the power of if, elif and else while coding with Python. The best place to start reading is always the official Python documentation. Start by reading up on the if, elif, and else statements.

After reading the Python docs, it is time to start coding! The scripts below will help you understand more about making […]

Python Training – Python Dictionaries

If you just landed here looking start Python studies, it is recommended you start out with my previous post Introduction to Python Programming. That should be enough to get you up and running. If for some reason you find it lacking, just shoot me a message and I’ll be sure to make clarifications. Otherwise, if you landed here just looking to learn more about Python dictionaries, then read on!

If you find any of these lessons compelling, and are looking for Python training, do reach out. I’ve authored several courses on Python programming, and would love to be the trainer […]

Introduction to Python Programming

This post is designed to help people get up and running quickly with some well written Python programming lessons. I won’t assume you are dumb, but I will offer you some tips I wish I had when I first started Python programming.

First, you’ll need to install Python. All things Python version 2.x are historic (dead), so be sure to install Python 3.x. You can do that by visiting this link here, and installing the latest version appropriate to your machine. PC, Mac and Linux are supported: Download Python

Next you’ll need a place to write code (Microsoft Word […]

AstriCon September 27-29, 2016

AstriCon 2016 was held at the Renaissance Glendale Hotel & Spa in Phoenix (Glendale), Arizona. It sounds like the type of place you might find cosplayers representing Halo’s United Nations Space Command Defense Force, but it is actually 3-days all about Asterisk – So, although attendance isn’t quite what you’ll find at DragonCon, you will find lots of tasty talks and new friends that wanna geek out on just about all things telecom.

I was invited to speak on running Asterisk within an OpenStack cloud, a copy of the talk can be found here (link to shameless self-promotion coming […]

What is OpenStack CirrOS?

If you have worked with OpenStack, then you’ve likely reached for a CirrOS (cirros) image more than once.

So, what is CirrOS?

CirrOS (x86_64) is a stripped down Linux (free) distro that can be used for proof-of-concept testing; use it to establish that instances (VMs) can be launched. If you are running an OpenStack environment, then the Glance (imaging) service would be called on to manage the storage of the CirrOS image (either by caching locally, or storing as an object via Swift). Nova-Compute (running on a Compute Node), could then be provided the location of this image to launch an […]

  • Permalink Gallery

    OpenStack pre-Mitaka users should watch 1984’s The Terminator

OpenStack pre-Mitaka users should watch 1984’s The Terminator

In the OpenStack pre-Mitaka release, the Horizon dashboard interface includes a button labeled, “Terminate Instances”. As a fan of James Cameron’s 1984 film, “The Terminator”, I had no problem wrapping my mind around what this button did. However, as an instructor of the OpenStack suite, I can say from experience that many people do struggle with what this button does.

I have to assume in 1984, the same people walked into “The Terminator” unsure of the motives of the Cyberdyne System Model 101 (CSM-101) as portrayed by Arnold Schwarzenegger.

In Cameron’s world, in OpenStack’s world, and in Merriam-Webster’s world, the word […]