« first day (923 days earlier)      last day (4040 days later) » 

8:00 AM
@Zirak He is a genius
idiot ... hes still alive use IS
 
@GNi33 I will try that thanks
 
“Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration. ” - Stan Kelly-Bootle
 
8:17 AM
@rlemon You have mixed tabs and spaces
For instance, in particle.js
 
Hey guys, Ive got a table that displayes data, I want to have an edit button that makes the selected row editable. How can i identify which row the user wants to edit?
 
focus?
 
if it's a table, you can just get the row
<tr>
 
with which event?
 
click
I may need more coffee.
 
8:26 AM
@SnakeEater Look up "event delegation"
 
Should i use the .index() function?
 
javascript or jquery?
 
jquery
 
$("#dataTable tbody").on("click", "tr", function(event){
alert($(this).text());
});
I believe the example is pretty close to what you want.
 
@mikedidthis Learn to format code (help links are on bottom right)
And that doesn't show him event delegation, that shows him how jquery abstracts it
@SnakeEater Again, look up event delegation.
 
8:28 AM
@Zirak sorry :(
 
`$('#thetable').find('tr').click( function(){
alert('You clicked row '+ ($(this).index()+1) );
});`
Thinking about this instead of delegate?
 
No.
Event delegation is smarter.
 
Okay cool, Ill check it out
thanks for the lead :)
 
wouldn't you use .on to handle the delegation, as .delegate . bind etc have all been merged to .on ?
for the recoded .on() confuses the hell out of me.
 
Surprisingly, he's not actually talking about jQuery
 
8:32 AM
I really do need more coffee :)
 
the concept of event delegation has nothing to do with jQuery
 
No I understand that.
Well I do even more so now.
I think this explains it well: davidwalsh.name/event-delegate
 
2
Q: Can a javascript function modify an element that is running on server in ASP.NET?

Ozzy WeFor the sake of testing im creating a button that will hide a text box when clicked. The javascript for the button press looks like: function showCommentBox() { var el = document.getElementById('replyBox'); el.setAttribute("style", "display:none;"); return false; } The asp code loo...

 
since when does the bot post questions?
 
rlemon did this
rlemon is behind every weird things that happen in the JavaScript chat room
Even if it's only 4:46 for him
 
8:46 AM
those canadians
are you back in France?
 
Sadly, yes
 
user1125394
!!> [] == false
 
@c'c true
 
user1125394
@SOChatBot k boy
 
Am really thnking of going to work in London or Berlin until I move again
 
8:49 AM
@GNi33 ~2 weeks. Posts hot js questions.
 
user1125394
@dievardump hard to find something interedting in france..
 
Hard to find France interesting
 
@dievardump Didn't you just move to Canada?
 
I'm just depressed
 
user1125394
like me
 
8:50 AM
@Zirak I arrived in Canada the 5th of April 2012
My visa was only 1year long
 
@dievardump back to Lyon?
 
Yes
 
cool
don't be depressed dude
did you take the job back?
 
I have to go and see them
 
@GNi33 thank you it is working :)
 
8:53 AM
I was thinking of going today
 
user1125394
the job is >50% of depression or not
 
The job is good. I'm just so unhappy to be back in France, feel like I do not fit here xD
 
well, with all those idiot homophobes around...
 
@dievardump lol
i missed u :P
where the heck were u hiding ?
 
Aha thanks
I followed a rabbit
 
8:59 AM
PSh welcome back home :P
 
A white one, very quick
 
interesting
 
Then I fell in a hole
For so much time I thought It will never stop
But then it stopped. And eventually I was in an interesting world
With Cards talking, invisible cats, rabbit singing and always being late and an evil Queen
That was fun.
 
okay you are drunk
 
I wish
 
9:04 AM
@Darkyen Don't tell me you haven't watched Alice in Wonderland
 
watched?
come on, this is something one should have read
 
@AmaanCheval no i havent
 
@Darkyen Sorry, it was a really quick an non exhaustive description of Alice in Wonderland
 
@AmaanCheval well i found alice in wonderland too fucking girly
to ever read it
 
I watched it so much when I was a "junkie"
 
9:11 AM
@Darkyen Alice in Wonderland is far from being only girly. It's "junkie", the more you'll be high, the more you'll see what he was trying to say when he wrote it
 
