Re:Erlang.org's new website look
by beej71 on Saturday March 26, 2011 @03:41PM
(#2372973)
-module(opine).
-export([opine/0]).
-import(io).
-import(random).
opine() ->
io:fwrite("I "),
X = random:uniform(),
if
X > 0.2 ->
io:fwrite("love");
true ->
io:fwrite("hate")
end,
io:fwrite(" the new website.\n").
Re:Erlang.org's new website look
by nivertech on Saturday March 26, 2011 @05:20PM
(#2373235)
-module(opine).
-export([opine/0]).
opine() ->
S = case random:uniform() > 0.2 of
true -> "love";
false -> "hate"
end,
io:format("I ~s the new website.~n", [S]).
Re:Erlang.org's new website look
by metabrew on Saturday March 26, 2011 @06:53PM
(#2373459)
-module(opine).
-export([opine/0]).
opine() -> io:format(gen_opine(random:uniform())).
gen_opine(R) when R > 0.2 -> "I love the new website.~n";
gen_opine(_) -> "I hate the new website.~n".
Re:Erlang.org's new website look
by nivertech on Saturday March 26, 2011 @07:42PM
(#2373558)
-module(opine).
-export([opine/0]).
opine() ->
io:format("I ~s the new website.~n",[gen_opine(random:uniform())]).
gen_opine(R) when R > 0.2 -> love;
gen_opine(_) -> hate.
Re:Erlang.org's new website look
by metabrew on Sunday March 27, 2011 @06:24AM
(#2374667)
Heh, won't quite work since you used ~s for atoms, and also, mine is better because it's more flexible if you want to change the format of an opinion for a specific score range ;P
Re:Erlang.org's new website look
by gaiusparx on Saturday March 26, 2011 @02:34PM
(#2372785)
Congratulation! Better look. Under Links->Erlang applications and projects, please consider to include Erlang apps such as Riak, RabbitMQ, CouchDB, ejabberd, Mochiweb, Webmachine and Zotonic.
Re:Erlang.org's new website look
by marcc on Saturday March 26, 2011 @02:30PM
(#2372771)
Noticed this yesterday when I was going to download R14B02. Took me a minute to make sure I was on the right site...
Now I can't wait for them to update the online man pages. Something like redis.io documentation would be ideal. A console right there, shows the complexity of functions. I'd be so excited...
Citing a simple mailing list demonstration here: http://www.erlang.org/%3C/div%3E%3Cdiv%3E%3Ch1%20style=%22fo...
http://www.erlang.org/erldoc?q=mensia&x=0&y=0
I still prefer erldocs, as the author I am bias though :)
Now I can't wait for them to update the online man pages. Something like redis.io documentation would be ideal. A console right there, shows the complexity of functions. I'd be so excited...
Wonder what logic they followed to design the new site.