./anderson retweeted
Waveshare's tiny ESP32-S31-Zero packs a 320 MHz dual-core RISC-V processor, Wi-Fi 6, Bluetooth 5.4, and up to 32MB of PSRAM.
hackster.io/news/waveshare-l…
Extremante importante.
Falha crítica no Brotli permite execução de código no WordPress sempreupdate.com.br/vulnerab…
12
./anderson retweeted
FAT32, the file system your USB sticks and SD cards have been quietly putting up with since the 90s, is getting up to a 265x speedup in Linux 7.4. And the fix is basically "stop doing it one at a time."
Matheus Alves de Almeida from UFRGS in Brazil noticed that when you preallocate space on FAT (fallocate with FALLOC_FL_KEEP_SIZE), the kernel grabbed clusters one by one in a while loop. On a sync mount, that means writing the FAT table back to disk for every single cluster. Tens of thousands of tiny trips to the disk just to reserve a few megabytes.
His patch swaps the loop for a single fat_add_clusters() call. Net change in fs/fat/file.c: +4 lines, -6 lines.
The numbers: sixteen 16 MiB files with 4 KiB clusters on a sync mount went from 92.489 seconds to 0.348 seconds. Even without sync, it's 5x to 19x faster.
In his words: "The improvement is especially large on synchronous mounts, where the new code can batch FAT updates instead of synchronously handling each cluster allocation separately."
It won't make ordinary file copies faster. It's preallocation only, so think embedded devices, cameras and anything that reserves space up front. Andrew Morton sent it to Linus in his non-MM pull, and it's now in Linux 7.4.
./anderson retweeted
In September 1992, Unicode had a problem on Unix. Storing characters as 16-bit values could introduce zero bytes that C programs mistook for string terminators. Earlier encodings had compatibility problems of their own.
One evening, Ken Thompson and Rob Pike went to a diner in New Jersey. Thompson sketched a new encoding on a paper placemat.
ASCII stayed exactly as it was. Other characters used multiple bytes, without accidentally introducing null bytes or Unix path separators.
They went back to Bell Labs and started coding. By Friday, their Plan 9 operating system was running entirely on the new encoding.
They called it UTF-8.
Today, it powers over 99% of websites with known character encodings.
./anderson retweeted
Say HELLO to my little friend, Task Manager OG!
I'm please to announce the immediate availability of the MacOS version of TMOG today; Windows support will follow shortly, so follow for the update!
TMOG is a free application; I may do a Pro version at some point, but everything here is and will remain free.
Get the beta: tmog.org/


























