and has 0 comments
As part of the blog revamp I've modified the styling and code for the board that displays chess PGNs and added file letters and rank numbers as well as highlighting of the last move. I've also sped up the move animation a little. Hopefully it will be more helpful this way.

Also, I noticed that the link overlay I added for external links was behind the YouTube videos. Thankfully there was a relative simple fix, albeit one that had to be made on each post. On this occasion I've created the new 'video' tag that complements the old 'picture' tag which applies to anything visual, be it video or just images, I've refreshed the videos that were removed, updated all the links to the new YouTube iframe embedding mode.

The tag system is something that evolved organically on this blog, starting with 'programming' and 'misc' (which actually is anything not related to programming) and ending with such ridiculous stuff like the 'picture' tag or the 'essay' and 'personal' tags, for which even I get confused about what they are. Perhaps some day I will reorganize it, but until then (and until Blogger finds a way to remove the restriction that only up to 50 posts can be affected by tag changes) try to remember the main tags on the blog:
  • programming - refers to anything related to software development
  • misc - unrelated to software development
  • software - posts about specific software
  • music, movies, books - relating to music, movies and books
  • picture - containing embedded images or video
  • video - containing embedded video
  • administrative - related to this blog

and has 0 comments

A wing gambit is a way for one of the players in a game of chess to sacrifice a pawn on the b or g files in order to deflect defenders of the center. Like all gambits, it is an aggressive attempt to gain position by sacrificing material, in this case, an attempt to control the center of the board. Today I want to talk about a gambit that occurred to me while I was thinking of a way to play against the Sicilian Defence. It involves moving a pawn to b4 to counteract the Black move c5, which is also, in a way, a sort of wing attack. I liked the concept: you outflank the opponent. Looking in the chess database, this is called the Sicilian Wing Gambit.

The first thing to notice is that the b pawn is irremediably lost. Declining the gambit brings no advantages to Black whatsoever, so they must take. After c5xb4, you have lost a pawn and also blocked the c3 square, the traditional best starting point of the queen's knight. So, as white, you have moved two pawns, lost one and also the best square for one of the minor pieces, while developing none. It doesn't look good and, for that reason, this gambit has been scorned in the past as unprincipled. It has made a comeback, though. It is not something you should expect to see at world chess championships, but it is good for blitz games and for throwing your opponent off track.

