Short update

Things are busy out here, as you might expect.  But as the frequency between posts grows, so does the guilt.  So to talk about current events…

I'm excited about Borat…it's getting fantastic reviews.  95% on Rotten Tomatoes last I checked, and for a while it was even in the top 250 on IMDB.  Unfortunately due to logistical snags we ended up not seeing it on Friday.  We'll have to correct that problem this week.  The movie was compressed to only 837 theatres this opening weekend to build some good buzz and word of mouth, so supposedly the showings have been absolutely packed.  This is precisely the kind of movie experience I enjoy, so perhaps I'll wait until next Friday to hit up the theatre.

In other news, I opened up my web browser on my Treo and saw a link to Google Maps for Treo, which I'd heard mentioned around here but hadn't tried yet.  An easy click or two later and I popped open the application.

I'm just going to say that I was thoroughly impressed.  Easy to use, decently fast even over my EDGE wireless connection, and much, much easier to use than any WAP site.  I guess there's still a place for rich clients after all!

I've been quite happy with my Treo to date…the only complaint at the moment being the crotch jabbing antenna.  Am looking forward to one of the newer models that rids us of that particular issue.

 

Posted in Uncategorized | Leave a comment

Optimize your life #9 – Planning vs action

Everybody has to get things done.  That's just a fact of life.  However, how you go about getting things done varies tremendously from person to person.

You might say that every time we do something, it consists of two simple phases…planning and action.  You could also say that, in essence, each person cycles through these two phases hundreds of times a day.  Figuring out when to correctly transition from planning to action, then, has got to be pretty important, considering how often the cycle is repeated.

Planning is a vital activity.  It basically consists of researching all your available courses of action, considering various outcomes and trying to predict what will happen, and eventually committing to one of the available choices.  It's obvious, of course, that one has to eventually move out of the planning stage to get results.

Action is vital as well.  After all, nothing happens if you don't take action.  Since there are typically many more ways to do things incorrectly than correctly, you don't want to simply shoot off without any planning whatsoever.

Action, however, has some inherent advantages over planning.  The first advantage is that many people simply learn better in context, while acting, than they do out of context.  The second, and likely the most important, advantage is the fact that action is simply what Scott Berkun refers to as a forcing function.  Me, I just call it a type of reality check or a way to reduce risk.

Let's divert for a second.

Psychologically, humans are not objective creatures.  This fact alone is worth burning into your brain.  You are not objective.  Worse yet, you aren't even wired to realize that you are not objective.  For example, within any company, roughly 75% of the people rate themselves as above average within that company.  In a survey of drivers in Europe, 90% of the drivers rated themselves as above average drivers.  These perceptions are not based in reality.

The point, of course, is that each of us has a window through which we see things, and the walls around that window hide the complete truth from us.  Those who recognize their inherent biases and force themselves to cut through them have a significant advantage over those who deny their biases.

A forcing function or reality check, then, is some sort of action or process that cuts through subjectivity and exposes reality.  It's a crucial step in any important project.  If you leave these until the end, you're likely to get lots of nasty surprises.

OK, now let's get back to the point.

When activities are disconnected from reality, the return on investment in those activities drops off because the risk of those activities being correct begins to outweigh the incremental benefits of additional activity.  It's analogous to making a bullet fire faster or do more damage when it's not even aimed at the target.  Or looking at the butterfly you can see through your window when there's an elephant hiding behind the wall.  Because planning is significantly more disconnected from reality and rooted more in our subjective perceptions, it is inferior in many ways to simple action.

Now, some of you are probably thinking "This is crazy…planning more is clearly the best thing to do in many situations."  You're not insane…this is absolutely true.  Up to now, we've basically ignored the issue of cost.  Since action often costs more, and planning frequently costs much less, planning more can often be the most cost-effective approach.

Pay attention here, because this is the important part.  The decision of planning vs action is based on the cost of both activities plus the fact that action is a much better reality check and experience builder than planning.  The trap many people fall into is generalizing their approach into "planning is always good" or "acting is always good".  Perhaps it's personality issues that determine where people tend to fall on this issue or a faulty assumption that what worked once should work again…but regardless, the correct approach to a situation isn't determined by personality.

If you act too much, you incur a lot of costs associated with a lot of misfires.  If you plan too much, it costs you valuable time, money, and magnifies the risk involved with not taking action to get a reality check on your assumptions.  Deciding how and when to do both is simply an issue of cost and risk.

In general, from my experience, the usual best approach involves

  1. A minimal and considered amount of planning.  The 80/20 rule means you probably want to do a small amount of preparation.
  2. A lot of action intended to force reality to the surface.  This is because there are usually courses of action which are fairly cheap reality checks or costs you would have to incur anyway.  You just need to bother looking for them.  Once you realize that the decision is based on cost and risk factors, you know how to look for and spot opportunities.

