{PosterousBar}
{block:Flash/}
{block:HeaderImage}
{Else}
{block:Description}
{Description}
{/block:Description}
{/block:HeaderImage}
{block:Show}
{/block:Show}
A LOT OF CODE DELETED ...
=================
--
???????????????????????????
? Narendra Sisodiya ( ???????? ???????? )
? Web : http://narendra.techfandu.org
? Twitter : http://tinyurl.com/dz7e4a
???????????????????????????
From darin at chromium.org Mon Nov 2 09:36:39 2009
From: darin at chromium.org (Darin Fisher)
Date: Mon, 2 Nov 2009 09:36:39 -0800
Subject: [whatwg] localStorage feedback
In-Reply-To: <11e306600911020128i60dc9de3yd85394ad5b46a3ca@mail.gmail.com>
References: <03ba01ca386b$37104630$0a01a8c0@mikedeskxp>
<11e306600910300136v770b485bhb7fbc143f4435a27@mail.gmail.com>
<11e306600911020128i60dc9de3yd85394ad5b46a3ca@mail.gmail.com>
Message-ID:
On Mon, Nov 2, 2009 at 1:28 AM, Robert O'Callahan wrote:
> On Sun, Nov 1, 2009 at 3:53 AM, Darin Fisher wrote:
>
>> On Fri, Oct 30, 2009 at 1:36 AM, Robert O'Callahan wrote:
>>
>>> On Fri, Oct 30, 2009 at 7:27 PM, Darin Fisher wrote:
>>>
>>>> You are right that the conditions are specific, but I don't know that
>>>> that is the
>>>> exhaustive list. Rather than defining unlock points, I would implement
>>>> implicit
>>>> unlocking by having any nested attempt to acquire a lock cause the
>>>> existing lock
>>>> to be dropped. Nesting can happen in the cases you mention, but
>>>> depending on
>>>> the UA, it may happen for other reasons too.
>>>>
>>>
>>> What reasons?
>>>
>>> If these reasons are situations where it's fundamentally difficult,
>>> impossible, or non-performant to follow the spec, we should change the spec.
>>> Otherwise this would just be a bug in the UA.
>>>
>>
>> My point is that it is difficult to ensure that all situations where
>> nesting can occur are understood apriori and that the list doesn't change
>> over time. Because we are talking about multi-threading synchronization in
>> a very complex system, I would much prefer a more isolated and less fragile
>> solution.
>>
>> Unlock if yieldForStorageUpdates is called.
>> Unlock when returning from script execution.
>> Unlock if another attempt to lock occurs (any form of nesting).
>>
>> In the third case, I'd probably log something to the JS console to alert
>> developers.
>>
>> I believe this simple implementation covers most of the cases enumerated
>> in the spec, and it has the property of being easier to reason about and
>> easier to support (more future proof).
>>
>
> I think this would make the spec too dependent on implementation details.
> If your implementation needlessly or accidentally "nests" script execution
> --- e.g. by firing an event synchronously that should be, or could be,
> asynchronous --- then you'd still conform to your spec while the behaviour
> you present to authors gets quietly worse.
>
> If your description is (or can be, after suitable modifications) equivalent
> to what the spec currently says, but the equivalence is subtle (which it
> would be!), then I think they should *both* be in the spec, and the spec
> should say they're equivalent. Then if we find they're not equivalent, we
> clearly have a bug in the spec which must be fixed --- not carte blanche to
> proceed in an undesirable direction. It would be a sort of spec-level
> assertion.
>
I think the spec currently calls attention to only some situations that
could lead to nesting of implicitly acquired storage locks.
I previously described some other situations, which you and others indicated
should be treated as WebKit and IE bugs. I didn't look very far to dig
those up. After some more thought, I came up with these additional cases
that the spec doesn't cover:
1a) Given a page (domain A) containing an iframe (domain B), have the outer
page navigate the inner frame to "about:blank". This navigation completes
synchronously, and the unload handler for the iframe runs before the
navigation request completes. This is true of all browsers.
1b) Suppose the inner page has a pending XMLHttpRequest when the outer frame
navigates the inner frame. The XHR's onabort handler would run before the
navigation to "about:blank" completes.
2) Set a break point in the Mozilla JS debugger. This runs a nested event
loop each time you single step so that it can drive the rest of the browser
UI.
3) Install a Firefox extension that runs a nested event loop in response to
an event generated by content. I debugged many Firefox crashes resulting
from extensions that do this kind of thing for various reasons.
>
>
>>
>>>
>>> For example, a JS library might evolve to use flash for something small
>>>> (like
>>>> storage or sound) that it previously didn't use when I first developed
>>>> my code.
>>>> Voila, now my storage lock is released out from under me.
>>>>
>>>
>>> This example still sounds overly contrived to me. Nevertheless, it seems
>>> strange to say that because there might be a few unexpected race conditions,
>>> you have decided to allow a much larger set of unexpected race conditions.
>>>
>>
>> Why is it contrived?
>>
>
> Because libraries tend to initially use plugins and move towards using core
> browser functionality, not the other way around. But even if these library
> issues aren't contrived, I don't see how they justify making things a lot
> more unpredictable for everyone.
>
I'm not convinced. Look at Google Maps and street view. Gmail uses more
Flash now than it used to. Wave uses Gears for a variety of little things.
There's a cool video gadget that swaps between HTML5 video or Flash
depending on the browser and the target media.
>
> What will you do for Gecko when it supports content processes?
>>
>
> Implement the spec, I hope!
It seems odd to me that this behavior was put into the spec without any
implementation experience to guide it. The only multi-process
implementations that I know of do not have a storage mutex.
-Darin
>
> Rob
> --
> "He was pierced for our transgressions, he was crushed for our iniquities;
> the punishment that brought us peace was upon him, and by his wounds we are
> healed. We all, like sheep, have gone astray, each of us has turned to his
> own way; and the LORD has laid on him the iniquity of us all." [Isaiah
> 53:5-6]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From privat at ni-po.com Mon Nov 2 09:43:19 2009
From: privat at ni-po.com (Nikita Popov)
Date: Mon, 02 Nov 2009 18:43:19 +0100
Subject: [whatwg] WebStandrd for theme
In-Reply-To:
References:
Message-ID: <4AEF1A37.2000001@ni-po.com>
narendra sisodiya schrieb:
> Many blogging site like posterous has theme editor for their
> blog/website. It is a xml file looks more like html. Following file
> was a long file which I have edited and deleted the unnecessary
> content. I think this is a non-standard way to design theme. Do we
> have any standard to such requirement ? OR we do not need any standard
> at all for such requirement.
>
> PS: I have searched on FBML too. Google says, It is a propri. standard
> of facebook.
In the document you provided I couldn't find any tag using the
fb-namespace. All the other things, like {something}, are a typical
method to mark up things to be inserted in Templates. They are processed
by a templating engine. And I really do think that things like this
don't belong to HTML, they are many templating systems, many PHP
developers have their own (as I do) using markup that's convenient for them.
Nikita Popov
From narendra.sisodiya at gmail.com Mon Nov 2 09:50:04 2009
From: narendra.sisodiya at gmail.com (narendra sisodiya)
Date: Mon, 2 Nov 2009 12:50:04 -0500
Subject: [whatwg] WebStandrd for theme
In-Reply-To: <4AEF1A37.2000001@ni-po.com>
References:
<4AEF1A37.2000001@ni-po.com>
Message-ID:
On Mon, Nov 2, 2009 at 12:43 PM, Nikita Popov wrote:
> narendra sisodiya schrieb:
>>
>> Many blogging site like posterous has theme editor for their
>> blog/website. It is a xml file looks more like html. Following file
>> was a long file which I have edited and deleted the unnecessary
>> content. I think this is a non-standard way to design theme. Do we
>> have any standard to such requirement ? OR we do not need any standard
>> at all for such requirement.
>>
>> PS: I have searched on FBML too. Google says, It is a propri. standard
>> of facebook.
>
> In the document you provided I couldn't find any tag using the fb-namespace.
The deleted content was having fb markups, My concern was more on
{{something}} type of things. To me it looks highly non-standard.
> All the other things, like {something}, are a typical method to mark up
> things to be inserted in Templates. They are processed by a templating
> engine. And I really do think that things like this don't belong to HTML,
> they are many templating systems, many PHP developers have their own (as I
> do) using markup that's convenient for them.
>
> Nikita Popov
>
--
???????????????????????????
? Narendra Sisodiya ( ???????? ???????? )
? Web : http://narendra.techfandu.org
? Twitter : http://tinyurl.com/dz7e4a
???????????????????????????
From anewpage.media at gmail.com Mon Nov 2 11:16:37 2009
From: anewpage.media at gmail.com (Brian Blakely)
Date: Mon, 2 Nov 2009 14:16:37 -0500
Subject: [whatwg] : A 3D Equivalent to
In-Reply-To: <4a60c8650911020146q151b0135m1307a132b9e8e7d5@mail.gmail.com>
References:
<87B62E2F-9B96-4D0E-AE20-F6D87164207A@me.com>
<4a60c8650911020146q151b0135m1307a132b9e8e7d5@mail.gmail.com>
Message-ID:
David,
Excellent perspectives, and there are certainly format decisions that have
to be made as a matter of course, just as there have been for .
I do not agree with two of your points:
* A static 3D rendering is equal to a 2D bitmap
* JavaScript is necessary to display 3D content
My brief counter-points:
* 2D bitmaps are only partially compatible with 3D CSS - they are still
always flat
* This includes , which is still a 2D bitmap, not actually a 3D
object
A JavaScript-Only Approach is Inferior Because:
* is being purposed as a viewport into 3D content, a function the
browser itself should serve
* 3D HTML/CSS is more facilitative to 3D design work than 3D JavaScript
alone
* Using only 3D JavaScript, the code required in order to serve rich user
interfaces is bandwidth intensive, working against one of the key benefits
of using web standards
Explanation and Supporting Examples
----------------------------------------------------
These assumptions are partially the fault of my primordial example, as that
example's purpose was to illustrate these concepts clearly, not demonstrate
an application of the technology. The goal of is not merely to
serve 3D content, but to allow designers and developers to *lay out web
content and applications in 3D*. Let's think of this concept as "3D HTML".
is not a solution. It is rendering 3D content inside a viewport,
when the browser itself should be a viewport to 3D content. One
alternative, creating a giant and filling it with fallback
content, is coding twice - not good.
The foundations of 3D CSS (a la Webkit -
http://webkit.org/blog/386/3d-transforms/) and 3D JavaScript (WebGL/O3D) are
being laid out, but there is no HTML equivalent to cement a truly 3D design
platform on the web.
If we draw 3D design to its logical conclusion, rich user interfaces, then
the usefulness and necessity of 3D HTML becomes more apparent. I will
support this statement with an advanced example, which will demonstrate the
inadequacies of 2D design, and the gaps in currently-existing potential
standards.
DISPLAYING THE SOLAR SYSTEM IN A 3/4 VIEW
----------------------------------------------------------------------
The below snippets will illustrate how a page would lay out such an
interface in three ways: 1) A 2D implementation you will see today; 2) a
combination of fictional 3D HTML and 3D CSS; 3) only 3D CSS, 3D JavaScript
and .
On hover, each planet will rotate about its own axis.
2D HTML & CSS
-----------------------
The Solar System in 3/4
3D HTML & CSS (notes in parentheses)
-----------------------