Config
Log for #openttd on 23rd July 2019:
Times are UTC Toggle Colours
00:31:27  <Beerbelott> glx: OK thx
00:35:12  *** Jyggalag has joined #openttd
00:38:12  *** Sheogorath has quit IRC
00:38:22  *** Jyggalag has quit IRC
01:25:04  *** Smedles has quit IRC
01:27:09  *** Smedles has joined #openttd
02:10:16  *** Sheogorath has joined #openttd
02:44:58  *** Wormnest__ has joined #openttd
02:48:44  *** Smedles has quit IRC
02:49:08  *** Smedles has joined #openttd
02:51:45  *** Wormnest_ has quit IRC
03:02:39  *** D-HUND has joined #openttd
03:05:59  *** debdog has quit IRC
03:09:50  *** glx has quit IRC
03:10:39  <Beerbelott> What is this? https://github.com/OpenTTD/OpenTTD/blob/master/src/network/core/address.cpp#L266
03:11:25  <Beerbelott> Using commit hash to avoid the line moving: https://github.com/OpenTTD/OpenTTD/blob/7c8e7c6b6e16d4a26259a676db32d8776b99817e/src/network/core/address.cpp#L266
03:28:09  <DorpsGek_II> [OpenTTD/OpenTTD] telk5093 commented on pull request #7658: Add: 'getsysdate' console command https://git.io/fjDJR
04:51:52  *** Gareth_ has joined #openttd
05:26:59  *** Gareth_ has quit IRC
05:32:01  *** sla_ro|master has joined #openttd
05:57:59  *** Beerbelott has left #openttd
07:09:25  <nakki> eugh, opening curls on new lines irk me
07:09:51  <nakki> but i guess that's because my first language was java
07:39:21  <Eddi|zuHause> it's not really about one way being superior to the other, but to be consistent across the whole codebase you need choose one.
07:39:35  <nakki> yes, of course
07:41:38  <Eddi|zuHause> and if it goes against your "native" codestyle, you can still program with that one, and do some minor touchups in the review process to adjust
08:11:06  *** sla_ro|master has quit IRC
08:12:14  <DorpsGek_II> [OpenTTD/OpenTTD] kiwitreekor commented on pull request #7575: Feature: Add industry production graph https://git.io/fjDkn
08:41:58  *** Samu has joined #openttd
08:45:37  <Eddi|zuHause> "Building and Testing a Lego-powered Submarine"... so... it burns lego bricks to propel itself?
09:10:22  *** techmagus has quit IRC
09:11:13  *** techmagus has joined #openttd
09:44:57  *** sla_ro|master has joined #openttd
10:32:08  *** andythenorth has joined #openttd
10:40:24  <andythenorth> yo
10:49:46  *** Wacko1976 has joined #openttd
10:52:38  *** sla_ro|master has quit IRC
10:56:09  *** andythenorth has quit IRC
10:56:48  *** andythenorth has joined #openttd
11:00:54  *** Samu has quit IRC
11:18:16  *** Wacko1976 has quit IRC
12:23:41  *** Samu has joined #openttd
12:23:55  <Samu> hi
12:55:40  *** quiznilo has quit IRC
13:05:13  *** Trinity^ has quit IRC
13:16:40  *** Samu has quit IRC
13:50:02  *** nielsm has joined #openttd
13:54:32  <andythenorth> Horse 97%
13:54:36  <andythenorth> 8 left to draw
13:54:57  <Eddi|zuHause> you're entering the danger zone
13:59:56  <andythenorth> what could happen? :o
14:17:41  <peter1138> Variations.
14:22:43  <andythenorth> ouch
14:26:24  <peter1138> Andrew Lloyd-Webber's Variations. Good album.
14:59:38  *** Samu has joined #openttd
14:59:53  <Samu> hi
15:06:54  <Samu> @logs
15:06:54  <DorpsGek> Samu: https://webster.openttdcoop.org/index.php?channel=openttd
15:12:07  <nielsm> well, I ended up submitting a question to Discord's developer support, asking about their SDK licensing and whether/how it's compatible with GPL
15:12:33  <andythenorth> ice cream headache
15:13:12  <nielsm> I'm thinking about making a DLL that does the main integration work for rich presence, and then making a thin call api between that DLL and OTTD, and letting the DLL be dynamically discovered and loaded
15:15:22  <nielsm> I don't know if it's available without an account, but their license agreement doesn't make it much clearer: https://discordapp.com/developers/docs/legal
15:15:45  <nielsm> only thing I can gather from it is that dumping their SDK source into a GPL git repository would be no-go
15:16:33  *** HerzogDeXtEr has joined #openttd
15:23:15  <andythenorth> how many carolies in a Vienetta?
15:40:48  *** Gumle2 has joined #openttd
16:06:27  *** andythenorth has quit IRC
16:09:05  *** Gumle2 has quit IRC
16:18:45  *** sla_ro|master has joined #openttd
16:18:57  <Eddi|zuHause> nielsm: independent of this licensing question, it should probably be prepared to talk to other similar apps
16:21:06  <nielsm> Eddi|zuHause yeah, I'd make it a generic "integration api" for ottd so you basically just dump a DLL that ottd calls into when the player starts/joins a game and during certain events
16:21:17  <nielsm> and then the dll does whatever
16:25:40  *** rocky11384497 has quit IRC
16:30:09  *** Samu has quit IRC
16:30:25  *** andythenorth has joined #openttd
16:34:53  *** Samu has joined #openttd
16:36:19  <andythenorth> yo
16:40:44  <Samu> hi
16:40:51  *** Alberth has joined #openttd
16:40:51  *** ChanServ sets mode: +o Alberth
16:41:03  <Alberth> o/
16:42:44  *** Progman has joined #openttd
16:43:41  <Markk> \o
16:46:57  *** cHawk has quit IRC
16:47:24  *** quiznilo has joined #openttd
16:47:24  <LordAro> o7
16:48:10  <Alberth> hi lord
17:01:18  *** gelignite has joined #openttd
17:02:42  *** cHawk has joined #openttd
17:09:36  *** Wacko1976 has joined #openttd
17:11:14  *** frosch123 has joined #openttd
17:14:42  *** sla_ro|master2 has joined #openttd
17:16:17  *** Wolf01 has joined #openttd
17:18:16  *** sla_ro|master has quit IRC
17:19:56  *** glx has joined #openttd
17:19:56  *** ChanServ sets mode: +v glx
17:22:09  *** Tempus2 has joined #openttd
17:30:40  <andythenorth> quak
17:31:40  <Alberth> hi
17:32:27  <frosch123> moo
17:37:38  <andythenorth> anything I can do to help modernise devzone? o_O
17:40:35  <frosch123> https://github.com/frosch123/NewGRFfarm <- it probably needs some gui
17:41:04  <frosch123> first i thought jenkins, but it needs so much manual stuff per project
17:41:16  <frosch123> i wanted to look into buildbot, but didn't yet
17:41:34  <frosch123> basically some tool to display build logs
17:43:28  *** cHawk has quit IRC
17:43:50  *** cHawk has joined #openttd
18:03:00  <andythenorth> Jenkins won CI as far as I know
18:03:27  <andythenorth> I have very little use for the Jenkins GUI on devzone though
18:03:32  <andythenorth> I use it more at work
18:21:13  <Alberth> andy: I bisected the build-train bug back to d54b6ac09b6fe88c09f7886739fe9c05f16b8222  (feb 28th)
18:23:48  <andythenorth> interesting
18:25:18  *** Gumle2 has joined #openttd
18:30:27  *** rocky11384497 has joined #openttd
18:33:04  *** Samu has quit IRC
18:36:13  <DorpsGek_II> [OpenTTD/OpenTTD] Alberth289346 opened issue #7667: Buying an engine after buying wagons doesn't give a complete train. https://git.io/fjDn5
18:47:25  *** Gumle2 has quit IRC
19:17:16  <andythenorth> Horse 98%
19:18:25  *** Samu has joined #openttd
19:33:52  <DorpsGek_II> [OpenTTD/OpenTTD] stormcone opened pull request #7668: Fix #7667: Buying an engine after buying wagons doesn't give a comple… https://git.io/fjDc9
19:41:07  <Samu> who the heck makes the portuguese translations? It's terrible
19:42:17  <Samu> it's like someone put it through some translator, not caring where it's aimed at... arf
19:43:19  <Samu> "quantidade de atraso do percurso do comboio" - this is in the framerate window
19:43:29  <Samu> what the heck is this, rofl
19:43:43  <glx> probably translated without knowing the context
19:46:17  <Samu> "Train ticks"
19:46:37  <Samu> it ruins the window title, it makes the graph be so out of place
19:46:59  <andythenorth> you can rebuild him ;)
19:47:25  <Eddi|zuHause> i'm having a feeling this "fix" is too easy to be true
19:48:08  <Samu> why is game loop total in blue for portuguese, but black in english
19:49:00  <Samu> i thought portuguese was being handled properly, it's been alright up to a few years ago
19:49:14  <Samu> didn't bother to translate myself
19:51:00  <DorpsGek_II> [OpenTTD/OpenTTD] michicc commented on pull request #7668: Fix #7667: Buying an engine after buying wagons doesn't give a comple… https://git.io/fjDCq
19:51:05  <Tempus2> That's how free open software works :P
19:52:22  <Samu> brazillian portuguese looks much more professional
19:52:32  <Samu> the guy know what was doing there
19:52:42  <Tempus2> I always reply this to people that complain about free software: Demand your money back!
19:53:23  <Tempus2> But between the lines I am really saying: Contribute!
19:53:24  <Samu> albeit they forced white
19:53:33  <Samu> that's kinda like modding
19:54:04  <Tempus2> What is kind of like modding?
19:54:06  <Samu> AI names show in black
19:54:18  <Samu> the brazillian portuguese framerate window
19:54:32  <Samu> the text was supposed to be black
19:54:37  <Samu> but they made it white
19:54:51  <Samu> the translation however is solid
19:55:02  <LordAro> tbh, i'm not sure why the colour is part of the translation
19:55:08  <LordAro> other than "it's simpler"
19:55:19  <glx> because it's simpler ;)
19:55:23  <LordAro> :p
19:55:49  <glx> and probably better than splitting straings
19:55:55  <glx> *strings
19:56:16  <dwfreed> some languages don't split very easily
19:56:33  <LordAro> mm
19:56:47  <glx> yeah it's often needed to reorder args too
19:56:57  <Tempus2> But... since you know that the "Brazillian Portuguese" is solid, wouldn't that suffice though?
19:58:25  <Samu> my country sucks, confirmed
19:59:46  <Eddi|zuHause> the string validation should maybe reject colour codes if the original doesn't contain any?
20:00:37  *** andythenorth is now known as Guest8199
20:00:39  *** andythenorth has joined #openttd
20:00:42  <LordAro> or a matching set of colour codes, perhaps?
20:01:05  <Eddi|zuHause> it might sometimes be necessary to shuffle around colours if you shuffle around grammar
20:01:17  <Eddi|zuHause> so strict matching might not be sane
20:01:43  * peter1138 boggles at people going out and doing a hard ride in this temperature...
20:01:53  <LordAro> peter1138: ikr
20:02:03  <glx> even goiong out
20:02:06  <Samu> 34 C today
20:02:13  <Samu> not now
20:02:23  <Samu> but in the afternoon
20:02:30  <glx> that's cold
20:02:35  <LordAro> peter1138: couple of friends of mine did Alpe d'Huez today
20:02:41  <LordAro> it did not look all that fun
20:02:46  <peter1138> Oof!
20:03:14  *** Guest8199 has quit IRC
20:03:39  <peter1138> I managed my normal commute of course, but I got through most of a bottle of water. I don't normally have any with me...
20:03:41  <Samu> 23 C atm here
20:03:42  <andythenorth> I  sweated today
20:04:02  <andythenorth> unusual
20:04:03  <peter1138> andythenorth, that's exercise enough, eh?
20:04:03  <glx> it was 33 an hour ago here
20:04:36  <Samu> still hot weather in europe?
20:04:49  <glx> yes started yesterday
20:05:05  <glx> worst will be thursday
20:05:16  <Samu> must take a look
20:08:54  *** Alberth has left #openttd
20:13:34  <DorpsGek_II> [OpenTTD/OpenTTD] stormcone commented on pull request #7668: Fix #7667: Buying an engine after buying wagons doesn't give a comple… https://git.io/fjDC2
20:13:55  <Samu> jesus 38 in paris, that's insane
20:14:16  <Samu> going up to 42
20:14:21  <Samu> on thursday
20:14:40  <glx> yes it's insane, I confirm :)
20:16:22  <Samu> temps decrease here on thursday, going 27 in lisbon at least
20:17:47  <peter1138> LordAro, so last night I was at the theatre (saw Avenue Q) came home late, needed to eat, so I ate. That then made me stay up late... Got to sleep about 2am... Woke up at 7:45... had breakfast, quick wash & dress. Got bike out of shed... FLAT TYRE.
20:18:24  <peter1138> LordAro, replaced inner tube, cycled to work... Got there 10 minutes earlier than normal o_O
20:19:21  <LordAro> ha
20:19:53  * andythenorth woke up at 5am because hot tub was beeping, fixed that, made wife tea, fed kids, phoned australia
20:21:48  <Samu> man, my AI does so bad in desert tileset
20:22:34  <Samu> need to take whether towns can grow into account
20:27:22  <DorpsGek_II> [OpenTTD/OpenTTD] michicc commented on pull request #7668: Fix #7667: Buying an engine after buying wagons doesn't give a comple… https://git.io/fjDCH
20:29:28  *** Samu has quit IRC
20:30:07  <nielsm> https://github.com/nielsmh/OpenTTD/commit/4b8bc891cfc12b76ec50e1d30b7ffb16771807dc   something like this...
20:30:24  <nielsm> lots of code to do nothing (so far)
20:34:25  *** Wacko1976 has quit IRC
20:37:03  <Eddi|zuHause> <LordAro> peter1138: couple of friends of mine did Alpe d'Huez today <-- so who's the king of that climb?
20:39:23  <DorpsGek_II> [OpenTTD/OpenTTD] stormcone updated pull request #7668: Fix #7667: Buying an engine after buying wagons doesn't give a comple… https://git.io/fjDc9
20:39:27  <LordAro> Eddi|zuHause: Romain Bardet, apparently
20:39:42  <LordAro> he's currently busy in the TdF, of course
20:40:27  <DorpsGek_II> [OpenTTD/OpenTTD] stormcone commented on pull request #7668: Fix #7667: Buying an engine after buying wagons doesn't give a comple… https://git.io/fjDWJ
20:51:32  *** rocky11384497 has quit IRC
20:54:29  *** nielsm has quit IRC
20:58:15  <andythenorth> is it nap time?
20:58:22  <Eddi|zuHause> no
20:58:45  <FLHerne> Its too hot to be nap time
20:59:14  <FLHerne> (and will continue to be until about 6am, when it'll be [briefly] cool enough but too late)
20:59:25  <LordAro> yup
21:02:56  *** Tempus2 has quit IRC
21:11:34  *** sla_ro|master2 has quit IRC
21:12:12  *** rocky11384497 has joined #openttd
21:13:57  *** gelignite has quit IRC
21:14:59  <DorpsGek_II> [OpenTTD/OpenTTD] michicc approved pull request #7668: Fix #7667: Buying an engine after buying wagons doesn't give a comple… https://git.io/fjDWH
21:15:11  <DorpsGek_II> [OpenTTD/OpenTTD] michicc merged pull request #7668: Fix #7667: Buying an engine after buying wagons doesn't give a comple… https://git.io/fjDc9
21:15:22  <DorpsGek_II> [OpenTTD/OpenTTD] michicc closed issue #7667: Buying an engine after buying wagons doesn't give a complete train. https://git.io/fjDn5
21:18:46  *** frosch123 has quit IRC
21:26:43  *** Progman has quit IRC
21:39:09  *** Wolf01 has quit IRC
21:48:18  *** andythenorth has left #openttd
22:14:37  *** nielsm has joined #openttd
22:16:28  *** Beerbelott has joined #openttd
22:18:09  <Beerbelott> Anyone knows why opening  fd 0 for read write on GNU/Linux works?
22:18:34  <Beerbelott> For example in Bash, doing `exec <>file`
22:19:22  <glx> everything is a file on linux, or something like that
22:19:41  <Beerbelott> But... writing to fd 0?
22:22:39  *** nielsm has quit IRC
22:28:57  <FLHerne> Beerbelott: It's not actually special in a technical sense
22:31:01  <FLHerne> You /could/ write a set of tools that used it in some weird non-standard way
22:31:19  <FLHerne> I may be wrong; at least https://stackoverflow.com/a/29922413 disagrees
22:40:19  <Beerbelott> I dunno if it's a Bash-ism of some sort
22:40:33  <Beerbelott> but clearly <> is supposed to be opening resource for read/write
22:40:39  <Beerbelott> https://www.tldp.org/LDP/abs/html/io-redirection.html
22:40:55  <Beerbelott> [j]<>filename       #  Open file "filename" for reading and writing,       #+ and assign file descriptor "j" to it.       #  If "filename" does not exist, create it.       #  If file descriptor "j" is not specified, default to fd 0, stdin.
22:41:00  <Beerbelott> (sry formatting)
22:41:25  <Beerbelott> Well, it works.
22:43:34  <Beerbelott> Another seemingly unrelated question: For openttd, it is stated -f generates a game log (and redirects stour/stderr there) but it's also stated there is no console anymore, meaning... stdin is closed? Is there a way to have the game generate an output log while retaining console capabilities?
22:44:06  <Beerbelott> ie interactive AND game log?
22:45:12  <Beerbelott> I see there is a show_date_in_logs directive available in openttd.cfg. Does that mean it's useless to anyone not using -f?
22:45:36  <Beerbelott> or is that also valid for console output?
23:04:45  <Eddi|zuHause> Beerbelott: are you maybe looking for the "tee" command?
23:31:57  *** tokai|noir has joined #openttd
23:31:57  *** ChanServ sets mode: +v tokai|noir
23:36:12  <Beerbelott> I'm not talking about OS toolsets, but merely about OpenTTD behaviour
23:37:29  <Beerbelott> correlating operationg mode (either frontend/interactive or background/detached) with log file existence is an oddity, not commonly observed. I just wanted to make sure I was understanding openttd behaviour correctly
23:38:47  *** tokai has quit IRC

Powered by YARRSTE version: svn-trunk