« first day (55 days earlier)      last day (4911 days later) » 

12:01 AM
hahaha, no, avatar
in SO chat rooms
it floats in from above
 
Tek
ooooooooooooooooooooooooooooh
man I am slow
hahah
 
12:38 AM
whoah I just did it too
 
 
1 hour later…
2:02 AM
Here kitty kitty kitty...
Oh look, it's @SaraChipps :P
 
2:16 AM
Sigh... @Ivo left with his kitty. How am I going to tickle it's tummy now?
 
Tek
lol
 
 
2 hours later…
4:39 AM
what tech this site use?i think it's a little like wave,the message get mass when message get more and more
 
@IvoWetzel congrats!
 
@jball Thanks, but something strange is going on... someone just popped up on the top users with 1 answer and 21 points
he has no recent question... seems somebody retagged something
yep there was a retag
why does nobody vote on the tag synonyms ._.
 
no love for the synonyms ._.
Hi kitty!
 
May be I should put it at the end of the FAQ excerpt
VOTE FOR THE SYNONYMS!
the chat needs a pm feature
or..…
we combine the userscript with the kitten!
 
5:31 AM
?
 
so the script will send out the !kitten command to the kittens server which listens for that
 
ah
 
question is how the authentication works...
 
That's a pretty good wiki on the node.js tag
 
5:45 AM
 
second one is fastest here
but typeof is unsafe
!kitten jstypes
 
6:23 AM
hello
 
hi there
 
god...
items.push(m[1].replace(/<.*?>/g, '').replace(' - Cached', '').replace(' - Similar', '').replace(' - See also', '').replace('.www', '. www').split('...')[0].trim() + '...');
>_>
 
Hi Ivo
 
kitten + google doesn't work as expected
when google has no info about you, the results are crap
 
6:33 AM
 
+1 for showing the implicit semicolon after the return
 
Oh, @alex, I never followed up on your mod_rewrite question, crap. I tested with your directory name, and I didn't have any problem with it either. Were you able to make any more progress? Also, thank you for the up votes!
 
Thanks Ivo
G'day Tim
Ah, did you like them? :P I thought your willingness to follow up my questions after I had accepted your answer commendable.
@Iv
@IvoWetzel BTW, I'm rep capped :(
 
I've spent enough time in the past frustrated with mod_rewrite to understand how it feels for it not to be working, so I like to help people out as much as I can, hahah. :)
 
Yeah, generally I can hack it to work, but sometimes I feel like I don't know it well enough
 
6:38 AM
@alex So were I yesterday after everyone and their mom upvoted my Node.js answers, missed like 100+ rep there
mod_rewrite... reminds me of my PHP days...
!kitten rchern
it died again ._.
 
I've been capped each day for the last 2 weeks. I'm on an answering spree! :)
@IvoWetzel @TimStone I always like following people from SO on Twitter - do you guys tweet? (apologies for using "tweet" in a sentence :P )
 
I've gone digging through the source code enough times to know that it rarely behaves like it's expected to, heh. Also, nice job on the rep capping, I've been a bit lazy about answering questions lately unfortunately.
 
@alex follow @BonsaiDen but I rarely tweet anything these days, spend way too much time here...
 
I'm not on Twitter at all. Chat also consumes my life ;)
 
gtg guys sorry, but feel free to follow me @alexdickson
Have a good weekend! (or Friday, depending on where you are from)
 
6:45 AM
barely 8am fri here ;)
 
Lucky Australia :)
 
Hahah, enjoy your weekend @alex
 
6:57 AM
Hm I wonder if I should add an isinstance() method to my javascript class thing
 
@IvoWetzel Are you bored?
If so, the answer is yes. ;)
 
which javascript class thing :p ?
 
I thought all javascript class things were served by Resig's CClass and PClass
 
dunno wanted to write my own one, got too much free time
 
7:03 AM
I guess everybody who gets in touch with ecma is doing something like that at some point
which I don't really understand :) ecmascript has some downsides, a build-in inheritance is one of those. The only real good user implementation which gets closed to a "classical" inheritance pattern is john resigs simple inheritance/cclass model
and even that comes with some trade-offs
 
for example?
 
hello
how are yout
@IvoWetzel Hehe tester
 
@IvoWetzel: got me, I can't name you a specific thing. We implemented this technique once in our code. It's not bad, but we had some pretty annoying things which was the reason to not use that anymore
I'm not sure but I guess "real" super methods aren't possible there
 
well I do it the Python way
so in cat I'd call Animal.init(this, args...)
 
