Log for #openttd on 4th November 2019:
Times are UTC Toggle Colours
00:17:56  *** supermop_Home has quit IRC
00:23:55  *** Flygon has joined #openttd
00:40:03  *** HerzogDeXtEr has quit IRC
01:00:44  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 dismissed a review for pull request #7809: Fix #7631:  16 out cargo support for industry directory
01:00:44  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 updated pull request #7809: Fix #7631:  16 out cargo support for industry directory
01:23:11  *** Wormnest_ has quit IRC
01:34:11  *** supermop_Home has joined #openttd
02:48:21  *** Wormnest_ has joined #openttd
02:52:57  *** Wormnest__ has joined #openttd
02:59:41  *** Wormnest_ has quit IRC
03:15:13  *** Wormnest has joined #openttd
03:20:41  *** Wormnest__ has quit IRC
03:40:41  *** Wormnest has quit IRC
03:43:57  *** WormnestAndroid has quit IRC
03:45:22  *** WormnestAndroid has joined #openttd
03:50:48  *** D-HUND has joined #openttd
03:54:12  *** debdog has quit IRC
04:25:01  *** glx has quit IRC
04:58:06  *** Wormnest has joined #openttd
05:08:23  *** Wormnest has quit IRC
06:33:03  *** cadb0x has joined #openttd
06:34:00  *** cadb0x has left #openttd
06:35:09  *** cadb0x has joined #openttd
06:36:42  *** cadb0x has joined #openttd
06:39:48  *** rakcune has joined #openttd
06:53:12  *** rakcune has quit IRC
07:10:36  *** tokai has joined #openttd
07:10:36  *** ChanServ sets mode: +v tokai
07:17:33  *** tokai|noir has quit IRC
07:35:35  *** andythenorth has joined #openttd
07:41:58  *** Smedles_ has joined #openttd
07:45:06  *** Smedles has quit IRC
08:15:24  *** Smedles_ has quit IRC
08:15:32  *** D-HUND is now known as debdog
08:16:38  *** Smedles has joined #openttd
08:31:05  *** Smedles has quit IRC
08:32:20  *** Smedles has joined #openttd
09:15:12  *** andythenorth has quit IRC
09:18:47  *** Smedles has quit IRC
09:20:01  *** Smedles has joined #openttd
09:25:59  *** Smedles has quit IRC
09:27:17  *** Smedles has joined #openttd
09:31:14  *** Smedles has quit IRC
09:32:28  *** Smedles has joined #openttd
09:46:25  *** Smedles has quit IRC
09:47:39  *** Smedles has joined #openttd
10:22:01  <dihedral> greetings
10:44:49  <peter1138>   4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       39
10:44:57  <peter1138>   9 Power_On_Hours          0x0032   001   001   000    Old_age   Always       -       95881
10:45:02  <peter1138> Yay servers.
10:45:17  <peter1138> So this is one of the drives in my dying server.
10:45:40  <peter1138> Raw_Read_Error_Rate is... 0 on both.
10:45:52  <peter1138> No reallocated sectors.
10:45:56  <peter1138> No seek errors.
10:46:12  <peter1138> No pending sectors.
10:46:24  <peter1138> There seems to be nothing wrong with them.
10:46:46  <peter1138> I mean, other than them being 500GB PATA drives :D
10:46:58  <peter1138> I even have a PATA to SATA adapter... but it's the wrong way :(
11:02:24  <dihedral> oh dear lord!
11:02:56  <dihedral> so where are they failing?
11:03:37  <Eddi|zuHause> this would be the moment where you'd have started making backups years ago?
11:06:59  <peter1138> Well, the machine locked up as one of the disks went to sleep. I wonder if it's the PATA controller on the motherboard.
11:11:12  <_dp_> does it rly inline functions like that?
11:11:19  <_dp_> it's still a function pointer, not a functor
11:19:41  <Eddi|zuHause> peter1138: could also be the drive motor failing to start up again
11:20:56  <Eddi|zuHause> _dp_: "inline" is more like a suggestion nowadays anyway, you'd probably need to look at the compiler output
11:25:11  <_dp_> Eddi|zuHause, idk how to check compiler output put it's clearly supposed to be inlined and it's entirely possible, I just don't think it's happening currently
11:26:12  <Eddi|zuHause> there was this website where you can give it small programs and it gives you the output of various compilers, but i forgot the name
11:26:32  <_dp_> if I understand it correcly it should be either made into functor or passed as a template parameter to be inlined
11:38:47  <_dp_> yeah, looks like I'm right:
11:41:58  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on pull request #7809: Fix #7631:  16 out cargo support for industry directory
11:42:21  <Eddi|zuHause> _dp_: that output to me looks like the call is executed, and the other two are inlined
11:43:20  <_dp_> Eddi|zuHause, yeah, and t1 is how it's currently done in openttd, t2 is adding same func to template and t3 is functor
11:44:32  <Eddi|zuHause> _dp_: and is that all c++11?
11:45:22  <_dp_> Eddi|zuHause, should be the same in 11
11:45:28  <_dp_> I just used lambda to make functor
11:53:22  <Eddi|zuHause> _dp_: shouldn't be too hard to rewrite it to the 2nd way?
11:54:25  <_dp_> Eddi|zuHause, it's even easier with 3rd, since template is the same, just need to wrap function in a class
11:55:28  <Eddi|zuHause> i'm not quite sure i understand how the 3rd one works
11:58:04  <_dp_> Eddi|zuHause, since class is a template parameter compiler knows what function to call
11:58:24  <_dp_> and is even smart enough to optimize out that member variable
11:58:53  <_dp_> sizeof(t1), sizeof(t2), sizeof(t3) -> 8, 1, 1
11:59:58  <_dp_> basically, with t1 problem is that you can pass a different function in constructor
12:01:32  <Eddi|zuHause> yeah, i get what the t1 problem is
12:01:58  <Eddi|zuHause> but i don't see how t3 circumvents this
12:02:17  <_dp_> t3 is a very common thing btw, a lot of stl stuff works like that
12:03:53  <Eddi|zuHause> that still doesn't answer my question
12:04:49  <Eddi|zuHause> if i ask "why should i do X" and you answer "well, everybody does X", what do you think i take from the conversation? :p
12:06:08  <_dp_> yeah, I'm just googling a good article about it
12:06:43  <_dp_> I know it explained very well in one of Scott Meyers books but that doesn't seem to be online
12:19:03  <_dp_> didn't find anything good but basically t3 is the same as t2, since it's not virtual and class is a template parameter compiler knows exactly what function to call/inline
12:21:24  *** andythenorth has joined #openttd
12:25:50  <_dp_> oh, lambdas are c+11
12:25:56  <_dp_> that makes it even simpler
13:19:16  *** Samu has joined #openttd
13:32:03  <DorpsGek_III> [OpenTTD/OpenTTD] SamuXarick updated pull request #7661: Codechange: Rework 'start_date' parameter for AIs as a game setting
13:32:04  <Samu> hi
13:33:36  <andythenorth> yo
13:53:42  *** Flygon has quit IRC
14:03:18  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 updated pull request #7809: Fix #7631:  16 out cargo support for industry directory
14:53:22  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 updated pull request #7805: Fix #7646: incomplete cleanup for non-threaded world generation failure
15:09:23  <DorpsGek_III> [OpenTTD/website] glx22 opened pull request #111: Add: MSVC pdb to file description list
15:38:10  <DorpsGek_III> [OpenTTD/website] LordAro commented on pull request #111: Add: MSVC pdb to file description list
15:55:59  *** Wormnest has joined #openttd
15:56:54  *** EobardThawne has joined #openttd
16:00:16  *** WormnestAndroid has quit IRC
16:00:33  *** WormnestAndroid has joined #openttd
16:05:04  <DorpsGek_III> [OpenTTD/website] glx22 commented on pull request #111: Add: MSVC pdb to file description list
16:39:53  <andythenorth> was lunch discussed?
16:39:57  * andythenorth wasn't paying attention
16:40:22  <Eddi|zuHause> i had something that might pass as lunch
16:42:05  <andythenorth> I had a sandwich, some toast, some crisps, some cookies, some corn snacks, some cheese, and a lot of oranges
16:42:12  <andythenorth> but I don't know if I'd call it lunch
16:46:33  *** glx has joined #openttd
16:46:33  *** ChanServ sets mode: +v glx
16:54:48  *** sla_ro|master has joined #openttd
17:02:43  <DorpsGek_III> [OpenTTD/website] TrueBrain closed pull request #111: Add: MSVC pdb to file description list
17:02:43  <DorpsGek_III> [OpenTTD/website] TrueBrain commented on pull request #111: Add: MSVC pdb to file description list
17:03:13  <DorpsGek_III> [OpenTTD/website] TrueBrain commented on pull request #111: Add: MSVC pdb to file description list
17:21:44  <andythenorth> oh it's TrueBrain
17:21:47  <andythenorth> how nice :)
17:32:44  *** HerzogDeXtEr has joined #openttd
17:58:34  *** andythenorth has quit IRC
18:26:58  *** andythenorth has joined #openttd
18:29:24  <glx> hmm so I'll try to run the website locally, via docker in my debian VM, because docker on windows feels complicated
18:29:47  <glx> "Microsoft Hyper-V is required to run Docker Desktop. The Docker Desktop Windows installer enables Hyper-V if required, and restarts your machine. When Hyper-V is enabled, VirtualBox no longer works. However, any existing VirtualBox VM images are retained." <-- especially this part of the docs
18:31:20  <TrueBrain> That version only works with Windows 10 Pro btw
18:31:25  <TrueBrain> Not with Home
18:31:28  <TrueBrain> Last I tried
18:31:28  <glx> indeed
18:31:44  <glx> Windows 10 64-bit: Pro, Enterprise, or Education (Build 15063 or later).
18:31:54  <glx> so yes the VM is the way to go
18:31:59  <TrueBrain> It's a bit lame
18:32:33  <glx> I also try to install jekyll locally, but I fail at "bundle install" steap
18:32:37  <glx> *step
18:33:52  <glx> maybe because I installed ruby 2.6.x
18:34:32  <glx> Could not find gem 'ruby  (< 2.6)' <-- seems so
18:35:16  <andythenorth> ha ha :)
18:35:24  <andythenorth> sorry :)
18:35:33  <andythenorth> give me a minute
18:35:50  <EobardThawne> hi
18:35:52  <glx> same happened when I installed python, I needed to uninstall and use the previous one
18:35:54  <andythenorth> glx:
18:35:59  <andythenorth> I don't know if that will work
18:36:10  <andythenorth> but if I've learnt one thing, it's the value of repeatable builds
18:36:18  <andythenorth> and not just "I am l33t so I can fix all things"
18:36:36  <andythenorth> that was mac specific
18:36:54  <EobardThawne> whats openttdcoop ?
18:37:16  <andythenorth> glx: ^^ that may be of zero relevance for you, but eh, I tried :D
18:37:32  <andythenorth> EobardThawne:
18:37:51  <andythenorth> Coop is multiplayer servers, plus gameplay tips, plus devzone for newgrfs and other content
18:38:49  <EobardThawne> but its not a different game?
18:39:40  <glx> <-- I think it's clearly a jekyll issue, even if the doc says "We only cover RubyInstaller-2.4 and newer here"
18:41:44  <andythenorth> the nice thing
18:41:52  <andythenorth> it's not just python packaging that's fucked
18:42:17  <glx> hmm or maybe it's just powershell
18:43:28  <glx> because "jekyll -v" fails too in powershell, while it works in "cmd"
18:44:16  <glx> ah no, jekyll -v fails in cmd too if ran from website folder
18:44:31  <glx> but it's ok from any other location
18:44:34  *** Progman has joined #openttd
18:44:51  <glx> silly tool :)
18:50:03  *** tokai|noir has joined #openttd
18:50:03  *** ChanServ sets mode: +v tokai|noir
18:56:56  *** tokai has quit IRC
20:08:07  <peter1138> EobardThawne, yeah, it's a group of players who play co-operatively, with the standard game.
20:13:07  <DorpsGek_III> [OpenTTD/OpenTTD] JGRennison opened pull request #7825: Fix #7783, #7816: SDL2: Fix various issues with keyboard input
20:38:20  *** tokai has joined #openttd
20:38:20  *** ChanServ sets mode: +v tokai
20:42:22  *** ADikT has joined #openttd
20:45:22  *** tokai|noir has quit IRC
20:58:48  *** arikover has joined #openttd
20:59:22  *** sla_ro|master has quit IRC
21:26:49  *** EobardThawne has quit IRC
21:37:59  *** HerzogDeXtEr has quit IRC
21:40:00  <DorpsGek_III> [OpenTTD/OpenTTD] Eric-01 commented on pull request #7809: Fix #7631:  16 out cargo support for industry directory
21:54:17  <glx> "I think this shouldn't be hard to implement" <-- if only
21:55:04  <LordAro> aha
21:55:35  <glx> the idea is good
22:06:13  *** andythenorth has quit IRC
22:07:34  *** Progman has quit IRC
22:18:52  *** beno__ has quit IRC
23:21:31  *** cHawk has joined #openttd
23:23:18  *** Wormnest has quit IRC
23:24:27  *** marijnvdwerf has joined #openttd
23:26:38  <marijnvdwerf> TrueBrain: I was researching DOS reverse engineering, and found OpenDune. Do you have any info/posts on how the emu-assembly was dumped?
23:27:13  *** cHawk- has quit IRC
23:29:26  *** arikover has quit IRC
23:30:34  <Eddi|zuHause> wasn't alberth involved with that?
23:36:12  *** Samu has quit IRC

Powered by YARRSTE version: svn-trunk