[mochikit] Re: median() and mean()

2006-06-21 Thread Beau Hartshorne
On 21-Jun-06, at 5:30 PM, Bob Ippolito wrote: >> I needed median and mean functions for something I'm working on. >> Should they go into MochiKit somewhere? Are they correct? Fast >> enough? >> >> /* http://www.nist.gov/dads/HTML/mean.html */ >> var mean = function() { >> var data = flatte

[mochikit] Re: median() and mean()

2006-06-21 Thread Bob Ippolito
On Jun 21, 2006, at 6:23 PM, Moe Aboulkheir wrote: > > On Wed, 21 Jun 2006 17:55:14 -0700, Bob Ippolito <[EMAIL PROTECTED]> > wrote: >> >> On Jun 21, 2006, at 5:18 PM, Moe Aboulkheir wrote: >>> ...wanting to know the mean of a bunch of nested lists is such a >>> bizarre request that i don't t

[mochikit] Re: median() and mean()

2006-06-21 Thread Moe Aboulkheir
On Wed, 21 Jun 2006 17:55:14 -0700, Bob Ippolito <[EMAIL PROTECTED]> wrote: > >On Jun 21, 2006, at 5:18 PM, Moe Aboulkheir wrote: >>...wanting to know the mean of a bunch of nested lists is such a >>bizarre request that i don't think it's unreasonable to require that the >>caller flattens the

[mochikit] Re: median() and mean()

2006-06-21 Thread Bob Ippolito
On Jun 21, 2006, at 5:18 PM, Moe Aboulkheir wrote: > > > > On Wed, 21 Jun 2006 16:32:13 -0700, Beau Hartshorne > <[EMAIL PROTECTED]> > > mean(1, [2, [3]]) === 2 >> true > > that's a bit weird. maybe mean/median should expect a single, flat > list argument? wanting to know the mean of a

[mochikit] Re: median() and mean()

2006-06-21 Thread Bob Ippolito
On Jun 21, 2006, at 4:32 PM, Beau Hartshorne wrote: > > I needed median and mean functions for something I'm working on. > Should they go into MochiKit somewhere? Are they correct? Fast enough? > > /* http://www.nist.gov/dads/HTML/mean.html */ > var mean = function() { > var data = flattenA

[mochikit] Sortable bugs?

2006-06-21 Thread [EMAIL PROTECTED]
So I've got what I'm pretty sure is the most recent version of MochiKit via SVN and I'm using the Sortable. I'm having an issue where setting either (or both) of the 'scroll' or 'ghosting' options to true causes some weird looking rendering and behavior (at least in Firefox 1.5.0.3). When I add t

[mochikit] Re: median() and mean()

2006-06-21 Thread Moe Aboulkheir
On Wed, 21 Jun 2006 16:32:13 -0700, Beau Hartshorne <[EMAIL PROTECTED]> > >>> mean(1, [2, [3]]) === 2 >true that's a bit weird. maybe mean/median should expect a single, flat list argument? wanting to know the mean of a bunch of nested lists is such a bizarre request that i don't think it

[mochikit] median() and mean()

2006-06-21 Thread Beau Hartshorne
I needed median and mean functions for something I'm working on. Should they go into MochiKit somewhere? Are they correct? Fast enough? /* http://www.nist.gov/dads/HTML/mean.html */ var mean = function() { var data = flattenArguments(arguments); return sum(data) / data.length; }; /*

[mochikit] 6000 IT Jobs + 100 IT Jobs Daily

2006-06-21 Thread Smith
Hello Now, I am sharing with you another website that is excellent  for IT Jobs. Currently, this website has more than 6000 IT Jobs And 100 new IT Jobs are coming daily. Please check this link and enjoy your dream job.   www.it-jse.com   Special thing about this website is, they are present

[mochikit] Re: window.onunload

2006-06-21 Thread Beau Hartshorne
On 21-Jun-06, at 12:45 AM, Mc wrote: > confirmUnload is better indeed. > > I assume you added the elseif in preventDefault for people that first > call confirmUnload and then e.stop or e.preventDefault in the > onbeforeunload handler? > > And can I ask you to have a look at another onunload issue

[mochikit] Re: new design of site is cool

2006-06-21 Thread Beau Hartshorne
On 21-Jun-06, at 7:49 AM, chris feldmann wrote: >> [loading index…] stays. As does [...] >> I admit it - I'm using IE, but still don't think I deserved that. >> > > Verified, win2k, ie 6.0. Alright, here's the ticket: http://trac.mochikit.com/ticket/135 --~--~-~--~~~-

[mochikit] Re: new design of site is cool

2006-06-21 Thread Beau Hartshorne
On 21-Jun-06, at 7:03 AM, troels knak-nielsen wrote: > [loading index…] stays. As does [...] > I admit it - I'm using IE, but still don't think I deserved that. I think this might be an older bug. Do you remember IE working before? (I reverted on a local copy, and IE was still broken.) --~--

[mochikit] Re: new design of site is cool

2006-06-21 Thread chris feldmann
On 6/21/06, troels knak-nielsen <[EMAIL PROTECTED]> wrote: > > [loading index…] stays. As does [...] > I admit it - I'm using IE, but still don't think I deserved that. > Verified, win2k, ie 6.0. --~--~-~--~~~---~--~~ You received this message because you are subsc

[mochikit] Re: new design of site is cool

2006-06-21 Thread troels knak-nielsen
[loading index…] stays. As does [...] I admit it - I'm using IE, but still don't think I deserved that. On 6/21/06, Arnar Birgisson <[EMAIL PROTECTED]> wrote: > > On 6/21/06, Beau Hartshorne <[EMAIL PROTECTED]> wrote: > > This has stung me before too. How's this (make sure you do a super > > relo

[mochikit] Re: new design of site is cool

2006-06-21 Thread Arnar Birgisson
On 6/21/06, Beau Hartshorne <[EMAIL PROTECTED]> wrote: > This has stung me before too. How's this (make sure you do a super > reload): > http://mochikit.com/doc/html/MochiKit/index.html Awesome! :o) Thanks! Arnar --~--~-~--~~~---~--~~ You received this message be

[mochikit] Re: [Fwd: pulsate patch]

2006-06-21 Thread Thomas Hervé
Topher Cyll a écrit : > I can confirm this problem. Using the latest SVN checkout (on June > 20th), attempting to call Highlight produces the following error (via > Firebug): > > this.__init__ is not a functionMochiKit.js (line 5265) > > This is with the packed code. Is this enough info to

[mochikit] Re: [Fwd: pulsate patch]

2006-06-21 Thread Bob Ippolito
If you create a full example that we can use to test it, then someone will definitely look at it quickly. If not, then it may take a while for Thomas to get around to it. -bob On Jun 20, 2006, at 11:51 PM, Topher Cyll wrote: > > I can confirm this problem. Using the latest SVN checkout (on

[mochikit] Re: window.onunload

2006-06-21 Thread Mc
confirmUnload is better indeed. I assume you added the elseif in preventDefault for people that first call confirmUnload and then e.stop or e.preventDefault in the onbeforeunload handler? And can I ask you to have a look at another onunload issue please? http://trac.mochikit.com/ticket/113 Than