C++ char c = ‘a’; // Character char* s = “abc\ndef”; // Null-terminated C-string PS > $a = 42 >
Continue readingCategory: Technology
HLD vs. LLD
High level design (Architectural design) … provides an overview of the system. Example: Infotainment-System (focus on media and navigation only)
Continue readingChromium browser instances
One browser instance operates on one user data directory. Scenario 1 $ ./<path/to/chromium/>chromium $ ./<path/to/chromium/>chromium This first call opens up
Continue readingReapply patches to updates (Git)
Let’s asume you have a repo containing an external SW. (forked repo or specific version) Branches | Commits ————–|————— master
Continue readingSymlink 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 reading