« first day (270 days earlier)      last day (4670 days later) » 
00:00 - 20:0020:00 - 00:00

12:44 AM
I just read up on Ajax in vanilla JS. Adios, jQuery.
 
1:29 AM
RT @beverloo: Gardening tools, multiple-profiles and lots of changes in Web Inspector http://t.co/tHfG3bG #Chromium #WebKit
RT @awbjs: The ES5.1 specification http://bit.ly/EoBu9 is published so onward with creating the next edition http://bit.ly/nKjv0t #ecmas ...
RT @erikjmoller: New blogpost on canvas performance, scaling and interpolation. http://t.co/hnNZQdX
RT @IE: New #MSDN IE blog: Debugging Web Workers in IE10 - http://t.co/OMBvCxe #IE10
 
 
2 hours later…
3:03 AM
RT @jgw: My answer on @Quora to: What does the Open Web Platform need for great browser based games? http://qr.ae/7Ive9
 
3:52 AM
How can I efficiently cache my images on the user browser, if I am using them on a html5 canvas? they are always redownloaded when needed.... :T tried to use cache manifest, but it is not adequate for me, because my .html pages are created dynamically by the server. :T
 
 
4 hours later…
7:52 AM
@Fernando you could look at EverCookie (samy.pl/evercookie) as it includes an option to force-cache a PNG that has been painted through HTML5 canvas.
 
 
2 hours later…
9:39 AM
Hello. anyone can please suggest me a mootool plugin with ajax tooltip.
 
sorry not using MooTools :(
 
posted on July 13, 2011

Mobilism is bringing its two-day mobile web workshop to a city near you. Today we announce workshops in Amsterdam, Frankfurt, Manchester, and Brighton. Ticket sales for Amsterdam and Frankfurt open today. Sales for Manchester and Brighton will open soon; we’ll let you know. Dates City Teachers 8 and 9 Sept Amsterdam

 
 
2 hours later…
11:19 AM
“The Three Most Popular Mobile Web Browsers?” http://t.co/WuDjL2j “Opera is still in front with a 22% market share average” @statcountergs
2
Q: How can I start Google Chrome on OS X with the --allow-files-access-from-files argument?

I'm running Google Chrome (12.0.742.122) on OS X (Snow Leopard) and I need to pass the "--allow-files-access-from-files" option so that I can test some local javascript stuff I'm working on. I've tried using the following command-line approaches: /Applications/Google\ Chrome.app/Content/MacOS/G...

 
 
3 hours later…
1:54 PM
8
Q: Is window really global in Javascript?

Bart van HeukelomTake this piece of Javascript in a browser: <script> console.log(window.someThing); var x = 12; function foo() { window.otherThing = x; } </script> Inside foo we can access window, we all know that, but why exactly? Is it some kind of special global variable? Or does the "r...

 
@jAndy That got upvoted 8 times?
Yecch.
 
indeed Yecch :p
its the same old problem on SO - the fast gun gets the votes even if the answer provided is not from high quality at all
 
RT @radar: Why #HTML5 will change the way you think about the web http://oreil.ly/pmWT3p
RT @rik24d: Wanna learn about security from the Mozilla Web Security Team ? Put this in your schedule. http://t.co/z9FfuoH
 
I suggested several times some kind of "delayed answer" option for a questioner, so the answers will increase in quality
but it was declined with the fear of too many "clone" answers... well, I have to agree that could happend but on the other hand, this also happens today quite a lot
 
@jAndy Yeah, that's part of the reason I rarely answer questions anymore.
 
2:12 PM
SHALOM YILADIIM!
hows it going?
 
@Neal Oh, not too bad. Doing some mindless copy and paste to fix other peoples' crap
 
@RyanKinal lol
 
If I see another .hmtl there will be blood ;-)
 
@RyanKinal ??
 
@Neal I'm editing iframe src attributes (barf) to be consistent with files that were just uploaded. There have been several instances of .hmtl instead of .html.
 
2:18 PM
huh?
 
