laupäev, 24. september 2011

Cloud computing: Try it

By Greg Hubbard

When resistance to technology innovation is discussed, the resistance is usually given the face of the mythical pointy haired boss, the management, finance or business person who "just does not understand!" While this can be the case, sometimes the resistance actually comes from within Information Technology and it really shouldn't. IT should be the entity thinking "well, let's take a look..." While I don't advocate running around trying every new thing that comes along and throwing large sums of money at it in the process, I do promote looking at things in ways that are inexpensive in time and capital commitment. To that end, I use a three step process for trying out a new technology:
  1. Find a way to try it out with minimal time and budget impact.
  2. Discuss my experience in a large community.
  3. Try it again.
Find a way to try it out with minimal time and budget impact
When I started looking at cloud computing, the first batch of reasons not to try it came from peers in the IT community. I heard "It's not stable.", "It's not secure.", "You're doomed!" So I signed up for free accounts for Amazon's Elastic Compute Cloud and Microsoft's Azure cloud products and decided to give a whirl. The key is that I wasn't trying to make a hot backup for our largest application, nor was I trying to pull off some leading edge development. I tried to make an existing, simple, but very useful, application work in the cloud. (KISS: Keep It Simple Stupid.)
Discuss my experience in a large community (a.k.a. constructive complaint)
Of course I ran into problems while trying out the cloud services. Anytime you try something unfamiliar, even if it is only a new email client there are problems. (When Excite changed their web interface, the Excite community was highly upset.) I had more than a few complaints about my foray into cloud computing:
  • The upload is too slow.
  • The interface is not intuitive.
  • The logging is too simplistic.
  • I don't want to create a Linux machine to create a Windows virtual machine.
I blasted these complaints, with fully detailed code samples, onto the Internet, including Twitter and other forums. And guess what? Other people had the same problems and many had solutions.
Try it again
With a few adjustments and several of George Carlin's "Seven Words", I got the application up and working. I let it sit for a while and monitored the forums. Not so amazingly enough, when I decided to update the prototype, the problems I'd encountered were now, corrected, mitigated or, at a minimum, slated to be addressed. I made some updates and was quite pleased.
In the end, by overlooking reasons not to try something, I am better prepared for the day that I use cloud computing. And that day will definitely come - It's only a matter of time. Experimenting with cloud computing didn't cost me anything, monetarily speaking. And in terms of time, I couldn't tell you the actual amount, because 80% of it was done with my laptop flipped open while catching up on the programs in my DVR. Can everything be done this way? No, it can't. However, we have to be open to opportunities where we can say "Hey, with a little creativity and flexibility, that silly idea can work!"

Replacing bad motherboard capacitors

By Itsacon

Now, this is a problem that likely won’t affect you if you either replace your PC every 2 years, or don’t use it very often. However, if you’re like me and build your machines to specs that’ll set you for five years, and then keep them on 100% CPU load 24/7 for those 5 years (thank you, Folding@Home), chances are good you’ll find out whether the manufacturer of your mainboard skimped on his regulator capacitors.

Bad capacitors Turns out MSI did (although I think anything but solid-state capacitors would’ve given up after the kind of use I’ve put to these). I’d noticed the bulging caps a few months earlier, when I was trying to install some additional memory[1] (which incidentally didn’t work, probably due to those caps) but the system worked fine for a few more months before finally refusing to boot.
So I looked at the values of the affected caps, counted how many siblings they had (even unaffected caps, no sense in leaving a bomb ticking in there) and headed off to Badcaps.net. I decided not to experiment with solid state caps, as chances are good I’ll upgrade Penelope way before I wear out these caps as well anyway.
So, time to stick a soldering iron into some PC equipment.
A quick note: Contrary to popular belief, replacing capacitors on a mainboard does not void your warranty. This is for the simple reason that if you’re replacing caps on a board that’s still under warranty, you’re an unsalvagable moron and don’t deserve warranty anyway.
So, how does it work? You’ll need the following items:
  • A proper soldering iron. Not one of those dime-store things with a tip bigger than a teaspoon. You’ll want something that preferably has temperature control, and a fresh tip. In my experience, a small screwdriver tip works best.
  • A solder-sucker, desoldering wick, or something similar (sucking up hot solder by mouth is an option, but only if you film it and post it to youtube).
  • Sufficient work space, preferably with adequate anti-static measures.
  • Basic knowledge of electronics. If you can’t tell a capacitor from a resistor, there is a real chance you will fail. If you subscribe to the many-worlds interpretation, there’s also a real chance you’ll accidentally invent a time machine. Your call.
Now, Badcaps.net has very comprehensive manual for removing and replacing capacitors on their website, but I’m going to waste time rewriting all of that here. I’ll also illustrate with pictures, so your television-addled brain can comprehend it better.

Removing the old caps:

Heat up Apply heat to one of the contacts, melting the solder (If you have problems getting the old solder to melt, applying a bit of fresh solder often works).
Pull to one side... While doing this, pull the capacitor away from the leg you’re heating, freeing the leg from the board. Don’t use excessive force, or you’ll pull free the motherboard traces.
...and remove completely Repeat this process for the other leg, and the capacitor can be removed. Repeat this for all bad capacitors on the board. If any of the old caps has leaked electrolyte on the board, make sure to clean this up before continuing, as it is highly corrosive and will damage the board irreparably.

Cleaning the holes:

Use a solder sucker To install the new capacitors you’ll have to open up the holes in the motherboard, which most likely still have solder in them. The most common method for this is using a solder sucker. Simply heat up the solder, hold the tip of the sucker near and push the trigger. However, with old, sluggish solder, this often doesn’t work as desired.
Or use solder wick An alternative is desoldering wick. Simply place the wick over the hole, lay the soldering iron flat on top and allow the wick to suck up the solder. This has the advantage of not giving the board a hefty wallop, but the disadvantage of applying more heat to the board for a prolonged period. If there are a lot of nearby components, this may be undesirable.
Or use a pin A final option is then to use a steel pin. Make sure the thickness of the pin is at least that of the legs of the new capactitors. Place the point of the pin on the hole from the top of the board, heat the bottom and push the pin all the way through. Allow the solder to cool while wiggling the pin, and then rotate and wiggle the pin back out. Clean off any protuding bits of solder, and you’re done.

Installing the new caps:

If you really need help soldering a capacitor to a PCB I’m wondering why you even own a soldering iron, but for the sake of completeness:
Place the new capacitors Stick the two legs of the capacitor through their corresponding holes in the mainboard. Make sure to get the polarity right. Caps are usually marked at the negative pin with a lot of minus signs, as well as the fact that the positive terminal is usually longer. On the board, the negative terminal is usually filled in, and the positive terminal is marked with a +-sign
Clip off the leads Clip off the terminals roughly 2mm from where they stick through the PCB. Note that this is the part most people (including the Badcaps.net tutorial) get wrong. You clip the wire first! Clipping it after soldering puts a very big strain on both the solder connection and the mainboard traces.
Apply solder After clipping off the leads, making sure the capacitors are properly seated, and verifying the polarity one last time, carefully apply a drop of solder to both junction points.
And presto! Voila: A nice row of non-bulging capacitors, ready for another 5 years of abuse.
Some closing notes:
Keep the old and the new capacitors seperate, especially if they’re from the same manufacturer.
I find it’s best to remove all identical caps first, install their replacements, and only then to move on to the next capacitor type. This way you prevent accidental switching of capacitor values.
And of course: I’ve got a degree in this crap, you probably don’t, so you’re doing it at your own risk. If you use this as a manual to completely ruin your PC, I won’t accept any liability. You’ve been warned.