By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,625 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,625 IT Pros & Developers. It's quick & easy.

Is this possible in C/C++?

P: n/a
Note urban legend below. Is this possible in C/C++?

In 1974, Gustav Larsson*, a young programmer from Helsinki,
Finland, stumbled upon an amazing discovery. While working
with a PDP-8 mainframe computer, Gustav suddenly because
bored. He decided to attempt to compile a single byte
program. For what reasons we cannot know.

Nevertheless, Gustav was already familiar with RTPS FORTRAN
and thus picked a single character to represent the
contents of the program: "@". Once compiled, he expected
nothing to happen.

He was wrong. To his absolute amazement, it compiled
successfully!

Using an ARS-33 Teletype, Gustav printed out the 1 byte program
followed by its output. It appeared to contain a message from
God. A devout Catholic, Gustav showed it to his immediate
supervisor, who ordered both the print out and the program
itself destroyed. Although Gustav complied with his wishes,
it is rumored that he kept a copy of the printout in a small
shoe box in his apartment in Helsinki.

He also kept a brown diary which included various small
passages from the "Helsinki Code" (as he described it years
later). According to Gustav, the Helsinki Code came directly
from the 'Mind of God.'

The Helsinki Code read (in part):

"...[M]y presence in your world is unalterable for I am the
sanctuary of both the cosmos and the one soul inside you. I
could awaken each of you in this very moment to [my] unity,
but there is a larger design - a more comprehensive vision -
that places you in the boundaries of time and the spatial
dimensions of separateness...[T]he design requires a
progression into my wholeness that reacquaints you with
[my] unity through the experience of separation. Your
awakening, while slow and sometimes painful, is assured,
and this you must trust above all else..."

