Skip to content

Max's Blog

  • Home
  • About
Max's Blog

Category: Development

May 12, 2025 max-sperling

Random number generation (C++)

Let’s generate 10 integers with a uniform distribution between 1 and 6. Historic approach Only uniform distribution provided. 👎 Modern

Continue reading
March 19, 2025 max-sperling

Boost execution performance

Make it parallel Most machines these days have multiple cores, some even support hyper threading. If you want your code

Continue reading
February 18, 2025 max-sperling

How to pass arguments (C++)

Analysis Code â–¼ Output â–¼ Constructor: bar_0 Not store copy run_copy_no_store Constructor: bar_1 === lvalue === Copy Constructor: bar_1 ===

Continue reading
January 22, 2025 max-sperling

Mutable vs. Immutable (Python)

Immutable data types They are not modifiable e.g. Numbers, Strings and Tuples Before line 3 a —> 1 b —–^

Continue reading
December 21, 2024 max-sperling

Conceptual distinction – Testing

Unit vs. Integration vs. System test All of them are functional tests, but on a different level. Unit test: Tests

Continue reading
December 5, 2024 max-sperling

Pipelines in Jenkins

For CI/CD of your projects, you can use Jenkins. To set up a workflow, you can create a pipeline. They

Continue reading
September 2, 2024 max-sperling

std::forward with concept (C++)

Introduction std::forward: Keeps the type of the reference. (lvalue, rvalue) concepts: Specify requirements for the template types. Example $ g++

Continue reading
June 11, 2024 max-sperling

Backward and Forward compatibility (API)

Showcase API (in protobuf) message User { string name = 1; int32 id = 2; } Backward compatibility If you

Continue reading
April 12, 2024 max-sperling

Cache friendly code

Example Analysis The array will be stored in memory like this: [row_0, col_0] … [row_0, col_999] … [row_999, col_0] …

Continue reading
March 27, 2024 max-sperling

Layout of std::string (libstdc++)

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

Continue reading

Posts navigation

1 2 3 … 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.