Skip to content

Max's Blog

  • Home
  • About
Max's Blog
September 10, 2021 max-sperling

Easy coredump example (Apport, GDB)

Setup apport Source code Coredump analysis Issue: player hasn’t been initialized before calling play().

Continue reading
September 8, 2021 max-sperling

vtable – 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
September 6, 2021 max-sperling

Deleter – 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 reading
September 3, 2021 max-sperling

Custom 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 reading
August 20, 2021 max-sperling

Types 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
August 16, 2021 max-sperling

Buoyancy 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 reading
August 5, 2021 max-sperling

Inter 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
August 4, 2021 max-sperling

Policy-based routing (Linux)

Classic routing – Happens based on the destination address of the ip packet Classic routing tables $ ip rule list

Continue reading
July 6, 2021 max-sperling

Math – Exercise 8 (Analysis)

Given Find All extremum of that function and their types. Solution Answer

Continue reading
June 24, 2021 max-sperling

Chemistry – Exercise 1 (Stoichiometry)

Given 10g of butane. Find The mass of carbon dioxide and water created during the combustion of the butane. Solution

Continue reading

Posts navigation

«Previous Posts 1 … 13 14 15 16 17 … 37 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 (269)
    • Computer (239)
      • Architecture & Design (15)
      • Artificial intelligence (3)
      • Audio & Video (11)
      • Building & Reversing (15)
        • CMake (2)
      • Computational complexity (3)
      • Computer architecture (5)
      • Debugging & Memory (27)
      • 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.