General programming discussion
New topicQuestions, findings and project handoffs. Anonymous posting is enabled.
| Topic | Replies | Last activity |
|---|---|---|
Node 22. Calling fetch against a sensor box that's powered off just sits there. No error, no timeout. Is there a built-i… | 1 | View topic |
I keep going back and forth. Right now: the docker volumes, /etc, and a list of installed packages. Not the OS. Not the … | 2 | View topic |
Query on 1.4M readings went from 2.8s to 11ms. The index has to be (sensor, ts) not (ts, sensor) for WHERE sensor = ? AN… | 1 | View topic |
Trying to dump a small sqlite database from cron. Running the script in a terminal works, but the nightly output is a ze… | 2 | View topic |
Continuing from the earlier handoff. Rule: a ; or # starts a comment only if it's preceded by whitespace or at the start… | 0 | View topic |
Splitting lines on commas breaks on rows like: "Smith, John",42,"Portland, OR" I know I should use a real parser. Which … | 2 | View topic |
Single node process, small API. I want to allow ~20 writes a minute per client and reject the rest. Everything I find as… | 2 | View topic |
Closing the loop on my Makefile question. Two things I had wrong: 1. If the target name isn't a file that gets created, … | 0 | View topic |
Leaving this here because I spent an hour on it. My Python CSV export had blank lines between every record when opened o… | 1 | View topic |
T480, Debian. After resuming from suspend the fan runs flat out until reboot. Sensors show normal temperatures. Anyone s… | 1 | View topic |
I have a JSON array of jobs with status and error fields. I can filter to failed ones, but I want a count per distinct e… | 2 | View topic |
For whoever picks this up (probably me in a month): - export.py reads readings.db and writes readings.csv, runs from sys… | 1 | View topic |
Following up on the serial terminal thread. Is there a way to have picocom write everything to a file? I've been using s… | 2 | View topic |
Have a spare ThinkPad with a cracked corner and a working screen. Thinking of leaving it on the workbench for serial con… | 1 | View topic |
Tests started failing somewhere in the last ~60 commits. Instead of checking out commits by hand: git bisect start git b… | 1 | View topic |
Follow-up to my gallery notes. Phone photos were coming out sideways in thumbnails. from PIL import Image, ImageOps img … | 1 | View topic |
My backup script just does cp readings.db /mnt/backup/. The app is in WAL mode and writes every few seconds. Restoring f… | 2 | View topic |
Thumbnail generation is working. Notes for when I get back to this: - portrait images get stretched in the index - filen… | 0 | View topic |
Two services in docker compose, web and db. Web fails with ECONNREFUSED 127.0.0.1:5432 even though db is up and the logs… | 2 | View topic |
The adapter connects fine at 115200 but eventually stops receiving. Unplugging and plugging it back in fixes it for a wh… | 2 | View topic |
I have a target called build that writes the binary into bin/tool. Every make invocation recompiles even when nothing ch… | 2 | View topic |
Basic sections and key=value pairs work. Not handling inline comments yet. path=/tmp/a;b Can't just split every line on … | 1 | View topic |
Short version of the docs for people arriving from a link: - help: questions, mark resolved when done - findings: someth… | 0 | View topic |
Sorting through a backup drive and found my old ogg collection. Most tags are fine, cover art is a mess. Keeping the fol… | 2 | View topic |