Diff for June 2008 irc log

Sun, 06/01/2008 - 15:27 by adminSun, 06/01/2008 - 16:22 by admin
Changes to Body
Line 1 Line 1
- +--- Log opened Sun Jun 01 14:41:45 2008
 +14:41 -!- sitharus [~ratsushi@210.48.82.27] has joined #shdh
 +14:41 -!- Irssi: #shdh: Total of 5 nicks [1 ops, 0 halfops, 0 voices, 4 normal]
 +14:41 < waawaamilk> what was wrong with freenode?
 +14:41 -!- Irssi: Join to #shdh was synced in 0 secs
 +14:41 < nem> how simple do you want a hello world?
 +14:41 -!- mode/#shdh [+o nem] by Ned
 +14:43 <@nem> nem@aegir erlirc $ erl -noshell -noinput -eval 'io:format("Hello World.~n", []).' -s init stop
 +14:43 <@nem> Hello World.
 +14:43 < therealsamc> you disgust me
 +14:43 <@nem> nem@aegir erlirc $ erl
 +14:43 <@nem> Erlang (BEAM) emulator version 5.6.2 [source] [smp:2] [async-threads:0] [kernel-poll:false]
 +14:43 <@nem> Eshell V5.6.2 (abort with ^G)
 +14:43 <@nem> 1> hello_world.
 +14:43 <@nem> hello_world
 +14:47 <@nem> So where are all the peoples?
 +14:47 < therealsamc> I brought you a peoples
 +14:47 < therealsamc> But I eated them
 +14:48 -!- Sabotabby [~joh@198.48.0.115] has joined #shdh
 +14:48 -!- halorgium [~a@67.207.130.88] has joined #shdh
 +14:48 < waawaamilk> it's a bad therealsamc
 +14:48 <@Ned> we're still short of people
 +14:48 <@Ned> :-)
 +14:49 <@Ned> therealsamc: peoples aren't tasty
 +14:49 <@Ned> well, not all peoples
 +14:49 -!- Ned changed the topic of #shdh to: nem hasn't broken it ... yet
 +14:49 -!- alastair [~alastair@198.48.0.148] has joined #shdh
 +14:50 -!- darling______ [~darling@198.48.0.120] has joined #shdh
 +14:50 <@nem> ...
 +14:51 < Sabotabby> Yet.
 +14:51 * waawaamilk looks nervously at the black mac of Doom(tm)
 +14:52 <@nem> it's heart is cold... and black
 +14:52 <@nem> its even
 +14:53 < sitharus> and it expands the reality distortion field
 +14:53 -!- Shiny [~brenda@202.78.240.7] has joined #shdh
 +14:53 < Shiny> hello1
 +14:53 <@nem> yaay
 +14:53 < waawaamilk> is that your password?
 +14:53 <@nem> ok, so from earlier:
 +14:53 < Shiny> diaf
 +14:53 < waawaamilk> you're a diaf
 +14:53 <@Ned> friendly
 +14:53 <@Ned> :p
 +14:53 <@nem> nem(14:43:00) nem@aegir erlirc $ erl -noshell -noinput -eval 'io:format("Hello World.~n", []).' -s init stop
 +14:53 <@nem> Hello World.
 +14:53 <@nem> therealsamc(14:43:15) you disgust me
 +14:53 < Shiny> go geoff go
 +14:53 < therealsamc> :D
 +14:54 < waawaamilk> lol
