Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Go 2 Draft Designs. Parent comment
To reproduce the key lines here:
os.Stdout.Close() _, err := fmt.Println("foo")
There are no comments on this comment yet.
To reproduce the key lines here:
You can also close stdout from outside the program, use ptrace to cause the write call to fail, or a number of other things.