Password Recovery

Once again you find yourself in the familiar situation of having to access something but not having the authentication details to do so. In this case it’s the product documentation system. Everything had been going so well with your latest product release. Developers had signed off on it, testers were ok, and the only sticking point was updating the release notes in the documentation.

The guy who normally updates the documentation is no longer working for the company. Your other colleague with his own login is travelling and is in a different timezone. While the person who was responsible for the original install is long gone. IT know nothing about this system and you have to update it today.

What to do. What to do.

Read more »

Purple Peeps

Purple Marshmallow Chicks

Kortrijk was cold

Leie River - Kortrijk - Belgium

Let me check in the back…

Let me check in the back – San Jose Flea Market

Ended up tone mapping this photo in an effort to recover the tools in the storage shed as they were lost in shadow. I recommend clicking to embiggen.

Capsicums

Capsicums at the Hastings farmers market NZ

VMware ESXi on a white box

I’ve been researching server virtualization lately, and looking at several solutions. One of which is VMware’s vSphere hypervisor (previously known as ESXi server).

There’s a free version of vSphere available, that only requires you to register to download it along with a license. Installation on the other hand, proves to be extremely difficult when using hardware that isn’t on the official hardware compatibility list.

In computer hardware, a white box is a personal computer or server without a registered brand name – Wikipedia

Difficult… but not impossible.

As there turns out to be an unofficial whitebox list on vmware-help.com.

Additional drivers are available from here, then see instructions on how to use this automated script to populate an ISO/USB stick with a custom installation image.

Cisco 700-23918-01

Step 1: Apply Cisco 700-23918-01 REV D0 to an appropriate surface

Step 2: Attach Cisco WS-C2960G-24TC-L to the Cisco 700-23918-01 REV D0 from step one

Congratulations! Your twenty four port switch is now attached to the side of your office cube

How cool is that? Cisco refer to it as a “Magnet Mount”, and ship them with their eight port switches.

I should also mention that labeling things “Santa Clara R&D” does not prevent them from growing legs, running off, taking long wild vacations, and eventually returning home slightly bruised and battered. Only a large metal box, surrounded in concrete, dumped at the bottom of the ocean can help to prevent that.

Delivering Pizza in Style

 

Papa John's Pizza Delivery Vehicle

[c++] Static assertions – Part III

For completeness let’s look at the static_assert keyword introduced as part of C++0x. Picking up where the previous two posts (I & II) left off (in 2008!).

int main( ) {
    static_assert( false, "This must be true" );

    return 0;
}

Visual Studio 2010 outputs:
1>main.cpp(2): error C2338: This must be true

Hooray for progress!

A static assertion that outputs a user controlled error message. Making it much easier to indicate what the actual problem is, and avoiding the need to dig through large amounts of invalid and/or undefined type related compiler output mess.

Better yet; BOOST_STATIC_ASSERT will take advantage of static_assert if your compiler supports it.

#include <boost/static_assert.hpp>

#pragma pack( push, 1 )
struct PktData {
    char b1;
    char b2;
};
#pragma pack( pop )

BOOST_STATIC_ASSERT( 1 == sizeof(PktData) );

Visual Studio 2010 outputs:
1>main.cpp(10): error C2338: 1 == sizeof(PktData)

Where the error message is populated by the failing expression. Which may be nicer than having to specify your own error message as required by static_assert.

I Can Has Cheezburger Doritos?

I’m not sure how to describe the flavor of these. Somewhat like Burger Rings, but not quite, and in triangular chip form. Fortunately Wikipedia comes to the rescue and describes it as X-13D flavor. Which are exactly the words I was looking for.

In 2009, Doritos released some new flavors under the banner Doritos Late Night: Tacos at Midnight and Last Call Jalapeno Popper. They also modified the X-13D flavor as All Nighter Cheeseburger. –  Wikipedia

Thanks Nova!

Next Page »