Keyboard Capers–A Field Guide to Keyboards

August 1, 2012 by . 3 comments

 

Most of us don’t give our keyboards (or mice, I suppose) a second thought. Most of my keyboards tended to be budget logitechs, which while decent lack a certain something.

I preferred the ThinkPad keyboards on my laptops, but when I need to, and tend to write at a single sitting, essays that are a few thousand words long, I needed something better.

If you want a shorter version of this whole blog post,I’d advice that you look at the layout(ergonomic vs standard, and number of keys), the switch type ( membrane/scissor vs mechanical (switch or buckling spring) and Key style (full sized concave, low profile or flat).

Personally, I’m not a fan of split keyboards, or ergonomic ones. They work for some people, by putting the hands in a more natural position while typing. The split keyboard tends to separate the standard QWERTY keyboard in two (though there’s no reason you cannot use Dvorak or Colemak or your local keyboard layout with them).

http://upload.wikimedia.org/wikipedia/commons/thumb/2/26/MS_Natural_Keyboard_Pro.JPG/250px-MS_Natural_Keyboard_Pro.JPG

Microsoft natural keyboard Pro  source

A variant of that theme is the ‘bowl’ keyboard, which splits the keys into two bowl shaped depressions, popularised by the matron and kinesis advantage keyboard. The bowl keyboard design allows for fingers to reach keys with less movement, by fitting around the natural reach of a hand at rest

Advantage USB - Black

Kinesis Advantage

And finally, the Datahand, which is a pretty extreme case of ergonomic keyboards, with nearly no hand movement. It is very sci-fi looking, and supposedly incredibly comfortable once you get used to it.

http://web.archive.org/web/20051231203944im_/http://tim.griffins.ca/gallery/keyboard/akg_datahand_pro.jpg

Source

more »

Filed under Hardware, Reviews

Question of the Week: How can computers calculate exponential math without overflow errors?

July 30, 2012 by . 5 comments

This weeks question of the week comes from Kit-Ho who poses:

Studying some RSA encrypt/decrypt methods, I found this article: An Example of the RSA Algorithm It requires this to decrpyt this message enter image description here The total result of enter image description here is so big, for a 64-bit/32-bit machine, I don’t believe it can hold such a big value in one register. How does the computer do it without an overflow?

 

For those of you that may not know what this “Overflow” that Kit mentioned, he’s talking about a term Stack Overflow.   Here’s the official “Wiki” definition:

 

In software, a stack overflow occurs when too much memory is used on the call stack. The call stack contains a limited amount of memory, often determined at the start of the program. The size of the call stack depends on many factors, including the programming language, machine architecture, multi-threading, and amount of available memory. When a program attempts to use more space than is available on the call stack (that is, when it attempts to access memory beyond the call stack’s bounds, which is essentially a buffer overflow), the stack is said to overflow, typically resulting in a program crash.  This class of software bug is usually caused by one of two types of programming errors.    

 

As pointed out by Dennis (thanks!) I completely got this wrong.  Stack overflow isn’t the issue, but rather integer overflow:

In computer programming, an integer overflow occurs when an arithmetic operation attempts to create a numeric value that is too large to be represented within the available storage space. For instance, adding 1 to the largest value that can be represented constitutes an integer overflow. The most common result in these cases is for the least significant representable bits of the result to be stored (the result is said to wrap). On some processors like GPUs and DSPs, the resultsaturates; that is, once the maximum value is reached, attempts to make it larger simply return the maximum result.  

For example, a mechanical odometer, has a rollover (or reset) after a certain amount of miles:

This is the same as computer integer overflow, where the size of the numbers needed are greater than the object type can hold.  Kit-Ho’s example RSA link exceedes the C#’s max value of 18,446,744,073,709,551,615 of the long type.

Dietrich Epp came up with a great answer as to how computers can calculate these large numerical calculations:

more »

How to check if you’ve been infected by DNS Changer virus.

July 23, 2012 by . 5 comments

Kira asked an interesting question:

How to know if your computer is hit by a dnschanger virus?

In case you didn’t hear, back in November, the FBI took down the company “Rove Digital” which was actually a set of cyber criminals, that created and distributed a DNS changing malware.  Here’s a little more detail straight from the FBI:

Criminals have learned that if they can control a user’s DNS servers, they can control what sites the user connects to on the Internet. By controlling DNS, a criminal can get an unsuspecting user to connect to a fraudulent website or to interfere with that user’s online web browsing. One way criminals do this is by infecting computers with a class of malicious software (malware) called DNSChanger. In this scenario, the criminal uses the malware to change the user’s DNS server settings to replace the ISP’s good DNS servers with bad DNS servers operated by the criminal.

HackToHell also gave a great explanation of what a DNS Changer virus does:

DNS (Domain Name System) is an Internet service that converts user-friendly domain names into the numerical Internet protocol (IP) addresses that computers use to talk to each other. For example, google.com is actually an IP address (173.194.38.164). DNS makes it easier for us to remember the site names. DNS servers convert the domain names into IP addresses. Now the malware, changes the domain naming servers in your computer and uses a different malicious DNS server. This malicious DNS server, swaps IP’s and takes the user to a fake site. enter image description here

Unfortuantely his answer to checking if your computer is infected, is now obsolete.  So here’s and alternative:

more »

When Driver Installations Fail…

June 18, 2012 by . 2 comments

Yesterday, after two of my family members in turns tried to fix a video card driver installation error for 2 – 3 hours, they couldn’t get it to work. Trying it over and over, each time it stopped the progress bar somewhere before the middle, to finally throw up this screen:

NVIDIA Installation Failed

Yeah, this is exactly the moment where you would freak and pull out your hair; especially to plan on finishing the day with some casual gaming. So, their next step was to fire up the device manager in an attempt to manually update the drivers by feeding the devices with the directory full of INF files. But apparently, the devices weren’t so hungry:

Want to give the device manager some INF files? ACCESS DENIED!

more »

A Guide to Disk Imaging, Backup and Restore

March 19, 2012 by . 3 comments

So I finally get to write my own entry for the Super User Blog! Very excited to be here. I’ve been asked to write specifically because I’ve just started working as a developer for Macrium Reflect, a disk imaging solution for Windows-based PCs and super user features a lot of backup questions. So here goes, an as-close-to-canonical tour of disk imaging as I can write. I’ve tried not to be overly technical here, whilst giving you the knowledge to understand the essentials; however, it gets technical from time to time.

more »

Filed under Backup & Restore

Windows 8 & Metro with Mouse and Keyboard

March 9, 2012 by . 13 comments

If you haven’t been living under a rock for the last few months, you probably know all of the following:

  • Windows 8 is the name of Microsoft’s new version of the operating system.
  • Windows 8 sports Metro, an attempt to introduce touch interactions as a first class citizen in Windows without crippling mouse and keyboard interaction.
  • Windows 8 is different. If you’re stuck in 2001 with Windows XP, or GNOME 2 and/or KDE 3, obviously you also aren’t going to like Windows 8. Also I have a few dancing bunnies for you to look at.

This is the most important thing to realize: Windows 8 is different. Different in huge, important ways: It marks the transition to a brave new world in ways similar to what Windows 95 did. To do so, it abandons UI conventions that have been around us since then. The Start button? Gone. The Start menu? Gone. Pressing Start to shut down the computer? No more. Menus (and ribbons)? A thing of the past. Titlebars? Oh, please.

more »

Filed under Reviews, Windows

Understanding the “improved” in VIM

March 6, 2012 by . 5 comments

Sometimes, every once in a while, a programmer feels like I do. VIM should be more efficient, more effective for editing text files yet I find myself reverting to the modern mouse-based approach more often than not.

A rather famous question on Stack Overflow asked for tips on how to be more productive with VIM – and he got one of the best answers I’ve ever seen. Not a list of tips but a working, detailed explanation from Stack Overflow user Jim Dennis. It’s so good, I am copying his answer’s raw source here, running it through the Markdown parser and copied it here.

So, without further ado, over to Jim’ amazing answer.

more »

Filed under Utilities

Kon Boot: Getting into a Client’s Computer without using a Portal Gun

March 1, 2012 by . 3 comments

Okay, here you are again. Another computer from another (self-proclaimed) client for you to fix. So, let’s boot this thing and see what’s wrong with it this time. Okay, first obstacle; logging into the client’s user account. Now for me, repairs would usually pause here while I’m waiting for the moment I can get a hold of my client and ask him or her for the correct password. Annoying…

more »

FFmpeg: The ultimate Video and Audio Manipulation Tool

February 24, 2012 by . 10 comments

What is FFmpeg?

Chances are you’ve probably heard of FFmpeg already. It’s a set of tools dedicated to decoding, encoding and transcoding video and audio. FFmpeg is based on the popular libavcodec and libavformat libraries that can be found in many other video conversion applications, like Handbrake.

So why would you need FFmpeg? Got a video in an obscure format that every other player couldn’t recognize? Transcode it with FFmpeg. Want to automate cutting video segments out of movies? Write a short batch script that uses FFmpeg. Where I work, I constantly have to encode and process video material, and I’d never want to go back to using a GUI tool for doing this.

This post is a follow-up on Video Conversion done right: Codecs and Software, where I discussed the various codecs and containers that you can find these days. For a quick overview, I’d suggest to read this one as well, because it covers some important basics.

Now, let’s dive into the more practical aspects.

more »

Filed under Compression, Software, Utilities

WTFriday: What happens when Windows runs out of Disk Space?

February 17, 2012 by . 11 comments

I have been using the Windows 8 Developer Preview for about 5 months or so and in order to install it on my PC, I had to create a rather small partition on my primary hard drive consisting of only about 16GB. Thankfully, a clean install of Windows 8 will fit comfortably within that space and still provide enough room for some basic utilities and drivers (of course, I do have other secondary partitions that I use for installing applications).

During the installation of a particular application, the free disk space on the partition dropped to about 28MB. One of the users over in the Root Access chat room suggested that I try filling the disk until it is completely full and then blogging about what happens – hence this article. I was a bit reluctant at first since I didn’t want the hassle of reinstalling anything if it became corrupted somehow, but since I have up to date backups of everything, I decided to proceed anyway.

more »