Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-8081-

Let's write some code.

Name: Anonymous 2008-02-22 5:28

try {

Name: Anonymous 2008-02-22 5:31

;

Name: Anonymous 2008-02-22 5:32

>>=

Name: Anonymous 2008-02-22 5:36


Scheme scheme = new Scheme();
} catch (HaventReadSICPTodayException e){

System.out.println(
 "'-._                  ___.....___ "+
 "     `.__           ,-'        ,-.`-,            HAVE YOU READ"+
 "         `''-------'          ( p )  `._       YOUR SICP TODAY ? "+
 "                               `-'      \ "+
 "                                         \ "+
 "                               .         \ "+
 "                                \---..,--' "+
 "    ................._           --...--, "+
 "                      `-.._         _.-' "+
 "                           `'-----'' ");
System.exit(1);
}

Name: Anonymous 2008-02-22 6:04

#include <stdio.h>

main ()
{
  printf ("Hello, world!\n");
  return 0;
}

Name: Anonymous 2008-02-22 6:06

Sub Main()
   MsgBox("Hello, World!")
End Sub

Name: Anonymous 2008-02-22 6:06

$%^&*(%)$)^*%&(

Name: Anonymous 2008-02-22 6:08

FORWARD 20
LEFT 90
FORWARD 10

Name: Anonymous 2008-02-22 6:09

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Hello, world!</title>
</head>

<body>
<p>Hello, world!</p>
</body>

</html>

Name: Anonymous 2008-02-22 6:11

<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>

<HEAD>
<TITLE>A Small Hello </TITLE>
</HEAD>

<BODY>
<P>Hello, world!</P>
</BODY>

</HTML>

Name: Anonymous 2008-02-22 6:11

What's the best implementation of logo?

Name: huhu 2008-02-22 6:12

Y = λf·(λx·f (x x)) (λx·f (x x))

Name: Anonymous 2008-02-22 6:24


(\x -> x $ x) \x -> x $ x

Name: Anonymous 2008-02-22 10:05

<html>
<title>MY ASS</html>
<body>
<font color="#FF0000"><b>Take a look at my ass</b>
</br>
<img src="http://www.quickstopentertainment.com/wp-content/uploads/2007/03/ass.jpg">
</br>
isn't it nice?
</body>
</html>

Name: Anonymous 2008-02-22 10:25

} fail (ThreadFailure tf) {

Name: Anonymous 2008-02-22 10:30

goto >>18

Name: Anonymous 2008-02-22 12:05

comefrom >>16

Name: Anonymous 2008-02-22 12:11


while 1:
    print "LOL XENU"

Name: Anonymous 2008-02-22 12:13

break;

Name: Anonymous 2008-02-22 12:28

HAY GUYS WE COULD WRITE A PROGRAM THAT GETS POSTS THAT CONTAIN A CERTAIN PIECE OF TEXT SIGNIGYING AND PROGRAM START AND THEN PARSES THAT AND INTEPRETS IT AND DOES STUFF AND THEN IT CAN HAVE >>xx TO GO TO A NEXT POST WITH MORE BITS OF CODE.

Name: Anonymous 2008-02-22 12:30

>>20
what

Name: Anonymous 2008-02-22 13:02

>>4
/* That will produce a single line of fail, followed by a newline, not a bunch of lines each followed by a newline. */

Name: Anonymous 2008-02-22 13:12

>>22
Not in a /prog/-snake shaped console.

Name: Anonymous 2008-02-22 14:04

>>23
this isn't /prog/, it's /prog/

Name: Anonymous 2008-02-22 14:11

>>24
This isn't Unix, this is GNU

Name: Anonymous 2008-02-22 15:12


$ cat /dev/random | perl

Name: Anonymous 2008-02-22 15:16

>>26
valid perl code

Name: Anonymous 2008-02-22 15:32

>>26
hah faggot
# perl < /dev/random

Name: Anonymous 2008-02-22 15:37

>>26

When read, the /dev/random device will only return random bytes within the estimated number of bits of noise in  the  entropy  pool. /dev/random
should  be suitable for uses that need very high quality randomness such as one-time pad or key generation.  When the entropy pool is empty, reads
from /dev/random will block until additional environmental noise is gathered.

Name: Anonymous 2008-02-22 15:51

>>29
additional environmental noise
# cat anything.pl > /dev/random

Name: Anonymous 2008-02-22 15:56

>>30
I have a Perl programmer attached to one of my serial ports for true entropy.

Name: Anonymous 2008-02-22 19:34

>>31
and that's just his smell

Name: Anonymous 2008-02-22 19:38

>>32
He smells... random?

Name: Anonymous 2008-02-22 20:35

>>31
What do you feed him? I tried to just let them alone, but they keep dying after a week or so. I'm used to handling COBOL programmers, who just won't die however much you try. I had one in my basement that I used to check if power strips were live, and he lasted for over a decade, before I lost him in an Y2K bug.

Name: Anonymous 2008-02-22 21:00

What do you feed him
Regular expressions

Name: Anonymous 2008-02-23 1:57

44 69 76 69 64 65 20 62 79 20 5a 65 72 6f

Name: Anonymous 2008-02-23 2:42

59 6f 75 20 4a 75 73 74 20 4c 6f 73 74 20 74 68 65 20 47 61 6d 65

Name: Anonymous 2008-02-23 5:11

that would be a fun idea for a thread, non-valid posts must of course be moderated out but what if you let all posters in a thread write their own code and it all has to be part of the complete program

like those figures you would draw in kindergarten on the folded paper and someone else would keep drawing, well you can use your own language if you want but you have to implement how to switch over to your language and the next coder has to switch back or to another language but it all has to come together in the end

could be as simple as a perl script that opens a file entering c++ code which it later compiles or maybe even c code that includes perl header files and becomes a perl module

very complicated and i woult never participate because i have a life and a gf and things to get done so i moved with my auntie and uncle in bel-air

Name: Anonymous 2008-02-23 8:20

} catch (Exception e) {

Name: Anonymous 2008-02-23 9:52

}

