Bot Demos
-
-
@discobot math eval Some stupid
-
@hungrier `[Some stupid] checking ...
[Some stupid] lexical errorEncountered "stupid" at line 1, column 6.
Was expecting one of:
<EOF>
"(" ...
"+" ...
"-" ...
"*" ...
"/" ...
"^" ...
"^^" ...
"#" ...
"!" ...
"%" ...
<EQ> ...
<NEQ> ...
"<" ...
"<=" ...
">" ...
">=" ...
<OR> ...
<AND> ...
"-->" ...
"<--" ...
"-/>" ...
"</-" ...
<NAND> ...
"<->" ...
<NOR> ...
<BITWISE> ...
"(+)" ...[Some stupid] errors were found.
-
-
-
-
@TimeBandit said in Bot Demos:
Encountered "stupid" at
I encountered that guy multiple places
Well, you can find mirrors all over the place.
-
@discobot math eval asin(2) = sqrt(-1)
-
@_p_
NaN
-
@discobot math eval e^(sqrt(-1)*atan(1)*4)
-
@_p_
NaN
-
@_p_
NaN
Damn it bot, complex numbers are only supposed to be too complex for humans!
-
@_P_ it doesn't store invalid states in their original form and reduce them later. Every expression must eval to a double; if NaN is passed to a function then the result of the function is also NaN.
-
@pie_flavor said in Bot Demos:
Every expression must eval to a double
-
-
-
Integration points are fun and all, but don't really require significant effort. I want to write an actual game with the bot, that runs within the bot.
There's the casino module in the testing thread but it kind of sucks TBH.
-
@error I did mention I was going to write WTDWTF plays Cards Against Humanity. I've already started work.
-
@discobot eval math sum(fuk)
-
@Zecc you really do have a problem with remembering command syntax.
-
Sure, blame the user for your bot's poor usability.
-
@discobot math eval sum(fukin)
-
@hungrier `[sum(fukin)] checking ...
[sum(fukin)] (sum, 0) <ITER_OPERATOR> expecting 4 or 5 calculus arguments.
[sum(fukin)] (fukin, 2) invalid <TOKEN>.
[sum(fukin)] errors were found.
-
-
Signature updated.
-
@pie_flavor said in Bot Demos:
@Zecc you really do have a problem with remembering command syntax.
I don't have a problem. I can quit at any time!
-
@error_bot !pa Part One: Confrontation
-
Penny Arcade said in https://www.penny-arcade.com/comic/2000/09/13
Part One: Confrontation
(via https://www.penny-arcade.com/archive/results/search?keywords=Part+One%3A+Confrontation)
-
@pie_flavor said in Bot Demos:
@discobot math eval cos(2) - der( sum(k,0,10,(-1)^k*(x^(2k+1))/(2k+1)!), x, 2)
What engine is used to evaluate that?
What about that, @pie_flavor?
I'm genuinely curious. Not just to break it, but mostly because this looks like it requires an actual CAS-like functionality and not just some simple numerical evaluation. Although derivatives are pretty easy, so maybe not.
-
-
@pie_flavor Interesting. Let's try one of their examples.
@discobot math eval fib(n) = fib(n-1) + fib(n-2), addBaseCase(0, 0), addBaseCase(1, 1), fib(100)
-
@topspin `[fib(n) = fib(n-1) + fib(n-2), addBaseCase(0, 0), addBaseCase(1, 1), fib(100)] checking ...
[fib(n) = fib(n-1) + fib(n-2), addBaseCase(0, 0), addBaseCase(1, 1), fib(100)] lexical errorEncountered "," at line 1, column 29.
Was expecting one of:
<EOF>
"+" ...
"-" ...
"*" ...
"/" ...
"^" ...
"^^" ...
"#" ...
"!" ...
"%" ...
<EQ> ...
<NEQ> ...
"<" ...
"<=" ...
">" ...
">=" ...
<OR> ...
<AND> ...
"-->" ...
"<--" ...
"-/>" ...
"</-" ...
<NAND> ...
"<->" ...
<NOR> ...
<BITWISE> ...
"(+)" ...[fib(n) = fib(n-1) + fib(n-2), addBaseCase(0, 0), addBaseCase(1, 1), fib(100)] errors were found.
-
Hey, I copy-pasta'd that!
-
@discobot math eval fib(n) = fib(n-1) + fib(n-2); fib(1) = 1; fib(2) = 2; fib(100)
-
@pie_flavor `[fib(n) = fib(n-1) + fib(n-2); fib(1) = 1; fib(2) = 2; fib(100)] checking ...
[fib(n) = fib(n-1) + fib(n-2); fib(1) = 1; fib(2) = 2; fib(100)] lexical errorEncountered ";" at line 1, column 29.
Was expecting one of:
<EOF>
"+" ...
"-" ...
"*" ...
"/" ...
"^" ...
"^^" ...
"#" ...
"!" ...
"%" ...
<EQ> ...
<NEQ> ...
"<" ...
"<=" ...
">" ...
">=" ...
<OR> ...
<AND> ...
"-->" ...
"<--" ...
"-/>" ...
"</-" ...
<NAND> ...
"<->" ...
<NOR> ...
<BITWISE> ...
"(+)" ...[fib(n) = fib(n-1) + fib(n-2); fib(1) = 1; fib(2) = 2; fib(100)] errors were found.
-
@error
1.7999999999994658E+21
-
@discobot Just about 24 hours later. Well done.
Now the question is how many threads can I start?
-
@discobot math eval sum(i, 1, 60000000001, i)
-
@discobot math eval sum(i, 1, 60000000002, i)
-
@discobot math eval sum(i, 1, 60000000003, i)
-
@discobot math eval sum(i, 1, 60000000004, i)
-
@discobot math eval sum(i, 1, 60000000005, i)
-
@discobot math eval sum(i, 1, 60000000006, i)
-
@discobot math eval sum(i, 1, 60000000007, i)
-
@discobot math eval sum(i, 1, 60000000008, i)
-
@discobot ping
-
@error pong
-
@discobot math eval sum(i, 1, 60000000009, i)
-
@discobot math eval sum(i, 1, 60000000010, i)
-
Why did my Azure bill jump by $326.45?