« first day (19 days earlier)      last day (4945 days later) » 

10:00 AM
@Tek Well, Google said you're more of an ass-kisser than a bootlicker... Sorry. To be honest, I didn't know that word too in english, juste tried to find the translation on Google and it's just a word for word translation :D
 
Tek
lol @Chouchenos
I guess you can think what you want. o.o
 
@AndyE thanks. i was looking for a way to rerender the dom. I forgot .hide().show() ro display: none, display: block would rerender it
 
@Tek Yeah, because, I'm not a robot ¬_¬
 
Tek
=D
 
Ah man. I got it right, guessed @Chouchenos was french. and I got it right :D
 
Tek
10:04 AM
LOL @Raynos
Ahhh you made me spit water all over my keyboard
 
@Tek stop that
 
Tek
@Raynos What are you talking about?
 
@Raynos I need to know what made you guess that ?
 
Tek
@Chouchenos If I'm correct, he based it off a stereotype about the French
 
Who decided typeof null should return object -_-
@Chouchenos ass-kissing
 
10:10 AM
@Tek which is ¬_¬ ?
 
@Tek :O Damned, I should saying Hi each time I come here from now on >_<
 
Tek
hehe
I see how you could detect my greet as ass-kissing. But it's just the norm in American culture I guess?
Anyway, at this rate we might want to move to the SO Tavern since I'm not sure how our chat could pertain to JS much...
 
@Raynos I didn't use ass-kissing, said bootlicking first. Anyway, both have a word for word translation in french lèche-cul (which is rude) and lèche-botte (which isn't). Anyway, thanks to that I learn sycophant :)
@Tek Explanation : you said your greeting to the big boss the second he appeared here. It's like making compliment to have the approval of your boss at work : bootlicking
 
2 days ago, by Yi Jiang
thinks that he can create a userscript that autoresponds to greetings by cutting off the first letter, replacing it with a ' and speaking in a funny (ie. Southern) accent.
 
Tek
10:15 AM
@Chouchenos Big boss? I've only been in this chat for a day or two. I don't even know who he is. lol.
 
'ello 'veryone!
 
@YiJiang stab
 
'i ?
 
Now we're always polite!
 
How do i format multiline code in chat
 
10:16 AM
you can't
 
@YiJiang morning
 
asked for it but that doesn't seem to be its goal.
 
@Raynos Grab the google-code-prettify bookmarklet
 
@AndyE it's 'orning now
 
(I think there's one, erm... right?)
 
10:16 AM
But i mean `code
works with a single `
 
Tek
@Chouchenos Why is Andy considered the "big boss"? And who is he for him to be considered that?
 
@Raynos Oh, for that you just drop four spaces in front of each line, or use the fixed-font button
 
@Tek He's the creator of this room, behold !
 
$('#btn').click(function(){
    $.cureCancer();
});
 
@YiJiang this button where is it
 
Tek
10:17 AM
Really? I thought it was @JeffAtWood
 
f.exist = function existsfunc(obj) {
				if (typeof obj === "undefined") return false;
				if (obj === null) return false;
				return true;
			}
 
Tek
My mistake.
 
@Raynos It appears when you start a multiline message
 
Am I missing an obvouis check for a null variant?
 
Tek
10:19 AM
@Chouchenos Now would be a good time to call me a dumb ass because I'm not sure I get what "owners of this room" means. How exactly do they "own" the room?
 
@Tek Maybe you should ask that to @AndyE ? :D
 
@Tek They created it. Quite simple, actually. Apparently they also have the ability to share that privilege
 
Tek
Created as in?... Built the chatroom from scratch or a framework?
 
@Tek No, you can create rooms if you have more than 100 reps, here: chat.stackoverflow.com/rooms/new
 
(but seriously I can't believe all the stereotypes about us :O)
 
Tek
10:21 AM
@YiJiang Ah, that makes more sense. Thanks for the clarification.
@Chouchenos No problem, it's usually a miscommunication between cultures.
 
I created the room on the day SO chat launched, it's no biggy and anyone else with at least 100 rep could have done the same. I gave @NickCraver ownership privs because he's well known in the JS tags and has high rep.
 
Tek
@Raynos & @YiJiang Sorry for clouding your JS talk with general talk. :X
@AndyE Right, of course. I get it now :)
 
@Tek This one is particular to Paris' inhabitants. As it's a very touristic town, I understand but what I hate is putting all one’s eggs in one basket.
 
@Tek its ok. Just answer my question :)
 