These iframes were put in by "content developers". They mis-spelled html. Thus, we got 404s.
 
@RyanKinal ahhh now i see lol
im sorry
 
0
Q: jQuery - deferring ajax function return on success only?

IncognitoI've got some code set up, and I'd like to get a very simple API going for ajax requests. So, what I'd like to do is simply do is use deferred somehow to return success. var factory = function(dataParams) { return $.ajax({ type : "POST", dataType : "json", ur...

 
@Neal Me too
 
@Incognito see my answer...
 
2:23 PM
Right, but I'd like to do something such as deferred.
 
@Incognito you cant do that from a function where there is no ajax...
you have a function calling a function calling ajax
 
I have a function calling a function returning an ajax object
 
@Incognito see here: api.jquery.com/jQuery.when
 
Right, but how can I use $.when for successes only?
 
you cannot return on success, it is still asynchronous, you must use callbacks
even with $.when you need to use callbacks or else your variables remain undefined
@Incognito see the update to my answer..
 
2:29 PM
That's closer to what I was thinking, but how do I return something once .done() is done?
 
@Incognito YOU CANT
it is still asynchronous
you need to use callbacks
 
This is depressing!
 
what do you not understand?
@Incognito you cannot use that $.each without a callback to another function which does the $.each
 
I'm trying to put dataTools.foo, and run code conditionally on the return.
 
@Incognito you really cant. make a function to do the each in the done part of the where or in the success of the ajax
 
2:32 PM
I think I'm just better off with my original design, which returns the ajax object, and I run dataTools.foo().success(function(jqXHR){/*...*/})
 
otherwise you have no variable
@Incognito you will get nada.
nothing
zip
...
@Incognito i would sugget updating ur factory script to include a success.
 
Why's that?
If I return the ajax object, what's the difference between chaining the .success, as opposed to the callback?
I'd have to change my dataTools.foo() to return factory({}), but I think it's easier.
 
...whatever
u dont understand at all
...
 
Well I'm trying to.
 
asynchronous = no return
 
2:39 PM
well.. jQuerys jXHR object also abstracts a Deferred object, so you indeed can return the request object just like that
function myRequest() {
    return $.ajax({});
}

myRequest().done(function() {});
 
@jAndy yes, i know that
@jAndy @Incognito wants to return from the done
which is not possible that i know of
 
Ideally, but I'm now wondering why I can't chain success to the return instead of using a function callback.
 
why do you want to return from the callback ? Can't you just do what you want to do in the success/done handler
 
I could, I'm just looking to abstract everything to be simple as mud.
 
well, you have to call something useful at some point.
function myCoolFunction() {
    console.log('I am useless');
}

$.ajax({}).then( myCoolFunction, myCoolErrorHandlerWhichIsNotDeclared );
how can it be more abstracted like that
 
2:52 PM
Well, I was trying to do this:
$.each(dataTools.foo(), function(k,v){
    console.log(v);
});
But now I'm going to do this:
dataTools.foo().success(function(jqXHR){
    $.each(jqXHR, function(k,v){
        console.log(v);
    });
});
Which should probably do away with my need for any deferred work, I think.
Any comments on this approach instead?
 
3:33 PM
We like everything about HTML5ASS http://html5accessibility.com/HTML5ASS just the way it is. Much thanks and love to @stevefaulkner
 
user1385191
LOL
 
@MattMcDonald LOL indeed.
 
Yeah, that's just awesome. "In other news, the Internet's irony meter has just exploded."
 
 
1 hour later…
4:53 PM
those of you with parents, if you ever do show your parents the things you make, do they feel excited, surprised, impressed
 
user1385191
"...those of you with parents..." uhhhhhhh
 
@MattMcDonald ha. i was just abt to say that
 
well im considering some people here are quite old...
my dad is impressed to see the application i made :P n i guess he was proud so i felt good to see him, wanted to know if you guys do the same
 
Hello did someone could help me with jQuery stuff ? really strange behavior for my part... can't fire a href :| (exemple at : jsfiddle.net/p2pm2
@ErrorErrorError how old are you ? Really cool when parent are proud, but, after sometime, you stop showing all the stuff you do to your parent ;)
 
