another man's ramblings on code and tech

Running Windows CMD and Batch Scripts from Java


A couple of weeks ago I hit a problem at work that would require calling an external program from Java. Essentially I needed to run a Windows batch script from within a program, so I decided I would make a boilerplate for Java Runtimes and add it to the company development library such that nobody...

Read more
Date: September 23rd at 11:54am

Hosting Multiple Domains Off One Apache Server With No Virtual Hosts


Note: I don't use this scheme for my webhosting anymore, but I'll leave this here as a fun facts article

It's been awhile, blog! Things got hectic and you got pushed to the side for a little while. I've graduated and gotten a job since my last post!

Anyways, when it comes to hosting Apache serve...

Read more
Date: June 27th at 12:34pm

Dynamically Loading Python Classes


The design for our fault injection framework has required the writing of a suite class which loads in other defined case classes located in their own directory. This means we need to fill a list in the suite class with case classes defined somewhere else. After doing some research we found a few me...

Read more
Date: October 12th at 1:17pm

Designing a Fault Injection Framework


Over at CDOT we have another phase of the log centralization project that involves producing a fault injection framework. This framework should be:

  1. Modular, such that different faults and fault cases can be applied simply
  2. Cross platform, such that this framework can be run from Windows or Linux...
Read more
Date: October 2nd at 1:19pm

Performing Bulk Operations on Elasticsearch Databases


Elasticsearch is a powerful database technology that uses unique ideas with its restful API for queries. However when it comes to updating and reindexing Elasticsearch has no built in functionality for performing these operations in bulk. This means to do tasks like this one must make their own scr...

Read more
Date: August 25th at 12:13pm