IRC logs for #openttd on OFTC at 2019-07-24
            
00:14:37 *** nielsm has joined #openttd
00:16:28 *** Beerbelott has joined #openttd
00:18:09 <Beerbelott> Anyone knows why opening fd 0 for read write on GNU/Linux works?
00:18:34 <Beerbelott> For example in Bash, doing `exec <>file`
00:19:22 <glx> everything is a file on linux, or something like that
00:19:41 <Beerbelott> But... writing to fd 0?
00:22:39 *** nielsm has quit IRC
00:28:57 <FLHerne> Beerbelott: It's not actually special in a technical sense
00:31:01 <FLHerne> You /could/ write a set of tools that used it in some weird non-standard way
00:31:19 <FLHerne> I may be wrong; at least https://stackoverflow.com/a/29922413 disagrees
00:40:19 <Beerbelott> I dunno if it's a Bash-ism of some sort
00:40:33 <Beerbelott> but clearly <> is supposed to be opening resource for read/write
00:40:39 <Beerbelott> https://www.tldp.org/LDP/abs/html/io-redirection.html
00: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.
00:41:00 <Beerbelott> (sry formatting)
00:41:25 <Beerbelott> Well, it works.
00: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?
00:44:06 <Beerbelott> ie interactive AND game log?
00: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?
00:45:36 <Beerbelott> or is that also valid for console output?
01:04:45 <Eddi|zuHause> Beerbelott: are you maybe looking for the "tee" command?
01:31:57 *** tokai|noir has joined #openttd
01:31:57 *** ChanServ sets mode: +v tokai|noir
01:36:12 <Beerbelott> I'm not talking about OS toolsets, but merely about OpenTTD behaviour
01: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
01:38:47 *** tokai has quit IRC
02:06:52 *** rocky11384497 has quit IRC
02:10:57 *** HerzogDeXtEr has quit IRC
02:53:47 *** rocky11384497 has joined #openttd
03:00:12 *** y2kboy23 has quit IRC
03:00:27 *** y2kboy23 has joined #openttd
03:08:19 *** Flygon has joined #openttd
03:19:55 *** Maarten has quit IRC
03:42:24 *** Maarten has joined #openttd
05:01:23 *** debdog has joined #openttd
05:04:44 *** D-HUND has quit IRC
05:19:05 *** rber has joined #openttd
05:19:29 <rber> hey guys do you know someone that goes on Freenode by nick n-ice?
05:20:12 *** glx has quit IRC
05:39:37 *** Wormnest__ has quit IRC
06:04:06 *** rber has quit IRC
06:41:16 *** Wacko1976 has joined #openttd
07:10:32 *** sla_ro|master has joined #openttd
07:41:27 *** Beerbelott has left #openttd
08:20:13 *** gareppa has joined #openttd
09:13:07 *** andythenorth has joined #openttd
09:18:09 *** Eddi|zuHause has quit IRC
09:18:50 *** Eddi|zuHause has joined #openttd
09:19:53 <DorpsGek_II> [OpenTTD/OpenTTD] andythenorth commented on pull request #7668: Fix #7667: Buying an engine after buying wagons doesn't give a comple… https://git.io/fjDEI
09:45:48 <andythenorth> moin
09:49:13 <LordAro> morn
09:49:19 <LordAro> bit bangy last night
10:00:29 <peter1138> Slightly.
10:00:37 <peter1138> Hmm, my legs feel like they've been burning :/
10:05:17 <andythenorth> was it thunder?
10:05:22 <andythenorth> something woke me up :P
10:06:01 <Eddi|zuHause> there was nothing like that over here
10:16:33 <andythenorth> this map is too big and has too many industries
10:16:44 * andythenorth was going to try and connect every industry
10:16:49 <andythenorth> but then new ones appear
10:17:05 <andythenorth> and the towns grow around some industries before I can serve them
10:17:18 <andythenorth> what level of 1st world problem is this?
10:20:36 <Eddi|zuHause> how long have you played this game?
10:22:09 *** gareppa has joined #openttd
10:23:33 <andythenorth> 25 game years
10:24:35 *** gareppa has quit IRC
10:29:12 *** sla_ro|master has quit IRC
10:48:06 *** gareppa has joined #openttd
10:51:17 *** gareppa has quit IRC
10:51:55 <peter1138> So today's salad surprise is... the lettuce was picked from my garden.
10:52:02 <peter1138> Damn, no surprise now.
10:52:22 <nakki> i went for a lunch burger
10:52:28 <nakki> disappointed in both myself and the burger
10:52:40 <peter1138> Heh
10:55:08 <peter1138> I cooked a burger last night. Very nice. Grilled veggies and the patty was veg too, a Heck "Bollywood Burger"
10:55:48 <peter1138> I'm rarely disappointed by burgers, but I don't eat fast-food burgers so not too surprising.
10:56:08 <nakki> veg burgers have come a long way - there's this one place in helsinki that i was incredibly impressed by when friends picked it for lunch
11:26:59 *** andythenorth has quit IRC
11:45:21 *** gareppa has joined #openttd
11:51:04 *** andythenorth has joined #openttd
12:04:31 *** grag[m] has quit IRC
12:04:31 *** ad5twoknebor[m] has quit IRC
12:04:31 *** nartir[m] has quit IRC
12:04:31 *** ookfof[m] has quit IRC
12:04:31 *** yur3shmukcik[m] has quit IRC
12:04:31 *** fiddeldibu[m] has quit IRC
12:04:31 *** tops[m] has quit IRC
12:04:31 *** glothit7ok[m] has quit IRC
12:04:31 *** hylshols7qui[m] has quit IRC
12:04:31 *** jeeg[m] has quit IRC
12:04:31 *** freu[m] has quit IRC
12:04:31 *** buggeas40d[m] has quit IRC
12:04:31 *** paulus[m] has quit IRC
12:04:31 *** josef[m] has quit IRC
12:04:31 *** blim[m] has quit IRC
12:04:31 *** pothyurf[m] has quit IRC
12:04:31 *** cawal[m] has quit IRC
12:04:31 *** godva[m] has quit IRC
12:04:31 *** lapav[m] has quit IRC
12:04:31 *** iarp[m] has quit IRC
12:04:31 *** twom[m] has quit IRC
12:04:31 *** khavik[m] has quit IRC
12:04:31 *** backtu[m] has quit IRC
12:04:31 *** jact[m] has quit IRC
12:04:31 *** UncleCJ has quit IRC
12:04:31 *** Meiki has quit IRC
12:04:31 *** Corns[m] has quit IRC
12:04:31 *** ircer[m] has quit IRC
12:04:31 *** labs[m] has quit IRC
12:04:31 *** dude[m] has quit IRC
12:04:31 *** ciet[m] has quit IRC
12:04:31 *** ist5shreawf[m] has quit IRC
12:04:31 *** yoltid[m] has quit IRC
12:04:31 *** nolep[m] has quit IRC
12:04:31 *** natmac[m] has quit IRC
12:04:31 *** king[m] has quit IRC
12:04:31 *** olmvnec[m] has quit IRC
12:08:55 *** Samu has joined #openttd
12:09:47 <Samu> hi
12:10:12 <peter1138> What a surprise.
12:11:56 *** dag[m] has quit IRC
12:12:06 *** cesar[m] has quit IRC
12:12:21 *** gandi[m] has quit IRC
12:16:05 *** tokai|noir has quit IRC
12:23:06 <Eddi|zuHause> i picked up vegetarian salami once, it was disgusting
12:23:48 <Eddi|zuHause> and i ate a vegetarian schnitzel once at an expensive restaurant, i was unimpressed
12:28:26 <andythenorth> what meal is it/
12:28:27 <andythenorth> ?
12:28:30 * andythenorth is hungry
12:31:15 <Samu> i'm sad
12:31:35 <Samu> listening to my usually depressive music https://www.youtube.com/watch?v=hrdGA4VznpQ&list=OLAK5uy_mj_hxlwrS5pU-8HFlPA6WlwWmNjiHTkHA&index=6
12:35:42 *** UncleCJ has joined #openttd
13:00:09 <peter1138> Eddi|zuHause, yeah, fake-meat type vegetarian stuff is invariably crap.
13:00:26 <peter1138> Eddi|zuHause, but veg being veg is good.
13:02:08 *** Samu has quit IRC
13:09:03 <andythenorth> salad
13:09:09 <andythenorth> I am veg, apart from when I meat
13:09:14 <andythenorth> and gelatine in sweets
13:09:29 <andythenorth> and that stuff in cheese
13:11:07 <peter1138> Rennet.
13:11:33 <peter1138> I'm just a common omnivore.
13:16:35 <andythenorth> I used to eat meat (or eggs) 3 times most days
13:16:51 <andythenorth> now 1 time most days
13:18:31 <peter1138> 3 times o_O
13:36:31 <andythenorth> bacon for breakfast, bacon for lunch, chicken for tea
13:45:41 <Eddi|zuHause> "20 people you won't believe exist", no, thanks, maybe i don't want to believe...
13:56:32 <andythenorth> the internet is over
14:01:10 *** Samu has joined #openttd
14:01:34 <andythenorth> stations on diagonal coasts? o_O
14:06:26 *** sla_ro|master has joined #openttd
14:08:46 *** khavik[m] has joined #openttd
14:08:46 *** hylshols7qui[m] has joined #openttd
14:08:47 *** glothit7ok[m] has joined #openttd
14:08:48 *** ist5shreawf[m] has joined #openttd
14:08:48 *** ad5twoknebor[m] has joined #openttd
14:08:49 *** lapav[m] has joined #openttd
14:08:50 *** olmvnec[m] has joined #openttd
14:08:51 *** buggeas40d[m] has joined #openttd
14:08:51 *** yoltid[m] has joined #openttd
14:08:52 *** yur3shmukcik[m] has joined #openttd
14:08:53 *** tops[m] has joined #openttd
14:08:53 *** fiddeldibu[m] has joined #openttd
14:08:54 *** ookfof[m] has joined #openttd
14:08:58 *** Meiki has joined #openttd
14:08:58 *** blim[m] has joined #openttd
14:08:59 *** cawal[m] has joined #openttd
14:09:00 *** twom[m] has joined #openttd
14:09:00 *** pothyurf[m] has joined #openttd
14:09:01 *** dag[m] has joined #openttd
14:09:02 *** godva[m] has joined #openttd
14:09:02 *** iarp[m] has joined #openttd
14:09:03 *** nartir[m] has joined #openttd
14:09:04 *** ciet[m] has joined #openttd
14:09:05 *** grag[m] has joined #openttd
14:09:05 *** jact[m] has joined #openttd
14:09:05 *** cesar[m] has joined #openttd
14:09:06 *** labs[m] has joined #openttd
14:09:07 *** jeeg[m] has joined #openttd
14:09:10 *** Corns[m] has joined #openttd
14:09:11 *** paulus[m] has joined #openttd
14:09:11 *** ircer[m] has joined #openttd
14:09:12 *** josef[m] has joined #openttd
14:09:13 *** natmac[m] has joined #openttd
14:09:14 *** dude[m] has joined #openttd
14:09:14 *** king[m] has joined #openttd
14:09:15 *** gandi[m] has joined #openttd
14:09:16 *** freu[m] has joined #openttd
14:09:16 *** nolep[m] has joined #openttd
14:09:20 *** backtu[m] has joined #openttd
14:14:40 <andythenorth> doesn't look suspicious at all
14:20:35 <Samu> who are these [m]'s?
14:27:13 <peter1138> Yeah, that was a nice salad.
14:27:23 <peter1138> Samu, it's that bloody "matrix" IRC proxy bullshit.
14:31:01 <Samu> https://www.tt-forums.net/viewtopic.php?f=33&t=85608 - meh no feedback in 3 days
14:31:42 <Samu> wondering if i should post on the other forums
14:39:08 <andythenorth> so...conveyors? o_O
14:54:49 <Eddi|zuHause> https://www.tt-forums.net/viewtopic.php?f=32&t=84941#p1223761 <-- if i didn't know any better i'd have said this is a spambot
14:57:35 <Eddi|zuHause> coincidence, correlation, ...? https://xkcd.com/2179/ vs https://www.spiegel.de/panorama/wetter-flaechendeckende-hitzewarnung-in-deutschland-a-1278737.html
15:45:07 *** nielsm has joined #openttd
15:49:27 <peter1138> Is it icecream time?
16:00:13 *** Gumle2 has joined #openttd
16:01:45 <nnyby> yeah
16:04:05 <andythenorth> yup
16:04:09 <andythenorth> or vienetta
16:04:14 <andythenorth> £1 in Sainsburys
16:08:08 <Eddi|zuHause> that's an idea
16:08:18 <Eddi|zuHause> well, not vienetta or sainsburys
16:16:28 *** Flygon has quit IRC
16:34:11 *** Gumle2 has quit IRC
16:34:50 *** gareppa has joined #openttd
16:48:23 <Samu> question: this is updated? http://noai.openttd.org/api
16:48:33 <Samu> we're in 1.9.2, just wondering
16:50:02 *** gareppa has quit IRC
17:07:55 <Samu> man, i can't really program here at all
17:11:08 *** Wormnest has joined #openttd
17:21:26 <Samu> how do I work with cargo effects in town?
17:21:55 *** Maarten has quit IRC
17:22:00 *** Maarten has joined #openttd
17:31:11 *** andythenorth is now known as Guest8265
17:31:14 *** andythenorth has joined #openttd
17:36:11 *** Guest8265 has quit IRC
17:38:08 <Samu> heh, how do i detect towns aren't requiring cargos to grow?
17:38:22 <Samu> like desert towns
17:39:24 *** andythenorth has quit IRC
18:33:58 <Samu> ah, lines 366 and 367 https://github.com/OpenTTD/OpenTTD/blob/master/src/town_gui.cpp
18:44:42 *** HerzogDeXtEr has joined #openttd
18:52:01 *** nielsm has quit IRC
18:54:51 *** nielsm has joined #openttd
18:57:18 *** Progman has joined #openttd
19:18:43 <nielsm> okay, I've got a semi-working discord rich presence thing working now, only thing missing is support for "ask to join"
19:28:12 *** Progman has quit IRC
19:39:58 <nielsm> https://github.com/nielsmh/ottd-discord/releases/tag/poc1 for the plugin dll
19:39:59 <nielsm> https://github.com/nielsmh/OpenTTD/tree/rich-presence
19:40:04 <nielsm> the patched tree
19:40:25 <Eddi|zuHause> and now port it to linux :p
19:40:54 <nielsm> and yes this means I've registered an application and made a team with discord, I'm not sure how that should be managed
19:41:18 <Eddi|zuHause> probably talk to planetmaker or orudge about account stuff?
19:41:21 <nielsm> Eddi|zuHause: the plugin detection and loading is win32 only right now, so it just does nothing elsewhere
19:41:39 <nielsm> as far as I can tell they only publish an sdk for windows and mac
19:41:48 <nielsm> and I have no idea how to handle plugin stuff on mac
19:41:55 *** gelignite has joined #openttd
19:49:16 <Eddi|zuHause> well, that's about what i expected
19:49:49 *** nielsm has quit IRC
19:53:48 <Samu> this sucks, I can't code properly on this place...
19:53:55 <Samu> cyas
19:54:01 *** Samu has quit IRC
19:55:10 *** glx has joined #openttd
19:55:10 *** ChanServ sets mode: +v glx
20:45:33 *** Samu has joined #openttd
20:46:43 <Samu> there is no webchat link anymore in the forum?
20:55:40 <Samu> I see some strange behaviours in some of the AIs failing to connect roads
20:56:24 <Samu> My AI was also affected. I initially discarded it
20:56:41 <Samu> but now I see it happening in other AIs as well
20:58:31 *** Wacko1976 has quit IRC
21:01:49 <Samu> I'm not sure yet. Have to find a way to reproduce it
21:02:29 <Samu> it's about connecting roads to a bridge ramp
21:03:55 <Samu> not sure whether it's connecting a brigde ramp to a road, or a road to a bridge ramp
21:04:02 <Samu> in which order
21:04:37 <Samu> seems to be a pathfinder issue
21:07:52 <Samu> https://imgur.com/XkUqQPm
21:10:10 <Samu> pathfinder apparently finds possible to do such connection that once when it starts to actually build the path, it gets stuck there
21:10:20 <Samu> the bridge might have already be present
21:30:44 <michi_cc> Whoever can should probably unsticky https://www.tt-forums.net/viewtopic.php?f=29&t=85117, we're on 1.9.2 now.
21:36:10 *** nielsm has joined #openttd
21:36:43 <nielsm> well great, just had a 1h+ blackout in the city
21:46:14 *** Samu has quit IRC
21:48:15 *** nielsm has quit IRC
21:50:23 *** andythenorth has joined #openttd
21:51:38 <Eddi|zuHause> ... i have a feeling it goes on :p
22:02:25 *** gelignite has quit IRC
22:05:36 <andythenorth> yo
22:06:21 *** Progman has joined #openttd
22:10:30 *** Samu has joined #openttd
22:52:27 *** Samu has quit IRC
23:11:14 *** Progman has quit IRC
23:46:56 *** sla_ro|master has quit IRC
23:54:33 *** HerzogDeXtEr has quit IRC