you're not using any protoyping there right?
 
7:09 AM
since I also have multiple inheritance
well I add the stuff to the prototype to of each Class
but there's no chain
So if I change Animal.speak, Cat.speak won't change
that's one downside, but the plus is that you can call unbounds statics etc
If there were something like Function.__onSetAttr__
 
looks good to me, comes close to resigs solution (which you should look over I guess)
 
then you could rebuild the chain on the fly
 
anyway Class is probably a missleading name :-) at least for browser implementations which support ecma5
 
I took a look at it now, hm, seems to be more limited than mine, and I barely have more code in place :P
Also I only define .init and .extend on the Class object, that's all, the instances don't have any stuff defined on them by default
works fine for the kitten, so I'm happy
 
I'm actually still looking/waiting for a implementation which I really like
 
7:16 AM
what features do you want it to have?
 
at this point I'm still most convinced my simple methodical/closure patterns to have simple inheritance
super methods and all that other 'classical' stuff is fine, but I figured I barely use it
 
well you can take a look at the iterations: jsfiddle.net/BonsaiDen/QYC64/4 just go up with the revision number
started out plain and simple
15 is the last simple version without static sugar
and it's only 255 bytes minified :P
If that isn't a reason to use it, I don't know
 
7:37 AM
@IvoWetzel: your thoughts about this pattern, jsfiddle.net/4yUqL/16
 
somebody around? I wanna add some nice blinking features when new data is received, using jQuery
can somebody assist me?
 
that's pretty much the crockford suggestion with some changes
 
hay all, whats up
 
you can see the it all in action here trofast.lakaweb.com/mpwars
 
I don't know why, but I like this pattern. it's so straighforward and simple
 
7:39 AM
@jAndy Hm, looks fine from the functionality side of thing, but it's way too much code for each class implementation, that stuff should be hidden away IMO
 
@IvoWetzel: you mean the three lines at the beginning of each object ?
 
I'm sending data via php. How can I check if that data is new?
 
@jAndy Yes and a couple of other things, would be quite some overhead to implement something like a command pattern like structure where you have an abstract base class and then sub classes which provide the implementation of the actual execution
 
hey guys is there anyone who can explain me something
 
@Opoe tel me
 
7:42 AM
var list = {};
for(var i in commands) {
    var cls = Class(ChatCommand).extend(commands[i][2]);
    list[i] = new cls(chat, commands[i][0], commands[i][1]);
}
return list;
!kitten asktoask
 
Don't ask if you can ask a question. Just ask your question and if someone can help they will...
 
okay sorry
 
@coding kitten bang true
 
well i also have a question up, and an answer, and it says that i should use cloneNode
to duplicate a button and its functions
,but it also say i have to add the eventhandlers multiple times, my question is; where do i put this (e2.onclick = e1.onclick; ...) in wich var?
 
@Opoe can we have the question first
 
@Opoe then we might start discussing whether the answer is correct or not
 
thank you
 
@Opoe: I guess create() and addEvent() are self-written and abstract different browser implementations ?
anyway, the guy who commented your answer is pretty much right. Cloning a node with all it's attached events (regardless where and which type) is pretty painful. No need to invent the wheel here since several frameworks already do the job for you
if you want to learn how this works.. well github.com/jquery/jquery/blob/master/src/manipulation.js
 
okay :o let me see
and do i have to make the duplicate button in html?
This is my code jsfiddle.net/opoe/LwY3L and i want a button to duplicate the append button is this possible?
is it possible with javascript?
 
 
1 hour later…
9:10 AM
still here though
:p
 
!kitten rchern
 
@IvoWetzel I've been working on an implementation of the Dissociated Press algo that uses the chatroom messages as input
It's not very good (okay, quite bad) but it has been producing some interesting results
 
Hi I have this function pastebin.com/9p5DRaAu
which is called whenever a MySQL row count is changed
but why can't I make it run again....?
 
@YiJiang Sounds interesting :) Although kitten's main problem atm is that it suddenly dies after some time :/
 
@LasseAKarlsen That would probably depend on how you're triggering the function
 
9:17 AM
@YiJiang you can see it here trofast.lakaweb.com/mpwars
view the source
checkForNewData()
what I wanna do is basically make the new row blink for a few seconds
why won't the function trigger again?
no ideas?
 
!kitten rchern
 
double oy
 
I need help here guys.. =)
 
9:35 AM
@LasseAKarlsen I won't
 
@LasseAKarlsen say wats your prob. wat are you waiting for?
@LasseAKarlsen also give a SO link of your question
 
