For the one interested/bored-out-of-hell, <a href="http://www.cut-the-knot.org/Curriculum/Fallacies/CurryParadox.shtml" target="_blank">here's</a> something to read about Curry's "paradox" while waiting. It even has an applet you can play with, yay!
<!--quoteo(post=1764484:date=Apr 10 2010, 02:39 AM:name=XainGM)--><div class='quotetop'>QUOTE (XainGM @ Apr 10 2010, 02:39 AM) <a href="index.php?act=findpost&pid=1764484"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->what does that have to do with the problem? ad the sum of each piece, then see if that equals the sum of the total triangle. If it does, then how can the bottom triangle be true?<!--QuoteEnd--></div><!--QuoteEEnd-->
Here's a good way to understand, if you haven't yet. The green triangle is 5 units wide, 2 units tall, so its slope is 2/5. The red triangle is 8 units wide, 3 units tall, its slope is 3/8. 2/5 is not equal to 3/8, although it is close. So when the triangles are lined up it looks like its a continuous line but the slops are different, therefore you dont have a real triangle, in either diagram.
<!--quoteo(post=1764472:date=Apr 9 2010, 08:33 PM:name=FocusedWolf)--><div class='quotetop'>QUOTE (FocusedWolf @ Apr 9 2010, 08:33 PM) <a href="index.php?act=findpost&pid=1764472"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The area used up by the blocks is the same. Their just in a configuration that doesn't resemble a solid triangle. Seriously want ns2 now lol.<!--QuoteEnd--></div><!--QuoteEEnd-->
Actually the slope of the top line is slightly different.
remiremedy [blu.knight]Join Date: 2003-11-18Member: 23112Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester
<!--quoteo(post=1764469:date=Apr 9 2010, 05:32 PM:name=XainGM)--><div class='quotetop'>QUOTE (XainGM @ Apr 9 2010, 05:32 PM) <a href="index.php?act=findpost&pid=1764469"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->What? no, they are exactly the same. Measure them if you want. Print it out and you can re-configure them as shown.<!--QuoteEnd--></div><!--QuoteEEnd--> No what he means is that the whole shape is not actually a triangle though it looks very close. The two smaller triangles are not mathematically similar. This is where the "extra" space comes from.
Ok then i'm gonna spam some code too randomly picked from one of my project :
foreach ($separe as $vkey => $vvalue) { $vnewkey = $vkey+1; $vcond = $vcond . "'$vvalue'"; if ($vnewkey < $nbmots) { $vcond = $vcond . " OR mot_mot="; } }
$ccexp = mysql_query(" SELECT mc.moc_id FROM t_motcle AS mc INNER JOIN t_mot AS m ON mc.mot_id = m.mot_id WHERE ( (m.mot_mot = '$onlymot' AND mc.mot_ordre = 1) ) AND NOT EXISTS ( SELECT * FROM t_motcle AS p2 WHERE p2.moc_id = mc.moc_id AND p2.mot_ordre = 2 ) GROUP BY mc.moc_id HAVING COUNT(*) = 1 "); $nbrepr = mysql_num_rows($ccexp);
lol i take your youtube video that makes fun of dumb people, which all just happen to be African American in this video, and raise you some excellent college humor videos:
<!--quoteo(post=1764509:date=Apr 9 2010, 08:46 PM:name=Psyke)--><div class='quotetop'>QUOTE (Psyke @ Apr 9 2010, 08:46 PM) <a href="index.php?act=findpost&pid=1764509"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->No what he means is that the whole shape is not actually a triangle though it looks very close. The two smaller triangles are not mathematically similar. This is where the "extra" space comes from.<!--QuoteEnd--></div><!--QuoteEEnd--> Yea that is what I said. If they were the same they would have lines of the same slope. I was just pointing out that line b/c you see that right away.
<!--quoteo(post=1764499:date=Apr 9 2010, 09:41 PM:name=ChuckstarNL)--><div class='quotetop'>QUOTE (ChuckstarNL @ Apr 9 2010, 09:41 PM) <a href="index.php?act=findpost&pid=1764499"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->We really need a NS2 riddle mod now. Pipi, get crackin' on it. :P<!--QuoteEnd--></div><!--QuoteEEnd-->
I'd most likely be working on the Gorge race mod ! :D
douchebagatronCustom member titleJoin Date: 2003-12-20Member: 24581Members, Constellation, Reinforced - Shadow
<!--quoteo(post=1764456:date=Apr 9 2010, 08:26 PM:name=XainGM)--><div class='quotetop'>QUOTE (XainGM @ Apr 9 2010, 08:26 PM) <a href="index.php?act=findpost&pid=1764456"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec--><img src="http://www.computermagic.gr/Fun/StrangeMaths/FromWhereComesThisHole/FromWhereComesThisHoleUK.gif" border="0" class="linked-image" /><!--QuoteEnd--></div><!--QuoteEEnd--> green triangle has slope of -2/5, orange triangle has slope of -3/8s. it's not a triangle, just looks like one. the point where the green triangle meets the orange is a vertex, there is an angle there, it's just not immediately obvious.
<!--quoteo(post=1764475:date=Apr 9 2010, 09:34 PM:name=Pipi)--><div class='quotetop'>QUOTE (Pipi @ Apr 9 2010, 09:34 PM) <a href="index.php?act=findpost&pid=1764475"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Riddle: <b>A man has a few eggs in a basket and is selling them. First customer buys one-half of all his eggs plus one half of an egg. Second customer buys one-half of all his eggs plus one half of an egg. Third customer buys one-half of all his eggs plus one half of an egg. The man has sold all his eggs without breaking one. How many eggs did the man have in his basket?</b><!--QuoteEnd--></div><!--QuoteEEnd-->
Pipi... i got a riddle for you...
Riddle: If Billy has 4 apples and Susie has 9, why don't they just shut up and eat?
<!--quoteo(post=1764486:date=Apr 9 2010, 09:39 PM:name=Prefix)--><div class='quotetop'>QUOTE (Prefix @ Apr 9 2010, 09:39 PM) <a href="index.php?act=findpost&pid=1764486"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The green triangle has a w:h ratio of 5:2 and the red 8:3, they arn't the same.
It creates a space by moving the triangles around, but it is the same area.<!--QuoteEnd--></div><!--QuoteEEnd-->Also called the "slope" of the line. The top object is bowed "in" a little and the bottom is bowed "out" a little created space for one square :)
<!--quoteo(post=1764510:date=Apr 9 2010, 08:47 PM:name=F O X)--><div class='quotetop'>QUOTE (F O X @ Apr 9 2010, 08:47 PM) <a href="index.php?act=findpost&pid=1764510"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Ok then i'm gonna spam some code too randomly picked from one of my project :
foreach ($separe as $vkey => $vvalue) { $vnewkey = $vkey+1; $vcond = $vcond . "'$vvalue'"; if ($vnewkey < $nbmots) { $vcond = $vcond . " OR mot_mot="; } }
$ccexp = mysql_query(" SELECT mc.moc_id FROM t_motcle AS mc INNER JOIN t_mot AS m ON mc.mot_id = m.mot_id WHERE ( (m.mot_mot = '$onlymot' AND mc.mot_ordre = 1) ) AND NOT EXISTS ( SELECT * FROM t_motcle AS p2 WHERE p2.moc_id = mc.moc_id AND p2.mot_ordre = 2 ) GROUP BY mc.moc_id HAVING COUNT(*) = 1 "); $nbrepr = mysql_num_rows($ccexp);<!--QuoteEnd--></div><!--QuoteEEnd-->
<!--quoteo(post=1764524:date=Apr 10 2010, 04:52 AM:name=fodder0)--><div class='quotetop'>QUOTE (fodder0 @ Apr 10 2010, 04:52 AM) <a href="index.php?act=findpost&pid=1764524"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->i feel something coming<!--QuoteEnd--></div><!--QuoteEEnd--> STOP IT WITH THE TEASING DUDE.. i was almost in bed sleeping..
Comments
For the one interested/bored-out-of-hell, <a href="http://www.cut-the-knot.org/Curriculum/Fallacies/CurryParadox.shtml" target="_blank">here's</a> something to read about Curry's "paradox" while waiting. It even has an applet you can play with, yay!
Here's a good way to understand, if you haven't yet. The green triangle is 5 units wide, 2 units tall, so its slope is 2/5. The red triangle is 8 units wide, 3 units tall, its slope is 3/8. 2/5 is not equal to 3/8, although it is close. So when the triangles are lined up it looks like its a continuous line but the slops are different, therefore you dont have a real triangle, in either diagram.
--[[
This is a multi-line comment in Lua
]]--
str = "String" --That is a string
num = 343 --That is a number
--if statement
if (num == 343) then
--Do Something
end
--Tables
TBL_A = { 4, 5, 6 }
TBL_B = {}
TBL_B.a = 5
TBL_B.b = 6
TBL_B.c = 7
Actually the slope of the top line is slightly different.
No what he means is that the whole shape is not actually a triangle though it looks very close. The two smaller triangles are not mathematically similar. This is where the "extra" space comes from.
foreach ($separe as $vkey => $vvalue) {
$vnewkey = $vkey+1;
$vcond = $vcond . "'$vvalue'";
if ($vnewkey < $nbmots) {
$vcond = $vcond . " OR mot_mot=";
}
}
$ccexp = mysql_query("
SELECT mc.moc_id
FROM t_motcle AS mc
INNER JOIN t_mot AS m ON mc.mot_id = m.mot_id
WHERE (
(m.mot_mot = '$onlymot' AND mc.mot_ordre = 1)
) AND NOT EXISTS (
SELECT *
FROM t_motcle AS p2
WHERE p2.moc_id = mc.moc_id
AND p2.mot_ordre = 2
)
GROUP BY mc.moc_id
HAVING COUNT(*) = 1
");
$nbrepr = mysql_num_rows($ccexp);
if date == now then
happy = true
end
end
<a href="http://www.youtube.com/watch?v=nda_OSWeyn8" target="_blank">http://www.youtube.com/watch?v=nda_OSWeyn8</a><!--QuoteEnd--></div><!--QuoteEEnd-->
lol i take your youtube video that makes fun of dumb people, which all just happen to be African American in this video, and raise you some excellent college humor videos:
<a href="http://www.youtube.com/watch?v=yX8yrOAjfKM" target="_blank">http://www.youtube.com/watch?v=yX8yrOAjfKM</a>
<a href="http://www.youtube.com/watch?v=HBsdV--kLoQ" target="_blank">http://www.youtube.com/watch?v=HBsdV--kLoQ</a>
Yea that is what I said. If they were the same they would have lines of the same slope. I was just pointing out that line b/c you see that right away.
The Chicken came first, it then caught a disease that enabled itself to duplicate
I'd most likely be working on the Gorge race mod ! :D
green triangle has slope of -2/5, orange triangle has slope of -3/8s. it's not a triangle, just looks like one. the point where the green triangle meets the orange is a vertex, there is an angle there, it's just not immediately obvious.
This is an example. NOT actual NS2 Lua API
]]--
WEAPON = {}
WEAPON.Damage = 5
WEAPON.Recoil = 1
WEAPON.Sound = "sounds/fire1.wav"
function WEAPON:PrimaryFire()
local pl = WEAPON:GetOwner()
local trace = pl:GetTraceRes()
local ent = trace:Entity()
if ( ent == "client") then
ent:AddHealth( -10 )
end
end
Pipi... i got a riddle for you...
Riddle: If Billy has 4 apples and Susie has 9, why don't they just shut up and eat?
It creates a space by moving the triangles around, but it is the same area.<!--QuoteEnd--></div><!--QuoteEEnd-->Also called the "slope" of the line. The top object is bowed "in" a little and the bottom is bowed "out" a little created space for one square :)
if date == now then
happy = true
end
end<!--QuoteEnd--></div><!--QuoteEEnd-->
while (true)
{
print("NS2 Release in ") + (int)rand()*100 + ("days");
}
releaseNS2();
foreach ($separe as $vkey => $vvalue) {
$vnewkey = $vkey+1;
$vcond = $vcond . "'$vvalue'";
if ($vnewkey < $nbmots) {
$vcond = $vcond . " OR mot_mot=";
}
}
$ccexp = mysql_query("
SELECT mc.moc_id
FROM t_motcle AS mc
INNER JOIN t_mot AS m ON mc.mot_id = m.mot_id
WHERE (
(m.mot_mot = '$onlymot' AND mc.mot_ordre = 1)
) AND NOT EXISTS (
SELECT *
FROM t_motcle AS p2
WHERE p2.moc_id = mc.moc_id
AND p2.mot_ordre = 2
)
GROUP BY mc.moc_id
HAVING COUNT(*) = 1
");
$nbrepr = mysql_num_rows($ccexp);<!--QuoteEnd--></div><!--QuoteEEnd-->
You have more SQL then Lua there buddy
That's what she said!
Also, I need new pants.
So do I.
If you know what I mean.
STOP IT WITH THE TEASING DUDE.. i was almost in bed sleeping..
Sorry.
{
print("NS2 Release in ") + (int)rand()*100 + ("days");
}
releaseNS2();<!--QuoteEnd--></div><!--QuoteEEnd-->
for (int timeRemaining = 10; timeRemaining > 0; timeRemaining++) {
print("Another second passes, we're going to release soon!");
}
releaseNS2();