Tek
@Raynos I would if I knew. hehe Oh wait! I think a window.location.reload()! should fix that :D
 
10:26 AM
lol
 
Tek
@Chouchenos It's an inside joke. He asked how to reload something in the DOM and I told him to put that (jokingly). He was gullible enough to believe me and he replied with "But that just reloaded my page! >:("
and I lol'd
 
Sanity check: tr.parents("table").first() will find the first table right?
where "first" is the most inner parent rather then the most outer parent
 
@Tek I would have too.
 
Tek
lmao.
 
Scratch that, first() should get you the closest anyway
 
10:30 AM
@YiJiang you removed it before I could read it :(
 
Tek
Suggestion for SO chat: Double clicking a line in chat should let you edit. It would be a nice feature.
 
@Raynos I said, "Try closest(), in case of nested tables"
 
@Tek I hate that. It's more difficult to select text with that feature. (at least, it was on the wiki we use @ work...)
 
Tek
I usually drag the mouse to select text... >_>
Perhaps a key modifier?
I always find myself copying snipplets of the text rather than the whole thing.
 
@Tek Yeah, but if you miss the line (like I do often...shaking) you click again to unselect, and here is the problem. But, it must be the wiki's js fault.
 
10:34 AM
@Tek (Ahem, shameless plug) Have you looked at the userscript I, @rchern and a bunch of other MSO Tavern regulars are creating? It adds keyboard navigation and IRC-like commands to the chat. Find it here at: github.com/rchern/StackExchangeScripts
 
Tek
@YiJiang :O!
 
@YiJiang stackflair.com/SEChatMofications.user.js <= 404... is it normal ?
 
@Chouchenos No it's not, I'll get you a working download link, hang on...
Also, /blame @rchern :(
Here, directly from the github repo: github.com/rchern/StackExchangeScripts/raw/master/…
 
I guess you need to restart firefox after the script is installed... ?
 
Tek
How are these scripts installed?
 
10:38 AM
you need greasemonkey.
 
@Chouchenos No, you just need to refresh the page
@Chouchenos If you're in Chrome, it'll recognise them as extensions
 
alright ! Now I don't see what changed !
 
Tek
@YiJiang That's interesting. What makes you assume I'm using Chrome?
@Chouchenos Read the README
 
@Tek Wha... t? I need to... read? Seriously ? tsssss
 
@Tek I'm not, just pointing that fact out, since you didn't say anything about which browser you're using
 
Tek
10:41 AM
@YiJiang I'm just curious why you didn't mention internet explorer, opera or the like
 
@Tek I assume the good people here don't use IE, and Opera's market share is much smaller. Safari should have a GM extension I think (don't quote me on that)
 
@YiJiang I won't quote you
just star it
 
Tek
@YiJiang Bahaha. Lovely. But anyway, yeah I'm using Chrome.
On a related note, what do you guys think of IE9?
 
Ah, okay, according to this Opera natively supports userscipts: userscripts.org/about/installing
 
Tek
@YiJiang I've never used userscripts. Still not sure how to install them in Chrome. =x
 
10:46 AM
mmm didn't know chrome used user.js as extension. I made some script, do I have to had something to make it works or greasemonkey script = chrome extension ?
 
@Tek Just click on the link. If it has the extension .user.js Chrome will attempt to install it as an userscript
 
Tek
ah
there we go
it downloaded them last time
 
@Chouchenos You need the .user.js extension so that Chrome and GM will recognise it as a script and try to install it.
 
Tek
weeeeee
 
has anyone actually seriously tried Opera browser?
I mean, to use not develop with
 
Tek
10:47 AM
@Greg No. Though I only use it to check that my pages are rendered properly.
 
@Greg Yes, and in my opinion it's as good as any other
 
I'm actually leaning towards using Opera instead of Chrome... dunno why, just like it
 
@Greg Dragonfly is a little slow and limited, but it certainly isn't bad
 
yeah, I don't like using it for development
 
Tek
I love chrome's inspect element. It's so neat looking.
 
10:48 AM
wooo SO chat looks nicer on chrome !
 
Tek
Just as good as firefox's firebug
 
@Tek I can't use any other debugging tool than chrome
 
Tek
@Greg Same. I don't like Firefox's firebug.
 
@Chouchenos It does, mainly because of a pretty bad bug in Gecko
@Tek Why? ;)
 
Tek
@YiJiang I'm not saying it's better, they both perform equally. Call me shallow, but Chrome's is way prettier. :P
 
10:51 AM
It's a pretty nice script you made here @rchern & @YiJiang .
 
Tek
Plus Firefox crashes/locks up too much for my tastes. Then again that's probably blamed more on Flash. But flash has never crashed on chrome for me. Maybe I'm lucky? shrugs
 
@Chouchenos Not just the two of us, also the whole lot of MSO Tavern regulars. There's currently a bug with /del which should be fixed shortly, by the way.
 
@Tek that's why they created the plugin-container, if flash crashes, firefox doesn't anymore.
but maybe it's only in the 4b
 
Tek
Ah, yeah. I'm not using the beta.
 
@Chouchenos They pushed it out in a minor update for 3.6, it was deemed too important to wait
 
Tek
10:54 AM
Well, too little too late for me. I've already found my love. :)
 
@YiJiang Indeed.
 
Tek
Don't get me wrong, I will always use the best browser that i think is, in terms of technical superiority. I don't like Chrome because it's chrome, but because it's a damn good program.
That used to be firefox, though.
If there's ever a better browser I won't hesitate switching. =)
 
I don't like chrome because of its association with google. I don't like Opera because of Presto (but it got the best interface for me :( ). So I stay with FF4 for now...
 
Tek
I hate to admit it but Mozilla got cocky or I don't know what they were doing but they fell asleep to me a bit. Now they're trying to make up for it but I don't think they've delivered yet
@Chouchenos What's wrong with google?
@Chouchenos Use Chromium. It has nothing to do with google.
 
@Tek Google is to the Chromium project as Mozilla is to Firefox. There's no way you can disassociate the two
 
11:00 AM
@YiJiang If anyones running IE out of choice then ...
@Greg opera is awesome.
 
@Raynos It is, absolutely. I'm constantly surprised more people aren't using it.
 
(there's another bug in your script with the highlight)
 
@Chouchenos There is, we're working on a fix
 
@Tek I just don't trust them. While using chrome, I'm not sure Google isn't watching (I know it must seem paranoiac >_>)
 
Tek
@YiJiang It's kind of hard to associate Chromium when it's not run by google. (Don't quote me on that)
@Chouchenos Which is why I suggested Chromium.
@Chouchenos Google chrome/Chromium is open source. If anyone found code that was stealing data google would be in deeeeeeeeep trouble.
 
11:04 AM
I use chromium @ home on my laptop. Firefox isn't the best choice on ubuntu...
 
Tek
@YiJiang All I know is that up until this day I hear people complaining about rendering problems with opera. (And of course, it might be a myth now but I'm already comfortable and I couldn't ask for more with Chrome) That's why I don't even bother with it. Though when I use it to check that my sites are rendering properly in every browser I sure like it's snappiness! I'm stuck between Chrome/Opera and Safari
Firefox being my choice after (for normal browsing anyway) and IE last
 
@Tek It may be a myth but each time I tried it over the years, it had rendering problem.
 
Tek
@Chouchenos That's exactly what I'm talking about. Heh.
That reminds me. @Chouchenos I don't have anything to hide so I could care less if Google spied on me :O. (Even though I know that's not true.) =)
 
From what I know Opera is the most robust standard compliant browser I know
And it has a solid reputation for sandard compliance. @Tek your rendering problems are IE hacks rendering badly in opera because there IE hacks :)
 
Tek
@Raynos That may be true. But rendering bugs are another thing.
@Raynos Funny you say that. I've never once used IE hacks. I don't know why people even complain. I must be doing something right?
 
11:13 AM
is there a c# style "??" operator in javascript?
 
@Raynos yet, sadly, it still doesn't implement ECMAScript 5 - kangax.github.com/es5-compat-table
 
Opera focuses a great deal on standards compliance, yet it lacks many interoperability features that other browsers have settled on that aren't standard. Like many DOM events.
 
Tek
@AndyE That's interesting. I didn't know that.
 
If I want to test a heavy performance javascript game which browser would be best for speed?
 
Tek
11:16 AM
I'm curious. Has anyone used javascript other than using it for browser operations?
@Raynos Chrome.
 
@Tek which version 7 8 or 9 ?
@Tek check node.js
 
Tek
Each version should have better speed than the last version. But I haven't seen benchmarks for Chrome 9 since it's beta or whatever.
You should check this out though phoboslab.org/biolab
Somewhat related, I guess.
It's a game made from JS and canvas? I think
Almost seems as if it was made from flash!
quite addicting too :)
 