@LasseAKarlsen: you need to call clearInterval() at some point, otherwise your interval timers are running forever
 
yes, I tried that
didn't help
 
you need it anyway :)
 
9:38 AM
hehe, yes
but really, why shouldn't I be able to trigger that twice?
@jAndy: what might stop it?
 
@LasseAKarlsen: let me have a look there
 
thanks
you can try it out here trofast.lakaweb.com/mpwars
if you press "Seek!" it works, once
@jAndy: getting any wiser?
 
@LasseAKarlsen: you should probably do it more like this jsfiddle.net/4yUqL/18
 
excellent
but how do I call that when check.php returns 1?
@jAndy
 
@LasseAKarlsen: don't get it ? you can call that method blink() from everywhere
 
9:52 AM
okay, okay
but what does $('#foo').bind('click', blink); do?
 
@LasseAKarlsen: doh that's pretty irrelevant, it's just binding the method to that button for testing
 
ah, okay
not very comfortable with jQuery, okay =)
 
aaahhhh getting crazy when chatting here while firebug is opened
The 'charCode' property of a keyup event should not be used. The value is meaningless.
The 'charCode' property of a keyup event should not be used. The value is meaningless. mmmooaaaarrr
 
that chat server is crazy
after some time it goes crazy and sends the kitten wrong data
the update event for room #1 has the updates for #17 and the other way around...
 
@IvoWetzel: hmm I noticed that behavior.. the browser only fires the all xhr requests in the last active window, could that have a correlation ?
0
Q: How do I do this in JQuery? (get the HTML returned from AJAX-GET and turn it into an object)

TIMEX$.ajax({ method:"get", url:"/wall", data:"ajax=1", beforeSend:function(){}, success:function(html){ $("#grid_mason").append(html); //Add the next boxes to the Grid. $(this).mason...

 
10:00 AM
dunno, the event data looks like this {r1: {....}, {r17: {...}}
 
thiz !
I'll adapt that to all of my codeZ
lol
 
@jAndy: it works great, thanks!
what did I do wrong anyway?
 
10:17 AM
0
A: Twitter-Node Failing to Build Node.js (npm install twitter-node)

Ivo WetzelSeems like recent changes to Node.js have broken it. The install runs gcc to compile a base64 module that depends on nodes Buffer class (the C++ implementation), since there were quite some changes to that in 3.x, it explodes! Waf: Entering directory `/home/ivo/.local/lib/node/.npm/twitter-node...

That's what I call an answer :P
 
10:37 AM
That has to be a JOKE
 
morning
 
@Raynos we've decided to charge you with animal cruelty, you've been using the kitten as slave labor
2
 
npm is great, until people stop maintaining their modules
I mean come on, compiling a 80kb lib just for ONE SINGLE base64 encode...
That's built into node...! And then you wonder when it breaks, cause you rely on .cc files..
 
10:52 AM
3
A: Reading a Javascript Object

Andy EYou can use bracket notation to access properties whose names contain characters invalid for dot notation: result["org.apache.struts"] If you want to add further levels to your object so that you can use dot notation, you need to declare another object for each level, e.g.: var result = { ...

^ Strategic down voters strike again
 
@NickCraver what have I done?
 
@AndyE: lol@strategic down voters
 
There's one user who follows me around and does that
 
!kitten rchern
 
there should be one day per month.. or per year where everyone is able to see all the downvoters on your answers
 
10:54 AM
it died again :(
 
lol
 
what amuses me is he also usually posts a competing, completely wrong answer along with the downvote
 
"he" ?
 
wth is wrong with this chat
 
yeah it's a he
 
10:56 AM
he-man
 
typically, if the user is a complete asshole, you can assume it's not a female - very rarely would you be wrong
 
kitten usealldownvotes on <username>
 
@IvoWetzel Yeah, but at that rate kitten won't be able to chat for long :P
 
!kitten serialdownvote go!
 
Hold on a second, googling that for you... "serialdownvote go! did you mean horrible typo?" There you go!
 
10:58 AM
!kitten wisdom CMS
 
way!
perfect kitten
 
!kitten wisdom Andy E
 
actually... I guess this wisdom thing should check the tags
 
tickles @CodingKitten's tummy
 
so in JavaScript it only shows JS stuff etc.
 
10:59 AM
what's it based on, highest voted answer?
hmmm
!kitten wisdom Nick Craver
 
                    if (f[2].indexOf('answered-accepted') !== -1 && +f[3] >= 9
                        || +f[3] >= 15) {
 

« first day (55 days earlier)      last day (4911 days later) »