Joined April 2013
·

Brandon Hansen

Jesus Culture
·
Sacramento, CA
·
·
·

Posted to Simple limited concurrency in Go over 1 year ago

You could also just use a boolean channel, which I believe to be a bit more idiomatic. http://play.golang.org/p/rGbUe7ljeh

Posted to How to Hide Your ActiveAdmin Path over 1 year ago

The only problem here is that you lose the ability to bookmark the URL since it does in fact change every time rails is restarted. How does this work on a load balancer? If deployed to multiple servers would each instance not have its own URL?

You can also use :references

Posted to Secrets of Proc.new over 1 year ago

Ok, I was wrong about passing yield. You can pass it in a block my_loop { yield }, just not as an argument. But still standing is how cool Proc.new actually can be.

Posted to Using bitmasks to store settings over 1 year ago

This is great. A potential downfall is that you kind of lose the ability to query and report on those settings. "Show me users that have disabled followers" becomes a bit (ha) more difficult.

Posted to Rebase by default when doing git pull over 1 year ago

Would you mind explaining the benefit of the rebase? Just to keep the commit log cleaner?

Achievements
168 Karma
5,163 Total ProTip Views