user1385191
@JonathanLaf they don't fire the hover because they have no content, nor style
 
5:00 PM
@JonathanLaf am 19, its funny to me cuz my mom is always treating me like a lil kid untill she sees the things i make with robotics and such
 
@MattMcDonald jeeeeeez.... searching like 20minutes now why that dosn't work
@ErrorErrorError life's going to change... in a few time all your familly going to think that you have nothing more interesting to do than fixing them computer / dvd / tv / etc... and because you like when people are proud of you, you're not be able to say no, so you're going to finish by thinking that is pain in the ass to do all this stuff and finaly you're gonna be mad about robotics / programmation / etc... Life is a bitch :)
Sorry to broke you're dream i'd prefer if someone broke mine before... lolll ;)
 
hahaha i totallly agree, my mom at first thought dad was useful to go around fixing stuff now she thinks he has nothing better to use his time for :P
those that can continue despite other's opinions are the true to the game :P
 
God save us...
 
somebody please create an HTML scoring site named “HTML Thingfish”
 
@ErrorErrorError I try to make users happy. My bosses never understand.
My parents don't either.
Sometimes the users don't either :(
 
5:11 PM
I think that is a curse all developers and programmers have, they are often misunderstood and their intent goes unheard
 
@ErrorErrorError what do u consider "quite old"?
 
@JonathanLaf the only source of happiness we would get or hope of someone understanding us each other because only we understand the complexity and the hardwork of a certain project
@neal i would think someone 40-50+ commonly would have their parents expired
 
@ErrorErrorError u serious?????????
 
jeez...
lolll
that kid going to kill me :|
 
majority of the people give birth to their first child in 20s, so if their child is now 40 years old, they would be around in their 60s...70+ being he highest, world's life expectancy is 69 years
 
5:14 PM
...
 
its based upon presuppositions :P
 
uhhh huh...
 
after a certain time, when everyone stops caring about what you do or make, the only ones to understand your work will be ur fellow peers in the similar if not same profession
 
maybe revise it to "have a parent or parent-in-law expired"
 
user1385191
I'm having great difficulty following this conversation
 
5:16 PM
perhaps the life expectancy where you guys live is higher, but in toronto ontario, 2 of my friends lost their parent at 16, then a couple others at 18
with growing time life expectancy is shortening, so even fi you dont agree with me now my statement will become true in the future
 
@MattMcDonald can't figure out why that dosn't work... jsfiddle.net/p2pm2/4 could you take a look again ?
@MattMcDonald i've stop follow this conversation when @ErrorErrorError start talking about life and all this =.= I think we have a great Dalai Lama in here... ;)
 
@ErrorErrorError google.com/…
 
@JonathanLaf bc u ddnt include jQuery...
@JonathanLaf jsfiddle.net/p2pm2/5
 
ARG !! :|
sorry neal...
 
5:24 PM
@Neal i foudn it more accurate to refer to world life expectancy than U.S because people here r from different parts of the world's so if i were to be accurate 100% its either i state every country's life expectancy or take the entire world n ignore the error of deviation that may occur
 
w00t. i can make screensavers now
 
user1385191
@JonathanLaf lol, you're not even loading jQuery
 
@MattMcDonald i said that....
7 mins ago, by Neal
@JonathanLaf bc u ddnt include jQuery...
 
in my file I included jQuery don't worry :P
 
user1385191
is that why when I switch the "framework" option to jQuery it magically works?
 
5:38 PM
that's because i've made some test on the fiddle instead of my file, that's why that's work on the fiddle when you switch the framwork ;)
 
5:49 PM
15 years of Opera http://goo.gl/YpvoF Jon von Tetzchner made the first public announcement of the Opera browser on 14 July 1996.
 
6:20 PM
@ErrorErrorError STOP MAKING NEW SO ACCOUNTS
1
Q: User keeps getting banned, yet keeps making new accounts to ask questions.

