[erlang-questions] Allowed node names
Edwin Fine
erlang-questions_efine@REDACTED
Tue Jun 3 17:34:34 CEST 2008
LOL! That's why I wrote "They Just Read The *Code*". It just so happens that
in this case, the code and the comments are ACTUALLY congruent!!! Amazing.
Ed
On Tue, Jun 3, 2008 at 11:02 AM, Anders Nygren <anders.nygren@REDACTED>
wrote:
> 2008/6/3 Edwin Fine <erlang-questions_efine@REDACTED>:
> > 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
> >
> > **
> > ** n must be a valid node name: string of ([a-z][A-Z][0-9]_-)+
> > **
> >
> > 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
>
> Oh, come on, every Really Real Programmer(tm) knows that You can't
> trust the comments.
> Only a noob would believe the lies that are in the comments.
>
> /Anders :)
>
> > ;-)
> >
> > (Disclaimer: In case anyone inadvertently takes this rant literally and
> gets
> > ticked off, it was written with heavy irony and tongue firmly in cheek).
> >
> >
> > 2008/6/3 Vlad Dumitrescu <vladdu55@REDACTED>:
> >>
> >> Hi,
> >>
> >> I couldn't find any documentation regarding which node names are
> allowed,
> >> so I had to trace it down in the emulator code.
> >>
> >> Node names must conform to the following regexp: [a-zA-Z0-9_-]+
> >>
> >> Maybe it should be added to the docs.
> >> regards,
> >> Vlad
> >>
> >> --
> >> .......__o
> >> .......\<,
> >> ....( )/ ( )...
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://www.erlang.org/mailman/listinfo/erlang-questions
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080603/f61b7f31/attachment.htm>
More information about the erlang-questions
mailing list