[Linux] daemon() considered harmful

I'm currently writing a Linux program that is supposed to run in the background. When it was time to implement the --daemonize, I look at the current options and I was quite surprised to learn that daemon() or fork() are not the best way to write a daemon nowadays. Indeed,…

READ MORE

[C++] Online compilers

I find that online compilers are very handy. Here are the ones that I've tried so far... ideone, which is probably the most famous coliru, which allows to customize the command line webcompiler, which uses Visual C++ wandbox, which virtualy supports every version of GCC, Clang and Boost. godbolt, which…

READ MORE

Free e-books from Syncfusion

Syncfusion kindly provides free e-books on various programming topics. That's very nice of them, but the way their site is designed makes it extremely difficult to download all the e-book in one shot. I had to create a Chrome Content Script (source code here) to get extract the links. In…

READ MORE

[Links] Interview questions

This time, it's about interview questions. I'm essentially sharing links to good interview material that can be used by candidates and interviewers. Don't miss the last one, as it’s very special. 1. What Great .NET Developers Ought To Know http://www.hanselman.com/blog/WhatGreatNETDevelopersOughtToKnowMoreNETInterviewQuestions.aspx As usual, a…

READ MORE

[Links] Hire and interview programmer

This time I'm sharing my best links about hiring and interviewing programmers. There are a lot of articles on that topic, here is a fine selection of the most interesting ones. 1. Finding Great Developers http://www.joelonsoftware.com/articles/FindingGreatDevelopers.html This is an article from Joel Spolsky. I'm…

READ MORE

[Links] Programmer career

In "In case you missed it", I share links to interesting things I recently found on the Internet. This time, it's about being a good developer and manage your career. 1. Working as a Software Developer This is one of my favorite article on programming career advice. It really influenced…

READ MORE

[Links] Superstar programmers

1. Jon Skeet Facts You know Chuck Norris and the "Chuck Norris Facts" ? Programmers and especially the C# community have the "Jon Skeet Facts". Enjoy :-) http://meta.stackoverflow.com/questions/9134/jon-skeet-facts My favourites: Jon Skeet can divide by zero. When Jon Skeet's code fails to compile the compiler…

READ MORE

[Links] Various topics

1. Why you shouldn't interrupt a programmer Very funny cartoon, perfectly showing what we live every day: http://heeris.id.au/2013/this-is-why-you-shouldnt-interrupt-a-programmer 2. How to explain a layperson why a developer should not be interrupted? On the same topic, see that thread on /*programmers*/ http://programmers.stackexchange.com/q/…

READ MORE