Moving a Windows .txt file to a Linux Server

Problem scenario:  When you move a Windows .txt file to a Linux server, new characters can be introduced.  For example, the content of the file can have a “^M” (with no quotes) at the end of every line.  Sometimes tr, sed, and awk won’t work to remove this new jibberish (extraneous characters).  Moreover, sometimes the substitute command in vi will fail to do anything about these extraneous characters (^M).  How do you eliminate these extra characters at the end of every line? 

 » Read more..

Apache Software Foundation Has Imperfect Websites

“Documentation plays a great role in the maintenance of a project.”  (Page 19, Learn Apache Ant, Tutorialspoint.com, 2014) 

The open source movement is no exception.  As much as we admire The Apache Software Foundation, we are disappointed that they don’t correct errors. We’ve submitted the first two errors below to them.  However, mistakes remain. Here are some errors to help other people who may be confused:

#1 was corrected.  (We removed the error from this page.)

#2 Error on web page for Apache Ant
Specific location: http://ant.apache.org/projects.html
What is wrong: 

 » Read more..

What To Do When Linux Files Are Read Only

Sometimes you cannot edit and save a single file in Linux.  For example, if you boot into maintenance mode after the /etc/fstab is corrupt, you cannot edit the very file that is causing the problem.  To overcome this problem, you will need to log in as root and issue a command.  You will need to manually edit the /etc/fstab.  To do this in maintenance mode you need to issue this command from the prompt: 
mount -o remount,rw /
After this,

 » Read more..

Top Five Reasons To Ask For Help When Working in I.T.

When challenged at work, be it debugging a program or getting a server to work properly, sometimes it makes sense to escalate the problem or ask for assistance.  This is true for lead architects, I.T. vendors, or junior service desk employees.  Here are the top five reasons to ask for assistance.

1)  It can save time.  A senior level person may not have the idiosyncratic business knowledge of a more tenure junior employee. 

 » Read more..

Python Documentation Issue

Python is a great language. 

On 11/10/15 we found an error on this Python documentation site.  Here is what we saw for the endswith function documentation:

The Syntax for the “endswith” function, on the face of the documentation, involves “startswith”.  We updated the site by clicking the “Edit on GitHub” link.  We corrected it on 11/10/15.  Hopefully someone will approve this change and the canonical syntax in the documentation will be corrected.

 » Read more..

Definition of a Java Thread

Java source code is compiled into bytecode.  Bytecode, when run, is executed by the processor.  Sequences of bytecode go through processors, and on occasion these sequences must be analyzed for developing new Java software.  Java Enterprise Edition (the programming language of choice for many businesses) is owned by Oracle.  However, Oracle is not always the best creator or custodian of documentation for Java.  Here is an example (as of November 2015) taken from Oracle’s website: “A thread is a thread of execution in a program.”  This circular definition does little to help elucidate what a thread is. 

 » Read more..

Configuration Management Tools (Continually Comparing and Contrasting Technical Aspects of The Big Four)

There are many different configuration management tools.  These programs promote the management of servers either through the release of code or through the deployment of infrastructure patches.  They can do more than that. Commonly their utilization facilitates the transfer of files as well as the modification of existing files.  Four of these configuration management (CM) tools that are very popular among modern enterprises include Puppet, Chef, Ansible, and SaltStack.  This post will briefly compare and contrast some aspects of the tools themselves.

 » Read more..