Wednesday, March 11, 2015

Thursday, January 12, 2012

Current Year with Perl

Perl scripters,

Did you ever want to just grab the current year in four digit format without pulling in the entire localtime array?  Me too.  Here is a simple statement that does just that and nothing more.  It pulls in the sixth element of the array which is the year.  Don't forget, the array begins with index value 0 so the sixth element has an index value of 5.

     $currentyear = (localtime)[5] + 1900;


Monday, November 07, 2011

Nationwide All Media 3 Minute Long EAS Test

My work sent out an email with this warning:

Please read the below message from FEMA.

On Wednesday, November 9, 2011, FEMA, DHS and FCC will conduct the first  national test of the Nationwide Emergency Alert System (EAS). This nationwide test will kick off at 2:00 p.m. (EST) and run concurrently across all time zones.

This system test is the first of its kind designed to broadcast a nationwide message to the American public.  In the history of the country, nothing like it has been conducted on such a level.  As you may be aware, there have been tests in the past, but not of this magnitude encompassing all regions of the Nation simultaneously.  The three (3) minute test will run concurrently on all radio and TV band stations exceeding the previous messages broadcast which were anywhere from a 30 second to 1 minute message.

There is great concern in local police and emergency management circles about undue public anxiety over this test.  The test message on TV might not indicate that it is just a test.  Fear is that the lack of an explanation
regarding the message might create panic.  Please share this information with your family and friends so they are aware of the test.

Below is FEMAs website that will provide more information regarding this test:

Tuesday, November 16, 2010

Crazy Java

This is insane! Below is one command line that I found while running
the process status command on one of our RHEL servers. Never in my
life have I ever seen a command line so long that was not part of a
joke or contest. This is just one more reason not to like Java. Here
it is:

4 S root 13773 13753 0 75 0 - 92863 - Nov15 ?
00:08:58 /opt/j2sdk1.4.2_18/jre/bin/java -cp
-Dmysql.home=/opt/AdventNet/WebNMS/mysql -Dwebserver.port=9090
olicy -mx100m com.motorola.webnms.common.server.init.SDMMain

Sunday, October 17, 2010

Mobile Posting

Testing out a new blogger app on my android phone.
Published with Blogger-droid v1.6.3

Sunday, January 03, 2010

Homemade Gray-Hoverman Antenna

I built an antenna over the holiday weekend. It receives just as well as the Radio Shack VHF/UHF that I bought twenty years ago for $30. I left that one in the attic at my last house when I moved.

I based it on the DBGH, double bay Gray Hoverman, designs that I found online at a Canadian forum. Below is a picture of of the one I built.

I used some old wood and wires and hardware that were lying around out in the garage so it did not cost me a dime of real money, just the time that I put into it. I figure I saved about $100 based on comparable antennas online.

I am picking up 28 channels just as I did at the other house with the RS antenna and I am feeding my whole house, which is currently three TV's. Several of these channels even broadcast in full HD so it looks real good on my HDTV.

If I had to built it again, I would just build a single bay and put a pre-amp on it. Give it a try. It wasn't that hard and it works very well.

Internet Speeds at New House

Still using same Windstream but they have fiber to the house in the new neighborhood as opposed to copper in the old neighborhood.

Upload speeds are much better. Now, on to wiring the whole house for Ethernet (100M full duplex that is).