Michael McLaughlin
Rexburg, ID

Hear the Author!
Press to play


Oracle Diagnostic Queries
Fri, 06 Jan 2017 02:28:11 +0000
It’s always a challenge when you want to build your own Oracle SQL Tools. I was asked how you could synchronize multiple cursors into a single source. The answer is quite simple, you write an Oracle object type to represent a record structure, an Oracle list of the record structure, and a stored function to […]

Basic Python Object
Mon, 31 Oct 2016 00:23:49 +0000
One of my students wanted a quick example of a Python object with getters and setters. So, I wrote a little example that I’ll share. You define this file in a physical directory that is in your $PYTHONPATH, like this: # Define Coordinate class. class Coordinate: # The method that initializes the Coordinate class. def […]

Create a Python Module
Thu, 20 Oct 2016 05:50:25 +0000
Sometime formal programming documentation is less than clear. At least, it’s less than clear until you’ve written your first solution. The Modules section of the Python language is one of those that takes a few moments to digest. Chapters 22 and 23 in Learning Python gives some additional details but not a clear step-by-step approach […]

Python for loops
Thu, 20 Oct 2016 03:02:37 +0000
It’s always interesting to explain a new programming language to students. Python does presents some challenges to that learning process. I think for-loops can be a bit of a challenge until you understand them. Many students are most familiar with the traditional for loop like Java: for (i = 0; i < 5; i++) { […]

Install cx_Oracle for Python
Wed, 19 Oct 2016 07:47:37 +0000
This shows you how to install the cx_Oracle library for Python 2.7 on Fedora Linux. If Fedora has it on the server you can download it with the following yum command: yum install -y cx_Oracle-5.2.1-11g-py27-1.x86_64.rpm Currently, you’ll get the following failure because it’s not available in the Fedora repository: Loaded plugins: langpacks, refresh-packagekit mysql-connectors-community | […]

Oracle Segment Fails
Mon, 17 Oct 2016 04:29:52 +0000
The instance that I’ve built for my students in a Fedora VM is quite stable except for one feature. The feature is the hibernation process of the base operating system. Sometimes when the base operating system hibernates, it causes the Oracle shared memory segment to fail. When that happens you get the following error: ERROR: […]

Author Profile
Name: Michael McLaughlin
Location: Rexburg, ID
Subjects: Applications; Databases; Middleware; Servers;

Website: Oracle Press Books

Copyright © 2013 McGraw-Hill Global Education Holdings, LLC Any use is subject to the Terms of Use and Privacy Notice