TechGrabage

September 15, 2005

PERL: Copy Files Changed Yesterday

Filed under: Windows

After mangling several batch files and bastardizing a few other scripts I decided it was time to delve into PERL. I have been wanting to learn PERL for quite some time now and finnnaly wrote my first script today… Here it is in all its glory…

c:\perl\bin\perl.exe

Created on 9/15/2005 - Mike M

use File::Copy;

$dir=”c:\htrdata\keene1″;

$destdir=”\\cifp01\pubworks\wwtp\ZETABACKUP”;

opendir(MY_DIR, $dir) || die(”I can’t OPEN IT!”);

@files= readdir(MY_DIR);

closedir(MY_DIR);

foreach $f (@files)

{

$age=int(-M $dir."\\".$f);

if($age == 1) {

#print "$f $age\n";

copy($dir."\\".$f,$dest_dir."\\\\".$f) or die "Copy Failed!";

}

}

-mwm

September 7, 2005

Internet Explorer 7 Beta 1

Filed under: Windows

Well, progress is being made on the IE front. I just today installed IE 7 Beta 1 on my laptop. The first thing that cough my eye is the tabbed interface. I am a very big fan of tabbed browsing. Just makes things easier for me. The big downfall is RAM consumption. The more tabs that are open the more memory iexplore.exe will swipe. RSS feeds are handles pretty nicely also. You can grab the feed and create a favorite for it pretty easily. I also noticed an anti-phishing mechanism which is pretty well implemented.

More to come…

September 2, 2005

Speed?

Filed under: Windows

Fox News Alert: “SENATE APPROVES $10.5 BILLION IN AID FOR HURRICANE KATRINA VICTIMS; HOUSE CONVENES AT NOON TO SPEED BILL TO BUSH FOR APPROVAL”

They meet at night and are set to SPEED the bill to Bush at NOON! NOON! What is so speedy about that?

-mwm

Praise For Media

Filed under: General

I must admit I am proud of the media during this terrible time. Even FOX is pissed off. Our leaders deserve to have their cages rattled over this. There are hard questions to be answered by all, from the top down.

To hear senators on TV slapping each other on the back, thanking each other for help. This pisses me off! It’s not time for ‘good ol boys’ to thank and stroke each other! It’s time to get the bodies off the streets. It’s time to make these people feel like they mean something to us! I dont give a shit that congress had an unprecidented session at 10:00 at night after returning from vacation early to get money to FEMA! What a pile of crap! All it speaks to is how utterly ill prepared we are!

What if Atlanta, New Orleans and Boston we hit by terrorist either all the day or in succession? I can’t even begin to imagine the chaos and stupidity that would prevail. This is completely unacceptable, completely.

-mwm

Enough is Enough

Filed under: General

IS this America? What makes America America? What defines us?

The situation in the south is appauling. We are now a week into this and the situation is STILL going the wrong way. As far as I can see there is absolutely no excuse for the lack of leadership, the lack of organization, the raw lack of plain old help. I am disgusted by the fact that a week later we cant manage to get these people out of there. We are the wealthiest most technologically advanced country on earth but we just cant manage to get people out of a flooded city. It’s beyond belief.

I am sure I have no concept of what is happeing and the extent of the situation. I realize it is hard to get resources to a flooded city. But you cant simply cant tell me that we can send a ship from the North Pole to the South Pole, through very thick ice but we cant get a ship up the river to get people out? I just dont buy it.

This is a terrible display America. We should all be questioning our safety and preparedness. We should all be questioning our leadership.

This is a very, very sad week. My heart, thoughts and prayers are with those people.

-mwm






















Get free blog up and running in minutes with Blogsome | Theme designs available here