The most interesting situations are where the exceptions to these guidelines appear.  So, in my next post, I'll present some simple questions to ask when you're trying to figure out how much you should plan before acting.

Thanks for reading!

Posted in Uncategorized | Tagged | Leave a comment

Flash storage and the 80/20 rule

Flash memory based storage is starting to make serious headway into the PC realm, and with good reason.

It’s far more reliable.  It can be squeezed into many different form factors…from 2.5″ notebook drives all the way down to MicroSD cards.  It consumes almost no energy and is completely silent.  The random access times obliterate traditional hard drives and, while not quite on par yet, raw transfer rates are now beginning to close in.

To dispel a common myth, one thing you commonly hear about flash memory is how it’s limited to around a million write cycles.  So eventually, the memory will die.  Yes, this is true.  However, objectively speaking, when you look at the typical lifecycle of a hard drive, a million write cycles actually buys you much more time than the MTBF (Mean Time Between Failure) of a hard drive.  Flash memory is just being more up front about it.

Flash drives use all sorts of tricks and have some extra capacity in them to distribute the write load across different blocks.  This is called wear-leveling.  Furthermore, the roughly million write cycles required to wear out a block is a gradual failure.  What you’ll usually see happening to a flash memory drive is a gradual loss of capacity as impending block failures are detected and rerouted.  Traditional hard drives are not nearly as nice about failures.  They tend to blow up all your data at once…which, in my humble opinion, is a big nail in the coffin of PC friendliness.

Now, the upsides of flash memory are obvious, but so are the downsides.

As I mentioned, the raw transfer rates are in the same order of magnitude, but in most cases flash drives are currently a good deal slower than mechanical drives.  The biggest problem, by far, is cost.  Flash memory still costs far more than magnetic storage on a dollars per GB basis.  The first 64GB flash based hard drives to be released will probably cost around 2000 dollars.  Meanwhile, you can buy a traditional 500GB drive for just 180 dollars.  Hardly seems appealing in that context!

Now, both flash memory and magnetic storage technologies continue to improve.  But it’s interesting to note that if you look at a 12 month magnetic storage cycle, flash memory is improving on an equivalent basis in just 9 months.  Obviously, this means at some point, flash memory will overtake magnetic storage on a pure cost per GB basis if the cycles continue to hold.  But we’re still a good way off from that happening.

Still, aside from the cost per GB, the benefits of flash memory may show up sooner than you think.  Instinctually, you might think…2000 dollars for 64GB?  What the heck?  Sure, the tremendous amount of storage we get from magnetic drives is not something people will give up easily.  But stop and think about this for a second.

1. Only a relatively small portion of data needs to be cached to avoid hitting the mechanical drive most of the time.  This is where the 80/20 rule comes in.  In general, e-mail, source code, documents, and other work related data simply don’t take a lot of space.  I’m guessing that the OS + most applications + application data can easily fit into 16GB for most people.  Maybe bump it up to around 64GB to be safe.

For large files like audio and video files…well sure, keep them on magnetic drives and just spin those up when you use them.  For most people, this won’t be very often.  For all the times in between, several GB of  flash memory augmenting a system will draw less power, run apps and boot faster, and keep running more reliably.

2. Flash memory doesn’t have to replace mechanical storage.  Because flash memory is easy to produce in small form factors, it’s going to be very easy to add flash memory as a complement to any desktop or portable system.  A good system will play to the strengths of both.  Simply use as much flash memory as you need to get a nice performance boost, but not more.  And continue using mechanical drives to store large quantities of data in a cost effective manner.

And at this point, you’re not really talking about dollars per GB at all.  You’re asking a different question…how much is someone willing to pay so that

1. The computer loads programs more quickly and boots much faster
2. The computer is less noisy.
3. The computer, if it’s a laptop, has more battery life.

An entire community of users exists that is quite willing to pay a lot for any possible performance boost.  Using flash memory in a system unlocks new performance characteristics that have previously been unavailable to users.  Some of these users are going to bite.

Dollars per GB is important as a metric for flash memory in some respects, of course. But given the above discussion, you can imagine the following use cases for flash memory.

1. Performance/power/silence booster for systems
2. Convenient way to add storage (possible, not sure if it’s likely)
3. Mass storage replacement for mechanical drives.

1 will obviously happen much earlier than 3 due to cost considerations.

