Posted inInformation Technology / Raspberry Pi

Qt and USB – Pt. 3

While this class provides access to the database, the bulk of database creation is split off into a regular C++ file. /* * Copyright (c) 2018 Roland Hughes and Logical Solutions ALL RIGHTS RESERVED * * This code is “as-is” without any warranty expressed or implied. You may not modify or distribute it * without having purchased the right to do so from the copyright holder. This code is provided for * demonstration purposes only. … Qt and USB – Pt. 3Read more

Posted inInformation Technology / Raspberry Pi

Qt and USB – Pt. 2

Hopefully you can all see the featured image. It’s a screen shot of our little application so far. No, I didn’t make it pretty. That is not the purpose. Here is a slightly different shot of the same screen. This is the way it looks when the system is slow and the database is being created. The little circle with bars is an animated gif I generated on this site. When the main window catches … Qt and USB – Pt. 2Read more

Posted inInformation Technology / Thank You Sir May I Have Another

Fake Geeks

One of the most annoying parts about being a geek is dealing with a world full of “fake geeks.” In a world full of fake news, fake sincerity and fake ethics (thank you Bill and Hillary Clinton!) I guess it was bound to happen. Don’t get me wrong, we’ve always had “fake geeks.” Most of them were management. You’ve all encountered them. That one worthless MBA who would stand just out of sight while real … Fake GeeksRead more

Posted inExperience / Information Technology

Old is New Again

If you live long enough in IT, everything happens at least twice. The first book I ever wrote, “Zinc It! Interfacing Third Party Libraries with Cross Platform GUI’S” has become somewhat current again. Some number of years ago I was contacted by a gentleman asking about this book. He was embarking on a journey to port a now OpenSource version of ZAF (Zinc Application Framework) to a current C++ compiler. We exchanged a few emails … Old is New AgainRead more

Posted inExperience / Information Technology / Thank You Sir May I Have Another

Qt and USB – Pt. 2

Today’s post will be the first of at least two posts about identifying your USB device. I started by adding the following code. out << “ProductID: ” << desc.idProduct << endl; r0_status = libusb_open(dev, &hHandle); if (r0_status != LIBUSB_SUCCESS) { out << “Error ” << r0_status << ” opening USB device. Error text: ” << libusb_error_name(r0_status) << endl; } else { unsigned char serialNumber[255] = { }; unsigned char vendorName[1024] = { }; unsigned char … Qt and USB – Pt. 2Read more