Latest hobby

Hard to believe it’s been two years since I’ve posted anything.  Not that there hasn’t been things going on… So once again, I come back to this and avow that I will do more, post more, cover more, and 3 years from now, I’ll post again.  For now though, my latest hobby.

I’ve always had an interest in photography, that interest was only spiked by the appearance of a pileated woodpecker.  Continue reading “Latest hobby”

In a mood.

I’m in a bit of a mood, which was not helped any with my recent experience with AT&T’s support.

Note to self: Do not attempt to contact support when you’re “in a mood “.

Additional note to everyone that has ever contacted support: Nine times out of ten, support is dealing with someone “in a mood“, it’s a tough job. Please try to remember that. That doesn’t mean that bad support can be dismissed, just try to imagine you’re in their shoes.  I’ve been there, done that, I will flip burgers before going back to phone support for an ISP – just sayin’

You see, I have a micro cell that was given to me by a friend since they were unable to use it.  I’ve had it for a bit, and recently decided to dig it out and see if it could improve phone usage in the house.  For the most part I have a marginally useful signal while my wife and son have marginal or no signal.  I go to set up the micro cell and, of course, get prompted to agree to some long users agreement and some statement about buying an unlimited calling for the micro cell.  I decided the best course of action was to call support (that’s why they’re available right?)and ask a simple question: Continue reading “In a mood.”

Batch file 0, Me 1

As indicated in the previous post, a simple upgrade that required no Database work has taken up time across multiple days.  I should really point out that DAY 1, DAY 2, etc is really a matter of a couple of hours per day, if that.  And as promised…


So, after a little bit of research, it turns out that a batch file interprets a comma [,] as a delimiter when passing it in.  So, when we were passing the connection string to the batch file, we needed to include the port number.  In this case let’s say DBSERVER,12345.  The batch file was splitting that and sending 12345 as the second parameter.  Easy enough fix, let’s wrap that in quotes [“]!  Well, that worked, sort of, but not really.  When you use string comparisons in your batch file that looks like

@IF "%1" == "/?" GOTO PrintHelp

Continue reading “Batch file 0, Me 1”

Batch file 1, Me 0

As with all things recalled from memory, there may be some minor embellishments.

I was recently tasked with upgrading the Sophos console.  Simple enough right?  The directions insured us that there were no needs for Database work, it was simply a matter of downloading the upgrade file, unpacking it and running the update.  Ah, simple, the way I like my software updates… But, alas, it was not to be!


Continue reading “Batch file 1, Me 0”

Windows, you complete me… 1327%

Just a short background and two images…  We received new IDs for work yesterday.  In order to pick them up, we went over to the Tech Depot.  While waiting for the IDs to be printed, I was looking at the laptops and noticed the first image, which I captured with my phone.  This morning, I received a text from one of the techs with a picture from the same laptop.  Keep it classy Windows!  Nice to know you give more than 100% on your updates!

Windows Update 590% complete
Update 590% complete
Windows Update 590% complete
Update 1327% complete

Changing language setting on facebook

There’s been a couple folks I know who use facebook and have faced the issue of having their “language” setting changed.  There doesn’t seem to be anything they did, which makes think suspicious activity and I’d probably be changing the password used for facebook. However, before you can change the password, you need to be able to read the menus, and unless you just happen to read the language it’s been changed to, you’re between a rock and a hard place.

In an effort to help those, here’s the screenshots and where you should click in order to change your language settings in facebook.

Step one : Click on “Settings”, it’s the highlighted in the following image

Facebook language settings step one

Step two : Click on “Language”, it’s the highlighted in the following image

Facebook language settings step two

Step three : Click on “Edit”, it’s the highlighted in the following image

Facebook language settings step three

Step four : Select your “Language”, from the drop down list. Luckily all the languages are localized, so you should recognize your language’s name.

Facebook language settings step four

Step five : Last, but not least, don’t forget to click “Save Changes”, the button on the left.

Facebook language settings step five

Faint praise

For my own safety and the privacy of those involved, this story may or may not have any basis in fact.  Those involved with this story have had their names changed to insure their privacy.

