Monday, December 23, 2013

The Trough Of Disillusionment

After eleven days with Glass I've decided to return it. It is very useful for someone living in a major metropolitan area but that's just not me.

Better In The City

I live in the suburbs on a mostly wooded lot with nothing around me and work in another suburb. In the past eleven days I've been in the city, Providence, a few times.  While in the city I saw Field Trip pop up with some cool facts about surrounding buildings.  Glass also showed me a movie were playing in the theater next to where I was eating dinner, a concert at a music venue down the street, and restaurants in the area.  All very targeted, local stuff pulling from a variety of sources.

Concerns About Glass

Some of my activities that I might record/share, like hiking or working on the plow truck, I'm worried would damage Glass. While cooking with Glass I was worried about grease splatter and how to clean it up.  The one thing Glass doesn't do is display my calendar; not sure if a bug, feature or misconfiguration on my part.

What To Do With Glass

I created some IFTTT recipes to push data to Glass but mostly minor stuff, like weather alerts. The handsfree is really nice, especially for navigation, and that's the main feature of Glass. I took lots of photos and videos to share with family and friends, recorded a recipe, made phone calls, sent messages and did video Hangouts.  While I was cooking I found the camera's angle to be a bit awkward but having my hands free was great.

Throughout the day I had many, small interactions via email, SMS, twitter, all through Glass. It was convenient to reply quickly and not change my main focus.  Only important email came directly to Glass and wasn't distracting.

I've thought of ways to use Glass, let other people try Glass, bought contact lenses just to wear Glass and worn Glass every single day for eleven days, taking it off only to sleep and charge.

It Really Is All About Money

For me personally, $1,500 is nearly 1/3rd of a family summer vacation. I would gladly accept Glass if someone bought me one or if Google gave it away. Glass is awesome technology but for me personally it's not $1,500 awesome. Google will probably compensate Glass Explorers in some way for the $1,500 price tag.  There will probably be one or two more swap outs or some other perk.  Unfortunately Google guarantees nothing.

Bottom line: Get Glass if you have $1,500 of disposable income and want to treat yourself to some cool technology.

Thursday, December 12, 2013

Google Glass, First Thoughts

"I got the invite. OMG."

That sums up my first thought about Glass. Then came the sticker shock, the despair, the discussion with my wife, the angst, rapid discussion with many friends and finally, the purchase. If you want to read about what it's like just skip the next couple paragraphs.

Deciding To Buy Glass

I've always been fascinated with new technology and not just hardware. I signed up for Google Apps close to when it first went beta and the Chromebook beta. I turned on every experimental feature in Google Apps. I especially liked the ones that came with warnings, "This may break things. Use this escape URL if you can't get back in to Gmail." When Glass came along it was just a matter of time before I signed up.

After the invite I couldn't believe the price. At $1,500 this is the upper bounds of my discretionary spending. Before buying I thought about how I use it and how it would make my life any easier. I'm still thinking about it and I'm not sure the price is worth it.

Seeing the price for the first time was like a bucket of cold water thrown at me, it really tempered my enthusiasm to purchase Glass. My wife was not amused at this latest whim of mine. We could really use a lot of things (like a vacation) and Glass is not in her mind.

I was really torn whether I should buy it. On the one hand I love trying out new stuff but it's always been free or cheap.  This was (still is) an inner conflict between what I was willing to pay and new technology.

I talked to lots of people about it; family, friends, co-workers. Everything revolved around price. A typical conversation would run something like this:
Me: "I got invited to buy Google Glass"
Friend: "Really? Cool! Do it!"
Me: "It's $1,500"
Friend: "Oh. :("

I had seven days to purchase when I got the invite and it took four days to decide.

So What's It Like?

It's like nothing I've ever tried. I'm still not sure what to do with it. Take pictures, share them on Twitter or with my G+ Circles. That's OK but I'd like to do more. I'm a huge Evernote user and I use IFTTT so I'm eager to check out the apps for Glass.

It has made human interaction more awkward. "You're not looking at me", says my wife, while talking to her. Get a message from wife while at dinner, fumble with Glass to read it. Keep nodding head to shut the screen off and I have no idea what I look like doing that.

I was worried people would "self censor", that in the face of a device that can record everything you say and do without much notice people would act a bit differently but I haven't run into that yet.

I'm still not sure what to make of it. I thought writing about it would help but I still haven't decided: is this going to improve my life or is it just a toy?

Monday, December 9, 2013

Extracting Inventory From HP C7000


I was recently tasked with obtaining an inventory report off our HP C7000 chassis. Warranty renewal time was here and the VAR needed our equipment's serial numbers to generate a quote from HP. Perform a quick Google for this problem and you'll see there is no "easy button". HP does not have an out of the box inventory reporting tool for the C7000.  My solution uses the "show all" command, several regular expressions and the lovely Notepad++ to generate a list of equipment and serial numbers.

Obtain HP Inventory Information

First grab the inventory using the "show all" command.  HP's documentation provides several ways to do this. I chose to grab the "show all" report from the Onboard Administrator WebUI. The report can be 10 - 20,000 lines long so be patient and let the page load completely.  Copy and paste the report into Notepad++.

Mark Equipment Types With Serial Numbers

You can copy and paste reports from multiple chassis into Notepad++. Once you have all your inventory reports run the following Search/Replace. Set your "Search Mode" to "Regular expression".  Find each of the following and replace.

Find what:
^.*(Onboard Administrator [1-2].*)\r\n.*\r\n.*\r\n.*(Serial.*\r\n)
^.*(Interconnect [0-9]).*\r\n.*\r\n.*\r\n.*(Serial.*\r\n)
^.*(Power Supply.*[0-9].*)\r\n.*\r\n.*(Serial.*\r\n)
^.*(Enclosure Type.*)\r\n.*\r\n.*(Serial.*\r\n)
^.*(Blade #[0-9].*)\r\n.*(Serial.*\r\n)
^.*(Fibre Channel.*)\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*(Serial.*\r\n)

Replace with:

This will find the equipment and add "INVENTORY" to all the lines we want extract.  I used the "Mark" feature to extract the inventory report from the remaining text.  In the Search/Replace window select the "Mark" tab, check "Bookmark line" and set "Search Mode" to "Regular expression". Set "Find what:" to "^INVENTORY".

Extract Marked Text

All of the lines we want are now "Bookmarked". To remove the extraneous text select "Search" -> "Bookmarks" -> "Remove Unmarked Lines". The resulting text should look like this:
INVENTORY Enclosure Type: BladeSystem c7000 Enclosure G2 Serial Number: yourSerialNumber
INVENTORY Onboard Administrator 1 Serial Number: yourSerialNumber
INVENTORY Interconnect 1 Serial Number: yourSerialNumber
INVENTORY Power Supply  1 Serial Number: yourSerialNumber
INVENTORY Blade #1 Information: Serial Number: yourSerialNumber

Lastly, clean up the report so we can send it via email. Run a Search/Replace for "^INVENTORY " and replace with nothing. This is a suitable report that can be sent to a VAR or for inventory purposes.
Enclosure Type: BladeSystem c7000 Enclosure G2 Serial Number: yourSerialNumber
Onboard Administrator 1 Serial Number: yourSerialNumber
Interconnect 1 Serial Number: yourSerialNumber
Power Supply  1 Serial Number: yourSerialNumber
Blade #1 Information: Serial Number: yourSerialNumber


You can inventory your C7000 in a nicely formatted report suitable for import into a spreadsheet or email even though HP does not have an out of the box solution. The regular expressions could be altered to include model numbers or add commas to make spreadsheet import easier. I even see a potential way to automate this via a shell script on Linux.