Finally, after setting the skeleton of the game on
day 1 and
day 2, I’ve managed to get a chess board
where you can actually play. Of course, it’s quite rudimentary and you’ll
have to input the coordinates by typing them, but I think that for the
moment it’ll do.
Yesterday I’ve started a blog post series
where about writing a small chess interface in C. I’ve set up the types
Color, PieceType, Piece, Square and Board, and talked about the
general idea of the game. Finally, I’ve shown some of the logic behind
printing and initializing the Board.
I’ve been programming in Haskell as my main language for almost a year
now. Among other things, I love the concept of purity and expressiveness it
provides. In fact, I’ve gotten so used to the functional paradigm that I’m
having problems when writing code in other languages, as C, which kind of
sucks because I’m a teaching assistant of a subject where we use that
language.
I’ve just made an
advisory
about CVE-2013-1436. It was quite interesting to discover and
exploit. A
patch
with a fix is already available. If you use xmonad along with
xmobar or dzen, you should patch and re-compile your xmonad
binary as soon as posible, or you’ll be exposed to a remote command
injection vulnerability.
Unlike few years ago, current
nouevau drivers work like a
charm. The only major feature I was missing was the ability to control the
fans because by default they’re very noisy, and for me silence is a
feature. Fortunately, as Christmas gift one of the last
commits
of 2012 introduced this functionality.