Saturday, February 20, 2010

Computer Upgrades

For those of you that might be interested in doing your own computer builds, here are some things to consider in your build.

When choosing RAM, there isn't much difference between DDR3 1333 and DDR3 1600 if you're not overclocking.  What matters more are the timings.  Look for RAM with the lowest timings at the standard 1.5 volts.  You'll see a lot of RAM that is rated at 1.65V, 1.7V, or 1.8V.  That 1.5V is key unless you want to spend a solid day messing with timings and voltages in the BIOS.  I would not recommend it (this is what I did practically all day today).  If you don't get the voltages correct, the system will generally just freeze on you, even while in the BIOS.  The tell-tale here is hitting the num lock on the keyboard.  If you're in the BIOS and the keyboard won't do anything, including num lock, it's most likely a RAM or northbridge voltage issue.  The northbridge is what controls the memory and the PCIe slots, then has a link downstream to the southbridge, which controls your USB and everything else.  So if your northbridge isn't working, you'll lose your keyboard.  This is what was happening to me.  Basically, get RAM that you can run at 1.5V out of the box, and you won't have to deal with all these shenanigans.

Order thermal paste with your motherboard and CPU.  If you need to do some troubleshooting or a motherboard RMA, you'll need to replace the stock thermal pad with some thermal paste.  Just save the hassle and order it to begin with.  Before you try to pull the heatsink off of a CPU, do a burn-in test on it to really heat it up (make sure your CPU is hitting 100%), then shut it down and remove the heatsink ASAP.  What this does for you is warms up that thermal pad so that it's a lot easier to separate the heatsink from the CPU, and the heatsink doesn't pull the CPU out of the socket.  You really don't want the CPU to come with the heatsink on most socket types, as the CPU could come off with bent pins, or in the worst case, no pins at all.  That actually happened to a guy on my floor in college.  He was not happy.  You can't really solder 938 pins (course it was 939 back then) back on a processor.

I hadn't heard of it til I tried to put my new motherboard in, but apparently the ATX 4-pin 12V lead that goes to the CPU and plugs in directly to the motherboard has been increased to 8 pins.  Basically all this does is spread the power across twice as many pins and traces for higher wattage processors.  It's only required for CPU's over 130W, but if you're buying a new power supply anyway, I'd look for one with an 8-pin 12V CPU lead.

I think that's all for now.  That first point is a big one for me right now.  I think that I finally have the system stable, but the next time is hangs on me, Newegg is getting an RMA request.

Oh and if you're currently working on something like an AMD Athlon64 3000+ and go to an Athlon II X4 630, you'll feel like you're working at lightspeed.

Monday, February 8, 2010

3D Video Explained

I'd like to spend a little time here explaining 3D.  You may hear about 3D as it deals with movies, and if you're up on your tech, as it relates to TV's.  What you may not know is how it all works.  To clear up some confusion and questions you may have, here's a little explanation of it all.

Principle of 3D

If you really think about it, your eyes and ears are pretty similar.  You have two of them, and your brain uses both to locate an object either giving off light or sound.  You can localize the object because your brain uses the difference of the two images (images here meaning either a sound image or a visual image) to create a 3D mapping of the environment you're in.

This is a little easier to think about in terms of sound, so we'll go with an example there first.  Say there's a noise off to your left.  You don't necessarily know how you know that it's off to your left, but you just know.  What's actually happening is that sound is going into both of your ears.  Because sound has a finite speed and isn't instantaneous, the sound gets to one ear (your left) faster than the other (your right).  Your brain processes this in terms of the delay difference between ears, and can then tell you exactly where the sound is coming from.

Now let's apply loosely the same principle to your eyes.  Your eyes work on the principle of being able to focus on an object.  If you try to focus on your nose, your eyes have to point in towards each other.  If you look at something very far away, your eyes are looking out almost parallel to each other.  Along the same lines of your ears discerning the location of a sound by the time difference between the sound getting to your ears, your eyes can discern how far away an object is by how much your eyes are pointing together when you focus on it.  Of course there are other visual clues such as juxtaposition (one object in front of another) and size relativity, but you get the point.

Now let's get on to the mind tricks.  Put your finger in front of you pointing up (like you're saying "one").  Now focus on something farther away.  Do you see two fingers?  We all know that you don't actually have two fingers, it's just your brain playing tricks on you since you aren't focusing on your finger.  With your finger still up, close your left eye.  You'll notice that your "left finger" is the one you see.  Closing your right eye instead of your left eye, you see that your "right finger" is the only one you see.  Now pretend that us audio/visual guys can do anything we want to, and we can actually somehow make both eyes see different images.  Think a pair of binoculars, but with pictures inside that you can see.  If you were to compare these two pictures side by side, everything looks the same, except for a floating finger in the middle of the picture.  It's the exact same finger, but the finger is in a slightly different position in each image, just like when you did it a second ago.  Looking into this magical pair of binoculars, what do you think you'd see?  Your brain actually wants to "fix" these images just like your finger you held up in front of you.  Because each eye only sees one finger, your brain sees it just like the finger you held up in front of you - as one actual finger.  If you were to focus on it, your brain resolves the image into one finger that actually would look like it's in front of the picture.  Using some different technologies, we can actually pull this trick off in the visual world.


