This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package needyerror // by Brad Fitzpatrick https://play.golang.org/p/JBQ3zeVMti | |
import ( | |
"log" | |
"runtime" | |
"sync/atomic" | |
"time" | |
) | |
// NeedyError is an error which if unchecked will log an error at the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main // by Brad Fitzpatrick https://play.golang.org/p/PM0Fx-o6Drz | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"runtime" | |
"strings" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comprehending Engineers - Take One: Two engineering students were walking | |
across campus when one said, "Where did you get such a great bike?" The | |
second engineer replied, "Well, I was walking along yesterday minding my own | |
business when a beautiful woman rode up on this bike. She threw the bike to | |
the ground, took off all her clothes and said, "Take what you want." "The | |
second engineer nodded approvingly, "Good choice; the clothes probably | |
wouldn't have fit." | |
Comprehending Engineers - Take Two: To the optimist, the glass is half full. | |
To a pessimist, the glass is half empty. To the engineer, the glass is twice |