In almost all cases right now, the cost of flash memory is currently prohibitive. However, I think that if you figure out what amount of GB in flash produces the bulk of the performance benefit, and then you figure out what that performance benefit is worth to your target market, you start to get a pretty good idea of when flash memory is going to hit its first breakpoint in the PC market.  The second breakpoint will happen when flash memory starts to reach cost parity with mechanical storage + some added premium for the performance advantages afforded by flash memory.

Enough expounding on the subject for today.  I hope some of you found that interesting.

Posted in Uncategorized | Tagged | Leave a comment

Optimize your life #8 – Read faster

Well, that’s an interesting title for an article.  While I’m at it, I’ll advise you to eat less.  And make more money too.

Actually, odds are that if you are reading this blog post you probably read pretty quickly already.  But there are some people who don’t…and for them, I’d imagine the information here can make a huge difference.

Reading is probably the fastest way we have to take in large amounts of information.  The words in a book may not resonate with you in the same way that a presentation or speech might, but if you are prepared to make sense of what you are reading, it is undoubtedly the most effective way to learn….faster than listening or sitting in a lecture, for sure.

One thing you’ll also notice in the biographies of really successful people is that they read.  A lot.  Incessantly, in fact.  Just a good data point to have, I think.

First of all, why not try taking a reading speed test and see how you do?  You might find the results interesting.  In case the pressure affects your reading style, you might try timing yourself as you read a book or have someone time you.  A good long chapter in a book will generally give you time to zone out and not worry about being timed.

Now that you’ve done that, let’s talk about the “right” and “wrong” ways to read.

Ineffective reading generally consists of the reader saying each word to himself as he reads. This is called subvocalization, and if you are hung up in this pattern of behavior, you have a maximum reading speed of around 100-150 words per minute. The ineffective reader also tends to focus on each single word in a single line as he proceeds across and down the page.  The reader is focused more on the mechanical process of reading than treating it as an invisible step between himself and the ideas on the page.

Effective readers use a different approach.  They don’t see words on the page; they see phrases and paragraphs.  Their field of vision is taking in about 10 lines at any moment in time.  They are not hearing the words in their head completely in their head or reading them back to themselves.  Rather, they are actually rapidly visualizing the concepts of the text as they proceed down the page.  On average, these folks are reading anywhere from 250-500 words per minute.

Effective readers can also skim information extremely rapidly.  When one tries to find a piece of relevant information, it often is not necessary to read everything in detail.  In such cases, your words per minute can easily rise into the thousands if you are able to scan quickly and pick relevant phrases out of the page as you scan.

Now, I’m not sure I can offer much better advice on this topic than what’s out there on the Internet.  The reason I point this whole topic of reading out is that if you happen to recognize your own style of reading as being in the former camp, this post should be helping you realize that you might be able to learn how to read more effectively, starting with some of the points above.  And if you recognize yourself in the latter camp…well, at least you know more definitively where you stand. Nice to know when you’re doing something right, isn’t it?  =)

It is very difficult to overstate the relative benefit that a person gains when he is able to take information in more quickly.  It’s something that will, like interest, multiply its effects upon you for the rest of your life.  So I’ll leave you with the following link, and a suggestion to use Google to read up on the topic a bit more when you finish with that. =)

Wikibooks article on speed reading

Posted in Uncategorized | Tagged | Leave a comment

Bill Gates and education

The funny thing about computers is that, despite all of the time they save people, they really can’t help us make big decisions yet.  Peter Drucker made similar observations many years ago…starting with the famous quote “The computer is a moron”.  The computer crunches and shows you numbers really quickly.  It can show up that a graph is trending upwards.  But ask it *why* that graph is trending upwards, and you’ll be waiting a very long time.  Sometimes even people interpret the same things two different ways.  There are problems which are still very difficult for a computer to answer.

Given that computers can’t yet replace people at some decision making level, I often imagine the impact of better computing on the world in the following manner.

People in this world have certain high level decisions to make.  They also spend some associated time in supporting those decisions.  In effect, you can imagine the person (say, yourself) as the top of a pyramid.  Processes, software code, and physical infrastructure, like robots, form the body of the pyramid…a rigid structure of branching tasks that turn the decisions at the top into reality.  At the bottom, all the tasks getting done lie in sleepy repose.

As we develop our processes to be better and computers get more powerful, the pyramid gets bigger.  One person is doing more and more things.  Life is better and society improves as a whole.

The key thing about this model is that there is always a human being at the top.  We spend all this time and effort building this infrastructure, but, the simple fact is, none of these advances in productivity matter if you don’t have a good solid person at the wheel.  Until computers start thinking for us, people are important.  Heck, you might even say that they become more important, since the absolute amount of work that one person is getting done, or screwing up, continues to increase.