Types of 3D
There are three main ways that we can actually pull this "different eye" trick off.  All three work on the same principle explained above - we want to send a different image to each eye.

Anaglyph

This is the old kind of 3D that was popularized back in the 70's (or something around there...yea, I'm young).  It used a pair of glasses with a red filter for the left eye and a cyan filter for the right eye.  Using an image specially processed with this color difference, each eye gets a different image because the filters pull out the color that the eye isn't supposed to see.  Do a Google search for "anaglyph" and you'll see plenty of examples.

Infitec

This one is really uncommon, but it's out there.  Two projectors are loaded with filters that only pass certain wavelengths of light.  Basically one projector will pass the lower half of the red spectrum, lower half of green, and lower half of blue, while the other projector passes the upper half of red, green, and blue.  Left and right eye images are sent to these separate projectors, land the glasses have the same filtering in each lens.  Because the color spectrum can't be split perfectly even across the two filters, one filter looks green and the other red.  A lot of color adjustments need to be made in the projectors because of this, and the color spectrum never really does look quite right because of the colors that are missing for each respective eye.  Nevertheless, it does look much better than anaglyph 3D.

Polarized Lenses

You may know of polarized sunglasses that reduce glare off of the road.  This is the same sort of thing.  Think of a wave on a lake or the ocean.  Looking at the wave, you see it travelling across the water.  If you were to look at a certain spot on the water, though, you'd see the water rising and falling as the waves go by.  Light acts in the same way - it travels through the air, but moves "up" and "down" through the space.  Normally light doesn't really follow the "up" and "down" rule though.  It just travels in whatever manner it wants to.  If, however, you were to put a whole bunch of really thin bars really close together pointing up and down, you could theoretically make only light travelling "up and down" go through.  This is actually a polarizing filter, and it's exactly what your polarized sunglasses do. If you've ever worn a pair, you know that some of the glare gets through.  No polarizing filter can be perfect.  In addition, if you tilt your head, you start to see a whole lot more of the glare.  This is because the filters are no longer oriented the way they're supposed to be.  Smart people have come up with ways to fix this by putting a "spin" on light coming out of a light source - either clockwise or counter-clockwise.  This is what we call circular polarization.  Because it's circular, you can tilt your head and the polarizing filter doesn't get disoriented.

Active or Shutter Glasses

This is currently the best way to do 3D.  These glasses have an LCD in each eye lens that can block light or let light through.  The display is configured to alternate between showing a "left eye" image and a "right eye" image very quickly, usually somewhere between 60 and 120 times per second.  The active glasses are synchronized to the display so that when the display is showing a right eye image, the right eye shutter is open and the left eye is closed.  Thus your right eye sees the image displayed and your left eye sees (theoretically) black.  When the display alternates to the left eye image, the glasses flip and your left eye sees the image while your right eye sees black.


The main goal of 3D technology is to do the best job of separating out the images to your left and right eyes.  The technologies I just talked about are listed in order of how well they work, with anaglyph being the worst at separating eye images, and active being the best.  Many of you have probably seen some sort of 3D show, whether it be a 3D movie or a place like Disney World.  Nowadays, theaters usually use polarized glasses because they're pretty cheap.  If people take them, no big deal.  Anaglyph glasses are usually used for magazines and commercials like the Superbowl last year because you can't control light polarization in either of these cases.  Active glasses are only used in places where the glasses can be easily kept track of because they still cost hundreds of dollars, but the cost is coming down.  Compared to a few bucks for a set of polarized glasses, it'll be a while before you see active glasses in theaters.

As a side note, here's a good example of 3D that you'd expect to see covered in news and hear about most often.  That's bad 3D.  Good 3D is much harder to come by because people want to do things as cheaply as possible most of the time.  Not only do you have to spend money on the way 3D is delivered to your eyes, but you have to pay for the content development.  I haven't seen it yet, but I've heard that Avatar was pretty good from some reliable sources.  Granted it's only using polarization technology, but it still was reportedly good.


Clear as mud?

Sunday, February 7, 2010

Simple Keyboard Shortcuts

