View Full Version : DEATH to the bees!
techno_race
08-25-2007, 03:38 PM
I decided it was time for a new signature. What do you think of:
((___/\/\o o Dogs took over my signature...
(__)|^ |...then(Yum...bees!):rolleyes: I took over them!
|'|'\-_/ Trillian (http://www.trillian.cc) | The YSOD (http://www.thingymajigger.com/shop/product.aspx?asin=0596004478)
jscheuer1
08-25-2007, 09:23 PM
You're weird, but in a good way.
Bzzzzzzzzzzzzzzzzzzz!
techno_race
08-25-2007, 10:09 PM
Bzzzzzzzzzzzzzzzzzz is right! (hey, look below. :))
jscheuer1
08-26-2007, 03:26 AM
Well, bees are essential pollinators and are currently on the decline. Dogs are man's best friends. It's hard to choose. While we are pondering this eternal question:
http://home.comcast.net/~ansiguy/ascii/
tech_support
08-26-2007, 04:16 AM
I hate bees.
Dogs are man's best friends.
Yup.
I'm more of a cat person.
jscheuer1
08-26-2007, 10:41 AM
I'm more of a cat person.
Figures. I love both cats and dogs, and most of them love me. I am however, very reluctant to keep either.
techno_race
08-26-2007, 04:49 PM
Hmm...
My pets took over my signature
Then I t̶o̶o̶k̶ ̶o̶v̶e̶r̶ cuddled with them.
:D
Trinithis
08-26-2007, 08:38 PM
Cats > Dogs
jscheuer1
08-26-2007, 09:20 PM
if ( cats >= dogs || cats <= dogs )
jscheuer1 = 'happy';
Redundancy: the "equal" case is already covered by the first condition, you don't need to check it again.
</pedantry>
techno_race
08-26-2007, 11:27 PM
var base = new Scores;
var cats = base.Cat();
var dogs = base.Dog();
var bee = base.Sting();
var bees;
var bvls = bee.getValues();
var nm1 = bvls.Val1();
var nm2 = bvls.Val2();
var nm3 = bvls.Val3();
if ( nm1 + nm2 + nm3 != nm1 + nm1 + nm1 ) {
bees = '100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000';
}
else {
bees = nm1;
}
var techno_race;
var trm = new Mood;
var img = 'code.jpg';
if ( cats == dogs && bees < cats ) {
techno_race = trm.happy();
}
else {
if ( cats == dogs && bees >= cats ) {
techno_race = trm.confused();
}
else {
techno_race = trm.mad();
}
}
if ( techno_race = "'Happy'" ) {
img = 'happy.jpg';
}
if ( techno_race = "'Huh\?'" ) {
img = 'confused.jpg';
}
if ( techno_race = "'Mad'" ) {
img = 'scream.jpg';
}
var imgnm = img - '.jpg';
document.write('Overall: <img src="' + img + '" alt="' + imgnm + '">');
Files:
code.jpg: :rolleyes:
scream.jpg: :mad:
confused.jpg: :confused:
happy.jpg: :)
That's what I can do.
Trinithis
08-27-2007, 04:45 AM
Redundancy: the "equal" case is already covered by the first condition, you don't need to check it again.
</pedantry>
The entire if condition is redundant (except perhaps in semantics); it's always true :D
I used to have 5 cats, but now I only have 4 because one died. Unfortunately, it was not the one I disliked . . .
PS: If you decide to get a cat, I strongly recommend getting one as a kitten.
Oh, and I find your sig baffling, techno_race. Is there any meaning to it?
if ( techno_race = "'Happy'" ) {
img = 'happy.jpg';
}
if ( techno_race = "'Huh\?'" ) {
img = 'confused.jpg';
}
if ( techno_race = "'Mad'" ) {
img = 'scream.jpg';
}
var imgnm = img - '.jpg';You need to use == or ===, not =, there, and you can't minus two strings... otherwise it can be made to work:
function Scores() {}
Scores.prototype = {
'Sting' : (function() {
var Bee = function() {};
Bee.prototype.getValues = (function() {
var BeeValues = function() {};
BeeValues.prototype.Val1
= BeeValues.prototype.Val2
= BeeValues.prototype.Val3
= function() { return Math.random() * 2; };
return function() {
return new BeeValues();
};
})();
return function() {
return new Bee();
}
})(),
'Dog' : function() {
return 10;
},
'Cat' : function() {
return 1 / 0;
}
};
function Mood() {}
Mood.prototype = {
'happy' : function() {
return "'Happy'";
},
'confused' : function() {
return "'Huh?'";
},
'mad' : function() {
return "'Mad'";
}
};I'm such a nerd sometimes.
The entire if condition is redundant (except perhaps in semantics); it's always true :DNot if one or the other is NaN :p Besides, it was addressed to humans, so semantics was the most important part.
boxxertrumps
09-02-2007, 03:52 AM
My dad doesn't want us to have pets...
I wish i had a kitten.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.