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: [ Luis: 514 ] [ Carvalho: 322 ]

Total 256 documents matching your query.

1. Re: PostgreSQL PL/Lua (score: 26)
Author: Bertrand Mansion <lua@...>
Date: Mon, 6 Jul 2015 16:17:33 +0200
I was the one who sent you an invitation but that was a few months ago and you did not accept it (probably missed it). So I just cancelled it today. I will send you another invitation. PL/Lua is on
2. Re: PostgreSQL PL/Lua (score: 26)
Author: Marc Balmer <marc@...>
Date: Mon, 6 Jul 2015 15:55:32 +0200
Luis, Am 17.11.13 um 16:30 schrieb Luis Carvalho: today I got a message from GitHub that an invitation to join PL/Lua was cancelled, I was not even aware I got that invitation.... :( I am still very
3. Re: PostgreSQL PL/Lua (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 17 Nov 2013 10:30:27 -0500
Hi Marc, You can do that, or I can add you as admin in PL/Lua. Cheers, Luis -- Computers are useless. They can only give you answers. -- Pablo Picasso -- Luis Carvalho (Kozure) lua -e 'print((("lexca
4. Re: PostgreSQL PL/Lua (score: 18)
Author: Marc Balmer <marc@...>
Date: Sun, 17 Nov 2013 10:30:58 +0100
Am 03.11.12 20:18, schrieb Luis Carvalho: During the last german PostgreSQL conference, I was asked if I could do something to ensure PL/Lua is always in a good shape and tested/adapted to the latest
5. Re: [ANN] Lua 5.3.0 (work1) now available (score: 18)
Author: Thijs Schreijer <thijs@...>
Date: Thu, 11 Jul 2013 19:07:30 +0000
I would prefer the regular `type ()` to return two values. First 'number', second either 'float' or 'integer'. (Sorry for top posting, on mobile) Thijs -- Original message -- From: David Demelier <de
6. Re: [ANN] Lua 5.3.0 (work1) now available (score: 18)
Author: David Demelier <demelier.david@...>
Date: Thu, 11 Jul 2013 14:08:30 +0200
2013/7/10 Hisham <h@hisham.hm>: I personally like much this idea too :-) -- Demelier David
7. Re: [ANN] Lua 5.3.0 (work1) now available (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Wed, 10 Jul 2013 23:21:27 -0400
That's a good idea, and it could also be merged with debug.numbits (which doesn't seem to be a debug function): math.type = function (x) if type(x) ~= "number" then return nil end local f = math.isfl
8. Re: [ANN] Lua 5.3.0 (work1) now available (score: 18)
Author: Hisham <h@...>
Date: Wed, 10 Jul 2013 17:50:08 -0300
-- Hisham http://hisham.hm/ Random suggestion: how about a single function math.type() that returns the number subtype, "float" or "integer"? At the risk of over-engineering, it also occurs to me tha
9. Re: [ANN] Lua 5.3.0 (work1) now available (score: 18)
Author: "Joseph Manning" <manning@...>
Date: Tue, 9 Jul 2013 16:23:25 +0100
Seconded! Rather than being bloat, to me it would *enhance* the simplicity of Lua to have this convenience and symmetry, rather than having to remember which one of 'isfloat' / 'isinteger' comes buil
10. Re: [ANN] Lua 5.3.0 (work1) now available (score: 18)
Author: David Demelier <demelier.david@...>
Date: Mon, 8 Jul 2013 09:01:21 +0200
2013/7/7 Luis Carvalho <lexcarvalho@gmail.com>: Since this is very short, I don't see any objections about integrating into the Lua core instead of writing it each time :-). Also there is math.isfloa
11. Re: [ANN] Lua 5.3.0 (work1) now available (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 7 Jul 2013 17:55:30 -0400
true, which is wrong; sorry for the noise and thanks for the heads-up! Better version: isinteger = function(x) return type(x) == "number" and not math.isfloat(x) end Cheers, Luis -- Computers are us
12. Re: [ANN] Lua 5.3.0 (work1) now available (score: 26)
Author: Coda Highland <chighland@...>
Date: Sun, 7 Jul 2013 14:48:50 -0700
= isinteger("x") What does this return? I don't have 5.3 handy at the moment. /s/ Adam
13. Re: [ANN] Lua 5.3.0 (work1) now available (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 7 Jul 2013 17:46:25 -0400
Lua 5.3.0 (work1) Copyright (C) 1994-2013 Lua.org, PUC-Rio true false false true Cheers, Luis -- Computers are useless. They can only give you answers. -- Pablo Picasso -- Luis Carvalho (Kozure) lua
14. Re: Empty? No. Array? No. Has? Yes. (score: 18)
Author: Andrew Starks <andrew.starks@...>
Date: Sun, 7 Jul 2013 15:16:31 -0500
You seem to carry some sort of prejudice against the two other solutions, trying to make them worse in light of your solution. To me, that's what makes this discussion "tired and frustrating": you pr
15. Re: Empty? No. Array? No. Has? Yes. (score: 18)
Author: Tim Hill <drtimhill@...>
Date: Sun, 7 Jul 2013 12:28:11 -0700
On Jul 7, 2013, at 8:54 AM, Luis Carvalho <lexcarvalho@gmail.com> wrote: You seem to carry some sort of prejudice against the two other solutions, trying to make them worse in light of your solution.
16. Re: Empty? No. Array? No. Has? Yes. (score: 18)
Author: Jay Carlson <nop@...>
Date: Sun, 7 Jul 2013 14:35:57 -0400
I've convinced myself that adding a value is a bad idea. Presence of a key is not very meaningful without the subject: the table. I don't see a good reason to allow this condition to be detached from
17. Re: Empty? No. Array? No. Has? Yes. (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 7 Jul 2013 11:54:39 -0400
<snip> It might. Let me just offer again the case of NA vs NULL in R, where two different values serve the two purposes in our discussion: missing value (NA) and deletion (NULL). I much prefer the la
18. Re: Empty? No. Array? No. Has? Yes. (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 7 Jul 2013 11:18:06 -0400
That's right. Moreover, I interpret a nil in a dynamic fixed-length array or in a fixed-key-set table as a missing value, similar to R's NA. For instance, in R functions like "mean" and "sort" have a
19. Re: Empty? No. Array? No. Has? Yes. (score: 18)
Author: Tim Hill <drtimhill@...>
Date: Sat, 6 Jul 2013 14:44:01 -0700
On Jul 6, 2013, at 2:20 PM, Luis Carvalho <lexcarvalho@gmail.com> wrote: Interesting* NaN would actually work as a potential 'empty' then for my intended use, particularly as they can tunnel through
20. Re: Empty? No. Array? No. Has? Yes. (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sat, 6 Jul 2013 17:20:27 -0400
So you don't have NaNs in SQL? If you do, how would you distinguish between "empty" NaN and "empty" NULL when you serialize? If you want more food for thought, check R's treatment of NA ("not availa

Search by Namazu v2.0.21