Author Archives: paolog

About paolog

homo technologicus cynicus

Debugging LIBPF applications with gdb

GNU debugger (gdb) is the standard command-line debugger on many Unix-like systems for troubleshooting C++ programs. To prepare for debugging your application, compile it with debugging symbols enabled; for example assuming you want to debug Qpepper and use bjam to … Continue reading

Posted in C++, Howtos | 2 Comments

Summary of the A&T fair, 2016 edition

Here is the Affidabilità e Tecnologie (A&T) fair, 2016 edition (held in , Torino April 20-21 2016) summarized by three audiovisual documents: Robot drives train: Robot plays golf: Robot brews coffee:

Posted in Philosophy | Leave a comment

Bash on Windows 10

This week at Build 2016, the yearly developer-oriented conference, Microsoft announced that Windows 10 will be able to run Linux’s Bash shell, by executing the native Ubuntu binary as-is. Don’t stop at the news headline though: this is not just … Continue reading

Posted in Philosophy | Tagged | Leave a comment

Modeling a pipe with a large pressure drop

The Pipe model is a concentrated parameter model for pipes. The correlations it uses are applicable only for small pressure drops, i.e. less than 10% of the absolute inlet pressure. If the calculated pressure drop is larger than that, you’ll … Continue reading

Posted in C++, Chemeng | Leave a comment

Where is the SQL database plugin for ODBC (qsqlodbc.dll) in Qt 5.6 ?

It looks like the SQL database plugin for ODBC (qsqlodbc.dll) is missing from the standard Qt 5.6 installer for Windows you download from http://www.qt.io/download-open-source. You’d expect to find it in C:\Qt\Qt5.6.0\5.6\msvc2015_64\plugins\sqldrivers\ where the sqlite, mysql and postgresql ones are found, … Continue reading

Posted in C++, Howtos, Rants | 1 Comment

“api-ms-win-crt-runtime-l1-1-0.dll is missing” error with LIBPFonOPC on Windows Server 2012 R2 64 bit

You may receive the error “The program can’t start because api-ms-win-crt-runtime-l1-1-0.dll is missing” when launching the LIBPFonOPC configurator 1.0. 2264 on a fresh install of Windows Server 2012 R2 64 bit. Related symptom: this error silently appears in the Setup … Continue reading

Posted in Howtos, Uncategorized | Leave a comment

HOWTO make verbosity level accessible for users

LIBPF’s  4 diagnostic levels allow the model developer to fine-tune the verbosity at a global, compilation, unit, function and class instance level. Of these, two (verbosityGlobal and verbosityInstance) are also available at run-time, but normally not for the model user. … Continue reading

Posted in C++, Chemeng, Howtos | Tagged | Leave a comment

Qt Data Visualization preview

In the Qt Roadmap for 2016 they say “In addition, Qt 5.7 includes a lot of modules that have been previously available only with the commercially licensed Qt: … Qt Data Visualization – Versatile set of chart types for 3D … Continue reading

Posted in C++, Howtos | Tagged , | Leave a comment

RSS feed for EASME news

If you are looking for the RSS feed of the EASME news (the European Commission’s Executive Agency for Small and Medium-sized Enterprises), here it is: http://libpf.com/easme.rss. For details how this works, see the related post RSS feed for AIChE ChEnected … Continue reading

Posted in Chemeng | Leave a comment

A JSON-based file format for the exchange of thermo-physical model parameters

We present a proof-of-concept, JSON-based, vendor-independent file format for the exchange of thermo-physical model parameters. You can try it out in this browser-based demo tool. We started from what is already avaiable: the IK-CAPE PPDX format, a vendor-independent file format for … Continue reading

Posted in Chemeng, Philosophy, Uncategorized | Tagged , | Leave a comment