Log for #openttd on 16th April 2019:
Times are UTC Toggle Colours
00:05:53  <Samu> borkai is approaching 3 GiB
00:06:00  <Samu> it sure takes time
00:06:24  <Samu> sitting at 2.76 GiB at the moment
00:12:27  *** Smedles has quit IRC
00:15:29  *** Smedles has joined #openttd
00:33:56  <Samu> 3.00 GiB
00:34:04  <Samu> crashing soon?
01:19:56  *** Flygon has joined #openttd
01:29:10  *** HerzogDeXtEr has quit IRC
01:31:24  <Samu> 3.58 GiB, still no crash
01:33:02  *** WWacko1976-work has joined #openttd
01:39:20  *** Gustavo6046 has quit IRC
01:55:47  <Samu> 3.63... still going, hmm I was expecting a crash
02:27:27  *** Wormnest has quit IRC
02:30:21  *** debdog has joined #openttd
02:33:38  *** D-HUND has quit IRC
02:34:58  <Samu> 4.00 GiB, still no crash
02:36:35  <Samu> 4.01... well i have no more time today, gonna hibernate system and resume tomorrow
02:38:57  *** glx has quit IRC
02:45:05  *** Samu has quit IRC
03:47:32  *** Corns343434 has joined #openttd
04:28:37  *** Corns343434 has quit IRC
04:39:59  *** Corns343434 has joined #openttd
05:23:12  *** Corns343434 has quit IRC
05:23:24  *** Corns343434 has joined #openttd
06:05:01  <DorpsGek_II> [OpenTTD/OpenTTD] ghisvail commented on issue #6873: Jukebox not working in the flatpak version
06:17:54  *** andythenorth has joined #openttd
06:31:20  *** Lejving has quit IRC
07:22:26  *** D-HUND has joined #openttd
07:25:48  *** debdog has quit IRC
08:01:02  <andythenorth> moin
08:01:07  <peter1138> Hi
08:04:54  <peter1138> Hmm, sign warnings in NRT, oops.
08:05:29  <peter1138> MSVC-only of course.
08:10:47  *** Corns343434 has quit IRC
08:11:23  <LordAro> but of course
08:12:24  *** Corns343434 has joined #openttd
08:14:58  <peter1138> git diff
08:15:01  <peter1138> Not here :D
08:36:44  *** Corns343434 has quit IRC
08:51:28  *** andythenorth has quit IRC
09:06:06  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN updated pull request #6811: Feature: Add NotRoadTypes (NRT)
09:06:43  *** andythenorth has joined #openttd
09:06:50  <peter1138> Did that summon you?
09:07:22  <andythenorth> perhaps
09:26:11  <peter1138> Hm
09:29:37  <peter1138> Well, that made no difference :-)
09:32:31  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN updated pull request #6811: Feature: Add NotRoadTypes (NRT)
09:46:11  *** Corns343434 has joined #openttd
09:54:12  *** Corns343434 has quit IRC
10:07:04  *** Smedles_ has joined #openttd
10:09:17  *** Smedles has quit IRC
10:22:48  *** fanioz has joined #openttd
10:35:36  <Artea>
10:35:45  <Artea> Transport Tycoon 2014 Soundtrack (remaster with real instrument from original creator)
10:35:53  <Artea> anyone had listen to this ?
10:40:30  *** gelignite has joined #openttd
10:44:01  <V453000> how am I not aware of this Artea ? :D I will give it a listen in the evening, thanks.
10:47:22  <peter1138> wet roads?
10:48:03  <peter1138> "Alpinea v3.5 (4096x4096, for players with low-end PCs)
10:48:04  <peter1138> This one is 4096 x 4096 instead of 8192 x 8192, so most players should be able to play."
10:48:08  <peter1138> Those crazy redditors...
10:48:15  <peter1138> 4k x 4k... low-end ...
10:48:36  <V453000>  well they don't build vehicles on it so...
10:50:14  *** tycoondemon has joined #openttd
10:51:41  <peter1138> < bad feature :/
10:52:17  <Artea> I havent heard neither, V453000
10:52:37  <Artea> popup on my youtube for days now, but only started to listen
10:52:48  <V453000> peter1138: do you need to reload the save to make it show?
10:52:51  <Artea> but had to pause, Dragon Ball Super in Portuguese is on TV ;)
10:53:23  <peter1138> V453000, no, but you do need to force a screen redraw otherwise the new road is only painted where vehicles move...
10:53:30  <V453000> :D
10:53:37  <V453000> I like the latter option
10:53:49  <peter1138> They should be using separate road types, and introduction dates.
10:53:55  <V453000> that would actually be really cool :)
10:54:02  <V453000> you would have unused roads remain old
10:54:14  <peter1138> Well, as far as I know it's in NRT already.
10:54:30  <V453000> :D
10:54:34  <peter1138> Maybe it needs a new flag "definitely don't introduce this type until its introduction date" or something.
10:56:02  <peter1138> brix roadtypes? ;)
11:02:40  <V453000> I'll probably stay with railtypes :P
11:04:42  <peter1138> Aww
11:05:20  <V453000> I still have a glorious train set plan, but now I'm stuck getting NUTS to behave at least half-decently
11:17:13  *** Lejving has joined #openttd
11:29:11  <Artea> :(
11:29:30  <Artea> why I had to use sudo to use make install ? :S
11:29:49  <Artea> now bundle folder is with root permissions
11:31:40  <peter1138> Because you need privileges to install.
11:32:14  <Artea> :S
11:32:19  <Artea> I know
11:32:23  <Artea> gave the same error
11:32:35  <peter1138> What?
11:32:40  <peter1138> If you want a bundle, do make bundle.
11:33:10  *** tycoondemon has quit IRC
11:33:34  <peter1138> If you want to install, do make install, which needs root privileges, unless you told it to install somewhere else.
11:35:14  <Artea> it gave me error finding pixmaps
11:35:24  <Artea> regardless is there
11:39:24  <Artea> install: cannot remove ‘///usr/local/games/openttd’: Permission denied
11:39:26  <Artea> this is new
11:45:47  <peter1138> Why?
11:48:08  <andythenorth> peter1138: so I _should_ make an NRT grf eh :P
11:48:17  <peter1138> Yes?
11:48:21  <andythenorth> and not worry about finishing unfinished things :D
11:48:42  <andythenorth> so 2 kinds of trams then?
11:48:43  <peter1138> You'll never finish them anyway, so what's the difference?
11:48:54  <andythenorth> eh what?  Yes I agree
11:49:06  <Artea> damn
11:49:12  <Artea> now isn't installing in bundle
11:49:14  <Artea> wth
11:50:09  <Artea> well its there
11:50:21  <Artea> don't know what I'm doing :S
11:51:53  *** tycoondemon has joined #openttd
11:54:03  <Artea> seems I can upload to bundle now
11:54:08  <Artea> seriously
12:00:31  *** Samu has joined #openttd
12:03:42  <Artea> ok
12:03:51  <Artea> already run dedicated server
12:03:59  <Artea> but now cannot put aside
12:04:00  <Artea> :S
12:05:03  <Samu> hi
12:05:39  <Artea> hi
12:07:11  <Artea> hmmmmmm
12:07:13  <Artea> peter1138
12:07:35  <Artea> shouldnt -f parameter put openttd in the background ?
12:09:37  <Artea> oh
12:09:57  <Artea> it worked just didnt get to bash back
12:10:09  <Artea> * get back to bash
12:10:25  <Artea>
12:10:29  <Artea> password: test
12:12:40  <peter1138> Heh, -f is normally "foreground", not "fork into background" :-)
12:13:16  <Artea> I can't see server in OTTD
12:13:24  <Artea> grrrrrr
12:14:58  <Artea> so I cant put in fork ?
12:15:49  <Artea> I tried use screen
12:15:56  <Artea> but no use :(
12:16:52  *** andythenorth has left #openttd
12:18:50  <Artea>  -f                  = Fork into the background (dedicated only)
12:19:12  <Artea> not working :(
12:19:55  <Artea> HA
12:19:58  <Artea> missing -D
12:24:24  <peter1138> Yeah, I've never but it in the background.
12:24:29  <peter1138> ...
12:24:30  <peter1138> *put
12:24:49  <Artea> its running :D
12:25:14  <Samu> borkai continuation, 4.16 GiB, still running
12:38:04  <peter1138> How nice.
12:47:42  *** andythenorth has joined #openttd
12:47:49  <andythenorth> is it lunch time?
12:50:02  <Artea> yes
12:50:16  <Artea> at least in for me is
12:50:54  <Artea> * is
12:50:59  <Artea> andy
12:51:06  <Artea> can u join my test dedicated server ?
12:51:16  <Artea> or you are busy ?
12:51:28  <peter1138> Busy.
12:51:38  <peter1138> andythenorth, it was lunch time, but that ship's sailed.
12:51:55  <andythenorth> I had mac + cheese
12:51:58  <andythenorth> was that correct?
12:52:55  <Artea> from macdonaldas ?
12:53:21  <Artea> I mean, McDonalds :P
12:53:27  <andythenorth> nope :P
12:53:30  <andythenorth> from my freezer
12:53:34  <andythenorth> so NRT stuff
12:53:36  <Artea> hahaha
12:53:44  <andythenorth> freight trams are kind of this
12:53:51  <andythenorth> and exist in Road Hog already, running on tram tracks
12:54:16  <andythenorth> I want to do a type for this type of industrial train
12:54:22  <andythenorth> totally separate
12:58:09  <Samu> pathfinding cosumes memory, interesting
13:00:30  <LordAro> well... yeah
13:02:28  <Samu>
13:02:37  <Samu> on the top left, borkai, refusing to crash just yet
13:03:06  <Samu> top right, my AI patch pack
13:03:20  <Samu> bottom right, same savegame as top right, but with fixed 250k ops
13:03:50  <Samu> bottom left, same savegame as top right, with fixed 250k ops, running on nielsm memory thing
13:34:42  *** Corns has joined #openttd
13:36:42  <Artea> LordAro: using AroAI in my dedicated server :D
13:37:08  <Artea> let's see how much time needs to make 1000 road vehicles :P
13:38:39  <Corns> Last time I tried bus spamming between two large cities, it took me about 3 to 4 years to hit vehicle limit in reddit S1
13:40:04  *** starraid has joined #openttd
13:40:41  *** nielsm has joined #openttd
13:40:48  *** sla_ro|master has joined #openttd
13:40:49  <Artea> hmmmmmm
13:41:04  <Artea> it should have a command to reset server password
13:44:39  <starraid> Hey I'm trying to compile JGR 0.30.3 on Linux. I've got as far as actually using "make" and it does all the "[SRC] Compiling *.cpp" but it makes an error "story_gui.o: file not recognised: File truncated" after "[SRC] Linking openttd". Can anyone help me? I'm on Ubuntu server 18.04.2
13:48:15  <peter1138> Run out of disk space?
13:49:44  <peter1138> Try a "make clean" and then "make" again to rebuild all the .o files.
13:50:07  <starraid> I doubt it is disk space, this is a fresh install of Ubuntu on a brand new 120 GB SSD
13:50:19  <starraid> but I will try this, thanks
13:50:20  <andythenorth> is it this?
13:51:03  <starraid> hmmm I don't think so
13:52:43  <peter1138> That error means it tried to build but didn't, and left an empty file there.
13:52:48  <peter1138> Not something that normally happens.
13:53:55  <starraid> while I'm here, how do I make it a dedicated server? It says use the flag "--enable-dedicated" but I couldn't figure out where
13:54:33  <Artea> is in ./configure --enable-dedicated
13:54:45  <Artea> then
13:54:51  <starraid> it doesn't let me do that
13:55:24  *** andythenorth has quit IRC
13:55:25  <Artea> are you using ubuntu files or source ?
13:55:33  <starraid> ?
13:55:39  <Artea> when you downloaded
13:55:52  <Artea> is Ubuntu version or Source version
13:56:02  <starraid> I think it's just Source
13:56:17  <nielsm> are you getting an error message?
13:56:31  <nielsm> or is the computer reaching out with a robot arm and preventing you from typing that command?
13:56:49  <starraid> error message
13:56:56  <nielsm> then share that error :)
13:57:03  <Samu> borkai at 5.06 GiB, still running
13:57:06  <starraid> if it happens again then I will
13:57:23  *** Thedarkb1-T60 has quit IRC
13:57:38  <starraid> do you mean the original "story_gui.o" one or the --enable-dedicated one?
13:57:57  <nielsm> what you get with --enable-dedicated
13:58:15  <starraid> ok, I'll show that when it stops trying to compile again
14:03:36  *** Corns_ has joined #openttd
14:03:47  *** Corns has quit IRC
14:03:51  *** Thedarkb-T60 has joined #openttd
14:06:19  <Samu> why isn't it crashing?
14:06:33  <Samu> seems that the crash isn't related to memory amount
14:08:48  *** andythenorth has joined #openttd
14:09:03  <Samu> heh LordAro that topic rename :(
14:09:16  <Samu> is no longer true
14:12:39  *** Flygon has quit IRC
14:16:04  <Samu> openttd.exe commit memory is resource monitor is ~8.6 GB atm
14:16:22  *** andythenorth has left #openttd
14:16:22  <Samu> in nielsm memory column is 5.29 GiB
14:16:30  <Samu> borkai
14:19:05  <starraid> actually I think it managed to compile sucessfully
14:19:08  <Samu> borkai doesn't want to make more than 500 road vehicles
14:19:55  <Artea> nice, starraid
14:19:58  <Samu> garbage collector stalls are becoming huge... about 7 seconds, at least i think it's the garbage collector
14:20:13  <Artea> with --enable-dedicated ?
14:20:22  <starraid> I don't think so
14:20:45  <Artea> well, I think you need to activate in order to run dedicated server
14:20:52  <Artea> so you will have to compile again
14:20:54  <peter1138> No, you don't.
14:20:59  <Artea> no ?
14:21:00  <starraid> I went to the directory it claims to have put it in, but when I run it it says "Error: No available language packs (invalid versions?)"
14:21:11  <peter1138> It simply disables trying to compile a non-dedicated version.
14:22:25  <starraid> yeah it just complains it has no langauge packs, though when compiling it listed quite a few it compiled
14:22:54  <starraid> and I just add -D as an argument when launching the server to make it dedicated I found out
14:23:39  <Artea> for dedicated server
14:23:44  <Artea> you going need a new cfg
14:24:36  <Samu> oh, bork ai with 501 road vehicles!
14:24:41  <Samu> that's over 500!
14:25:46  *** Thedarkb-T60 has quit IRC
14:29:34  *** supermop_work has quit IRC
14:29:53  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh updated pull request #7516: Custom allocators for Squirrel
14:30:11  <starraid> this is what I get when I try to launch it, along with the files within the directory it put the binary I think
14:32:52  <Samu> nielsm, yesterday night, an AI died, and it made it crash in your GetAllocatedMemory()
14:33:01  <Samu> openttd crashed
14:33:22  <Samu> FramerateWindow::DrawElementAllocationsColumn + 230 (D:\OpenTTD\OpenTTD GitHub\OpenTTD\src\framerate_gui.cpp:606)
14:34:06  <Artea> no "" on -c
14:34:15  <Artea> is just -c file.cfg
14:34:42  <Artea> and rest dont know how to help you
14:34:50  <nielsm> Samu maybe something in the framerate window didn't pick up on the ai being crashed
14:34:53  <Artea> I didn't compiled that patch pack
14:37:40  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh updated pull request #7516: Custom allocators for Squirrel
14:37:40  <Samu> try a crashing AI, like AroAI with disabled road vehicles in its config
14:39:18  <Samu> meanwhile, BorkAI - 5.45 GiB
14:44:10  <Artea> starraid
14:44:42  <Artea> nevermind
14:44:54  <Artea> I would going to say to check bundle folder
14:45:06  <Artea> but forgot you're using patch pack :S
14:45:24  *** Corns_ has quit IRC
14:48:28  *** Gustavo6046 has joined #openttd
14:48:43  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick commented on pull request #7514: Scale oil refinery edge distance up by map size
14:50:46  *** Wormnest has joined #openttd
15:01:26  *** WWacko1976-work has quit IRC
15:03:06  *** Wormnest has quit IRC
15:33:20  <Samu> BorkAI - 5.84 GiB
15:37:02  <nielsm> I wrote an allocator! I hope it works!!
15:37:37  <Samu> i was honestly expecting a crash before 4 GB
15:38:11  <nielsm> it does not work :D
15:38:23  <Samu> don't know what causes a crash in garbage collector
15:38:33  <Samu> it's not the amount it allocates
15:47:50  <Samu> this is really weird to look at
15:48:09  <Samu> memory usage poe vs openttd
15:49:43  <V453000> musa is python 2 onlyeh
15:49:45  <V453000> :D
15:49:47  <V453000> fuck.
15:50:03  <LordAro> V453000: oh noes
15:50:14  <LordAro> someone should probably resurrect that and put it on the github
15:52:21  *** gelignite has quit IRC
15:56:06  <nielsm> cool, my assert for "tried to handle memory outside the arena it should be using" triggered
15:56:19  <nielsm> so something is wrong about my allocator context switching
15:57:59  <nielsm> ah yeah I see what it is
16:00:18  <V453000> yay new nuts, lets see if I broke more than I fixed :D
16:08:35  <nielsm> no longer crashing during startup, at least that's a beginning
16:19:08  <nielsm> and now it's actually running without crashing :D
16:19:27  <nielsm> of course my first ever allocator is stupid slow :P
16:22:10  <Artea> yay
16:22:21  <Artea> another server in Portugal
16:22:24  <Artea> sad is 1.8.0
16:22:41  *** Thedarkb-T60 has joined #openttd
16:24:55  *** HerzogDeXtEr has joined #openttd
16:31:35  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh updated pull request #7516: Custom allocators for Squirrel
16:31:41  <nielsm> here enjoy babbys first malloc
16:32:05  <nielsm> (currently it just has a fixed size 64 MB arena which will obviously be far too small for real world uses)
16:33:46  <Samu> but it doesn't look like it's a memory amount issue
16:34:12  <Samu> borkai currently at 6.22 GiB
16:34:31  <Samu> at this point, I dunno if I expect a crash
16:34:46  <Samu> maybe it will
16:37:17  <nielsm> it kinda smells like BorkAI is a memory leak...
16:40:55  <Samu> it seems to cache all pathfind results
16:42:33  <Samu> also caches other stuff, cargo acceptance, industries, towns
16:42:38  <nielsm> a cache that does not invalidate items is a fancy name for a memory leak
16:42:55  <Samu> but what really raises mem usage is the RoadTransport
16:43:01  <Samu> in comparison
16:43:13  <Samu> the pathfinder results
16:44:02  <Samu> it then goes through all the results to pick the best, before building a route
16:44:06  <Samu> seems to be what it does
16:44:10  <Samu> didn't verify in code
16:44:28  <Samu> but yeah, it doesn't look like it's clearing the cache
16:44:53  <Samu> keeps the results maybe for posterior use? I dunno
16:52:18  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh updated pull request #7516: Custom allocators for Squirrel
16:53:01  *** gelignite has joined #openttd
16:54:33  <nielsm> hmm, supposedly MogulAI has allocated 100 MB, more than the heap size...
16:54:37  <nielsm> wtf
16:56:31  <Samu> :)
17:00:39  <nielsm> ...oh
17:00:47  <nielsm> I forgot to update usage in Free
17:02:39  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh updated pull request #7516: Custom allocators for Squirrel
17:04:44  <LordAro> lol
17:05:45  <V453000> is there some setting for maximum amount of newgrf stations or something?
17:07:52  <V453000> oh they're just missing labels in the station menu :0
17:08:25  <V453000> weird
17:11:15  <LordAro> V453000: upgrade to 1.9.1
17:11:43  <V453000>
17:11:45  <V453000> oh
17:11:48  <V453000> (:
17:11:53  <LordAro> :))
17:11:57  <V453000> will have to fix our updater script for that :D
17:12:33  <nielsm> hmm, allocating a 2 GB heap for each script is kinda slow
17:12:36  <nielsm> (in a debug build)
17:12:57  <peter1138> Hi.
17:13:00  <LordAro> strange that
17:13:31  * peter1138 ponders running an NRT server.
17:14:26  * peter1138 ponders having some beer.
17:14:44  <peter1138> Purchased from the local brewery, came in 2 litre plastic milk bottle :p
17:14:45  <Samu> what u say about that mem configurable?
17:15:05  <Samu> making the arena a configurable amount in config file
17:15:14  <Samu> bah my english today is bad
17:15:50  <LordAro> nielsm: why is an arena allocator necessary? what's wrong with just keeping track of amount of allocation and failing/erroring if it tries to go over that limit?
17:16:12  <nielsm> maybe it's not necessary
17:16:22  <nielsm> I'm just having fun
17:16:31  <peter1138> I wonder if it would be become possible to save the memory state of a VM/
17:16:35  <LordAro> fun? in a PR? shocking.
17:16:45  <Samu> AIs are fun, confirmed. nielsm AI soon
17:16:47  <peter1138> That would mean all the saveload crap AIs have to do would be unnecessary.
17:16:49  * LordAro hands peter1138 a 500MB save file
17:17:01  <peter1138> LordAro, true, but...
17:17:21  <LordAro> it could be compressible, but i wouldn't expect much
17:17:23  <peter1138> Limit AIs to 1MB each? :D
17:17:26  <nielsm> saving a memory image isn't quite feasible, it'd need a lot of pointer fixuppery
17:17:33  <peter1138> Oh, true.
17:17:40  <peter1138> Hmm, well.
17:19:28  <Samu> have you tried testing in a 32_bit openttd.exe?
17:21:00  <peter1138> So this AI sign in the top corner of a map...
17:21:07  <peter1138> With garbage in it.
17:21:15  <Samu> that's SCP
17:21:31  <peter1138> Which is?
17:21:40  <peter1138> Not Secure Copy Protocol.
17:22:03  <Samu> it's for NoCarGoal or CompanyValue GS
17:22:10  <Samu> ask zuu
17:22:15  <peter1138> What does SCP stand for?
17:22:18  <peter1138> And what does it do?
17:22:35  <Samu> script communication protocol
17:22:46  <Samu> communicate AI-GS via signs
17:22:49  <peter1138> I'm not running a GS so it's neither of them.
17:26:18  <nielsm> I guess the main advantage of an arena allocator would be that you can kill a squirrel VM with a single deallocation
17:27:34  <peter1138> Hmm
17:27:39  <nielsm>  <-- that's a lot of commit!
17:27:39  *** glx has joined #openttd
17:27:39  *** ChanServ sets mode: +v glx
17:28:10  <peter1138> WrightAI fails... cos it's 1880 :D
17:28:32  <peter1138> However, it managed to build an airport, even though there are no airports available.
17:28:37  <peter1138> I guess that could be fixed.
17:28:52  <Samu> you mean aircraft?
17:29:04  <peter1138> Yes.
17:29:23  <peter1138> As a player, I can't build them.
17:29:38  <peter1138> So I guess that is GUI-side :/
17:31:10  *** andythenorth has joined #openttd
17:31:23  <peter1138> Hi
17:31:41  <Samu> hi?
17:31:43  <Samu> hi
17:32:05  <peter1138> Hmm.
17:32:11  <peter1138> Infrastructure window needs love :-)
17:32:41  <Samu> borkai approaching 7 GiB soon
17:32:46  <nielsm> okay time to try running a release build for a while
17:33:16  <peter1138>
17:33:23  <Samu> bored of waiting for a crash that may or may not happen
17:33:27  <nielsm> lol
17:33:47  <glx> Samu: how much memory for now ?
17:33:57  <nielsm> electrified road, rubber boots required for pedestrian use
17:34:02  <andythenorth> yo
17:34:09  <Samu> 6.95 GiB
17:34:14  <peter1138> I wonder if it's that sign removal bug manifesting as a crash elsewhere? :p
17:34:23  <peter1138> nielsm, trolley bus!
17:34:36  <glx> so the memory is not the cause of the crash
17:34:43  <Samu> nop
17:34:56  <glx> it's about how garbage collector works I think
17:35:59  <Samu> garbage collector stalls are approaching 10 seconds each
17:36:04  <Samu> but doesn't crash
17:37:58  <nielsm> does windows task manager roughly agree with the memory usage figures in the framerate window?
17:38:18  <Samu> not sure
17:39:23  <Samu>
17:39:27  <Samu> looks like that
17:40:06  <nielsm> it's not entirely wrong at least
17:42:31  <glx> add the map, the vehicles, the stations, the orders, all the debug messages, ~2Go for OpenTTD itself not counting the VM seems right yes
17:43:52  <glx> and all the cargo packets ;)
17:46:01  *** Progman has joined #openttd
17:46:01  <peter1138> Hmm, so... scroll bar on this window I think :/
17:47:01  <peter1138>
17:47:04  <peter1138> Bit better, but...
17:47:17  <andythenorth> probs a scroll bar :P
17:47:35  <andythenorth> do we need to show pieces where the count is 0?
17:47:39  <andythenorth> it's not information
17:47:45  <Eddi|zuHause> peter1138: a collapsible tree?
17:48:04  <andythenorth> hiding 0 count pieces, doesn't solve any actual problems, just adds complexity :P
17:48:51  <Eddi|zuHause> (with compound statistics)
17:57:20  *** Wolf01 has joined #openttd
17:58:36  <Samu> glx, could gc crash be the result of memory fragmentation? or it's nothing to do with that?
17:59:57  * peter1138 ponders doing dinrar.
18:00:53  <Samu> woa, for the first time borkai reduced memory usage!
18:01:04  <Samu> 6.96 GiB -> 6.95 GiB
18:01:27  <dwfreed> something something margin of error
18:02:26  <Samu> i also dont see him pathfinding more routes
18:02:37  <Samu> maybe it pathfound them all
18:02:43  <Samu> i dunno, lol
18:03:32  <nielsm> can someone answer this?
18:05:54  <Samu> I was wrong, it just started more pathfinds
18:06:03  <peter1138> Ooh, a crash.
18:06:57  <Samu> gonna play path of exile for a bit, while there's still ram
18:09:31  *** Wormnest has joined #openttd
18:11:11  *** Eddi|zuHause2 has joined #openttd
18:15:56  *** Eddi|zuHause has quit IRC
18:28:41  *** Eddi|zuHause2 is now known as Eddi|zuHause
18:30:38  *** Thedarkb-T60 has quit IRC
18:35:13  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN opened pull request #7518: Fix #7235: Ensure catchment area of neutral station covers entire industry.
18:46:06  *** Thedarkb-T60 has joined #openttd
19:02:00  <andythenorth> well
19:02:10  <andythenorth> I should probably work
19:04:31  <peter1138> You should work on NRT.
19:05:02  <Wolf01> I should work on NRT too
19:05:46  <Wolf01> But I don't even know if I recognize it :P
19:06:33  *** Wormnest has quit IRC
19:06:58  <peter1138> What did you want to do to it?
19:07:25  <peter1138> There is a... slightly... minor... change.
19:07:56  <Wolf01> Town road types
19:08:59  *** HerzogDeXtEr has quit IRC
19:10:20  <peter1138> Oh, that's... kinda done.
19:10:57  <Wolf01> Really? I should compile a more recent version then
19:11:10  <peter1138> I recommend current?
19:13:14  <peter1138> There's a vague heuristic which could probably do with improvement :p
19:25:27  <peter1138> Wolf01, I guess I've been a bit keen in squashing it all, there's quite a few bug fixes other the past months.
19:27:54  <DorpsGek_II> [OpenTTD/OpenTTD] michicc approved pull request #7518: Fix #7235: Ensure catchment area of neutral station covers entire industry.
19:29:10  <Wolf01> Nice
19:30:11  <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7518: Fix #7235: Ensure catchment area of neutral station covers entire industry.
19:35:22  *** arikover has joined #openttd
19:36:42  *** Thedarkb1-T60 has joined #openttd
19:40:09  *** sla_ro|master has quit IRC
19:42:16  *** Gustavo6046 has quit IRC
19:42:28  *** Thedarkb-T60 has quit IRC
19:42:39  *** Gustavo6046 has joined #openttd
19:56:37  * andythenorth got distracted
19:56:47  <andythenorth> Wolf01: this is really good
19:59:36  <V453000> :0
20:11:30  <peter1138> Is it a newgrf?
20:14:56  <andythenorth> kinda
20:15:03  <Wolf01> andythenorth: bookmarked, thanks
20:15:12  <andythenorth> I have it running
20:15:22  <andythenorth> there are alternatives but none were as simple
20:17:46  <Wolf01> Indeed, it looks readable even to me
20:32:45  *** gareppa has joined #openttd
20:38:06  <Samu> back
20:38:16  <Samu> BorkAi at 7.07 GiB, no crash
20:39:15  <acklen> why are you expecting it to crash?
20:39:32  <acklen> as long as there's enough memory on your system, it should continue to run...
20:39:37  <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh updated pull request #7516: Custom allocators for Squirrel
20:40:08  <nielsm> the crash is probably not related to memory exhaustion/allocation failure then
20:40:25  <acklen> ah, you're trying to reproduce a crash
20:40:34  <nielsm> and more likely (as glx has been guessing at) a problem with the gc
20:41:14  <Samu> seems to be reproducible with NoCAB
20:41:15  <nielsm> someone mentioned the gc might be a recursive mark-and-sweep which can definitely have issues with complex or deep object graphs
20:41:44  <Samu> what does NoCAB do different than BorkAI?
20:43:15  <glx> maybe NoCAB use more local arrays than BorkAI
20:43:57  <glx> anyway a good GC should handle any kind of data without crashing
20:45:16  <Samu> BorkAI at 7.05 GiB, receeding, at times
20:46:16  *** Supercheese has joined #openttd
20:46:19  <glx> but high number of objects to be garbage collected, and recursion can clearly go wrong
20:46:25  <nielsm> yay linux is compiling again, and passing the regressions
20:47:54  <nielsm> hmm macos is being very slow on regressions
20:48:57  <glx> regression is slow for me locally but may be related to scanning ~1800 newgrfs ;)
20:49:57  <LordAro> nielsm: perhaps someone should try upgrading squirrel more thoroughly than TB did :)
20:50:16  <LordAro> @seen Truebrain
20:50:17  <DorpsGek> LordAro: Truebrain was last seen in #openttd 2 days, 2 hours, 49 minutes, and 11 seconds ago: <TrueBrain> if that is the excuse, I am done
20:50:19  <LordAro> :(
20:50:42  <glx> isn't there a compatibility issue for current script with newer squirrel ?
20:51:21  <LordAro> "possibly"
20:51:41  <LordAro> i don't think anyone's got far enough to prove as such
20:51:58  <nielsm> you mean upgradint to squirrel 3?
20:52:18  <LordAro> yeah
20:53:24  *** gelignite has quit IRC
20:54:15  <glx> the main issue is to merge our local changes I think
20:55:03  <LordAro> mm
20:55:11  <LordAro> the changes are not insiginificant
20:55:54  <nielsm> I definitely remember lua 5.0 to 5.1 upgrading being incompatible at the syntax level, and there's also been some issues with lua 5.1 to 5.2 though not as great
20:56:16  <nielsm> doesn't seem to have any documentation on the differences in the language between version 2, 3 and 3.1
20:56:50  <glx> squirrel doc is not the best ;)
21:00:14  <nielsm> yeah the syntax is not compatible between sq 2 and 3
21:00:24  <nielsm> there's keywords both added and removed
21:01:15  <peter1138> And if it's not compatible, why sq?
21:01:21  *** gareppa has quit IRC
21:03:06  <peter1138> Oh right, that setting is client-side only. hMM.
21:03:07  <peter1138> Hmm.
21:06:26  <LordAro> nielsm: are there keyword differences? i didn't see any...
21:06:35  <nielsm> so upgrading to squirrel 3 would mean either hacking up the parser so it still accepts the old syntax and somehow translates it to new syntax/semantics, or just announcing "guess all your GS and AI no longer work"
21:07:05  <LordAro> unless it's a keyword that no one had ever used
21:08:14  <nielsm> "delegate", "vargc", "vargv" removed
21:08:26  *** Progman has quit IRC
21:09:18  <peter1138> Should "Disable infrastructure building when no suitable vehicles are available" be... a server setting?
21:09:56  <nielsm> "base" added, and also __LINE__ and __FILES__ are keywords since squirrel 3.1
21:10:54  <LordAro> i feel like these are either uncommon enough to not worry about
21:11:08  <nielsm> and with the poor documentation who knows what unexpected semantic changes may have been made
21:11:21  <LordAro> s/either//
21:11:45  <LordAro> still think it's worth trying to play with any way
21:11:50  <peter1138> Terron AI uses delegate
21:11:57  <LordAro> damn.
21:12:08  <peter1138> return delegate new_container : {}; // returns "{}"
21:12:13  <peter1138> (No really?)
21:12:24  <LordAro> ...what
21:12:27  <peter1138> So, er, what's it replaced with? heh
21:12:37  <LordAro> is that a lambda function thing?
21:13:25  <peter1138> Anyway, it's GPL so can be fixed :p
21:13:36  <LordAro> lol
21:14:54  * peter1138 'accidentally' downloads everything available.
21:14:55  <nielsm> delegate keyword is apparently used to set the "parent" for a table
21:15:18  <nielsm> which is kinda like inheritance I guess?
21:15:58  <nielsm> it's replaced with a function call x.setdelegate()
21:16:22  <nielsm> and in sq 2 you retrieved the delegate via x.parent, in sq 3 you do it via x.getdelegate()
21:17:01  <peter1138> Only 3 files have the word delegate in them./
21:17:31  <glx> looking in current squirrel on github, nothing really changed in GC code
21:18:31  <peter1138> Not sure if the other 2 are actually squirrel delegates, or just a variable/method named delegate.
21:19:58  <peter1138> vargc/vargv used a bit more
21:20:20  *** andythenorth has left #openttd
21:22:41  <nielsm> so there's probably nothing to gain other than syntax trouble
21:22:46  <nielsm> if the gc isn't any different
21:23:04  <nielsm> unless there was a chance to get JIT? supposedly that exists in some form
21:23:16  <nielsm> (JIT to native code, presumably)
21:23:51  <peter1138> vargv still exists
21:23:58  <peter1138> vargc is replaced with vargv.len()
21:24:19  <nielsm> anyway it's way late and I should sleep,
21:24:21  <nielsm> gn
21:24:26  <peter1138> May be possible to fudge that one.
21:25:41  *** Thedarkb1-T60 has quit IRC
21:31:19  *** starraid has quit IRC
21:32:25  *** nielsm has quit IRC
21:44:52  *** Wolf01 has quit IRC
22:25:14  <Samu> bah, i died
22:30:36  *** fanioz_ has joined #openttd
22:34:51  *** fanioz has quit IRC
22:35:05  *** tokai|noir has joined #openttd
22:35:05  *** ChanServ sets mode: +v tokai|noir
22:42:04  *** tokai has quit IRC
22:56:44  *** Supercheese has quit IRC
23:09:53  *** arikover has quit IRC
23:09:56  *** Thedarkb1-T60 has joined #openttd
23:32:38  *** Corns has joined #openttd
23:51:57  *** Corns has quit IRC
23:52:52  *** Corns has joined #openttd

Powered by YARRSTE version: svn-trunk