News for hackers. Stuff that matters.
Re:Sixpack: Language-Agnostic A/B Testing by lifeisstillgood on Wednesday August 28, 2013 @11:31AM (#6290587)
Looks very nice - should be pretty easy to fork for feature toggles too.
Re:Sixpack: Language-Agnostic A/B Testing by mrclownpants on Wednesday August 28, 2013 @11:38AM (#6290650)
What is a feature toggle?
Re:Sixpack: Language-Agnostic A/B Testing by patio11 on Wednesday August 28, 2013 @11:56AM (#6290784)
Let's hypothetically say you have a new feature Foo. Foo is under active development and works on the test and staging environments, but you're concerned it might not be ready for prime time. You first release Foo to your staff's accounts on the production servers. After they break Foo in a while, you roll it out to 10% of the user base selected randomly, while watching your automated instrumentation to see how it reacts (does it blow up anything? do users care about it? does anyone actually use the thing?). After you've proven Foo out you release it to the entire userbase. Should you at some point have a problem with Foo, you desire the ability to yank it back from all users while you get back to tinkering on it privately.

Feature flags are a way to do that. By happy coincidence, they share semantics almost verbatim with A/B testing. (At a high level of abstraction, the most interesting API is basically User#should_see?(feature_name_goes_here). They typically have a bit more going on in the API than that -- for example, the ability to assign users to groups (like, say, "our employees", "friends & family", "our relentlessly dedicated True Fans (TM) who are willing to suffer the odd bug", "10% of people who signed up last Monday", etc) and assign groups as being able to view a feature. There is often a UI visible for that.

Re:Sixpack: Language-Agnostic A/B Testing by ficklelarry on Wednesday August 28, 2013 @12:08PM (#6290877)
@patio11 what do you think of this thing overall? (Not feature flags, but rather using a language-agnostic framework.)
Re:Sixpack: Language-Agnostic A/B Testing by patio11 on Wednesday August 28, 2013 @12:17PM (#6290943)
I'm broadly in favor of any technology which increases the number of firms which are able to make A/B testing a routine practice at their organizations. This solves an issue which occurs in some deployments. It being available as OSS is therefore unmitigated good news, though I probably won't use it myself.
Re:Sixpack: Language-Agnostic A/B Testing by zackkitzmiller on Wednesday August 28, 2013 @11:34AM (#6290611)
It absolutely would.
Re:Sixpack: Language-Agnostic A/B Testing by lifeisstillgood on Wednesday August 28, 2013 @12:28PM (#6291019)
Hmm, after looking up your profile I am now wondering is that:

It absolutely would, and guess what we use at work :-0

Or

It absolutely would, now get off HN and fork it. I want a pull request by Monday !

:-)

Nice one.

Re:Sixpack: Language-Agnostic A/B Testing by zackkitzmiller on Wednesday August 28, 2013 @12:46PM (#6291124)
We currently aren't using a fork for feature flags, though it would certainly be cool to do so.

Now get off HN and fork it.