Mon.Apr 29, 2019

article thumbnail

Memory Corruption Investigation

DZone

Our test process occasionally crashed with an access violation exception. We consider these to be Priority 0 bugs, so we had one of the most experience developers in the office sit on this problem. Access violation errors are nasty , because they give you very little information about what is going on, and there is typically no real way to recover from them.

article thumbnail

Sort A Vector Of Integers With The Quicksort Algorithm In C++

The Polyglot Developer

If you’re studying computer science, at some point you’re going to be exposed to the Quicksort algorithm. Even if you’re not a computer science student, chances are this particular algorithm will come up at some point in time as part of an interview. I’ve been asked about it plenty of times in interview processes and never once used it again.

C++ 40
Insiders

Sign Up for our Newsletter

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

Trending Sources

article thumbnail

Redis-Based Tomcat Session Management

DZone

Apache Tomcat clustering can seem a bit overwhelming to someone who doesn't fully understand it, but, actually, it's not that complex. Clustering can be defined as using a combination of load balancing, some form of session replication, and multiple server "workers" to process the balanced load. What Problems Are Solved by Tomcat Clustering?

Servers 141
article thumbnail

Python at Netflix

The Netflix TechBlog

By Pythonistas at Netflix, coordinated by Amjith Ramanujam and edited by Ellen Livengood As many of us prepare to go to PyCon, we wanted to share a sampling of how Python is used at Netflix. We use Python through the full content lifecycle, from deciding which content to fund all the way to operating the CDN that serves the final video to 148 million members.

article thumbnail

Improving Print Logging With Line Pos Info and Modern C++

DZone

No matter how proficient you are, I think, you might still use one of the primary methods of debugging: trace values using printf , TRACE , outputDebugString , etc… and then scan the output while debugging. Adding information about the line number and the file where the log message comes from is a very efficient method that might save you a lot of time.

C++ 100
article thumbnail

What Is Fix Rate, and Why Does It Matter?

DZone

Once your application security program is up and running, there are several metrics you can use to gauge your progress and optimize your program. For instance, companies typically measure their scan activity, flaw density, and policy compliance. However, very few include metrics for fix rate, despite the fact that it is an important indicator of a program’s success.