Benefits of using Virtualization for Disaster Recovery

Disaster recovery can be a difficult thing to plan for. You back up your systems; perhaps you replicate your data to an off-site facility; maybe you even build all redundant systems. After doing all of these things, what is your goal? It is to get your systems back up and running after some sort of a disaster, such as your building burning down; or an electrical failure in your data center. Below I have listed a few possible scenarios you may encounter. In these scenarios I outline a few problems Read more […]


Which product to use for Virtualization on your Desktop

As you may have noticed there are a lot of virtualization products in the market. Some of the better known products are from Parallels, Oracle, VMWare, and Microsoft. Each company has products with different strengths and weaknesses. In this article I will try to go over some of the products available from each vendor and when you should consider using which product. I am not going to go into detail about which company has the best product for a given task, but I may allude to that occasionally. At Read more […]


How to install Virtual Box and Create a Virtual Machine

Virtual Box is a very simple virtual machine package which can be installed on Linux, Mac, Windows, and Solaris. It is open source, so you can compile it to run on other systems as well. In this tutorial, I will cover how to install virtual box and install your first virtual machine. The process of creating the virtual machine is does not change much from operating system to Operating system. As long as you know how to install the OS (Example: Windows or Linux) then you too can create a Virtual Read more […]


S.O.L.I.D. Principles of Object Oriented Design

In a previous article, we talked about objects and classes, and how they can help you better organize your code.  The SOLID principles of Object Oriented Design are a set of principles you can follow to make better use of objects and classes.  These principles are not rules.  They are more guidelines to try to stick to while developing your applications. As you become more familiar with these principles, you will find that there are times when it makes sense to follow these principles. And Read more […]


What is JSON? (JavaScript Object Notation)

Javascript Object Notation, or JSON for short, is a data structure that uses only human-readable text to transfer or store information. It is very popular, especially in the context of web technologies, for transferring data between applications.JSON allows you to import and export data in a structured manner without doing a lot of work to parse it. Frequently when you interact with a REST API, you will pass JSON structures back and forth. An example of when JSON is used for storing data can be seen Read more […]


Python Objects and Classes

Python is an Objected Oriented programming language. This means that Python has a data type called objects. Today we will discuss what objects are; how are objects relate to classes; and when you should use objects and classes. What are Objects? Objects are containers that hold a collection of attributes and functions. As an example, you might create an application that tracks dogs. For reach dog you are tracking, you might create an object. Then for each dog object, there is a collection of Read more […]


Working with Python Collections

A collection in Python is an object that contains other objects. You can also think of it as a container or a bucket. There are many different kinds of collections contained within the containers module in Python. Today, we will discuss the different kinds of Python Collections/Containers. How to use the different kinds of Containers. and when you should use which one.Data TypesThe four main container types are: List Tuple Dictionary Set All of these containers are similar to an array. But, Read more […]


two guys arm wrestling at a bar in black and white

Mutable vs Immutable objects in Python

There are two types of objects in Python, Mutable and immutable objects. Mutable objects are more flexible in that these objects can be changed in place. Immutable objects are more static and cannot be changed without allocating a new object of the new type or with the new value. In some languages, almost all variables are immutable. In other languages most objects are mutable, and you can be fairly liberal with changing the objects whenever you want. Today we will discuss mutable vs immutable objects.  Read more […]


Python Numbers

Today we will discuss the different kinds of number variables in Python. How to interact with them, and what they are used for. There are four kinds of numbers in the python language: Int Long Float Complex Integers Integers are the basic kinds of numbers in any programming language. Integers are whole numbers, which means they do not have a decimal point. They can be either positive or negative. In Python 2 there is a maximum int size of 9223372036854775807. You can see this Read more […]


Working with DateTime objects in Python

When you read a date or time from a text file, user input, or a database, you are likely to get the date information as a string. It is helpful to convert the string to a datetime object since it will allow you to do more advanced functions. In todays article I will discuss and show examples of datetime objects in python. Specifically, I will show how to convert a string to a datetime, how to compare and reformat datetime variables, how to work with timezones, and how to extract specific bits of Read more […]