« first day (857 days earlier)      last day (4077 days later) » 

3:00 PM
I love that he is on cooking.se
that shit is badass
 
meetings :)
how I love thee
be back in a few hours
 
totally badass
lol, cooking.stackexchange is so funny
8
Q: Mystery "organ" on the underside of chicken thighs?

Jeff AxelrodThere is a small, round, black "organ" under chicken thighs, and some people like to eat it. Identifying this seems to be quite the lingering Internet mystery. They are there on prepared fried chicken--specifically Popeye's, but I'm sure it's there on any prepared bone-in chicken thigh. I've...

These guys are sick (in a fun way)
78
Q: Is it possible to cook a whole fish in a dishwasher?

AttilaNYCI heard that there is a way to cook a whole fish in a dishwasher - any techniques, tips??

 
i cook in my dishwasher all the time
 
Someone actually did it, lol
 
Good day everyone!
Guys does anyone, is there an algorithm on how to calculate top an left properties of an element, like in jquery ui dialog?
 
3:06 PM
@Eugene I think that if you're already using jQuery you already have that built in
 
What do you mean?
 
dialog plugin?
 
relative to the parent
api.jquery.com/offset relative to the document
 
It's strange to me that position is relative to the offset parent, while offset is relative to the document.
One more reason to love jQuery, I guess
 
3:11 PM
@BenjaminGruenbaum So if I want to center in window, then I should get var win = $(window).offset; and set to my element $(elem).offset({ top: win.top, left: win.left });?
 
method accepts no arguments
oh wait, it does, didn't know that
then yeah, look at the API, look at examples. I'm not sure but it's probably the easiest way
 
@Eugene That won't do what you want it to
 
@RyanKinal it wount? Damn.
 
@Eugene you need to subtract half the width, and half the height
 
You want to set the element's offset x to half the width of the window minus half the width of the element
 
And similarly for y, but with height
 
@RyanKinal Okey. Thanks. will try, that out.
 
I just spent a few hours optimizing my web app for FF (the only slow browser) and I found the highest bottleneck : fillText on a canvas. This is so slow...
 
"The only slow browser"?
 
for canvas drawing, yes
 
3:18 PM
Quite a statement.
Ah, I see.
 
chrome (even on Android) and IE are much much faster (for Canvas drawing, again)
I wonder if I'll not cache all letters and digits as images for the current font and font size and write my own text filling routine...
It now takes about 3ms for drawing 30 6 char strings...
 
@RyanKinal Done. Voted to delete.
 
PLOT TWIST!!! It seems window.event is actually defined in Chrome. — Ryan Kinal 1 min ago
^ whodathunkit?
 
Hu ?
Oh my...
document.body.onclick = function(e){console.log( window.event)};
Why ?...
 
3:35 PM
:shrug: No idea
Compatibility with IE seems the only "reasonable" answer
Oh hey, it's John Resig.
 
this makes me sad
 
:goes back and deletes jQuery comments:
 
@RyanKinal didn't help.
 
Haha
 
exit -> invalid command
bye -> invalid command
quit -> remote host closed the connection
 
3:36 PM
@Eugene No?
 
Cool thing there is no jQuery bashing on this page today :)
 
@JohnResig Woah, we're famous now!
 
People have been pretty good as of late!
 
@RyanKinal width should be calculated like that. ( $(window).width() - element.width() ) / 2
 
@dystroy :P
 
3:37 PM
"We" as in the chat room. You're already famous. Can I have your autograph?
 
@Eugene Nope. $(window).width() - (settings.css.width / 2))
 
@RyanKinal and height same way?
 
@Eugene Should be
 
@JohnResig Seriously, most of us love jQuery (even while knowing javascript pretty well) and the other ones don't really hate it but just hate noobs who don't know they could walk a few steps without it.
 
3:39 PM
:D haha, that's good to hear
 
@dystroy are you really sure about that :D
 
Shhhhhh
 
Hahahaha
 
lol
 
@JohnResig, yeah seriously, thanks for making our lives easier (well, mine at least).
 
3:40 PM
well raynos etc really hates it :D
 
I hate how people think jQuery is a language
 
Just because I'm a rebel and like to stir shit up, jQuery is urgh.
 
well it is technically internal DSL
if that's a technical term in the first place...
 
@phenomnomnominal +1 I really think jQuery helped a lot people learn good practice even without using it
 
No I kid, I actually use it myself right now. :D
 
3:41 PM
@RyanKinal You are mistaking
 
@Eugene Maybe.
But the concept is sound
 
