The "steenking comment" is right above the code of is_node_name()  :) <br>Ed<br><br><div class="gmail_quote">On Tue, Jun 3, 2008 at 10:53 AM, Vlad Dumitrescu <<a href="mailto:vladdu55@gmail.com">vladdu55@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Well, I admit I didn't find that, but got to the actual implementation of is_node_name(), which is actually reading the code, not some stinking comment :-)<br>
<font color="#888888"><br>/Vlad</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Tue, Jun 3, 2008 at 4:51 PM, Edwin Fine <<a href="mailto:erlang-questions_efine@usa.net" target="_blank">erlang-questions_efine@usa.net</a>> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Gosh, Vlad, how can you say it is not documented? I mean, it clearly states in the comments to the Erlang C source code in erts/emulator/beam/dist.c that<br>

<br>**<br>** n must be a valid node name: string of ([a-z][A-Z][0-9]_-)+<br>
** <br><br>It only took me 20 minutes to track this down. Don't you know, Real Programmers Don't Need No Steenking Documentation, They Just Read The Code  ;-)<br><br><b>(Disclaimer: In case anyone inadvertently takes this rant literally and gets ticked off, it was written with heavy irony and tongue firmly in cheek).</b><br>


<br><br><div class="gmail_quote">2008/6/3 Vlad Dumitrescu <<a href="mailto:vladdu55@gmail.com" target="_blank">vladdu55@gmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div></div><div>
Hi,<br><br>I couldn't find any documentation regarding which node names are allowed, so I had to trace it down in the emulator code. <br><br>Node names must conform to the following regexp: [a-zA-Z0-9_-]+<br><br>Maybe it should be added to the docs.<br>



regards,<br>Vlad<br clear="all"><font color="#888888"><br>-- <br>.......__o<br>.......\<,<br>....( )/ ( )...
</font><br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br>