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: [ attempt: 3298 ] [ to (Too many documents hit. Ignored) ] [ index: 6969 ] [ a (Too many documents hit. Ignored) ] [ nil: 12751 ]

Total 504 documents matching your query.

141. Re: lqt: Qt bindings update (score: 47)
Author: Anders Backman <andersb@...>
Date: Wed, 21 Jan 2009 19:43:30 +0100
Ok a few more comments: Im starting to test to export a bunch of classes, and it works for quite a lot of the code, problems and ideas are listed with # below: This would double the number of constru
142. Re: lqt: Qt bindings update (score: 47)
Author: Anders Backman <andersb@...>
Date: Wed, 21 Jan 2009 19:44:00 +0100
Ok a few more comments: Im starting to test to export a bunch of classes, and it works for quite a lot of the code, problems and ideas are listed with # below: This would double the number of constru
143. Re: A proposal for the confusing pseudo table ? array concept (score: 45)
Author: "Soni \"They/Them\" L." <fakedme@...>
Date: Fri, 19 Jan 2018 22:58:40 -0200
But wouldn't x.foo = 2 on a sequenced table also cause undefined? I feel like you think the table module is only defined for pure sequences. It's not. It's defined for sequences. That is, tables with
144. Problems with LuaSQLite3 on windows (score: 45)
Author: Christian Bielert <cib123@...>
Date: Wed, 27 Mar 2013 01:30:36 +0100
I would like to use sqlite3 with lua. Luckily, there exist a wrapper library. As neither luadist nor luarocks seem to work out of the box with msys(or if they do, both their luasql packages are broke
145. Re: (no subject) (score: 44)
Author: Luiz Henrique de Figueiredo <lhf@...>
Date: Tue, 24 Apr 2007 14:11:15 -0300
The most relevant (and recent) thread about this starts at http://lua-users.org/lists/lua-l/2006-11/msg00636.html In particular, see these answers: http://lua-users.org/lists/lua-l/2006-11/msg00639.
146. Re: Bug report in length of simple table (score: 43)
Author: Andrew Starks <andrew@...>
Date: Wed, 14 Sep 2016 13:28:30 -0500
No matter what, there seems to be a great need for a definition that is: 1: concise (but not overly!) 2: understandable by laypeople 3: not confusing to people with math or CSCI backgrounds[1] Here i
147. Re: lua source as config file (score: 43)
Author: Doug Rogers <rogers@...>
Date: Thu, 08 Feb 2007 17:46:30 -0500
I like this. The only drawback is that in operational code you will have to catch any errors raised by loadfile(). It also makes config() unusable after such an error... It looks like setfenv() gets
148. Re: Lua life after integers (score: 42)
Author: Andrew Starks <andrew.starks@...>
Date: Wed, 10 Dec 2014 11:44:15 -0600
This is a good point. If the intent is to override __ipairs, then it *should* return an __ipairs-like result. Integers, preferably starting at one and preferably values that are not nil. Hmm. I see y
149. Re: Lua life after integers (score: 42)
Author: "Thiago L." <fakedme@...>
Date: Wed, 10 Dec 2014 15:41:28 -0200
On 10/12/14 03:32 PM, Sean Conner wrote: It was thus said that the Great Andrew Starks once stated: On Wed, Dec 10, 2014 at 8:52 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote: 2014-12-10 16:44 GMT+02
150. Re: A proposal for the confusing pseudo table ? array concept (score: 41)
Author: Elias Hogstvedt <eliashogstvedt@...>
Date: Sat, 20 Jan 2018 01:51:30 +0100
The length of the array should be dynamic and not fixed size. But wouldn't x.foo = 2 on a sequenced table also cause undefined? On Sat, Jan 20, 2018 at 1:39 AM, Advert Slaxxor <adv3r7@gmail.com> wrot
151. Re: A proposal for the confusing pseudo table ? array concept (score: 41)
Author: Advert Slaxxor <adv3r7@...>
Date: Sat, 20 Jan 2018 00:39:44 +0000
This is one reason why this'd require you to know if it's an array or table: x = array(10) x.foo = 2 -- attempt to index a array value (global 'x') n = 20 x[n] = 8 -- attempt to access array index 20
152. Re: Installing Orbit and its requirements (score: 41)
Author: Ryan Pusztai <rpusztai@...>
Date: Sun, 27 Sep 2015 11:45:17 -0400
Hi, I don't *ever* mess with Xavante directly like that. I use the launcher (wsapi or orbit) installed during the wsapi-xavante rock. Just supply '.' for current working directory, or where ever your
153. Re: Installing Orbit and its requirements (score: 41)
Author: luciano de souza <luchyanus@...>
Date: Sat, 26 Sep 2015 13:49:39 -0300
Reading the Xavante manual, I found a suggestion of a configuration file: --server.lua local hfile = require "xavante.filehandler" local hcgi = require "xavante.cgiluahandler" local hredir = require
154. Sandboxing (score: 41)
Author: Pierre-Yves Gérardy <pygy79@...>
Date: Fri, 20 Jan 2012 11:30:37 +0100
Hello, I have some questions regarding sandboxing in Lua 5.1. Besides the functions tagged "SAFE" on the Wiki (http://lua-users.org/wiki/SandBoxes), I would like to provide sanitized versions of `get
155. Re: Cleaning up specific lua scripts (score: 41)
Author: "bravefly" <bravefly@...>
Date: Thu, 25 Mar 2010 20:06:49 +0800
? local protectMT = {__newindex=error} local levelMT = {__index=_G} local MTindex local function protectTable(tbl,index) for k,v in pairs(tbl) do if type(v)==table and getmetatable(v) ~= protectMT th
156. From: "John Hind" <john.hind@...> (score: 41)
Author: "John Hind" <john.hind@zen.co.uk>
Date: Tue, 24 Apr 2007 17:40:05 +0100
X = trunk.branch.leaf<o:p></o:p> <o:p> </o:p> If &#8220;leaf&#8221; is nil, &#8220;X&#8221; will be set to nil, but if &#8220;branch&#8221; or &#8220;trunk&#8221; is nil, this is an error &#8220;atte
157. Re: Sailor - Representing datetime values in the model sintax (score: 40)
Author: Etiene Dalcol <dalcol@...>
Date: Mon, 2 Mar 2015 21:54:19 +0100
Hello, Sorry for taking long to answer! I have tested your code on my end with no issues. And I can't seem to find the problem either. This might be my fault, however, since I updated the documentati
158. Re: Sailor - Representing datetime values in the model sintax (score: 40)
Author: luciano de souza <luchyanus@...>
Date: Sat, 28 Feb 2015 13:11:43 -0300
After the last message, I did some corrections. Sorry for the basic errors. Actually, it's always the same at the begining. As default, the screen reader does not read the ponctuations. If this optio
159. Re: Struggling with _ENV in Lua 5.2 (score: 40)
Author: Daurnimator <quae@...>
Date: Fri, 11 Nov 2011 18:23:33 +1100
2011/11/11 Procházka Luká? Ing. - Pontex s. r. o. <LPr@pontex.cz>: In the interpreter each line is a chunk, i.e. locals only last for the line they are on.
160. Struggling with _ENV in Lua 5.2 (score: 40)
Author: Procházka Luká? Ing. - Pontex s. r. o. <LPr@...>
Date: Fri, 11 Nov 2011 08:13:23 +0100
Hello, I have the following problem with Lua 5.2 build on Windows, MSVC 2008: -- Lua 5.2.0 (beta) Copyright (C) 1994-2011 Lua.org, PUC-Rio local t = {x=10,y=20} local f1 do local _ENV=t function f1()

Search by Namazu v2.0.21