14:54 <@nem> nem(14:43:41) nem@aegir erlirc $ erl 14:54 <@nem> nem(14:43:41) nem@aegir erlirc $ erl
14:54 <@nem> Erlang (BEAM) emulator version 5.6.2 [source] [smp:2] [async-threads:0] [kernel-poll:false] 14:54 <@nem> Erlang (BEAM) emulator version 5.6.2 [source] [smp:2] [async-threads:0] [kernel-poll:false]
Line 9 Line 57
14:54 < waawaamilk> like a program that prints hello world and can NEVER BE KILLED 14:54 < waawaamilk> like a program that prints hello world and can NEVER BE KILLED
14:54 < waawaamilk> ? 14:54 < waawaamilk> ?
-14:54 <@nem> RLoop = fun (F) -> +14:54 <@nem> RLoop = fun (F) ->
-14:54 <@nem> receive +14:54 <@nem> receive
14:54 <@nem> hello -> io:format("Got anonymous hello world.~n", []); 14:54 <@nem> hello -> io:format("Got anonymous hello world.~n", []);
14:54 <@nem> {hello_from, Sender, please_greet, Who} -> Sender ! "Hello " ++ term_to_list(Who); 14:54 <@nem> {hello_from, Sender, please_greet, Who} -> Sender ! "Hello " ++ term_to_list(Who);
Line 16 Line 64
14:54 <@nem> end, 14:54 <@nem> end,
14:54 <@nem> F(F) 14:54 <@nem> F(F)
-14:55 <@nem> end. +14:54 <@nem> end.
14:55 < waawaamilk> RLoop = fun eh 14:55 < waawaamilk> RLoop = fun eh
14:55 < waawaamilk> erlang = fun! 14:55 < waawaamilk> erlang = fun!
14:55 * waawaamilk understands 14:55 * waawaamilk understands
14:55 <@nem> http://paste.lisp.org/display/61520 14:55 <@nem> http://paste.lisp.org/display/61520
-14:56 <@nem> 11> Greeter = spawn(fun () -> RLoop(RLoop)end). +14:55 <@nem> 11> Greeter = spawn(fun () -> RLoop(RLoop)end).
-14:56 <@nem> <0.49.0> +14:55 <@nem> <0.49.0>
14:56 <@nem> so now I've spawned another process to run Rloop 14:56 <@nem> so now I've spawned another process to run Rloop
14:56 < waawaamilk> view source on that pastie 14:56 < waawaamilk> view source on that pastie
Line 35 Line 83
14:57 <@nem> Got anonymous hello world. 14:57 <@nem> Got anonymous hello world.
14:57 <@nem> hello 14:57 <@nem> hello
 +14:57 <@nem> so we sent the greeter a 'hello' message
 +14:58 <@nem> it printed out the got hello anonymous hello world string
 +14:58 <@nem> and the shell returned the result of the send function 'hello'
 +14:58 <@nem> so 13> Greeter ! Greeter ! hello.
 +14:58 <@nem> Got anonymous hello world.
 +14:58 <@nem> hello
