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.

241. Re: Globals in 5.0 Alpha (score: 1)
Author: John Belmonte <jvb@...>
Date: Sat, 17 Aug 2002 19:39:57 +0900
Here is my stab at modules in 5.0 using the new globals control. The Lua team did a good job of reducing the complexity of the original globals plan, and yet the result is still very powerful. There
242. Re: Globals in 5.0 Alpha (score: 1)
Author: John Belmonte <jvb@...>
Date: Sun, 18 Aug 2002 11:24:22 +0900
namespace mynamespace function foo() ... end endnamespace Where "namespace" and "endnamespace" are functions that perform the swapping and storing of the functions and the global environment... I'll
243. Re: Globals in 5.0 Alpha (score: 1)
Author: John Belmonte <jvb@...>
Date: Tue, 20 Aug 2002 01:00:48 +0900
local f = loadfile(filename) local new_namespace = {...} setglobals(f, new_namespace) f() -- run the chunk I like this form because modules can be written without regard to a namespace, Python-style.
244. Re: virtual machine [was Re: [ANNOUNCE] Lua 5.0 (alpha) now available] (score: 1)
Author: John Belmonte <jvb@...>
Date: Tue, 20 Aug 2002 02:41:40 +0900
The main disadvantage is that the code generator is much more complex. Has the code generation become slower? -- http:// i . /
245. Re: [ANNOUNCE] Lua 5.0 (alpha) now available (score: 1)
Author: John Belmonte <jvb@...>
Date: Thu, 22 Aug 2002 08:35:58 +0900
local t = {1,2} for i=1,2^20 do local s=0 for k in list(t) do s=s+k end end I'm not sure what you're saying. Both your test and my original one show list and ipair as having the same time performance
246. about linking to the lua-l archive (score: 1)
Author: John Belmonte <jvb@...>
Date: Fri, 23 Aug 2002 00:16:15 +0900
Try not to link to lua-l archive messages of the current month, because at the end of every month the archive is regenerated to match the latest de-spammed archive, likely shifting the message number
247. Re: Modifying a Closure in 5.0 Alpha (score: 1)
Author: John Belmonte <jvb@...>
Date: Fri, 23 Aug 2002 10:58:16 +0900
Right, unfortunately I need to add (or replace, if I added a nil, as you say) the values on an existing function. I'm not within this function, -John -- http:// i . /
248. Re: GC "survey" (score: 1)
Author: John Belmonte <jvb@...>
Date: Sat, 24 Aug 2002 12:25:04 +0900
I have little interest in a generational collector. It's going to add complexity for uncertain return. It won't help graphical applications that have to meet a hard video frame deadline (such as when
249. Re: Globals in 5.0 Alpha (score: 1)
Author: John Belmonte <jvb@...>
Date: Fri, 30 Aug 2002 02:07:22 +0900
I don't agree that it's obscure. Anyway, now that Lua has banished tag methods, inspired from your Sol work, we have room for a little new complexity :-). Especially when it's useful. 1) You no longe
250. Re: binary files (score: 1)
Author: John Belmonte <jvb@...>
Date: Tue, 10 Sep 2002 09:59:35 +0900
I just noticed there aren't any functions for reading/writting binary files in the lua standard library, I would like to suggest the addition of them. Something like: fh:readb( "pattern", [num] ) fh:
251. Re: lua-l archive at lua-users.org (score: 1)
Author: John Belmonte <jvb@...>
Date: Wed, 02 Oct 2002 11:06:47 -0500
The page http://lua-users.org/lists/lua-l/ is showing only one line, There was an anomaly with the monthly build (and for some reason I ignored the cron error report). The archive is up again, search
252. Re: Lua 5.0 alpha documentation (score: 1)
Author: John Belmonte <jvb@...>
Date: Fri, 04 Oct 2002 11:20:11 -0500
As always, it is a pleasant reading, the document is clear and well written. A bit terse in some areas though, some more examples in the library section would help... I don't see it as a end user doc
253. Re: out of memory (score: 1)
Author: John Belmonte <jvb@...>
Date: Sat, 05 Oct 2002 14:56:02 -0500
Enrico Colombini wrote: function Flame() if some_condition then say[[ you are in a vast room whose other end is lost in the distance;\n the room is crammed full of Lua programmers hotly debating a mi
254. Re: out of memory (score: 1)
Author: John Belmonte <jvb@...>
Date: Sun, 06 Oct 2002 08:18:04 -0500
Yes, of course, but that's just a way to program around the 'long constant string' issue :-) The same problem arises when defining strings that must be aligned in some way. For example, while program
255. Re: object methods as first class values (score: 1)
Author: John Belmonte <jvb@...>
Date: Thu, 28 Nov 2002 11:25:08 -0600
that's not valid, but could be written as: ok.onClick.add( app.exit, app ) the first sintax is more natural since you already do app:exit() to call the method. I'm wondering if 'app:exit' could be ex
256. Re: lua for unicode (score: 1)
Author: John Belmonte <jvb@...>
Date: Sat, 30 Nov 2002 10:54:00 -0600
Björn De Meyer wrote: Exactly. Unicode doesn't even support the full range of (Chinese) Kanji characters used in Japanese. Unicode was in the beginning an evil microsoft invention, in which they trie
257. Re: lua for unicode (score: 1)
Author: John Belmonte <jvb@...>
Date: Sat, 30 Nov 2002 12:14:40 -0600
Björn De Meyer wrote: The other more important problem wich I mention here is CJK unification. If I am not mistaken, even in Unicode of these days, many Chinese, Japanese and Korean ideographs have n
258. Re: Wiki page with "Lua AddOns" broken? (score: 1)
Author: John Belmonte <jvb@...>
Date: Sat, 30 Nov 2002 12:42:49 -0600
The wiki was wiped out again by a mean sourceforge user. I restored the wiki from backup. Changes in the last 12 hours may have been lost. Should that cause anyone grief, Martin Spernau may have a fr
259. Re: Wiki page with "Lua AddOns" broken? (score: 1)
Author: John Belmonte <jvb@...>
Date: Tue, 03 Dec 2002 12:18:15 -0500
Oops. That should be fixed now. Thanks, -John -- http:// if . /
260. lua-users wiki RSS feed (score: 1)
Author: John Belmonte <jvb@...>
Date: Mon, 13 Jan 2003 00:29:33 -0500
An RSS feed for recent changes at the lua-users wiki is now available. This lets you monitor wiki changes remotely. The RSS link is at http://lua-users.org/wiki/RecentChanges. For RSS news reader sof

Search by Namazu v2.0.21