bspwm is a tiling window manager for X11 that represents windows as leaves of a full binary tree. It uses a client-server architecture: the `bspwm` daemon manages windows and desktops, while the `bspc` command-line client communicates with it over a Unix domain socket. The daemon does not handle input directly; instead, an external helper like `sxhkd` invokes `bspc` to perform actions. Configuration is done via shell scripts (`bspwmrc`) that call `bspc` commands, and the state can be dumped to JSON for restoration. The project is written in C99 with XCB (X11 C Bindings) and supports EWMH/ICCCM standards, multi-monitor setups (RandR/Xinerama), a rule system for window matching, and event subscriptions for external tools like panels.
Starman is a high-performance preforking PSGI/Plack web server written in Perl. It implements a robust HTTP/1.1 server with support for keep-alive connections, chunked transfer encoding, UNIX domain sockets, and SSL (experimental). The server uses a preforking model where a master process manages worker processes that handle HTTP requests. Key features include graceful restart handling via signals (HUP, TTIN/TTOU, QUIT), integration with Server::Starter for hot deploy, and PSGI extensions like psgix.informational for early hints. The codebase demonstrates careful attention to edge cases such as EINTR handling in system calls, proper chunked encoding parsing/generation, and HTTP/1.1 compliance.