Friday, June 6, 2014

Just enough SQL to be dangerous

Let's assume you have at least a clue what SQL is and what it is used for. I want to look at what is between a clue and knowing enough to be dangerous (aka nearly enough to be useful). So we will look at basic querying including joins and then... ok honestly I have no plan beyond that, but I need the writing practice, so let's have at it anyway!

Wednesday, April 23, 2014

A crazy idea that actually seems to have worked.

Back story: Bath tub was draining really slow. We tried the Drano and Liquid Plumber and all that, still drained slow. I ended up opening the trap and snaking the line 9 feet down. Pulled out all the usual hair and black sludge (did you know all the soaps and shampoos combine to make the nastiest, blacked sludge you'll ever see?) and the drain seemed to run again.

Until recently...

Sunday, April 13, 2014

Water Birth?

My wife originally wanted to do a water birth with our second baby but was unable to do so due to preterm birth. So with the third baby on the way, she said she still wanted to try for a water birth. Instead of brushing it off as just some weird hippie voodoo akin to acupuncture and reflexology, I made myself give it some serious thought.

Thursday, January 23, 2014

Running Wireshark as root on linux workstation

So the rare occasion that I needed Wireshark popped up again. And again, it needs to run as root to have access to the network interfaces to do the live packet capture. Well obviously I'm not running as root on my workstation and I don't really want to have to start Wireshark from the command line every single time. I run Cinnamon for a reason: I want a quick and easy, click-tasitc workstation. Don't get me wrong, I love my CLI, but there is a time and place for it, GUI apps ought to be started from the GUI.

Tuesday, November 26, 2013

"Hello Java", because one more just can't hurt

In your favorite editor, create file: HelloJava.java with the following contents:


class HelloJava{
        public static void main(String[] args){
                System.out.println("Hello Java");
        }

}

In the same directory as the file you just created, run the following commands:
>javac HelloJava.java
>java HelloJava

Monday, October 7, 2013

Composting is for hippies

Composting is for hippies ... right?
I mean who wants to deal with that stench overtaking your yard and have to do all that work to maintain it?
Well, here's the thing: I've been keeping a compost in the back yard for perhaps close to 10 years now, and it may not be quite like you think.

Wednesday, October 2, 2013

My gun makes me feel like a big man...

I've heard it suggested and questioned many times, many ways, but it all boils down to the suggestion that people carry guns to feel stronger. So I thought I'd address the question: does my gun make me feel like a big strong man?


Sunday, August 18, 2013

The Crust of Life

Teach your kids how to lose. There is nothing wrong with losing or failing. Every failure is a learning opportunity, ignoring that opportunity is the real failure.
 

Don't lie to them about where chicken nuggets come from.
Animals die for us (and other animals) to eat. Someday we will die too and feed the earth which will grow more plants to feed more chickens for someone else to eat. There is nothing sad or depressing about the circle of life, it's how each of us got here.

Don't give out awards for participating.

This is a little redundant with the first point, but goes further. Rewarding someone for their effort alone is teaching them that outcome doesn't matter. If people know they will get the same reward no matter the outcome, eventually we will just sit and wait for the reward.
 

And don't ever cut the crust off their sandwiches. Life has crusty edges, teach your children how to deal with it.
Personally, I try to get a proportional amount of crust in each bite so as to evenly distribute it. This way you always have some good stuff to help get through the crust. I've found this applies equally well to life as to sandwiches.

Saturday, August 17, 2013

Smokers etiquette

(Coming from a former daily smoker for about 13 years who has regained a sense of smell)
* Don't smoke right next to a high traffic door(way).
* When possible, stand down wind. 10 feet down wind is better than 20 feet up wind.
* Don't smoke just before going into a meeting. (Applies to meeting someone indoors at close quarters for personal or business reasons)
* Wash your hands after smoking. This mostly applies to the work place when working in close proximity to other people, especially if you shake hands.
* Don't throw your butts on the ground. Seriously, do you need to be told this? Cigarette filters are plastic, not cotton. They are not biodegradable. Put it out and throw it in the trash, or smoke filter-less cigarettes you filthy pansy.* Don't keep partially smoked cigarettes in your pocket. Most smokers are unaware of the hellish stench that seeps into and through you clothes when you put that half smoked cigarette back in your pack. Right through the foil, paper pack, your pocket, everything. If you are so pressed for time, desperate for nicotine, and cheap that you need to refry your smokes, you've got more than one problem, figure your shit out and don't carry it around. Seriously, it stinks. I promise it can count against you in a job interview.
I still enjoy a smoke here and there, but it's a terrible daily habit to have, and when I'm not smoking, I don't want to suck on your stink. Have some consideration Butt-Face.