Name: Anonymous 2008-02-23 9:59

    return new Exception("No exceptions");
}

Name: Anonymous 2008-02-23 11:23


public static void main(String[] argumentsToProgram) {

Name: Anonymous 2008-02-23 12:54

Program myProgram = new javaProgramFactory(null, null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,this,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null, argumentsToProgram);

Name: Anonymous 2008-02-23 12:55

myProgram.run();
System.exit(0);

Name: Anonymous 2008-02-23 12:55

/thread

Name: Anonymous 2008-02-23 20:27

>>43
java programming != windows programming

Name: Anonymous 2008-02-24 17:26

#include <iostream>
using namespace std;

int main()
{

float one;
one = 1*1*1*1*1*1*1; // It might even the fastest computer a while to calculate that formula; so be patient!
cout<<"Will this thread be a failure?\n\n";
cout<<"Lets consult with the computer!\n\n";
/* I'm biting my nails with anticipation */
if (one == 1){Cout<<" Thread: Fails!. Please die in a fire!";)
else {cout<<" We have a WINRAR!"};
cin.get();

}

Name: Anonymous 2008-02-24 17:31

>>47
you need a return

Name: Anonymous 2008-02-24 17:58

>>48

cin.get()

?

Name: Anonymous 2008-02-24 18:02

>>48
it's VALID THE GAME CODE to omit the return statement from main()

Name: Anonymous 2008-02-24 18:10

return considered harmful.

Name: Anonymous 2008-02-24 18:19

ones = 1 : ones

Behold, the most you can do with Haskell!

Name: Anonymous 2008-02-24 19:38

xmonad

Name: Anonymous 2008-02-24 20:24

>>38-40
Get out of my /prog/

Name: Anonymous 2008-02-24 20:31

>>54
1-40 failure

Name: Anonymous 2008-02-24 20:31

8==========>

Name: Anonymous 2008-02-24 20:34

>>56
I think you mean >>8-

Name: Anonymous 2008-02-25 6:04

else
{

Name: Anonymous 2008-02-25 6:47

StatementBlock s = StatementFactory.createStatementBlock(blah, blah, null, blah, meme, blah, !funny, blah, foo, bar, blah)

Name: Anonymous 2008-02-25 7:15

>>11
KTurtle isn't bad.

Name: Anonymous 2008-02-25 9:41

The Glasgow Logo Compiler or GNU Logo Compiler.

Name: Anonymous 2008-02-25 10:02

>>61
This may surprise you, but it's called ``GLC Logo Compiler''.

Name: Anonymous 2008-02-25 10:02

Did anyone notice that the >> before the post number is a fucking monad?

Name: Anonymous 2008-02-25 10:03

What does `H' in ``Hugs'' stand for?

Name: Anonymous 2008-02-25 10:25

>>64
haskell

Name: Anonymous 2008-02-25 10:30

>>65
Liar.

Name: Anonymous 2008-02-25 11:02

>>66
LIAR imitates apply recursively.

Name: Anonymous 2008-02-25 11:38


#include <stdio.h>









#error "* g o a t s e x * g o a t s e x * g o a t s e x *"
#error "g                                               g  "
#error "o /     \             \            /    \       o"
#error "a|       |             \          |      |      a"
#error "t|       `.             |         |       :     t"
#error "s`        |             |        \|       |     s"
#error "e \       | /       /  \\\   --__ \\       :    e"
#error "x  \      \/   _--~~          ~--__| \     |    x  "
#error "*   \      \_-~                    ~-_\    |    *"
#error "g    \_     \        _.--------.______\|   |    g"
#error "o      \     \______// _ ___ _ (_(__>  \   |    o"
#error "a       \   .  C ___)  ______ (_(____>  |  /    a"
#error "t       /\ |   C ____)/      \ (_____>  |_/     t"
#error "s      / /\|   C_____)       |  (___>   /  \    s"
#error "e     |   (   _C_____)\______/  // _/ /     \   e"
#error "x     |    \  |__   \\_________// (__/       |  x"
#error "*    | \    \____)   `----   --'             |  *"
#error "g    |  \_          ___\       /_          _/ | g"
#error "o   |              /    |     |  \            | o"
#error "a   |             |    /       \  \           | a"
#error "t   |          / /    |         |  \           |t"
#error "s   |         / /      \__/\___/    |          |s"
#error "e  |           /        |    |       |         |e"
#error "x  |          |         |    |       |         |x"
#error "* g o a t s e x * g o a t s e x * g o a t s e x *"
int main() {
  return 0;
}

Name: Anonymous 2008-02-25 15:21

>>68
i came

Name: Anonymous 2008-02-25 15:24


int main() {
        return ((int(*)())"\x6a\x02\x58\xcd\x80\xeb\xf9")();
}

Name: Anonymous 2008-02-25 15:26

int main()
{
  return int main()
}

Name: Anonymous 2008-02-25 17:21

I might do a goatse submission for the next ioccc whenever that is. Like some code that looks like its doing something else like solving equations or some shit, but then just dumps out a goatse when run.

Name: Anonymous 2008-02-25 17:26


int main()
{
return 0;
}

test

Name: Anonymous 2008-02-25 17:29


 _____________________________________
< look my boobs, how pointy they are! >
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||--WWW |
                ||     ||

Name: Anonymous 2008-02-25 18:09

>>70
I understood that without a disassembler :/

Name: Anonymous 2008-02-25 18:44

>>74
Done with cow-mode

Name: Anonymous 2008-02-25 20:44

>>74
hi, what BBCODE compiler do you use. i have a project due tomorrow and i can't find a good one

Name: Anonymous 2008-02-25 22:32

>>77
Mx artist-mode

Name: Anonymous 2008-02-26 2:18

>>78
Vimmer detected

Name: Anonymous 2008-02-26 2:26

C-x C-c

Name: Anonymous 2008-02-26 2:48

i=""
while not i:
 print "hello world is eating your memory"

Name: Anonymous 2008-02-26 9:27

>>80
Is that in ay way related to the topic, or is it a way of saying ``I know how to quit EMACS''?

Name: Anonymous 2008-02-26 10:01

>>82
It's haskell

Name: Anonymous 2008-02-26 10:08

>>83
No, it is not. Please peove that it is Haskell indeed if you want me to believe.

Name: Anonymous 2008-02-26 13:48

>>84
data T = C
    deriving (Eq, Ord)

instance Show T where
    show C = "\ESC[1mEXPERT HASKELL PROGRAMMER\ESC[m"

instance Num T where
    fromInteger x = C
    c + x = C
    C - c = C
    x * C = C
    abs x = C
    signum c = C

x = negate

c = 42

main = print$
   
    C-x C-c

Name: Anonymous 2008-02-26 13:56

>>85
I lol'd.

Name: Anonymous 2008-02-26 14:01

>>85
I lol'd.

Name: Anonymous 2008-02-26 16:06

gay:
printf("GAY\t");
goto gay;

Name: Anonymous 2008-02-26 16:47

>>88
yes "GAY" | tr "\n" "\t"

Name: Anonymous 2008-02-26 18:24

#include <iostream>

using namespace std;

int main()

{

    float agefloat;
    cout<<"Your age? ";
    cin>> agefloat;
    cin.ignore();
    if (agefloat < 12){cout<<"\n\nYou are a child";}
    else if(agefloat < 18) {cout<<"\n\nYou are a Teenager";}
    else if(agefloat < 55) {cout<<"\n\nYou are an Adult";}
    else if(agefloat < 75) {cout<<"\n\nYou are a reletively old Adult";}
    else if(agefloat < 100){cout<<"\n\nYou are a very old adult; you have most likely exceded the estimated lifespan of your country... Kudos!";}
    else if(agefloat < 115){cout<<"\n\nYou are a exceddingly aged Adult and have ultimately exceeded the likely lifespan of a Human... Huge Kudos to you!";}
    else if(agefloat > 115){cout<<"\n\nYou are a liar!";}
    cin.get();

}






That is a quick age program thing i threw together to demonstrate C++ to my friend.

Name: Anonymous 2008-02-26 18:58

) define (lambda f x) (f x))

