« first day (140 days earlier)      last day (4827 days later) » 
00:00 - 21:0021:00 - 00:00

12:00 AM
thanks, looks awesome
I've got too many bookmarks already - but this is good :)
are you guys doing exclusively javascript/front-end, or other kind of work as well ?
 
I actually am exclusively a generalist.
3
 
@Nathan I could have written that
 
user1385191
I'm a flash app dev
 
but then I'm more proficient for back-end, data, devops than javascript
thanks guys really for all the books links, appreciated. Need to go offline now!
 
Just bought the 6th ed :D
@Nathan epic line
 
12:09 AM
blush
 
You should eat sugar more often :D
Chuck Norris will round house kick you if you don't listen to the Crock
4
 
12:42 AM
off to bed with rough cuts
night guys!
Night @Nathan @Shaz
 
goodnight @MylesGray
have a good weekend.
 
you too man :)
ill be here most likely anyway
 
@MylesGray Night
 
I am braindead... anyone around with CSS brainpower?
Anyone.
 
i can help
still not in bed :P
 
12:56 AM
oh hai!
the white h2 at 173.236.215.159 ...
 
o hai der :)
 
i keep hacking inline styles but it's not moving to the right
I want it across from the yellow and white <h1>
 
so you want it left?
 
no I want it right
 
12:58 AM
in the blank space above the slideshow photo
 
it is right?
you want text-wrapping?
 
yes
and the h1 is clearing underneath it
 
oh so you want the h2 wrapped over 2 lines beside the yellow and white?
 
yes
float:right is not doing what I think it should
but I am too stoopid on Friday afternoon
and after all that sugar...
 
add width: 460px;
 
1:04 AM
no helpy
 
oops
455px
and float:right;
:)
also if you add a space before and after the / it will go over 2 lines instead of 3 :)
 
gahhh I'm using = instead of : in my css
thank you so much
 
no problem :)
thats what i managed
its pretty :) nice work man
 
thanks. It's mostly a $15 WordPress theme, I didn't do much design
only hacked in the superfish menus
 
looks nice anyway :)
 
1:09 AM
and customized the masthead a little
 
superfish =, 1337
some anti-ailiasing problems on the diagonal shaped letters..
strange
 
now the "client" will ruin it all with images like this anyway.
 
I saw that i was like.. oh... oh dear
ok really bed time now :D
night man good luck :)
 
yah thanks again!
 
no problemo :)
 
 
1 hour later…
Tek
2:23 AM
Does anyone use chrome?
 
@Tek Not particularly, but I do have it if you want to test anything
 
Tek
Lol not really, I just wanted to know if there was a "I'm feeling lucky" shorcut for when you search something on the address bar
instead of it taking you to a google result page
From Microsoft themselves: ie6countdown.com Weeeeee
For those that haven't seen it :p
 
 
1 hour later…
yc
3:44 AM
Curious if anyone has dealt with this design pattern before:
0
Q: Dual or Multiple Callback Design Pattern with JavaScript / jQuery

ycI have a callback function that I'd like to execute after 2 separate $.getScript calls have successfully loaded. I'm using the below design, but it feels messy, and the use of a named function feels very un-jQuery var foo_ready = false; var bar_ready = false; var dual_callback = function(){ ...

 
@yc With jQuery 1.5 I believe you should be able to do better than that
 
4:16 AM
RT @paul_irish: Whoa - http://yepnopejs.com just went 1.0 - the script loader that'll soon be at the foundation of most HTML5 sites. Jus ...
 
4:28 AM
RT @chrisblizzard: This is one of the weirdest #html5 demos I've seen. @mart3ll, you are an odd, odd man. http://bit.ly/ia4j7r
 
5:22 AM
2
Q: Question about prototypal inheritance need to be disambiguated from questions about the Prototype JavaScript library

Yi JiangIt's really annoying that a major JavaScript library decided to name itself after a language feature (imagine the confusion if there was a library called 'Array' or 'Strings'...) but that we have to work with now. The problem is that there are a large number of questions about prototypical inhe...

pets myself on the shoulder for the brilliant use of the tag
 
6:24 AM
HI folks. Can anyone tell me whats wrong w/ this jsfiddle post: jsfiddle.net/Fy9SL/1
I am trying to invoke an event handler when the image is not available....
 
@deostroll You're running the code onLoad, which means that the browser would've already have tried loading the image and failed before running the code to attach the event handler
 
@YiJiang thanx. completely missed that...
 
@Shaz iedeath-badge.js - what a lovely name for a script!
Unfortunately, loading the entire jQuery library just for that small snippet of code to run isn't exactly optimal
 
6:46 AM
@YiJiang I agree
@YiJiang Help me out or I might go insane
1
Q: "this" problem in jquery

disappearedngI am trying to overwrite a function in jquery ui autocomplete. When I do $.ui.autocomplete.prototype._create = function() { var self = this, doc = this.element[ 0 ].ownerDocument, suppressKeyPress; this._value( ... ) ; I am getting the error of this._value is undefined. I ...

 
@Shaz Can't help you there, except to say that your answer is wrong I believe
 
Wasn't really an answer, question needs to be more clear :/
Well, night @YiJiang and @MylesGray and everyone else who is still here :P
 
 
1 hour later…
user492203
8:10 AM
Hi! :)
 
user492203
Anyone there?
 
8:32 AM
I am :)
 