(Page 26 of Gustav's Journal - Dated February 10th, 1975)

Gustav passed away in 1996. Although his diary has since
turned up missing, the above fragment from the 'Helsinki
Code' remains. Perhaps, just perhaps, we can learn to
be better people simply by reading it.

Paul

Dec 13 '05 #1
Share this Question
Share on Google+
16 Replies


P: n/a
On 12 Dec 2005 17:25:00 -0800, du****@yahoo.com wrote:
Note urban legend below. Is this possible in C/C++?


Of course. Just do not initialize pointers and you will receive many
messages from God...
Dec 13 '05 #2

P: n/a
Instresting stuff. As you said its a word of God, then only God can
answer in which other language it can be done. And you see we have to
wait until we die to know the answer.

Dec 13 '05 #3

P: n/a
du****@yahoo.com wrote:
Note urban legend below. Is this possible in C/C++?
[...]


No.

Dec 13 '05 #4

P: n/a
Instresting stuff. As you said its a word of God, then only God can
answer in which other language it can be done. And you see we have to
wait until we die to know the answer.

Dec 13 '05 #5

P: n/a
AbdulMunaf wrote:
Instresting stuff. As you said its a word of God, then only God can
answer in which other language it can be done. And you see we have to
wait until we die to know the answer.


Any possibility it is an easter egg in a compiler?

Ben
Dec 13 '05 #6

P: n/a
du****@yahoo.com wrote:
Note urban legend below. Is this possible in C/C++?

In 1974, Gustav Larsson*, a young programmer from Helsinki,
Finland, stumbled upon an amazing discovery. While working
with a PDP-8 mainframe computer, Gustav suddenly because
bored. He decided to attempt to compile a single byte
program. For what reasons we cannot know.

Nevertheless, Gustav was already familiar with RTPS FORTRAN
and thus picked a single character to represent the
contents of the program: "@". Once compiled, he expected
nothing to happen.

He was wrong. To his absolute amazement, it compiled
successfully!

Using an ARS-33 Teletype, Gustav printed out the 1 byte program
followed by its output. It appeared to contain a message from
God. A devout Catholic, Gustav showed it to his immediate
supervisor, who ordered both the print out and the program
itself destroyed. Although Gustav complied with his wishes,
it is rumored that he kept a copy of the printout in a small
shoe box in his apartment in Helsinki.

He also kept a brown diary which included various small
passages from the "Helsinki Code" (as he described it years
later). According to Gustav, the Helsinki Code came directly
from the 'Mind of God.'

The Helsinki Code read (in part):

"...[M]y presence in your world is unalterable for I am the
sanctuary of both the cosmos and the one soul inside you. I
could awaken each of you in this very moment to [my] unity,
but there is a larger design - a more comprehensive vision -
that places you in the boundaries of time and the spatial
dimensions of separateness...[T]he design requires a
progression into my wholeness that reacquaints you with
[my] unity through the experience of separation. Your
awakening, while slow and sometimes painful, is assured,
and this you must trust above all else..."

(Page 26 of Gustav's Journal - Dated February 10th, 1975)

Gustav passed away in 1996. Although his diary has since
turned up missing, the above fragment from the 'Helsinki
Code' remains. Perhaps, just perhaps, we can learn to
be better people simply by reading it.

Paul


There was an entry in the 1987 Obfuscated C contest that comes close.
It consists of a single character and a semicolon, and just so we're
not too far off-topic, I'll note that it is also valid C++:

http://www.ioccc.org/1987/biggar.c
http://www.ioccc.org/1987/biggar.hint

Cheers! --M

Dec 13 '05 #7

P: n/a
Interesting.

Ben
Dec 13 '05 #8

P: n/a
On 12 Dec 2005 17:25:00 -0800, du****@yahoo.com wrote in
comp.lang.c++:
Note urban legend below. Is this possible in C/C++?


There is no such language as C/C++.

*plonk*

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Dec 13 '05 #9

P: n/a
du****@yahoo.com wrote:
Note urban legend below. Is this possible in C/C++?

Oh my, it's Paul Panks, one of the biggest idiots on usenet. Can't you
confine your self-professed mental illness to your normal hangouts? We
try to do some serious work here and don't have time for your nonsense.

Brian
Dec 13 '05 #10

P: n/a
On Mon, 12 Dec 2005 17:25:00 -0800, dunric wrote:
Note urban legend below. Is this possible in C/C++?

<snip>

Of course. You write a PDP-8 emulator in C++, then run RTPS FORTRAN on it....

- Jay
Dec 13 '05 #11

P: n/a
mlimber wrote:
[redacted\

There was an entry in the 1987 Obfuscated C contest that comes close.
It consists of a single character and a semicolon, and just so we're
not too far off-topic, I'll note that it is also valid C++:

http://www.ioccc.org/1987/biggar.c
http://www.ioccc.org/1987/biggar.hint


As a side note, the semicolon after P in the code is redundant.
Dec 13 '05 #12

P: n/a

Default User wrote:
du****@yahoo.com wrote:
Note urban legend below. Is this possible in C/C++?

Oh my, it's Paul Panks, one of the biggest idiots on usenet. Can't you
confine your self-professed mental illness to your normal hangouts? We
try to do some serious work here and don't have time for your nonsense.

Brian


Brian,

Shut up.

Paul

Dec 13 '05 #13

P: n/a
du****@yahoo.com wrote:

Brian,

Shut up.


No, Paul. You've crawled out of your pathetic world to the wrong spot
this time. Your trolling is unacceptable, especially here, and I for
one will let everyone know about you and your shenanigans.

Paul Panks is a long-time usenet troll. A simple Google search on him
will tell all.
Brian

Dec 13 '05 #14

P: n/a
<ja*********@sonicNOSPAM.com> wrote:
On Mon, 12 Dec 2005 17:25:00 -0800, dunric wrote:
Note urban legend below. Is this possible in C/C++?

<snip>

Of course. You write a PDP-8 emulator in C++, then run RTPS FORTRAN on it....


A plain PDP-8 emulator is doable, but how can you write
an emulator for a "PDP-8 mainframe computer" as described
in the original post?

Here is where divine intervention is required.

Roberto Waltman

[ Please reply to the group, ]
[ return address is invalid. ]
Dec 13 '05 #15

P: n/a

Default User wrote:
du****@yahoo.com wrote:

Brian,

Shut up.


No, Paul. You've crawled out of your pathetic world to the wrong spot
this time. Your trolling is unacceptable, especially here, and I for
one will let everyone know about you and your shenanigans.

Paul Panks is a long-time usenet troll. A simple Google search on him
will tell all.
Brian


Good grief...I'm writing here about whether or not something is
possible in C/C++ (based upon the aforementioned urban legend).

Paul

Dec 13 '05 #16

P: n/a
du****@yahoo.com wrote:

Default User wrote:
du****@yahoo.com wrote:

Brian,

Shut up.


No, Paul. You've crawled out of your pathetic world to the wrong spot
this time. Your trolling is unacceptable, especially here, and I for
one will let everyone know about you and your shenanigans.

Paul Panks is a long-time usenet troll. A simple Google search on him
will tell all.
Brian


Good grief...I'm writing here about whether or not something is
possible in C/C++ (based upon the aforementioned urban legend).


The one and only source for knowledge of C++, the holy Standard,
has nothing to say about it.
Happy now?

--
Karl Heinz Buchegger
kb******@gascad.at
Dec 14 '05 #17

This discussion thread is closed

Replies have been disabled for this discussion.