Remove c
article thumbnail

Crate-training Tiamat, un-calling Cthulhu:Taming the UB monsters in C++

Sutter's Mill

For more background on safety and security issues related to C++, including definitions of language safety and software security and similar terms, see my March 2024 essay C++ safety, in context. This is a status update on improvements currently in progress for hardening and securing our C++ software. Its just a metaphor.

C++ 70
article thumbnail

Enhanced root cause analysis using events

Dynatrace

Who performed it? Create a new VM for this exercise and install a Dynatrace OneAgent. Run the stress tool, ensuring the -c parameter matches the number of vCPUs on the VM to fully stress the VM, as follows: # Run stress to max out CPU. stress -c 10 -t 5m. But what’s often missing is the “human” element.

DevOps 245
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Seniors and Juniors

O'Reilly

The computer doesnt know C++ and doesnt care if the software was written in Java, Haskell, or BASIC; no matter how the software is written, its going to execute binary machine code. Sorting is important, but not for the reasons a junior developer might think; almost nobody will need to implement a sorting algorithm, except as an exercise.

article thumbnail

Why you need to know your site's performance poverty line (and how to find it)

Speed Curve

"How can I demonstrate the business value of performance to people in my organization?" If you've ever asked yourself any of these questions, then you could find the answers in identifying and understanding the performance poverty line for your site. What is the "performance poverty line"?

article thumbnail

cppfront: Midsummer update

Sutter's Mill

Safety and simplicity are the two core things I want to try to dramatically improve in C++, and are why I’m doing my cppfront experiment, so although the above absorbed some time away from cppfront coding it all contributes to the same goal. (If Support all C++23 and draft C++26 headers that have feature test flags.

C++ 116
article thumbnail

Missing Library: A pg_upgrade History

Percona

While working as a DBA, we perform many regular tasks, and one of them is upgrading our database systems. There are some techniques to perform a PostgreSQL database upgrade, such as data dump and import, logical replication, or in-site upgrade using pg_upgrade. If all is good, perform the upgrade removing the –check flag.

C++ 84
article thumbnail

Overlooked T-SQL Gems

SQL Performance

As an exercise, try solving this task with a pre-SQL Server 2017 compatible solution where you cannot use TRIM and TRANSLATE. As an example, suppose that you need to perform some task per database in your instance. databases ; OPEN C ; FETCH NEXT FROM C INTO @dbname ; WHILE @@FETCH_STATUS = 0. Deallocate the cursor.

C++ 111