May 022013
 

I always appreciate the people who stand there and yell at me to push myself a little further when im knee deep in a tough wod. Today was no exception. It was a heavy one and I was already pretty tired by the time class rolled around today.

One little voice that stood out tonight though was my oldest son. I was almost done and was really struggling and all of the sudden I heard “Cmon daddy!” over everyone else and the blasting music. That was awesome. I didn’t suddenly have some burst of energy or anything but I did have a feeling or a thought that I knew I was doing something good and my son was watching me. The pain and the sweat and the work and the struggle of the last six months suddenly made sense…im setting an example for my kids every time they go to the gym with me. I hope the eating and exercise habits that they see me doing sticks with them in the coming years and for the rest of their life. Hearing his little 11 year old voice over everyone was awesome. I really appreciate all those who yell at me and the verbal pats on the back from our coaches but nothing is as gratifying as having your son yelling for you and then give you five when you are done and HIM telling ME that I did a good job. That was the most awesome WOD and one I will never forget.

Mar 082013
 

Three years ago when I was 35 my life was flipped upside down. I tripped while stepping up onto a curb and fell walking into my office one morning. I knew something was wrong because over the past year or so my leg just wasn’t feeling right. It ached all the time and hurt to run on. I could barely lift it enough to put on my own socks and shoes. I finally went to the doctor and after a few x-rays he gave me the news. I needed a new hip. I had blown out my hip and dislocated it wrestling in high school and it never reset correctly. Over the years I developed arthritis and bone spurs and my hip joint was deteriorating quickly. I opted for the surgery to go ahead and hopefully have some level of active life while I was still young.


Fast forward a year and a half…I had ballooned up to a hefty 240 pounds. I was told that I should not run. I couldn’t keep a steady schedule of going to the gym. I had no one pushing me to lose weight except myself every time I looked in the mirror. I finally had it and in April of 2011, I started working out at home doing what I called “living room aerobics”. I went through 2 rounds of P90X and 2 rounds of Insanity at home for almost a year, alone. After I had done that I was down to about 200 pounds with the same waist size and I was really struggling to stay that low no matter how much I dieted and “worked out”. The problem was that I still felt fat and honestly did not look a whole lot different than when I started. I still felt miserable also and eventually just stopped doing anything all together for about 3 or 4 months and the weight was coming back.


I eventually heard about this thing called Crossfit. I checked out the website and was confused by how short the workouts were and how these people were in this amazing shape. The abbreviations and lingo was hard to nail down at first. It was a totally new approach to working out from what I had been used to for so long. After a few months of putting it off a friend of mine finally talked me into stopping by Crossfit Pulse. I decided that I wasn’t going to just go for a trial workout and see if I liked it in order to give myself a chance to back out. I walked in, signed up and came back the very next day for my first WOD on October 8th, 2012. That was the day that everything changed.


I was nervous that first day. I had no idea what I was about to do or worse yet, what I wouldn’t be able to do. I couldn’t do a pullup. I had no idea how to do a double under. The RX weight of the first workout was so far beyond what I could lift. I stood in the back of the group as the coach went over the WOD. When he was done he called me over and said he would show me a few modifications to help me through this.

3-2-1…Go…It was on. I remember that about half way through I felt like my heart was about to jump out of my chest and run out of the gym. I was gassed. My mind told me to quit but there was something else telling me to keep going. I could hear the coach yelling over the music and from across the room, “Good job Seth!”. That little bit of encouragement was all I needed to hear to make it through. I decided right then that I was finishing the workout and I could worry about dying when I was done.

When I was done, I was soaked. Every bit of clothing I had on was completely wet with sweat. I felt awesome. I knew I had done something that my body was not used to and I was in some pain but I was already pumped about coming back the next time. The surprising part was that the whole workout was only 11 minutes and 5 seconds long. It would take me a full 45 minutes of an Insanity workout to feel like this. I knew right then I was going to like this and it was going to work.