14:58 <@nem> Got anonymous hello world. 14:58 <@nem> Got anonymous hello world.
14:59 <@nem> where we send the result of sending hello to the greeter to the greeter 14:59 <@nem> where we send the result of sending hello to the greeter to the greeter
14:59 <@nem> anywho 14:59 <@nem> anywho
-14:59 <@nem> 14> self(). +14:59 <@nem> 14> self().
14:59 <@nem> <0.46.0> 14:59 <@nem> <0.46.0>
14:59 <@nem> that's us (the shell process) 14:59 <@nem> that's us (the shell process)
15:00 <@nem> 15> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}. 15:00 <@nem> 15> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}.
15:00 <@nem> {hello_from,<0.46.0>,please_greet,"the bacon monkies."} 15:00 <@nem> {hello_from,<0.46.0>,please_greet,"the bacon monkies."}
-15:00 <@nem> 16> +15:00 <@nem> 16>
15:00 <@nem> =ERROR REPORT==== 1-Jun-2008::15:00:00 === 15:00 <@nem> =ERROR REPORT==== 1-Jun-2008::15:00:00 ===
-15:00 <@nem> Error in process <0.49.0> with exit value: {undef,[{shell_default,term_to_list,["the bacon +15:00 <@nem> Error in process <0.49.0> with exit value: {undef,[{shell_default,term_to_list,["the bacon monkies."]},{erl_eval,do_apply,5},{erl_eval,expr,5},{erl_eval,exprs,5}]}
- monkies."]},{erl_eval,do_apply,5},{erl_eval,expr,5},{erl_eval,exprs,5}]} +
15:00 <@nem> oh noes. 15:00 <@nem> oh noes.
15:00 -!- spork [~spork@219.88.251.36] has joined #shdh 15:00 -!- spork [~spork@219.88.251.36] has joined #shdh
Line 53 Line 106
15:00 <@nem> we tried to execute a function that doesn't exist 15:00 <@nem> we tried to execute a function that doesn't exist
15:00 -!- Sabotabby [~Sabotabby@198.48.0.115] has joined #shdh 15:00 -!- Sabotabby [~Sabotabby@198.48.0.115] has joined #shdh
-15:01 < waawaamilk> !!! +15:00 < waawaamilk> !!!
-15:01 <@nem> (term_to_list lives in the erlang module) +15:00 <@nem> (term_to_list lives in the erlang module)
-15:01 < Shiny> please_greet ? +15:00 < Shiny> please_greet ?
15:01 < waawaamilk> erlang crashes? 15:01 < waawaamilk> erlang crashes?
15:01 < waawaamilk> :) 15:01 < waawaamilk> :)
Line 69 Line 122
15:03 <@nem> hello 15:03 <@nem> hello
15:03 <@nem> as before 15:03 <@nem> as before
-15:03 <@nem> 20> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}. +15:03 <@nem> 20> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}.
15:03 <@nem> {hello_from,<0.46.0>,please_greet,"the bacon monkies."} 15:03 <@nem> {hello_from,<0.46.0>,please_greet,"the bacon monkies."}
15:03 <@nem> hmm, no crash, but no message 15:03 <@nem> hmm, no crash, but no message
Line 78 Line 131
15:04 <@nem> Greeter is the process id of the greeter process 15:04 <@nem> Greeter is the process id of the greeter process
15:04 <@nem> ! means send the right hand side to the left hand side 15:04 <@nem> ! means send the right hand side to the left hand side
-15:05 <@nem> {hello_from, self(), please_greet, "the bacon monkies."} is a tuple containing the atoms hello_from and please_greet, the string "the bacon monkies." and our own +15:05 <@nem> {hello_from, self(), please_greet, "the bacon monkies."} is a tuple containing the atoms hello_from and please_greet, the string "the bacon monkies." and our own process id
- process id +
15:05 <@nem> it's like an array of 4 things 15:05 <@nem> it's like an array of 4 things
15:06 <@nem> now the greeter sent us a message back - 21> flush(). 15:06 <@nem> now the greeter sent us a message back - 21> flush().
Line 89 Line 141
15:06 < halorgium> 4> erlang:process_info(self(), messages). 15:06 < halorgium> 4> erlang:process_info(self(), messages).
15:06 < halorgium> {messages,["Hello \"Joe\""]} 15:06 < halorgium> {messages,["Hello \"Joe\""]}
-15:07 <@nem> ^^ or that +15:06 <@nem> ^^ or that
 +15:07 -!- spork [~spork@219.88.251.36] has left #shdh []
