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.

321. Re: Help function for lua (score: 10)
Author: Coda Highland <chighland@...>
Date: Sat, 18 Jan 2020 15:52:41 -0600
On Sat, Jan 18, 2020 at 9:03 AM Viacheslav Usov <via.usov@gmail.com> wrote: On Sat, Jan 18, 2020 at 2:37 PM bil til <flyer31@googlemail.com> wrote: > Which program languages do you mean, if you cite
322. Re: string.pack with bit resolution (score: 10)
Author: Philippe Verdy <verdy_p@...>
Date: Sun, 20 Oct 2019 18:13:46 +0200
"as typically tables": you said it yourself, you want to be able to serialize arbitrary data, as efficiently as possible. This is not limited to just discrete numbers (and their subtypes like boolean
323. Re: string.pack with bit resolution (score: 10)
Author: Philippe Verdy <verdy_p@...>
Date: Sun, 20 Oct 2019 15:57:14 +0200
Le dim. 20 oct. 2019 à 15:13, bil til <flyer31@googlemail.com> a écrit : Hi Philippe, thank you for your answer. But maybe there are some misunderstandings: - Long double and int128 is all included..
324. Re: string.pack with bit resolution (score: 10)
Author: Philippe Verdy <verdy_p@...>
Date: Sun, 20 Oct 2019 13:39:21 +0200
- no 128-bit integers (including IPv6 addresses or UUIDs)? - no 80-bit long doubles (native on x86 FPU) ? - not all IEEE number types are supported ? - no native vector formats (AVX/SSE/GPUs...) incl
325. LuaRocks query: LuaSec compiler warnings... (score: 10)
Author: sur-behoffski <sur_behoffski@...>
Date: Wed, 16 Oct 2019 14:10:47 +1030
G'day, I'm not authorised to use a more direct path, so I'm trying the general lua-l list to raise an issue regarding compiler warnings in the rock luasec: I get a slew of warnings when installing lu
326. Re: [FUN] CodeGolf: solve equation x^x=C (score: 10)
Author: Philippe Verdy <verdy_p@...>
Date: Thu, 27 Jun 2019 19:53:59 +0200
My exposed solution may have applications outside Lua itself: - it just depends on a integer log2 function which is easily implemented by using bits directly from the exponent part of the "double", u
327. Re: So I had this weird idea to solve the indexing problem (score: 10)
Author: Philippe Verdy <verdy_p@...>
Date: Mon, 10 Jun 2019 12:36:17 +0200
Nothing prevents an implementation to use a balanced tree approach instead of a hash. Both approaches can be used simultaneously, depending on statistics factors, notably: - the fill factor density f
328. Re: So I had this weird idea to solve the indexing problem (score: 10)
Author: Egor Skriptunoff <egor.skriptunoff@...>
Date: Sun, 9 Jun 2019 17:02:55 +0300
On Sun, Jun 9, 2019 at 2:06 PM Soni "They/Them" L. wrote: hi, so, a lot of ppl won't use Lua because Lua uses 1-based indexing. well, other languages use 0-based indexing. but, what if we had neither
329. Re: Garbage collection durint pcall. (score: 10)
Author: Francisco Olarte <folarte@...>
Date: Mon, 3 Jun 2019 18:36:09 +0200
This has nothing to do with CPU registers, reusing them is easy when you can load them again from RAM, or when they are just used for pointers or counters whose semantics are extremely easy to follow
330. Re: Garbage collection durint pcall. (score: 10)
Author: Francisco Olarte <folarte@...>
Date: Sun, 2 Jun 2019 11:17:31 +0200
Gé: Disregarding other languages, how does the C# language define object liveness / collectability / finalizability ? This may be totally kosher given the right definition. An object is dead whenever
331. Re: Garbage collection durint pcall. (score: 10)
Author: Gé Weijers <ge@...>
Date: Sat, 1 Jun 2019 15:34:19 -0700
There's a specific idiom that this kind of optimization would break, which is when one fetches a key or value from a weak table into a local variable purely to ensure it does not get collected durin
332. Re: Debugging memory leaks (score: 10)
Author: "szbnwer@..." <szbnwer@...>
Date: Mon, 20 May 2019 09:01:27 +0000
hi all! :) (@spectators: sorry for continuing the off-topic, im using the dummy variant of gmail, thats hard to be fine-tuned...) @Lorenzo: Timm S. Müller (one of the developers of tekui, probably th
333. Re: Unable to download patches from http://lua-users.org/wiki/LuaPowerPatches (score: 10)
Author: Gabriel Bertilson <arboreous.philologist@...>
Date: Mon, 13 May 2019 11:58:59 -0500
If you are interested in particular ones, here are the "advanced readline" and "named library" patches for Lua 5.3.1 and Lua 5.3.4 respectively, originally downloaded from the lua-users wiki. ? Gabri
334. Re: Problem trying to download a webpage (score: 10)
Author: Dirk Laurie <dirk.laurie@...>
Date: Mon, 25 Mar 2019 20:54:17 +0200
I installed it from LuaRocks, which normally takes care of system dependencies. It should install on Windows or Unix platforms with just luarocks install lua-curl external_dependencies = { platforms
335. Re: Problem trying to download a webpage (score: 10)
Author: Geoff Smith <spammealot1@...>
Date: Mon, 25 Mar 2019 17:15:18 +0000
hi Thanks for the response, I would be happy to use whatever works to download the page i need. However I have never used lua curl before, so I am unsure how to get that working. Could you point me a
336. Re: [NoW] Arithmetic caveat in Lua 5.3 (score: 10)
Author: Dirk Laurie <dirk.laurie@...>
Date: Thu, 10 Jan 2019 07:48:08 +0200
Op Wo. 9 Jan. 2019 om 22:37 het Egor Skriptunoff <egor.skriptunoff@gmail.com> geskryf: When I was taught Fortran II in 1965, our very first programming assignment was to find the fixed point of a fun
337. Re: [ANN] LuaRocks 3.0.3 (score: 10)
Author: Andriy Kornatskyy <andriy.kornatskyy@...>
Date: Tue, 2 Oct 2018 07:40:57 +0000
Thanks, Hisham. Just checked with `master`. It works. Thanks. Andriy Kornatskyy Andriy, Thanks for sharing the error message and file locations. I pushed a further fix to LuaRocks `master` that shoul
338. Re: [ANN] LuaRocks 3.0.3 (score: 10)
Author: Hisham <h@...>
Date: Mon, 1 Oct 2018 14:28:20 -0300
Andriy, Thanks for sharing the error message and file locations. I pushed a further fix to LuaRocks `master` that should make it pick up that path correctly. It will arrive in the next LuaRocks point
339. Re: new thought experiment: what would you add to Lua ? (score: 10)
Author: Lorenzo Donati <lorenzodonatibz@...>
Date: Sat, 15 Sep 2018 10:47:34 +0200
I don't find it so problematic, but I agree that newbies could trip on that. Adding that specific feature could be against the minimalistic nature of Lua (too much restricted a use case). But maybe a
340. Re: Issues: Character 160 - Non-breaking space + Additional Issue with UTF-8 (score: 10)
Author: Alysson Cunha <alyssonrpg@...>
Date: Tue, 10 Jul 2018 19:29:50 -0300
Errata 2: that flag occupies 14 bytes in UTF-16.. In UTF-8, the flag occupies more.. If my memory is correct, 28 bytes Em Ter, 10 de jul de 2018 19:23, Alysson Cunha <alyssonrpg@gmail.com> escreveu:

Search by Namazu v2.0.21