311 karma · joined Nov 15, 2017 (9y ago) · 199 submissions
comment 4mo ago · link · parent
https://forum.irishwhiskeysociety.com/viewtopic.php-p=12194....
comment 5mo ago · link · parent
cd src/bash-5.3/examples/loadables
make accept
enable -f ./accept accept
(accept -r RHOST -v SOCKETFD -b 127.0.0.1 8000;
read -u $SOCKETFD SOCKETDATA;
printf "%s: %s\n" "$RHOST" "$SOCKETDATA";
printf "goodbye, world\n" 1>&${SOCKETFD} ) &
nc 127.0.0.1 8000 <<< "hello, world"
For real use you may need to add "exec {SOCKETFD}<&-" to close the FD.Edit: https://news.ycombinator.com/item?id=39369749 (2024)
comment 5mo ago · link · parent
comment 6mo ago · link · parent
comment 9mo ago · link · parent
comment 10mo ago · link · parent
comment 10mo ago · link · parent
comment 11mo ago · link · parent
"Passing constants to a subprogram" https://www.ibiblio.org/pub/languages/fortran/ch1-8.html
comment 11mo ago · link · parent
comment 12mo ago · link · parent
FTR, ECMA-130 (the CD "yellow book" equivalent standard) is littered with the term "8-bit bytes", so it was certainly a thing then. Precision when simultaneously discussing eight-to-fourteen modulation, and the 17 encoding "bits" that hit the media for each octet as noted in a sibling comment.
Now, woktets on the other hand...
comment 12mo ago · link · parent
comment 1y ago · link · parent