lua-users home
lua-l archive

Search lua-l

This index contains 143,615 documents and 1,774,615 keywords. Last update on 2023-03-09 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ fixed: 3894 ] [ point: 15188 ]

Total 640 documents matching your query.

201. Re: setfenv/getfenv (score: 15)
Author: Mark Hamburg <mark@...>
Date: Tue, 12 Jan 2010 22:10:29 -0800
Let's look at the common uses of setfenv and getfenv. * Sandboxing untrusted code, * Running a single piece of code in multiple environments. Thank you to Leo for pointing out the PiL example (which
202. [ANN] vstruct 1.1 beta 1: now with bitpack support (score: 15)
Author: Ben Kelly <ranavin@...>
Date: Sat, 19 Dec 2009 00:45:00 -0500
It's been a while, but vstruct isn't dead, only sleeping - while I rewrite the parser from the ground up, and then rewrite pack() and unpack() twice. And now it awakens, with the first beta of 1.1 re
203. Re: Announce: Darwin module system (score: 15)
Author: Jerome Vuarand <jerome.vuarand@...>
Date: Tue, 8 Sep 2009 11:59:01 +0200
2009/9/7 Jim Jennings <jennings.durham.nc+lua@gmail.com>: That last point is not accurate. Modules that use the "module" function don't have to use a fixed name when calling it. You can simply forwar
204. [ANN] VStruct, the versatile struct library - 1.0 beta 1 (score: 15)
Author: Ben Kelly <ranavin@...>
Date: Sun, 25 May 2008 18:01:37 -0400
What is it? A library for packing and unpacking binary data, not unlike lhf's lpack or Roberto's struct library. This is the beta 1 release; feedback, bug reports, patches, criticism, proofreading, a
205. Re: Pluto library major fixup (score: 15)
Author: "Duncan Cross" <duncan.cross@...>
Date: Mon, 14 Jan 2008 16:06:27 +0000
Hi Ivko, I'd be very interested in seeing this. In my view Pluto adds a lot to Lua, I'm surprised it isn't brought up more frequently. The prospect of a version that has been tried and tested with th
206. Re: Tip for using a Luasocket's http.require for cranky webservers... (score: 15)
Author: gary ng <garyng2000@...>
Date: Sat, 20 Oct 2007 16:50:01 -0700 (PDT)
Share you pain the it is not as easy as that. A case in point, there are many el cheapo routers(or things like that) sold in the millions where HTTP is used as an admin interface. They serve they int
207. Re: luaL_Buffer and 'exception safety' (score: 15)
Author: Mike Pall <mikelu-0707@...>
Date: Fri, 20 Jul 2007 14:01:00 +0200
Hi, The luaL_Buffer mechanism uses a fixed size buffer on the C stack (LUAL_BUFFERSIZE = BUFSIZ = usually 4K or 8K) and pushes partial Lua strings on the Lua stack if the buffer overflows. No memory
208. Re: How to handle long long number? (score: 15)
Author: Asko Kauppi <askok@...>
Date: Thu, 24 Aug 2006 10:49:43 +0300
Apply the patch, and compile with -DLUA_NUMBER_MODE=22. You'll get a Lua executable behaving quite normally, but having also full int64 (signed) precision. API is the same as regular Lua, so extensio
209. Re: Constant folding (score: 15)
Author: Mike Pall <mikelu-0603@...>
Date: Tue, 14 Mar 2006 20:18:11 +0100
Hi, It would violate the language semantics to optimize this at compile time. '+' is left-associative in Lua. If 'a' is a table or userdata with an __add metamethod, it could completely change the ex
210. Re: More about packaging (fwd) (score: 15)
Author: Edgar Toernig <froese@...>
Date: Mon, 7 Jun 2004 04:10:40 +0200
I played around with that already. My attempt was like this: lua.h defines a macro LUA_MODULE(module_name, start_func). Every module (a static or dynamically loaded library) has one instance of this
211. RE: Lua 5.0.2 now official (score: 15)
Author: "Mark Incley" <Mark.Incley@...>
Date: Thu, 18 Mar 2004 10:23:36 +0100
Great stuff! I've also noticed that the file dates in tolua-5.0.tar.gz now read 17/03/2004 - has the the official toLua 5.0 been silently released? :) Cheers, Mark. Lua 5.0.2 is now officially the cu
212. Lua 5.0.2 now official (score: 15)
Author: Luiz Henrique de Figueiredo <lhf@...>
Date: Wed, 17 Mar 2004 18:10:21 -0300
Lua 5.0.2 is now officially the current Lua version and it is now available for downloading at http://www.lua.org/ftp/lua-5.0.2.tar.gz This tarball is different from the one pre-released two weeks ag
213. Re: What does metamethod equality mean? (long) (Was: Re: Need for help) (score: 15)
Author: mnicolet <mnicolet@...>
Date: Sat, 22 Feb 2003 01:10:22 -0300
Thank you again. I will study your response carefully, but in the meanwhile ... 1) I had seen lots of examples from the lua´s authors where they express some idea in lua. It seems to me you have comp
214. What does metamethod equality mean? (long) (Was: Re: Need for help) (score: 15)
Author: RLake@...
Date: Thu, 20 Feb 2003 19:45:30 -0500
mnicolet escribió: Sure. The point of the page is to show how to do it, but it could easily be implemented in C. If I have time, I'll hack something together. I think your suggestion for __lt is a re
215. Re: Lua and adding types (score: 15)
Author: "Andrew Teirney" <andrew@...>
Date: Thu, 6 Feb 2003 02:31:22 +1300
Hi there, Shortly after i had sent the message i was thinking about making the base number type an integer, and just implementing the "decimal" values as a user type, for the purposes of the system i
216. EPOC port updated (score: 15)
Author: Reuben Thomas <rrt1001@...>
Date: Sun, 7 Jan 2001 00:41:00 +0000 (GMT)
An update of the Lua EPOC port (for Psion PDAs and the like) is now available on my web page (http://sc3d.org/rrt/, and choose "Lua" from the menu). A couple of us have used it quite a lot, and it se
217. Re: Can a Lua implementation use 63-bit integers or even "big integers"? (score: 13)
Author: Philippe Verdy <verdyp@...>
Date: Thu, 9 Sep 2021 16:28:00 +0200
Le mar. 31 août 2021 à 22:50, Coda Highland <chighland@gmail.com> a écrit : On Tue, Aug 31, 2021 at 1:44 PM Egor Skriptunoff <egor.skriptunoff@gmail.com> wrote: On Sun, Aug 29, 2021 at 6:54 PM Soni "
218. Re: Question on get/setmetatable() (score: 13)
Author: Philippe Verdy <verdyp@...>
Date: Sat, 23 May 2020 08:40:14 +0200
Nut now Lua has chosen to use "<" and ">" for its extensions, a bad choice in my view as it reuses the tokens reserved for binary operators (so these extensions will have limited use). We've already
219. Re: ?lua table?Different hashes are chained together?is it bug? (score: 13)
Author: Philippe Verdy <verdyp@...>
Date: Thu, 16 Apr 2020 20:58:32 +0200
There are however good strategies that are intended to limit the volume of rehashing: For example, instead of using a single hash table with a fixed size, you may want to use a set of subtables with
220. Re: Suggestion: Deprecate "Attempt to index a nil value" error; instead, return nil or create table (score: 13)
Author: Coda Highland <chighland@...>
Date: Sat, 7 Mar 2020 00:29:56 -0600
On Fri, Mar 6, 2020 at 11:34 PM Diego Nehab <diego@impa.br> wrote: I do see the potential issue with the way the methods are called. With my suggested behavior, it only comes up if you have mixed ass

Search by Namazu v2.0.21