Let’s asume you have a repo containing an external SW. (forked repo or specific version) Branches | Commits ————–|————— master
Continue readingCategory: Computer
Symlink to switch between SW versions
I was building Node.js v16 which uses a fork of GYP (meta-build tool written in python). The setup script contains
Continue readingWireshark – Alternative for DevTools network
These days some website try everything to block the usage of DevTools on their pages. An alternative to atleast still
Continue readingAutomotive SPICE (SW Engineering)
V-Model (v2.5/v3.0) Customer reqs. spec. | ˅ ENG.1/SYS.1 – Reqs. elicitation | Customer reqs. ˅ Product release ENG.2/SYS.2 – Sys.
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 reading