The only way I have found to increase the camera distance is to modify the maps themself. Setup 1. Open
Continue readingJapanese terminology – Part 1 (Martial arts)
Tachi-waza (Stance techniques) Musubi-dachi Attention stance Hachiji-dachi Neutral stance Moto-dachi Basic stance Zenkutsu-dachi Low front stance Kokutsu-dachi Low back stance
Continue readingAnalyse reproducable stability issues
The following list contains a few ways to find the root cause for a stability issue. Rebuild with debug symbols
Continue readingEasy coredump example (Apport, GDB)
Setup apport Source code Coredump analysis Issue: player hasn’t been initialized before calling play().
Continue readingvtable – a way to realise polymorphism (C++)
Currently most C++ compilers use vtables to realise polymorphism. The object (obj @ 0x614c20) contains a pointer to the vtable
Continue readingDeleter – std::shared_ptr vs. std::unique_ptr
For the std::unique_ptr the deleter is part of the type and the std::shared_ptr keeps it as part of its control
Continue readingCustom allocator to track std::vector
Source code Debugging Result As soon as the std::vector runs out of memory its default allocator (std::allocator<T>) allocates a new
Continue readingTypes of mutexes and locks (C++)
Mutexes (Selection) … synchronizes the access on critical sections std::mutex Provides exclusive access (can only be pulled by one thread
Continue readingBuoyancy control – depth and time
Depth If you go down/up (descend/ascend) the gas spaces in your suit (dry or wet), your BCD and your body
Continue readingInter process synchronization (Linux)
Synchronizes the access on critical sections between processes. Prototypic lock file (with symlink) Alternative Boost has an interprocess namespace which
Continue reading