lua-users home
lua-l archive

Search lua-l

This index contains 143,604 documents and 1,774,497 keywords. Last update on 2023-03-08 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ +author:"John Belmonte": 478 ]

Total 478 documents matching your query.

81. Re: index tag method (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 16 Feb 2001 13:05:55 +0900
Hello, wanting to I can't argue with that, but I'm trying to work out a practical solution for Lua. Until Lua becomes Sol or Sol becomes Lua, Sol being sufficient doesn't help this particular task. A
82. Re: index tag method (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Sat, 17 Feb 2001 13:58:18 +0900
','. I don't think this is too useful. Since access to Foo's names from within foo1() and foo2() still have to be explicit (for example, Foo.foo1), I don't mind being explicit about the function defi
83. Re: Windows CE (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Sat, 17 Feb 2001 14:07:07 +0900
Hi, I had experience with this when I tweaked Lua to control the number type completely. I don't think you'll like my solution but anyway it's there as a reference. (Item #2 in the email "Tightening
84. Lua Wiki digest - Feb 2001 (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 1 Mar 2001 13:39:13 +0900
- What's new this month - Content: * Lua Power Patches (new section) - little patches to Lua source that can be mixed and matched * technical notes - using Lua in real-time programs * notes on possib
85. vararg asymmetry (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Sun, 4 Mar 2001 19:56:47 +0900
Usually with Lua programming we discover something new and think, "wow I didn't realize that could be done". But sometimes the opposite occurs... I want an interface for packing/unpacking binary data
86. Re: vararg asymmetry (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Sun, 4 Mar 2001 21:48:48 +0900
"Wow, I didn't realize...". The recursion is unfortunate however since the stack is already being chewed up passing the list. I still think expand is useful enough to warrant an efficient implementat
87. regex question (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 8 Mar 2001 16:12:37 +0900
Hello, I'm trying to make a regex that splits a string of elements delimited by some character. The following doesn't work. I can think of other ways but I'd like to know why this doesn't work, and a
88. Re: regex question (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 8 Mar 2001 18:26:00 +0900
It would have been nice if strfind was defined as returning (start, end+1) instead of (start, end). I'm always having to add the +1 in my code anyway. Using (x, x-1) to mean zero-length is questionab
89. Re: new API easier to use? (was: Embedding Lua for use in a MUD.) (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Wed, 14 Mar 2001 10:40:05 +0900
Maybe the question should be: Should an integer divide stand in a way of a useful feature? Without writing an implementation and running a performance comparison on real apps, I think any statement a
90. Re: [ANNOUNCE] LTN 6 - Weak references: implementation and use in Lua (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 30 Mar 2001 14:30:45 +0900
[Umm... before my little message here I have a rant regarding certain posts to lua-l. If you find yourself posting a message that consists of 80% quoted text, 15% signature and pgp info, and 5% barel
91. Re: Missing pow function? (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 13 Apr 2001 11:44:03 +0900
Making sure mathlib is opened, try print(2^5). In this case it helps to read the manual before reading the source code. ;)
92. assert message linefeed (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 13 Apr 2001 20:57:10 +0900
I'd like to suggest that assert add a linefeed to the message string for us. In the case of disabled traceback, lack of a linefeed leaves a "hanging" command line. Try running this as a script: _ERRO
93. Re: assert message linefeed (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Mon, 16 Apr 2001 10:42:34 +0900
I see. From just reading the manual it sounded like _ERRORMESSAGE defaulted to _ALERT, but looking at the code clearly all 3 implementations of _ERRORMESSAGE append a linefeed to the message. thanks,
94. Re: lua in high performance apps (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Tue, 17 Apr 2001 00:03:47 +0900
I had every intention to, but came to the conclusion that it isn't practical without the support of an incremental garbage collector. The games that Lua has been used in are non-real time from what I
95. Re: lua in high performance apps (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Tue, 17 Apr 2001 12:05:30 +0900
generally Hi, Steve Dekorte's original post was specifically talking about updating every frame / every other frame. In an RTS with "background AI" like you mentioned, if the AI stalls for a frame or
96. Re: lua in high performance apps (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Tue, 17 Apr 2001 13:07:59 +0900
Hi Joshua, The term "real time" by itself is not very descriptive, and it probably means something different to each of us. What you are addressing is how to write Lua scripts that execute quickly, a
97. Re: Coroutine support in 4.1 / IPC mechanisms (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 20 Apr 2001 11:34:00 +0900
I was just thinking the other day I should start using ; in Lua. I keep omitting them when I go back to C...
98. Re: tinsert()'s default pos? (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 26 Apr 2001 17:54:10 +0900
Do we really want to encourage this kind if thing? Field n is supposed to be the list length, not the index of the tail of the list. While the current implementation may have this behavior, it's not
99. list iteration for statement (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 26 Apr 2001 18:15:30 +0900
I've been thinking it would be nice to have another form of the for loop on top of two we have now, for iterating lists: for val in list do print(val) end The equivalent in the Lua as it is now: for
100. Re: list iteration for statement (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 26 Apr 2001 19:07:27 +0900
already Sorry, I should have addressed these library functions in my post. Well, if foreach() is so great, why do we have a special for construct to do the same thing? Remember that the for command w

Search by Namazu v2.0.21