At first I only went twice a week for the first two months. At the end of the first month I was already seeing results. I weighed before I started and took a few pics at home. When I started I weighed right at 200 pounds. Oddly enough the very next week my scale died. I had no option but to ignore what my “number” was according to some scale. For 6 months I didn’t weigh again. I focused on eating right and clean. I adopted the Paleo way of eating and was following it about 90% of the time. I still had peanut butter and milk and enjoyed a good cheat meal once a week. I honestly never felt like I was missing out on anything and I was never really hungry or felt like I was about to cave and make a run to Taco Bell and gorge myself.


After the first two months went by I wanted to step it up a bit. I started going three times a week. With my busy schedule of balancing work and kids and life in general, this was a good amount for me. I had plenty of time to let my body rest between workouts. I just made sure that when I walked in that gym that I was about to give everything I had. Yes, I hurt for a few days after every workout, but it was a good pain and let me know that I was improving myself. There were more than just physical changes happening. I felt happier. I used to have chronic headaches and I have not had one in 6 months. I was sleeping better. My blood pressure had come down significantly and is now at a normal level along with my cholesterol. I would instantly attribute this to the fact that I do crossfit and follow a clean eating philosophy. I felt like the goals I had set for myself were within reach. When I met one I set another and another. This Crossfit thing was working.


Since I have been going to Pulse I have made some great friends. I have learned a ton from the coaches. I love feeling that verbal pat on the back at the end of each workout when everybody is about to pass out but can still manage to tell each other “good job”. I can honestly say that finding and sticking with Crossfit has been a life changer. I have not been happier or felt better about being active and healthy. I actually look forward to going to the gym and sweating like crazy and feeling uncomfortable for a little bit. I do it because I know its working and its good for me. Its fun and my friends are all there. I wouldn’t want to go anywhere else to workout.

 Posted by at 4:36 PM
Oct 262012
 

I had to walk through all of this to get setup for my Mongo Developer and Administrator certification classes. I figured I might help you out and put it all together instead of you having to hunt all over the place for this info.

Lets get started…

 

Step 1: Install MongoDB

To install MongoDB on your fedora system, issue the following commands in your terminal:

su -

Lets make sure that mongo hasnt already been installed while you were playing around with it…

yum -y remove libmongodb mongodb mongodb-server

Setup the mongodb repo…

vi /etc/yum.repos.d/10gen.repo

For 32 Bit, place the following code on that file:

http://gist.github.com/3949816#file_32bit.repo

and for 64 Bit this one:

http://gist.github.com/3949816#file_64bit.repo

Installation…
Run these two commands.

yum install mongo-10gen mongo-10gen-server
mongod -f /etc/mongod.conf

Then open your Mongo Shell in terminal (to ensure it’s functional) with:

mongo

and close it by pressing Ctrl+C; Then add the mongo service to the system’s startup with:

chkconfig --levels 235 mongod on

Reboot and reopen the Mongo Shell with the command:

mongod -f /etc/mongod.conf && mongo

Close it with Ctrl+C and then go to:
http://localhost:27017/
In your web browser, you should see something like this:

“You are trying to access MongoDB on the native driver port. For http diagnostic access, add 1000 to the port number”

If you see this then you have it installed and setup correctly.

Step2. Installing Python, Pymongo, and Python-Bottle

First a little background…

Python – Python is a general-purpose, interpreted high-level programming language whose design philosophy emphasizes code readability. Its syntax is said to be clear and expressive.Python has a large and comprehensive standard library. More info can be found here: http://www.python.org/

Pymongo – PyMongo is a Python distribution containing tools for working with MongoDB, and is the recommended way to work with MongoDB from Python. More info can be found here: http://api.mongodb.org/python/current/

Bottle – Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library. More info is here: http://bottlepy.org/docs/dev/

If you haven’t already you need to install the EPEL repo for Centos 6

Check to see if you already have it installed or not…

yum repolist

You will see something similar to this:

