I couldn’t find a single article explaining the different ways of connecting two Go applications using gRPC. After many tries, I came to the final 3 most useful ways to go: Basic connection, no security First, and easiest, is to not use TLS at all and not require any certificate. This mode is most useful […]
I just noticed that none of my neovim configuration parameters were read today (yes, I know, it’s been a while I moved to atom for my Go programming). As of today, they were stored in the ~/.nvim directory and the main confiugration file was ~/.nvim/nvimrc . I checked the content of my configuration file, without seeing […]
I thought developing using Flask on the backend and using jQuery on the front-end (navigator) would be quite easy. In fact it is, but there are some small traps that can take you time to resolve. A regular case would be, when developing a form, to use Flask with WTForms (Flask-WTF to the rescue!). No […]
I’ve been subscribed to Tim Brennan’s newsletter (sent out every week) for quite some time now, so when he wrote this cool book on chess tactics, I was really delighted. I was even more delighted when I saw that it is written in collaboration with Anthea Carson. All my kids know her for her animal chess […]
Fail2ban is a really cool log analyzer (mostly) that can block ips using several different methods (iptables, ipfw, ip route blackhole, etc.). The problem is that you have to define filters (regexes in fact) that will trigger the ban for each service, because each one has a different way to report anomalies. There are not […]
OK, I’m shameful. After fighting with Scid’s exporter, and then correcting bugs in pgn2ltx’s source, I finally decided to take a look at that PGN file format. And guess what? It’s already composed of FEN notation. And guess what? that super-über cool new skaknew module for LaTeX gets its input as FEN!!
Update: A new updated version of the PDF is available, which includes which side to play. After a request to have coordinates on the board, to be able to write answers (a really nice idea, especially that Ido begins writing), I noticed I couldn’t do it so easily, because the LaTeX module (chess12) didn’t support […]
Testing your code is nearly a requirement (even more so in Ruby). Unittests are now the most vital elements for evaluating the quality/viability of a project. I was a little jealous of Ruby where you don’t have so much to write to implement unittests. Here is a simple example: require “mymodule” require “test/unit” class TestMyModule […]