Minetest logo

IRC log for #minetest-dev, 2021-11-30

| Channels | #minetest-dev index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:35 Alias joined #minetest-dev
02:44 Extex joined #minetest-dev
02:45 Extex joined #minetest-dev
02:46 Extex joined #minetest-dev
02:47 Extex joined #minetest-dev
02:49 Extex joined #minetest-dev
02:50 Extex joined #minetest-dev
02:51 Extex joined #minetest-dev
02:53 Extex joined #minetest-dev
02:54 Extex joined #minetest-dev
02:55 Extex joined #minetest-dev
02:57 Extex joined #minetest-dev
02:58 Extex joined #minetest-dev
02:59 Extex joined #minetest-dev
03:00 Extex joined #minetest-dev
03:26 kilbith oh shit, looks like the Luacheck author and maintainer is dead: https://cs.hse.ru/news/227017595.html
03:27 kilbith thus the source is left unmaintained
03:29 queria^clone joined #minetest-dev
03:29 v-rob joined #minetest-dev
03:33 queria^clone joined #minetest-dev
03:34 MTDiscord <MNH48> not really unmaintained, see the update at https://github.com/mpeterv/luacheck/issues/198
04:44 v-rob joined #minetest-dev
05:00 MTDiscord joined #minetest-dev
05:16 v_rob joined #minetest-dev
05:38 YuGiOhJCJ joined #minetest-dev
06:16 behalebabo joined #minetest-dev
06:54 tekakutli joined #minetest-dev
07:14 v-rob joined #minetest-dev
09:05 olliy joined #minetest-dev
09:08 Chpy0 joined #minetest-dev
09:19 calcul0n joined #minetest-dev
10:26 Fixer joined #minetest-dev
10:26 ivanbu joined #minetest-dev
10:41 Alias joined #minetest-dev
10:55 proller joined #minetest-dev
11:15 Wuzzy joined #minetest-dev
11:28 Taoki joined #minetest-dev
12:52 MTDiscord <luatic> kilbith: I highly doubt that they'd add a feature to ignore syntax errors
14:07 proller joined #minetest-dev
14:28 proller joined #minetest-dev
14:46 proller joined #minetest-dev
15:13 MTDiscord joined #minetest-dev
15:23 proller joined #minetest-dev
15:42 kilbith joined #minetest-dev
15:56 v-rob joined #minetest-dev
16:00 kilbith I'll have to change of linter...
16:04 kilbith this one is interesting: https://github.com/FPtje/GLuaFixer
16:04 kilbith --stdin Process stdin instead of specified file or directory when linting.
16:19 MTDiscord <luatic> kilbith: what you have is effectively a basic, error-prone, pattern-based preprocessor written in Lua, which executes at runtime
16:20 MTDiscord <luatic> so treat it like one: stop using Lua as a file extensions as your preprocessor does more than just backport newer Lua features;
16:20 MTDiscord <luatic> write your own grammars for linting;
16:20 MTDiscord <luatic> and highlighting
16:20 MTDiscord <luatic> write your own formatters
16:20 kilbith this is not error-prone if I know what I am doing
16:21 MTDiscord <luatic> alternatively, for a quick hack, you might consider linting the generated output
16:22 kilbith there is no way to process the generated output with Luacheck
16:23 MTDiscord <luatic> there is
16:24 MTDiscord <luatic> you could just walk your directory and write the output to a tmp dir and lint that
16:25 kilbith well yes, I could write a script for all of that
16:28 erlehmann luatic is right, you are doing a hack job right now while you have proven you can do better
16:28 erlehmann linting the generated output is the laziest solution that works
16:29 erlehmann so why not do it, is the build step too much?
16:32 erlehmann kilbith, do not lint at runtime though for reasons https://nitter.snopyta.org/pic/media%2FB20YoFiIIAAHCYf.jpg%3Fname%3Dorig
16:32 erlehmann well
16:32 kilbith joined #minetest-dev
16:37 kilbith joined #minetest-dev
16:37 kilbith your link crashes my HexChat client for some reason
16:42 BuckarooBanzai9 joined #minetest-dev
16:46 appguru joined #minetest-dev
16:46 erlehmann kilbith clicking on it or just reading it?
16:47 kilbith clicking
16:48 erlehmann software was a mistake
16:49 celeron55 joined #minetest-dev
17:11 MTDiscord <SX> Could do similar what python has done with .pyc and write compiled stuff to .luac files, will it cause confusion if those wont work with lua controller? ?
17:56 MTDiscord <luatic> erlehmann: agreed
17:57 v-rob joined #minetest-dev
17:58 Taoki joined #minetest-dev
18:02 kilbith https://github.com/minetest-mods/i3/blob/main/luacheck.lua
18:42 erlehmann Krock, please reopen https://github.com/minetest/minetest/issues/5916 if you can verify my claim in https://github.com/minetest/minetest/issues/5916#issuecomment-982914011
18:43 erlehmann or is this a different bug?
19:01 Krock same error message, different bug. that's my guess
19:03 Krock erlehmann: error in your provided patch: https://github.com/minetest/minetest/issues/11797
19:05 erlehmann Krock, i can't into C++!
19:05 erlehmann Krock, sorry
19:06 erlehmann i fix it
19:08 Krock erlehmann: is there any other occurrence of the style?
19:08 erlehmann https://github.com/minetest/minetest/issues/11797#issuecomment-982933876
19:08 erlehmann Krock, what do you mean, the style? new-delete-mismatch?
19:08 Krock yes
19:09 erlehmann no idea, i was already so confused the first time i saw it bc i assumed it was correct (but sfan5 explained it to me)
19:09 erlehmann if i find more, i report it
19:10 erlehmann Krock, give me a minute or five
19:10 erlehmann i have an idea
19:10 Krock the other uses of wgettext are OK
19:16 v-rob joined #minetest-dev
19:23 rubenwardy joined #minetest-dev
19:23 erlehmann is the eat sound item in devtest supposed to make an actual audible sound?
19:31 Krock yes. it does produce an 8-bit style drum sound
19:32 proller joined #minetest-dev
19:33 erlehmann Krock, not for me
19:57 v-rob joined #minetest-dev
20:45 appguru joined #minetest-dev
20:53 v-rob joined #minetest-dev
20:58 Chpy0 joined #minetest-dev
21:02 proller joined #minetest-dev
21:13 olliy joined #minetest-dev
21:24 proller joined #minetest-dev
21:31 v-rob joined #minetest-dev
22:01 Extex joined #minetest-dev
22:08 proller joined #minetest-dev
22:20 appguru joined #minetest-dev
23:22 kilbith_ joined #minetest-dev
23:51 Taoki joined #minetest-dev
23:51 appguru joined #minetest-dev

| Channels | #minetest-dev index | Today | | Google Search | Plaintext