• Churm Rincewind (unregistered)

    At least they moved up from the debug screen used in Terminator

  • Teal'c (unregistered)

    Indeed.

  • Gurke (unregistered)

    For those, who understand a little german -> This is far worse

  • Conda (unregistered) in reply to merreborn
    merreborn:
    The URL mentioned in the second function is: http://www.rbcroyalbank.com/oec/avatar/html/01_PB/1_flash_paybill.htm

    Apparently, the little demo avatar in the corner is the basis of Replicator AI.

    is it just me or is she not wearing any pants?

  • IrishGirl (unregistered) in reply to whaba

    Nah, just busy with a guy I met here. I'll be back once I've used this one up.

  • David Karnok (unregistered)

    When I saw the film two weeks ago, I also immediately detected those screens with javascript. There was a big laught in the office.

  • (cs) in reply to Gurke
    Gurke:
    For those, who understand a little german -> This is far worse
    At least they took up the idea of the "Bundestrojaner." But for the rest, that is majorly screwed up, yes.
  • Radoslav Stankov (unregistered)

    Funny, I watched the move yesterday, and I just stopped this scene to look at that code :) but I didn't guest it was javascript

  • (cs) in reply to Pope
    Pope:

    My favorite Hollywood techie moment was the UI on hackers where he declared the dude dead. "Let's see... click here... then here... one more click. TAKE THAT ANGELINA JOLIE! ... with your fat lips."

    Also, I think it was Swordfish where I was laughing through most of the movie. Like when he's sitting at that computer with 15 screens and they all have some complicated UI on them. And that was when my video card had trouble with Asheron's Call on one monitor.

    How about AntiTrust with Tim Robbins? I recall a few good shots in that one, although its been awhile since I've seen it.

  • Anon. (unregistered)

    In one episode of Stargate Atlantis, you can clearly see "for(int i=0 ;i++; i<10){}" as the label above each dot on the life signs detector.

  • (cs) in reply to DaveAronson
    DaveAronson:
    Prosthetic Lips:
    COBOL, LISP, APL, FORTH ... I think they were all uppercase-only. Anyone else remember back that far?

    Most of the LISP code I've seen is (almost) lowercase-only. As for APL, it's not quite applicable. Most of it is Greek, and most of us wouldn't know UC from lc in that.

    APL definitely includes lowercase Greek characters. \rho is one of the first operators you typically learn in an APL tutorial, for instance, as I'm sure most of us remember. (Surely we've all studied APL at one time or another?)

    Uppercase seems to be popular with some Forth (not "FORTH") programmers, but the implementations I've seen have been case-insensitive.

    I'm not sure about McCarthy's original LISP (or "Lisp"), but in contemporary ones case requirements are determined by the case attribute of the current readtable. So you can dynamically change the interpreter to require uppercase, if that makes you happy.

    COBOL was originally uppercase-only because when it was developed typical computer character sets didn't include lowercase characters. COBOL was defined by CODASYL in 1959. EBCDIC wasn't introduced until 1964; ASCII didn't get lowercase letters until 1965. Prior to that uppercase-only encodings were common. (See Dik T. Winter's character standards history.)

    In many cases, it wasn't a question of what the language specified, but one of what the hardware supported. If you were working on an IBM mainframe with an uppercase-only model 3270, you wrote code in uppercase.

  • (cs) in reply to MichaelWojcik

    Yeah, we all remember A Programming Language when you almost needed a special keyboard to use it efficiently.

  • oi! (unregistered)

    Obviously someone else got there first and uploaded a virus.

  • venio (unregistered)

    It's obvious to me but the Replicators are (well, maybe just run) the Internet. Those "servers" people speak of are nothing but hog wash used to trick the simple minded. Also, on a side note I bet DBAs are Replicators wearing the skin of a consumed human...

  • Itsme (unregistered)

    That isn't the worst... Sometimes in Stargate Atlantis, when they track a person using the sensors, you see an actual for-loop. (including i++, I mean, ffs)

  • DHager (unregistered) in reply to Eric Meyer
    Eric Meyer:
    That's weird. When Simon Tam was reviewing the brain-scan results for River Tam at the beginning of the "Firefly" episode "War Stories", it was JavaScript too! So we're ALL replicants! Unicorn!
    Quoted for Awesomeness.
  • lantastik (unregistered) in reply to Gurke
    Gurke:
    For those, who understand a little german -> This is far worse
    I don't understand a lick of german and I could feel the idiocy. Stupidity knows no cultural barriers.

    How about this gem from Jurassic Park: http://www.youtube.com/watch?v=bhOk2H2Mv6U

  • russ (unregistered)

    the WTF is that someone watched Stargate SG-1....

  • gerrr (unregistered) in reply to lantastik
    var sc_returns = 0;
    var sc_agent= navigator.a
    var sc_base_dir
    var sc_error=0;
    if(window.partition) {
    if partition==

    more javascript? /facehand Hard disk partitions are part of the HTML DOM now? Client side JavaScript code hacking? It's not like they found the login password in the page source.

  • crabrock (unregistered) in reply to Pyro

    obviously the replicators liked the internet and stole it

  • Travis (unregistered) in reply to Pyro

    Heck no, the kill humans routine was written in COBOL. I had to maintain it once.

    1000-KILL.

    PERFORM 1200-TARGET-HUMAN FROM 1 BY 1 UNTIL NUM-OF-HUMANS.
    

    Pardon any syntax errors. The routine was very complex.

  • Mikey (unregistered)

    Surely TRWTF here is that the Replicators haven't wiped each other out due to prolonged battles over the correct placement of brackets. They must be an advanced civilisation if they can accept that horrible format!

  • Gurke (unregistered) in reply to lantastik
    lantastik:
    How about this gem from Jurassic Park: http://www.youtube.com/watch?v=bhOk2H2Mv6U
    Why didn't she just reverse the polarity? Would have been faster :D

    BTW: I like the image at 01:40, very technical ...

  • Jakob (unregistered) in reply to lantastik

    What's stupid about the 3D File System Navigator (fsn)? IRIX is UNIX too...

  • (cs) in reply to Gurke
    Gurke:
    lantastik:
    How about this gem from Jurassic Park: http://www.youtube.com/watch?v=bhOk2H2Mv6U
    Why didn't she just reverse the polarity? Would have been faster :D

    BTW: I like the image at 01:40, very technical ...

    The first one of the series of images? Yeah, its terrific... :D

  • (cs) in reply to PJ

    [Edit: oops, quote missing...]

    They were searching the replicator code base for the shut off command. The code in the crystal was programmed into the initial replicator (which then replicated). So they were looking at the original code... at least that's how I understood it.

    The only thing I didn't get is when they found the shut down command SEPARATE from that original code, how'd they get it to work so quickly... if they could've flashed the replicators' BIOSes, you'd think they'd have bricked them from the start. :)

    Addendum (2008-03-15 00:36):

    PJ:
    I don't know if you seen the movie but this is not replicator code, it is "addon" (there should be shutdown code somewhere in there) code from humans which was placed on the microchip in the crystal. So it should not represent futuristic code or something. But yeah, when I saw the movie it was WTF moment for me :)

    Reply up there --^

    Bob:
    Their compile log seems to output in Elven

    It's the Asgard language, influenced by Norse runes (in SG-1 they find the Asgard visited the Norse on Earth and made an impression on their culture). Wouldn't surprise me if other films used Norse runes for their languages. :)

  • Kallahan (unregistered)

    Javascript? Nah its obviously written in whitespace.

  • Anon (unregistered)

    Considering that everyone in the three galaxies shown so far on Stargate speak English, I'd say it makes perfect sense for the Replicators to be programmed in JavaScript.

    The whole "everyone speaks English" thing could almost survive suspension of disbelief if they didn't then throw in things like the Asgard language shown below the code in the screenshot...

  • (cs)

    It's interesting how the doors briefly pause to allow the spiderbots to jump in, yet shut tightly afterwards.

  • Joje (unregistered) in reply to 1337

    So it's Whitespace?

  • Dirk (unregistered) in reply to gerrr
    gerrr:
    var sc_returns = 0;
    var sc_agent= navigator.a
    var sc_base_dir
    var sc_error=0;
    if(window.partition) {
    if partition==

    more javascript? /facehand Hard disk partitions are part of the HTML DOM now? Client side JavaScript code hacking? It's not like they found the login password in the page source.

    No first they tried really hard to "hack" the server (entering the URL into the browser's address field). When they found out that these hacking attempts didn't work out they decided to send an "backdoor trojan" per email. The code is the trojan... And of course it works immediately. Embarrassing.

  • (cs) in reply to dtech
    dtech:
    Wow. I see Microsoft plans to make Javascript the standard-complaint™ language for the universe seem to have worked out in the near future. And, O yeah: F1RST!!~!!1111
    And here, I've been thinking the standard complaint language on TDWTF is VB. At least, to judge from all the complaints...
  • Anonymous (unregistered) in reply to Jakob
    Jakob:
    What's stupid about the 3D File System Navigator (fsn)? IRIX is UNIX too...
    Wow, honestly didn't know that :-o

    It's even been ported to Linux as "fsv" and there are packages for it...

  • (cs)

    Get out a DVD of the first Terminator movie. I believe a bunch of COBOL code goes flying by when we look through the Terminator's eyes.

  • sweavo (unregistered) in reply to Gurke
    Gurke:
    For those, who understand a little german -> This is far worse

    Cool! At first it looked like she typed jofioeealjkcjoieaoijejilaekcoildkljeaspoiefijeslislesj but then I realised it was probably a krazy german keyboard.

  • Anonymous (unregistered) in reply to sakasune
    sakasune:
    does IP work over subspace?

    I think that if IP works over carrier pigeons, it'll work over subspace.

  • (cs) in reply to Anon
    Anon:
    Considering that everyone in the three galaxies shown so far on Stargate speak English, I'd say it makes perfect sense for the Replicators to be programmed in JavaScript.

    The whole "everyone speaks English" thing could almost survive suspension of disbelief if they didn't then throw in things like the Asgard language shown below the code in the screenshot...

    Well.. Duh... Everyone know that aliens conquered the earth or made contact with humans back multiple times in history. That's how they learned English to/from the humans. (Well just forget the fact that English wasn't spoken 3000 years ago). BTW: SG plays a little with this concept. Old-norsk is based on Asgard, Egyptian hieroglyphs on Goa'uld, Latin on the language of the Ancients and probably some more I forget.

  • (cs) in reply to J. Irvine
    J. Irvine:
    That isn't Replicator code... it's the shutdown code... they obviously used JavaScript to write a Replicate() function that calls itself recursively, causing the stack overflow that made the Replicators fall apart and "crash" to the ground.
    The fight looks desperate until all of sudden, a dialog box springs up right in front of our heroes, saying "The script at http://evilreplicatorbotnetwork.com/ is taking forever and some to respond. [Let run] [Kill it with fire]" And then the protagonists need to figure out how to click buttons on a dialog box that shows up in real life.
  • Gurke (unregistered) in reply to Anon
    Anon:
    The whole "everyone speaks English" thing could almost survive suspension of disbelief if they didn't then throw in things like the Asgard language shown below the code in the screenshot...
    Subtitles for all episodes because everyone speaks old egyptian would have been a bad idea I guess. AFAIR they had language problems for the first episodes included and in the movie for sure, only Dr. Jackson was able to understand the people. Everyone had to learn egyptian before going offworld and everything was fine.

    Why everyone in pegasus speaks english... well that's indeed strange. Universal translators from the ancients? ;-)

  • Loveknuckle (unregistered)

    You're all missing the point. The code they were viewing was assimilated, so it could be from an old program they consumed. This does not break continuity.

  • (cs) in reply to Flash
    Flash:
    Get out a DVD of the first Terminator movie. I believe a bunch of COBOL code goes flying by when we look through the Terminator's eyes.
    If I remember correctly, it's actually 6502 assembly in those scenes, specifically Apple II code.

    Presumably, nobody wants to spend much time thinking about the "computer stuff" when most of the time it will only be visible for a few seconds, and most people won't notice anyway.

    But I wonder if we might someday see var'aq used in Trek...

  • ysth (unregistered) in reply to Pyro
    Pyro:
    Well this is obviously wrong, everyone knows that programs for eviltakeovertheworldkilllallhumans robots is only written in Lisp
    These are your father's parentheses. Elegant weapons from a more...civilized age.
  • nsimeonov (unregistered)

    And this is yet another proof, that javascript is evil! I knew that for ages and was saying that it's devil's creation and here we can see yet another proof :)

  • test (unregistered)

    ed2k://|file|Hottabuch.(Rus).Sexy.&.ShareReactor.ru.avi|736948224|A05D6C6494EA3704B72CCB5C12588DB2|

    In the begining of this movie you can see nice craking of microsoft website

  • (cs) in reply to The MAZZTer
    DHager:
    Eric Meyer:
    That's weird. When Simon Tam was reviewing the brain-scan results for River Tam at the beginning of the "Firefly" episode "War Stories", it was JavaScript too! So we're ALL replicants! Unicorn!
    Quoted for Awesomeness.
    Oh it gets worse. In the episode where they have to intercept that flying dumpster, its display clearly shows the "Add new hardware" wizard from Windows 98 :D
    The MAZZTer:
    [Edit: oops, quote missing...]

    They were searching the replicator code base for the shut off command. The code in the crystal was programmed into the initial replicator (which then replicated). So they were looking at the original code... at least that's how I understood it.

    The only thing I didn't get is when they found the shut down command SEPARATE from that original code, how'd they get it to work so quickly... if they could've flashed the replicators' BIOSes, you'd think they'd have bricked them from the start. :)

    Addendum (2008-03-15 00:36):

    PJ:
    I don't know if you seen the movie but this is not replicator code, it is "addon" (there should be shutdown code somewhere in there) code from humans which was placed on the microchip in the crystal. So it should not represent futuristic code or something. But yeah, when I saw the movie it was WTF moment for me :)

    Reply up there --^

    Bob:
    Their compile log seems to output in Elven

    It's the Asgard language, influenced by Norse runes (in SG-1 they find the Asgard visited the Norse on Earth and made an impression on their culture). Wouldn't surprise me if other films used Norse runes for their languages. :)

    Iirc, when the IOA guy created the replicator, he flipped the crystal once, which means he used both sides. Sam was just looking on one side.

  • Konrad (unregistered) in reply to Pyro
    Pyro:
    Well this is obviously wrong, everyone knows that programs for eviltakeovertheworldkilllallhumans robots is only written in Lisp

    But the replicators are massivly distributed and decentralized, surly their just Erlang processes made silicon.

  • Nikita Kondraskov (unregistered)

    Very interesting speculation. I do think the replicators are coded in basic or some very strange Java-Script, because their function is only reduced to limited actions, like replicate, moving around and replicate again.

    C++ would make them too intelligent, I think !

  • (cs)

    Okay... one minute ago I was putting the final touches on a chapter of my sg-1 fanfic - in particular, a part about replicator coding. So when I popped onto tdwtf to see what was new and was confronted by this, it sent me into an extreme state of inner wootness. Talk about coincidence (and I haven't even seen Ark of Truth yet, since i'm waiting for the region 4 release).

    I always found it funny how easily they can interface with alien technology and even reprogram it.

    TRWTF is region coding dvds.

  • TheHat (unregistered) in reply to Pyro

    Next time I hear a web developer say "whats the worst that could happen" I'll be sure to mention the possibility of creating a galactic machine plague.

  • Mark (unregistered) in reply to merreborn

    Well, now I understand why RBC staff always seemed to act like robots...

Leave a comment on “Stargate: Code of the Replicators”

Log In or post as a guest

Replying to comment #:

« Return to Article