This morning a coworker (Bartholomew AKA Bart) had us (me and another coworker – Martin) listen to a song he and another coworker (Elizabeth AKA Beth) reworked for a project.  After listening to the song, I was duly impressed with the singing ability of Beth and said so.  Martin agreed, and continued to say that “with a little practice and the help of a voice coach” she could be really good.  I thought about what was said and I decided to point out that it could be viewed as a backhanded complement.  I continued by pointing out that if someone were to look at his code and say, “Wow, that some really nice code.  You know, with a little work and some tutoring sessions with a professor, you could be a really good.  Now how would you react to that?”.  His response was as expected, seeing the insult in what was being said, even if it started out as a compliment.

The point being that sometimes it’s best to stop at the compliment and leave off the rest of the narrative.  Normally I might now post about such things, but I saw the following story on a social media site and it made me think of the morning’s interaction and how it’s related.  That story is:

So, in a little town in Nowheresville, USA, there’s a river that’s about to flood, and needs to be quickly dammed.

The local college sends three professors: a structural engineer, a chemical engineer, and a literary critic.

The structural engineer suggests building a concrete dam to stem the river, and the mayor calls in a construction company to do the job. A week later, the dam is completed, but in a few days the river’s current becomes more intense, and the dam crumbles.

Next, the chemical engineer suggests adding a gelatin solution to the river, to solidify the whole thing. The mayor calls in a favor with a multinational chemical company, and they deliver a half ton of customized gelatinizing solution.They add it to the river near the source, and the whole river turns to gelatin. But a few days later, the current of the river becomes even stronger, and the water pressure at the source starts to break the gelatin apart

Then, out of nowhere, an awful thunderstorm appears over the town. the heavy rain starts to make the river flood.

In a last ditch attempt, the literary critic steps up to the river bank

He coughs softly, purses his lips, takes a momentary glance at his fingernails, and says “I suppose this river is… adequate.”

…and suddenly the flooding stops.

The two other professors rush to the critic’s side and ask “How the hell did you stop the river from flooding?”

And the critic replies, “Simple. I dammed it with faint praise.”

Backhanded compliments and faint praise can both have a detrimental affects on individuals.  Those that are gaining confidence and seemingly unstoppable can be brought to a stand still with such “compliments” and “praise”.  And it’s often not an intentional malicious act by the offending party, they often view it as being helpful.  So, I guess the question to ask yourself before doling out such helpful tidbits is: “How would you react if someone said something similar to you?”

The power to find what you need

As part of what I do, I often end up working in the command line in Linux.  As anyone that works in IT can tell you log files are very important.  Something that they might not mention is, they also take up a lot of space depending on the level of logging being done.  Recently I had need to free up some space for log file on the server, I didn’t want to get rid of any files, just compress the older files. Chances are I wouldn’t need them, but if I did, they would still be there.  To accomplish this, I decided to use find, a Linus command line tool that, you guessed it, finds “stuff”.  Find is useful in that the command line arguments you pass it can quickly sort through and return a very unique set of results.  Find also automatically recurses downward through the sub directories, so you get a comprehensive list, you can change that through a command line option as well.

So, the first thing I wanted to see is all files (I’m not interested in directories) in the directory designated for logging that were older than 10 days (a completely random selection of number of days, a little more than a week, less than two weeks).  That’s easy enough to do, I just enter

find -type f -mtime +10

