Skip to content

Max's Blog

  • Home
  • About
Max's Blog

Category: Computer

February 22, 2018 max-sperling

When 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 reading
February 16, 2018 max-sperling

Rebase 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 reading
November 9, 2017 max-sperling

Network components (Selection)

Repeater A repeater just repeats the signals it receives. They can be wired (with 2 ports) or wireless. Therfore it

Continue reading
October 29, 2017 max-sperling

Unit 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 reading
September 5, 2017 max-sperling

Design 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
August 9, 2017 max-sperling

HTTP hacking – Vote counter (Example 1)

1. Scan the traffic Just capture the network traffic while simulate one sequence of voting. Possible tools you can use

Continue reading
July 23, 2017 max-sperling

Unit testing series – Test without double (Part 3)

The first test szenario isn’t using a double. Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a

Continue reading
July 6, 2017 max-sperling

Cyclic references (C++)

Problem The following code shows the problem of a cyclic reference with shared pointers. When leaving the main function the

Continue reading
June 14, 2017 max-sperling

Software development process

1. Linear (Traditional) In the past it was very common to develop software projects that way. It means you have

Continue reading
June 14, 2017 max-sperling

Cloning vs. Branching vs. Forking

Cloning – Creating a local copy of a remote repository. – Gets used to build a project or get involved.

Continue reading

Posts navigation

«Previous Posts 1 … 23 24 25 26 27 Next Posts»

Categories

  • Other (21)
    • Clothes (1)
    • Games (14)
    • Nutrition (4)
    • Traveling (2)
  • Science (19)
    • Chemistry (3)
    • Linguistics (3)
    • Math (10)
    • Physics (2)
    • Theology (1)
  • Sport (77)
    • Climbing (5)
    • Diving (20)
    • Fitness (8)
    • Martial arts (38)
      • Ground fighting (9)
      • Mixed martial arts (4)
      • Stand-up fighting (12)
      • Weapon (3)
    • Running (1)
    • Surfing (2)
    • Swimming (1)
    • Volleyball (2)
  • Technology (293)
    • Computer (263)
      • Architecture & Design (15)
      • Artificial intelligence (3)
      • Audio & Video (12)
      • Building & Reversing (15)
        • CMake (2)
      • Computational complexity (3)
      • Computer architecture (4)
      • Debugging & Memory (29)
      • Development (74)
        • CI/CD (1)
        • Programming (63)
          • Concurrency (12)
          • Data structures (14)
          • Pointers & References (7)
        • Scripting (4)
        • Testing (6)
      • Development process (5)
      • Hacking & Security (17)
      • Hardware & Protocols (8)
      • Networking (11)
      • Operating system (23)
        • Linux (13)
        • 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.