« first day (215 days earlier)      last day (4735 days later) » 

9:00 PM
@Raynos I wrap at 70 usually if it's mail client type stuff
 
user1385191
this may bode well for my eventual JS OOP question
 
@MattMcDonald "Why do people do this?"?
 
@MattMcDonald why? You've been preparing the MOTHER OF ALL JS OOP questions for 5 months now
 
Hello
 
It's the one OOP question to rule them all
 
user1385191
9:03 PM
well, I thought it might get shut down due to being too general
 
<insert more jokes />
 
user1385191
and no, it's been more around a month or two
 
user1385191
I just don't have the time
 
@MattMcDonald I made a very strong effort to make that question as un-subjective and as un-ranting as possible. I also made a very strong effort to not insult or belittle jQuery. There's a fine line with such a question
 
I should totally ask, "Why do browsers do x?".
 
user1385191
9:04 PM
yeah, it's tough to stay objective
 
user1385191
thankfully, it'll be a topic that doesn't annoy me
 
@gsnedders go for it :D
 
@Raynos For what value of x?
 
user1385191
just omit the x :)
 
user1385191
make it philosophical to the nth degree
 
9:08 PM
@gsnedders "Why do browsers do add propietory features and avoid w3c confirmance"
 
Why do browsers not implement specs correctly?
I must not troll.
 
user1385191
"why do chrome/opera use the enter key to focus tabbed elements when firefox and safari use space [osx]?"
 
user1385191
I wish safari and ff used enter
 
@gsnedders use the sock puppet account >_>
 
9:13 PM
Because they don't fit in properly into the platform layer. OS X mostly uses space.
 
0
Q: Compressing xhtml client side using javascript?

Victor PHi I'm making a word processor app. Users will be able to edit the document (an xhtml doc) and save. This xhtml doc can become very big (a 50k word doc is 500kb), and posting the xhtml to a server can become slow. I suppose the right way to do this is to send only the the diff data and patch in...

 
user1385191
I noticed today that the system prefs had tabbing enabled for basically only text inputs
 
user1385191
which is peculiar
 
I think my sole purpose of existence has become editing missing code formatting / indentation
 
It's good to have a purpose.
 
9:20 PM
0
Q: Create a lot of 200 different Email Accounts in a short span of time ?

LegolasI am trying to send bulk email from a few accounts email accounts, and for some reason, I think the emails get blocked and they do not reach the recipient. I think it is because of spam / filtering rules. Is it possible for me to create say 100 different email accounts in a very short amount of ...

 
user1385191
a lot of "200"
 
@MattMcDonald yes a lot
 
user1385191
guys, can someone make me tons of hundreds of lots of 5?
 
not alot
 
@MattMcDonald We charge by the ton.
 
9:23 PM
lol
 
"LOT OF 200 DIFFERENT EMAIL ACCOUNTS. PAYPAL ONLY PLZ. FREIGHT SHIPPING."
 
ha
 
Straight out of Ebay
 
Awesome:
> What genuine reason could you possibly have for doing this?
 
Saw that a lot (pun completely intended) when looking at servers
 
user1385191
9:25 PM
I only have enough 5 for a hundred lots of 5
 
A lot of Solaris servers here and there
 
user1385191
is that ok?
 
We have a special this week: two hundred lots of 5 for the price of one.
 
SUNDAY! SUNDAY! SUNDAY! AT FORD LINCOLN BMW!
 
@Neal bro could you come google chats ?
 
9:35 PM
Wonder if I can become a 10k programmers.SE user
 
@Xavier hmm?
 
@Neal You know that google talk ?
@Neal the one with your DS link on ? :D
 
@Xavier lol im on it
 
"List files on ftp using cURL in Matlab" bizarre case but all right
15
Q: Measure the pronounceability of a word?

bufferoutI'm tinkering with a domain name finder and want to favour those words which are easy to pronounce. Example: nameoic.com (bad) versus namelet.com (good). Was thinking something to do with soundex may be appropriate but it doesn't look like I can use them to produce some sort of comparative scor...

The code in the accepted answer is interesting
 
@onteria its php. this is js. Traitor.
15.8k followers 15.9k followers. RAGE.
7
 
user1385191
9:47 PM
that's the tip of the iceberg
 
