- https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python
- https://www.geeksforgeeks.org/python/how-to-calculate-moving-averages-in-python/
- https://www.geeksforgeeks.org/python/kalman-filter-in-python/
- https://www.hackster.io/geehysemiconductor/visualizing-and-filtering-hc-sr04-sensor-data-on-the-apm32f4-9e3f9b
This is a Python implementation of the solo play oracles from the STORYTELLERS RPG by Candlenaut. See the solo play info, pp. 59-60, for details.
The basic oracle answers yes/no questions. The oracle rolls two d6 dice, the first designated the Yes die, and the second the No die. If the Yes die is higher than the No die, the oracle has answered "yes". It's lower, the oracle has answered "no". A tie indicates that the oracle is uncertain. The difference between Yes and No how true the response is
As I work on setting up a Pi Zero W as a little portable system for some lightweight dev, I'm running the challenge of compiling certain binaries on-system. To say that the Pi Zero W's resources are limited is an understatement; it can take days to compile something that might take minutes on a more robust system.
What I wanted was to cross-compile Microsoft Edit. I got it working by installing rust on my Raspberry Pi 400 with the 64-bit OS, then adding the appropriate target:
rustup target add arm-unknown-linux-gnueabihf
| CIRCUITPY_BLE_NAME="WhatsInTheBox?" |
I have a couple of projects that I am working on that I think will be ideal for a static site generator (SSG). As I evaluate my options, I'll capture some notes here.
There's a whole list of SSGs on the Jamstack site.
- Jekyll - Ruby; one of the OG SSGs
- Blot - Javascropt (mostly) available as a service or deployed locally
Blinka is a compatibility layer for CircuitPython that provides the CircuitPython APIs for other flavors of Python, including CPython and MicroPython.
There are several Blinka compatible boards out there. Plus, with the right hardware—such as an FT232H or MCP2221 breakout, or even a Raspberry Pi Pico or another RP2040 dev board—Blinka works with PCs running Linux, MacOS, or Windows.
Blinka is maintained on Github:
| from machine import Pin | |
| from neopixel import NeoPixel | |
| import time | |
| pixels = NeoPixel(Pin(0), 12, bpp=4) | |
| WHITE = (0,0,0,255) | |
| RED = (255,0,0,0) | |
| GREEN = (0,255,0,0) | |
| BLUE = (0,0,255,0) |
| import asyncio | |
| import time | |
| import board | |
| import neopixel | |
| from rainbowio import colorwheel | |
| import adafruit_lsm303_accel | |
| import adafruit_lis2mdl |
First, get homebrew if you don't already have it.
Then, in your terminal, get things set up:
cd ~/Downloads
mkdir tiktok_stuff
cd tiktok_stuff