today's leftovers
-
Filtering my RSS reading
My approach is very Web 1.0. For each feed I want to filter, I create a CGI script on my server. The script reads the original feed, filters out the articles I don’t want, and returns the rest. The URL of that script is what I subscribe to in NetNewsWire.
-
New Release: Tor Browser 11.5.2 (Android,Windows, macOS, Linux)
Tor Browser 11.5.2 updates Firefox on Windows, macOS, and Linux to 91.13.0esr.
-
MQTT Forward Instruction
Dragino LoRa/LoRaWAN gateway support MQTT forwarding. It can forward the sensor data from LoRa network to MQTT server , and vice verse.
-
How to Edit Files Over a Network Using FTP, SCP and HTTP
File modification is an OS routine inevitable to all Linux users. No one can avoid it. Every Linux user (from beginner to pro) has a preferred text editor for file management tasks like their creation, editing, and modification.
However, what is the procedure for editing a file on a remote machine? Your first response will be to log in to the remote machine via network protocols like SSH, navigate to the targeted file location, open it, edit the file, close it, and log out of the remote machine. While these stated steps do work, there are efficient ways of achieving the stated objective.
This article is here to explore a more efficient approach to directly editing a file on a remote machine over a network while borrowing the implementations of ftp, scp, rcp, and http network protocols.
-
How to write reliable tests for Python MQTT applications
In the end-to-end test that was causing the problem, the code simulated the start of a pomodoro session and then checked that the correct MQTT message had been sent. The test usually failed but sometimes passed. When I manually ran a separate client that subscribed to the message stream I could see that the right messages were being sent.
Intermittently failing (or passing) tests are a nuisance. They do nothing to build confidence that the application under test is working reliably, and they are no help when you're refactoring. You can never be sure if the tested fail because you made a mistake in the refactoring, or was it just having one of its hissy fits?
-
Controlling Devices Using MQTT and Python
MQTT can not only be used for collecting sensor data it can also be used for controlling devices.
In this mini workshop we will be creating a device in Python that can be controlled using MQTT.