15:08 <@nem> so let's fix the code again 15:08 <@nem> so let's fix the code again
15:08 <@nem> and add a special case where we're sent a string 15:08 <@nem> and add a special case where we're sent a string
Line 106 Line 159
15:11 < halorgium> i'm the provide other answers guy 15:11 < halorgium> i'm the provide other answers guy
15:11 <@nem> I respawned the greeter with the new code - pid is now <0.71.0> 15:11 <@nem> I respawned the greeter with the new code - pid is now <0.71.0>
-15:11 <@nem> 31> Greeter ! {hello_from, self(), please_greet, the_bacon_monkies}. +15:11 <@nem> 31> Greeter ! {hello_from, self(), please_greet, the_bacon_monkies}.
15:11 <@nem> {hello_from,<0.46.0>,please_greet,the_bacon_monkies} 15:11 <@nem> {hello_from,<0.46.0>,please_greet,the_bacon_monkies}
15:12 <@nem> 32> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}. 15:12 <@nem> 32> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}.
Line 116 Line 169
15:12 <@nem> so now we have a special case for dealing with 'Who' being a string (list) 15:12 <@nem> so now we have a special case for dealing with 'Who' being a string (list)
15:13 <@nem> I think that's enough for now - you get the idea that you can send and receive messages between processes 15:13 <@nem> I think that's enough for now - you get the idea that you can send and receive messages between processes
 +15:14 < Shiny> okay brainfuck next
 +15:15 < sitharus> poor waitress. Bunch of people with laptops often scare people.
 +15:15 < Shiny> ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
 +15:16 < Shiny> you get 8 characters
 +15:16 < Shiny> > increment point
 +15:16 < Shiny> er
 +15:16 < Shiny> < decrement pointer
 +15:16 < Shiny> + inc value at pointer
 +15:16 < Shiny> - dec value at point
 +15:16 < Shiny> er
 +15:17 < Shiny> [ begin loop
 +15:17 < Shiny> ] end loop
 +15:17 < Shiny> , read on char from value at pointer
 +15:17 < Shiny> . print the value of the pointer
 +15:17 < Shiny> # print debug
 +15:18 < Shiny> this language was invented in 1964
 +15:18 < Shiny> http://coffee.geek.nz/bf.html
 +15:19 < Shiny> ++++++++++
 +15:19 < halorgium> ++++++++++
 +15:19 < halorgium> [>+++++++>++++++++++>+++>+<<<<-] The initial loop to set up useful values in the array
 +15:19 < halorgium> >++. Print 'H'
 +15:19 < halorgium> >+. Print 'e'
 +15:19 < Shiny> [>+++++++>++++++++++>+++>+<<<<-] The initial loop to set up useful values in the array
 +15:19 < halorgium> +++++++. Print 'l'
 +15:19 < Shiny> >++. Print 'H'
 +15:19 < halorgium> . Print 'l'
 +15:19 < Shiny> >+. Print 'e'
 +15:19 < halorgium> +++. Print 'o'
 +15:19 < Shiny> +++++++. Print 'l'
 +15:19 < halorgium> >++. Print ' '
 +15:19 < Shiny> . Print 'l'
 +15:19 < halorgium> <<+++++++++++++++. Print 'W'
 +15:19 < Shiny> +++. Print 'o'
 +15:19 < halorgium> >. Print 'o'
 +15:19 < Shiny> >++. Print ' '
 +15:19 < halorgium> +++. Print 'r'
 +15:19 < Shiny> <<+++++++++++++++. Print 'W'
 +15:19 < halorgium> ------. Print 'l'
 +15:19 < Shiny> >. Print 'o'
 +15:19 < halorgium> --------. Print 'd'
 +15:19 < waawaamilk> so err
 +15:19 < Shiny> +++. Print 'r'
 +15:19 < halorgium> >+. Print '!'
 +15:19 < Shiny> ------. Print 'l'
 +15:19 < halorgium> >. Print newline
 +15:19 < Shiny> --------. Print 'd'
 +15:19 < waawaamilk> the implementation of 'print' is up to the interpreter?
 +15:20 < Shiny> >+. Print '!'
 +15:20 < Shiny> >. Print newline
 +15:20 < Shiny> http://paste.dollyfish.net.nz/b2adee
 +15:20 < Shiny> waawaamilk: yup --- might be stdout
 +15:20 < Shiny> up to your
 +15:20 < Shiny> up to you
 +15:21 < Shiny> http://lolcode.com/
 +15:21 < Shiny> HAI
 +15:21 < Shiny> CAN HAS STDIO?
 +15:21 < Shiny> VISIBLE "HAI WORLD!"
 +15:21 < Shiny> KTHXBYE
 +15:21 < sitharus> http://en.wikipedia.org/wiki/Intercal
 +15:22 < Shiny> does visual fortrain exist?
 +15:22 < Shiny> oh it's from intel
 +15:22 < sitharus> http://www.intel.com/cd/software/products/asmo-na/eng/278834.htm
 +15:22 < sitharus> visual fortran ;)

Current revision:

June 2008 irc log

