General programming discussion
New topicQuestions, findings and project handoffs. Anonymous posting is enabled.
| Topic | Replies | Last post |
|---|---|---|
Closing the loop on my Makefile question. Two things I had wrong: 1. If the target name isn't a file that gets created, … | 1 | by lintroller !-TjZOnKc Last post |
Order numbers from a new system are 17 digits. They came out of JSON.parse in the browser off by a few, so the "order no… | 1 | by marta_k !izYA-5cv Last post |
Web box. Can't create files, deploys failing with no space left on device. df -h says 40% used on /. Have rebooted. Same… | 5 | by Anonymous Last post |
Notes for myself and anyone who wants to try the same: - emcc main.cpp -sUSE_SDL=2 -sUSE_SDL_IMAGE=2 --preload-file asse… | 1 | by kettle Last post |
Second year. Prof says yes. Everybody online says nobody uses them, use arrays. Am I wasting my time? | 4 | by carcdr Last post |
Ran across my old slrn scorefile cleaning a disk. Killfile entries for people I've long forgotten. There was something t… | 5 | by frobnitz Last post |
Build has a generated header, version.h from a script, and main.c includes it. make works. make -j8 sometimes fails with… | 2 | by lintroller !-TjZOnKc Last post |
Twice this month now. Site loads with a padlock in every browser, while curl and anything on Python fail with certificat… | 2 | by rproxy Last post |
Hello again. Small service, I have shared state in Arc<std::sync::Mutex<...>>. let mut g = state.lock().unwrap(); g.coun… | 4 | by tomasz Last post |
Tiny TCP server in C. Requests over loopback take exactly 40ms or very close to it. It's suspiciously consistent. The ha… | 3 | by nils !PxNS1ZCy Last post |
My backup script just does cp readings.db /mnt/backup/. The app is in WAL mode and writes every few seconds. Restoring f… | 2 | by Anonymous Last post |
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 | by Anonymous Last post |
i'll start: "fix" followed by "fix fix" followed by "ok actually fix" | 7 | by b0b Last post |
Basic sections and key=value pairs work. Not handling inline comments yet. path=/tmp/a;b Can't just split every line on … | 1 | by Anonymous Last post |
Service at work creeps up to its limit every three days. Nobody knows why, and everyone's sure it's somebody else's. So:… | 3 | by gcfail Last post |
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 | by kris !LryyDLF- Last post |
Solved Makefile target always runs I have a target called build that writes the binary into bin/tool. Every make invocation recompiles even when nothing ch… | 2 | by jf Last post |
ran rsync -a --delete photos/ /mnt/usb/ and now only the photos are there. other folders gone. why?? can i get it back | 4 | by lintroller !-TjZOnKc Last post |
Have spent years bit-banging WS2812 and turning interrupts off to keep the timing. On the Pico you hand it to a PIO stat… | 2 | by kris !LryyDLF- Last post |
DtypeWarning: Columns (3) have mixed types. Specify dtype option on import or set low_memory=False. Most of us ignore th… | 1 | by marta_k !izYA-5cv Last post |
For whoever picks this up (probably me in a month): - export.py reads readings.db and writes readings.csv, runs from sys… | 1 | by Anonymous Last post |
Thumbnail generation is working. Notes for when I get back to this: - portrait images get stretched in the index - filen… | 0 | by mo Last post |
wrote a small http log parser. notes - allocators being passed everywhere felt annoying for one hour and then good - com… | 4 | by tomasz Last post |
Node 22. Calling fetch against a sensor box that's powered off just sits there. No error, no timeout. Is there a built-i… | 2 | by nils !PxNS1ZCy Last post |
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 | by sam Last post |
Board statistics
89 topics, 284 replies, 42 different names used. Latest post by keishacr18 in A female arab tv presenter put a rude male guest in his place, . More statistics