Skip to content

Max's Blog

  • Home
  • About
Max's Blog

Category: Development

March 24, 2020 max-sperling

Unit testing series – Intro / Setup (Part 1)

Introduction With unit testing you want to test the smallest unit possible, which means a single function. These units shall

Continue reading
February 25, 2020 max-sperling

Parameter handling (REST)

Path-Param … Gets specified in the URL-Path to move down the hierarchy. Query-Param … Gets specified behind the URL-Path to

Continue reading
January 31, 2020 max-sperling

Integer overflow (C++)

Unsigned integer Range: [0,255] Binary: 00000000 =++=> 00000001 =++=> … =++=> 11111111 Hex: 0x00 =++=> 0x01 =++=> … =++=> 0xFF

Continue reading
January 23, 2020 max-sperling

Layout of std::vector (libstdc++)

Source code Analysis Layout |——————————–| | vector vec | | 1 | 2 | 3 | 4 | 5 |

Continue reading
January 14, 2019 max-sperling

Bit operations (C++)

Set a bit value |= 1

Continue reading
November 22, 2018 max-sperling

Common mistakes (C++)

The following list shows a few common mistakes you will find in code you will have to review before its

Continue reading
November 12, 2018 max-sperling

Threading – Mutex vs. Atomic (C++)

Since C++11 you can use std::thread, std::mutex and std::atomic for your multithreaded projects. The biggest problem with multithreading is the

Continue reading
September 7, 2018 max-sperling

Destruction order (C++)

The variables/fields getting cleanup in the reverse order they have been declared (not initialized). … Objects are created # Cleanup

Continue reading
July 10, 2018 max-sperling

Cyclic dependencies (C++)

Issue The cyclic dependency is a problem which occurs if two classes includes each other in their header. hen.hpp egg.hpp

Continue reading
May 21, 2018 max-sperling

Operating System APIs (C++)

Before using the OS APIs directly, take a look if the STL or boost already provides this functionality. Also be

Continue reading

Posts navigation

«Previous Posts 1 … 3 4 5 6 Next Posts»

Categories

  • Other (17)
    • Games (11)
    • Nutrition (4)
    • Traveling (2)
  • Science (17)
    • Chemistry (3)
    • Linguistics (2)
    • Math (10)
    • Physics (2)
  • Sport (71)
    • Climbing (5)
    • Diving (20)
    • Fitness (7)
    • Martial arts (33)
      • Ground fighting (9)
      • Mixed martial arts (4)
      • Stand-up fighting (11)
    • Running (1)
    • Surfing (2)
    • Swimming (1)
    • Volleyball (2)
  • Technology (268)
    • Computer (238)
      • Architecture & Design (15)
      • Artificial intelligence (3)
      • Audio & Video (11)
      • Building & Reversing (15)
        • CMake (2)
      • Computational complexity (3)
      • Computer architecture (5)
      • Debugging & Memory (26)
      • Development (58)
        • CI/CD (1)
        • Programming (48)
          • Concurrency (5)
          • Data structures (12)
          • Pointers & References (7)
        • Scripting (3)
        • Testing (6)
      • Development process (5)
      • Hacking & Security (17)
      • Hardware & Protocols (8)
      • Networking (11)
      • Operating system (18)
        • Linux (11)
        • Windows (7)
      • Regular expression (2)
      • Tool configuration (5)
      • Version control (22)
      • Virtualization (7)
      • Web (27)
    • Electrics (9)
    • Mechanics (15)
    • Medicine (2)
    • Photography (4)
WordPress Theme: Wellington by ThemeZee.