Skip to content
#

Lua

lua logo

Lua is a programming language written in C that emphasizes performance. It has automatic memory management and is often used to extend software written in other languages.

Here are 5,449 public repositories matching this topic...

rh101
rh101 commented Oct 14, 2019

There are UIWidget class functions that could be better named to indicate their true purpose and functionality.

For instance:

void Widget::addTouchEventListener(const ccWidgetTouchCallback& callback)
{
    this->_touchEventCallback = callback;
}

void Widget::addClickEventListener(const ccWidgetClickCallback &callback)
{
    this->_clickEventListener = callback;
}

void Widget::
mokshchaudhary
mokshchaudhary commented Oct 17, 2019

Right now all the icons have an external link which make them:

  • Prone to change/deletion
  • Different size,format and resolution
  • Various images are transferred over HTTP instead of HTTPS (which might become a problem in future as more and more browser start to block HTTP on HTTPS sites).
  • External server might under-perform

My suggestion is to make a folder in the repository which has

txntxn
txntxn commented Apr 10, 2019

The documentation for search_k is inconsistent.

In some places, it says: "search_k nodes which defaults to n_trees * n if not provided"

In other places, it says: "If search_k is not provided, it will default to n * n_trees * D where n is the number of approximate nearest neighbors and D is a constant depending on the metric."

Which is it?

And if it is D, could you enumerate the dif

cwrseck
cwrseck commented Jul 31, 2019

Missing feature

Difficulty in building easily usable local documentation; obscure Mkdocs setting.

Justification

I work offline a lot, and therefore configure the (excellent) NodeMCU docs
for local use; there are minor problems with Mkdocs versions (see Issue 2645)
but setting up the correct local page linking has been an unregenerate pig,
requiring a great deal of messing around wi

Wuzzy2
Wuzzy2 commented Jan 6, 2019
Issue type
  • Bug or legacy issue (not sure)
Minetest version

0.4.17.1

Summary

The keybindings menu has that weird warning at the top:

(If this menu screws up, remove stuff from minetest.conf)

Is this warning still relevant? I think this warning has been in Minetest since ages, yet it's still there.

If the warning is still relevant, please write down (in this

guyharris
guyharris commented Apr 5, 2019

Somebody reported a "failed to set hardware filter to promiscuous mode)" error; that comes from a PacketSetHwFilter() call, which ultimately does a DeviceIoControl() for NDIS adapters.

libpcap currently doesn't call GetLastError() and report the error code as part of the error if if PacketSetHwFilter() fails. That might provide more useful debugging information.

jairodyne
jairodyne commented Dec 25, 2019

Information
conky 1.10.8 compiled Wed Feb 28 17:11:42 UTC 2018 for Linux 4.4.0-101-generic x86_64

Conky is writing in /var/log/syslog every second ! How to stop this, please ?!
I believe that it will be very desirable to stop writing logs. If needed, you can turn it on.
A single config line like "Enable log=false" or "Enable log=true" it's enough.
Thanks.

madmaxoft
madmaxoft commented Aug 8, 2019

When building, the tolua generator outputs the following warning:

CUSTOMBUILD : ** tolua warning : No support for operator =, ignoring.

Fix the cause of the warning (trying to export operator = to Lua).
Ideally, add an output to the tolua warning so that it's easier to identify the offending C++ code.

f2d
f2d commented Jun 19, 2017

With this code in my server blocks (included as a snippet):

if ($time_iso8601 ~ "^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})") {}

access_log /var/log/nginx/$server_log_prefix.access.$year-$month-$day.log;

For some requests (probably something automated, probably invalid, maybe even malformed) nginx ends up with just this filename: ".access.--.log"

Depending on whether it

adnzzzzZ
adnzzzzZ commented Feb 13, 2018

Introduction

In this article I'll talk about some "best coding practices" and how they apply or not to what we're doing in this series. If you followed along until now and did most of the exercises (especially the ones marked as content) then you've probably encountered some possibly questionable decisions in terms of coding practices: huge if/elseif chains, global variables, huge functions,

tomekw
tomekw commented Nov 27, 2019

I didn't find *BSD systems on a supported platforms list. I also couldn't find what's the reason for this.

If it's only for technical reasons and there would be someone to guide me through this I would be more than happy to try to contribute and work on supporting *BSD platforms.

ryanford-frontend
ryanford-frontend commented Nov 16, 2019

As stated, lapis app with a cqueues server doesn't seem to log SQL queries with default or explicit logging instructions. Using Postgres 10.10 on (l)ubuntu, Lapis 1.7.0 from luarocks. Server and request logging works as expected.

Korablev77
Korablev77 commented Dec 17, 2019

box.info:memory() displays whole content of box.info, meanwhile box.info:vinyl() and box.info:gc() do the same as box.info.vinyl() and box.info.gc() correspondingly:

tarantool> box.info.gc()
---
- signature: 0
  checkpoint_is_in_progress: false
  checkpoints:
  - references: []
    vclock: {}
    signature: 0
  - references: []
    vclock: {1: 5}
    signature: 5
  v
strait
strait commented Oct 23, 2019

For example:

new = for sub in list
    for x in sub
        trans x

At first glace, one sees three possibilities. The documented behavior is that this results in an empty list, since the inner loop is not explicitly returned. However, since items are expected from the outer loop, maybe deference is made to the inner loop returning each value, as in how nested loops are implemented wh

Created by Roberto Ierusalimschy, Waldemar Celes, and Luiz Henrique de Figueiredo

Released 1993

Organization
lua
Website
www.lua.org
Wikipedia
Wikipedia

Related Topics

language bot game
You can’t perform that action at this time.