Category: Raspberry Pi

A few weeks back I took an on-site contract far away from home and could not bring all of my toys so the Qt on Pi stuff is on hold until this contract ends. My apologies. I will still be writing the occasional blog post but they will be “thought pieces” instead of coding pieces.

Information Technology Raspberry Pi

Please read Part 12 first. Were this a book I would be printing and explaining a lot of code. This isn’t a product people are paying for so it will be a bit more limited. Hopefully you pulled down the original source zip posted quite a ways back in this thread. You should have also pulled down the Pi QML zip file from my previous post. Now you just have to pull down this file.deskQml to have the whole enchilada. The first thing to rant about is the amount of hand coding. This is a simple screen, not even well done. If it was done correctly the entire screen would have been enclosed in a HBOX layout so maximizing the screen would actually resize everything to use the entire screen.…

Information Technology Raspberry Pi

Given all of the rah-rah about QML and all of the calls I get about it I think it is time for a level headed appraisal. Unless you are developing only for a platform which already has to drag around the fully loaded 18 wheeler known as a javascript engine and it is actually able to do it, there is no reason to be using QML. You don’t give your battery powered contraption which has a CPU with a Chevy Chevette horsepower rating the task of pulling something designed to be dragged by an MRAP. Yes, I’ve heard all of the arguments about separating the UI from the actual code. I’ve also seen all of the complaints and help requests on the Qt interest list relating to signal-slot problems, C++…

Information Technology Raspberry Pi Thank You Sir May I Have Another

This post is more for me than you. A combination of client wanting me to do some QML stuff and having done too many horrible things to my desktop set me up for a wipe and re-install of Ubuntu 16.04. NOTE: I wasted all of Sunday with various crashes and being unable to boot. And this was a machine which had been running 16.04 64-bit. The clean install would go great, taking forever with downloads due to weather and weekend Internet load, then during the last round of updates it would just crash after a “battery critically low” notification. The screen on the APC UPS showed 118 minutes at current load. I forget how many times I endured this process. Finally in a “details” window I found the culprit. It…

Information Technology Raspberry Pi

Okay, we are going to cover this one last time. If you are new to C++ programming you probably don’t know the doo-doo storm I kicked off bringing the subject up earlier in this series of posts. There are a few things which will start a bar fight among programmers. The first is declaring a single editor as the greatest editor of all time. (Besides, you will always find one grizzled troll declaring vi to be the greatest editor and that is an editor from a time when programmers lived in caves and ate their young. Nasty doesn’t begin to describe it.) When it comes to C++ programmers, the constructor initializer list also kicks off such a fight. Be careful what you declare as a shop coding standard. When theory…

Information Technology Raspberry Pi Thank You Sir May I Have Another