Wednesday, July 7, 2010

[RANDOM] More Chess!

I've been in a chess mood lately and been reading up on a lot of chess-related wikipedia articles.

For example, did you know that the "first-move advantage" in chess that goes to White has been debated for a long time whether it even exists? While the current prevalent idea is that against an equal opponent you should expect to win as White and draw as Black, this is far from universal and has been debated for a long time. If White does have an advantage, it only comes out to about 2 to 6% more won games.

Here's another link on cheating in chess, most of which is either getting help from outside sources (meeting them in the bathroom, sneaking looks at a handheld computer, etc.) or touching a piece and not moving it.

Another link on world records in chess. The "worst performance in simultaneous games" is pretty amusing, with Robert Wade losing 20 out of 30 games, including one to a seven-year-old.

Underpromotion (promoting a pawn to anything other than a queen) is very rare, but does occur in certain very specialized circumstances. It usually happens when promoting the pawn to a queen would result in a stalemate.

Antichess is a cool chess variant where both sides try to lose all their pieces first, and kings have no special powers (no "checking" occurs). Players must capture a piece if it is possible.

Some other clever chess variants exist. Chess boxing is alternating rounds of chess and real boxing, with victory possible via knockout or checkmate. Chess960 was created by Bobby Fischer that randomizes the back rank of pieces. There are other really cool variations that seem real fun to play too- for example, using different numbers of starting pieces or capturing rules.


Monday, June 28, 2010

[RANDOM]Kasparov vs. the World

Nifty chess game between one of the best players of all time against, well, the world. Garry Kasparov played against the entire internet. Anyone was able to suggest moves, and the move with a plurality was selected. Both sides had 24 hours to make their move.

The World team also had help from four great young chess players who suggested moves, and discussions occurred on a Microsoft sponsored online bulletin board.

Monday, May 3, 2010

[CODE] How to alias commands in unix shells

One of those annoying things that takes more time to look up than it really should.

Example:

alias s='cd ..'

is one of my favorites.

If you need to know more details, man alias.

Checkdisk, and why it's a pain

Checkdisk, also known as chkdsk, is a Windows tool that scans your hard drive and checks for, and attempts to fix, problems with it. Generally speaking it can only be run after you restart, since it requires exclusive access to the drive in question.

The main way people use tend to use chkdsk is to right click on the drive in Windows Explorer, go to Tools and then click the button for Error checking. This will schedule a chkdsk for the next time your computer starts.

The problem with this is what happens when something goes wrong. For example, my computer was suffering from freezes that I suspected were related to my accidentally pulling out the power cord when plugging my external hard drive (ironically to back up my stuff).

Upon restart, it performs a chkdsk. When that finishes after several hours, it blue screens. When it restarts, it does a chkdsk again.

See the problem? If a chkdsk isn't completed successfully the drive stays "dirty", indicating that a chkdsk should be run on the next startup. This continues only a chkdsk succesfully completes, which is likely to be never unless you do something about it.

This is why you should do chkdsk from a safe mode command prompt so that if something goes wrong, you don't get into an infinite loop of chkdsk.

I can't boot into safe mode with command prompt, but that's another problem...

You also can't cancel a chkdsk that's already in progress short of restarting. Ctrl-c doesn't work.

Monday, April 12, 2010

[RANDOM] Google chatting to a cell phone

Some people out there know this already, but you can send Gchat messages to a cell phone. It's awesome and has no setup time- just punch in the phone number after you enable the feature in Labs.

http://www.gizmodo.com.au/2008/10/google_adding_text_messaging_to_gchat_in_gmail-2/

Go nuts!

Friday, April 9, 2010

[RANDOM] How to lock IKEA telescoping "A" legs

Ok, so this drove me crazy until I figured out what the trick is.

If you've ever bought IKEA furniture, in particular anything that has a choice between T legs and A legs, DO NOT BUY THE A LEGS.

The hassle it will be trying to adjust and lock those legs while keeping your surface level will drive you insane. Don't be cheap on this; spend the extra $50 or whatever to get the better legs.

However, if you do have A legs, like me, the way to unlock and lock them is counterintuitive.

Unscrew the legs CLOCKWISE (yes, that is reversed from normal) to unlock them. Adjust height. Screw COUNTER-CLOCKWISE to lock.

If you go to the IKEA website and find instructions, it will tell you the same thing. Go to page 40 to see the cartoon for it.

This drove me nuts because I've had this desk for a couple years and forgot that it's reversed (and lost the original instructions).