user492203
 
8:57 AM
what is this ?
 
user492203
@zjm1126 click on it for a larger version :)
 
click where ?
 
user492203
@zjm1126 on the image
 
did you know how to create a chat room like this
i want to create a room but i dont know how
 
user492203
yep I know how to create one
 
user492203
9:00 AM
a moment
 
use what ?
what js lib
 
user492203
nooo
 
user492203
you don't need JS to create a chat room
 
so ....
what langusge you use to create it
python ? java ?
 
user492203
lol
 
user492203
9:02 AM
You want to create a chat room in SO chat?
 
user492203
http://markup.io/v/arcpepd5cwcy
 
i want to create this room on google app engine
 
user492203
ah
 
user492203
sorry IDK how to do that
 
o
thanks
 
9:18 AM
4 messages moved to Sandbox
 
9:32 AM
helo
is there any actionscript developer?
 
@Akhil None of the regulars here are
If you have a question please ask on the site itself
 
actually chat room of as3 have no members. now.
so i asked
actually i need immedate help in actionscript3..
 
 
2 hours later…
11:11 AM
gosh
this is SO inconsistent
also a fun way to detect IE6
 
user492203
@IvoWetzel what's that?
 
logs some stuff
    console.log(
        global.toString().slice(8, -1),
        {}.toString.call(global).slice(8, -1),

        // module
        typeof module,
        typeof module !== 'undefined' && module.exports === exports
    );
 
user492203
Hmm, global is not defined in Chrome.
 
user492203
I have to go now, see you later (:
 
cya
 
 
3 hours later…
2:33 PM
hi to all, may I ask one question about jquery?
 
user492203
Hi! :)
 
user492203
Out of curiousity, I've requested a password reminder on a site where I registered with an OpenID. I've got a hash, it's most likely MD5. And I can also login with it.
 
aLoha all
 
2:59 PM
RT @usejquery: jQuery Mobile Alpha 3 Released http://is.gd/w0Dw3s
RT @mesh: In case anyone is curious, the HTML5 Application Cache api works with SWFs : http://t.co/PjkwTuT
 
user492203
incoming feed spam
 
RT @pornelski: I'm trying to build collection of PNG+alpha images for a redistributable test suite. Can you send me your fancy shiny sem ...
RT @gskinner: Due to popular demand, I set up a google group for EaselJS discussion. Pls share. http://groups.google.com/group/easeljs
 
 
1 hour later…
4:08 PM
0
Q: Writing a client contract for Web development?

Myles GrayI am a small time web dev freelancer during my time off at university and I have some horror stories when it comes to designing sites for people (not that the sites are bad - just the clients DO NOT KNOW WHAT THEY WANT) this really grinds my gears. To set the context this is what I want to avoid...

 
@MylesGray Wrong site :P See: programmers.stackexchange.com
 
on which event i can find out a google map loaded or not?
 
@YiJiang really?
 
Programmers - Stack Exchange is for expert programmers who are interested in subjective questions on software development.

