Re: Help me improve Hash#rekey

2012-12-10 Thread Intransition
On Monday, December 10, 2012 7:22:17 AM UTC-5, Robert Klemme wrote: > > On Sun, Dec 9, 2012 at 7:19 PM, Intransition > > wrote: > > The note `TODO: Improve Hash#rekey code!!!` has been in my docs for too > > long. I could use other's insights and thought others might enjoy the > > challenge.

Re: Getting info from array

2012-12-10 Thread Robert Klemme
On Sun, Dec 9, 2012 at 2:35 AM, Krzysztof Kowalski wrote: > Hello there. > I would like to make script that gets failed logging attempt ip, when it > count that ip tried logging more than 5 times in row script will write new > block rule with that ip to ipfilter in freebsd 8. > So I like to manage

Re: Help me improve Hash#rekey

2012-12-10 Thread Robert Klemme
On Sun, Dec 9, 2012 at 7:19 PM, Intransition wrote: > The note `TODO: Improve Hash#rekey code!!!` has been in my docs for too > long. I could use other's insights and thought others might enjoy the > challenge. So here's the code: I think the problem is in the API. That's what makes it too compl