Home
Sandor Dargo's Blog
Cancel

The big STL Algorithms tutorial: replace N elements

Recently in my series on C++ algorithms, I presented the different replace functions and said that they will replace all the matching elements. If you want to replace only one element or n elements...

Real-World Bug Hunting by Peter Yarowski

I hold the role of a White Hat in an organization where being a white-hat doesn’t imply that you an expert in security matters. It’s more about coordinating software security-related matters.  It’s...

Gratitude for COVID-19

We hear about the importance of gratitude at almost every corner of the internet where there is the tiniest website dedicated to self-help. In order to be more satisfied, happier with your life, yo...

The quest of private inheritance in C++

I love mentoring. It requires a huge quantity of humility, and if you possess it, it will bring you tremendous benefits on a human as well as on a technical level. A few weeks ago, I met with on...

Extreme Ownership by Jocko Willink and Leif Babin

Extreme Ownership is the legendary leadership book written by two former Navy SEALs, Jocko Willink and Leif Babin who started to teach businesses about leadership and strategy in their civilian lif...

The seniority trap

Maybe you have been there, maybe you’ll get into a similar situation soon. Maybe you don’t work for the type of company where this could ever happen. Yet, most of us at least heard about highly kno...

The big STL Algorithms tutorial: modifying sequence operations - fill and generate

In this next part of the big STL algorithm tutorial, we will discover the 4 modifying sequence algorithms that fill in or generate data: fill fill_n generate generate_n Let’s get start...

Java by Comparison by Simon Harrer, Jörg Lenhard, Linus Dietz

I’m not a Java developer - anymore - yet I find that a big part of this book can be useful for any junior programmer. Maybe not only for them, as the book has elements that are always useful to be ...

What to do when you screwed up?

Have you ever done something silly in your job? Obviously, you have. Just like me. Or better to say, all of us. You might ask what kind of silliness I just meant. It doesn’t matter. It can be an...

Immediately invoked lambda functions

Helping is important in life. You help the weak to get stronger, you help the hungry to learn fishing, you help someone to achieve her goals. Why not help your compiler to perform some optimization...