« first day (91 days earlier)      last day (4857 days later) » 
01:00 - 16:0016:00 - 00:00

4:00 PM
What the
Just a sec >_>
.
 
we have a big problem in our way. can we make a real time game which can support many users as well with no problem? do we have any games like this in web?
 
I can't seem to access this page.
 
@Wolfy87 Ah yes, one more reason to hate Google...
 
Morons, those engineers are.
 
4:01 PM
That, use that.
 
aha
yeah
is it good?
 
I don't hate them, I am a huge Google fan.
Yes it's good.
 
is it intelligent?
 
It's basically a portable version of firebug
 
aha
 
4:02 PM
@saman Depends on your definition of intelligent
 
yeah
 
It will not try to take over the world.
We hope.
 
Taking into account 90% of the people I know, I'd say it's a freaking genious!
 
ok
 
@Wolfy87 Unlike our kitten here
 
4:02 PM
@CodingKitten did you hear that!
 
thanks
 
@IvoWetzel How many programmers does it does, you're hot for that doesn't get wasted
 
@IvoWetzel it thinks you're hot!
 
Precisely, you guys would have loved Mic, an IRC chat bot I wrote in PHP
He was insane and all but funny.
 
which one of you are now student in universities?
 
@Wolfy87 @YiJiang still hasn't gotten around to fix the kittens "AI"
 
Scroll down to the ones by Mic
 
@Wolfy87 You can port over whatever content generation algo you have in there, anything would probably be anything I have in there :P
 
They are quotes from our IRC channel
 
Is there any simpler way to do this?
btoa(btoa(btoa('string')));
 
4:05 PM
#
<Mic> I want to know what you look like, Harbot.
#
<Harbot> and i want to know what you look like, Mic.
Mic was beyond awesome :3
I was so proud.
They where both bots :D
 
@Wolfy87 Give us a JS version!
 
^^
 
kitten is really stupid atm
 
I don't think I even have the source, let alone database, anymore.
 
:kitten quote
 
4:06 PM
> "First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." - George Carrette
 
