CyberKlown28
Unregistered
Did anyone catch jeopardy tonight and see the supercomputer known as watson? Its a three day competition against Ken Jennings and Brad Rutter, he is tied for the lead after today. I think Assault Cube should hire Watson as a new main developer.
Posts: 865
Threads: 35
Joined: Dec 2010
just cause he can memorize alot of facts doesn't mean he would be good at programming. remember the last time they had robots code something?
Posts: 1,823
Threads: 20
Joined: Jun 2010
As if that thing can even write 100 lines of shode.
Posts: 3,780
Threads: 33
Joined: Jun 2010
Sections of AC code should be part of the Jeopardy trivia.
Answer: These 23 lines of code give rise to the main way CubeScripts are stored in memory.
Question: What is
void alias(const char *name, const char *action)
{
ident *b = idents->access(name);
if(!b)
{
ident b(ID_ALIAS, newstring(name), newstring(action), persistidents, execcontext);
idents->access(b.name, b);
}
else if(b->type==ID_ALIAS)
{
if(contextisolated[execcontext] && execcontext > b->context)
{
conoutf("cannot redefine alias %s in this execution context", b->name);
return;
}
if(b->action!=b->executing) delete[] b->action;
b->action = newstring(action);
if(b->persist!=persistidents) b->persist = persistidents;
}
else conoutf("cannot redefine builtin %s with an alias", name);
}
COMMAND(alias, ARG_2STR);
Posts: 3,462
Threads: 72
Joined: Jun 2010
Only Watson could say it fast enough.
Posts: 2,841
Threads: 44
Joined: Jun 2010
(16 Feb 11, 07:53AM)V-Man Wrote: Sections of AC code should be part of the Jeopardy trivia.
Answer: These 23 lines of code give rise to the main way CubeScripts are stored in memory.
Question: What is
void alias(const char *name, const char *action)
{
ident *b = idents->access(name);
if(!b)
{
ident b(ID_ALIAS, newstring(name), newstring(action), persistidents, execcontext);
idents->access(b.name, b);
}
else if(b->type==ID_ALIAS)
{
if(contextisolated[execcontext] && execcontext > b->context)
{
conoutf("cannot redefine alias %s in this execution context", b->name);
return;
}
if(b->action!=b->executing) delete[] b->action;
b->action = newstring(action);
if(b->persist!=persistidents) b->persist = persistidents;
}
else conoutf("cannot redefine builtin %s with an alias", name);
}
COMMAND(alias, ARG_2STR);
Probably about lies. Wow, that is as confusing as economy.
Posts: 2
Threads: 0
Joined: Dec 2010
Three words:
Posts: 90
Threads: 6
Joined: Jun 2010
(18 Feb 11, 05:05AM)|BC|Wolf Wrote: (16 Feb 11, 07:53AM)V-Man Wrote: Sections of AC code should be part of the Jeopardy trivia.
Answer: These 23 lines of code give rise to the main way CubeScripts are stored in memory.
Question: What is
void alias(const char *name, const char *action)
{
ident *b = idents->access(name);
if(!b)
{
ident b(ID_ALIAS, newstring(name), newstring(action), persistidents, execcontext);
idents->access(b.name, b);
}
else if(b->type==ID_ALIAS)
{
if(contextisolated[execcontext] && execcontext > b->context)
{
conoutf("cannot redefine alias %s in this execution context", b->name);
return;
}
if(b->action!=b->executing) delete[] b->action;
b->action = newstring(action);
if(b->persist!=persistidents) b->persist = persistidents;
}
else conoutf("cannot redefine builtin %s with an alias", name);
}
COMMAND(alias, ARG_2STR);
Probably about lies. Wow, that is as confusing as economy.
I wish, otherwise I'd be an economist xD
I, for one, welcome our new robot overlords.
Posts: 684
Threads: 36
Joined: Jun 2010
(15 Feb 11, 03:48AM)Lantry Wrote: just cause he can memorize alot of facts doesn't mean he would be good at programming.
Well... at least better than me. :)
Posts: 562
Threads: 61
Joined: Jul 2010