Chat log for 1f616emoluanti on 2026-02-09

View raw logs

#TimeUserMessage
108:32:221F616EMO@MT_TWI❱ Joined the game
209:08:55Maverick2797@MT_TWI❱ Joined the game
309:09:06Maverick2797@MT_TWIheyo o/
409:09:171F616EMO~nya @TGHi
509:09:191F616EMO~nya @TG!status
609:09:19SYSTEM@MT_RPLACE# Server: version: 5.12.0-1f616emo | game: rPlace | uptime: 27d 17h 32min 37s | max lag: 0.0914s | clients:
709:09:19SYSTEM@MT_RPLACE# Server: Rules at https://github.com/C-C-Minetest-Server/documents/blob/main/rplace/RULES.md . Contact [email protected] for any questions or reports.
809:09:20SYSTEM@MT_TWI# Server: version: 5.16.0-1f616emo | game: Minetest Game | uptime: 23h 29min 27s | max lag: 0.427s | clients: 1F616EMO, Maverick2797
909:09:20SYSTEM@MT_TWI# Server: Welcome to 1F616EMO Server! Type /spawn to visit the spawnpoint.
1009:09:21SYSTEM@MT_SANDBOX# Server: version: 5.16.0-1f616emo | game: Minetest Game | uptime: 22h 59min 23s | max lag: 0.0932s | clients:
1109:09:21SYSTEM@MT_SANDBOX# Server: This is the 1F616EMO Sandbox Server. This server tests new mods and features.
1209:09:291F616EMO@MT_TWIForgot that I am in game
1309:09:36Maverick2797@MT_TWIlol
1409:09:481F616EMO@MT_TWIAfter reading il_timetable I got inspiration on how to write stn_v3
1509:10:171F616EMO@MT_TWII plan to do some timetabling on trains going through eGRO so they don't jam
1609:10:27Maverick2797@MT_TWIthat would make sense
1709:10:47Maverick2797@MT_TWIhopefully they stay spaced out
1809:11:111F616EMO@MT_TWIdepint = trip_time / number_of_rolling_stocks
1909:15:441F616EMO@MT_TWIMaverick2797: Where will your new train stop?
2009:16:14Maverick2797@MT_TWIthat's what I'm trying to work out... nowhere at this station works well enough to make a runaround
2109:16:421F616EMO@MT_TWIWould adding one more track and platform sound crazy?
2209:16:591F616EMO@MT_TWII believe you're trying to avoid that
2309:17:23Maverick2797@MT_TWIyeah trying to avoid that if possible, I like not having a platform that backs onto nothing at the moment
2409:18:10Maverick2797@MT_TWIplus if I did that I might as well make the RHT on this side the platform, but I'd lose the bypass track in the process
2509:18:451F616EMO@MT_TWIIsn't these multi-tracked segments the bypass?
2609:18:49Maverick2797@MT_TWII suppose I could link the current end of the mainline back around as a baloon loop
2709:18:501F616EMO@MT_TWI*Aren't
2809:19:201F616EMO@MT_TWIYeah, a baloon is good
2909:19:301F616EMO@MT_TWIand you mentioned if there's an extention, it would be to the north
3009:19:33Maverick2797@MT_TWIthis is more the freight yard, but I suppose it could be, depending on where the mainline was routed to next
3109:20:001F616EMO@MT_TWIIf it heads north, the yard track can be transformed into a decent Y-junction
3209:20:05Maverick2797@MT_TWII don't currently have plans to expand to the north, but someone else could
3309:20:39Maverick2797@MT_TWIthat's true
3409:21:02Maverick2797@MT_TWIit wouldn't be that tight of a curve to turn north from the yard tracks
3509:21:251F616EMO@MT_TWIBest if express train can pass without decelerating
3609:21:341F616EMO@MT_TWIand there's plenty of room to do that
3709:22:121F616EMO@MT_TWII have no solid plan to extend NX/S21 yet, but if I ever do, it makes no sense to extend into the ocean of emptiness on the east
3809:22:57Maverick2797@MT_TWIagreed, and the terrain directly east from the station goes nowhere useful
3909:23:50Maverick2797@MT_TWIyeah, I'm just gonna make the balloon loop for now, diverging off to the north can be a later project
4009:58:411F616EMO@MT_TWIMaverick2797: Bug (?) report: A new env whose /env_setup have not been run will have F = nil (probably S = nil too, not tested)
4109:59:31Maverick2797@MT_TWIare F and S not init'd as {} ?
4209:59:541F616EMO@MT_TWIS is, but F isn't
4309:59:591F616EMO@MT_TWIBEfore /env_setup is run
4410:00:251F616EMO@MT_TWIThis is a case on the very edge though
4510:00:43Maverick2797@MT_TWIinteresting
4610:00:451F616EMO@MT_TWINobody would punch a control panel before the first /env_setup.lua run
4710:00:58Maverick2797@MT_TWInot intentionally
4810:02:151F616EMO@MT_TWII did that for *science*
4910:03:30Maverick2797@MT_TWI[offline testing] just created a new env, saved an ops panel with no code to the new inv, punched it
5010:03:37Maverick2797@MT_TWIjust the standard warning
5110:03:531F616EMO@MT_TWIDid you run /env_setup on that env?
5210:04:05Maverick2797@MT_TWInope
5310:04:10Maverick2797@MT_TWIenv_create only
5410:04:121F616EMO@MT_TWIAnd di you try to reference a function in the F table?
5510:04:171F616EMO@MT_TWIMy code is F.fx()
5610:04:351F616EMO@MT_TWIor print(type(F))
5710:06:35Maverick2797@MT_TWIF.notafunction() -> LUA Error: (load):1: attempt to index global 'F' (a nil value)
5810:06:441F616EMO~nya @TGYeah this is what I'm talking about
5910:06:53Maverick2797@MT_TWIit doesn't crash the server, I don't see that as too bad
6010:06:581F616EMO~nya @TGIt should show attempt ot call nil instead of F is nil
6110:07:061F616EMO~nya @TGIt's a low priority bug yeah
6210:07:44Maverick2797@MT_TWIwonder how/why that was overlooked in the atc.env_new() function?
6310:08:151F616EMO@MT_TWICuz they "F"-in forgot?
6410:08:281F616EMO@MT_TWIHmm
6510:08:321F616EMO@MT_TWICuz they "F"orgot
6610:08:42Maverick2797@MT_TWIcan't be F-in, there's no F-in it to start with
6710:17:25Maverick2797@MT_TWIwere you intending to ext_int a stone tile?
6810:17:431F616EMO@MT_TWINah, a panel that apprantly didn't get registered
6910:17:531F616EMO@MT_TWIProbably due to the lack of F?
7010:17:551F616EMO@MT_TWIIDK
7110:19:161F616EMO@MT_TWIDoing the first STN_v3 route
7210:19:311F616EMO@MT_TWISadly upgrading requires halting all trains
7310:22:331F616EMO@MT_TWIprays for no error bombs
7410:22:471F616EMO@MT_TWITesting on a very short shuttle
7510:22:561F616EMO@MT_TWIhuh
7610:23:001F616EMO@MT_TWIforgot to change env
7710:23:061F616EMO@MT_TWIThe most silly error
7810:23:19Maverick2797@MT_TWIif event.int then interrupt(atc_pos) interrupt_pos(atc_pos) end
7910:23:351F616EMO@MT_TWIANOTHER
8010:25:221F616EMO@MT_TWIdamnit
8110:25:261F616EMO@MT_TWII pasted code into the wrong env
8210:25:361F616EMO@MT_TWIdone
8310:25:401F616EMO@MT_TWIsry Maverick2797 if that flooded ui
8410:25:421F616EMO@MT_TWII pasted code into the wrong env
8510:25:491F616EMO@MT_TWIIt finally happened...
8610:26:021F616EMO@MT_TWIIt was going to STN_v3 but I pasted it into PIS_v3
8710:26:07Maverick2797@MT_TWIi saw nothing, not sub'd to those envs yet'
8810:29:511F616EMO@MT_TWII hate it when I receive an error from railwaytime.lua instead of my env_setup
8910:31:011F616EMO@MT_TWIWhat could possibly go wrong...
9010:31:331F616EMO~nya @TGlocal rwtime = rwt.now()
9110:31:331F616EMO~nya @TG local rwnext
9210:31:331F616EMO~nya @TG if station_def.depoff and line_def.base_depint then
9310:31:331F616EMO~nya @TG local door_time = line_def.delay or 5
9410:31:331F616EMO~nya @TG local next_door_close = rwt.next_rpt(
9510:31:331F616EMO~nya @TG rwt.add(rwtime, door_time),
9610:31:331F616EMO~nya @TG line_def.base_depint,
9710:31:331F616EMO~nya @TG rwt.add(line_def.base_depoff or rwt.new(), station_def.depoff)
9810:31:331F616EMO~nya @TG )
9910:31:331F616EMO~nya @TG
10010:31:331F616EMO~nya @TG rwnext = next_door_close
10110:31:331F616EMO~nya @TG else
10210:31:331F616EMO~nya @TG local door_time = line_def.delay or 10
10310:31:331F616EMO~nya @TG rwnext = rwt.add(rwtime, door_time)
10410:31:331F616EMO~nya @TG end
10510:32:091F616EMO@MT_TWIAnd advtra__ is complaining about the first param of rwt.sub() is nil
10610:32:281F616EMO@MT_TWIUm nat its rwt.add
10710:33:41y5nw@MT_TWI❱ Joined the game
10810:33:53Maverick2797@MT_TWIhi
10910:33:581F616EMO@MT_TWIApparantly rwt.parse_t(str) can only accept "00;00;00;00" but no "00;00;00"
11010:34:191F616EMO@MT_TWIAlso ";00;00;" seems to be good
11110:34:291F616EMO@MT_TWI;_;
11210:34:41y5nw@MT_TWIsince when are there four components in RWT?
11310:34:491F616EMO@MT_TWIA recent patch
11410:34:561F616EMO@MT_TWIThat added additional percision to RWT
11510:35:05y5nw@MT_TWIsub-second?
11610:35:151F616EMO@MT_TWINah, hours
11710:35:26Maverick2797@MT_TWIc;hh;mm;ss
11810:35:45y5nw@MT_TWIweren't cycles previously used to indicate hours?
11910:35:481F616EMO@MT_TWINice, another error now, we're making progress
12010:35:59Maverick2797@MT_TWIyeah
12110:37:131F616EMO@MT_TWIDamnit, this time it's advtra__ core error
12210:37:301F616EMO@MT_TWIrwt.i_sec is broken due to wrong reference to res instead of rwint
12310:38:501F616EMO@MT_TWIorwell's fault
12410:39:351F616EMO@MT_TWIOr maybe, the fault of lack of Luacheck
12510:40:10y5nw@MT_TWIthat's the "patches are welcome" part unfortunately
12610:40:271F616EMO@MT_TWII'm not even sure if what I will do is correct
12710:40:361F616EMO@MT_TWIAnyways gotta submit a patch and apply a in-game hotfix
12810:40:51y5nw@MT_TWIotherwise consider adding unittests. IIRC RWT is somewhat well self-contained
12910:41:061F616EMO@MT_TWIdid git stash on the wrong repo
13010:41:39dibbo@MT_TWI❱ Joined the game (new player)
13110:41:43Maverick2797@MT_TWIhi dibbo
13210:41:481F616EMO@MT_TWIHi dibbo
13310:41:521F616EMO@MT_TWIBusy working on a mod patch
13410:42:171F616EMO@MT_TWII was wondering "how can my worktree be clean" and realized I forgot to pop my stash
13510:42:29y5nw@MT_TWI(unittests for Advtrains in general is harder though. I tried to do that when I worked on the interlocking system, but the dependencies between modules made things ... non-trivial)
13610:42:33dibbo@MT_TWIhi
13710:42:51dibbo@MT_TWIthis is so fucking nice
13810:43:011F616EMO@MT_TWIy5nw: Hence we call it advtra__
13910:43:11y5nw@MT_TWI1F616EMO: for me it's more like "how can my git stash stack be empty"
14010:43:17dibbo@MT_TWIbro i am new here
14110:43:24y5nw@MT_TWIdibbo: welcome
14210:43:451F616EMO@MT_TWItbh advtrains is not up to my standard of code quality; I installed it cuz it's one-of-a-kind and well-maintained
14310:44:361F616EMO@MT_TWIa well-maintained mod will eventually reach good code quality, or at least implement safety measures to not put the server into a halt
14410:45:191F616EMO@MT_TWIMaverick2797, y5nw: https://lists.sr.ht/~gpcf/advtrains-devel/patches/67502
14510:45:41y5nw@MT_TWII'm not sure about the latter part tbh. A well-maintained mod should avoid crashes to begin with
14610:45:541F616EMO@MT_TWIy5nw: True
14710:46:341F616EMO@MT_TWIAnd to prevent others from deliberatly crashing the server - advtra__ is a bit weak on preventing fork bombs and infinite loops from halting the server though
14810:46:34y5nw@MT_TWIconsider that Advtrains used to have its globalstep wrapped in pcall
14910:46:401F616EMO@MT_TWIy5nw: Lol
15010:47:031F616EMO@MT_TWI^ That's embarassing for a mod
15110:47:14y5nw@MT_TWIthat's partly also a limitations of the Lua sandbox tbh
15210:47:401F616EMO@MT_TWIluacontrollers can detect long-running and recource-hungry codes and interrupt it
15310:47:441F616EMO@MT_TWIIIRC
15410:48:21y5nw@MT_TWI(partly of mathematics - you cannot solve the halting problem so the next best solution would be a timeout; except afaik in Lua it depends on hooking into the debug library where the overhead is probably greater than that of less-performing code)
15510:49:111F616EMO@MT_TWIWould "writing Advtrains in C" help that, for the part that monitors the execution of a Lua eval?
15610:49:37y5nw@MT_TWIorwell had the idea of creating a more powerful DSL for ATC (-> xATC on the wiki); the hard part is basically how to make it powerful but not Turing-complete
15710:49:39dibbo@MT_TWI❰ Left the game
15810:49:451F616EMO@MT_TWI(Almost forgot I still got a hot fix patch to write)
15910:50:431F616EMO@MT_TWICan we set hard walls to a turing-complete xATC so that e.g. when it want to assign more memory then it can then boom, segfault
16010:51:00y5nw@MT_TWI1F616EMO: not really
16110:51:081F616EMO@MT_TWILike having only 100KB of RAM for a turing-complete Windows 11 computer
16210:51:14y5nw@MT_TWI1F616EMO: you can e.g. create infinite loops with tail-call recursion
16310:51:481F616EMO@MT_TWIy5nw: That's bad, given that we'd almost certainly optimize tail calls...
16410:51:571F616EMO@MT_TWISo we can't tackle that with a stack overflow
16510:52:371F616EMO@MT_TWIIt feels like xATC can be written into a university research paper for the amount of brainstorming and researching it requires
16610:52:38y5nw@MT_TWIthere is also e.g. the iterator for loop where you can do e.g. for _ in math.sin, 0 do ... end
16710:53:011F616EMO@MT_TWIMeh
16810:53:22y5nw@MT_TWI(remember that iterators do not have to be based on real data structures ...)
16910:54:061F616EMO@MT_TWICan we just limit the number of instructions it is allowed to make, where doing a loop again counts as at least one?
17010:54:251F616EMO@MT_TWI(But would that again put us into the debug library?)
17110:54:561F616EMO@MT_TWIagain forgets to write the hot fix
17210:55:35y5nw@MT_TWIrealistically though iterator for loops also have usecases beyond iterating through data structures - you can use it to lazily generate infinite data structures (see e.g. iota function) and iterate through those
17310:56:21y5nw@MT_TWI(although that tends to be more interesting for mathematical computations than train operation)
17410:56:261F616EMO@MT_TWIfor i in range(math.huge):
17510:56:481F616EMO@MT_TWITuring-complete means that someone can calculate the fib sequence with xATC
17610:57:111F616EMO@MT_TWIWhich is hell
17710:58:00SYSTEM@MT_SANDBOX✖ Minetest shutting down!
17810:58:07SYSTEM@MT_SANDBOX✔ Minetest started!
17910:58:151F616EMO@MT_TWIreal fix now up on sandbox, hotfix on twi
18010:58:34y5nw@MT_TWI(also consider something like yes | head. The former generates an infinite sequence while the latter limits the output -> the actual computation time is limited)
18110:58:471F616EMO@MT_TWIHmm no that's not the correct fix
18210:58:59y5nw@MT_TWITuring-completeness also means that you have the halting problem
18310:59:031F616EMO@MT_TWIThere does not exist a thing called sign in intervals
18411:02:381F616EMO@MT_TWIIt seems all good after adding default fallback for rwint.sign
18511:02:481F616EMO@MT_TWIWill re-submit patch after this STN_v3 run
18611:03:28y5nw@MT_TWIalso: can we potentially have metamethods on RWT objects?
18711:03:521F616EMO@MT_TWIy5nw: Out of my scope, but theorically very easy to do as all rw functions are `this`-friendly
18811:04:071F616EMO@MT_TWIWaiting 2 min 30 sec before my train departs
18911:04:41y5nw@MT_TWI❰ Left the game
19011:26:55Maverick2797@MT_TWIderp, still haven't added that atc parser yet
19111:54:32AW@MT_TWI❱ Joined the game (new player)
19211:54:351F616EMO@MT_TWIhi AW
19311:54:59Maverick2797@MT_TWIhi AW
19411:55:02AW@MT_TWIhi
19511:56:321F616EMO@MT_TWIMaverick2797: I declare STN_v3 as ready to use in prod, yet mid-scale tests are needed
19611:56:41Maverick2797@MT_TWIcool
19711:56:531F616EMO@MT_TWI? wait
19811:57:061F616EMO@MT_TWIIt triggered approach message on Groma when it approaches Bledarhood
19911:58:20AW@MT_TWI❰ Left the game
20011:59:091F616EMO@MT_TWII, again, pasted code into the wrong env
20112:00:13Maverick2797@MT_TWItoo many envs?
20212:49:20Maverick2797@MT_TWIlater o/
20312:49:23Maverick2797@MT_TWI❰ Left the game
20413:27:361F616EMO@MT_TWI❰ Left the game
20513:27:471F616EMO@MT_TWI❱ Joined the game
20613:30:57SYSTEM@MT_SANDBOX✖ Minetest shutting down!
20713:30:59SYSTEM@MT_SANDBOX✔ Minetest started!
20813:46:231F616EMO@MT_TWIping
20916:06:08VinAdmin@MT_TWI❱ Joined the game
21016:08:171F616EMO@MT_TWIhi VinAdmin
21116:08:22VinAdmin@MT_TWIhi
21217:26:341F616EMO@MT_TWI❰ Left the game
21317:38:25Ginger41@MT_TWI❱ Joined the game
21417:38:37Ginger41@MT_TWIhi
21517:38:52VinAdmin@MT_TWIпривет
21617:57:45Ginger41@MT_TWI❰ Left the game (timed out)
21718:40:3545305_altPIXEL@MT_TWI❱ Joined the game (new player)
21818:58:2645305_altPIXEL@MT_TWI❰ Left the game (timed out)
21919:50:0007142015@MT_TWI❱ Joined the game
22019:54:1607142015@MT_TWI❰ Left the game
22120:05:50VinAdmin@MT_TWI❰ Left the game

< Previous day (2026-02-08)

Next day (2026-02-10) >

Back to chatroom index

Back to chatrooms list