code logs -> 2021 -> Mon, 04 Jan 2021< code.20210103.log - code.20210105.log >
--- Log opened Mon Jan 04 00:00:52 2021
00:02 bluefoxx [fuzzylombax@Nightstar-gmbj85.vs.shawcable.net] has quit [Connection closed]
00:19 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
00:29 bluefoxx [fuzzylombax@Nightstar-gmbj85.vs.shawcable.net] has joined #code
01:03 Pink [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
01:42 mac [macdjord@Nightstar-re5.7if.45.45.IP] has joined #code
01:42 mode/#code [+o mac] by ChanServ
01:44 macdjord [macdjord@Nightstar-re5.7if.45.45.IP] has quit [Ping timeout: 121 seconds]
01:48 Pink [uid208117@Nightstar-h2b233.irccloud.com] has joined #code
04:29 Degi [Degi@Nightstar-okggdu.dyn.telefonica.de] has joined #code
04:31 NSGuest9091 [Degi@Nightstar-ah4qv4.pool.telefonica.de] has quit [Operation timed out]
04:33 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has joined #code
04:33 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
04:43 Pink [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
06:07 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
06:07 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
06:07 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
08:28 Kindamoody is now known as Kindamoody|afk
08:37 catalyst_ [catalyst@Nightstar-h1p1kn.dab.02.net] has joined #code
08:40 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
10:39 catalyst_ is now known as catalyst
11:17 catalyst [catalyst@Nightstar-h1p1kn.dab.02.net] has quit [The TLS connection was non-properly terminated.]
12:32 Kindamoody|afk is now known as Kindamoody
12:56 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
14:47 celticminstrel [celticminst@Nightstar-98j9a3.dsl.bell.ca] has joined #code
14:47 mode/#code [+o celticminstrel] by ChanServ
14:58 celticminstrel [celticminst@Nightstar-98j9a3.dsl.bell.ca] has left #code []
14:59 celticminstrel [celticminst@Nightstar-98j9a3.dsl.bell.ca] has joined #code
14:59 mode/#code [+o celticminstrel] by ChanServ
15:25 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:25 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:49 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
17:40 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection reset by peer]
17:40 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
18:57
<~Vornicus>
uch. Okay I need another pair of eyes on this
19:04
<~Vornicus>
I'm doing work on a Lua library; it's organized as a central file that loads (automatically) several sub modules. The original author set it up so that in order for the library to work, you have to mess with package.path so that the directory where the main file is is directly included. I've offered up a patch that makes it so this is unnecessary - being able to address the main file would now be sufficient.
19:04 * Tamber applies googly eyes. There, much better.
19:04
<~Vornicus>
to this the maintainer responded
19:04
<~Vornicus>
I don't see the point of the module load fix/trick. I consider Lua modules as an abstraction which associates a module path (not a file path) to the module data. If the use case is about moving the module files, there is package.path. If the use case is disambiguation of two modules with the same path, this conflicts with the definition of a module (e.g. two C modules with the same C symbol).
19:05
<~Vornicus>
here is my proposed rebuttal
19:05
<~Vornicus>
The thing with the modules is ... if MGL were a library where I would be manually loading individual submodules (like, say, [HUMP](https://github.com/HDictus/hump/tree/temp-master)), it would make a certain level of sense to insist that `package.path` include the interior of the MGL directory. It's not though: the additional files are loaded automatically and "invisibly" by the primary module, and are mainly there as an organization tool
19:05
<~Vornicus>
for the developers *of MGL*, so building the library so the package path doesn't need the innards is a reasonable expectation. In fact, most Lua environments (luajit, 5.2, and up) include `?/init.lua` as part of their default `package.path`, which would make renaming the main file to `init.lua` make even more sense. This is also the approach taken by [CPML](https://github.com/excessive/cpml/blob/master/init.lua#L35), [STI](https://github.
19:05
<~Vornicus>
com/karai17/Simple-Tiled-Implementation/blob/master/sti/init.lua#L17), and [Batteries](https://github.com/1bardesign/batteries/blob/master/init.lua#L8), among others.
20:13 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
21:15 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
21:42 bluefoxx [fuzzylombax@Nightstar-gmbj85.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
21:46 catalyst_ is now known as catalyst
23:16 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Tue Jan 05 00:00:54 2021
code logs -> 2021 -> Mon, 04 Jan 2021< code.20210103.log - code.20210105.log >

[ Latest log file ]