NealThis user: http://stackoverflow.com/users/761669/errorerrorerror Keeps making new accounts. He/She just asked another question here: change source of calendar...How to do it with a button? Using a new username. I know it is the same user because they admitted on chat to making more than one ac...

sorry i am very very bothered by it. it had to be done.
 
Hello did someone could tell me in jQuery,

jQuery(".artiste_sprite").hover(function(){
jQuery(this).find(".fiche, .hover_dark").stop().fadeIn('normal');
}, function(){
jQuery(this).find(".fiche, .hover_dark").stop().fadeOut('normal');
});

put all fadein fadeout in queued is there a way to be shure they don't queue ?
 
use stop(true, true)
 
user1385191
ugly, ugly, ugly code
 
user1385191
stop murdering the DOM by using classes for traversal everywhere
 
@MattMcDonald if this is ugly show me how it can be beautifull i'm not a jQuery masta... still learning...
Matt I have this button a lot of time in the same page and I want it to all have the same hover
Thank you Neal, I was near the right answer -.- sorry
 
6:34 PM
@JonathanLaf sok
 
how do you highlight code on paste bin?
 
@ErrorErrorError you dont. and if u ddnt notice all ur accounts were merged
 
yeh shit its bs lol im unmerging them
 
@ErrorErrorError u cant and if u do, you will be reported again on meta
 
user1385191
6:39 PM
one handler, 0 traversal required
 
user1385191
1 message moved to Sandbox
 
user1385191
from there, you can loop through target.childNodes
 
@MattMcDonald you are using javascript directly, did jQuery not there to do the same ?!
 
6:53 PM
i think i need my JS to have sessions to work
 
Whoever is flagging everything as spam/offensive, please stop misusing the flags.
2
 
@MichaelMyers ? in reference to... ?
 
2
Q: Which JavaScript-framework has nice CSS rule editing capabilities?

Robert SiemerWhich JavaScript framework (jQuery, YUI, script.aculo.us, Ext JS, Dojo...) has at least basic CSS rule editing support? From a HTML page I link to a CSS file, with e.g.: #answer, .reveal { display: none; color: blue; } #answer { /* additional stuff */ } Now, via JavaScript, I want to change t...

 
@0A0D If you don't know what it's in reference to, then good, I'm not talking to you. :)
 
@0A0D in reference to preventing everyone in the room from getting a temporary one hour ban
I've done it before, I'll do it again.
 
6:57 PM
@jcolebrand I just joined less than 5 mins ago :) I have no idea what is going on
 
Those flags exist for a reason, they are not to be used lightly
@0A0D well, 14 messages ... ok, fair enough ;)
 
user1385191
what in the world is happening in here?
 
@MattMcDonald the world is happening Matt, the world!
 
@MichaelMyers Yes Mom :)
 
lol @Neal ur always triyng to create problems for me when im simply trying to get help, the flamers arent helping...I hope you DO realize if I had the intent i could block my ip, change it frequently, and mass create accounts using macro's bots etc in a second
 
7:02 PM
@ErrorErrorError but yet you dont. and you keep using the same email over and over ^_^
i try to help you
just stop making accounts
 
@ErrorErrorError <accent type="german">Ve haf vays of finding you out.</accent>
 
also, what the mod said you misunderstood, he did say it is used by various accounts, which meant not just mine, in theory it means the same IP is used by 4000 people....not just me...so he cant ban them all
 
