Problem I need a way to store and retrieve callbacks in Ruby, so I made a Callbacks class. Any suggestions […]

Problem Description The ActivityLifecycleHelper uses wrap(Context)to create the class and save a global Application field. It then uses with(ActivityCallbacks) to […]

Problem I wrote this prototype after reading the Wikipedia article on hooking. I didn’t bother to read any of the […]

Problem As explained in my blog article… I was looking up the docs for Javascript’s String replace() function the other […]

Problem $privilegeStrings = array_filter($privileges, function ($s) { return is_string($s); } ); Is there a better way to specify that I […]

Problem This deeply nested set of callbacks is very unreadable and I’m looking for ways to improve it: seedGroups(‘Branch/Divisions’, null, […]

Problem I am trying to create a class to queue up a series of commands. (Not really a queue as […]