[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Programming
. -> [Folder]  General
. . -> [Subject]  CAN HAZ LOLPOST?!
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

CAN HAZ LOLPOST?!

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Terry   USA  (87 posts)  [Biography] bio
Date Fri 27 Nov 2009 04:38 PM (UTC)

Amended on Fri 27 Nov 2009 04:41 PM (UTC) by Terry

Message
So, I was thinking about what might happen if an inquisitive and a paranoid were locked in a room together... After much thought, this is the best solution I could come up with:

HAI
CAN HAS FREEKOWT?
CAN HAS QWESTYUNZ?
I HAS A VARIABLE PARUHNOYD IS "FRANKEH"
I HAS A VARIABLE INQWISUTIVE IS "BOBBEH"
IM IN YR LOOP
  I HAS QUESTION IN INQWISUTIVE IZ "HAI! WUTZ YR NAME??"
  VISIBLE GIMMEH QWESTYUN OUTTA INQWISUHTIVE
  MAK PARUHNOYD FREEKOWT
  GIMMEH ALIVE OUTTA INQWISUHTIVE
  IZ ALIVE LEIK RLY?
    YARLY
      VISIBLE "MAH PARUHNOYD SYZ AND HUDDULZ IN MAH CORNER"
      VISIBLE "MAH INQWISUHTIVE FWOWNZ AND PONDURZ THOHTFULLY..."
      CAN CATNAP FOR 10S
    NOWAI
      GTFO
  KTHX
KTHX
VISIBLE "OH WELZ..."
KTHXBAI


Poor Bobby never even learns Frankie's name is Frankie! We shall always mourn Bobby's passing for all eternity. :( *mourn*
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] bio
Date Reply #1 on Fri 27 Nov 2009 04:45 PM (UTC)
Message
er... what?

aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000
[Go to top] top

Posted by Terry   USA  (87 posts)  [Biography] bio
Date Reply #2 on Fri 27 Nov 2009 04:53 PM (UTC)
Message
Lol, I'm bored. =P (It's LOLcode, btw. Some cracked up "language" that was made as a joke, and somehow managed to catch. :P http://www.lolcode.com/)
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #3 on Fri 27 Nov 2009 05:53 PM (UTC)

Amended on Fri 27 Nov 2009 06:05 PM (UTC) by Twisol

Message
So what are FREEKOWT and QWESTYUNZ? I'm assuming they're not standard libraries, so what do they contain?

Otherwise, that's hilarious. :D For the less LOL-inclined, here's a pseudo-port (pseudo because I'm not a LOLCODE guru) to C:


void freakout(char* str, int* alive)
{
   // ...?
}

int main()
{
  char* paranoid = "Frankie";
  
  char* inquisitive = "Bobby";
  int alive = 1;
  
  while (1)
  {
    printf("Hi! What's your name?\n");
    freakout(paranoid, &alive);
    
    if (alive)
    {
      printf("Frankie sits and huddles in the corner.\n");
      printf("Bobby frowns and ponders thoughtfully...\n\n");
      // Do something to pause for 10 seconds.
    }
    else
      break;
  }
  printf("Oh well.");
  
  return 42;
}

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] bio
Date Reply #4 on Fri 27 Nov 2009 06:02 PM (UTC)

Amended on Fri 27 Nov 2009 06:03 PM (UTC) by Hanaisse

Message
Ohh, ok. Found the same thing over at Mudbytes after this then it made sense. Well, sense in terms of what it was (cause the code doesn't make sense :P)

break = gtfo <--- only funny part :)

aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #5 on Fri 27 Nov 2009 06:05 PM (UTC)
Message
*laughs* Yeah.

I'm curious which dialect/implementation of LOLCODE was used here, actually.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Terry   USA  (87 posts)  [Biography] bio
Date Reply #6 on Fri 27 Nov 2009 06:08 PM (UTC)
Message
I'm not a LOLcode guru either, hehe. I just got bored, saw the post on Mudbytes, and decided to post here. As for the dialect, it's yours truly's. I really don't know LOLcode for the life of me...
As for what those libraries are, what's basically happening is, the inquisitive is harrassing the paranoid, and the paranoid then freaks out, goes berserk, and lashes out at the inquisitive. Eventually, our poor curious Bobby is slain. Alas... He shall truly be mourned. :(
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #7 on Fri 27 Nov 2009 06:10 PM (UTC)
Message
So that was really pseudo-LOLCODE, then. Hahah, nice. :)

I figured that's what was happening, but I was curious what was actually in the libraries at a technical level. ;)

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #8 on Fri 27 Nov 2009 08:46 PM (UTC)
Message
Technically Lolcode is a real, proper language, and you can (in principle, at least) write real programs in it with enough libraries. But indeed I don't think that snippet would actually function as described given that there is no state changing event to make one of the two "actors" no longer "alive" -- since we're told that they're not in fact standard libraries or anything like that. (In fact, they're assigned to strings.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


7,943 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]