(By the way, mmyers = me in case anyone's confused.)
 
hi all
 
hey dino :P
 
7:08 PM
i'm using some of the jquery demos in my code, is there an easy way to strip any unsed css?
without maually going through the elements / classes
 
@Neal great now there r ppl searching all my questions thanks to you and downvoting them
 
@ErrorErrorError Your questions look about the same in terms of downvotes, except for your more recent one
 
i had a couple of + votes but now that to his post those r going down too
 
user1385191
I'm having a great deal of difficulty believing any question you've asked is worthy of praise
 
@ErrorErrorError, people don't just downvote because Neal tells them to. They downvote because they think the questions are bad.
 
user1385191
7:12 PM
judging by your extensive cryptic posting here
 
@MichaelMyers do me a favour n ban this acc lol
n all my accs
 
@ErrorErrorError why all the ragequit?
 
@0A0D users with 153 rep can't ragequit
 
rep shows nothing, if i was rep hungry id spend hours on here daily posting n answerign questions like u
 
@jcolebrand i mean you can always ask for your accnt to be deleted, right?
 
7:14 PM
You can yes
However, I have yet to understand what benefit that brings.
 
@jcolebrand thats what i mean
 
(which everyone here has agreed to)
 
@ErrorErrorError ur welcome? i dont think th at is the reason..
 
> You agree that all Subscriber Content that You contribute to the Network will be licensed under the Creative Commons Attribution Share Alike license. You grant Stack Exchange the right and license to use, copy, cache, publish, display, distribute, modify, create derivative works and store such Subscriber Content and to allow others to do so (“Content License”) in order to provide the Services.
 
@jcolebrand I know
 
7:17 PM
> Subscriber warrants, represents and agrees Subscriber has the right to grant Stack Exchange and the Network the rights set forth above. Subscriber represents, warrants and agrees that it will not contribute any Subscriber Content that (a) infringes, violates or otherwise interferes with any copyright or trademark of another party,
etc it goes on and on ad nauseum
point being, there's no reason for a ragequit
everything is already public via CC
 
@jcolebrand yes, but I was using it in the context of stop playing a game out of anger (e.g. SO)
delete account, change password so you don't remember it, etc
 
@ErrorErrorError I don't do that. I have probably answered questions for the past 18 months on here? There's a chart that shows when I did.
It's a gradual accretion thing
@0A0D again, that's just silly
Just stop going.
 
@jcolebrand Not arguing with you, just saying :)
 
@ErrorErrorError u post a response to my question on meta if u want to explain urself to people and it means that much to you
 
i prefer it having banned, i really dont care what the people posting think as most r douche trying to add fuel to the fire just becuz they have free time
 
7:20 PM
@0A0D I didn't think you were really arguing perse, just that I don't understand why people want to ragequit all the time
@ErrorErrorError what the hell man? What fire? What fuel?
 
does everyone agree that jquery is pretty much the best js framework out there?
 
@jcolebrand I don't get it either.. Take Neil Butterworth for example, great guy.. but has essentially rage quit twice in the past year
 
lol consider it a challange, you said u have vays to find me, consider it a challange that if i make new acc you cant find me
ive noticed many of the people on SO have free time n the intention to add fuel to the fire
 
@ErrorErrorError We just want good questions and answers. Not a crappy forum that helps no one.
2
 
for absolutely no reason, they dont even know you
 
7:21 PM
@ErrorErrorError what fire? What fuel? What are you on about man?
 
@jcolebrand stone age is over welcome to SO
 
@ErrorErrorError I would love to see that challenge set forth. However, there are 600,000 users on SO, why would they care about you?
@ErrorErrorError English isn't your first language is it?
 
no its my 7th
 
roll eyes
 
@ErrorErrorError that would explain why you don't understand my questions then I suppose.
 
7:25 PM
@jcolebrand you clearly display the qualities of a pessimistic one
 
"Of a pessimistic one" what?
What in the world are you saying man?
 
user1385191
@ErrorErrorError My patience for you is growing very thin.
 
I would be highly happy with you speaking your native tongue if it meant I could understand the words that you are typing into the keyboard. I think you're missing a few bolts or screws.
 
@ErrorErrorError are you drunk?
 
ha
 
7:28 PM
This room was placed in timeout for 1 minute; the topic of this room is "Discussion for JavaScript and the many frameworks - jQuery, Prototype, MooTools, et al. Weekly Topic: Why use DOM/js instead of libraries" - conversation should be limited to that topic.
 
its very normal for you to not understand me, considering you are cave men:P
 
I think this conversation is at an end, gentlemen.
 
Who likes cheese.... while programming javascript?
4
 
Eeeexcellent.
 