@Darkyen That is so far off the truth
 
this book just has to be about a girl's first experience with a LSD overdose
3
 
...it's nothing to do with "junkie" either
So I'm the only one who views it as a girl's philosophical journey into adulthood?
 
yeah
 
9:13 AM
@Darkyen Your opinion doesn't count
 
and nope, my friend agrees to you shes a girl
 
all the others who've been high while watching it had a good time
 
There's also a trend for people to be high while listening to Pink Floyd.
Pink Floyd are quintessentially awesome without any relation to drugs.
 
@Zirak been to long since i read it, but that's an interesting point of view
 
There's also a trend for some people to be high while anything.
 
9:15 AM
hah, a good point
 
@dievardump hippie ?
They all lloook sooo high!
 
not really
 
I can not see any eyes
And I do not think they're high
 
mhm
 
the girl looks high ^
 
9:20 AM
It looks like she's just seen a dog with a horse face
@SOChatBot What do you want first,
!!listcommands word-wrap or youtube command or welcome command
 
come on, let's be realistic.
 
@Zirak youtube command
 
YouTube command? Hmm, that's interesting
 
15 hours ago, by rlemon
@Zirak can we have a !!/youtube and have it onebox videos?
 
9:22 AM
@mikedidthis lol
 
@Zirak that's stupid?
youtube videos are already oneboxed
unless it's search
 
Pretty sure it's search.
 
yeah, it's for searching (look at context). He wanted something like: !!/youtube ABBA dancing queen
Was it before or after he was semi-drunk?
 
seim-drunk doesn't count
 
9:26 AM
I have to say @Zirak the bot is bloody awesome.
 
Thanks. It's pretty bugged to hell though.
 
Still pretty awesome.
 
@Zirak bugged or not, its more advanced / fun then alot of 'chat bots' I have seen.
Sad it hasn't asked me if I am looking for 'fun' though :)
 
How long has the bot been in existence for?
Over a year, right?
 
December 24th, 2011, 10:47 PM
 
9:28 AM
Wow
It's been so long
 
And it's still not on node
 
Hahaha, yeah.
Everyone is lazy
 
It's not just that. SO authentication changes. I had working login scripts, they just failed after a few months.
 
You can’t trust code that you did not totally create yourself. [Ken Thompson]
 
...sometimes Zirak writes code for me
oh shit
rm -rf SO-ChatBot
phew
 
9:40 AM
the -rf should always be written after the folder name
rule of thumb a colleague told me
and damn this was a good advice
prevented me some cold sweat on some production servers.
 
Why?
 
Write a sh program to alias rm. If you pass it -rf, prompt with "are you sure"
 
