IRC logs for #openttd on OFTC at 2021-12-14
            
00:08:23 *** Etua has quit IRC (Quit: Etua)
00:45:02 <DorpsGek> [OpenTTD/OpenTTD] LC-Zorg started discussion #9751: Improvements for the server list window https://git.io/JDBDj
00:50:49 <DorpsGek> [OpenTTD/OpenTTD] James103 commented on discussion #9751: Improvements for the server list window https://git.io/JDBDj
01:24:06 <DorpsGek> [OpenTTD/OpenTTD] LC-Zorg commented on discussion #9751: Improvements for the server list window https://git.io/JDBDj
01:34:48 *** Elouin has quit IRC (Quit: Ping timeout (120 seconds))
01:41:44 *** Elouin has joined #openttd
01:55:08 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
01:55:57 *** WormnestAndroid has joined #openttd
02:24:25 *** Tirili has quit IRC (Quit: Leaving)
02:28:33 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
02:30:07 *** WormnestAndroid has joined #openttd
03:05:29 *** _aD has quit IRC (Quit: leaving)
03:21:28 *** D-HUND has joined #openttd
03:24:53 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:29:10 *** Wormnest has quit IRC (Quit: Leaving)
03:50:33 *** Compu has joined #openttd
03:51:13 *** Compu has quit IRC ()
04:08:54 *** glx has quit IRC ()
04:16:08 *** Flygon has joined #openttd
05:36:09 *** sla_ro|master has joined #openttd
06:20:04 *** D-HUND is now known as debdog
06:54:37 *** nielsm has joined #openttd
07:06:32 *** andythenorth has joined #openttd
07:10:38 *** nielsm has quit IRC (Ping timeout: 480 seconds)
07:48:30 *** tokai|noir has joined #openttd
07:48:30 *** ChanServ sets mode: +v tokai|noir
07:55:25 *** tokai has quit IRC (Ping timeout: 480 seconds)
08:12:11 *** sla_ro|master2 has joined #openttd
08:13:26 *** sla_ro|master has quit IRC (Ping timeout: 480 seconds)
08:34:22 *** Smedles has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
08:34:40 *** Smedles has joined #openttd
08:43:20 <DorpsGek> [OpenTTD/OpenTTD] codetwice commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
08:59:20 *** sla_ro|master2 has quit IRC ()
09:13:28 *** WormnestAndroid has quit IRC (Remote host closed the connection)
09:19:38 *** sla_ro|master has joined #openttd
09:48:33 <DorpsGek> [OpenTTD/OpenTTD] andythenorth commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
09:56:35 *** iSoSyS has joined #openttd
09:56:46 *** iSoSyS has quit IRC ()
10:51:53 *** WormnestAndroid has joined #openttd
11:38:11 *** gelignite has joined #openttd
11:47:02 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
11:50:48 *** sla_ro|master has quit IRC ()
11:52:30 *** sla_ro|master has joined #openttd
13:32:22 <DorpsGek> [OpenTTD/OpenTTD] Limyx826 opened issue #9752: [Bug]: Nightly stuck at 20211128-master-g802ca4e722 https://git.io/JD0QE
13:35:17 <DorpsGek> [OpenTTD/OpenTTD] James103 commented on issue #9752: [Bug]: Nightly stuck at 20211128-master-g802ca4e722 https://git.io/JD0QE
13:40:37 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #9752: [Bug]: Nightly stuck at 20211128-master-g802ca4e722 https://git.io/JD0QE
13:40:40 <DorpsGek> [OpenTTD/OpenTTD] glx22 closed issue #9752: [Bug]: Nightly stuck at 20211128-master-g802ca4e722 https://git.io/JD0QE
13:42:08 *** glx has joined #openttd
13:42:08 *** ChanServ sets mode: +v glx
13:43:21 <glx> usually it's reported faster :)
14:28:21 *** sla_ro|master2 has joined #openttd
14:33:46 *** sla_ro|master has quit IRC (Ping timeout: 480 seconds)
15:04:51 *** sla_ro|master has joined #openttd
15:08:27 *** sla_ro|master2 has quit IRC (Ping timeout: 480 seconds)
15:10:08 *** nielsm has joined #openttd
15:27:02 *** Etua has joined #openttd
15:38:38 *** Etua has quit IRC (Quit: Etua)
15:58:20 <nielsm> https://www.tt-forums.net/viewtopic.php?p=1250381#p1250381 <-- asking for old version downloads, which still aren't available on the "new" website... should we just link the CDN directory?
16:00:39 <LordAro> pretty sure there's no issues linking the CDN
16:03:43 <TrueBrain> yup, that is fine
16:04:26 <TrueBrain> glx: yeah, James is slacking :P
16:04:29 <TrueBrain> tnx for fixing :)
16:18:41 *** geli has joined #openttd
16:18:41 *** gelignite has quit IRC (Read error: Connection reset by peer)
16:30:49 *** Wormnest has joined #openttd
17:06:33 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
17:16:09 *** sla_ro|master2 has joined #openttd
17:21:25 *** sla_ro|master has quit IRC (Ping timeout: 480 seconds)
17:31:16 *** frosch123 has joined #openttd
17:34:59 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
17:43:27 <glx> hmm it indeed may be a case of trying to draw sprites before they are actually loaded
17:43:57 <frosch123> it the toolbar also active in main menu? i assumed it only makes sense in-game
17:44:55 <glx> I assume it's always active, but I don't really know
17:45:50 *** Wolf01 has joined #openttd
17:45:54 <andythenorth> I haven't tried it
17:45:57 <andythenorth> no emojibar
17:48:12 <frosch123> did someone look up the PR author and ping them? it's troublesome to have a feature that noone can debug or even test :)
17:49:24 <glx> I'll ping him in the issue
17:49:42 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
17:51:29 <glx> hehe let's drop macos support then ;)
17:52:14 <andythenorth> whoooosh
17:53:08 <nielsm> OTTD is now a browser game
17:53:28 <frosch123> is there a clang-tidy rule that bans all usage of new[] ?
17:53:41 <frosch123> imo new[] is always wrong, everyone should use std::vector
17:55:59 <LordAro> https://clang.llvm.org/extra/clang-tidy/checks/list.html none that i can see
17:56:43 <glx> in my test, the crash happens during GetSprite(), so I may be totally wrong in my testing
17:57:12 <LordAro> https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-no-malloc.html this seems closest
17:58:09 <frosch123> glx: it checks SpriteExists() though
17:58:30 <frosch123> (in cocoa_wnd.mm)
17:58:32 <glx> yes, and that returns false, so it fallsback to ?
17:59:08 <frosch123> that sounds like a race condition then
17:59:23 <frosch123> if it passes the SpriteExists check in cocoa_wnd.mm and later it is missing
17:59:33 <glx> ah yes indeed, my test may be wrong then
18:02:41 <glx> hmm SpriteExists() return value may change in the middle of GfxLoadSprites()
18:03:07 <frosch123> LordAro: https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-c-arrays.html <- too extreme :)
18:03:15 <glx> GfxInitSpriteMem() deletes the cache then LoadSpriteTables() rebuilds it
18:05:27 <frosch123> i think the spriteloading runs in the gameloop-thread, which is different from the os-eventloop thread
18:05:43 <frosch123> so i think both the calls to render the sprite and the call to process the buttonclick are invalid
18:05:47 <LordAro> frosch123: haha, yes
18:06:07 <glx> sprites are loaded in AfterLoadGame() and during game generation
18:07:24 <nielsm> hmm... have a flag somewhere for "baseset finished loading", and if that isn't set then attempts to get regular sprites insta-fails? or will that cause trouble with text rendering?
18:07:37 <frosch123> pff, my editor does not know any syntax highlighting for mm :p
18:08:07 <frosch123> nielsm: that case is fine. it can handle the situation that the sprite is missing
18:08:31 <frosch123> however, what would fail is if it draws the toolbar in a separate thread parallel to the spriteloading
18:08:42 <frosch123> whether that is the case is unclear to me :)
18:09:59 <glx> yeah missing sprite is not the issue here, here it seems we are in "sprite disappear in the middle of drawing" case because different threads
18:10:45 <nielsm> okay yeah critical section on the sprite storage then...
18:11:37 <nielsm> spriteloader should probably repeatedly take and release it every time it adds a new sprite, and sprite drawing would also need to take it for each sprite attempted drawn
18:11:45 <frosch123> cocoa_wnd calls key/mouse handling functions all over the place though
18:11:56 <frosch123> so, if it runs in a thread, every mouse movement is a potential crash :p
18:13:01 <Rubidium> ah... that sounds familiar with my macos experience ;)
18:13:16 <glx> but mouse is drawn only in GUI thread so it works by luck ?
18:13:33 <frosch123> not drawing, i mean the input events
18:13:45 <frosch123> does osx stuff even run in threads?
18:14:18 <frosch123> in the sdl code there is a clear separation with mutexes, drawing and input events
18:14:29 <frosch123> i have no idea where that stuff is for osx, or whether it even exists :)
18:14:34 <nielsm> yeah I'm pretty sure the OSX GUI is quite free threaded
18:14:58 <LordAro> michi rewrote it to be more "modern", iirc?
18:16:50 <frosch123> oh, the OTTD_CocoaWindow thingie is new in that PR, so maybe it escapes the mutex
18:20:44 <frosch123> ok, so that makes the toolbar drawing different from the inputevents
18:21:07 <frosch123> so the inputloop is probably synchronised, while the drawing is not
18:22:56 <glx> no it's not new, it depends on HAVE_OSX_1015_SDK
18:23:21 <glx> before the PR it was just @interface OTTD_CocoaWindow : NSWindow
18:28:37 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
18:30:06 <glx> oh yes, like the cursor sprites
18:30:44 <DorpsGek> [OpenTTD/OpenTTD] danskidb commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
18:32:42 <frosch123> looks like a race condition when writing the comments :)
18:34:03 <glx> funny, VideoDriver::PopulateSystemSprites() is implemented only for opengl
18:36:14 <glx> but touchbar seems to be a good candidate for use in non opengl too
18:36:56 <DorpsGek> [OpenTTD/OpenTTD] codetwice commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
18:49:24 <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/JDE13
18:49:25 <DorpsGek> - Update: Translations from eints (by translators)
18:49:53 <glx> yeah nighlies are back :)
18:54:17 <DorpsGek> [OpenTTD/OpenTTD] danskidb commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
18:55:21 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
19:00:26 *** sla_ro|master has joined #openttd
19:04:19 *** WormnestAndroid has quit IRC (Read error: No route to host)
19:05:23 *** sla_ro|master2 has quit IRC (Ping timeout: 480 seconds)
19:15:46 <andythenorth> what's for tea today?
19:18:53 <frosch123> you can get plenty of hot water from the java department
19:19:01 <frosch123> it's still burning
19:19:27 <frosch123> andythenorth: do you know any xmas-themed newgrf?
19:19:49 <frosch123> turns out i am hosting a openttd-team-event at work this week
19:20:14 <andythenorth> there was a christmas tree
19:20:16 <frosch123> i recall there was some tree grf
19:20:41 <frosch123> "christmas town names" <- wtf?
19:21:03 <frosch123> 85 festive town names based on actual places in the us...
19:21:07 <frosch123> no idea what that means
19:22:03 <frosch123> citymania christman event depends on nuts :p
19:23:58 *** WormnestAndroid has joined #openttd
19:24:41 <frosch123> "angels camp", "brandy city", "gold", "holly", "joy", "nazareth", "reindeer", "rudolph"...
19:24:58 <frosch123> not sure i want that
19:26:16 <frosch123> well, looks like the citymania newgrf adds a christmas tree, but it also forces toyland industries :p
19:26:56 <andythenorth> controversial idea: make a grf :D
19:27:03 <andythenorth> we have some new tool for it
19:27:22 <frosch123> i won't use any non-bananas newgrf :)
19:29:01 <frosch123> also, is "pumpkin" really christman themed? is haloween part of christmas?
19:36:10 <TrueBrain> openttd-team-event or openttd-theme-event?
19:38:54 <frosch123> 4 people playing openttd
19:39:05 <frosch123> one of them dutch :)
19:42:06 <andythenorth> hmm maybe I should stop reading twitter now
19:42:16 <andythenorth> I have turned into 'man shouting at cloud about log4j'
19:42:31 <andythenorth> https://wompampsupport.azureedge.net/fetchimage?siteId=7575&v=2&jpgQuality=100&width=700&url=https%3A%2F%2Fi.kym-cdn.com%2Fphotos%2Fimages%2Fnewsfeed%2F001%2F044%2F247%2F297.png
19:52:18 <dP> frosch123, here is what cm christmas grf is for: https://citymania.org/forum/topic/82-event-christmas-event-2016
19:52:21 <dP> it's actually quite nice
19:52:34 <dP> there is also a save somewhere in the thread
19:54:13 <frosch123> yeah, can't play that with first-time players :)
19:57:13 <TrueBrain> you found OpenTTD virgins?
19:57:15 <TrueBrain> impressive!
19:58:23 <dP> it's not that bad for first time since it disables everything but meow engines from nuts
19:58:40 <dP> though there is still refit and purr
20:03:31 *** jottyfan has joined #openttd
20:13:49 *** sla_ro|master has quit IRC ()
20:17:47 *** sla_ro|master has joined #openttd
20:22:38 <DorpsGek> [OpenTTD/OpenTTD] codetwice commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
20:41:14 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
20:43:34 *** tokai|noir has quit IRC (Quit: c('~' )o)
20:51:15 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #9743: [Crash]: OpenTTD crashes on startup (MacBook Pro 2020, M1) https://git.io/JDCuI
21:12:29 *** jottyfan has quit IRC (Quit: jottyfan)
21:20:05 <andythenorth> well now what?
21:20:17 <andythenorth> I have forgotten how to do anything but log4j
21:22:50 <andythenorth> :P
21:24:55 <peter1138> Just grow up.
21:25:02 <peter1138> Fund yourself $300k a year.
21:26:10 <andythenorth> YES!
21:26:47 <andythenorth> oh lovely chap called Brian deleted a tweet https://twitter.com/andyfacts/status/1470794707211104257
21:26:51 <andythenorth> it didn't go well
21:27:27 <TrueBrain> but what did it say?!
21:28:04 <andythenorth> something something "why don't these open source devs feel any remorse for their terrible decisions"
21:28:13 <andythenorth> Twitter responded
21:29:16 <TrueBrain> "Opinions are mine, even bad ones"
21:29:18 <TrueBrain> sounds about right
21:29:30 <peter1138> I actually feel less remorse about the decisions in my paid-for work.
21:29:30 <andythenorth> such internet
21:29:36 <andythenorth> @peter1138 same
21:29:51 <andythenorth> oh wait this isn't discord :P
21:29:52 <andythenorth> sorry
21:29:57 <TrueBrain> at work it is easy .. "I only got paid for this, fuck off" :P
21:29:57 <peter1138> Possibly because they are due to someone asking me to do something, instead of me just deciding to.
21:30:07 <peter1138> Yeah
21:30:26 <andythenorth> I feel remorse because I started the company, and we sometimes cause customers less than ideal days
21:30:35 <andythenorth> but on the other hand we do try to fix that
21:30:42 <andythenorth> and they're paying
21:33:24 <andythenorth> anyway turns out I broke FIRS
21:33:27 <andythenorth> randomly stops working
21:33:38 <andythenorth> 'probably log4j'?
22:02:11 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #9725: Template DoCommand and friends https://git.io/JDuvp
22:18:46 <andythenorth> hmm bedtime
22:18:47 *** andythenorth has quit IRC (Quit: andythenorth)
22:24:12 *** nielsm has quit IRC (Ping timeout: 480 seconds)
22:31:24 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
22:31:27 *** WormnestAndroid has joined #openttd
23:36:15 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:47:50 *** virtualrandomnumber has joined #openttd
23:48:05 *** virtualrandomnumber has quit IRC ()
23:49:53 *** sla_ro|master has quit IRC ()