Which is why I was really glad to hear that Mr. Gates is making education one of his biggest priorities.  If you subscribe to the idea that everything fundamentally begins and ends with people, then building great people is the place to start.  In fact, you can imagine that very little else matters, because in the grand scheme of things, great people can fix a lot of things.

But of course, it gets me thinking.  Bill Gates is offering a lot of money.  Which is a good thing, if money is the problem.

Is money the problem?

We’ve doubled our education spending since 1971, adjusted for inflation.  Are schools 100% better?  Heck, are schools better, period?

Internationally, other countries continue to deal us the double whammy of spending significantly less on education while scoring significantly higher on comparative tests.  What does that mean?

It’s hard to look at these facts and say that money is the issue.  In fact, you might be able to point to the person asking for more money and make some sort of case that spending more money is hurting the United States, not helping.

I also have another mental model for evaluating the situation.  Would I want a great person with less money dealing with the problem of education?  Or a mediocre to bad person with more money?

Invariably, the answer is obvious.  Take the great person.  The wrong person in the wrong position will simply be throwing away more money with his decisions, no matter how much he is given.  Money has to come after great people, not before.

OK, so if this really isn’t about money, than what is it about?  And what is Bill supposed to do with all that green?  I think I’ll save that for another day.

Posted in Uncategorized | Tagged | Leave a comment

Buying notebooks

I read Jeff Atwood’s decision making process on buying a laptop (he picked an Asus W3J) with great fascination today.  I suppose one of the main reasons anyone becomes interested in something often has to do with seeing parallels and similarities in one’s own experiences…and I’ve obviously gone through the notebook buying experience a few times.

Buying a laptop is a very personalized decision if you are computing literate.  The reason something like the W3J doesn’t work for me is that it’s a little too heavy (5 lbs) and the battery life is not great.  But for the form factor and requirements Jeff wants, it’s an excellent choice.

With that said, I’ve been eyeing various upgrades myself.  The Toshiba M200 I have right now is getting the job done, but I find it fairly restrictive at the moment.  I bought it mainly to get my feet wet with the Tablet PC concept.  I feel I understand its strengths and benefits now, but the less current specs are otherwise holding me back.

So here’s what I’ve been looking for from a new notebook.

1. Lighter weight (4 lbs max).  Really, no reason except that I know it’s possible and why get something huge if it doesn’t have to be huge?
2. More drive space. I’m using VMWare and Virtual server a lot more lately to simulate automated deployments and I need space for the images.
3. Core Duo or better.  Again, run some virtual machines and you’ll want all the processors you can get.  Solo’s are out at this point.
4. Glossy screen, but still high-res (12.1″ SXGA+ is my target).  The screen on my M200 is frankly painful by today’s standards.  The resolution is still spectacular, though.  A screen like that on the M400 would be perfect.
5. Seamless multimonitor while docked.  Multiple monitors is a huge productivity improvement…and frankly, I see no reason to use the notebook as a notebook when I’m sitting at a desk most of the time.
6. Massive battery life. (6 hrs +)  I’m tired of watching the clock on my notebook.  I want insane battery life.
7. Integrated WWAN.  When I travel, using the Internet through my phone is workable, but painful.  Let’s make this seamless.
8. Stylish. Hey, why not?

I hate to say it, but it seems like I’m going to have to drop the Tablet functionality.  It’s not that I don’t want it, but I don’t find myself using it much at the moment and the other specs are higher on my list.

Seamless multimonitor is a non-negotiable item on my list.  Multiple monitor setups are a huge productivity improvement, and I want to make sure my next setup has it.  Originally I was under the impression that I was going to need a docking station with a PCI slot to allow me to do this…which was becoming very frustrating because, if you look, you’ll find that most manufacturers have basically eliminated these expansion options from their notebook lines.  Only Dell and IBM have expansion slots in their docking stations.

Luckily, I got a bit creative and found a way around the issue.  I tested MaxiVista a bit more and figured out that with a speedy host processor over a wired Fast Ethernet or Gigabit network connection, MaxiVista does the multimonitor story pretty damn well for productivity tasks, which is all that I need this stuff for anyway.

Stylish is another one of those options that is just hard to find in
combination with everything else you want in a notebook.  However, I ran across a
site called Smooth Creations and realized that these guys can personalize pretty much anything.

Once I managed to factor out the stylish and multimonitor requirements, the field opened up.

As with most buying decisions, you examine the field and then you get an idea for what is extraordinary and what is standard.  After a lot of searching, the notebooks that come closest to what I’m looking for are:

