AlaskaLinuxUser's Scratchpad

Commit thy works unto the LORD, and thy thoughts shall be established. - Proverbs 16:3

Qt 5 and C++ meet in a graphical user interface!

Section 2 is complete of the "Beginning Qt 5 C++ GUI Development" course! This course is great! I'm really learning a lot from the instructor. Section 2 was sort of a C++ primer, for those who were not familiar with it. As you know, if you've been following along here …

New Course! Beginning Qt 5 C++ GUI Development : The Fundamentals

I've just completed the first of 10 sections in a new course I am taking on Udemy. The course is called Beginning Qt 5 C++ GUI Development : The Fundamentals. As you know, if you've been following along, I started learning C++ using a course on Udemy that particularly focuses on …

BlueFruit Project: Fixed Erratic Crank Behavior

Another problem that I have run into while working with this Bluetooth auto start is an erratic crank behavior. Per the code, it should not start the crank circuit if the engine is already running. However, on 2 occasions, it happened anyways. I was not plugged in with a laptop …

Text field types to capitalize sentences...

device-2018-09-10-130014

I recently received a comment from a Just Notes user about how much they loved the simplicity of the notes app. However, they also pointed out that the text field that you type into doesn't automatically capitalize sentences or names, and somewhat lacks a bit in terms of use.

He …

BlueFruit Project: Low voltage safety

IMG_20180720_100112Having tested out the Bluetooth auto start for a little while through regular use, I came to an interesting conundrum. What should the auto start do if the voltage is too low? I "hemmed and hawed" about this for a while and here are my thoughts:

  • If the vehicle is …

Segmentation fault (core dumped)!

One of the most frustrating problems I've run in to date on my Water Drum game! Take a look at the output in the terminal:

alaskalinuxuser@alaskalinuxuser-OptiPlex-7010:~/Documents/c++/sfml_projects/sfml_water_drumming\$ ./build.sh
DrumGame.cpp: In function ‘int main()’:
DrumGame.cpp:428:19: warning: comparison between signed and unsigned integer …

BLOX2: Adding autoSMP Hotplug!

hotplug

Another update to the BLOX2 (BLU Life One X2) kernel, I just added another hot-plug controller called autoSMP. Hot-plug controllers can turn of CPU cores if they are not in use, to save power. You can check out the commit on GitLab, but it is very straight forward. It's all …

Wondershaper: The wonder of shaping your internet traffic!

wondershaper

I always end my posts with "Linux - keep it simple." And today is one of those great days when I am using a really well made, simple, Linux tool: Wondershaper.

Wondershaper allows you to "throttle" network traffic on any interface to a desired capped speed. So, for instance, if you …

Menu, Anyone?

[gallery ids="3591,3592,3593,3594,3595,3596" type="circle"]

Today I added some menu buttons with a cool-ish wiggle affect when they get clicked.

This commit is a bit complicated, but essentially I added four menu buttons that you can click on. When you do click on one, it …