This can include topics such as:

    [...]
    Freelancing and business concerns
 
@YiJiang Ahh thankyou :)
woot 1 close vote :D
can it be moved to programmers?
 
4:11 PM
@MylesGray It can, just wait for the migration
You have enough reps to vote on your own questions, right?
 
@YiJiang yep
 
user492203
@YiJiang Huh, wait, that's a new thing? How many rep is needed for people to upvote their own questions?
 
click migrated
 
done thank you :)
 
friends, is this right place to discuss about google map v3 javascript api?
 
4:21 PM
@rajakvk yep
 
oh. thanks @Ny
oh. thanks @Nyuszika7H
is there any event through which i can find map is fully loaded?
 
@Nyuszika7H Vote to close
 
user492203
@YiJiang I know :P
 
4:46 PM
Hi all! :) how can i make this counter loop after it reached 5? So go back to 1 and count up to 5 again.. jsfiddle.net/ccRmK
 
user492203
@Opoe Hi!
 
Dre
@Opoe set count to 1 inside the if statement
 
@Nyuszika7H Hello!
 
@Opoe count % 5?
 
user492203
function loop() {
   for (var i = 1; i <= 5; i++) {
    // do something
   }
   i = 1;
   setTimeout(loop, 0);
}
 
Dre
4:48 PM
@Nyuszika7H That won't really work, given their jsfiddle example
 
user492203
Hmm, countdown, don't you want it to count down?
 
@Nyuszika7H no it counts up from 1 to 5
 
user492203
@Opoe no that x seconds remaining
 
@Nyuszika7H Oh sorry my mistake ! No it's counting up
 
user492203
4:51 PM
@Opoe And I already told you once to use onDomReady in jsFiddle and you don't need $(function() {…
 
user492203
Dec 19 '10 at 13:55, by Nyuszika7H
@Opoe BTW, use onDomReady instead of onLoad, also, when using jsFiddle, you don't need the jQuery(function() { at the beginning and }); at the end.
 
Dre
@Nyuszika7H I am assuming they copied that out of somewhere else. No point in changing the code for a questio
 
@Nyuszika7H i know :$ haha guilty, but I was editting some one elses code
 
user492203
@Opoe (:
 
@YiJiang Exactly :) thanksss
@Dre count to 1 in the if statement works also
@Nyuszika7H thank you!
@Dre Thank you
 
5:09 PM
Could anyone check out my CV and see what they think?
Please be very critical :D
0
A: little help in HTML

Myles GrayOh dear.. tables... Educate yourself here: how to make full height cell in full height table in Internet Explorer Once you have read that take a look here: http://htmldog.com/guides/cssbeginner/ You will find in the long run using semantic HTMl and meaningful CSS will greatly reduce your work...

More table layouts... >.>
 
@MylesGray man invite me also
 
Dre
@MylesGray tables for layout needs to die in a fire. RIGHT NOW
 
@rajakvk sorry what?
@Dre I take it you havn't heard of my die hard table hating skillz yet?
see here:
3
A: how to make full height cell in full height table in Internet Explorer

Myles GrayDon't use tables for layout please, Use Divs and CSS, It is considered a bad practice to use tables: http://shouldiusetablesforlayout.com http://www.hotdesign.com/seybold/ http://webdesign.about.com/od/layout/a/aa111102a.htm http://www.htmlgoodies.com/beyond/css/article.php/3642151/CSS-Lay...

 
@MylesGray can you invite me to create profile in stackoverflow?
 
@rajakvk on SO careers?
 
5:23 PM
yes
 
yeah sure, i need your name and email
 
rajakvk@gmail.com
 
Full name?
 
rajakvk
 
Dre
@MylesGray that is AWESOME
 
user492203
5:24 PM
 
@rajakvk done :)
@Dre why thank you :)
 
user492203
is going to create a JavaScript library named Vanilla and one named Pure
 
@MylesGray got it. thanks friend
 
@Nyuszika7H that would be awesome
no probs
 
Dre
5:26 PM
@Nyuszika7H But I want Strawberry javascript
 