Thinkpad X60s – Definitely the closest to my target.  It’s incredibly thin and light, starting at just 2.7lbs, with options to get up to over 10 hour of battery life.  It doesn’t waste space and weight on an optical drive…which appears to have paid off, as they manage to fit more RAM, drive space, and processor into their package than competing models by using standard mobility parts instead of expensive specialized component form factors.  The biggest problem for me is that the screen is only 12.1″ XGA and the pointing device is a Trackpoint…no touchpad.

Panasonic Y5 – This import packs great battery life and an incredible 14.1″ SXGA+ screen in just 3.37 lbs.  Actually, in terms of the number of features missing from my list, this is the closest notebook…but the one main problem with this laptop is so big that I can’t get past it.  It uses a less standard Micro-DIMM that can only upgrade the notebook to 1.5 GB total.  Yarrrgh!  That’s a non starter for me, unfortunately.

Sony TX770 – I love this laptop.  The screen is truly awesome…an ultrathin 11.1″ 1366×768 screen.  Unfortunately, the low powered CPU and 1.8″ hard drive means it will fall on the low end of my specs, and the expandability of the RAM is limited too.

I’m not intent on buying anything yet.  New processors and chipsets from Intel are due in about a month or two and if I can, I’m going to wait and see what happens then.  But I’m definitely keeping my eyes open.

Posted in Uncategorized | Tagged | Leave a comment

Optimize your life #7 – A practical guide to the perfect audio book system

OK, in the previous article I wrote about why audio books are a great alternative to the radio.  This time, I’m going to make some specific recommendations about how to get yourself started.

1. Get an MP3 Player

First order of business…you need an MP3 player.  If you’ve joined the iPod generation already, no problem, you’re set.  Personally, I favor the convergent approach to gadgets…I’ve got a pocket in the back for my wallet, a pocket for keys, and a pocket for one more item…which means a smartphone.  So I use a Secure Digital flash card in conjunction with the excellent Pocket Tunes on my Treo 650 smartphone.  1GB of storage is enough to hold a few complete audio books (although by now there are larger sizes available), and Pocket Tunes is simply the definitive MP3 player for Palm PDA’s, hands down.

What this means is that you can get by with a really cheap 60 to 100 dollar MP3 player if you want to, or simply add some cheap flash memory to most phones.  To really optimize the experience, though, you’re going to want to pay attention to some of the extra details.

Try to pick a player that will remember your position in the book so you can pick up right where you left off when you get back in the car.  For example, Windows Media Player doesn’t remember where you leave off in audio tracks…and so we’ve found that audio books are a bit harder to manage on my friend’s Windows smartphone than my Treo with Pocket Tunes.

2. Choose a source for audio books.

Second, you need the books themselves.  Audible.com is the go to place on the Internet for audio books.  You can also try the ever popular iTunes if you own an Apple branded MP3 player.  In general, I recommend picking topics which you are unfamiliar with but would like to learn more about.  You’re getting some free time here, so why not branch out a little bit?  That’s my philosophy, but if you’ve been dying to read the latest Harry Potter book and haven’t had the time, go ahead and listen to that too!  There’s no wrong answer here.

Podcasts are also a burgeoning category of audio programming.  You can go to places like Odeo or iTunes for these as well.  Podcasts do solve the selection issues associated with radio programming.  On the other hand, they still suffer from the same information density problems.  If a podcast is very narrowly targeted to a particular area of interest, you’re more likely to extract some value out of it..which, I believe, is similar to what makes a successful blog.  But given the choice between a book or a podcast, I’ll usually choose the book.

Finally, friends and family often have books they aren’t using any more.  You can borrow them and return them when you’re done.  Simple and inexpensive!

One interesting thing to note about about audio books is that they can often take much less space than equivalent music.  I won’t get into the whole theory of audio compression here, but suffice it to say that you can squeeze a guy talking down much more than you can a guy singing with a bunch of instruments playing in the background.  In many cases, you can fit more hours of audio book programming onto an MP3 player than you can of music.

3. Find a way to patch your MP3 player into your car

While we have all had images of dancing black silhouettes of people with white headphones hammered into our subconscious, for safety reasons, you should not listen using headphones while driving.  Playing the books back through your car’s audio system will be more comfortable and probably sound better too.

