AlaskaLinuxUser's Scratchpad

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

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 …

SFML error: ‘string’ was not declared in this scope

2018-06-11-115438_1280x1024_scrot

In the memory game, a large right hand gives you a demo of the drum order for the round.

Work continues on my water drumming game. I've been learning a lot by creating this game, which was outside of the scope and tutorials found in my beginner C++ class. I'm …

BLOX2: Fiops, anyone?

fiops

Another update to the BLOX2 (BLU Life One X2) kernel, I just added the FIOPS i/o scheduler. You can check out the commit on GitLab, but it is very straight forward. It's all part of my video series for modifying 64 bit kernels, which you can check out on …

Bluetooth Breakdown: Sending my own commands with gatttool

Yes, there is purposely one too many t's in GattTool.

bt_success

Last time we looked at the Bluetooth Low Energy (BLE) packets being sent from my Android app to my home made auto start. Here's what we saw:

214231313a - Button 1 pressed
214231303b - Button 1 released
2142323139 - Button 2 pressed
214232303a …