Cassandra Database
Last week I had an opportunity to experiment with Cassandra database in a semi-real environment. A few notes: Cassandra goes out of its way to be friendly to “traditional” SQL […]
Last week I had an opportunity to experiment with Cassandra database in a semi-real environment. A few notes: Cassandra goes out of its way to be friendly to “traditional” SQL […]
Another entry to the [error message] => [solution] hash table. Context: C++ build with Conan. Error: relocation R_X86_64_PC32 against undefined hidden symbol `_ZTCN5boost10wrapexceptISt11logic_errorEE0_NS_16exception_detail10clone_implINS3_19error_info_injectorIS1_EEEE’ can not be used when making a […]
As part of the conanfile.py, add the following: def generate(self): toolchain = CMakeToolchain(self) toolchain.variables[‘CMAKE_VERBOSE_MAKEFILE’] = ‘ON’ toolchain.generate() CMakeDeps(self).generate() Build output without CMAKE_VERBOSE_MAKEFILE: [ 78%] Building CXX object cpp/test/unit/CMakeFiles/IntegrationTest.cpp.o Build output […]
During my recent trip abroad, Google Maps yet again was refusing to say street names, so it would say “take the interchange on the right” instead of “take exit 55 […]
I am starting to suspect that ChatGPT is emulating humans too well when it comes to parsing requirements. I asked it to write a Python program that, among other things, […]
Turns out Python has built-in ordering for tuples and other built-in sequences, and it is organized very intuitively. I should have known that, but I didn’t 🙂 This makes comparing […]
Setting up Django in a docker container proved to be harder than I expected, so I am recording the steps here. Oerview: Get Docker Desktop Get Ubuntu 20.04 on Windows […]
The task is to find groups of 5 English words in which each letter appears at most once, i.e. 25 letters total. These must be “real” English words from the […]
I bought a laptop with Windows 11 preinstalled, and ran into too many usability issues. They are not critical, but annoying, and it looks like I can downgrade my laptop […]
This post compares random number generation in “the old days”, and in modern C++. This is how we used to do it: #include <cstdlib.h> srand((unsigned)time(NULL)); // seed the random number […]