Valgrind 3.16.0 for MacOS Mojave 10.14.6

After many unstable versions and unsuccessful tries found a working but still experimental solution for MacOS Mojave 1.14.6 using homebrew. This solution also working with Qt5.14.1 using QtCreator 4.11.2 on Mojave 10.14.6.

My conclusion after carry out some analysis on some of my cross platform projects, simple and more complicated once. This solution works on simple projects, however as the complexity increases the results are totally unpredictable.

I’d like to emphasise that after comparing my results, I still NOT recommend to rely on results running Valgrind on MacOS, found fairly high number of critical errors and false positives. My results based on comparing the two following development environments:

– MacOS Mojave 10.14.6, Valgrind 3.16.0, Qt5, gcc, clang
– Ubuntu 18.04, Valgrind 3.16.0, Qt5, gcc, clang

vnStat – a brilliant open source console-based network traffic monitor for Linux

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s).
Quick and simple to install and get running.
Gathered statistics persists through system reboots.
Can monitor multiple interfaces at the same time.
Several output options.
Summary, 5 minute, hourly, daily, monthly, weekly, yearly, top days.
Optional png image output (using libgd).
Data retention duration is fully user configurable on the fly.
Months can be configured to follow billing period.
Light, minimal resource usage.
Same low cpu usage regardless of traffic.
Can be used without root permissions.
Online color configuration editor.

Hardware Probe Tool for Linux

This project really deserves a post, just came across with it and will definitively use it. The HW PROBE project aim to collect hardware details of Linux-powered computers over the world and help Linux users and developers to collaboratively debug hardware related issues.

There are other very useful tools on their main git repository, if you need to collect more specific hardware details, these tools will come very useful.

How to clear your DNS cache on OSX 10.10.4 or above

MacOS® 10.10.4 and above
To clear your DNS cache if you use MacOS X version 10.10.4 or above, perform the following steps:

Click Applications.
Click Utilities.
Click Terminal.
Run the following command:

Or on Microsoft Windows version 7, 8, 10 type the following command to the command prompt: