From: David Mark on
Scott Sauyet wrote:
> David Mark wrote:
>> Matt Kruse wrote:
>>> On May 17, 9:51 am, David Mark <dmark.cins...(a)gmail.com> wrote:
>>>> [snip a heap of blithering]
>>>> I suppose you still use jQuery as well. :)
>>>> http://www.urbandictionary.com/define.php?term=pseudo-intellectual
>>> It's good to see that you are still here trolling with ad-hominem
>>> attacks and spewing your same old tired mantra, David. But seriously,
>>> isn't it time to grow up, move on, and discuss ideas instead of
>>> attacking people?
>> Some spin that.
>
> No one here but you -- and maybe your alter-egos -- sees this as spin.

Uh, no Matt Kruse and you are in your own little rowboat.

>
>
>> Who is responsible for moving projects like jQuery, Dojo, etc. forward
>
> Their authors and other contributors, mostly.

You don't know the history of those projects at all, do you? Who did
the Dojo owners bring in to steer them back from the brink? Who
subsequently rewrote virtually the entire thing? And yes, whether they
like it or not, they have had to concede that my ideas were their
future. Who got jQuery off browser sniffing? I'm sure you know who I
mean. :)

>
>
>> [ ... ] Who comes up with and publishes the best ideas (not to mention
>> library) for cross-browser scripting?
>
> Best ideas? Cornford, Crockford, Lahn, Nielsen, Smith, Weiss, and
> many others.

Ahem. Cornford for sure. Crockford has demonstrated virtually no
knowledge about cross-browser scripting. Lahn has had some good ones.
Nielsen, no. Smith, give me a break (do you read this group at all?)

http://www.cinsoft.net/host.html
http://www.cinsoft.net/size.html
http://www.cinsoft.net/position.html
http://www.cinsoft.net/attributes.html
http://www.cinsoft.net/keyboard.html

:)

>
> Best library? Well to quote one David Mark, "A general purpose
> library must do
> everything for every context, which is why I don't use them."

I don't use them. Didn't stop me from building one hell of a landmark
in that terrain.

http://www.cinsoft.net/mylib-examples.html

I mean, are you blind? :)

>
>
>> Then who periodically pops in here to whine and insult me because much
>> of what I do invalidates years of futility on their part?
>
> I've only been paying attention for six months. But in that time,
> I've seen you repeatedly insult Matt without provocation. I've never
> seen the reverse.

You are blind indeed! He pops in here periodically and changes the
subject to me. Search the archive (if GG will let you). And, you said
it; you've been here six months. The history of that "feud" goes back
_years_. Get it?

>
>
>> And other than periodically pointing out that you are a
>> time-wasting twit, I rarely insult anyone in here.
>
> The funny thing is I think you might really be blind enough to believe
> that.

I defy you to post examples. Even the greenest neophyte gets a fair
shake from me. Perhaps you are confusing me with somebody else?

>
>
>> Out of nearly 5,000 posts, virtually all
>> of them are about ideas. Look at how many times I have gone out of my
>> way to solve problems for people here, despite the fact that often they
>> are ungrateful (and even hostile).
>
> It's Saint David, is it? No one but you believes it.

You said that, not me.

>
>
>> Go back and read them from the start if your amnesia is flaring up again.
>
> I wish your nonsense could be blamed on amnesia, but I think it's far
> too intentional for that.

What nonsense?

>
>
>> Nobody's buying your revisionism (except perhaps you).
>
> Nobody's buying your revisionism (probably not even you).

Pollywannacracka?

>
>
> Matt initiated this thread and has rejoined it to discuss interesting
> ideas.

His query was asked and answered long ago. Now the two of you have this
tag team time-wasting going on. It's irritating to see such a display.

> You seem to drop in here just to make pronouncements or insult
> people. Get a life.

Drop in here? I'm #6 on the all-time list. And 99.9% of my posts are
about cross-browser scripting ideas and helping beginners. Get a clue. ;)
From: David Mark on
Scott Sauyet wrote:
> Andrew Poulos wrote:
>> On 18/05/2010 11:42 PM, Scott Sauyet wrote:
>>> David Mark wrote:
>>>> Matt Kruse wrote:
>>>>> On May 17, 9:51 am, David Mark<dmark.cins...(a)gmail.com> wrote:
>>>>>> [snip a heap of blithering]
>>>>>> I suppose you still use jQuery as well. :)
>>>>>> http://www.urbandictionary.com/define.php?term=pseudo-intellectual
>>>>> It's good to see that you are still here trolling with ad-hominem
>>>>> attacks and spewing your same old tired mantra, David. But seriously,
>>>>> isn't it time to grow up, move on, and discuss ideas instead of
>>>>> attacking people?
>>>> Some spin that.
>>> No one here but you -- and maybe your alter-egos -- sees this as spin.
>>>> Who is responsible for moving projects like jQuery, Dojo, etc. forward
>>> Their authors and other contributors, mostly.
>> But do you know who?
>
> When I mentioned alter-egos above, I almost explicitly listed Andrew
> Poulos. Considering your clear-cut sympathy for David Mark, I hope
> you won't mind my wondering if you are really just David posting
> anonymously.

Oh brother. How do you post anonymously with a proper name?

>
> So sorry if I don't count your "me too" as a separate vote.
>

And that wasn't a "me too" response at all, nor are your tallies of any
interest to anyone.
From: nick on
On May 14, 8:30 pm, nick <nick...(a)fastmail.fm> wrote:

> [...] I've been playing with a header file
> containing some function macros; they can be useful for inlining and
> doing things you can't do with normal functions (like pass in a non-
> existing variable). [...]

>   #define CAN_ACCESS(v) \
>   (function(){ \
>   try{void(v); return true;} \
>   catch(e){return false;}})();

Ok, new and improved:

#define FETCH(v) (function(){try{return[v]}catch(e){}}())

If the identifier can be accessed, the value (or undefined if it
doesn't exist) is wrapped in a single-element array and returned. The
return value evaluates to true no matter what, but it may contain a
value that evaluates to false. If the array contains a string or
number, its toString representation should reflect the original value,
otherwise the original value can be accessed by its 0 property.

If the identifier cannot be accessed, the function exits, leaving the
value of the enclosing expression as 'undefined'.

Example:

var x = FETCH(document.body.parentNode); // [<html>] (==true)
var y = FETCH(document.body.asdfzzzz); // [undefined] (==true)
var z = FETCH(document.body.asdf.zzz); // undefined (==false)
From: David Mark on
Garrett Smith wrote:
> Scott Sauyet wrote:
>> Andrew Poulos wrote:
>>> On 18/05/2010 11:42 PM, Scott Sauyet wrote:
>>>> David Mark wrote:
>>>>> Matt Kruse wrote:
>>>>>> On May 17, 9:51 am, David Mark<dmark.cins...(a)gmail.com> wrote:
>>>>>>> [snip a heap of blithering]
>
> [...]
>
>> When I mentioned alter-egos above, I almost explicitly listed Andrew
>> Poulos. Considering your clear-cut sympathy for David Mark, I hope
>> you won't mind my wondering if you are really just David posting
>> anonymously.
>>
>
> I'll wager you're wrong.
>
> I suggest you look at the news headers and re think (or respeculate or
> whatever). Even the Google Groups interface shows those last I checked,
> under "view original" (or similar).
>
> Do you really think DM is using an elaborate strategy to look like he is
> posting through giganews from Australia?

Crikey, I'm pinched!

But seriously, as I think anyone with half a brain can see, I am not
Andrew and Scott Sauyet just wants attention (ironic considering his
latest name-calling).
From: Scott Sauyet on
David Mark wrote:

A whole lot more nonsense I won't bother responding to...

> Scott Sauyet wrote:
>> Matt initiated this thread and has rejoined it to discuss interesting
>> ideas.
>
> His query was asked and answered long ago.  Now the two of you have this
> tag team time-wasting going on.  It's irritating to see such a display.
>
>> You seem to drop in here just to make pronouncements or insult
>> people.
>
> Drop in here?  I'm #6 on the all-time list.  

Here being, pretty obviously, this thread.


> And 99.9% of my posts are about cross-browser scripting ideas and
> helping beginners.  

And obviously you have no number sense either.

>> Get a life.
> Get a clue.  ;)

Pollywannacracka? ;)

--
Scott