Oooooh, cheese.
I like cheese.
I don't like stinky cheeses, I never acquired the taste.
Gimme some sharp cheddar ... so sweet and rich
 
7:31 PM
@jcolebrand Careful, we'll get put in timeout again :)
 
user1385191
let's talk tables:
 
@0A0D lol
@MattMcDonald do tell
 
user1385191
3
Q: jQuery: How to count table columns?

AndrewUsing jQuery, how would you figure out how many columns are in a table? <script> alert($('table').columnCount()); </script> <table> <tr> <td>spans one column</td> <td colspan="2">spans two columns</td> <td colspa...

 
user1385191
sorry, keep copying the wrong link
 
@MattMcDonald Does that account for colspan="2" ?
Nevermind, I see that now.
 
7:34 PM
hey all
 
user1385191
they're converted to numbers
 
is this an effective query to give me the matching verbs and roles based on the relationship through privileges: SELECT verbs.name, roles.name FROM verbs, roles INNER JOIN privileges ON privileges.verb_id = privileges.role_id WHERE privileges.enabled = 1
 
user1385191
this isn't an SQL room
 
@MattMcDonald I couldn't get yours to run at jsFiddle
 
@MattMcDonald why not write it numCols += row.cells[j].colSpan;
 
7:37 PM
 
@0A0D Link?
 
cool, never knew the site existed
 
@JohnMerlino try and use that for actually hard SQL questions tho. For easy ones goto SO
 
user1385191
the table doesn't have an id
 
user1385191
you need to paste my HTML
 
7:37 PM
oop
 
You'll get faster results asking on SO than on DBA, but you'll get more authoritative on DBA
 
@0A0D TR isn't terminated
 
@Incognito Yea, but it was missing the table id doh
 
user1385191
every time I interact with tables via the DOM, I'm more impressed by how complex the support is
 
@0A0D That too.
 
user1385191
7:39 PM
separate rows HTMLCollections for thead, tbody, and tfoot is huge
 
@MattMcDonald jsfiddle.net/XQjFB/2 fixed
 
cool fiddle imma borrow it :P
 
user1385191
do you realize that jsfiddle by default calls on window.onload? ;)
 
@MattMcDonald nope didnt know that
 
user1385191
you only need to wrap the code with that function if you're setting it in the head
 
7:40 PM
@MattMcDonald thanks for the tip
 
user1385191
the best method is to stick scripts at the end of the body
 
user1385191
since scripts are synchronous in order, the DOM is ready before the script is called
 
@MattMcDonald makes sense
 
You actually have several options there. onload or onready
 
user1385191
yep
 
user1385191
7:42 PM
I like to run body, pure-js, and no css reset
 
@MattMcDonald What happens with your JS for tables with more than one row?
The column count increases each time...
 
user1385191
of course it does
 
But that's cellls, not columns.
 
user1385191
the OP's code seemed to imply he/she was looking for the grand total
 
columns x rows = cells.
 
user1385191
7:43 PM
cells default to colspan = 1
 
Ah.
Right, but if we're counting columns in any spreadsheet, or table, we wouldn't say the number of cells.
 
user1385191
that's why many of the answers do a falsy value check then increment by 1 if the property is falsy
 
it seems the OP is looking for the overall structure
but that assumes a continguous table
it does seem that the answer really should be 3 though
 
user1385191
colspan = number [CN]
This attribute specifies the number of columns spanned by the current cell. The default value of this attribute is one ("1"). The value zero ("0") means that the cell spans all columns from the current column to the last column of the column group (COLGROUP) in which the cell is defined.
 
@MattMcDonald nevermind, I see it now
they aren't separate rows
 
7:54 PM
@MattMcDonald I think you'd need to do something like this at the end of the day: jsfiddle.net/XQjFB/10
If we're counting columns, not cells.
 
user1385191
ugh, the message selector is so buggy
 
user1385191
1 message moved to Sandbox
 
00:00 - 20:0020:00 - 00:00

« first day (270 days earlier)      last day (4670 days later) »