These are other links:
When 'I' or 'Me' is seen on that site,
that is a reference to Nakidai Perumenei
(or naki to be short),
owner of that place.
One can contact naki by mailing nakidai at disroot dot org,
or messaging naki on
libera
or oftc
Well, there's no much to say about me. I'm a regular user of an internet. My main system is OpenBSD, and I type this paragraph inside of an acme window ran on a server and rendered on my laptop using x11 forwarding
I'm interested in unix, plan 9, minimalist software. I also like logic, both in thoughts and the digital one that powers computers: isn't this fascinating to explore a carefully designed and clean architecture?
Sometimes I do funny stuff with code, like try to make it cute (though it's more obfuscated lol). As an example, here's my smalltcp client:
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <poll.h>
char buf[512]; progress;
#define readbuf(sock) ((((progress = read((sock), buf, sizeof(buf))) == -1) && err(1, "read()") || !progress && exit(0)), progress)
#define sendbuf(sock, size) (write(sock, buf, size) == -1 && err(1, "write()"))
main(argc, argv) char **argv; {
struct sockaddr_in addr = {AF_INET, htons(argc > 2 ? atoi(argv[2]) : 8604), inet_addr(argc > 1 ? argv[1] : "127.0.0.1")};
struct pollfd fds[2] = {{0, POLLIN}, {0, POLLIN}};
for ( (fds[1].fd = socket(AF_INET, SOCK_STREAM, 0)) == -1 && err(1, "socket()"),
connect(fds[1].fd, (void *)&addr, sizeof(addr)) == -1 && err(1, "connect()");
;) poll(fds, 2, -1) == -1 && err(1, "poll()"),
fds[0].revents & POLLIN && sendbuf(fds[1].fd, readbuf(0)),
fds[1].revents & POLLIN && sendbuf(1, readbuf(fds[1].fd));
}
Unfortunately, code above is Linux specific