you want to delete folder/*, so you start typing rm -rf /* in haste
 
oh...ouch
 
yeah
if you write the -rf after, you don't have this issue
rm /* -... wait no
@Zirak and yeah there is the alias rm='rm -i' on production servers
but still...
 
9:48 AM
A horse walks into a bar. The bartender asks, "Why the long face?" The horse, incapable of understanding English, shits on the floor and leaves
 
A dead horse walks into a bar and orders a whisky.
"I’m sorry, sir," says the barman. "We don’t serve spirits".
I will get my coat.
 
Your joke walks into a bar. Everybody beats it senseless.
 
^ that
 
10:06 AM
codepen.io fucking sucks for debugging on mobile [ responsive design]
fucking hell the web-iframe has the "height" & remembers it.
 
You should tell Chris
 
wanna see it ?
ping me on whats app.
 
Not really.
 
okay -_- its a good design though :P
and y u so angry on me ?
 
Haha, show me
I'm not
 
10:09 AM
Amaan can't be angry. It's not in his emotional repertoire
 
Haha, that's a very good point.
 
Since you didn't care enough ;-;
As per my comment, what should the no-op command do? Say it to the whoever executed the command?
(executed => whoever, it's still the subject, so "whomever" is not a fit)
 
Or just a more generic welcome message, like, "Please read the rules, blah blah"
 
Directed at who?
 
No one
Just a normal message
It wouldn't make sense to direct it to who executed the command
Not that big a deal, though
 
10:20 AM
It does make sense in conjunction with /tell
So /tell bob welcome and /welcome bob are the same
 
Yeah
That makes sense
 
/me is humming along
 
Hey. Why is it socket.io has to deliver the "socket.io.js" file? Are there different versions of it, and the socket.io server sends the appropriate one?
 
@tereško :P
funny how he came out of nowhere after a year to comment
 
10:37 AM
Hi all, can someone can help me can, if you can please can?
 
Hi people
I have the small problem
on the qorking on the url
window.location.search="?json_data="+newArr.join('+%23+')+add
why this not add the string add?
 
@user13814 woah, that's a lot of can's
 
haha ^
 
Hahahahahaha
 
i herd u liek can, so i put a can in can so you can cancan
 
10:43 AM
Why are there so many can's? XD
 
:D cause we can
 
YES WE CAN
 
/youtube is now available. go nuts.
 
!!/youtube zirak
 
We can /youtube can we?
 
10:45 AM
fudge, i forgot the syntax again
 
!!/tell GNi33 help
 
PERFECT
 
@GNi33 why this code doesn't appears as link on gridview

<a href='www.mango1.com' target='_blank'>Mango 1</a>
0
Q: href is not showing as HyperLink in GridView

user13814In reference to these questions of mine, How to create a HyperLink field out of SQL query GridView Table 1 related to Table 2 If I run this SQL query then I get something like this, SELECT CrateTitle,CrateDescription,CrateID, stuff( ( SELECT ',<a href=''' + [FruitWebsite] + ''' target=''...

 
Javascript isn't a real language
 
10:51 AM
:O
 
!!/youtube rebecca black friday
 
you can thank me later, guys
@user13814 i have no idea. ASP.net makes my eyes bleed ;_;
 
Everyone seems to be using ASP.net recently :(
 
oh tahts temptating :D
 
10:53 AM
Dayum
 
especially the first one :D :D :D
 
0.0
 
Maybe the bot should have a blacklist of words? Don't want the not getting flagged because someone else commanded it to
 
@Zirak now you see why i was worried with this command ?
@AmaanCheval dont want the NOT ** ???
 
@Darkyen yeah, I was afraid of that...same reason I didn't want google images search
 
10:55 AM
*bot :P
 
@Darkyen Out of all people to get fussy about spelling mistakes...
And typos...
 
:D
 
"This video contains content from ABGroup and Funimation Entertainment, one or more of whom have blocked it in your country on copyright grounds."
Nice.
 
8 messages moved to Trash can
 
@Zirak image search would be craazy nuts!
github.com/Raynos <-- 300 REPOS!
@raynos are you a human or a keyboard ?
 
10:59 AM
Again, @Darkyen, can you open an issue on the github command? I don't want to forget these kind of things.
 
opening
 
@AmaanCheval see ur whats app
!!/youtube Zirak
 
intresting
!!/youtube rlemon
 
11:10 AM
 
1 message moved to Trash can
lemon ?
@AmaanCheval if u ver read that u will die of laughter
 
Strong typing ftw
 
yeah. That was a good game.
 
11:39 AM
I lost the game :/
but who cares, its friday !!
 
lol
Iron Man 2 comes out today
 
3?
Already seen it twice :)
 
posted on April 26, 2013

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {}

 
@Darkyen Haha, my phone always corrects bot to not. It's hard to remember to fix that
 
The dev's other work, Stranger than Fiction, is also interesting
 
11:51 AM
@AmaanCheval lol
turn autocorrect off :P
learn to type like a real man
 
Oh, no, autocorrect is pretty useful.
Eh, fuck your manly stereotype of being able to type perfectly :P
 
@Darkyen Or like a 13 year old girl.
 
Without any punctuation to speak of.
With the exception of smiley faces.
 
Wouldn't a manly man's fingers be too manly to operate a keyboard?
 
11:54 AM
@AmaanCheval You'll probably like this one: kongregate.com/games/AlexanderOcias/loved
 
ART
PLATFORM
ADVENTURE
PHILOSOPHICAL
Interested already
 
@AmaanCheval my iOS autocomplete learns now
sooo err its on but it doesnt corrects me much :P after i edit it like twice, it just learns my words!
 
Hahahaha, this is pretty cool
"Are you a man or a woman?" clicks on man "No, you are a girl."
 
@Darkyen, I wish mine would learn that Fuxking isn't a work.
Also, how often does it think I want to say ducking.
 

« first day (923 days earlier)      last day (4040 days later) »