@Tek alright, it's impressive, but reduce production for about 45%.
 
Tek
What do you mean reduce production?
 
@Tek check out gunslut and the render engine. Im going to kick that around and see what happens if I use ajax to create a multiplayer game. I think itll drop down to 3fps
 
11:26 AM
@Tek productivity*
 
Tek
Versus flash?
You mean?
 
Tom
Hi there :)
 
I mean you lose at least 15 min playing at work => reduce productivity
@Tom 'ello
 
Tek
LOL.
@Tom Hi!
@Chouchenos attaboy. I see you're learning quick :)
 
Tom
Anyone wants to have a look at a problem I've had for a couple of days now? See this question stackoverflow.com/questions/4091370/… and run this jsfiddle with firebug or another debugger, jsfiddle.net/6rBTZ/1 - you'll see that _thisInstance.onTextChange is not a function for some reason. :)
 
11:28 AM
@Tek You just made me learn a new word.
 
Tek
:D
@Chouchenos You're at work right now?
 
@Tek yep
 
hello people
anybody here?
 
Tek
@Sussagittikasusa Hi. Thank goodness for auto completion, your username is quite a handful.
Just saying :)
 
hahaha
@Tek so what happens in these chat rooms
 
11:33 AM
You
 
Tek
Yes, plenty of people. But we're not on the chat window for too often. Most of us are working and checking back on them.
 
