C++Guns – RoboBlog

17.04.2024

Installing gcc, g++ and gfortran 13 from source

Filed under: Allgemein — Thomas @ 12:04

GCC 13.2 OpenMPI 4.1

03.04.2024

OmegaException class von Peter Muldoon

Filed under: Allgemein — Tags: — Thomas @ 21:04

Mal ausprobieren ob damit Exception einfacher in der Handhabung werden... Aus Exceptionally Bad: The Misuse of Exceptions in C++ & How to Do Better - Peter Muldoon - CppCon 2023 Conclusion of the talk: What should they used for ? • Error tracing (logging) • Stack unwinding (reset / termination) • Data passing / Control […]

Filed under: Allgemein — Tags: — Thomas @ 21:04

Mal ausprobieren ob damit Exception einfacher in der Handhabung werden... Aus Exceptionally Bad: The Misuse of Exceptions in C++ & How to Do Better - Peter Muldoon - CppCon 2023 Conclusion of the talk: What should they used for ? • Error tracing (logging) • Stack unwinding (reset / termination) • Data passing / Control […]

27.02.2024

Analyse AVX _mm256_i32gather_pd instruction

Filed under: Allgemein — Tags: , — Thomas @ 17:02

In scientific application using triangular grids it is often the case to load a value from all three vertices of the triangle which is spread across RAM. In order to use SIMD instruction to speed up execution time of the program the three values must be stored into a single SIMD register to perform e.g. […]

07.02.2024

Analyse: Frozen Throne: Randgruppen TD2 Rapper Mod

Filed under: Allgemein — Thomas @ 22:02

TV Glozer Flying only Name Kosten Dmg Range Type freeze splash dmg/gold Dmg Range Cooldown Type freeze splash dmg/gold Ernie Berrt 10 16-26 950 Siege no no 2.3 Barbara Salesch 35 31-45 900 Chaos no no 1.08 Günter Jauch 80 51-81 850 Normal no yes 0.83 (2) 105-250 1400 0.3 Pirce no yes 2.2 (8.8) […]

01.01.2024

Analye: Frozen Throne Tower Defense Warcraft III

Filed under: Allgemein — Thomas @ 23:01

Flame 40 70 110 150 260 40-80 60-150 90-300 150-750 240-1800 800 1000 1200 1500 1800 Lightning Geld 40 60 80 120 150 Schaden 80-160 120-300 175-525 230-800 340-1500 Reichweite 1300 1500 1750 2000 2300 Froizen 60 80 100 120 80 30-70 40-130 55 -265 80-460 135-1325 800 1000 1200 1500 1800 Fizz Tower Bei […]

08.12.2023

Compiler kürzt Formel

Filed under: Allgemein — Thomas @ 13:12

24.07.2023

DOS codepage 437 to UTF8

Filed under: Allgemein — Tags: , — Thomas @ 09:07

Wenn die üblichen Encodings wie UTF8, Latin1, ISO-8859-15 nicht funktionieren kann man CP437 versuchen. Das ist der Original-Zeichensatz des IBM-PC ab 1981. Dieser enthält Umlaute die in den üblicherweise eingestellten Encodings nicht angezeigt werden. Hier mein erster Versuch CP437 nach UTF8 zu konvertieren. Die Sourcecode Datei und der Compiler und das ganze Betriebssystem ist selbstverständlich […]

28.06.2023

Ganglia SSD Metrics

Filed under: Allgemein — Tags: — Thomas @ 14:06

19.06.2023

How to convert from UTC to local time in C++?

Filed under: Allgemein — Tags: — Thomas @ 11:06

Convert from a broken down date time structure from UTC to localtime in C++. See Stackoverflow: How to convert from UTC to local time in C? I converted the code from C to C++ and make it shorter.

Older Posts »

Powered by WordPress