CppCon 2015: Bjarne Stroustrup “Writing Good C++14”

Introduction This is a very good talk from Stroustrup about good rules to be followed when writing modern C++ applications. The first 25 minutes are generic about teams coding guidelines which I personally believe apply to any programming language. The rest of the video is very valuable, in particular about different approaches to avoid typical […]

Data structures considerations in concurrency situations

This short article is worth for reading. It provides useful considerations about typical data structures (linked lists, Balanced Search Trees) in multi concurrency environments. People often underestimates the concurrency requirements of the data structure they use. This article (basic) provides useful information. Deadlock is our enemy! http://www.drdobbs.com/parallel/choose-concurrency-friendly-data-structu/208801371?pgno=1

Top 6 misconceptions about Linux containers

Watch out this video from Redhat about the most common 6 misconceptions about Linux containers. A typical common question is: are linux containers secure? The response is usually no. Unless you take important countermeasures. I do believe that the situation won’t change until username space will be officially released. I hope Redhat will do it […]

Memory and C++ debugging at EA

I found this video of the recent cppcon from Electronic Arts very interesting. It is worth of watching In particular the comparison between old HW architectures approaches (PS2, single core) and “new” solutions from onward (i.e. PS3  having Multi Cores and more RAM).   Interesting the approach of Memory Allocators, Arenas and techniques to avoid […]

Install Chromium on Fedora 22

Today I tried to install chromium on my new Fedora 22 installation. The Chromium package is not present in Fedora’s standard repositories. Following Fedora’s documentation I performed the following: 1. Download the new repo information containing the chromium package wget https://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-chromium-stable.repo 2. Copy the new repo into yum’s respos folder cp fedora-chromium-stable.repo /etc/yum.repos.d/. 3. Install […]

The 777 developer

The 777 developer I love to develop code since I was 13 and I am now 38. Development is my life, I coded pretty much in every of the most common language. For me development is a serious business. I always disliked the web scripting languages coming from a computer games development world and having […]

Present sorry page for everyone except you

  During applications back-end systems maintenance operations, we usually present the so called sorry page to end users. This is a nice way to inform that something is going on, in particular on small systems not having a multi node configuration setup. Typical pages are the one saying “I am sorry, the system is under […]

Nginx processes’ users

Many people get confused about user ownership of the nginx processes. Most people believe that Nginx runs as Root (oh my god) and some others believe that Nginx runs entirely as nobody user. Now, let’s do a distinction between the master and the workers processes. Master process The master process runs with the user used […]

About Nginx number of workers

Introduction This article provides information about the  number of workers a typical nginx system administrator should setup. As per any web server, the tuning of the worker processes is a sort of voodoo art.Ask hundreds system administrators and you will get probably hundreds of different opinions. Before we go deep in the topic, let’s understand […]