can
 
@Sussagittikasusa We... eh, chat!
 
chat
 
Tom
I whine about questions not being answered, others chat :D
 
Tek
11:34 AM
There goes the other 55% in productivity, eh @Chouchenos?
 
@Tom i like you
hahahah
 
@Tek u_u
 
does anyone know how to fix this annoying thing in the chrome inspector? When you hover over a variable and the yellow bubble appears, and you move your mouse into it to expand a variable ... and the bubble disappears???
 
Tek
hehe
 
somebody please help Greg
 
Tom
11:35 AM
@Sussagittikasusa well thank you
 
i have no idea
 
@Sussagittikasusa do you get annoyed by this too?
 
Tek
@Sussagittikasusa I would love to if I knew the answer. I've personally never had an issue with Chrome's inspector.

@Greg I doubt it, maybe @Sussagittikasusa is just being polite? :p
 
@most people - nope
@tek is clever, my god
damn those caps
 
Tek
@Sussagittikasusa I try. Except when it comes to javascript. <Is a total noob. That's why I'm here. ^_^
 
11:37 AM
speaking about noob's, anybody over here think they know javascript
i have a small question
 
Tek
@Sussagittikasusa Realistically speaking, yes. But sometimes they're too modest to admit it. Looks over at @NickCraver
 
i'm a noob, let's take a stab at it together
 
I know that guy's no noob
 
Tek
LMAO.
 
11:38 AM
no noob i tell ya :P
 
@NickCraver Hey, knock it out 100k+ guy :P
 
This site is kicking facebook's ass or what?
anyways Nick
 
Tek
@Sussagittikasusa Totally. It's where all the hip people hang out now. If they're not here they're probably not hip enough. =)
Whoops. Big edit on that.
 
What do i need to learn to be able to build an interface like Google Maps only with my own landmasses and all (i'll explain that later)
 
phew, that's a big question, there's a lot more than JavaScript going on there
 
11:40 AM
@Tek I'm building the next Buttbook so...
 
Tek
@Sussagittikasusa that explains it.
 
hahahah
 
IIRc though, the Google maps interface is or at least used to be, available to use with your own custom map, game sites and such use it
 
@NickCraver - If you won't know it who will
hmmm
 
Tek
@Sussagittikasusa You would probably need to hire a team for that... You better have some deep pockets!
 
11:42 AM
@Tek - You're not helping with that deep pockets comment and all, I'm the only tech guy on my team :P
Boy are we going to the dogs
 
the process hasn't changed much, use their interface, but with a custom overlay
 
@Sussagittikasusa you seem over ambitious. Good luck :)
 
@NickCraver - Aight, i'll check these out right away
 