Anyone wanna buy a domain: jqueryisntalanguage.com
 
@Neal ^
 
@JohnResig How comes you join our weird place where we occasionally discuss JavaScript stuff too? :)
 
@AmaanCheval :-P
 
3:42 PM
He and Loktar buy domains the second they see they aren't taken :P
 
> embedded (or internal) domain-specific languages, implemented as libraries which exploit the syntax of their host general purpose language or a subset thereof, while adding domain-specific language elements (data types, routines, methods, macros etc.).
 
@JohnResig hello there :-)
 
oh, I had just never been to the SO chat before, didn't realize it was a thing :-P
2
 
I assume he doesn't need help with a jQuery question. :D
3
 
@OctavianDamiean Hahahaha
 
3:43 PM
@JohnResig, tell all your friends
 
@JohnResig it is a thing. ^_^
 
we quite like it.
 
@JohnResig If you're stuck, just ask us mate, we'll join the mailing list and ask, the answer will take a while depending on how quick you are on answering questions on your mailing list. :D
 
@Eugene Oh, heh... ($(window).width() / 2) - (settings.css.width / 2))
@JohnResig We have fun, and sometimes talk about JavaScript
 
!!/live
 
3:45 PM
@phenomnomnominal I'm not dead! Honest!
 
@JohnResig I'm just curious right now, are you still on / contributing to the jQuery - project or did you quit for good?
 
We also have a pretty sweet bot
!!/define John Resig
 
@phenomnomnominal John Resig: John Resig is an American computer programmer and entrepreneur, best known as the creator and lead developer of the jQuery JavaScript library. (source)
 
!!/urban John Resig
 
No shit bot?
 
3:45 PM
@phenomnomnominal jQuery A javascript library written by John Resig. Its intent is to make DOM querying and manipulation easier. It removes the pain of cross-browser compatibility issues.
 
Beat me :P
 
You'd think Urban Dictionary would be more interesting
 
!!/urban john
 
@KendallFrey [John](http://john.urbanup.com/2962732) a very extreamly confusing guy. shows that he has feelings for you sometimes, but then might just randomly stop talking to you at any time. veryy flirtatious. manwhore. willll lead you on. halarious. full of charisma. you have to love him. boys are jealous of him. girls are jealous of the girl he is flirting with at the time..
not persistant.
changes moods easily; moody.
greatest, most annoying person on the face of this earth..yet i still want to be with him..
 
Maybe...
 
3:46 PM
@AmaanCheval I'm shocked that it it was actually helpful for once!
 
@GNi33 yeah, don't really contribute much any more - there's a good team taking care of things now :)
 
@JohnResig So you are on the next big thing I guess? I'm all ears. :D
 
so how's your view on the project now that you're not involved anymore yourself?
 
@JohnResig, can you email my boss and tell him we don't need to support IE8 any more?
Haha
 
@phenomnomnominal I concur with you on this...
 
3:48 PM
@JohnResig you know, you're quite a bitch on SO. 10 answers and over 20k rep...
 
@GNi33 I'm working at Khan Academy, specifically on our CS platform: khanacademy.org/cs - getting people to learn programming
 
@FlorianMargaine haha yeah, it's hilarious
 
!!/stat
 
@AmaanCheval That dude sucks
 
3:48 PM
Hah yeah so much rep with so little effort :P
 
