If a user is communicating with a site on a webserver via HTTP the website will give him a Session-ID.
Continue readingCategory: Computer
Usage of variables in regex
If you want to replace lots of text and all of them are based on the same pattern, it would
Continue readingOperating System APIs (C++)
Before using the OS APIs directly, take a look if the STL or boost already provides this functionality. Also be
Continue readingPush rejection (Git)
Reason: If you have updated a local branch and then trying to push it on remote you may got the
Continue readingCode documentation (Doxygen)
General Always document large software projects, so other programmers can understand your code. Consider using tools like Javadoc or Doxygen
Continue readingWhen to use which cast (C++)
Types Type Area Risk static_cast – Converts fundamental types– Non-const to const– Down-casts (dangerous) Medium dynamic_cast – Down- and side-casts
Continue readingRebase branch on rebased parent (Git)
This is necessary when you develop on an child-feature-branch and the parent-feature-branch has been rebased. 0. Initial situation 1. Rebase
Continue readingNetwork components (Selection)
Repeater A repeater just repeats the signals it receives. They can be wired (with 2 ports) or wireless. Therfore it
Continue readingUnit testing series – Test with Stub (Part 4)
The second szenario is using a stub. Stub Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a
Continue readingDesign pattern (Selection)
1. Creation 1.1 Factory 1.2 Singleton 1.3 Dependency injection 1.4 Objectpool … is a pool of already initialized objects, like
Continue reading