user492203
/*!
 * Strawberry JavaScript Library v1.0
 * strawberryjs.org
 *
 * Copyright 2011, FruitJS
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * strawberryjs.org/license
 *
 * Includes Fruit.js
 * fruitjs.org
 * Copyright 2011, The FruitJS Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Mon Jan 31 08:31:29 2011 -0500
 */
 
user492203
5:40 PM
I'm trying to animate an element with vanilla JS, but it doesn't seem to work. Anyone? jsfiddle.net/stGcj
 
user1385191
 
user492203
@MattMcDonald Nice, but couldn't it be achieved a bit simpler if I only want to resize it?
 
user1385191
which part do you think should be cut out?
 
user492203
hmm I don't know
 
user1385191
re: your link, why did they even bother asking coyier? He runs a CSS site and clearly doesn't know his way around JS.
 
user492203
 
user1385191
interesting
 
user1385191
I have the computed style in mine because it's essential to do "smart" animating
 
duuuude just spent an hour "repairing" a stuck space key
it kinda works again
 
user1385191
this blog post is beginning to annoy me.
 
the jquery one linked above?
 
user1385191
5:53 PM
can anyone explain the difference between jQuery "chaining" and plain JS chaining?
 
user492203
@MattMcDonald I don't think there's any difference
 
user1385191
yeah, that's what I figured
 
user1385191
it gets paraded around a lot as a reason why people use jQuery, yet it's something that's been around in ECMAScript for a while.
 
@IvoWetzel time to buy a mac :D
 
jquery is a DOM library
 
user1385191
5:56 PM
yes
 
let alone the title "jQuery vs. JavaScript" is pure Bullshit
 
user1385191
^
 
that's like "Java vs. Swing"
?!?!
or "Silverlight vs. C#"
 
user1385191
yuck, silverlight
 
user492203
5:57 PM
Element.prototype.setStyle = function(property, value) {
    this.style[property] = value;
    return this;
}
 
user492203
Chaining is so easy. Just return the element.
 
user1385191
yeah, you can chain quite easily with built-in functions in js/as3 because they return values.
 
user1385191
email me at (matt@fortybelow.ca)
 
Will do
 
user492203
@MylesGray It points to beta 12 :/
 
6:00 PM
@Nyuszika7H not here it doesnt?
Oh the DL file does
@MattMcDonald You have mail
 
@Nathan I don't like the brequire because it compiles. I rather define a require function to be used by the browser
 
user1385191
it needs to travel over the atlantic first
 
half broken space key is half broken but somehow still works
 
user1385191
thanks, got it
 
no probs
 
user492203
6:05 PM
Look at this animation :) jsfiddle.net/stGcj/1 it's vanilla JS
 
Look ma' no jQuery!
 
user1385191
My dad comes up to me today voicing his concern over what Steve Jobs said about Flash/HTML 5. He doesn't want me "left in the dust".
 
@MattMcDonald haha - apparently iPad 2 will support flash?
 
How are people?
Anyone got an example of a very shiny client side javascript app I can show off? (think c9ide)
This addy osmani guy can be really quite annoying
 
user492203
6:13 PM
jsfiddle.net/stGcj/2 Added animation complete effect.
 
@MylesGray I meant applications not deisgn
 
@Raynos oh okay, i just thought it was mighty impressive anyway
 
Thats just a gimmick
 
@Raynos I dont know if this helps? techradar.com/news/internet/…
 
user492203
Any tips welcome… is there a better way to check if a setInterval loop ends?
 
user1385191
6:22 PM
use a recursive setTimeout instead of a setInterval.
 
user492203
why is it better?
 
user1385191
setInterval is buggy in some browsers and can eat up more memory.
 
user492203
ah ok
 
Dre
om nom nom memory!
 
Oh man! Lemmings!
Its made of divs and images :)
Its pretty awesome
 
user1385191
6:30 PM
I'm surprised more people don't use evt.preventDefault for an img's onclick. That firefox behavior of dragging the image is annoying.
 
because preventdefault is evil
complain about firefox image dragging :)
 
user492203
6:58 PM
0
Q: Animation with vanilla JS

Nyuszika7HI've used jQuery for a long time, and now I'm going to make some animations with vanilla JS. Here's my code so far: var box = document.getElementById('box'), a1end, a2end, cdend, a3end, a4end, animate1 = setInterval(function() { if (box.style.top === (window.inner...

 
user492203
Yep, I'm going to do some vanilla ;)
 
