119 karma · joined September 21, 2008
my username with gmail.
// Synchronize map access between multiple goroutines. type cache struct { m map[string]string sync.RWMutex }
Then, you can just use:
cache.Lock/Unlock/RLock/RUnlock directly. It's clearer. The beauty of Go's mixins.
1. Highest dpi screen of a Mac 2. Keyboard travel 3. Overall solid feel
I use both a Pro and Air daily and can say without doubt that I always prefer the Air.
However, if there's rumor of a new Air coming out soon, I'd wait for that.
Yes, the fonts are great. Not sure if anyone has noticed, but on IPad3 with Elena font only while in landscape only, capitals are distorted/thin. It's fine in every other font with both portrait and landscape orientations.
Good Characters: BCDNST
Bad Characters: EFHIJKLUVY
Otherwise, no doubt, these fonts are beautiful, and the twilight sepia is a welcome addition, since I use F.lux generally on all my systems. Great release Marco!
Disclaimer: After driving it, I did buy some TSLA stock.
You can download the Google Authenticator app.
These algorithms are known. You can implement it yourself if you wanted to.
It does make sense to have the blocking version, if there's nothing else to do.
Source control just provides lots of benefits for logging and rolling back and around. Git and Mercurial, as distributed version control systems, just happen to be easiest since you don't need to really setup a repository, and just have all the data on local disk. It really is practically free.
Go to your source directory now:
1. git init # makes the directory a git repository
2. git add . # adds everything in that directory
3. git commit # commits it