Substitution in a variant dir with Scons

A few months ago, I encountered an issue with Scons and the SubstInFile2 tool. When it is used in a variant dir, when the emitter is called, the variant dir is not yet populated. Unfortunately, the emitter tries to open the file in the variant dir, so this does not work.

The only thing to do is to use the source node in the emitter instead of the variant node. So line 112:

keys = subst_keys(str(s.srcnode()))

And this is it!

Book review: Data Analysis with Open Source Tools

When faced with a new dataset, the issue is to find how it should be analyzed. A lot of books addresses the theoretical way of doing it, but this book gives practical clues to do it. Besides, it isn’t based on commercial tools like MATLAB, but on open source tools that can be freely downloaded on the Internet.

Continue reading Book review: Data Analysis with Open Source Tools

Book review: Multi-Threaded Game Engine Design

I encountered this book, and the title was very appealing. Unfortunately, there are a lot of bad comments on the book, so when I saw it last time on a shelf, I’ve decided to check for myself.

Continue reading Book review: Multi-Threaded Game Engine Design