Try one of the following options.

  1. A line-in or cassette adapter.  Both of these are easy to pick up at a Radio Shack, but most cars don’t have either of these input options nowadays.
  2. An FM transmitter.  This is the option I chose.  You plug the transmitter into your MP3 player, and it broadcasts on an FM frequency of your choice.  Tune your radio to that frequency, and you are good to go.  Nearly all cars have an FM radio, so this approach is almost guaranteed to work.  The downside to this approach is that you have to find a clear frequency to transmit on, and occasionally you’ll get bleed-through interference from other stations if you’re unlucky.  I chose the iRiver AFT-100 because it got good reviews and is cigarette lighter powered to boot.  Changing batteries?  No thanks!  Car powered is the way to go.
  3. A Bluetooth audio kit.  If you know what this is, you probably don’t need me to explain it to you.  A few cars support this option, and you’d probably need a smartphone MP3 player to even get started.
  4. iPod car kits.  The dominance of Apple’s MP3 player has led to a well stocked ecosystem of accessories.  Too many options here to count, go Google for them.

Once you have all three parts taken care of…the MP3 player, the audio books, and the connection to your car stereo system…you’re ready to dive in to the last part of this guide, which is how and when to listen.

The philosophy of listening to books while driving

It’s wise to remember that when listing to books and driving, your primary focus is still driving.  For the sake of being illustrative, let’s replace the word “driving” with the phrase “careening around town in a two ton block of metal at 70 miles an hour”.  Safety must be priority #1.

  1. Don’t be stupid.  People cause accidents every day because they fumble with cellphones, try to eat, put on makeup, or do any other number of silly things while trying to stay in control of a speeding car.  Messing around with your MP3 player while driving is pretty high on the list of dumb ways to go.  So keep your eyes on the road, jack.
  2. Build up a playlist beforehand.  You can avoid messing around with your MP3 player while driving by building up a nice long playlist of the files comprising your audio book.  And if you’ve followed some of the above tips, you also have an MP3 player that retains your position in the playlist.  Combine the two, and the only time you’ll have to touch your MP3 player is when you get in the car and when you get out.
  3. Listen when you have time and when you are driving “routine” routes.  If I’m traveling to a less familiar place where I’m not familiar with all of the turns and lane changes, I prefer to keep the books off and my attention on driving.  By the same token, I also don’t dive into my audio books if I’m just taking a 5 minute trip to the grocery store.  That’s too much context switching and not enough flow time.  I
    generally listen to audio books on my commute, where I know every inch of the road.  Interestingly enough, for me this creates a pretty good balance where I still get to listen to the radio without being saturated to the point where I’m completely bored by it.

Well folks, that’s all I’ve got.  Audio books are a great way to expand your horizons, and I hope this article has lent some clarity to the steps involved in making audio books a daily part of your commute.  Thanks for reading!

Posted in Uncategorized | Tagged | Leave a comment

VMWare and Virtual Server 2005 R2

I mentioned previously that I’m a big fan of virtualization and all the attendant advantages that come with it. For many tasks, speed is less relevant than flexibility, and virtualization of operating systems gives flexibility to you in spades. You can split functional server roles across different images very quickly instead of mixing them on hardware because of limited machines. You can migrate images very quickly to any hardware configuration. You can mix and match virtual machines on new and old hardware. You can clone and duplicate images extremely quickly. The list goes on and on.

I spent much of the past week setting up a virtual network consisting of Windows Server 2003 and SQL Server 2000 inside VMWare Server. The idea was to completely test the deployment scenarios for data loads and replication in this virtual network without having to buy five or six separate machines. Great in theory, but would it work in practice?

Well, just for my own edification, I decided to do this the hard way. 64-bit SUSE Linux 10.1 with VMWare on top of it. “I know Windows well enough, why not try something different?”, I say to myself.

Long story short, it seemed to be working…at least for a while. I spent some time documenting the process of setting up the server roles in the network. But eventually, during the data load process, I find myself constantly running into these inexplicable SQL Server errors…”database consistency” errors, nodes that were in one place but were supposed to be in another, and “NOLOCK” errors failing due to data movement, despite the fact I wasn’t using the NOLOCK keyword and nobody else should have been changing data on the virtual machine anyway. Errors you basically should never see. Worse, they seemed random…sometimes the same data would work during a load and subsequent processing, sometimes it wouldn’t. Small random errors are ugliest types of errors…at least when something blows up big, you can tell what’s wrong.

Who knew what the problem was? Bad hardware? Bad host OS? Bad virtualization? To me, it was completely unfathomable that a virtualization product, especially a server class product like, could simply not be working correctly. So I switched over to hosting under Windows Server 2003. Then I moved over to a box with all Intel hardware. Then I went native. Native seemed to work. But I really had no way to completely verify unless I built up the whole network, and I needed a virtualization product for that…I wasn’t going to be digging up 4 or 5 new machines tomorrow. I also wasn’t looking forward to having to learn a whole new product and rebuild the network yet AGAIN on top of that.