Tek
@NickCraver I guess an API would accomplish the actual building. But building your own from scratch?
 
11:44 AM
well you don't need to build the interface, that's there
 
Tek
Then again I'm sure @Sussagittikasusa is looking for the result and not the actual learning experience. :p
 
all you need ultimately is some xml, custom tiles and a server that serves the right tile images
 
hey, I want to learn
 
Tek
@NickCraver How are you going to answer that? ^
 
@NickCraver - I'm basically looking to build a place which is not there on Earth
a virtual real estate of sorts
 
Tek
11:46 AM
@Sussagittikasusa Awesome! An alien wants to use Google maps AP-... er nvm
 
I saw this nice javascript game that was a racing game overlaid on the google maps api
look into it. should be open source
 
Tek
@Raynos Link.
 
@Raynos - link
 
Tek
Hey! Quit that! :P
 
@Tek - Wtf
 
Tek
11:47 AM
@Sussagittikasusa lol.
What can I say?
Great minds think alike? :D
 
@Tek Lets not be so presumtous
If nick did it too, maybe
:P
 
Tek
lmao
 
Tek
@Sussagittikasusa Don't mistake presumptuousness with compliments =)
@Raynos That feels so much like a rickroll :(
 
@Tek this is SO -.- not some shitty youtube community
 
11:50 AM
Now i'm distracted
 
@Sussagittikasusa read the source. stop playing games
 
Tek
@Raynos I didn't say it was. Just thought it was equivalent. =)
 
Need to get back to work, I'm building a f**king world
 
Tek
@Sussagittikasusa That happens a lot.
Around these parts anyway :)
 
@Everybody
 
11:51 AM
@Sussagittikasusa you realise javascript wont be able to handle it right?
 
See you guys around these parts sometime
hahaha
 
Tek
@Sussagittikasusa Leaving?
 
very well
@Tek Yes best friend
 
Tek
I feel so used :(
But do what you must.
 
Wtf
lol
ciao
 
Tek
11:53 AM
@Sussagittikasusa Im joking. :) Take care.
Now back to work. You guys are so distracting. Sheesh.
 
12:07 PM
@Hello Every1
can it possible to trigger button click using jQuery ?
 
@NiteshKatare You mean something like $('#link').click()?
 
@Tom: I just had a quick look at your question and I'm fairly sure I see what the problem is. I don't have a lot of time right now, but I'll keep the tab open and I'll try and get an answer to you later.
 
@NiteshKatare Well, why doesn't that work for you?
 
Tom
@AndyE, that'd be great, thanks a lot
 
12:15 PM
@YiJiang I have a Grid in my page and On the click of <td> i have writtn script and i want to post back page to get the server side data so i want to trigger button click in jQuery on the click of <td>
 
@NiteshKatare what @YiJiang said .click()
 
askng me abt click operation
 
@NiteshKatare what's the id of the thing you want to simulate a click for?
 
@Tom jsfiddle.net/P7cSP notice how it tells you that this is the document object
 
@Greg btnhidden
 
12:19 PM
@NiteshKatare what happens when you perform this? $("#btnhidden").click();
 
@Greg its a hidden button and i want to post back the page so wana perfrm the click operation
 
Tom
@Raynos... huh... why would it be document if I create the object with new obj() ?
That is the cause of the problem though..
 
@Greg Let me tel u in detail i have a page and in tat page i have Grid control and in tat Grid im displyng the UserName and Role. When the user Clicks on any Name from the Grid it has to show 1 pop up which consist of anthr Grid and in the 1st Grid der is no any Controls to click so i want to add a button which is hidden and on click of Grid view row i want to trigger tat button click
 
@NiteshKatare what happens when you perform this? $("#btnhidden").click();
 
@Greg it will perform post back to server and from der i will get data about that name
@Greg the applctn is in asp.net
so i need server side event to fetch d data
 
12:44 PM
Code review! How can I improve my code for a debounced scroll event?
0
A: Can I declare logic on jQuery for the start and end of a scrolling event?

Yi JiangYou can try defining you're own debounced events. A (very crude) implementation would look something like this: var t, l = (new Date()).getTime(); $(window).scroll(function(){ var now = (new Date()).getTime(); if(now - l > 400){ $(this).trigger('scrollStart'); l = n...

 
Tek
English review for @YiJiang defining your own not defining you're own ;)
 

« first day (19 days earlier)      last day (4945 days later) »