Here's my first topic: keyboard shortcuts.  Microsoft provides Windows users with numerous ways to do the same task - through menus (i.e. File, Edit, Tools, etc.), context menus (those popup menus when you right click), and keyboard shortcuts.  Keyboard shortcuts can save a lot of time if you know how to use them, especially for commonly repeated tasks.

First some ground rules:
Ctrl is the Control key.  Usually this is labeled as "Ctrl".  There are two of them, both doing the same thing, just in different locations for convenience.  One is on the bottom left of your keyboard, the other on the bottom right, usually right next to the arrow keys.
Shift is the Shift key.  Same deal as the Control key - there are two on opposite sides of the keyboard, usually the key above the Control key.
Tab key came from the typewriter's ability to move a set amount of space, usually for indenting paragraphs. It can be found on the left side of the keyboard, right below the numbers.
Windows is the Windows key.  It's a tricky little guy - it's not labeled as "Windows" - it instead has the Windows logo on it.  Sometimes there are two of them on opposite sides of the keyboard, but sometimes only one.  If there's only one, then it's usually on the bottom left of your keyboard right next to Control.

If you see a key combo written, for example, as Ctrl+C, that means hold down the Control key, hit the C key, then take your fingers off of both of them.  Think of it as the Shift key, but instead of making the letter capitalized instead of lowercase, you're being provided with a set of command keys.

So here we go.


Common shortcuts
Ctrl+C: copy the selected text, file, or whatever else you can highlight
Ctrl+X: cut the selected text, file, or whatever else you can highlight
Ctrl+V: paste what you just copied
Ctrl+Z: undo your last action
Ctrl+Y: redo your last action (generally only something that you just used the "Undo" command on)
Ctrl+A: select all - can be files/folders in a window, text in a document, or whatever else is up on the active window
Ctrl+S: Save.  If you haven't saved your document yet, it will bring up the "Save As..." window.

Alt+Tab: brings up a window that shows all windows that you have open.  Holding down Alt while hitting Tab multiple times will cycle through your options.  In Vista or 7, hitting the Windows+Tab will cycle through windows in a 3D environment.

Tab: Generally people will only use the Tab key while working in a program like Microsoft Word, but it is much more useful than that.  In any well-coded program, hitting the Tab key while in a window with some text fields, buttons, and whatnot will cycle through them.  The most common example is the Windows login screen - the one where you have to hit Ctrl+Alt+Del.  After you enter your user name, try hitting Tab instead of clicking in the password text box.  It will take you right from the username field to the password field, so you don't have to take your hands off your keyboard to log in.  Website forms can be the same way.  Next time you have to enter a whole bunch of information on a web page, just hit Tab to just to the next text box.  Also, Shift+Tab will go to the previous button or text field.

Ctrl+Left Click: Holding down Control while clicking files or folders in Explorer will select multiple items.  This also works for things like cells in Excel.  Pretty much any program with lists should allow you to use this.
Shift+Left Click: This one is a little hard to explain, so you just might have to give it a try to see how it works.  If you want to select a bunch of files or folders that are sequential in Explorer, select the first one.  Then, Shift+Left Click the last one in the list.  This will highlight your entire list.  As with Ctrl+Left Click, this one works for programs like Excel as well.


Advanced Shortcuts:
Ctrl+B: toggle Bold text in a word editor
Ctrl+I: toggle Italics text in a word editor
Ctrl+U: toggle Underline text in a word editor
Alt+F4: closes active window or program
Windows+Break: brings up System Properties window
Ctrl+Shift+Esc: brings up Task Manager
Shift+Del: permanently deletes a file or folder - this will skip the Recycle Bin, so be careful using this one
Windows+D: minimizes all windows and goes to the desktop
Windows+R: opens the Run window
Windows+L: locks the desktop on the computer.  Useful for when you get up from your computer at work.


Master these keyboard commands, and you'll save time in everyday computing.

If you're looking for more, Microsoft has a great page on about every shortcut there is.  Check it out if you dare.

Hopes for this Blog

This is the obligatory first posting for any blog.  I'd love to do without it, but I have some explaining to do...

I'm kind of stepping out on a limb here, but I'm hoping that I can use this blog to help people out.  I'd like to tackle everything from computer keyboard shortcuts (already working on that one) to how a car engine works.  Hopefully I can cover what I want to here without estranging anyone.  You don't have to read every blog post if certain ones don't interest you :)

This blog was actually a request by several people (you know who you are!), so hopefully it's everything you want it to be.  If at any time there are things that you want me to cover or try to explain, feel free to comment here or shoot me an email.  Those of you who know me know that I love about anything that deals with technology (like computers and electronics), but also love working with mechanical workings like cars.

So speak up if you want me to tackle a topic, and hopefully I won't run out of things to post!


-Tim