Fountain of Knowledge
- Why James Baldwin’s FBI File was 1,884 Pages Long
- A GUIDE TO THE MEANING AND USEFULNESS OF PUNCTUATION MARKS.
- What ISIS Really Wants
- The billionaire’s typewriter
- “Promoting Economic Competitiveness while Safeguarding Privacy, Civil Rights, and Civil Liberties in Domestic Use of Unmanned Aircraft Systems” <– drones
- Handling five billion sessions a day – in real time
- List of all SFHTML5 presentations and videos
- C9 Lectures: Dr. Graham Hutton - Functional Programming Fundamentals Chapter 11 of 13
- Introducing “6-pack”: the first open hardware modular switch
- Godoc: Documenting Go Code
- High-Performance Go
In particular, the select statement here:
func myHandler(w http.ResponseWriter, r *http.Request) {
c := appengine.NewContext(r)
// ...
// regular request handling
// ...
// Save to memcache, but only wait up to 3ms.
done := make(chan bool, 1) // NB: buffered
go func() {
memcache.Set(c, &memcache.Item{
Key: key,
Value: data,
})
done <- true
}()
select {
case <-done:
case <-time.After(3 * time.Millisecond):
}
}