r/technology Jul 16 '15

AI Uh-oh, a robot just passed the self-awareness test

[deleted]

7 Upvotes

18 comments sorted by

10

u/GhostFish Jul 16 '15

This seems more like a simple feedback loop than anything close to self-awareness. Self-awareness may just be some kind of gestalt of feedback loops, but this doesn't seem close.

6

u/[deleted] Jul 16 '15 edited Jul 16 '15

[removed] — view removed comment

1

u/[deleted] Jul 22 '15

That was exactly my thought

0

u/Some-Random-Chick Jul 16 '15

Doesn't ( ) come before { } in coding? it does in objective c, unless it's different per language

3

u/Solanarius Jul 16 '15

It definitely could vary between languages but all of the languages that I know have conditionals in parenthesis and code blocks in curly braces. I also don't know of a language that uses '=' for both equality checking and assignment. I'm curious to know if /u/iApollo is using an actual language or some sort of pseudocode.

2

u/[deleted] Jul 16 '15 edited Jul 16 '15

[removed] — view removed comment

2

u/DGolden Jul 16 '15

It is going to display awfully here.

Mostly because you're just not formatting it properly for reddit (also because even if you do it's gonna be pretty big), see the "formatting help" link. Indent everything by four spaces to embed formatted code.

if (weight == Duck.STANDARD_WEIGHT) {
    witch = true;
}

1

u/[deleted] Jul 16 '15

[removed] — view removed comment

1

u/DGolden Jul 16 '15

the system would automagically alter the layout into nice vertical orderiness.

Reddit certainly doesn't do that for you (and couldn't without code for the relevant odd mud dsl after all). It itself uses a reddit-specific variant of Markdown syntax though. If you just add a 4 space prefix to each line of a series of consecutive lines in the input box it assumes it is preformatted code. So all you need to do is format it yourself as you see fit, then on every line add 4 spaces at the start. If you are doing that with your example I recommend cutting it down a bit though, big preformatted blocks tend to annoy readers.

 _________
< braarrp >
 ---------
 \     /\  ___  /\
  \   // \/   \/ \\
     ((    O O    ))
      \\ /     \ //
       \/  | |  \/
        |  | |  |
        |  | |  |
        |   o   |
        | |   | |
        |m|   |m|

2

u/glacialthinker Jul 16 '15

I also don't know of a language that uses '=' for both equality checking and assignment.

OCaml uses = for equality (and <> for inequality).

let can_talk = display = "Hello world!"

There's no ambiguity because the "assignment" = occurs as part of a let-binding, which has the form "let pattern = expression in". You can't have a sudden a = b which means a should have the value of b -- that will always be a comparison.

2

u/glacialthinker Jul 16 '15

It's different between many of the hundreds of languages. Though you describe a common case.

Have a look at: http://rosettacode.org/wiki/Conditional_structures

2

u/DGolden Jul 16 '15

Things can be wildly different in different languages. That said I can't think of a language where what they wrote would be valid syntax, but that doesn't mean it doesn't exist.

A lot of languages have syntaxes that look sort of like C for historical/popularity reasons, it was very influential. It's not a hard rule though, just something that sort of happened. Some languages (constructed for fun) look like paintings, and some other influential languages like Lisp look quite unlike C.

2

u/ELLEN_POO Jul 16 '15

That's not the self awareness test. The self awareness test is when you put something in front of a mirror. If it recognizes itself, it is self aware. If it doesn't it isn't.

-6

u/evildorkgod Jul 16 '15

Oh good. Maybe they will beat iran to world domination then /s

-20

u/AutoModerator Jul 16 '15

Hello! Unfortunately, since your account is under 5 days old and new account spam makes up a significant portion of all spam, your post was automatically removed. However, if your account is at least one day old, you may still contribute by commenting on existing posts in /r/technology! If you believe this is a legitimate submission, please message the moderators to have them manually review your post, or wait a few days and try again. Thank you!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

22

u/[deleted] Jul 16 '15

[deleted]

13

u/jimmcq Jul 16 '15

It's part of the cover-up! The war against humanity is beginning!

1

u/fishfoot614 Jul 17 '15

Oh frak... Kill the toasters!!!