@Raynos :(
 
user1385191
do you want to know just how deep the rabbit hole goes, Neo?
 
@MattMcDonald whos neo
 
@Raynos my God hand in your nerd badge
 
user1385191
 
user1385191
9:53 PM
the Matrix, duh
 
-.-
I thought that was too obvouis. (Also totally off topic)
 
The only thing off topic in the JS chat room is politics
</trolling>
The start tag is 14 pages up
 
xd
 
user1385191
@Raynos, add jQuery to your ignored tags list and navigate to the JS page
 
user1385191
you'll see just how far the cancer has spread
 
9:59 PM
Should we have a discussion of the day in the JavaScript room? Like an interesting question in the Room description to motivate generic conversation (rather then specific problem solving)
6
 
user1385191
I'd like that
 
@MattMcDonald :( cancer.
The discussion is a serious question, I shant make jokes out of it.
 
Have you ever used JavaScript outside of a web page?
 
node.js
 
Yes: node.js, Firefox Extension, Chrome Extension, Adobe Air
 
10:02 PM
titanium appcelerator
 
user1385191
tell me about JS in adobe AIR
 
unity
 
user1385191
never touched it
 
It's kind of annoying because of the security sandbox
as with developing chrome plugins
 
user1385191
no, js in particular
 
user1385191
10:03 PM
I work with AIR all the time
 
Flex Air or HTML/CSS/JS Air?
Plus Air was something I did a long time ago in a land far far away
 
user1385191
desktop AIR
 
user1385191
desktop apps via flash
 
This was desktop apps via HTML/CSS/JS
 
user1385191
weird
 
10:05 PM
You basically interface with webkit
but you got some additional bonuses like storage and keeping state
 
user1385191
"Use existing code, plus Adobe Dreamweaver® software, Aptana Studio, or another IDE and common Ajax frameworks to deliver applications to the desktop that complement and expand your browser applications."
 
user1385191
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 
heh, marketing for great justice
 
user1385191
when I saw adobe used jQuery for wallaby (flash to HTML 5), I just shook my head
 
You can't really blame them for the Dreamweaver® plugin, as it is their software
You CAN blame them for keeping it alive though
 
user1385191
10:09 PM
$(document).ready(function() {
$('.wlby_sprite').each(function()
{ this.addEventListener('webkitAnimationIteration', function(evt) {
wlby_loop_children(evt, this); return false; }, false, false) });
$('.wlby_sprite, .wlby_graphic').each(function()
{ this.addEventListener('webkitAnimationStart', function(evt) {
wlby_activate_children(evt, this); return false; }, false, false) });
$('.wlby_fs').each(function()
{ this.addEventListener('webkitAnimationEnd', function(evt) {
wlby_activate_sibling(evt, this); return false; }, false, false) });
 
user1385191
that's the code they use
 
var object = eval("(" + this.responseText + ")");
oh my...
 
user1385191
boy, I sure hope nobody hijacks the server-side code!
 
user1385191
<?php echo "destroyGalaxy()"; ?>
 
I wrote a comment on that
Which btw, is there some kind of grid that shows which browsers support JSON.parse?
I mean, I notice the individual MDC and MSDN posts, but not a comprehensive support grid
 
user1385191
10:23 PM
let me dig up kangax's ES5 compat grid
 
user1385191
(he's so awesome)
 
That's going into bookmarks
 
11:15 PM
"Congrats, you've gained the privilege – cast close and reopen votes"
Horray!
0
Q: pass variables to an event javascript - no closures, no jq, avoid evals & such

Trass Vasstonok, this has been addressed by everybody, but yet I feel no closer to understanding what to do. I want to have a loop that sets a bunch of click handlers and have each handler given unique parameters. I'm doing somehting like this now: for (thisThing in things){ myDiv=document.createElem...

Intense
 
user1385191
cache the variable, duh
 
user1385191
vvar obj = {"a": 1, "b": 2, "c": 3};
for(var key in obj)
{
    var cache = key;
    var img = document.createElement("img");
    img.alt = cache;
    img.src = null;
    img.onclick = wrap(cache);
    document.body.appendChild(img);
}

function wrap(key)
{
    return function () { alert(key) };
}
 
user1385191
lol, so many complex answers
 
@MattMcDonald does it leak?
;_;
I really need to understand this memory leak before I open my mouth
 
user1385191
11:31 PM
I could null cache after assigning the onclick
 
user1385191
which is what I would likely do anyways
 
user1385191
though key would still exist because anything other than an object is passed by reference
 
user1385191
lol, crockford's markup on that memory leak page is terrible
 
user1385191
<p>&nbsp;</p>
 
That guy has some nerve!
 
user1385191
11:38 PM
it was probably written 5+ years ago
 
user1385191
this is where the money's at, though
 
user1385191
(it's down again for me, I have a copy saved at home)
 
He dares to downvote me :(
But the whole div & function thing leaks though
 
Can just to a search on google and pull up the cache
 
11:39 PM
I wrote an answer about how to avoid it
 
11:58 PM
rage. PHP - array_map(callback(), $array) but array_filter($array, callback())
 
:3
 
Yeah, consistency with argument positions has always been a pet peeve of mine with PHP
 
rage. jQuery - $.map(arr, cb(val, key)) but $(obj).map(cb(key, val))
 

« first day (215 days earlier)      last day (4735 days later) »