Many thanks to Tristan Morris for creating a beautiful illustrated hardcover print edition of the site |
|||||||||||||||||
(Je nám líto , tato stránka nebyla dosud přeloženy do požadovaném jazyce.) From “The Courtship of Eku and Mugen”: 1 There was a time, as ancient logs recall, So high was your availability, And when your subnet’s firewall arose, Discreetly you’d a server-socket bind My every last connection is refused, Oh! Where can you have gone, beloved peer? ‘Til then i iterate from one to n Thus furtively alone at night I’ll SYN I’ll seek thee there with netcat minus-z! Qi’s CommentaryMugen liked to code in poetry. Presumably, the seventh stanza is meant to convey an algorithm like this: SocketAddress sockAddr = new InetSocketAddress(host, port); for (int i = 1; i <= N_TRIES; i++) { try { client.connect(sockAddr, TIMEOUT_MILLIS); return client; } catch (Exception e) { log.warning("weep, wail"); Thread.sleep(INTERVAL_MILLIS); } } throw new IOException("give up"); It is theorized that his ten-thousand-stanza epic, The Dromedary, describes a Perl-to-OCaml converter written in C++. No scholar can stay sane long enough to be certain. An excerpt from The Codeless Code, by Qi (qi@thecodelesscode.com). Provided under the Creative Commons Attribution-NonCommercial 3.0 Unported License. |