user492203
Anyone there?
 
Ofcourse this is wrong, but does anybody know how i can do this with jQuery?

if (count == 4) {
playSound ("url");
}
 
user492203
@Opoe Try jPlayer.
 
@Nyuszika7H is for jQuery the only way a plug in?
 
user492203
@Opoe Yes, jQuery is for DOM manipulation, not for playing sounds. Though you can do it with plugins.
 
user492203
Or you could use Flash… but then you should learn ActionScript, which is similiar to JavaScript, and they work together.
 
7:27 PM
@Nyuszika7H i know actionscript 2 :')
 
user492203
@Opoe :)
 
user492203
If all browsers would support HTML5 audio, you could do it like this:
 
user492203
if (count === 4) {
    new Audio('url').play();
}
 
user492203
@Opoe Pro tip: always use === instead of ==. If you want to do type coercion, do it expiclitly.
 
user492203
Instead of this:
 
7:28 PM
@Nyuszika7H that would be cool!
 
user492203
var num1 = '1',
    num2 = 1;
if (num1 == num2) {
    // do something
}
 
user492203
Do this:
 
user492203
var num1 = '1',
    num2 = 1;
if (+num1 === num2) {
    // do something
}
 
user492203
Alternatively, you may add a + before num2 as well, to make sure both are converted to numbers.
 
@Nyuszika7H allright, thanks for the tip
 
user492203
7:30 PM
There's not much speed difference, though === may be faster sometimes, because it doesn't do type coercion.
 
@Nyuszika7H hmm nice :)
 
user492203
@MylesGray No. Haptics == === awesome.
 
hahah
@Nyuszika7H but if i'll use a plug in like jPlayer to play a sound, wouldn't that slow down?
 
@Nyuszika7H hahah exactly
 
user492203
7:37 PM
@Opoe It uses HTML5 audio when available and Flash otherwise.
 
@Nyuszika7H okay thanks
 
user492203
7:56 PM
@MylesGray Are you there?
 
8:15 PM
@Nyuszika7H that I am
 
user492203
I'm doing vanilla, too :)
 
user492203
0
Q: Animations with vanilla JS

Nyuszika7HI've used jQuery for a long time, and now I'm going to do some animations with vanilla JS. Here's my code so far: var box = document.getElementById('box'), a1end, a2end, cdend, a3end, a4end, animate1 = setInterval(function() { if (box.style.top === (window.innerHe...

 
user492203
Check out the demo :)
 
@Nyuszika7H on jQuery:
if($('current-feed').parent().class() = 'feed'){
     $('current-feed').parent().css(border-bottom, 'solid 1px #000');
}
That is pseudo code - is there a way to do that in jQ?
 
user492203
what's that?
 
8:22 PM
its meant to see if the 'current-feed's parent class is 'feed' and if it is change the partents border bottom to black
but like i say it is only pseudo
 
user492203
var $fparent = $('#current-feed').parent();
if ($fparent.hasClass('feed')) {
    $fparent.css('border-botom', '1px solid #000');
}
 
ahhh
 
user492203
And in vanilla:
 
thats the one
 
user492203
var fparent = document.getElementById('current-feed').parentNode;
if (fparent.className.match(/\bfeed\b/)) {
    fparent.style.borderBottom = '1px solid #000';
}
 
user492203
8:27 PM
Have you seen my animation with vanilla?
 
@Nyuszika7H that I have :)
very nice technique
 
user492203
:)
 
user492203
8:49 PM
function type(obj) {
    return Object.prototype.toString.call(obj).slice(8, -1);
}
function isEqual(obj1, obj2) {
    if (type(obj1) === 'Function' && type(obj2) === 'Function') {
        return obj1.toString() === obj2.toString();
    } else if (type(obj1) === type(obj2)) {
        for (var i in obj1) {
            if (obj1.hasOwnProperty(i) && obj2.hasOwnProperty(i)) {
                if (obj1[i] !== obj2[i]) return false;
            } else {
                return false;
            }
            return true;
 
00:00 - 21:0021:00 - 00:00

« first day (140 days earlier)      last day (4827 days later) »