Anyway, sometimes you have to do things you don’t like. On Friday, I decided to bite the bullet. We went to Fry’s and bought a 500GB hard drive so I would have enough room to build more images. Then I spent parts of the weekend and this Monday rebuilding the network from scratch. Luckily, this wasn’t too hard to do since I had already documented everything. The worst part of it was having to learn how Virtual Server 2005 does its virtual machine management and figuring out how to set up the machines inside behind a virtual NAT. The process isn’t straight forward at all and involves installing a special Microsoft Loopback Adapter driver. Still, I’ve hacked my way around setting up NAT’s and RRAS so I muddled my way through somewhat competently.

Virtual Server 2005 is a free product.  It’s somewhat odd that Microsoft is releasing it for free…sometimes you wonder if MS is trying to “Netscape” VMware.  At any rate, the product, for some reason, is managed entirely via a web interface.  Decent in theory, but VMWare’s native client management works much better overall, I find, and still has the web management if you need it.

Managing the virtual machines remotely via Virtual Server 2005 was very slow, even with reduced color support enabled. The remote control protocol in use seems to be based on a version of VNC, but they don’t have the grayscale options that VNC does.

I also accidentally set the NAT up on the wrong adapter, so I had to come into the office to fix it because it completely killed the network connection of the box hosting all the virtual machines.

Well, I finally did get the network set up. I’m happy to report that SQL Server is in fact stable inside Virtual Server 2005. On the one hand, I’m relieved I have something I can actually trust to work correctly in terms of getting my current work done. On the other hand, I’m greatly disturbed that VMWare has such a serious bug in its virtualization product. I plan on using virtualization extensively moving forward so that I can stay exposed to all the different operating systems out there, and VMWare was definitely going to be my first choice. (note to self…next laptop needs lots of RAM and HD space)

But after this? Yikes…a little scary. It’s kind of like believing in Santa Claus for a few years and then finding out he doesn’t actually exist. (Sorry if I spoiled that for anyone.) Still, I’m going to be keeping an eye on VMWare. I find that in overall usability terms, it’s a far better product, and this is the first time I’ve encountered a bug like this. I also find the idea of having to virtualize with Windows as the host OS somewhat counter intuitive.

Running Virtual Server 2005 isn’t all roses either.  Installing the Loopback Adapter has somehow snookered FTP on the system…I suspect it has something to do with the RRAS NAT I configured on the system, which is timing out the control connection on PASV FTP transfers.  Basically, long FTP’s die at the end of the transfer.  And then there’s whole deal with Windows taking years to shutdown now.  And by years I mean minutes…but it seems like an eternity.  Does it ever end? =P

Posted in Uncategorized | Tagged , | Leave a comment

When servers blow up

Several years ago, at the height of the Internet craze, a company called NetPliance released a product called the I-Opener.

The I-Opener was a computer based on a razor/razor blade model.  Sell the hardware (which was worth about 300 bucks) for 99 bucks and require people to use the I-Opener to subscribe to their internet service.  Unfortunately, the Internet community and its infinitely resourceful ways quickly figured out how to convert the mostly standard hardware in the I-Opener to be used as a regular old PC.

Units started flying off the shelves at 99 bucks, and people weren’t signing up for internet service. Whoops!

Anyway, I managed to get a hold of one during the frenzy and upgrade it with the requisite parts.  Namely, a USB network adapter, 128MB of RAM, and a 6GB notebook drive.  Voila, instant PC!

It’s pretty shabby hardware by today’s standards, but the I-Opener made a nice neat server package in a home environment at the time.  I’ve been using it for mundane things like hosting VPN, DHCP assignment, DNS, etc.

It still runs today, some six years later.

Or rather, I should say, it ran until yesterday.

The I-Opener, while still operational, was getting long in the teeth…128MB of RAM and a 6GB drive doesn’t go a long way these days.  However, I’m a big fan of VMWare in general…and since I had been playing with several images under VMWare Server at SnapStream, I had an idea of where I wanted to go next..  Since VMWare Server is now free, I had been preparing to try virtualizing the server image on the I-Opener so that I could migrate it to new hardware.

Alas, I started hearing the infamous clicking sounds of death yesterday coming from the hard drive in the I-Opener.  Uh oh!

Sadly enough, it wasn’t even the I-Opener that failed…it was the drive that I added to it.  Hard drives are pretty ugly in terms of failure rate.  Anecdotally, they blow up around our office all the time.  I’ve also seen my fair share of drives blow up at home.  I often wonder if it has something to do with the fact that we hammer them 24/7 with Beyond TV or if computers really are that unreliable nowadays.  Regardless, if a computer is going to have a problem, I’d usually expect it to happen in one of the following areas…the fan, the hard drive, or the power supply.

