RIP Fitbit

I think I’ve come to the end of my Fitbit adventures for a while. My 3rd Fitbit finally bit the dust. I originally got one when we had kicked open the doors of our new data center and wanted to see how much I was walking around the 1/4 mile long building. To sum it up, its a lot. On average, I was between 5-7 miles a day without even thinking about it.

The good thing about the Fitbit was that it kept me in line to always hit my goal of 10K steps. It made you want to get that little buzz on the wrist knowing that you had accomplished something. But, it also came at a cost. I would find myself going for a walk in the morning when changing up the routine would have been just as effective. Yoga, lifting weights, something else all together. I’m not saying having this goal is a bad thing, its definitely good. But after 2 years, I think I’m ready for a break.

My Fitbit broke in the same fashion as last year around this time. All of a sudden I could see condensation on the screen. Then the strap starting coming apart and it finally ended when I was sitting on the couch and the Fitbit was marking me in and out of a workout ever 1.5 seconds. Then, no more.

RIP Fitbit. You were a good companion but I need to try something new.

When puppet leaves an un-tidy mess

A while back, I had written a quick and dirty shell script to take a simple tarball of the /etc directory of my linux machines and copy it to an FTP server. Then, to make sure that the FTP directory didn’t get out of hand, I had written the following in my puppet config for that server that would clean everything up with the use of the tidy resource type. The code looked like this:

  tidy { "/srv/ftp/mrbackup":
    path    => "/srv/ftp/mrbackup/",
    age     => "30d",
    recurse => true,
  }

Nothing really fancy there and I put this in day 1 so I figured everything would run and the tidy command is pretty straight forward.

Unfortunately, when I checked the machine after it had been recieving the backup files for several months, I found something a bit disturbing…Thousands of files!!! WTF!

The documentation seemed pretty straight forward and I was using this command in other parts of my manifests that worked as expected.

The fix!

The key was at the very end of the documention in the type section.

type

Set the mechanism for determining age. Default: atime.

Valid values are atime, mtime, ctime.

As you will note, the default is atime. Because the files are being FTP’d in, they are never being read by the system, simply written. So if you ran a command like find . -type f -atime +30, you would get zero results. My fix is pretty simple, change this to mtime and suddenly I have a lot less files on the system. The new code now looks like this:

  tidy { "/srv/ftp/mrbackup":
    path    => "/srv/ftp/mrbackup/",
    age     => "30d",
    backup  => false,
    recurse => true,
    type    => "mtime",
  }

Encryption

Looks like the government is at it again now that Apple has come out stating that they are not going to roll over and provide a master key to their iPhone software. Really NSA? How about the part where the terrorist didn’t use encryption in these attacks.

European media outlets are reporting that the location of a raid conducted on a suspected safe house Wednesday morning was extracted from a cellphone, apparently belonging to one of the attackers, found in the trash outside the Bataclan concert hall massacre. Le Monde reported that investigators were able to access the data on the phone, including a detailed map of the concert hall and an SMS messaging saying “we’re off; we’re starting.” Police were also able to trace the phone’s movements.

Why this matters

I know that there are a lot of people out there that think our government can do no wrong and national security is the most important thing that they can do. But there is a lawful way in which to handle this. The 4th amendment to the constitution should protect us from the massive surveillance systems that the government has put in place since 9/11. Yes, it was horrible what happened on that day and I’m still as pissed about it now as I was then. But I’m more upset at the eroding of our rights as politicians and government officials put in more programs to watch our electronic communications en mass.

Several companies have either released statements or made comments on the current state of encryption and working with the government in these matters. My company has stated this:

We condemn terrorism and have total solidarity with victims of terror. Those who seek to praise, promote, or plan terrorist acts have no place on our services. We also appreciate the difficult and essential work of law enforcement to keep people safe. When we receive lawful requests from these authorities we comply. However, we will continue to fight aggressively against requirements for companies to weaken the security of their systems. These demands would create a chilling precedent and obstruct companies’ efforts to secure their products