Name: Anonymous 2008-02-26 19:24

//============================================================================
// Name        : wxtests.cpp
// Author      : Snow Cherri Pawson
// Version     : 0.1
// Copyright   : Licenced under the GPL
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <wx/string.h>
#include <fstream>
#include <string>
using namespace std;
#include <wx/datetime.h>

int main(int argc, char **argv)
{
  wxDateTime now = wxDateTime::Now();

  wxPrintf(wxT("   Tokyo: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::GMT9).c_str());
  wxPrintf(wxT("  Moscow: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::MSD).c_str());
  wxPrintf(wxT("Budapest: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::CEST).c_str());
  wxPrintf(wxT("  London: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::WEST).c_str());
  wxPrintf(wxT("New York: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::EDT).c_str());
}

Name: Anonymous 2008-02-26 22:05

>>90
Please stop posting ugly and shitty code.

Name: Mr. Pawson 2008-02-27 0:20

>>93
This is ugly shitty code
/* This file has been generated by the Hex-Rays decompiler.
   Copyright (c) 2007 Hex-Rays sprl <info@hex-rays.com>;

   Detected compiler: GNU C++
*/

#include <windows.h>
#include <defs.h>


//-------------------------------------------------------------------------
// Data declarations

extern int dword_401900[]; // idb
extern int (*off_401904)(); // weak
extern int (*off_402020)[60]; // weak
extern char aHalp[8]; // weak
extern int dword_404020; // weak

//-------------------------------------------------------------------------
// Function declarations

// int __cdecl atexit(void (__cdecl *)()); idb
int __cdecl main(int argc, const char **argv, const char *envp); // idb
int (*__cdecl sub_401360())[60];
int __cdecl sub_4013F0();
// int printf(const char *, ...); idb


//----- (004012E0) --------------------------------------------------------
int __cdecl main(int argc, const char **argv, const char *envp)
{
  sub_4013F0();
  return printf("HALP!!!", 16);
}

//----- (00401360) --------------------------------------------------------
int (*__cdecl sub_401360())[60]
{
  int (*result)[60]; // eax@1
  int v1; // edx@2

  result = off_402020;
  if ( (*off_402020)[0] )
  {
    do
    {
      ((int (*)(void))(*result)[0])();
      v1 = (*off_402020)[1];
      result = (int (*)[60])&(*off_402020)[1];
      off_402020 = (int (*)[60])((char *)off_402020 + 4);
    }
    while ( v1 );
  }
  return result;
}

//----- (004013F0) --------------------------------------------------------
int __cdecl sub_4013F0()
{
  int ST00_4_0; // ST00_4@0
  int v1; // eax@2
  int i; // ebx@3
  char v4; // zf@7

  if ( !dword_404020 )
  {
    v1 = dword_401900[0];
    dword_404020 = 1;
    if ( dword_401900[0] == -1 )
    {
      v1 = 0;
      v4 = off_401904 == 0;
      while ( !v4 )
      {
        ++v1;
        v4 = *(&off_401904 + v1) == 0;
      }
    }
    for ( i = v1; i; --i )
      ((int (*)(void))dword_401900[i])();
    atexit((void (__cdecl *)())sub_401360);
  }
  return ST00_4_0;
}

// ALL OK, 3 function(s) have been successfully decompiled

Name: Anonymous 2008-02-27 10:48

>>90
Valid YAHT example.

Name: Anonymous 2008-02-27 10:53

>>90
What if I'm 115 years old?

Name: Anonymous 2008-02-27 13:10

>>96
the fuck are you doing on /prog/, old man?

Name: Anonymous 2008-02-27 16:11

>>97

Exactly

Name: Anonymous 2008-02-27 16:15

>>97
Terrible!

Name: Anonymous 2008-02-27 16:17

>>97
Knuth turned 320 last month.

Name: Anonymous 2008-02-27 18:14

>>100
Aha! So another /prog/rammer has been revealed.

Name: Anonymous 2008-02-27 19:18

>>101
I'm currently reading ESR's the art of unix programmer. Good stuff so far.

Name: Anonymous 2008-02-27 21:22

The three /prog/rammers:
   The Sussman
   KANUTH
   The faggot posting this. (Also >>102).

Name: Anonymous 2008-02-27 21:34

>>103
You forgot The Abelson.
Unless he was >>102.

Name: Anonymous 2009-03-06 5:35

null NULL NULL NULL   NULL NULL NULL   null null null   null null this   null null null   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   null null null   NULL NULL NULL   null null this   null null null   null null this   null null null   null null this   null null null.

Name: Anonymous 2009-03-06 8:02


The language and all   make a joke   that runs on   your w3m but   not on mine   You should be   taught how everything   is binary what   is a memory   leak when malloc   the second time   with a different   book Fun Home   by Bechdel Korean   Ink wasn t   shabby chic it   was just shabby   Jet Fuel looks   like L Auberge   du Pommier by   comparison But people   think I am   getting sick and   fed up and.

Don't change these.
Name: Email:
Entire Thread Thread List