McGarrah Technical Blog

Posts in category "technical"

Start the Windows screensaver with a Shortcut

After my Windows 11 upgrade, I have a need for a quick way to start my screensaver but not lock my computer. So the Windows-L (lock) is not a desired options for this use-case. I want to quickly get back to my screen without logging back in.

I remember an old Windows NT tool and built-in MacOS feature called “Hot Corners” that let me do this by shoving my cursor to a corner of the screen. But I don’t want to load another tool for this. I’m using Power Toys “Mouse without Border” to link up a couple machines with virtual KVMs so the hot corners isn’t an option because of that.

So how do I solve this?

PhotoSynth Export and Visualizer

I have developed something interesting for my graduate class in Computations Photography for the final project. As background, for the class we had an assignment in which we used the Microsoft Photosynth service to generate a 3D walk thru of an area by uploading several hundred photographs. On the back-end the Photosynth web service does feature extraction on all the photos and then related the photos in three dimensions to each other and the feature points. This generated a point cloud of related points between the photos.

PhotoSynth

LetsEncrypt Certificates go live

I’m live with the Lets Encrypt certificates for the blog.mcgarrah.org website. This has been awhile in the making and I’m kind of excited. I’m on a legacy environment with Ubuntu 12.04 LTS so part of the process is manual but certificate update just happens nicely. Updating the Apache config files has a little bit of effort but nothing too bad.

Artificial Intelligence for Robotics (CS8803-001)

Artificial Intelligence for Robotics (CS8803-001)

Associated with Georgia Institute of Technology

Fall Semester 2015

The goal for the final project in CS6475 AI for Robotics was to create a robotic platform to investigate computer vision technology. The platform included an Arduino with sensors and motors and a Raspberry Pi 2 for the vision and primary control system. The project URL is a video channel that shows the progress and challenges.

Raspberry Pi 2 built-in LED

For an assignment in my robotics class, I need to have an autonomous system react to the environment around it. Reacting can be as simple as flashing a LED if a sensor detects a change.

I have two objectives for the Raspberry Pi 2 (RasPi2) and those are to take a picture using the 5mp webcam and flash a LED. I could use the standard GPIO pins and setup a separate LED but noticed we have two perfectly good LEDs built into the board.

Reading on these built-in LED did not elicit any clear way of interacting with them from the regular Linux documentation. I informally called them the Red Power and Green DiskIO LEDs. It was by reading the headers to the source for Windows 10 for Raspberry Pi 2 that I found the GPIO pinouts for these two LEDs. They are:

35 Red Power LED
47 Yellow DiskIO LED

Python TimeDate functions

I needed a quick understanding of the Python 3.3.0 datetime functionality to do a difference in times across days. Python make it amazingly easy.

import datetime
from datetime import timedelta

# get current timedate
now = datetime.datetime.now()
print "now: " + str(now)
# get one day of time oneday = timedelta(days=1)
# make one day in the future and past
tomorrow = now + oneday
yesterday = now - oneday
print "tomorrow: " + str(tomorrow)
print "yesterday: " + str(yesterday)
# compare times
if now < tomorrow:
  print "now < tomorrow"
elif now > tomorrow:
  print "now > tomorrow"
else:
  print "now must be equal tomorrow"
if now > yesterday:
 print "now > yesterday"
elif now < yesterday:
 print "now < yesterday"
else:
 print "now = yesterday"

The expected results are:

CMD> python time.py
now: 2015-03-19 14:30:31.083000
tomorrow: 2015-03-20 14:30:31.083000
yesterday: 2015-03-18 14:30:31.083000
now < tomorrow
now > yesterday

I hope this helps someone.

Rackspace Cloud Load Balancer with Windows 2012 IIS

I’m working on a problem with Windows 2012 RTM server running an IIS web service. To load balance it, we decided to use Rackspace Cloud Load Balancers. Periodically we receive some errors that appear in the system event logs.

"A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 40. The Windows SChannel error state is 1205."

Wildcard SSL Certificates

I’m beginning to setup enough infrastructure that a wildcard certificate would be nice but I’m uninterested in paying several hundred dollars a year for that certificate. The free certs that used to be around just are not there anymore so far as I can see. My goal is to setup SSL certificates for both my email server and all the virtual host web sites I’m hosting under my mcgarrah.org domain for less than a hundred dollars a year.

Skype 7.0 Upgrade UI Annoyance

Okay, full disclosure, I hate change or at least useless change. Skip over the rant to the HowTo fix Skype if you want.

Doctor of Applied Psuedoscience

I found a fun little website to make fake diplomas. This struck my funny bone.

Doctorate in Smartass

I hung it in my office next to my Bachelors degree in Computer Science and waited for someone to read it. It is the gift that keeps on giving.

Mininet network simulator

I’m taking a graduate course in computer networking at Georgia Tech. The tools they are asking us to use are all open source and allow for some pretty interesting projects.

One such tool is the Mininet software that allows for building realistic virtual networks with real switches, routers and applications running on a single system. We are using a virtual machine that contains a copy of the Linux operating system and the virtual networking software. So far we are encountering minor issues with the OS and VM software.

Downgrading VMware ESXi 5.5 virtual machine hardware

One of this issues I ran into with bouncing between VMware Player 6.0.3 and my VMware ESXi 5.5u1 server is the hardware level of the virtual machines. ESXi 5.5 without the vSphere licence will not manage the newer virtualHW.version = “10″ virtual machines.

More WordPress plugins

Some addition research into WP plugins have a couple more worth reviewing.

VMware ESXi toolchain build

I’ve been back to the toolchain for ESXi again and had some success.

I was really getting frustrated with my lack of success in building the VMware ESXi 5.5 toolchain and compilers. It was a multi-week effort and I’m usually able to get something like that working eventually. I took a couple of month break from it while I worked on some other things including this website(WordPress) and my email servers. This gave me some perspective.

WordPress Plugins

Researching plugins and extensions for WordPress has been an experience.

Certifications

I’ve got a pile of certifications that I’ve accumulated over the years.

Below are my Redhat Linux, Microsoft, Sun Solaris, Nortel Networking and ITIL cert logos. I think the RHCE and Sun Solaris certs were probably the hardest of this bunch.

RHCE MCP SCSA NNCDS ITIL

Here are my SAS certifications that took me six months to complete on my own time. The Clinical Trials Programmer exam was by far the hardest of this set of tests. I mostly use my SAS experience now to port software to R.

SAS BASE CDI STAT BI CLINICAL TRIALS REGRESSION MODELING

I’m interested in the security CISSP and VMware VCP5 certification but have not had the inclination to spend the money or time yet.

NetApp iSER Performance Evaluation Project Continuation

NC State University - Computer Science

Senior Design Project

“Senior Design: NetApp iSCSI with RDMA/TOE” (Fall 2010 Capstone Project)

Aug 2010 - Dec 2010

Summary: Develop a methodology for 10Gbps iSCSI that utilized RDMA and TOE to reduce primary CPU and memory usage. Document and managed the project as a team leader. The resulting iSER implementation was utilized in a related NetApp Phd project at the University of Bangalore India.

Microsoft Developer Studio 6.0 Patches

This is a very old set of notes but might be useful for a developer dealing with Microsoft Visual Studio 6.0 for DOS and Windows 16-bit coding. This is from the era of Borland and Zortech Compilers being in play. I migrated this from my defunct darkmagic.org website.