Skip to content

Max's Blog

  • Home
  • About
Max's Blog
March 24, 2024 max-sperling

Virtual functions vs. Templates (C++)

Virtual functions They get resolved at run-time, leading to a shorter compile-time and less binary code. Templates They get resolved

Continue reading
March 24, 2024 max-sperling

Throwing principles (Judo)

I use the following principles to describe throws. Principles Typical examples Reaping O-soto-gari, O-uchi-gari Sweeping De-ashi-barai, Okuri-ashi-barai Blocking Hiza-guruma, Ashi-guruma

Continue reading
March 19, 2024 max-sperling

Layout of std:set (libstdc++)

Source code Analysis $ g++ –version g++ (Ubuntu 13.2.0-4ubuntu3) 13.2.0 $ g++ main.cpp -g $ gdb a.out (gdb) b 6

Continue reading
March 19, 2024 max-sperling

Computational complexity – Examples

Easy ▼ calcSum Algorithm Solution – Analysis: L3: Θ(1), L5: Θ(n), L7: Θ(1) – Calculation: Θ(1) + Θ(n) * Θ(1)

Continue reading
March 16, 2024 max-sperling

Computational complexity – O vs. Ω vs. Θ

Introduction I’m talking about the (re)definition done by Donald Knuth, because he changed the one by Hardy and Littlewood (used

Continue reading
March 7, 2024 max-sperling

Data structures – Time complexity (libstdc++)

Cases B … Best case A … Average case W … Worst case If there is nothing mentioned, it matches

Continue reading
March 7, 2024 max-sperling

Layout of std::unordered_set (libstdc++)

Layout The meta element on the stack consumes 7 words (56 Byte on x64, 28 Byte on x86). Each node

Continue reading
March 7, 2024 max-sperling

Layout of std:deque (libstdc++)

Layout The meta element on the stack consumes 10 words (80 Byte on x64, 40 Byte on x86). Each chunk

Continue reading
March 5, 2024 max-sperling

Windows won’t sleep anymore?

Possible reason After the last LAN party, my PC would wake up straight again after going to sleep mode. I

Continue reading
February 22, 2024 max-sperling

Expert system (Example)

Expert system for a family tree written in Prolog. % Rules % A is child of B (father) and C

Continue reading

Posts navigation

«Previous Posts 1 … 7 8 9 10 11 … 40 Next Posts»

Categories

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