repo id      repo name              status
base         CentOS-6 - Base        6,294
extras       CentOS-6 - Extras      4
updates      CentOS-6 - Updates     830
repolist:                           7,128

Since you dont see it above you need to grab the package…
http://mirror.us.leaseweb.net/epel/6/i386/repoview/epel-release.html

-OR-

wget "http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-7.noarch.rpm"

Note… the version number in the rpm name…if you are looking at this very late after the pub date of this post then you likely need to grab a more current version. Just follow the link above and you should see it.

do this next to test the rpm…

rpm -ivh epel-release-6-5.noarch.rpm --test

You will get back a NO KEY message.

You now need to download and install the key from FedoraProject and install on your system…

wget https://fedoraproject.org/static/0608B895.txt
mv 0608B895.txt /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Verify that the key got installed successfully…

rpm -qa gpg*
gpg-pubkey-0608b895-4bd22942

Now install the epel-release-6-6.noarch package, which will enable EPEL repository on your system…

rpm -ivh epel-release-6-5.noarch.rpm

Now verify that the EPEL repo is working correctly…

yum repolist

You should see a line that looks similar to this:

epel      Extra Packages for Enterprise Linux 6 - x86_64      7,345

Now lets get Python, Pymongo and Bottle setup…

Pretty simple and straight forward…

sudo yum -y install python python-setuptools python-setuptools-devel
sudo yum -y install python-bson pymongo pymongo-gridfs

To install bottle you may need to install PIP first…
You can do this using curl and python…

curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python

Then install bottle…

pip install bottle

 

First WOD

 Crossfit, Sports  Comments Off
Oct 082012
 

Today was my first official WOD (workout of the day)…

Group warmup

Strength:

Front Squats 5 X 3

WOD:

Rounds: 5 times through for time

Reps per round: 3 – 6 – 9 – 12 – 15

Thrusters

Pull-Ups

Ab-Mat Situps

 

Its hard to see above but I finished in 11:05. I was in the last class of the day. I was pretty proud of my time…and the fact that I even finished. :)

Crossfit Day 2

 Crossfit  Comments Off
Oct 052012
 

Yesterday was day 2 of Crossfit for me. Im still doing the instructional classes which I have 4 more to do. Starting Monday though I can start doing the actual daily WOD (workout of the day). I did a mini WOD after the class last night and it was pretty fun. i completed it in 4 minutes flat and that was after i messed up and got a “incomplete” rep a couple of times and had to repeat them.

MINI WOD – 4 rounds for time

10 AbMat situps
10 air squats
5 Push Press (I went light and did 95 pounds)

Time: 4:00

Crossfit Day 1

 Crossfit  Comments Off
Oct 032012
 

I started Crossfit yesterday. So far its not so bad. I have to take 6 classes that are foundational classes which teach you the basic moves. I actually re-learned how to squat yesterday. Apparently all these years I have been cocking my knee out to the side a little and never realized it. In all I maybe did 100 “air” squats. My legs are barely even sore today. I got there a few minutes early though and watched the end of the previous class which was a regular class. By the end those guys were laying on the ground barely able to move. I pretty much go all out when im in the gym or doing some exercise like Crossfit. Im slow to get up to speed but once Im moving im alike a freight train and im not stopping until im just completely spent. This is the main reason I think Crossfit is going to be a good fit for me…they encourage this type of mentality and work ethic.

Tomorrow I have my second foundation class so ill try and give a quick update after that.

Just for record keeping my weight at the start of doing Crossfit before I had even stepped foot in the gym was a dead even 200 pounds. Not sure about the boy fat percentage and im not super concerned with that right now. Im mainly going at this to develop strength and endurance and ill worry about trimming down once I get a little deeper into this hole. I did take before pictures so ill post those up a little later in about 60 days or so when I plan on taking some more to have for comparison.

Here is a link to the gym im going to and a quick pic…

 

ORA-12162

 Computer Nerdery, Oracle  Comments Off