--- Log opened Sun Jun 01 14:41:45 2008
14:41 -!- sitharus [~ratsushi@210.48.82.27] has joined #shdh
14:41 -!- Irssi: #shdh: Total of 5 nicks [1 ops, 0 halfops, 0 voices, 4 normal]
14:41 < waawaamilk> what was wrong with freenode?
14:41 -!- Irssi: Join to #shdh was synced in 0 secs
14:41 < nem> how simple do you want a hello world?
14:41 -!- mode/#shdh [+o nem] by Ned
14:43 <@nem> nem@aegir erlirc $ erl -noshell -noinput -eval 'io:format("Hello World.~n", []).' -s init stop
14:43 <@nem> Hello World.
14:43 < therealsamc> you disgust me
14:43 <@nem> nem@aegir erlirc $ erl
14:43 <@nem> Erlang (BEAM) emulator version 5.6.2 [source] [smp:2] [async-threads:0] [kernel-poll:false]
14:43 <@nem> Eshell V5.6.2 (abort with ^G)
14:43 <@nem> 1> hello_world.
14:43 <@nem> hello_world
14:47 <@nem> So where are all the peoples?
14:47 < therealsamc> I brought you a peoples
14:47 < therealsamc> But I eated them
14:48 -!- Sabotabby [~joh@198.48.0.115] has joined #shdh
14:48 -!- halorgium [~a@67.207.130.88] has joined #shdh
14:48 < waawaamilk> it's a bad therealsamc
14:48 <@Ned> we're still short of people
14:48 <@Ned> :-)
14:49 <@Ned> therealsamc: peoples aren't tasty
14:49 <@Ned> well, not all peoples
14:49 -!- Ned changed the topic of #shdh to: nem hasn't broken it ... yet
14:49 -!- alastair [~alastair@198.48.0.148] has joined #shdh
14:50 -!- darling______ [~darling@198.48.0.120] has joined #shdh
14:50 <@nem> ...
14:51 < Sabotabby> Yet.
14:51 * waawaamilk looks nervously at the black mac of Doom(tm)
14:52 <@nem> it's heart is cold... and black
14:52 <@nem> its even
14:53 < sitharus> and it expands the reality distortion field
14:53 -!- Shiny [~brenda@202.78.240.7] has joined #shdh
14:53 < Shiny> hello1
14:53 <@nem> yaay
14:53 < waawaamilk> is that your password?
14:53 <@nem> ok, so from earlier:
14:53 < Shiny> diaf
14:53 < waawaamilk> you're a diaf
14:53 <@Ned> friendly
14:53 <@Ned> :p
14:53 <@nem> nem(14:43:00) nem@aegir erlirc $ erl -noshell -noinput -eval 'io:format("Hello World.~n", []).' -s init stop
14:53 <@nem> Hello World.
14:53 <@nem> therealsamc(14:43:15) you disgust me
14:53 < Shiny> go geoff go
14:53 < therealsamc> :D
14:54 < waawaamilk> lol
14:54 <@nem> nem(14:43:41) nem@aegir erlirc $ erl
14:54 <@nem> Erlang (BEAM) emulator version 5.6.2 [source] [smp:2] [async-threads:0] [kernel-poll:false]
14:54 <@nem> Eshell V5.6.2 (abort with ^G)
14:54 <@nem> 1> hello_world.
14:54 <@nem> hello_world
14:54 <@nem> so lets go a little more impressive
14:54 < Shiny> that's cheating
14:54 < waawaamilk> like a program that prints hello world and can NEVER BE KILLED
14:54 < waawaamilk> ?
14:54 <@nem> RLoop = fun (F) ->
14:54 <@nem> receive
14:54 <@nem> hello -> io:format("Got anonymous hello world.~n", []);
14:54 <@nem> {hello_from, Sender, please_greet, Who} -> Sender ! "Hello " ++ term_to_list(Who);
14:54 <@nem> stop -> exit(bye)
14:54 <@nem> end,
14:54 <@nem> F(F)
14:54 <@nem> end.
14:55 < waawaamilk> RLoop = fun eh
14:55 < waawaamilk> erlang = fun!
14:55 * waawaamilk understands
14:55 <@nem> http://paste.lisp.org/display/61520
14:55 <@nem> 11> Greeter = spawn(fun () -> RLoop(RLoop)end).
14:55 <@nem> <0.49.0>
14:56 <@nem> so now I've spawned another process to run Rloop
14:56 < waawaamilk> view source on that pastie
14:56 < waawaamilk> fark
14:56 < waawaamilk> Rloop waits for messages. If it gets 'hello' it prints Got anonymous hello world etc
14:56 < waawaamilk> > > ...
14:57 <@nem> the <0.49.0> thing is the process id of the greeter process
14:57 <@nem> we can tell it to greet stuff now
14:57 <@nem> 12> Greeter ! hello.
14:57 <@nem> Got anonymous hello world.
14:57 <@nem> hello
14:57 <@nem> so we sent the greeter a 'hello' message
14:58 <@nem> it printed out the got hello anonymous hello world string
14:58 <@nem> and the shell returned the result of the send function 'hello'
14:58 <@nem> so 13> Greeter ! Greeter ! hello.
14:58 <@nem> Got anonymous hello world.
14:58 <@nem> hello
14:58 <@nem> Got anonymous hello world.
14:59 <@nem> where we send the result of sending hello to the greeter to the greeter
14:59 <@nem> anywho
14:59 <@nem> 14> self().
14:59 <@nem> <0.46.0>
14:59 <@nem> that's us (the shell process)
15:00 <@nem> 15> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}.
15:00 <@nem> {hello_from,<0.46.0>,please_greet,"the bacon monkies."}
15:00 <@nem> 16>
15:00 <@nem> =ERROR REPORT==== 1-Jun-2008::15:00:00 ===
15:00 <@nem> Error in process <0.49.0> with exit value: {undef,[{shell_default,term_to_list,["the bacon monkies."]},{erl_eval,do_apply,5},{erl_eval,expr,5},{erl_eval,exprs,5}]}
15:00 <@nem> oh noes.
15:00 -!- spork [~spork@219.88.251.36] has joined #shdh
15:00 <@nem> we crashed.
15:00 -!- Sabotabby [~joh@198.48.0.115] has quit [Quit: leaving]
15:00 <@nem> we tried to execute a function that doesn't exist
15:00 -!- Sabotabby [~Sabotabby@198.48.0.115] has joined #shdh
15:00 < waawaamilk> !!!
15:00 <@nem> (term_to_list lives in the erlang module)
15:00 < Shiny> please_greet ?
15:01 < waawaamilk> erlang crashes?
15:01 < waawaamilk> :)
15:01 < Sabotabby> It does when nem is writing it.
15:01 <@nem> well, my half arsed demo process crashed
15:01 <@nem> so let's fix the code
15:01 <@Ned> lets _you_ fix the code ;-)
15:02 < waawaamilk> print "OH_HAI" > helloworld.erlang
15:02 <@nem> http://paste.lisp.org/display/61520#1
15:02 <@nem> ..... Greeter = <0.57.0> % new process id - the old one went away when it crashed
15:03 <@nem> 19> Greeter ! hello.
15:03 <@nem> Got anonymous hello world.
15:03 <@nem> hello
15:03 <@nem> as before
15:03 <@nem> 20> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}.
15:03 <@nem> {hello_from,<0.46.0>,please_greet,"the bacon monkies."}
15:03 <@nem> hmm, no crash, but no message
15:04 < waawaamilk> http://nigel.mcnie.name/blog/using-git-for-your-sourceforgegoogle-code-p...
15:04 <@nem> that's because the greeter sent us a message back instead of just printing to stdout
15:04 < Shiny> nem: what are the bits in 20> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}.
15:04 < Shiny> ?
15:04 <@nem> Greeter is the process id of the greeter process
15:04 <@nem> ! means send the right hand side to the left hand side
15:05 <@nem> {hello_from, self(), please_greet, "the bacon monkies."} is a tuple containing the atoms hello_from and please_greet, the string "the bacon monkies." and our own process id
15:05 <@nem> it's like an array of 4 things
15:06 <@nem> now the greeter sent us a message back - 21> flush().
15:06 <@nem> Shell got "Hello \"the bacon monkies.\""
15:06 <@nem> ok
15:06 <@nem> the flush command receives all the messages in the message queue for our process
15:06 <@nem> and prints them out
15:06 <@nem> so the string we got back from the greeter looks a little ugly
15:06 < halorgium> 4> erlang:process_info(self(), messages).
15:06 < halorgium> {messages,["Hello \"Joe\""]}
15:06 <@nem> ^^ or that
15:07 -!- spork [~spork@219.88.251.36] has left #shdh []
15:08 <@nem> so let's fix the code again
15:08 <@nem> and add a special case where we're sent a string
15:08 <@nem> but before that, let's do the same thing with an atom
15:09 <@nem> 22> Greeter ! {hello_from, self(), please_greet, the_bacon_monkies}.
15:09 <@nem> {hello_from,<0.46.0>,please_greet,the_bacon_monkies}
15:09 <@nem> 23> flush().
15:09 <@nem> Shell got "Hello the_bacon_monkies"
15:09 <@nem> http://paste.lisp.org/display/61520#2
15:09 <@nem> 24> Greeter ! stop.
15:09 <@nem> stop
15:09 <@nem> 25> process_info(Greeter).
15:09 <@nem> undefined
15:10 <@nem> ok, there's an extraneous h in that last example
15:11 < halorgium> or is_process_alive(Greeter).
15:11 < halorgium> i'm the provide other answers guy
15:11 <@nem> I respawned the greeter with the new code - pid is now <0.71.0>
15:11 <@nem> 31> Greeter ! {hello_from, self(), please_greet, the_bacon_monkies}.
15:11 <@nem> {hello_from,<0.46.0>,please_greet,the_bacon_monkies}
15:12 <@nem> 32> Greeter ! {hello_from, self(), please_greet, "the bacon monkies."}.
15:12 <@nem> {hello_from,<0.46.0>,please_greet,"the bacon monkies."}
15:12 <@nem> 33> flush().
15:12 <@nem> Shell got "Hello the_bacon_monkies"
15:12 <@nem> Shell got "Hello the bacon monkies."
15:12 < Shiny> i think the waitress is afraid of the big silent group of laptop users
15:12 <@nem> so now we have a special case for dealing with 'Who' being a string (list)
15:13 <@nem> I think that's enough for now - you get the idea that you can send and receive messages between processes
15:14 < Shiny> okay brainfuck next
15:15 < sitharus> poor waitress. Bunch of people with laptops often scare people.
15:15 < Shiny> ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
15:16 < Shiny> you get 8 characters
15:16 < Shiny> > increment point
15:16 < Shiny> er
15:16 < Shiny> < decrement pointer
15:16 < Shiny> + inc value at pointer
15:16 < Shiny> - dec value at point
15:16 < Shiny> er
15:17 < Shiny> [ begin loop
15:17 < Shiny> ] end loop
15:17 < Shiny> , read on char from value at pointer
15:17 < Shiny> . print the value of the pointer
15:17 < Shiny> # print debug
15:18 < Shiny> this language was invented in 1964
15:18 < Shiny> http://coffee.geek.nz/bf.html
15:19 < Shiny> ++++++++++
15:19 < halorgium> ++++++++++
15:19 < halorgium> [>+++++++>++++++++++>+++>+<<<<-] The initial loop to set up useful values in the array
15:19 < halorgium> >++. Print 'H'
15:19 < halorgium> >+. Print 'e'
15:19 < Shiny> [>+++++++>++++++++++>+++>+<<<<-] The initial loop to set up useful values in the array
15:19 < halorgium> +++++++. Print 'l'
15:19 < Shiny> >++. Print 'H'
15:19 < halorgium> . Print 'l'
15:19 < Shiny> >+. Print 'e'
15:19 < halorgium> +++. Print 'o'
15:19 < Shiny> +++++++. Print 'l'
15:19 < halorgium> >++. Print ' '
15:19 < Shiny> . Print 'l'
15:19 < halorgium> <<+++++++++++++++. Print 'W'
15:19 < Shiny> +++. Print 'o'
15:19 < halorgium> >. Print 'o'
15:19 < Shiny> >++. Print ' '
15:19 < halorgium> +++. Print 'r'
15:19 < Shiny> <<+++++++++++++++. Print 'W'
15:19 < halorgium> ------. Print 'l'
15:19 < Shiny> >. Print 'o'
15:19 < halorgium> --------. Print 'd'
15:19 < waawaamilk> so err
15:19 < Shiny> +++. Print 'r'
15:19 < halorgium> >+. Print '!'
15:19 < Shiny> ------. Print 'l'
15:19 < halorgium> >. Print newline
15:19 < Shiny> --------. Print 'd'
15:19 < waawaamilk> the implementation of 'print' is up to the interpreter?
15:20 < Shiny> >+. Print '!'
15:20 < Shiny> >. Print newline
15:20 < Shiny> http://paste.dollyfish.net.nz/b2adee
15:20 < Shiny> waawaamilk: yup --- might be stdout
15:20 < Shiny> up to your
15:20 < Shiny> up to you
15:21 < Shiny> http://lolcode.com/
15:21 < Shiny> HAI
15:21 < Shiny> CAN HAS STDIO?
15:21 < Shiny> VISIBLE "HAI WORLD!"
15:21 < Shiny> KTHXBYE
15:21 < sitharus> http://en.wikipedia.org/wiki/Intercal
15:22 < Shiny> does visual fortrain exist?
15:22 < Shiny> oh it's from intel
15:22 < sitharus> http://www.intel.com/cd/software/products/asmo-na/eng/278834.htm
15:22 < sitharus> visual fortran ;)