:[
 
@CodingKitten sniff You are quite dumb, you know that?
 
@YiJiang No it's not, unless you've created your use of security in the recursive block from guys fishing for fast answers.
 
@CodingKitten Yes you are. Very dumb. Very very dumb.
 
@YiJiang not sure what would you use for the == operator?
 
4:08 PM
@CodingKitten I didn't hurt your feelings, did I?
 
@YiJiang Meh, faster tea, brew faster! node.js stuff if he meant work as in the classes are nothing compared to mine, my answers... only comments...
 
#
<Rice> Mic is too sexy for.
#
<Mic> evrything
:D
 
var base64 = {
  encode: function(string, times) {
    if (!times || times == 1) return btoa(string);
    for (var i = 0; i < times; i++) {
      var string = btoa(string);
    }
    return string;
  },
  decode: function(string, times) {
    if (!times || times == 1) return atob(string);
    for (var i = 0; i < times; i++) {
      var string = atob(string);
    }
    return string;
  }
}
 
Again, they where both bots. We love our bots in that channel.
 
@Nyuszika7H Why would you want to do base_64 on a string more than once? It's like running Math.random more than once because the numbers that will come out is "more random"
 
4:09 PM
And yes, I have a good reason for using ==. I should handle if the number is passed as a string.
@YiJiang Because it's harder to decode. :P
 
...
................
...............................................................................................
 
@Nyuszika7H Please tell me it's for @IvoWetzel's encryption code bowling question
 
@YiJiang Huh?
 
3
Q: Make an application that "encrypts" a string with a given key and can easily be reversed

Ivo WetzelAfter the success of last weeks Code-Bowling, we present you yet another chance to write the worst code you have ever written. Code-Bowling is a challenge for writing the most obscure, unoptimized, horrific and bastardized code possible. Basically, the exact opposite of Code-Golf. Th...

Please tell me that's for an answer to this ^
 
4:12 PM
Seriously, this is what your bot should be striving to achieve, just go to line 2742 onwards: feepbot.pastebin.com/YQXjTCty
Some of them are hilarious.
 
0
A: Make an application that "encrypts" a string with a given key and can easily be reversed

Nyuszika7Hvar base64 = { encode: function(string, times) { if (!times || times == 1) return btoa(string); for (var i = 0; i < times; i++) { var string = btoa(string); } return string; }, decode: function(string, times) { if (!times || times == 1) return atob(string); ...

 
Hah
 
4:28 PM
Where did my beep go? :(
 
5:09 PM
Anyone there?
What's the difference between document.write and document.writeln?
 
@Nyuszika7H The second adds a line break to the written content after each call
 
I need a little help
How can my javascript work on a Iframe ?
is not working
 
@YiJiang Then I tell you a strange fact. Recently, I've found a page using code like this in examples:
document.writeln('something' + '<br/>');
 
5:35 PM
@IvoWetzel Just curious, would you want to put some sort of analytics code on the Garden?
 
5:47 PM
> which of course is not NaN
Translates to:
> which of course is not not a number
:P
 
RAS syndrome (short for "redundant acronym syndrome syndrome") is the redundant use of one or more of the words that make up an acronym or initialism with the abbreviation itself, thus in effect repeating one or more words. Usage commentators consider such redundant acronyms poor style and an error to be avoided in writing, though they are common in speech. The degree to which there is a need to avoid them depends on one's balance point of prescriptivism (ideas about how language should be used, and how much particular prescriptions matter in life) versus descriptivism (the realities of how...
 
@YiJiang Hm, why not
 
RASS syndrome (short for "redundant acronym syndrome syndrome syndrome") is the redundant use of one or more of the words that make up an acronym or initialism with the abbreviation itself, thus in effect repeating one or more words. Usage commentators consider such redundant acronyms poor style and an error to be avoided in writing, though they are common in speech. The degree to which there is a need to avoid them depends on one's balance point of prescriptivism (ideas about how language should be used, and how much particular prescriptions matter in life) versus descriptivism (the realit...
LOL!
Happy 10th Birthday, Wikipedia!
 
6:08 PM
Holding page, will try to create something tomorrow
 
:kitten rchern
 
@CodingKitten Purrrfect!
 
@YiJiang that branch, does the voting ma... the support of a certain section of code?
 
Oh, and remember to try out the 'More oy.' button
 
6:11 PM
------------
| More oy. |
------------
 
wayyyy
oy oy oy
 
sets mode to Bot. Use :bunny or @CodingBunny if you want something from me.
:bunny moreoy
oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy oy
(This is all I can do here. Use :bunny pastebinoy if you want a pastebin link with much more oy s inside.)
 
@YiJiang I've added analytics, lets see if it works
 
sets mode to human.
I'm back :P
 
Please help support my new proposal
 
6:20 PM
@RobertPitt Already committed to it :)
 
 
1 hour later…
7:30 PM
Lo.
Dear Gods of JavaScript, could I have a little help please? Although it is a difficult question. stackoverflow.com/questions/4701626/…
Any ideas?
It's only when animating opacity :/
An odd one I will give it that.
 
@Wolfy87 I'll take a look into it when I finished watching a vid here, but one thing for sure, work on your coding style ;)
 
^^
 
use hasOwnProperty and don't omit {} around one line if/else
 
hasOwnProperty = ? and the brackets are just down to me trying to save every byte possible.
But yeah, I will research hasOwnProperty now
Oh, so it checks if an objects property is defined.
Nice.
 
7:42 PM
Ah, so it just checks properties and not prototypes.
 
yes it will not traverse the prototype chain in desperate search for a prototype
 
Hi! :)
 
Hey.
 
A handy tip for jsFiddle:
To make your JS code take less space, you can import your custom functions on the side panel, like this:
 
Dont set as base or everything dies?
 
7:53 PM
JavaScript: data:text/javascript;charset=utf-8,function myFunction(args) { return arguments; } //.js
CSS: data:text/css;charset=utf-8,.myClass { color: blue; } /.css
> The value of the [[Class]] internal property of a host object may be any String value except one of "Arguments", "Array", "Boolean", "Date", "Error", "Function", "JSON", "Math", "Number", "Object", "RegExp", and "String".
First, the part any String value except should be removed.
Second, that's not all. For example, document.createTextNode('test'); will return [object Text].
 
@IvoWetzel So have you had a chance to take a look at my disgusting code yet?
 
I need to go now, so if you can answer that or at least provide an idea then that would be great.
See ya.
 
@Wolfy87 I'll take a look at it now, cya around :)
 
8:38 PM
Anyone there?
I know this doesn't belong there, but what charset should I use in batch files to make accented letters (áéíóöőüű) display properly?
 
 
2 hours later…
10:51 PM
Nice new ES5 addition!
var myObj = {
  name: 'My Object',
  1: 'foo',
  2: 'bar',
  3: 'baz',
  4: 'qux'
},
    props = Object.getOwnPropertyNames(myObj);

console.group('Properties: myObj');
for (var i = 0; i < props.length; i++) {
    console.log(props[i] + ': ' + myObj[props[i]]);
}
console.groupEnd('Properties: myObj');
 
11:42 PM
I wonder if this obsession that people have of implementing class-based objects on top of prototype-based objects is a good idea, or whether life would be way better if people just used prototype-based programming to start with.
 
@gsnedders Well it depends, I've written my own class thing it's handy in some cases but I wouldn't use it for everything
Either I go with the Class thing I've written which uses prototypes and closures in the back, or I write some handy extensions functions
 
1
Q: What is the most efficient way to handle points / small vectors in JavaScript?

ChrisCurrently I'm creating an web based (= JavaScript) application thata is using a lot of "points" (= small, fixed size vectors). There are basically two obvious ways of representing them: var pointA = [ xValue, yValue ]; and var pointB = { x: xValue, y: yValue }; So translating my point a bit...

That seems like a fun exercise, interesting seeing the perf difference between some of those things in some impls (e.g., the fact that foo["0"] and foo[0] makes a large difference in Firefox 3.6)
 
11:58 PM
hm, smells a bit like premature... gnah, I shouldn't say such things :P
 
01:00 - 16:0016:00 - 00:00

« first day (91 days earlier)      last day (4857 days later) »