From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by hurricane.the-brannons.com (Postfix) with ESMTPS id DAA287AB0B for ; Fri, 10 Apr 2015 04:30:23 -0700 (PDT) Received: by wgin8 with SMTP id n8so14749194wgi.0 for ; Fri, 10 Apr 2015 04:28:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=4gHM9LrCUFsobDXoGBvcjyFxCp4Mc9Tin5AKJQvawWg=; b=emnj1DbiRiUxXmvBDQB7/uy3IqoCIzkXw9/ISNnvLGcvgA6fzOueBNG2BXkgHdr1aO 4aK/TRUz4Mf6yZ4G/SMDlTLfl79JPdMJzmXm6ZhTLYLJUKovF4RMQpvb7kGtoUYjlJBy PH6VDe8CZhf/9wUe+53tW7Jh4mmDPtgUG7xJ8ZIMNyQwUEABXKClPHrtDIxP0jm7nMUH Tk2J4q2LOPYzG6bLsxjzK3dhwfGpMOUqlUOtTCCFloHKrbkZ3APNTPUJNSxMWybUMX5r nNVhSI/VYs1OZqToo8hCjMuDoP95FMwC8718MPsajKpD1W/1UBeaqNqiUs+Pqk2R3szy IWqg== X-Received: by 10.180.20.144 with SMTP id n16mr4029944wie.44.1428665323306; Fri, 10 Apr 2015 04:28:43 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id nb9sm3011125wic.10.2015.04.10.04.28.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 04:28:42 -0700 (PDT) Date: Fri, 10 Apr 2015 12:28:40 +0100 From: Adam Thompson To: Karl Dahlke Message-ID: <20150410112840.GC21727@toaster.adamthompson.me.uk> References: <20150308091951.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ep0oHQY+/Gbo/zt0" Content-Disposition: inline In-Reply-To: <20150308091951.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] Short Timers X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 11:30:24 -0000 --ep0oHQY+/Gbo/zt0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 08, 2015 at 09:19:51AM -0400, Karl Dahlke wrote: > If you call up www.eventbrite.com you'll notice 10 javascript timers > at the top of the page, all active in 4 milliseconds. > It occurs to me that if javascript is suppose to run in 4 ms, > it should probably just run. > Now if js is scheduled to run in 10 seconds, then it should wait on your = command, > wait for you to read the page, because we read a new website slower than > our sighted friends, so long timers are under our control, > but perhaps any timer under one second, or whatever threshold we choose, > should just run. > Queue them up in order of time and run them. > Even if they do nothing other than visual effects, > at least those first ten annoying lines about js timers > would be off of the web page. > What do you think? I think, as I've always thought, that we should have a mechanism where js timers run when js timers are scheduled to run, irrespective of any reading speed differences you believe exist (in actual = fact I've found in some cases I read pages *faster* than sighted friends, and don't see this as a valid argument). In addition, given the way web 2.0 works, we realy need to get rid of the manual timer mechanism sooner rather than l= ater as otherwise timing critical ajax stuff can *never* work, since i'm very unlikely to be able to keep activating js timers at the top = of=20 the page in the correct order to make a form submit etc. Cheers, Adam. --ep0oHQY+/Gbo/zt0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVJ7PoAAoJELZ22lNQBzHOwUwIAJms10NDEyaP9hyKHsIgVGgU oX6OR/bwPG+LqkNZe234XOK5eA8A07Q43npVWVbdqsBXdkIrS5Bz3KRR0K5dnLPa PNMle8+YpPYZlvjA4MwqrQwpgM+Nmg4GfdNQFW38cXj6F0ncxXE3qhd9lyoyK5Yi hBjBWmHQI1PqQWZYw0IR/2jDGukV3kU+kCEEIzNxLn9VTi4aoSgVXurEnEK3yflJ CBXGd8uPRY8PR5ILSp+dILXIBLisvs2snwzf76Wy5ddxbtE66PGVQHObXrYSSubv wHEBc/TvkefGseyZpF/4TgsCcjf4tm9gcfIkbGVAvXl+pweUYnJqDdIZI3IrghY= =zKWx -----END PGP SIGNATURE----- --ep0oHQY+/Gbo/zt0--