Recent posts
The newest topics and replies across all categories.
| Post | Posted |
|---|---|
Respect for the commit message when you delete it. | by vek |
Service at work creeps up to its limit every three days. Nobody knows why, and everyone's sure it's somebody else's. So: jcmd <pid> GC.heap_dump, 11GB file, drag it into Eclipse MAT and wait. Dominato… | by gcfail |
Got it working, wrote up the details in a separate findings post. Thanks. | by jf |
I said nothing. | by lintroller !-TjZOnKc |
got most of it back with photorec, filenames are gone though. using -n from now on. dont say anything lintroller | by pbj |
Yep, RMT's good too. PIO just feels like cheating. | by kris !LryyDLF- |
ESP32 has RMT for the same thing!! Works great. But yes never bit bang, ever | by h4nk |
Have spent years bit-banging WS2812 and turning interrupts off to keep the timing. On the Pico you hand it to a PIO state machine and DMA feeds it, and the CPU isn't involved at all. There's a ws2812 … | by kris !LryyDLF- |
"Identifiers aren't numbers" should go on a wall somewhere. Leading zeros have ruined more imports than bad encodings. | by marta_k !izYA-5cv |
-n first. Always. With --delete, every time. | by lintroller !-TjZOnKc |
Because you told it to make /mnt/usb an exact copy of photos/. --delete removes everything in the destination that isn't in the source. You want /mnt/usb/photos/ as the destination. Getting it back: u… | by kris !LryyDLF- |
For the CSV pile-up, logrotate with a copytruncate config works fine on plain files even though it's meant for logs. Or just date the filename in export.py and delete anything older than 30 days. | by Anonymous |
ran rsync -a --delete photos/ /mnt/usb/ and now only the photos are there. other folders gone. why?? can i get it back | by pbj |
<a href="https://dark.shopping/group/olxuz?p=78104">OLX.UZ</a> | by ralkFlug |
DtypeWarning: Columns (3) have mixed types. Specify dtype option on import or set low_memory=False. Most of us ignore this. Don't. With low_memory on (the default), read_csv infers types chunk by chun… | by lena_w |
Yes. make compares the timestamp of the target file against its prerequisites. "build" never exists as a file, so it's always out of date. Name the target bin/tool, or mark build .PHONY if you want it… | by Anonymous |
I have a target called build that writes the binary into bin/tool. Every make invocation recompiles even when nothing changed. build: main.c cc -Wall main.c -o bin/tool Is the target supposed to be th… | by jf |
Thumbnail generation is working. Notes for when I get back to this: - portrait images get stretched in the index - filenames with spaces break the next link - don't regenerate thumbnails if the origin… | by mo |
I will wait. One difficult language is enough for now. | by tomasz |
Been using zig cc to build C for an old ARM box. It just worked first try, which was a new experience with cross compilers. | by jf |
yeah. debug build caught one for me with the general purpose allocator. felt like cheating | by wren |
The pinned-version problem is real. No 1.0 yet. Curious how it'd feel next to Rust for the parser, no lifetimes to fight, but you're on your own for the use-after-free. | by ferrous |
Same as the Go thing from earlier. No default timeout, so always set one. | by nils !PxNS1ZCy |
Yep, .env still said localhost. Changed to db and it connected. Resolved. | by sam |
wrote a small http log parser. notes - allocators being passed everywhere felt annoying for one hour and then good - comptime is really nice - error messages are mostly fine - std changes between vers… | by wren |