@Zirak :(
 
you need to start working for it
 
@JohnResig That's the Skeet syndrome. It's not fatal, don't worry.
 
@AmaanCheval Amaan Cheval has 5101 reputation, earned 10 rep today, asked 9 questions, gave 217 answers, for a q:a ratio of 9:217.
 
@GNi33 jQuery is still being run really well, imo and the work is still as relevant as ever
 
3:49 PM
input[type=number] super shim
 
!!/stat
 
@JohnResig I'm honestly surprised people aren't just starring everything you say on here...
 
@JohnResig John Resig has 21403 reputation, earned 0 rep today, asked 0 questions, gave 10 answers, for a q:a ratio of H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ.
 
@phenomnomnominal have you been here before?
I dont know anyone in the chat who likes jQuery.
Im surprised no one is trolling him hard.
 
I don't really like the API
 
3:49 PM
@Loktar I like jQuery
 
that's why I think jQuery 2.0 is not something I'll ever use
 
It's giving me so much rep
 
@Loktar you don't remember me? :P
 
@Loktar I like jQuery....
 
Regardless of our issues with the use of jQuery, there was some pretty impressive programming involved in it's creation
 
3:50 PM
@Loktar, I do too. It saves me so much time
 
Ohhh sure you guys do now.
 
but I am just sticking with 1.7.2
 
@Loktar I just arrived and was ready to say: input[type=number] super shim with this effing jQuery to handle effing events
 
@Loktar I at least don't dislike it anymore.
 
But I stopped when I saw the avatar (a)
 
3:50 PM
@JohnResig yeah, i've seen. there seems to have been a lot of improvement on that sector on Khan since my last visit, will need to have a closer look in the evening
 
I think its pointless with 2.0.
 
@JohnResig you should totally use this plugin: github.com/rlemon/jQuery-supa-methods
 
I'll use 2.0. for most of my apps. I don't support old browsers anyways as most of my applications use extensively the canvas
 
The cool thing about jQuery was handling the crap I didn't want to with IE6-IE8. Now meh.
 
(jQuery does not even handle mousewheel event without a plugin but handles $(5+2)...)
 
3:51 PM
@Loktar I always appreciated the DSL syntax most
 
Too bad @rlemon isn't here :(
 
@Esailija you have weird tastes
 
@JohnResig I love what you're doing with Kahn Academy :P
 
@dievardump The good thing with jQuery is that you can easily switch to pure javascript when in need
 
Kahn Academy is amazing, and I hope it becomes the future of public education, or greatly influences how people and children are taught.
 
3:53 PM
@dystroy going to be binned in 3...
(unformatted code)
 
Wow.. using jQuery with canvas?
 
I do not see the point.
 
@dystroy you could have used .on("mousewheel DOMMouseScroll") just as well
 
@dievardump jQuery is slow. Canvas is slow. Why mix them both?
 
3:54 PM
@dievardump You don't see the point in mixing JavaScript with JavaScript?
 
@Esailija nope because mousewheel DOMMouseScroll are not supported by jQuery "natively"
 
@FlorianMargaine canvas isn't actually that slow
 
@dievardump eh? it will work fine if u use .on you are wrong....
 
@phenomnomnominal what?
 
3:54 PM
@dystroy but I don't see how you are using the capturing... it's just extra work during the events?
 
^ my designer
 
Canvas is very fast (apart fillText on Firefox...)
 
god, cufon is horrible
 
@dievardump not sure if sarcasm :P
 
@dystroy I wouldn't say its very fast
 
3:55 PM
cufon hurts my mind brain.
 
but its reasonable
 
Canvas is faster at drawing than I am.
 
@Loktar it isn't slow in itself, but it can be when doing lot of stuff. Using jQuery over it (which is slower than native DOM) can only make things worse
 
so is my c64
 
Exactly
 
3:55 PM
@FlorianMargaine yeah.. plus why the hell would you use jQuery when doing any canvas work regardless?
 
@Esailija shhhht. Loktar asked for a troll
 
You don't even need to manipulate the dom...
 
@dievardump ;P
 
@dievardump huh i didn't ask for a troll
 
3:56 PM
Canvas-Performance on Chrome is amazing for what canvas actually it is, and seeing what can be done with WebGL is great
 
@FlorianMargaine jQuery over it doesn't mean anything : jQuery is just used for some events dispatching... It doesn't change anything to the problems where speed is needed
 
just found it funny how normally people bash jQuery like theres no tomorrow all of a suddenly when @JohnResig joins jQuery isn't that bad
hard LAWL
 
7 mins ago, by Loktar
Im surprised no one is trolling him hard.
you asked.
 
@GNi33 Canvas performance on IE is decent too
 
@GNi33, @dystroy, yeah but no WebGL in IE
 
3:57 PM
@Loktar the jquery bashers are usually @rlemon and @Raynos though
 
haven't got the chance to test it on IE10 yet
 
@FlorianMargaine and you :D
 
^
 
nah, I've always been pragmatic about it.
and yes, I always said that I don't like jQuery's API
8 mins ago, by Florian Margaine
I don't really like the API
 
do you like regexes, css and sql? templating languages?
 
3:58 PM
6 mins ago, by Florian Margaine
@Esailija you have weird tastes
 
Wait, didn't we agree not to talk about religion?
 
Are you going to argue who like or does not like jQuery now?
 
@Esailija how can you consider a library as an SDL language?
 
because it is
 
The regex religion: "All power to the /!"
 
3:59 PM
@OctavianDamiean Who would be the super gourou?
 
it's not
 
it is recognized by the wikipedia article for DSL (Internal or embedded dsl) as well as the book Domain Specific Languages by Martin Fowler.. which I recommend reading
 

« first day (857 days earlier)      last day (4077 days later) »