Even if White appears to have lost time, material and positional advantage, there is no clear way for Black to punish them. We will examine some of the options that Black has and where they led in various database and computer simulated games. The next move of White's is a3, attacking the pawn and preparing to open the a file. Another option of White's is to immediately challenge the center with d4. We will examine both options, as well as some rare variations (of such a rare gambit), like Nf3. So here is the PGN file I've compiled. Move carefully through all variations and read the comments. It might intrigue you enough that you would adopt the Sicilian Wing Gambit as a permanent part of your chess repertoire:
1. e4 c5 2. b4 {challenges c5 in order to deflect it from d4} cxb4
(2... b6 3. bxc5
(3. Bc4 {White is not forced to take.} e6)
(3. Nf3 {A normal development plan can be attempted while deciding what to do on c5} Bb7)
(3. b5 {Or even push the pawn forward, blocking the b knight and the rook for a while} Bb7
(3... a6 {although I don't particularly like the possibilities after a6.})
4. Nc3 e6 5. Nf3 Nf6)
3... bxc5 {Here Black declined the gambit and maintained a pawn on c4.} 4. Nc3 Nc6 5. Rb1 {But White gets first to control the open b file.} g6 6. g3 Bg7 7. Bg2 Ba6 {Black has tried to revert to their original Sicilian plan, but some parts are clearly different because of the lack of the b pawns})
3. a3
(3. d4 {White might want to move for the center immediately} d5 4. e5 {But here the engines give almost one full pawn to black}
(4. exd5 Qxd5 {while here the Black queen is safe from harassment because the b4 pawn is still there.})
4... Nc6)
(3. Nf3 {This is the line suggested by a chess engine. I'll follow it through a little more.} Nf6 4. e5 Nd5 5. a3 d6 6. Bc4 dxe5 7. Nxe5 e6 8. axb4 Bxb4 9. Bb2 O-O 10. O-O Qg5 11. Re1 Nc6 12. Qf3 Bd6 {No humans have played a game like this. From here the engine mercilessly simplifies the situation.} 13. Nxc6 bxc6 14. g3 Qf5 15. Qxf5 exf5 16. Bxd5 cxd5 17. Ba3 Bxa3 18. Rxa3 {Black has managed to control the center, even if the White rooks are really active.} Be6 19. Ra5 d4 20. Na3 Rfc8 21. d3 {At this point I ended the simulation. Clearly White has failed to control the center and gained only limited mobility. Black has an extra doubled pawn and the game will probably draw.})
(3. c4 {Santasiere variation: an even more gambity move, baiting b4xc3 followed by Nc3 and gaining development and center control. The few games that played like this did not finish well for White, though.} bxc3 4. Nxc3 g6 5. Bc4 Nc6 6. Nf3 Bg7 7. O-O Nf6 8. e5 Ng4 9. d4 O-O 10. h3 Nh6 11. Bf4 d6 12. Qe2 Nf5 13. Rfd1 Qa5 14. Rac1 e6 {This is an entire game that ended in an agreed draw - Rainer-Guenter 1995})
3... bxa3
(3... d5 4. exd5 {this is the main move}
(4. f3 e5 {A single game with this situation. White has delayed too much piece development and pushing of the d pawn. Black won.})
(4. e5 {But this is met more and more in Blitz games.} Nc6 5. d4 Bf5
(5... Qb6 6. Be3 Bf5 7. Bd3 Bxd3 8. Qxd3 e6 {This is the recommendation in the video, with Black having a better game.} 9. Ne2 Nge7 10. O-O Nf5 11. axb4 Bxb4 12. c3 Be7 13. Nd2 O-O 14. Nf4 Rfd8 15. g4 Nxe3 16. Qxe3 {Black is better with the a and b passed pawns.})
6. axb4 Nxb4 7. Bb5+
(7. Na3 e6 8. c3 Nc6 {This is the situation covered in the video, Black has extra development, but difficulty in continuing it. White eyes b5 and has everything wide open.})
7... Bd7)
4... Qxd5
(4... Nf6 5. axb4 Nxd5 6. Nf3 Nxb4 7. d4 Bf5 8. Na3 e6)
5. Nf3 {Marshall variation}
(5. Bb2 {Marienbad variation} e5 6. axb4)
5... e5 6. axb4
(6. Bb2 Nc6 7. c4 {en passant would be a bad move, due to Nc3} Qe6 8. Bd3 Nf6 9. O-O Bd6 10. Re1 O-O 11. axb4 Nxb4 12. Bf1 e4 13. d3 Qd7 14. dxe4 Bc5 15. Bxf6 Qxd1 16. Rxd1 gxf6 {Another variation from the video, stopped here as it didn't look very promising for Black.})
6... Bxb4 {White's plan backfired. Instead of a strong center and fast development, Black has the center and a strong center queen. The engines, however, show a mere 0.2pawns in advantage for Black.})
(3... e6 4. axb4 Bxb4 5. c3 Be7 {Another win for Black: a silly dark bishop, a blocked knight, but White keeps control over part of the center and controls one open semifile.})
(3... Qa5 {A possible annoying move} 4. Bb2 {But this solves most of the issues.} Nc6 5. Nf3 Nf6 6. Bd3 {Yet not all. The d pawn is effectively pinned.})
(3... Nf6 4. e5 Nd5 5. axb4 Nxb4 6. c3 N4c6 7. d4 {Black has a knight out, but White has a monster pawn chain, an open semi file and a lot of open avenues. Black will attempt to control the light squares, while White will be busy trying to achieve some sort of king safety.})
4. Nxa3 {A knight on the rim is dim, but here it prepares to go to b5, where it would force the queen to defend c7 and threaten a7} d6 5. d4 {Black wanted to stop White from having a two pawn center. Instead, even a three pawn center is possible.} Nf6 6. Bd3 {this seems to be the mainline, but even so, there are only 43 games starting like this in my game database} Nc6 {From here, engines and database, all three games, show equality between players.} *


Take notice that I am still a beginner in chess and my analysis is based on what I've compiled from the database of chess games and a video. Here is a video and the PGN of a game that played along the main line in my analysis (Vladimir Grabinsky 2361 - Albert Lyubimtsev 2148, from 2003) where White won.

[youtube:yN73tcJlsKw]

1. e4 c5 2. b4 cxb4 3. a3 bxa3 4. Nxa3 d6 5. d4 Nf6 6. Bd3 Nc6 7. c3 g6 8. Ne2 Bg7 9. O-O O-O 10. f4 Ne8 11. Kh1 Nc7 12. Qe1 a6 13. f5 b5 14. Nc2 Bd7 15. Qh4 Ne8 16. Rf3 e6 17. Qg3 {White missed an opportunity here, according to the chess engine.}
(17. Bg5 f6 18. Rh3 fxg5 19. Qxh7+ Kf7 20. Qxg6+ Ke7 21. Qxg5+ Rf6 22. Nf4 exf5 23. Re1 Kf8 24. exf5 Rh6 25. Rxe8+ Bxe8
(25. .. Qxe8 {This would have been a blunder leading to massive material loss and/or mate in about 15 moves.})
26. Qxh6 Bxh6 27. Ne6+ Ke7 28. Nxd8 Nxd8 29. Rxh6 {A much simplified position, where White has two extra pawns and Black has an exposed king.})
17. .. e5 18. Be3 Bf6 19. Raf1 Ng7 20. Bh6 {This move maintains both sides to a near equality, with a slight advantage for White.}
(20. d5 {The computer sees this option, which wins almost a pawn immediately and locks the king side from the defence of Black's pieces} Bh4 21. Qh3 Nb8 22. g4 Ne8 23. Bh6 g5 24. f6 b4 25. Ne3 a5 26. cxb4 Qc8 27. bxa5 Na6 28. Ng3 Qc5 29. Ngf5 Ra7 30. Ne7+ Kh8 31. Bxf8 h5 32. Bh6 Qxe3 33. Rxe3 Bxg4 34. Qg2 Kh7 35. Bxg5 Rxe7
(35. .. Bxg5 36. Rh3 Nxf6
(36. .. Bxh3 37. Qxg5 Bg2+ 38. Qxg2 Nxf6 39. Rxf6 Rxe7 40. Qg5 Re6 41. dxe6 fxe6 42. Rh6#)
37. Rxf6 Kg7
(37. .. Bxf6 38. Qxg4 h4 39. Qg8+ Kh6 40. Nf5+ Kh5 41. Be2#)
(37. .. Rxe7 38. Qxg4 Kg8 39. Qxg5+ Kf8 40. Rxh5 Ke8 41. Rxd6 f6 42. Qg8#) 38. Rxh5 Rc7 39. Qxg4 Rc1+ 40. Rf1 Rxf1+ 41. Bxf1 f5 42. Qxf5 Bxe7 43. Rh7+ Kg8 44. Qf7#)
36. Bxh4 Nac7 37. fxe7 f6 38. Be2 f5 39. Bxg4 hxg4 40. Rxf5 Ng7 41. Qxg4 Nce6 42. Rh5+ Nxh5 43. Qxh5+ Kg8 44. dxe6 d5 45. Rg3#)
20. .. Qe7 {-2.11/15 10 The engine recommends Ne3, which leads to a variation where for more than 20 moves white appears to be a minor piece ahead, only the score is positional only. Queens come off the board, too.} 21. Qf2 {+0.26/14 10 Alekhin's Gun always looks impressive. From here it goes downhill for Black.} gxf5 22. Rg3 f4 23. Nxf4 exf4 24. Qxf4 Nd8 25. e5 *


Update: I've updated the above game with some computer analysis.

It is important to understand that Black did not lose because of the wing gambit, but because of their own mistakes further on. According to the computer, both players had almost complete equality up to almost the 20th move, which does not bode well for White. Most chess engines give about 0.25 points to White for having the first move, so somewhere that advantage was lost. However, we are not computers.

For what I see in the various games that were played using this anti Sicilian opening, I see several key points where each side is trying to reach. A common theme is the pushing of the e pawn from e4 to e5, defending it with d4 and defending that (while cutting access to the White king) with c3. Other variations see a strong three pawn center for White, making a sham of Black's attempted Sicilian. Moving the e pawn prematurely, before getting rid of the Black b4 pawn seems to be a mistake, though, even if it immediately achieves the classic two pawn center. The a3 move seems to want to open up the a file for the rook, but in the simulations I've run, the rook doesn't seem to have an important role. Also to note is that the queen side knight will most likely take the Black pawn on a3, which takes it to the rim of the board and away from the center. So even if control of the center is achieved, maintaining it might become problematic. Gutsy c4 pawn push, goading Black to take it en passant, only works if Black falls for it and even so, not very well: the knight on c3 will remain undefended on a move like d4. The computers recommend Black ignoring that pawn and pushing to e5 with more than half a point advantage.

On Black's side, it appears as there are several strategies as well. Defending with b6 declines the gambit and leads to something similar to the original Sicilian, regardless of the desired flavour of it. Even if White is pushing the pawn to b5 and hinders the development of the Black queen side knight. While the Black pawn is still on b4, attempts to break out the center, like the Scandinavian looking d5 work better, as an exchange on that square can end with a comfortable Black queen on d5 without the threat of Nc3. In general, taking the pawn on a3 seems to be a mistake, as White will only aid in the dark bishop's development if they take and the Black pawn on b4 can be defended in multiple ways further on, invalidating the gambit. A possible annoying move for White is moving the Queen to a5 and the recommendation of the guy in the video is to move it on b6, an intriguing strategy that seems to break the opening principle of not bringing the queen out too soon. Moving the e pawn at least to e6 seems to bring benefits as well.

Even if the Sicilian Wing Gambit is not very common and thus not analysed in depth so much, it doesn't mean it can't be a useful tool. I know that most chess opening videos have more to offer than what I posted above, but given the rarity of the gambit, it only makes sense to have less information on it, no tested traps, etc. If you play this opening, please let me know. I could update this post with your real life experience playing it.

Update: I've found a page where GM Roman Dzindzichashvili considers the Wing Gambit in the Sicilian a reason to seek psychiatric help :) Here is the link.
Also, I have updated the PGN with the official names for some of the variations of the gambit.

Update 8 March 2016: I've revisited this gambit with more research and computer analysis, check it out: Sicilian Wing Gambit - Revisited

and has 0 comments
I started reading The Passage because of an Internet review. It was so exuberantly positive that I thought I would have a great time reading the story. It said "I don’t think I’m exaggerating when I say that almost everyone has heard about The Passage by Justin Cronin by now. At least the people in the booking world have." The only explanation I have now, having read the book, is that the reviewer is a bookie and they have some sick sense of choosing what they read. Ok, I am a little mean. Truth is that other people that I respect have blogged about the book and recommended it; I just can't fathom why.

Partly to blame is the writing style. Justin Cronin needs to make you understand what everyone is feeling by describing the most mundane parts of their lives and what they experienced. It's not the good type of description, where you get to know the people because of their thoughts and actions, it's just a lot of internal monologues on subjects I couldn't care less about. I feel that a good book is the one that contains mostly ideas relevant to the subject of the book and most of what these people thought or did was not. I am not very good with other people's feelings, so I thought it was all me and I continued to read through the book as a virus from South America that made people into blood thirsty immortal creatures was brought in the US in order to study how it could be used to create weapons. Not the best plot device ever, but I was already forcing myself to suspend my disbelief. (Cronin, that was your job, not mine!) Naturally, the virus escapes containment, unleashing chaos and destruction on the face of the world. I was a third into this rather long book when all the characters so painstakingly described disappear. They all die. Fast forward almost a century later. Now you see my dilemma? How can that be good writing?

Anyway, now people are living inside a high walled colony (because vampires can't enter a makeshift colony defended by lights and crossbows, but they have defeated armoured vehicles and military bunkers) and believe themselves to be the last remains of humanity. All 100 of them. I have to, again, read all about the feelings of people and how they see themselves and the world. Here we get some chapters extracted from people's diaries that are presented at some future outbreak conference. So, halfway through the book, we know it will end well. In case I was starting to enjoy the story. There are some heroic characters around, they do heroic stuff, then, another third in the book, they leave the colony. About a dozen or so. They go through vampire infested territory, losing a few people and the opportunity to know how they felt about it, and find out some important information on how to defeat the vampires. They were not the only remnants of humanity, no, humanity was nice and well fighting the vampires in the most ridiculous and inefficient manner possible. So, after completely removing another 95% of all the characters we got to know uselessly, we have a Mad Max kind of ride to other people. Lucky for me, these other people were pretty much empty plot devices so I didn't get to know how they felt one way or the other. Blessed joy!

At this point I was barely containing my impatience for the book to end. Some sort of bloody resolution to the mess I had read until then. They kill a master-vampire, they get a powerful version of the virus that makes people hybrids and retain their memories, they use a nuke! Wonderful. Then some idiotic woman decides she knows what is best and makes a completely unilateral decision based on "humanity" which pretty much dooms them all and separates the main character from his love forever, but they all accept it as "what should be". Fuming with frustration, I speed it up in order to get to the end of the book, mere tens of pages coming. And it comes. With a little religious crap and a sort of lame cliffhanger and a complete stop. Guess what? It's a bloody saga! See the book cover, there is more coming!

So I am sorry, Axe! I am sorry, Wertzone! I hated the book. It was as pointless as it wasn't making any sense. Maybe the guy can write, but I couldn't notice it because of all the ridiculous premises of the book and all the feely descriptions. I will not read the rest, I will not recommend this book and, if for some strange reason OMG, everybody is talking about this book, tell them you read it here: read something else!

When I first created my blog (oh, almost seven years ago), spam was something that automated software was posting, mindless comments that I can't imagine would inspire anyone to do anything. Cialis, Viagra, cheap fake Rolexes (as opposed to the expensive ones, I guess), pleasing my woman in bed, lasting longer; how could anyone imagine that, wanting all of these, I searched on the net, tried all the options, then still needed more? How much pleasing does my wife need anyway?(I'll have to look into that). Back then, I didn't even have a method to see all the comments for the blog and/or to delete the spam. Or any way to report it. I had to go to each post and remove them manually, even if they were identical texts and any tool could have noticed they were complete clones and, therefore, spam. Anyway CAPTCHAs were and are being used to stop these evil machines from polluting blog posts, yet sometimes they were not enough.

This was the first step in the blog spam evolution: if machines are stopping the spam machines, let's use humans. Getting so low that you need to have to write spam on people's blogs in order to win some money is something I thankfully never experienced or even understood and I hope I never will, but this is what I suppose happened. Some guy was randomly exploring the web, finding blogs that had enough visitors, then writing spammy comments in the hope that the blog master is not active enough to delete them as they are written. I hope I was active enough and, for those annoyed by post spam, I apologize. So, it didn't work too well for spammers on Siderite's blog.

Another mutation and the spam comments were now aimed at soothing my ego. "Thank you!","This info was great!","I am so glad that I read this post.". I felt wonderful the first few seconds before getting a comment email and opening it to see it riddled with links that had no connection to the content of the post. I felt so cheated that I created a javascript code to recognize any comment with the links I found and replace it with words acclaiming my work against spam. Now, THAT soothed my ego a little longer, thank you very much.

One of the feature of Blogger is that someone posts with a URL, their username appears as that link and goes to the person's "blog". So here I was, reading this comment that contained nothing bad, no links, but seemed a little too general. I mean, I know I am great and that my blog is wonderful, but how did other people find that out? I even replied to one or two such comments. My confusion was soon dispelled when going to see who wrote generic posts of praise for me and my blog. Cialis and Viagra were long gone. Instead, I had freemium software packages, trojan scams and fake antivirus packages. I deleted comments like that, even if, for a split second, I had the feeling that the text of the comment was OK and worth preserving. Oh, well.

And here I am, prompted to write this post by the latest wave of mutant spam: comments that are related to the content of the post! They seem very legit, at the limit of being vague. The links from the user name go to a site, but it is not necessarily a spam site. Today, for example, it was a completely free utility to help you play Scrabble. I don't know that it was a Trojan or was filled with ads; it could have been legit, an attempt by some Scrabble enthusiast to make himself known by attaching his web site to the Blogger comments. I always add the link of this blog to my comments elsewhere. I deleted it, anyway, but sometimes I find comments that are so far on the edge of legitimacy, that I don't have the certitude I need to delete them. So, I am pretty convinced that there are still spammy comments on the blog, but so well crafted that I failed to properly detect them.

This also means another thing, that sometimes there are false positives. I apologize to real people who found their comments removed. Try to leave more meaningful messages next time. And yes, it all boils down to that, doesn't it? If you have nothing to say, don't say it! It doesn't help anyone. And I already know the blog is great, tell me in what way it is so wonderful to you. Do tell :)

This is the point I've reached in my war against spam. It is still ongoing and far from over. I wonder when comments that will discuss real philosophical issues will appear, from people that were paid to have meaningful conversations on blogs and link to some site or another. I also wonder when, as people who can actually carry a conversation are expensive, I will find myself have a meaningful conversation with a spam bot.

and has 0 comments
Serial Experiments Lain is a strange little anime. It reminded me a bit of Dennou Coil, but the subject was more akin to the show Caprica, as it covers virtual worlds, disembodied conciousness, gods and the barriers between what is real and what is "Wired". It was also psychedelic as hell at times, full of fractured philosophical ideas that were presented in digital like flashes.

After all its 13 episodes, it is hard to say what I was left with. I enjoyed the show, but more because of its overall subject and weird presentation. I am sure I haven't understood half of what the creators were attempting to communicate. In a way, it is an abstract art anime, which might not appeal to some people and other people might like it for completely different reasons than intended, such as myself. I couldn't shake the feeling that this is what the Japanese would have done if they were making Caprica. How the characters see the connected world is interesting, as something almost occult, that can store human conciousness into protocols that are hardly well understood and that have evolved organically in time. The concepts of ego and self are also explored, when one has to ask: if I am both connected in a virtual world and have a body in the real world, where is "I" ?

All in all a pretty decent anime, something that lacked any attempt to make it artificially humorous. No highschool love stories, no weird lewd jokes, just the plain storyline. I liked it.

and has 1 comment
In a previous post I've written about my thoughts on how to learn chess, with the main emphasis being on game analysis. But how that is done is a matter of time, taste and budget. This post is about how I do it. I don't know how other people are analysing chess games, except from hearing them talk about it, so I am not an authority in the matter, but it will save you some time figuring it out for yourself (which you still have to do even if you read the post :) ).

The easiest way of all is to get a game in PGN form, load it in a chess program, then watch it unfold, while you think about what you would have done differently and highlight what you thought was a good move and a bad move. Of course, that relies on your own thinking, which may be flawed, so you can gain help from a chess engine that will analyse the variations and tell you what it thinks of what you thought. It sounds complicated, but it is not. You ask yourself why the player didn't fork the queen and the rook with the knight, you can do it for them (creating what is called a variation). While you are moving the pieces, a chess engine can suggest, based on the time you let it analyse, what is the best move in that situation.

For this I use Arena Chess GUI, a free chess program, and load up the free chess engine versions of Houdini and Rybka. Arena comes with more engines, so you can try them all, but really it's a matter of taste. I once did a championship of chess with the chess engines available in order to see which is best, but there is no real way of giving both chess engines the same computer resources, so the programming style of each engine makes this only a fun comparison, not a scientific one. There are videos on YouTube with competitions of chess engines; those are fun in their own right. Unfortunately, Arena is not really bug free. There are a few gotchas that you learn the hard way, like don't use the Minimize to tray option if you have the default "load PGN at startup" on, or don't use "save back into PGN", etc.

Of course, most chess engines have a free version and a commercial one. Depending on your seriousness, you can choose to pay money for them and get the advantages of new development in chess computing, but don't expect too much. After all, a computer engine only takes a formula that gives a value for a position and then makes a tree of possible move orders in order to minimize their opponent's advantage and maximize theirs. The algorithm is pretty standard and the formula, which really makes the difference between engines, is the outcome of centuries of chess analysis. The game hasn't changed that much in a few years. And exactly this difference between how humans process a game and how a computer does it, makes this analysis a little flawed. A computer will tell you where you went wrong, but won't be able to devise a winning strategy for you, as it is examining every move like it would be the first. So we move to plan B.

Another option for analysing a game, thanks to the vast database of chess games ever played, is to see what other players, human grandmasters and below, have done in the same situation. A software that was built to do this is ChessBase. And it is true that there is a gazillion of possible chess games, but they all begin kind of the same. The opening principles restrict the way a game can start and for the first 20 or 30 moves, there are a lot of players that did the same thing (and played a decent game). ChessBase is a great program, just like Chess Arena, because it allows flexibility in the way you use it without bundling it all. The program is small to download, then you get to download whatever chess engines you want, game databases, video tutorials, etc. To give you an example of size difference: ChessBase 11 is 150MB, the chess player base is 640MB, a video tutorial of chess openings in ChessBase format is 1500MB, while the MegaDatabase of chess games is 2700MB. You can imagine that there are a lot of games in that database, over five million of them. Unfortunately, ChessBase, the databases and the tutorials are not legally free. They cost around 200 euros, plus a few more for the tutorials. Not much for the effort that was put into them.

The chess blog posts that I am using to publicize games are done by using these kinds of scenarios. I am taking a game that I played with someone or with my phone, I am analysing the game so see where changes in the score have occurred (those are the interesting bits in a game) and then try out variations, using engines or databases to see what else could have been done. It is a good practice to analyse the game as soon as possible, as the ideas that led to the moves are still fresh in your mind. It may seem like a drag, but commenting why you did the moves allows you to understand the game later on, when you are revisiting it. Also a good idea is to have your chess partner do the same thing and then merge the two PGNs into one, that makes clear the overall play. A chess analysis engine will comment every move with what it thought would have been the best continuation and the value of the board at that time. It makes a PGN horrible to read, because even if you put it into a visual display of the PGN, you still want to have a clean, readable PGN file. What you want to do is analyse a single move with the engine, see were it goes, then write a humanly understandable statement like "which would have been disastrous because of the sacrifice of the rook on f8, followed by Qxf7, mate".

As examples, try to compare the following blog post PGNs. My first chess game post, was annotated automatically by ChessMaster XI, which has a human readable annotation engine which I first thought was great. But look at the texts: they are either obvious or resort to stuff like "Leads to 15...Kf7 16.Bh4 h6 17.b4 Rab8 18.a4 Bxf3 19.Qxf3 Be7 20.Ng4 Bxh4 21.Nxe5+ Kg7 22.bxc5, which wins a bishopand two pawns for a bishop and a knight.". Unless used to read PGN like English (which most professional players can, btw, complete with a chess board in their heads), you see a lot of mambo jumbo. A later game post, that contained annotated moves by me, as translated from chess engine analysis.Or this one, which contains no annotations at all. Which one do you like best?

A word of warning, analysing chess games is not a short process. The advantages of the ChessMaster XI auto analysis was that you could leave it on at night, then come back in the morning and see it unfurl before you (and audio read by the chess software). To do it manually, or even let the auto analysis run at night and then decode the best move suggested by the computer and translate, takes a lot of time. I've spent an hour per game to annotate a match (two games) that two coworkers had and that I dutifully stored on my cell phone while they were playing. It was satisfying, but time wasting. A lot like blog posting... I leave you at that. Have fun dissecting chess games.

and has 0 comments
There is, of course, a long tried method of learning chess: find a bunch of people that want to play chess and go fight with them. Like that old Army line: join the Army, meet interesting people, kill them. But also obvious is that this is not the best method there is. You meet old men that play chess every day with other old men that have a lot of time on their hands and, even if they kick your ass rather quickly, you often find ways of defeating them because all their play is organic, lacking a principled structure. And that is what this post is about. I am the least principled player out there, as I have a ridiculously leaky memory and am rather greedy (I want fun games, now, not dirty principles), and therefore I get often beaten by people that should not have been able to defeat me. And, like in the old adventure games: So, you want to be a (principled) chess player - this is the quest.

First of all, don't google "how to learn chess" as you will get swamped by all the chess players that think they can teach you for money and all the software that you need to buy and all the DVDs that you absolutely need to buy. That doesn't mean that if you are patient you wouldn't eventually find what you need and, being a wannabe chess player, you should have a little patience. But if you are like me (why do I want to play chess again?) you don't have patience. Second of all, don't start with chess books. You can find zillions of them on the web, but in order to read them you will have to become very familiar with a chess board. Unlike a video, they will require to read the book with a chess board at hand and do the moves as you read. That pretty much means you can read them only in specific settings and you will feel like an idiot for reading a page a day. Books are great, but not for beginners.

Then there are some free online resources that one can use, lovely chess sites like JRobiChess.com, theChessWebsite or ChessVideos.tv, where one can get multiple opportunities to learn: grandmaster games, videos, tutorial, references. These are great, and I thoroughly recommend them. Also, look for "chess" on YouTube and you will find a plethora of people discussing and teaching chess, some of them completely for passion alone. On JRobi's site you can even find a chess study time recommendation: Opening Study – 10%, Tactical Puzzles - 20%, Endgame Study – 10%, Analyzing Your Games – 30%,Analyzing Master Games – 30% of Time. Let's analyse this plan a little bit and some very interesting ideas will emerge.

As you can see, there is time allotted for openings, only a tenth of the time, and the same amount of time for endgames. This leads to the first very important idea: endgames are (at least) just as important as openings. If you think about it, most of the amateur games, played for fun and not for some chess rating, are spectacularly inaccurate and end in quick mates. That means that most of the "go get'em" practice will teach you about openings and some of the middle game. Once in endgame territory, we are suddenly beginners again, trying to get by and failing miserably. That's why it is important to spend time with endgames. Josh Waitzkin, a US champion at chess, recommended learning endgames even more than openings. He described how, by careful study of just a few pieces on the board (two kings and a pawn, or some other piece, the usual endgame scenarios) he would emerge slightly disadvantaged in the endgame, then crush his opponent, less instructed in this most important part of a chess game. The opening and endgame learning is only a fifth of all learning time, though. Other things are even more important.

20% tactical puzzles. This is the equivalent of learning karate moves out of context. You are not fighting anybody, but you learn to hit them in a particular way. You don't have the pressure of a game, you have all the time in the world, find the best move! Both JRobi's site and Kevin's (theChessWebsite) have daily tactical puzzles. This is actually one of the few exercises that I do almost every work day: I open their sites and do those puzzles. But let me tell you something: if you open a chess book with tactical puzzles, you get some really nasty, mind boggling stuff. These online ones, at least the two I mentioned, are made for people that if they don't immediately see the answer, they start trying moves until they get them right. I should know; that hint button also gets heavy use. So this is one of the moments when I can recommend books, but start with the online ones first and try to see them through before moving.

Now comes the heavy part. We've covered a little more than a third of the time one should spend on chess learning, according to JRobi. The other two thirds are analysing games. That is it. Take the game out of the competition and clinically dissect it until you learn everything there is to learn. A major idea comes out of this, though: if you need to analyse your own games, that means someone must record them as you play. Professional and club games have score cards: they write every move they and their opponent make, the score, even small comments (you will see what I mean when we get to PGNs) and they sign each other's cards at the end of the game. I've never done it, but I imagine it is satisfying to get your adversary to sign their own defeat while you desecrate their own card with your victory scribble (heh!). I also imagine it adds to one's motivation, getting this kind of direct recognition of your effort in the game. Another option, much easily available, is to load a chess game on your mobile phone and set it to two player game. Once you make a move, you make it on the phone as well. At the end, you download the PGN file on your computer for later analysis. With a chess engine at hand and all the time in the world you can see where mistakes were made, where good moves changed the score balance and what was missed. A spectator of the game can do that for you, as well. I originally planned to write in this blog about analysing games, but it has become too long already. I will, therefore, detail that particular part in another blog post.

Of course, analysing the games played at grandmaster level shows how other people are thinking when playing the game. It's not unlike reading material relevant to your line of work. You may be smart, but you are not expecting to think of everything that may be of use to you in a specific context. You read what other wrote on the subject and gain inspiration. And when you see a giant chess player sacrifice a queen for two knights and then mating the other guy in another ten moves, you also gain humility (or you close the bloody game and go watch a movie or something). Indeed, try not to let it get to you. Grandmasters are not geniuses that can outthink you at every step, monsters that can intellectually squash you like a bug, they are people just like you that also dedicated their lives to the game of chess. Professional chess players do it for life. Expecting to understand what they did without a lot of effort is a stupid expectation. It is important to analyse their games and learn from both their mistakes and brilliant moves.

That leaves us with the endgame of this post: computer chess tutors. That is different from playing chess with your computer or pad or cell phone. That enters the first category of just playing. Computers also play differently than people, they are great at not making mistakes and punishing yours, but their design also allows for moves that would mate you in 235 moves or something like that, which is insane for any human being. Don't get me wrong, computers are great practice, but consider that if you beat them at a certain difficulty level, it is because they were programmed to let you. With the computing power available today, a cell phone would probably be able to beat Kasparov. So, back to chess tutors. I've only found one that I liked, and that is the ChessMaster XI game. Incidentally, there is where I've learned of Josh Waitzkin, as he is the voice and mind behind the game tutorials. I've also heard a lot of Fritz, but I haven't found a context where it really tutors you. Fritz is bundled with ChessBase and there are some tutorials with board, PGN games and video that use ChessBase to teach you stuff. There are probably some ChessBase based tutorials, but I haven't searched for them yet.

So, I leave you with this little research I've done, I hope it helps you get better and encourages me to heed my own advice.

and has 0 comments
I found this game on The Kenilworthian blog, a game between Nona Gaprindashvili and Alexander Blagidze. What fascinated me about this particular game is the position after 12... Nc6. Only twelve moves into the game, a position that seems normal, like something one would see when studying a particular opening, and then Bam! Can you see the bam? That is the challenge. Try to find it yourself.

I've analysed the game (very superficially) using Houdini and I've added two variations, just to see what would have happened in the more obvious situations. One question remains: what was really black's downfall? What was black's bad move and what could have been done instead of it? You can see it in the analysed PGN, but try to see it, it's a deceptively silent move.

[Event "USSR"]
[Site "USSR"]
[Date "1963.??.??"]
[Round "?"]
[White "Nona Gaprindashvili"]
[Black "Alexander Blagidze"]
[Result "1-0"]
[BlackElo "2400"]
[ECO "B23"]
[Opening "Sicilian"]
[Variation "Closed, 2...Nc6 3.Bb5 Nd4"]
[WhiteElo "2400"]
[TimeControl "600"]
[Termination "normal"]
[PlyCount "47"]
[WhiteType "human"]
[BlackType "human"]

1. e4 {(e7-e5) +0.10/16 20}
...c5 {(Ng1-f3 Nb8-c6 Nb1-c3 Ng8-f6 d2-d4 c5xd4 N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5 Ke8-d8 Qh5-h4+ Kd8-e8 Qh4-h5 Ke8-d8 Qh5-h4+) 0.00/16 20}
13. Nh5 {(g6xh5 Rf1xf7 h7-h6 Bg5-f4 Bg7-e5 Qd1xh5 Ke8-d8 Qh5-h4+ Kd8-e8 Qh4-h5 Ke8-d8 Qh5-h4+) 0.00/17 20}
...gxh5 {(Rf1xf7 h7-h6 Bg5-f4 Bg7-e5 Qd1xh5 Ke8-d8 Qh5-h4+ Kd8-e8 Qh4-h5 Ke8-d8 Qh5-h4+) 0.00/18 20}
14. Rxf7 {(h7-h6 Bg5-f4 Bg7-e5 Qd1xh5 Ke8-d8 Qh5-h4+ Kd8-e8 Qh4-h5 Ke8-d8 Qh5-h4+) 0.00/18 20}
...Qe5 {(Rf7-f5 Qe5xf5 e4xf5 0-0 f5xe6 d7xe6 Qd1xh5 Bc8-d7 Qh5-g4 Ra8-e8 Bg5-h6 Re8-e7 Bh6xg7 Re7xg7 Bc4xe6+ Kg8-h8 Qg4-h3 Bd7xe6 Qh3xe6 Rg7-f7 Qe6-b3 Rf7-e7 Ra1-f1 Rf8xf1+ Kg1xf1 Kh8-g7 Qb3-d5 h7-h6 Kf1-f2 Re7-f7+ Kf2-g3) -4.44/16 20}
(14. .. Kxf7 15. Qxh5+ Kf8 16. Rf1+ Qf4 17. Rxf4+ Bf6 18. Rxf6+ Ke7 19. Rxe6+ Kf8 20. Re8+ Kg7 21. Qh6#)
15. Rf5
(15. Rf5 Qxf5 16. exf5 O-O 17. fxe6 dxe6 18. Qxh5 Bd7 19. Qg4 Rae8 20. Bh6 Re7 21. Bxg7 Rxg7 22. Bxe6+ Kh8 23. Qh3 Bxe6 24. Qxe6 )
1-0

and has 0 comments

World of Ptavvs is a book first published in 1966, therefore it feels very dated indeed. Still, while reading the book, I've realised how I missed the style of the sci-fi back then, when the world was grand, the future was brilliant, people would all be intelligent and rational, doing what is smart and what is right, with a power of will that defined their very being. Remember Asimov? It's like that! And it's no wonder, both Larry Niven and Isaac Asimov were technical people at their core, even if they have expanded their interests in many other spheres as well. I have to reiterate this: in this time of Generation Me, when everything seems to be focused on the intensity of one's emotions, rather than on what the situation at hand is and what to do about it, when legions of film makers and young adult writers pound this insane idea that what we feel is more important than what we think and our own belief is more important than the welfare of the people around us, in these horrible times books like World of Ptavvs feel like good medicine.

Not the the book was not ridiculous in many aspects. The fusion drives, the trips towards Pluto that took a few days, a "belter" civilisation populating the main asteroid belt and moving around in ships that were essentially huge fusion bombs, the way people with terrible burns and psychic trauma would calmly talk about their ordeal to the scientific investigator come to solve the problem, the idealistic discussions that spawned out of nowhere in moments of maximum tension, the intelligent civilisation of dolphins that dream to go to space, the psionic powers... all of these were at the same time wonderful to behold and quite silly. However, I liked the book, I gobbled it up.

The plot is about this alien that can control the minds of others. Their entire civilisation is based on enslaving other populations via their Power. He is the victim of a malfunction in space and activates a retarder field that will protect him from time and space interactions until someone removes him from this stasis. Thus, he reaches Earth and remains on the bottom of the ocean for billions of years. When people get him out of his shell, all hell breaks loose, the book transforming into a space race and a philosophical introspection at the same time.

I can't make justice to the subject in a few words any more than I can do it in more words without spoiling the pleasure of the read - I've already said too much. If you feel you are in the mood for old school sci-fi, World of Ptavvs is a good book, reminiscent of the works of Asimov or van Vogt. Silly, yet grandiose at the same time.

and has 0 comments

I have been called a hipster many a times and that is because I don't really like mainstream things and, instead, choose to see beauty and purpose somewhere else. I'm not really a hipster, though, since the trends I am following are not the latest and I have no sense of fashion. But enough about me. Let's talk about software and it's latest incarnation: mobile and HTML5/javascript and how I despise the hype around something that is, let's put it simply, a combination of lazy programming and market forces. No real innovation, no quality, no soul. A Hollywood of software, if you will.

People, I've seen this before and so have you. There was a time when computing was done on devices that had single digit megahertz chips at their core. Applications and games thrived. Programmers would always complain about the lack of resources and there was a time when 64KB of memory was thought enough for most computing purposes. It was that time that spawned the algorithmic generation, the guys that usually ask you what a graph is or how to manually do a bubble sort on paper when they hire you to work on web sites. You needed to make your software slim and efficient to work on those devices. Then the processor power, memory and drive capacity just exploded. Each step of the way, applications and games thrived. The problem was... they were the same as before, only larger. Wolfenstein became Doom became Quake became Counter Strike became Call of Duty and beyond, the resolution, the realism, the environment ever evolving, but the game staying the same: get some guns and kill something. But still, it was OK, we like things bigger, we want more pixels. It doesn't matter that the Windows operating system grows exponentially to use the increasing space and processing power, yet we use it in about the same way as before. It doesn't matter that the single player games just look better and have the same or even less complexity than the games ten years before. It's a status quo we can live with.

But then browsers came along. Suddenly, there is a whole new market: online apps. One server to bind them all. And we again lament the lack of resources, as we use slow javascript and try the ever annoying Java applets and somehow we settle on Flash. It can be used on any operating system, almost any browser, let's make games with it and place them online. The only reason we do not make entire web sites in Flash remaining SEO. And we lament the lack of programming tools for something that was originally created only for online animation for commercial ads, but we can live with it. All the games we played so joyfully on 80386 processor machines we can now play in a browser, in Flash, on machines that are 100 times faster. No problem there.

Then the smartphones and tablets arrived, with their new operating systems, their weird resolutions and their direct dislike of Flash. Suddenly Flash is no good anymore: it is not open enough, not fast enough, not compatible enough. Instead, let's switch to HTML5 and Javascript, the backbone of the Web. Let's use those. Sure, now we need a faster Javascript, so we think on it a little and Kaboom! Javascript is suddenly 8 times faster. We need new HTML concepts and ideas and Kapow! the HTML standard suddenly changes after years of wallowing between panels and committees. Nothing can stand in the way of change now, we even have portable devices that are faster than the computers we used 10 years ago.

And so we get to today, when my Athlon II 2500+ computer is too slow to play flash games without overheating, because they are made with frameworks designed to output HTML and Javascript. And that is why I can't even move the mouse in browser based HTML5 and Javascript games, even if what the page I am on only wants to do is let me play Angry Birds, a game that would have worked fine, with almost the same level of graphics and certainly the same level of intelligence and entertainment, on a 33Mhz computer from 20 years ago.

I could live with all that, though. I could buy another computer, after all it is a wonder this one even works anymore, but it bothers me so much that I have games and films and software that have been working on this machine for so long and they are mostly better than what I can find today. It bothers me to buy a smartphone or a tablet only to see my rights to use it restricted and conditioned from the people that make them. It bothers me to have lived 20 years with computers, only to have more pixels at the end. I can even imagine my LCD coffin, being put into the ground, with people crying over the touching (really, you can touch them!) floating images from it, while some people would discuss the number of pixels the coffin has. He lived a good life, he got pixels.



I think that The Checklist Manifesto is a book that every technical professional should read. It is simple to read, to the point and extremely useful. I first heard about it in a Scrum training and now, after reading it, I think it was the best thing that came out of it (and it was a pretty awesome training session). What is this book about, then? It is about a surgeon that researches the way a simple checklist can improve the daily routine in a multitude of domains, but mainly, of course, in surgery. And the results are astounding: a two fold reduction in operating room accidents and/or postoperatory infections and complications. Atul Gawande does not stop there, though, he uses examples from other fields to bring his point around, focusing a lot on the one that introduced the wide spread use of checklists: aviation.

There is a lot to learn from this book. I couldn't help always comparing what the author had to say about surgery with the job I am doing, software development, and with the Scrum system we are currently employing. I think that, given he would have heard of Scrum and the industrial management processes it evolved from, Gawande would have surely talked about it in the book. There is no technical field that could not benefit from this, including things like playing chess or one's daily routine. The main idea of the book is that checklists take care of the simple, dumb things that we have to do, in order to unclutter our brain for the complex and intuitive work. It enables self discipline and allows for unexpected increases in efficiency. I am certainly considering using in my own life some of the knowledge I gained, and not only at the workplace.

What I could skim from the book, things that I marked as worthy to remember:
  • Do not punish mistakes, instead give more chances to experience and learning - this is paramount to any analytical process. The purpose is not to kill the host, but to help it adapt to the disease. Own your mistakes, analyse them, learn from them.
  • Decentralize control - let professionals assume responsibility and handle their own jobs as they know best. Dictating every action from the top puts enormous pressure on few people that cannot possibly know everything and react with enough speed to the unpredictable
  • Communication is paramount in managing complex and unexpected situations, while things like checklists can take care of simple and necessary things - this is the main idea of the book, enabling creativity and intuition by checking off the routine stuff
  • A process can help by only changing behaviour - Gawande gives an example where soap was freely given to people, together with instructions on how and when to use it. It had significant beneficial effects on people, not because of the soap per sé, but because it changed behaviour. They were already buying and using soap, but the routine and discipline of soap use was the most important result
  • Team huddles - like in some American sports, when a team is trying to achieve a result, they need to communicate well. One of the important checks for all the lists in the book was a discussion between all team members describing what they are about to do. Equally important is communicating during the task, but also at the end, where conclusions can be drawn and outcomes discussed
  • Checklists can be bad - a good checklist is precise, to the point, easy to use. A long and verbose list can impede people from their task, rather than help them, while vague items in the lists cause more harm than good
  • A very important part of using a checklist system is to clearly define pause points - they are the moments at which people take the list and check things from it. An undefined or vaguely defined pause point is just as bad as useless checklist items
  • Checklists are of two flavours - READ-DO, like a food recipe, with clear actions that must be performed in order, and DO-CONFIRM, where people stop to see what was accomplished and what is left to do, like a shopping list
  • A good checklist should optimally have between five and nine items - the number of items the human brain can easily remember. This is not a strong rule, but it does help
  • Investigate failures - there is no other way to adapt
  • A checklist gotcha is the translation - people might make an effort to make a checklist do wonders in a certain context, only to find that translating it to other cultures is very difficult and prone to errors. A checklist is itself subject to failure investigation and adaptation
  • Lobbying and greed are hurting us - a particularly emotional bit of the book is a small rant in which the author describes how people would have jumped on a pill or an expensive surgical device that would have brought the same great results as checklists, only to observe that people are less interested in something easy to copy, distribute and that doesn't bring benefits to anyone except the patients. That was a painful lesson
  • The star test pilot is dead - there was a time when crazy brave test pilots would risk their lives to test airplanes. The checklist method has removed the need for unnecessary risks and slowly removed the danger and complexity in the test pilot work, thus destroying the mythos. That also reduced the number of useless deaths significantly.
  • The financial investors that behave most like airline captains are the most successful - they balance their own greed or need for excitement with carefully crafted checklists, enabling their "guts" with the certainty that small details were not missed or ignored for reasons of wishful thinking
  • The Hudson river hero(es) - an interesting point was made when describing the Hudson river airplane crash. Even if the crew worked perfectly with each other, keeping their calm in the face of both engines suddenly stopping, calming and preparing the passengers, carefully checking things off their lists and completing each other's tasks, the media pulled hard to make only the pilot a hero. Surely he denied it every time and said that it was a crew effort because he was modest. Clearly he had everything under control. That did not happen and it also explains why the checklist is so effective and yet so few people actually employ it. We dream of something else
  • We are not built for discipline - that is why discipline is something that enables itself. It takes a little discipline to become more disciplined. A checklist ensures a kind of formal discipline in cases previously analysed by yourself. It assumes control over the emotional need for risk and excitement.
  • Optimize the system, not the parts - it is always the best choice to look at something as a whole and improve it as a whole. The author mentions an experiment of building a car from the best parts, taken from different companies. The result was a junk car that was not very good. The way the parts interact with one another is often more important than individual performance

I am ending this review with the two YouTube videos on how to use and how not to use the WHO Surgical Safety Checklist that Atul Gawande created for surgical team all around the globe.



and has 0 comments

I've stumbled upon the Latvian Gambit and wanted to test it immediately against my colleagues. As you will see in the video, it seems a wonderfully aggressive opening, something akin to Shock and Awe, riddled with traps against your opponent. The truth is that it is an unprincipled opening, abandoning material advantage in the hope that your adversary will slip up and expecting you to have the skills to attack and defend accurately as the game progresses. I did manage to capture the queen once, but only after pointing out to my opponent that he could have forked my king and rook, so that the trap would work - he hadn't noticed. In the rest of the games, none of them running the course of the video you will see, the lack of skill on both sides of the table forced me to abandon this gambit for now, instead looking for something more principled and more appropriate for my playing level.

So here is the game from TheChessWebsite:

[youtube:2flPdsk9uz4]

I've experimented with chess engines and watched other videos about the gambit and constructed a rather complex PGN file. You can play with it here. Don't forget to click on the variations to see how the game could progress. There is even a full game there, from a video that has the link in the comment.
[Event "The Latvian Gambit"]
[Site "Siderite's Blog"]
[Date "2012.04.18"]
[Round "?"]
[White "Siderite"]
[Black "Siderite"]
[Result "0-1"]
[BlackElo "2400"]
[ECO "C63"]
[Opening "Spanish"]
[Time "13:45:38"]
[Variation "Schliemann, 4.Nc3 fxe4 5.Nxe4 Nf6"]
[WhiteElo "2400"]
[TimeControl "0+60"]
[Termination "normal"]
[PlyCount "11"]
[WhiteType "human"]
[BlackType "human"]

1. e4 e5 2. Nf3 f5 3. Nxe5 (3. Bc4 3. .. fxe4 4. Nxe5 Nf6 (4. .. Qg5 5. d4
Qxg2 6. Qh5+ g6 7. Bf7+ Kd8 8. Bxg6 Qxh1+ 9. Ke2 c6) (4. .. d5 5. Qh5+ g6
6. Nxg6 hxg6 7. Qxg6+ (7. Qxh8 Kf7 8. Qd4 Be6 9. Bb3 Nc6 10. Qe3 Bh6 11. f4
Nge7) 7. .. Kd7 8. Bxd5 Nf6 9. Nc3 Qe7) 5. Nf7 Qe7 6. Nxh8 d5 7. Be2 (7.
Bb3 Bg4 {White loses the queen, one way or another} 8. f3 exf3+ 9. Kf2 Ne4+
10.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3 Qxf5 9. Bd3 Qf7 10. b3 Nf6 11. Re1+
Kd8 12. Qf3 Nc6 13. Ne4 Qe7 14. Nxf6 Qxf6 15. Qxf6+ gxf6 16. Bb2) 6. .. Nf6
(6. .. Ne7 7. Nc3 d6 8. g3 Qh5+ 9. g4 Qh4 10. Qe1 Qxe1 11. Bb5+ Nbc6 (11.
.. c6 12. Rxe1 cxb5 13. Nd3 Nc6 14. Nxb5) 12. Rxe1 dxe5 13. Rxe5 O-O 14.
Re4 h5 15. h3 Nxf5 16. Bc4+ Kh7 17. gxf5 Bxf5 18. Kg2 Bxe4+ 19. Nxe4 Rae8)
(6. .. b5)) (3. .. fxe4 4. Qh5+ g6 5. Nxg6 Nf6 6. Qe5+) (3. .. d6 4. Qh5+
g6 5. Nxg6 Nf6 6. Qh4) 4. Nc4 (4. d4 d6 5. Nc4 fxe4 6. Nc3 Qg6 7. f3 exf3
8. Qxf3 Nc6 9. Bd3 Qg4) 4. .. fxe4 5. Nc3 Qf7 (5. .. Qg6 6. d3 exd3 7. Bxd3
Qxg2 8. Be4 Qh3 {At this point black has not developed and is lost}) 6. d4
(6. Nxe4 d5) 0-1



Update: Here is another analysis of the Latvian Gambit, by Abby Marshall.
Roman Dzindzichashvili considers the Latvian gambit a sign of mental illness.
Chessexplained also has a video about it.

and has 0 comments
This is the second book by William Golding that I am reading. Unbeknownst to me, it is part of a trilogy! Even Nobel prize winners for Literature seem to can't help but write the damn things. How is one to finish reading all they want to read?! Anyway, the guy wrote Lord of the Flies, reason for the Nobel and a story I enjoyed both as book and movie. Rites of Passage has many similarities with that book. It happens at sea, on a ship, not on an island, but just as removed from the normal rules of civilised society. It reveals dark depths of human morality. It exposes hypocrisy and narrow mindedness. Golding also won an award for it, the Booker prize this time.

So, what is it about? There is this nobleman, godson of an unidentified but very important man, travelling on a ship from England to "the Antipodes" where he is to take an important state office. The guy is the highest socially elevated person on the ship, giving him some sort of equal footing with the captain himself, who is normally king and church on his ship. Now, the book appears as the journal of said guy, of the name of Talbot, written to his godfather, as a means to thank and humour the man, restricted in his own life by the gout disease. That is where the book is at its most difficult: the language is that of an Englishman noble from the 19th century, with antiquated words and funny ways of turning them into sentences. I pride myself on having understood and finished it, but now, that I know it is part of a trilogy, I am a bit disconcerted.

Anyway, the journal of Talbot presents us with the marvellous world of a ship at sea, forcing the reader to both empathise with the man, but also share some of his opinions of the lower castes and of the social system. We get to share his view of the current events as well. He thinks of himself as noble, intellectually and morally superior to other people on the ship, while exercising a benevolent and understanding indulgence at the actions of others. He truly seems to be the most intellectual person on board, as educated in comparison with others as a college graduate is to a four grade drop out. However, he is a bit of a dick, full of condescension and of the weaknesses of all men.

The main moral of the story is that his arrogant views on the world of the ship are reasonable, if taking as true the presuppositions he makes as member of his social class and having his position on the ship. However, they are completely wrong as related to what really happened. We understand this in the second half of the book, where he relates the contents of another man's journal, who's perspectives on the situations turn our perceptions on their head. Also, the finale is quite grotesque, revealing that his blindness to the world around him is, more or less, voluntary and part of the social system he represents.

This is a difficult book to read, but one that opens eyes, so to speak. Not only we get to see how English was meant to be used (bah, Americans! :) ) but also the author is taking us through the recesses of the human mind and society and the experience of the read is a visceral and personal one. If you can handle the language and the slow pace, I recommend reading this book.

There is also a quicker option for the ones who want to see what happens without having to read the books. The To the Ends of the Earth trilogy has been adapted to a miniseries, by the BBC, of course, starring Benedict Cumberbatch.

and has 0 comments
It's been a long time since I've posted a music entry. Here is one from Hanzel und Gretyl, an Industrial Rock band with Nazi overtones singing mostly in German. Actually, I couldn't say what ideology they have, since the band contains two people from New York who are not even German! But I like their music, this one in particular (I've listened to it on repeat for a day or so). Enjoy!

and has 1 comment
Towers of Midnight, the 13th book in the Wheel of Time series and the book before last in the saga, was a great read. As the second volume written by Brandon Sanderson after Robert Jordan's death, it benefited a lot from Sanderson's fluid writing style and the fact that all the stories are coming to their end.

The plot was interesting, too, with all three ta'veren characters doing their part, all the girls (except Nynaeve!) being involved and quite a few Forsaken as well, with interesting gimmicks the Darkfriend previously known as Luc and even a gholam!. The entire Trakand clan is represented and there are blessedly few Aiel. In this book Moiraine is found, there is some news of lovely and terrible Lanfear and someone dies (although, of course, nobody important and they die quite uselessly) while battling Aelfinn and Eelfinn, while The Final Battle approaches, with the revelation of red veilled dark Aiel?

My feeling of the book was one of discovery. Brandon Sanderson is writing this book with the enthusiasm of someone that just started work on a story (because he did!), yet with all the legacy material from Robert Jordan to build upon. No wonder the last part of the series was supposed to be just one book and resulted in three at the end. That means the story feels fresh, even if I have been reading it for the last four months. Also, it is no surprise that Sanderson could not maintain the fearful and deferential view of women that Jordan cultivated in the previous books. Oh, don't worry, they continue to meddle in all the affairs of others and their behaviour is just as erratic and irrational as before, it's just that men don't act like cowed idiots anymore and actually have a backbone. I don't know if this was supposed to happen in the original author's view, but I am willing to bet that it was not. Actually, this is one of the worse points of the story, when Elayne (the queen of Andor), Egwene (the Amyrlin seat) and Faille (Perrin's wife and princess of Saldaea) are plotting and acting like they own the world, while at the same time putting themselves in all sorts of dangers where they have to be saved by others. Of course, the others more often end up dead, but there is always some handy rationalization for behaving like an idiot. Amazingly enough, though, Cadsuane and even Moiraine are behaving quite well. The End must really be coming!

The bottom line is that I have finished reading the series. The last book won't be published until 2013, so now I am free to read other books. Yatta! I've gathered a technical book about refactoring, The Rites of Passage, by William Golding, and The Checklist Manifesto, which I hear is both instructive and interesting to read (not to mention short). So, I guess the wheel won't be turning as the wheel wants until next year. Meanwhile, you're stuck with me!