Tim Cook and Apple have their letter which ends with:

Opposing this order is not something we take lightly. We feel we must speak up in the face of what we see as an overreach by the U.S. government.

We are challenging the FBI’s demands with the deepest respect for American democracy and a love of our country. We believe it would be in the best interest of everyone to step back and consider the implications.

While we believe the FBI’s intentions are good, it would be wrong for the government to force us to build a backdoor into our products. And ultimately, we fear that this demand would undermine the very freedoms and liberty our government is meant to protect.

So encrypt your backups, use https when ever possible. Set really difficult passwords and use a password manager like LastPass so you don’t forget them. Remember folks, just because you have nothing to hide, doesn’t mean you shouldn’t care about this subject. One person in particular that has brought more to light on the intrusions into our lives put it best:

If you think privacy is unimportant for you because you have nothing to hide, you might as well say free speech is unimportant for you because you have nothing useful to say.

–Edward Snowden

Gotta Jump

Steve Harvey nails it. Eventually, you’re going to have to jump! I jumped in a direction I wasn’t expecting and its been more beneficial to my family and career than I would have ever imagined.

You Gotta Jump To Be Successful

After I tape an episode at Family Feud I spend a few more minutes with the audience. I talk about jumping.

Posted by Steve Harvey on Wednesday, January 13, 2016

Who took a chance on you?

As my team locally and at other locations continues to grow, I have found myself thinking back to an article by Bijan Sibet talking about who took a chance on you. Each person I interview has different strengths and skills. Sometimes you go in looking for someone that may be really strong in one of those particular skills. But often times, you only get a glimpse of what they can really do in the 45-60 minutes that you have with them. Sometimes you know right away that there is something special about this person, sometimes you only have a hunch, but aren’t sure.

It makes me think back to someone that saw something in me when I certainly didn’t see it. That person was Jenny Simmons, Bartlett Hall Coordinator at the University of Northern Iowa. Jenny was in charge of running the residence hall, making sure the monkeys didn’t go completely nuts and finding and hiring resident assistants (RA) to help in all areas of a residents time at UNI.

I’ll be perfectly honest, going into college and even after my first year there, I had zero ambitions of being an RA. My freshman year RA was ok, not the greatest, but ok. I didn’t see much fun in the job. It wasn’t until my second year when I started to see some friends become RAs and I had an RA that was both having fun while keeping the train from coming off the rails. Because let’s face it, there is a lot to college that happens outside of the classroom.

About the time of the hiring orientation and interviewing process I would say one of the more significant events happened in my young life. My long term girlfriend at the time broke it off with me. We had been together 4+ years but she attended a different school and the distance got in the way. Yes, young love comes and goes but when you’re young, things like this do amazingly stupid things to your mind and ego. Needless to say, I was a bit of a mess over the whole thing. So I then did what any sane and rational person would do in a situation like this, I would put myself through relentless and grueling self reflective interviews of coarse.

What was I thinking?!?

The process basically works like this. You submit an application, you have a bunch of pre-interviews with various RAs and Hall coordinators and then you go into the halls to have MUCH more in depth interviews. As in, expect to spend 2-3 hours getting interviewed by the current RA staff of that hall. And not just one residence hall, sometimes multiple. I interviewed at 4 different halls. After all that, the hall coordinators have a 1 on 1 interview with you before they make their selections in what is roughly equivalent to a NFL draft day. I’m serious, trades are made, deals are done.

It was during this time that I probably was the most honest and most raw with my answers. If I blew an interview, who cares, move on. It was honestly pretty refreshing to remove the filter.

I’m not sure what Jenny saw in me during those interviews. Maybe it was a sense of humor. Maybe it was my complete lack of bullshit answers. I really don’t know for sure. But what I can tell you is this, it was one of the best jobs I ever had. I met some amazing people along the way both residents and fellow RAs. Some of which are my closest friends today. This is where I met my wife as she was on staff with me. And she will tell you, she was pretty sure we weren’t going to get along.

I have other people that took a chance on me, who took that chance on you?