Less anecdotally, I read somewhere that about 1 out of every 1000 drives fails in a Google cluster every day.  Let’s just say that those mechanical bits of your computer are really, really failure prone and the sooner the industry moves to flash based storage, the better!

Anyway, I’m now stuck with figuring out how much money I want to spend to deal with the issue.  My home network is still operational because I migrated the DNS and DHCP back to my ADSL router, but my VPN is down.

I had been planning on using something like a nice cheap laptop like the Compaq Presario V2000 or a Mac Mini to host the server.  Yes, unlike a lot of computer techies, I care a lot about form factor and noise…and those are nice neat packages like the I-Opener.  However, since the situation is now at a head, it looks like I may need to try something like upping the RAM in one of the computers around here and getting the server image to run side by side with the XP installation already on the computer.

Oh well, time to dig through the Fry’s ads….

Posted in Uncategorized | Tagged | Leave a comment

Optimize your life #6 – The daily commute and audio books

In my last article, I talked about what kind of tasks we can successfully combine together to save time.  This article discusses one specific way to multitask that I find useful, which is listening to audio books while driving to work.

Best use of time – drive less

First things first.  The top thing to figure out about your commute is how you can shorten it.  Who wants to spend time trying to get to where you’re going instead of actually BEING there?  It is my sincere hope that one day someone invents the transporter from Star Trek and we all start blinking to and from work in no time flat.

With that said, plenty of people, including myself, need to drive to work due to wacky real estate prices and other life priorities.  That isn’t going to go away any time soon.  In fact, plenty of people just take the commute for granted…they’ve become used to it as part of their daily grind.  Well, this article is all about NOT taking that time for granted.  Let’s take a considered approach to how we can get the most out of that fixed time allotment.

How we drive

When we drive in a car, we’re somewhat of a captive audience.  Obviously, our main priority is to get wherever we are going, and, beyond that, our options are limited.  After all, we’re stuck in a car and most of our attention is on the road.  What are we going to do?  The only real options we have are listening to something and taking occasional glances at the environment passing by.

This is why one of the most frequent driving activities happens to be listening to the radio.  Unfortunately, there is very little inherent value to radio programming.  In fact, in most cases, the radio is only turned on because it’s better than the next best alternative, which is being bored outright while you drive.

Radio talk shows, for example, are by their very nature incredibly light on information.  They have to be, because most of it is formulated on the spur of the moment.  Plus, the shows you might be interested in listening to aren’t necessarily on when you are driving.

And let’s talk about music stations.  Music stations are fine as a source of entertainment.  After all, watching television doesn’t necessarily make you a better person, but it’s fun, and often social.  Entertainment is a good thing.  But let’s be serious here.  Do you really need to hear the same song 100 times?Are you getting anything out of that song, or are you just using it to fill dead air?  For example, I certainly wouldn’t watch the same TV shows over and over again.  But maybe if I had nothing better to do…which is exactly the category that the radio falls into. I would argue that the radio, past a rather low bar, is less about truly entertaining oneself than it is about filling up sunk time.

And that’s where audio books come in.

Audio books vs the radio

Make no mistake…listening to an audio book is slower than reading that same book.  When you’re driving, however, listening is the only reasonable way to take in information.  Listening to audio books during your commute is all about getting everything you can out of all that you’ve got.

Here’s why audio books are a better alternative to radio programming.

  1. You can choose what you want to listen to.  Oh, how important this is!  Let’s say you don’t know anything about managing your money, but you’d like to learn.  What do think the odds are that this topic is going to come up during your daily commute?  Just about zero.  On the other hand, finding an audio book on that topic is incredibly easy.  You can target your own specific needs and address them proactively.
  2. You can progress on your own schedule.  Even if you found out about a money management radio show, it’s probably not going to be on when you can listen to it or as often as you would like.  On the other hand, if you have the audio book, you can just cruise through the book at your own pace, consuming as much or as little as you like.
  3. You generally get much richer, denser, and higher quality content from an audio book than any radio program will provide.  A large quantity of books are not written to be fluffy or created on the fly.  Most books are edited with some degree of care and are intended to communicate serious concepts.   Radio programs, on the other hand, are produced with different objectives in mind.  You’ll simply learn more from audio books in less time.  Who can argue with that?

Obviously, there are some pretty good reasons why listening to audio books has advantages over daily radio programming.  I’ve listed them here, so it’s up to you as to whether or not you decide to take the plunge after reading them.  Next time, I’ll get to the nitty gritty details and make some concrete recommendations about equipment and best practices that will help anyone interested in getting rolling.

Posted in Uncategorized | Tagged | Leave a comment