Sep 272012
 

ORA-12162 "TNS:net service name is incorrectly specified" results from improperly setting your ORACLE_SID value.

In Linux, these commands sets ORACLE_HOME and $ORACLE_SID as follows:

ORACLE_HOME=/u01/oracle; export ORACLE_HOME

ORACLE_SID=asdb; export ORACLE_SID

To set these values permanently do this:

As Oracle user…
vi ~/.bash_profile
Add the following at the bottom of the file or append what you have. Paths might need to be altered to match your systm…


PATH=$PATH:$HOME/bin:$ORACLE_HOME:$ORACLE_BIN

export PATH

umask 022
export ORACLE_BASE=/opt/Oracle/app
export ORACLE_BIN=/opt/Oracle/app/product/11.2.0/dbhome_1/bin
export ORACLE_HOME=/opt/Oracle/app/product/11.2.0/dbhome_1/
export ORACLE_UNQNAME=orcl
export ORACLE_SID=orcl

Sep 272012
 

Common mistake when installing Oracle database is to not have all of your variables set correctly in your .bash_profile. If you come across this error when you try to start up the EMCTL console then here is what you do:
[oracle@localhost bin]$ emctl start dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.

Do:
vi ~/.bash_profile
Add this line:
export ORACLE_UNQNAME=orcl

Sep 272012
 

First you will need to download the JDK in PM format from here.

Change to your root user…


su -i

Install the package…


JRE 32-bit
rpm -Uvh /path/to/binary/jre-7u7-linux-i586.rpm

Install Sun/Oracle JDK java, javaws, libjavaplugin.so (for Firefox/Mozilla) and javac with alternatives –install command


-java
alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 20000
-javaws
alternatives --install /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws 20000

-Java Browser (Mozilla) Plugin 32-bit
alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/latest/jre/lib/i386/libnpjp2.so 20000

-Java Browser (Mozilla) Plugin 64-bit
alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/latest/jre/lib/amd64/libnpjp2.so 20000

-Install javac only if you installed JDK (Java Development Kit) package
alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 20000
alternatives --install /usr/bin/jar jar /usr/java/latest/bin/jar 20000

Check current java, javac, javaws and libjavaplugin.so versions


java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b04)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)

javaws
Java(TM) Web Start 10.0.0.4-fcs
[...]

javac -version
javac 1.7.0_07

Sep 252012
 

1. Install some packages

yum -y install binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel gcc gcc-c++ libaio libaio-devel libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel

2. Edit Kernel parameter.

# vi /etc/sysctl.conf
# comment out
#net.bridge.bridge-nf-call-ip6tables = 0
#net.bridge.bridge-nf-call-iptables = 0
#net.bridge.bridge-nf-call-arptables = 0

# add at the last line
net.ipv4.ip_local_port_range = 9000 65500
fs.file-max = 6815744
kernel.shmall = 10523004
kernel.shmmax = 6465333657
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_max=1048576
fs.aio-max-nr = 1048576

# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.ip_local_port_range = 9000 65500
fs.file-max = 65536
kernel.shmall = 10523004
kernel.shmmax = 6465333657
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576

3. Create a user for Oracle.


groupadd -g 200 oinstall
groupadd -g 201 dba
useradd -u 440 -g oinstall -G dba -d /usr/oracle oracle

vi /etc/pam.d/login
near line 14: add
session required pam_limits.so


vi /etc/security/limits.conf
# add at the last line
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536


vi /etc/profile
# add at the last line

if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

4.  Switch to a user “Oracle” and configure some settings.

chmod 755 /usr/oracle
mkdir /usr/oracle/app
chmod 775 /usr/oracle/app
mkdir /usr/oracle/oradata
chmod 775 /usr/oracle/oradata

vi ~/.bash_profile
# add at the last line
umask 022
export ORACLE_BASE=/usr/oracle/app

$ mkdir tmp # create a temporary dir for installation