and instantly got a whole slew of files returned.  So, let’s break down what I did, “-type f” tells it I’m looking only for file, no directories and the “-mtime +10” tell the program to only give me file that have a “last modified” date OLDER (+) that 10 days.  I notice a few files that have a .gz at the end which means they’ve already been compressed, so I don’t need them in the list.  Doing a bit of searching, I find that by adding “-not” in front of any option it return the opposite (props to  Knowing that the “-name ” option will return files based on wild card matching I add that to the mix and end up with:

find -not -name "*.gz" -type f -mtime +10

That looks better, giving me a shorter list, and NONE of the files listed end in .gz. Now the next step is to do something with those files, and this is where the, IMHO, the true power of find comes into play.  You can pass a command line argument to find that tells it to “do something” with the files it finds.  Just to make sure I’m not making any crazy mistakes, the first thing I try is something simple and non harming, like listing the full information for the file:

find . -not -name "*.gz" -type f -mtime +10 -exec ls -alh {} \;

The -exec command line argument is great in that it will “execute” everything after “-exec” up to the “\;”.  The “{}” tells it to replace the result This means you can string along several commands, although at my level, I usually just want to do one thing at a time.  I like seeing each step and, by doing one step at a time, chances are I’ll find mistakes before it’s too late.

So, this is great, I have a listing of files, but what I really want to do is compress those files.  Now that I have a means of listing the files, and the results are what I’m expecting, I can replace the “command” with what I really want to do.  Final results are:

find . -not -name "*.gz" -type f -mtime +10 -exec gzip {} \;

The sweet part of this, I can run this command on a daily, weekly or monthly basis and it won’t attempt to recompress files that have already been compressed.  It’s really a minor thing, but why try to process files that don’t need it.

I hope you’ve found this helpful, and can build off of what I’ve shown.  The man page, if you’re so inclined to read it, for find can be read here



Finding the positive

The day was Saturday, January 23, 2016.  It was the day after “snowmageddon 2016” (I find it interesting how people hype of a little bit of snowfall, but that’s a different topic all together).  The snow had mostly stopped, so I decided it was time to get out the tractor and clear the driveway, little did I imagine such a simple task would turn into such an adventure.

I went outside to start the tractor, swapped the brush hog for the back blade so I could clear the snow off the driveway. I start working and one of the tires must have been low because it came completely off the rim.

20160123_121546Not to be defeated (and because I was relatively close to the garage) I get the air hose out… only to fine out it will reach to within about 12 inches of the tire.

20160123_122309Bound not to be defeated, I reconfigure things to add a few inches to the hose! And wouldn’t ya know, I couldn’t get the tire to take air. So, out comes the air wrench and off comes the wheel. Thanks to a few things taught to me growing up, I know a few tricks when it comes to getting tires to take air (thanks Dad!). I finally get the tire to take air just in time for the belt to start slipping on the air compressor (guess it’s time to buy a new belt for the air compressor). Luckily, I have enough air left in the air compressor to fully air up the tire.  Tire aired up and ready to go, I start rolling it back out to the tractor to be greeted by the neighbor and his son on their four wheelers clearing my driveway.

Moral of the story? Well, from my perspective, it’s simply this: if you look for defeat and bad times you can find them easily enough, but if you do that, you can miss the good. In this case, having great neighbors that jump in and help without asking and the fact that the tractor is back together. All that other stuff, it’s simply noise.

Really? And you shared that?

I tend to lurk more than anything when it comes to social media, when compared to others, it seems as if I don’t even exist.  I don’t take pictures of every meal I eat, I don’t share every time I go to the grocery store, and I certainly don’t share every bit of drama.

Am I that private of an individual?  No, not really, I just don’t feel that everyone needs or wants to know my every movement.  I’m not a superstar, I’m just me.  Which brings me to the point of this post, I see people sharing things and, like the title says, I think “Really? And you shared that?”

FB_IMG_1453174789172For example, someone shared this image.  True, in the most basic of sense.  February 2016 will only come once in a lifetime, February 2, 2016 will only happen once in a lifetime as well, unless of course you happen to be in the movie “Groundhog day”.  What I really take issue with is the “Because” statement.  Let’s just think about this for a minute. February has 28 days three out of four years, 28 days is four weeks, so really every single February has 4 Sundays, 4 Monday, etc.  In fact, one out of four has an extra day of the week, this year it happens to be a Monday.  And it only happens every 823 years?  Uhm.. February 1988 had 2 Mondays!  Yeah, it really bothered me that much that I went in search of the previous occurrence.  And, just in case you’re wondering, the next one is February 2044.  Can you tell I’m annoyed by this?

Furthermore, it’s like the old question, what month has 28 days?  Answer:  All of them. Point being, when you share something like this without any thought, you’re just adding noise, you’re not adding to the conversation.  And it’s jabbering baby talk noises that makes me wonder if you even processed anything before clicking on that shiny little “share” button.  I’m not saying don’t share, that’s how we find interesting things, but I am saying think a little bit before clicking that button, just take a second and process what it is that you’re sharing.  Be socially aware, be responsible, take responsibility for what you’re saying (sharing) because at some point you’ll become that person that everyone ignores because you’re not adding to the conversation.