List issues...

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

List issues...

David Jeske-2
Is it possible for us to get this list "fixed" to work like a normal email
list? Normal email lists have a "To:" field which is the mailing list
name, and which is directed to the recipiant on the list...

For example, if this were like every other email list I'm on, this message
would have the following headers:

  From: <original sender>
  To: <list email>
  Subject: List issues...
 
specifically:

  From: David Jeske <[hidden email]>
  To: Lua Mailing List <[hidden email]>
  Subject: List issues...


Then, it would be sent to sendmail via:

sendmail <recipiant> < email

-- 
David Jeske (N9LCA) + http://www.chat.net/~jeske/ + [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: globals

Dimitry Schwartzman
one other may be not a usefull thing but I think it has some grounds to go
with it, would be having lua compiled with a #define that any variables
that are accessed that are not local, and have not been predefined as
global complain about them but still let the code compile.


how does that sound?

Reply | Threaded
Open this post in threaded view
|

Re: globals

Steve Dekorte-2
>one other may be not a usefull thing but I think it has some grounds to go
>with it, would be having lua compiled with a #define that any variables
>that are accessed that are not local, and have not been predefined as
>global complain about them but still let the code compile.
>
>how does that sound?

Why add new statements to the language when a solution that meets our
needs and does not require this is available?

Steve

Reply | Threaded
Open this post in threaded view
|

Awesome - a Portugese to English translator

Steve Dekorte-2
Try clicking on the "Translate" links.

 http://altavista.digital.com/cgi-bin/query?pg=q&what=web&kl=pt&q=Lua&search.x=58&search.y=3

It's a little buggy though. You may have to copy and paste the urls.

Maybe some links to this translator can be put on some of the Portugese only
(or English only) pages?

Steve


Reply | Threaded
Open this post in threaded view
|

Re: Awesome - a Portugese to English translator

Steve Dekorte-2
>Translate links? I get a normal AltaVista search return, nothing about
>translations.

Odd - I don't see them anymore either. I think they took it down because of
the technical problems. Maybe it will be back up in a day or two.

Here's Digital's press release on it:

 http://altavista.digital.com/av/content/pr120997.htm

It actually did a pretty understandable Portugese->English translation when
I tried it on some of the Lua pages.

Steve

Reply | Threaded
Open this post in threaded view
|

type()

camero
I wish to print a list of all variables and their type:

a=nextvar(nil);
while (a~=nil) do
print(format("%s-%s",a,type(a)));
a=nextvar(a);
end


however, this will not work because a is always a string.  how do i 
get around this?

-cameron tofer

Reply | Threaded
Open this post in threaded view
|

Re: globals

Russell Y. Webb
In reply to this post by Steve Dekorte-2
> >one other may be not a usefull thing but I think it has some grounds to go
> >with it, would be having lua compiled with a #define that any variables
> >that are accessed that are not local, and have not been predefined as
> >global complain about them but still let the code compile.
> >
> >how does that sound?
> 
> Why add new statements to the language when a solution that meets our
> needs and does not require this is available?

The above proposal doesn't really fix things (it does improve things 
somewhat).  I think a full solution should control all global access not 
just creation.

This idea doesn't add anything to the language (it adds to the C code). 
What is the solution that doesn't require changing Lua?  Didn't I go into
the need to optionally enforce some scheme (since anything else is to some
degree like saying, "practice good programming")?  I hope these notes are
actually getting through. 

Does anyone know how to make the list server send emails to the sender?  
I'm not getting copies of my own emails.

Russ


Reply | Threaded
Open this post in threaded view
|

Re: globals

Dimitry Schwartzman
In reply to this post by Steve Dekorte-2

On Mon, 15 Dec 1997, Steve Dekorte wrote:

> 
> >one other may be not a usefull thing but I think it has some grounds to go
> >with it, would be having lua compiled with a #define that any variables
> >that are accessed that are not local, and have not been predefined as
> >global complain about them but still let the code compile.
> >
> >how does that sound?
> 
> Why add new statements to the language when a solution that meets our
> needs and does not require this is available?
> 
actually that was not a direct ref to the language it self as a feature of
the compiler/parser.



Reply | Threaded
Open this post in threaded view
|

getting your own emails

Russell Y. Webb
In reply to this post by Russell Y. Webb
You can cause your own messages to be sent to you by sending
set lua-l mail ack 
in the body of an email to 
[hidden email]

Sorry for asking before I looked for an answer.

Russ