IRC logs for #openttd on OFTC at 2018-11-06
            
00:01:18 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #6963: Several improvements in known-bugs file https://git.io/fpvTI
00:04:24 <DorpsGek_II> [OpenTTD/OpenTTD] James103 commented on issue #6903: selected rail type should be included in game saves https://git.io/fpvTc
00:07:19 *** Wolf01 has quit IRC
00:15:10 <DorpsGek_II> [OpenTTD/OpenTTD] Greg-21 commented on pull request #6963: Several improvements in known-bugs file https://git.io/fpvkq
00:16:03 <DorpsGek_II> [OpenTTD/OpenTTD] Greg-21 commented on pull request #6963: Several improvements in known-bugs file https://git.io/fpvkC
00:38:45 <DorpsGek_II> [OpenTTD/OpenTTD] planetmaker merged pull request #6964: Unificate several files with those from release 1.8 branch https://git.io/fpeEN
01:10:45 *** Progman has quit IRC
01:11:58 *** Wormnest has joined #openttd
02:14:37 *** Unit193 has left #openttd
03:06:31 *** yellyFish has left #openttd
04:08:47 *** ToffeeYogurtPots has quit IRC
04:34:36 *** glx has quit IRC
08:54:01 *** ToffeeYogurtPots has joined #openttd
09:06:37 *** Progman has joined #openttd
09:11:08 *** Hobbyboy has quit IRC
09:21:54 *** Hobbyboy has joined #openttd
09:37:54 *** Wormnest has quit IRC
10:37:47 *** matt21347 has joined #openttd
12:49:48 <DorpsGek_II> [OpenTTD/OpenTTD] andythenorth commented on issue #6903: selected rail type should be included in game saves https://git.io/fpvS1
14:45:48 *** snail_UES_ has joined #openttd
14:54:44 *** ToffeeYogurtPots has quit IRC
14:59:04 *** snail_UES_ has quit IRC
15:05:14 *** Xaroth has quit IRC
15:07:53 *** Xaroth has joined #openttd
15:45:32 *** nielsm has joined #openttd
16:16:14 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #6963: Several improvements in known-bugs file https://git.io/fpfL4
16:17:48 *** lugo has joined #openttd
16:20:04 <peter1138> "Unificate"?
16:25:15 *** Wormnest has joined #openttd
16:37:30 <LordAro> unificate.
16:47:00 <peter1138> Unify would be the normal form...
16:59:49 *** Xarick has joined #openttd
16:59:54 <Xarick> hmm
17:00:14 <Xarick> so I registered
17:00:43 <Xarick> now the spam goes to my email
17:00:46 <Xarick> oh well
17:32:53 <peter1138> Registered what?
17:34:15 <nielsm> nick with nickserv
17:37:02 <LordAro> when was +R added again? is it worth removing it again?
17:37:41 <nielsm> there's 1-3 spammers a day without
17:38:43 <peter1138> It never sends me any email.
17:39:07 <nielsm> same, nickserv sends one at registration time and never again
17:39:22 <nielsm> (except password reset but who needs that)
17:47:59 <Xarick> _settings_game.order.serviceathelipad should just be removed
17:48:36 <Xarick> these workarounds are dirty
17:49:34 <nielsm> that setting itself is a workaround from ttdpatch for the lack of heliports with hangars isn't it?
17:49:46 <nielsm> (and that workaround was ported to ottd at some early point)
17:50:32 <Xarick> yes, but it increases complexity with automatic servicing versus auto replace
17:52:00 <nielsm> my point is that it's not a useful option for new games where the medium and large heliports are available
17:52:26 <nielsm> or rather, it's just a cheat for games with those hangar-equipped heliports
17:53:27 <Xarick> https://paste.openttdcoop.org/ptdil1uqf
17:53:43 <Xarick> workaround has to deal with both it enabled and disabled
17:54:15 <nielsm> who are you arguing with?
17:55:24 <Xarick> with serviceathelipad setting
17:56:58 <Xarick> does it fit the criteria of it being enabled/disabled and needing or not needing a replacement?
17:57:11 <nielsm> the other alternative is to pretend the setting does not exist and if anyone asks about it tell them they're a fool to play modern versions with a setting made for a time long past
17:59:48 <Xarick> now, the other issue, https://github.com/OpenTTD/OpenTTD/pull/6925#discussion_r229962114
18:00:45 <Xarick> I only remember that I needed to use !CanVehicleUseStation in there, for some reason I forgot
18:00:54 <Xarick> :)
18:01:36 <Xarick> wondering if it was due to airport being demolished/replaced
18:03:24 * LordAro realises who Xarick is
18:03:45 <Xarick> this is samu with a registered nick
18:03:55 <Xarick> so i could join channel
18:05:30 <LordAro> :)
18:09:04 <nielsm> Xarick, you do realize that the entire find-order-to-use-depot loop is pointless, right? the first line of the function you're in will bail out if NeedsAutomaticServicing() returns false, and one of the conditions for that is if HasDepotOrder() returns true
18:10:28 <nielsm> and if the player has given the vehicle an order to use a depot on an airport the vehicle can't use, the player is an idiot and not worth doing anything for
18:10:33 <nielsm> same if the player is an AI
18:10:46 <nielsm> then you tell the AI developer they need to fix their code
18:12:08 <nielsm> actually, the only situation you're protecting against is the helicopter visiting nothing but small heliports and oil rigs, if the player is setting that up it's his own fault for not getting vehicles serviced
18:15:09 <nielsm> a general request for you: when you add weird corner case handling in code, add a comment block IN THE CODE NEXT TO THE CORNER CASE HANDLING, explaining what is being handled, why, how, and why it's correct
18:15:25 <nielsm> (if you find that difficult to explain in a comment, it's probably because it's poorly thought out)
18:16:17 <Xarick> the player could replace an airport with a helistation, the orders are still kept
18:16:40 <nielsm> player's fault
18:16:42 <Xarick> but if the aircraft is not a helicopter
18:16:54 <Xarick> yeah, but the code has to deal with it somehow
18:17:39 <nielsm> do that in the monthly sanity check (or however often it is) that sends news messages to the player, warning them of potential problems
18:17:59 <nielsm> just like the message telling "vehicle 5 has no orders"
18:18:57 <nielsm> add one telling the player, "aircraft 8 is ordered to land at Vendingpark Airport but it has no landing strip" or whatever
18:19:14 <Xarick> wait a bit, let me thing
18:19:16 <Xarick> think
18:19:27 <nielsm> or "aircraft 53 is not stopping at any stations with a hangar and cannot receive service"
18:19:54 <Xarick> automatic service check is daily
18:20:26 <Xarick> day 1, aircraft gets a go to hangar order from automatic service check
18:20:44 <Xarick> day 2, airport is replaced with helistation, order is turned dummy
18:21:07 <Xarick> day 3, automatic service check is done again, some other hangar is searched
18:21:46 <Xarick> i think it fixes itself
18:22:05 <Xarick> not sure, have to test
18:25:50 <nielsm> https://github.com/OpenTTD/OpenTTD/blob/master/src/order_cmd.cpp#L1757-L1830
18:26:08 <nielsm> add a check for aircraft with poorly thought out orders there
18:26:36 <nielsm> instead of trying to fix the players' mistakes with fragile logic
18:33:31 <Xarick> uh oh, got a crash
18:33:36 <Xarick> https://github.com/OpenTTD/OpenTTD/pull/6925/commits/4a29d238aa1377c0f186425e69cffe91eb69f052#diff-9c7b810bde1e9a328e481df1a0bd5cb8R157
18:33:44 <Xarick> nullptr
18:34:14 <Xarick> uint last_dist = last_dest != NULL || last_dest->airport.tile != INVALID_TILE
18:34:42 <Xarick> should be last_dest != NULL && last_dest->airport.tile != INVALID_TILE
18:35:06 <Xarick> got a last_dest = NULL
18:36:10 <LordAro> indeed
18:38:13 <Xarick> and line 158 the same
18:43:51 <Xarick> 17:09] <nielsm> Xarick, you do realize that the entire find-order-to-use-depot loop is pointless, right? the first line of the function you're in will bail out if NeedsAutomaticServicing() returns false, and one of the conditions for that is if HasDepotOrder() returns true
18:45:04 <Xarick> HasDepotOrder means, a real go to hangar order in the order list
18:46:09 <Xarick> my find-order-to-use-depot has a different usage
18:46:54 <Xarick> it finds an airport with a hangar coupled with it, and if it reaches this point, then it means it isn't using a go to hangar order
18:47:26 <Xarick> i'm merelly trying to limit the scope
18:47:49 <Xarick> if helicopter is going from airport > heliport > airport
18:48:08 <Xarick> and it needs automatic servicing and is currently heading for heliport
18:48:54 <nielsm> yeah sucks to be that helicopter right now
18:48:56 <Xarick> it will make sure that it won't search for a hangar out of the current schedulle, because in the order list, there is an airport coupled with a hangar, so, it keeps going to the heliport, unserviced
18:49:06 <nielsm> just send the player a warning in the 20 days orders list sanity check
18:49:09 <Xarick> on the way back
18:49:18 <Xarick> it is then heading for the hangar of the airport
18:50:38 <Xarick> i think that is for real orders
18:50:50 <Xarick> these are automated
18:51:14 <nielsm> what?
18:51:24 <nielsm> aircraft stop at the orders given and nowhere else
18:51:33 <nielsm> there aren't implicit orders for aircraft
18:51:35 <Xarick> checking if it needs automatic service
18:51:41 <nielsm> THAT IS NOT WHAT I MEAN
18:52:10 <nielsm> you said it yourself: <Xarick> automatic service check is daily
18:52:27 <Xarick> yes, the function is called daily
18:52:49 <nielsm> unless it takes less than a day for the aircraft to travel to a station and stop at it and leave again, it's going to check for ability to service at every station it visits
18:52:56 <Xarick> line 487
18:53:03 <nielsm> so the only thing you need to check is once in a rare while whether the orders make sense
18:53:23 <nielsm> if the aircraft has no means of visiting a station with a hangar then tell the player he's an idiot
18:53:35 <nielsm> you can do that in the CheckOrders() function
18:53:47 <nielsm> without complicating the find hangar logic further
18:53:55 <nielsm> and making aircraft take unexpected detours
18:55:41 *** andythenorth has joined #openttd
18:56:23 <Xarick> ok i see
18:56:40 <Xarick> the unreachable depot
18:57:00 <Xarick> you want me to keep it unreachable
18:57:17 <Xarick> the vehicle can't use station message still pop ups, no need to change code over there
18:57:37 <nielsm> I think a patch that makes vehicles take unexpected detours is bad
18:58:04 <nielsm> tell the player the vehicle has a potential problem and let the player fix that problem
18:58:33 <nielsm> don't try to fix it for the player, and leave the player to discover his vehicles fooling around in ways he didn't tell them to
19:00:00 <nielsm> philosophically speaking, the player should be in control and informed, not robbed of control and left in the dark
19:00:05 <Xarick> gonna try keep it unreachable
19:00:23 <Xarick> still not sure how am i tacling helicopters flying between heliports
19:00:42 <Xarick> maybe i make it really for AIR_HELICOPTER only
19:00:54 <Xarick> and screw airplanes
19:01:55 <Xarick> by "screw" i mean, do nothing about them
19:03:19 <Xarick> avoid detours, except for helicopters
19:03:34 <Xarick> with their special heliport heliport
19:09:28 <nielsm> https://gist.github.com/nielsmh/aaac2c206a30df9f5c2acc6867cc663e
19:09:31 <nielsm> that is my suggestions
19:09:38 <nielsm> that is my COMPLETE suggestion to how to handle the situation
19:09:53 <nielsm> everything else, scrap those changes
19:11:42 <Xarick> not even for autoreplace?
19:11:49 <nielsm> no
19:11:56 <nielsm> just tell the player "this vehicle might have a problem"
19:11:58 <nielsm> and that's it
19:13:19 <Xarick> I dunno what to say, it's like my entire proposal being trash
19:13:25 <Xarick> I feel bad
19:13:38 <nielsm> well, maybe add the "service at helipads" dumb-setting-that-should-no-longer-exist check too
19:14:42 <Xarick> the whole deal is mainly due to helicopters, autoreplace versus autoservice
19:15:03 <Xarick> oh well
19:15:07 <Xarick> a message warning the player
19:15:27 <nielsm> nudge the player towards solving their own problems
19:15:40 <nielsm> that's generally the way a management game is supposed to work
19:15:50 <nielsm> but don't take my word alone for it
19:19:06 <nielsm> I hope someone else who's been with the project longer can weigh in too
19:19:06 <Xarick> from what I could tell from the code, there was an intention to have helicopters to be sent to hangars for autoreplacing
19:19:06 <Xarick> but that part wasn't working properly, or at all
19:19:06 <Xarick> I tried an implementation
19:19:06 <nielsm> try making a simpler, less intrusive fix
19:19:28 <nielsm> and if that's not possible, add a comment block in the code explaining why it has to be complex
19:19:29 *** wodencafe has quit IRC
19:19:53 <nielsm> bbl, food time
19:20:15 *** andythenorth has quit IRC
19:25:19 *** frosch123 has joined #openttd
19:27:32 <Xarick> can't we reach a middle of the road agreement?
19:27:37 <Xarick> if (!hangar_in_o/* || (!CanVehicleUseStation(v, st) && v->state >= TAKEOFF && v->state <= FLYING)*/) {
19:27:50 <Xarick> i am removing the canvehicleusestation check over there
19:30:52 <Xarick> no more detours for airplanes heading for helistations when automatic service ticks in
19:31:25 <Xarick> aircraft keeps floating around the helistation, in circles now
19:31:35 <Xarick> even when it needs automatic service
19:34:55 <nielsm> isn't it already a warning if a non-heli aircraft is told to land on a airstrip-less station?
19:36:11 <Xarick> i can also remove the CanVehicleUseStation(v, ost) inside my loop
19:36:40 <Xarick> there is a popup warning about aircraft 1 has an invalid station in its orders
19:36:52 <Xarick> kinda generic, but sufficient
19:37:55 *** Wolf01 has joined #openttd
19:41:36 <frosch123> xarick is way too similar to xaroth
19:41:57 <LordAro> i think that's what confused me initially
19:42:13 <frosch123> yes, deduced it by content :)
19:42:16 <Xarick> Xarick is my cat's name
19:42:26 <Xarick> one of
19:42:45 <Xarick> i also use it in the forum
19:46:38 *** andythenorth has joined #openttd
19:47:12 <Xarick> Xarick is with me since 2009 i think
19:47:28 <Xarick> damn, can't believe he's 9 years old already
19:47:31 <Xarick> time flies
19:47:56 <andythenorth> o/
19:57:34 <andythenorth> is it TrueBrain?
20:13:46 <TrueBrain> I hope you dont think I am 9 years old :P
20:19:24 <Wolf01> o/
20:21:56 <Xarick> https://github.com/OpenTTD/OpenTTD/pull/6925/commits/8d014b74dae92262638c03daa6e548c25d7e0c9f#diff-9c7b810bde1e9a328e481df1a0bd5cb8R456
20:22:11 <Xarick> trying to decipher why I coded it like that :(
20:22:48 <Xarick> line 456-458
20:23:51 <Xarick> if it can't use the station that it's currently heading to, don't even check if the distance is closer blabla
20:23:57 <Xarick> defer immediately
20:24:35 <Xarick> if it can use the station, check distances
20:24:45 <Xarick> then decide if it defers or not
20:25:09 <andythenorth> TrueBrain: have you deployed my work yet?
20:25:09 <Xarick> or rather, check distances to decide if it defers or not
20:25:37 <TrueBrain> andythenorth: your work?
20:25:47 <andythenorth> yes
20:25:49 <andythenorth> all of it
20:25:55 * andythenorth hasn't done any :P
20:25:58 <Wolf01> What if I fetch a git repository inside the same repository?
20:26:08 <TrueBrain> ah, yes, I forgot, I deployed nothing indeed!
20:26:10 <TrueBrain> :D
20:29:25 <andythenorth> so who's helping me with website?
20:29:27 <andythenorth> LordAro?
20:29:34 <andythenorth> we're just reimplmenting current design
20:29:39 <andythenorth> responsive and stuff comes later
20:30:30 <andythenorth> can someone script generating the blog posts?
20:30:35 <andythenorth> blog -> md converter
20:30:44 <TrueBrain> I will take care of that, no problem
20:31:27 <andythenorth> oof, the translation block on RHS has live counts? https://www.openttd.org/en/
20:31:41 <TrueBrain> "live"
20:31:44 <TrueBrain> but yeah, ish
20:31:47 <TrueBrain> same as with downloads
20:31:56 <TrueBrain> just placeholder it, we will "dynamically" fix that :)
20:32:04 <TrueBrain> I think I found a clean way to do that
20:32:14 <Xarick> hmm to avoid unnecessary detours, i always have to assume the vehicle can use the station even if it can't
20:32:17 <TrueBrain> I got suggested using nginx lua, but I voted against :)
20:37:26 <andythenorth> TrueBrain: I am making a mental map of pages
20:37:34 <andythenorth> this is a separate service? https://account.openttd.org/en/login
20:37:35 <TrueBrain> sounds painful
20:37:38 <TrueBrain> yes
20:38:18 <frosch123> i am working on that one currently
20:38:51 <TrueBrain> what-ever we do, no sharing cookies :)
20:38:59 <TrueBrain> the auth server should be separate from the rest
20:39:15 <TrueBrain> but I know frosch123 was already doing that (maybe even without him knowing he was :D)
20:39:23 <andythenorth> I have got 7 or 8 pages
20:39:24 <frosch123> i do oauth2/openid-connect
20:39:25 <andythenorth> plus blog
20:39:41 <frosch123> i found a mediawiki plugin for oauth, so maybe that part works immediately
20:39:58 <TrueBrain> frosch123: just to be clear, are you converting our LDAP to oauth2, or making BaNaNaS2 work with oauth2?
20:40:05 <TrueBrain> andythenorth: sounds about right
20:40:33 <andythenorth> oh screenshot pages also
20:40:35 <andythenorth> that's BS
20:40:44 <andythenorth> maybe we can add some kind of content model for those
20:41:07 <TrueBrain> just port stuff as-is; screenshots is easy
20:41:17 <frosch123> i implement a oauth middle piece, which redirects authentication to github or ldap, adds its own authorisation/role stuff, and can then be accessed by eints and mediawiki to check users and roles
20:41:45 <TrueBrain> cool
20:41:50 <andythenorth> https://jekyllrb.com/docs/collections/
20:42:18 <andythenorth> screenshots is loads of pointless manual maintenance when it should just be a loop over n
20:42:43 <andythenorth> collections looks like it will nail it
20:42:50 <TrueBrain> andythenorth: yes, never do screenshots manual
20:42:57 <TrueBrain> they are not manual now, please dont make them manual after :P
20:43:19 <TrueBrain> developers should be collections btw, imo
20:43:27 <andythenorth> yeah I can do stuff like site.screenshots
20:43:29 <TrueBrain> screenshots can either be a blog, or something
20:43:39 <andythenorth> precisely as would be expected
20:43:43 <andythenorth> so far I like jekyll :P
20:43:58 * andythenorth wonders if jekyll can template NML :P
20:44:04 <TrueBrain> and pleaaasseee, just keep it simple; if we could finish the website before the end of the year, that would really help :P
20:44:19 <andythenorth> well
20:44:29 <andythenorth> I am trying to finish Iron Horse 2 by Christmas :P
20:44:35 <andythenorth> so I am not looking for a moon shot project
20:44:58 <andythenorth> if I get a clear run at it, the website should be about a day
20:45:05 <andythenorth> I do work stuff like this often
20:45:10 <TrueBrain> exactly
20:45:15 <TrueBrain> as long as that is the focus, I am happy ;)
20:45:40 <andythenorth> later we can do responsive, Bootstrap 4, and find a designer :P
20:45:52 <TrueBrain> ieuw, Bootstrap
20:45:52 <andythenorth> later
20:45:58 <TrueBrain> but yes :)
20:48:15 <andythenorth> where are we hiding current website source
20:48:16 <andythenorth> ?
20:48:16 *** glx has joined #openttd
20:48:16 *** ChanServ sets mode: +v glx
20:48:25 <TrueBrain> andythenorth: no the subversion :D
20:48:31 <andythenorth> oof
20:48:59 <TrueBrain> no = on, but typing is hard
20:49:06 <andythenorth> yair yair :)
20:49:31 <frosch123> andythenorth: you have a vm running it :p
20:49:51 <andythenorth> not since I migrated my laptop :P
20:49:53 <TrueBrain> I am wondering if I can remember the host I assigned it to ..
20:50:00 <frosch123> svn-archive
20:50:07 <andythenorth> I can crawl everything out of prod site
20:50:09 <andythenorth> but ugh
20:50:12 <andythenorth> that sucks
20:50:14 <TrueBrain> ah, yes, I am happy frosch123 has a better memory than me :D
20:50:36 <andythenorth> url?
20:50:45 <TrueBrain> in your PM
20:50:49 <andythenorth> ta
20:52:20 <Xarick> this feels dumb
20:52:27 <Xarick> but it's what you asked nielsm
20:53:01 <andythenorth> hmm
20:53:12 <andythenorth> I was looking for static assets - css and any images
20:53:16 <andythenorth> can't see those in svn
20:53:27 <TrueBrain> hmm .. arent they there?
20:53:29 <TrueBrain> lemme check
20:53:31 <andythenorth> is there a media folder someone?
20:53:45 <Xarick> nielsm: https://paste.openttdcoop.org/p4dec4avi
20:53:53 <TrueBrain> there is also a media folder, but it should also be in subversion I think
20:53:55 <TrueBrain> hmm
20:54:02 <TrueBrain> for speed, all static images are served from media.openttd.org
20:54:04 <Xarick> less complex, but in my view, more dumber, will need player care
20:54:12 <frosch123> no, i stole that one via scp :)
20:54:22 <TrueBrain> ah
20:54:35 <Wolf01> So, today they disconnected me 6 times, even with slower speed which "solves all the problems"... it's not the speed the problem, I'm fine with 4.2M, the problem is elsewhere
20:55:02 <TrueBrain> andythenorth: let me make you a tarball
20:55:10 <andythenorth> thx
20:56:20 <TrueBrain> I did not check what else is in that tarball :P
20:56:22 <glx> Wolf01: noisy DSL line ?
20:56:24 <TrueBrain> lemme know when you got it
20:57:30 <Wolf01> Nah, some idiot touched something which worked really fine in a cabinet or in the central
20:58:08 <Wolf01> Now I have a high packet loss and a lot of disconnections
20:58:18 <Wolf01> But the line works fine
20:59:46 <TrueBrain> frosch123: btw, did you check if something already exists that does that for you? (in case you are building it yourself :P)
21:00:26 <frosch123> i spent 2 days on google :)
21:00:31 <TrueBrain> good :)
21:00:40 <TrueBrain> normally of course applications to authorization themself :)
21:01:01 <TrueBrain> mediawiki can, but the interface is shitty :P
21:01:02 <frosch123> i found various oauth libs, most do stuff which i do not need, but lack the stuff i need
21:01:12 <TrueBrain> haha; life is fun :P
21:01:18 <frosch123> so, i settled for one which is bundled by debian
21:02:01 <TrueBrain> unexpected place to find that :)
21:02:35 <frosch123> one of them was agpl3 licensed, which - according to my interpretation - would require is to license all out website stuff as apgl3
21:02:53 <TrueBrain> if we can avoid these kind of licenses, that would be great
21:02:57 <TrueBrain> same for gpl/lgpl
21:03:03 <TrueBrain> they are not bad perse .. just annoying
21:03:11 <TrueBrain> too bad relicensing OpenTTD is too much effort :P
21:10:33 <andythenorth> apgl never quite panned out
21:10:43 <andythenorth> it was unfortunate
21:10:49 <andythenorth> because it's not gpl compatible
21:12:01 <frosch123> the dude was looking for a license to sell his code to companies, while offering it to oss for free
21:12:18 <TrueBrain> you see, even these days, people land on agpl because of that
21:12:21 <frosch123> but his dual-licensing kind of means that he cannot accept contributions? so what's the point...
21:12:29 <TrueBrain> but I thought we established that gpl is not a nice license to work with :P
21:12:56 <TrueBrain> I mostly have seen people using agpl to force "big companies" to share their changes
21:13:03 <TrueBrain> but you see big companies doing that on their own these days
21:13:10 <TrueBrain> so that "forcing" part is a bit mute nowedays
21:13:26 <TrueBrain> for the making money part .. yeah .. I get it .. but ... you are either open source, or you arent, tbh
21:13:58 <frosch123> yes, i think he did not realise that he cannot reuse contributions by others in that case
21:14:06 <andythenorth> we tried to use agpl
21:14:08 <andythenorth> for valid reasons
21:14:21 <andythenorth> but then we found we can't use any gpl stuff
21:14:23 <andythenorth> so game over
21:14:35 <TrueBrain> dont use GPL stuff in a company tbh :P
21:14:38 <TrueBrain> it is horrible, legal-wise
21:15:19 <nielsm> don't make products that run GPL-covered software*
21:15:43 <nielsm> GPL only puts restrictions on distribution of the software, none on the usage
21:15:52 <TrueBrain> there is this blurry line if you dont sell the product, but deliver it as service .. but that is just against the idea of the license .. it is .. ugly
21:17:04 <nielsm> if you use a GPL-covered javascript library on a SaaS website, then you at the very least must distribute a non-minified version of it, and the entire application might actually be GPL covered, yes
21:17:12 <nielsm> since you're actually distributing code to the user
21:17:15 <TrueBrain> but if you start a new project .. please .. dont use GPL .. pick some other .. it is always better tbfh ..
21:17:17 <TrueBrain> but that is just me :P
21:21:07 <frosch123> google, github, gitlab, twitter, facebook, dropbox, reddit, linkedin, azure, discord, slack, stackoverflow, bitbucket, auth0, strava, spotify, yandex, twitch, vk
21:21:22 <TrueBrain> SPAMBOT DETECTED!
21:21:24 <frosch123> i think we should allos linkedin login, just for fun :)
21:21:24 <TrueBrain> :D
21:21:28 <frosch123> *allow
21:21:37 <TrueBrain> you crazy :P
21:21:55 <andythenorth> nah nielsm a gpl js doesn't sweep up the rest of the code, I can't remember why but I had to look into it
21:22:15 <TrueBrain> dont minify it in the rest of your javascript :P
21:22:21 <frosch123> TrueBrain: if you would check wikipedia, there are several sources which proof that ottd is very suitable for business training
21:22:39 <TrueBrain> business training?
21:23:05 <LordAro> trains you to be like a bus
21:23:21 <andythenorth> if you minify it and remove the GPL notification and refuse to distribute source, then that's a problem
21:23:59 <frosch123> hmm, i can't find the reference
21:24:08 <frosch123> did someone consider it too stupid and deleted it?
21:24:26 <TrueBrain> WUTH?! STUPIDITY ON THE INTERWEBZ? NONSENSE!
21:26:20 <TrueBrain> right; I am off. Enjoy your evening guys :)
21:28:29 <andythenorth> I am happy to file this one under "Stallman" and leave it at that https://www.gnu.org/philosophy/javascript-trap.en.html
21:28:45 <andythenorth> sosumi.js
21:33:18 *** Supercheese has joined #openttd
21:33:35 <frosch123> https://en.wikipedia.org/w/index.php?title=OpenTTD&type=revision&diff=655184656&oldid=654388517 <- that guy removed it
21:34:03 <frosch123> i am sure that paper got most links from ottd :)
21:34:10 <andythenorth> :D
21:38:18 <LordAro> lol
21:45:55 *** wodencafe has joined #openttd
21:48:34 <andythenorth> did truebrain actually go?
21:48:50 * andythenorth assumes that media.openttd.org is a silly idea
21:49:03 <andythenorth> and css for the website should be in the website repo
21:49:20 <andythenorth> if we want to use a CDN for static assets, we should handle that in a deploy script
22:07:24 *** nielsm has quit IRC
22:19:31 *** andythenorth has left #openttd
22:31:32 *** lugo has quit IRC
23:04:44 <Xarick> Cannot rebase: You have unstaged changes. Please commit or stash them.
23:04:51 <Xarick> forgot how to do it, :(
23:05:53 <LordAro> well, it tells you what you need to do :p
23:06:12 <Xarick> i commit then?
23:06:13 <Xarick> ok
23:06:18 <LordAro> possibly
23:06:22 <LordAro> depends what unstaged changes are
23:06:44 <Xarick> they're the changes i want to rebase -i
23:07:08 <LordAro> yeah, you'll want to commit those then
23:07:10 <LordAro> probably
23:07:26 <frosch123> https://auth0.com/pricing <- we could also buy that thing for $13/month
23:07:36 <frosch123> the free plan is not enough though
23:07:58 <frosch123> but many things we do not need
23:10:49 *** andythenorth has joined #openttd
23:10:50 <Xarick> i think i'm gonna do this in 3 commits
23:11:00 <Xarick> 1, to fix the crast in last_dest, next_dest
23:11:00 <andythenorth> can I prevent an engine attaching to another engine?
23:11:05 <Xarick> crash*
23:11:07 <andythenorth> frosch123: ^ o_O
23:11:15 <frosch123> an engine is also a wagon
23:11:15 <LordAro> frosch123: i feel like running an ldap server isn't the worst thing in the world
23:11:22 <Xarick> 2, add the helicopter/serviceathelipad check
23:11:30 <Xarick> 3, make it dumber
23:11:30 <LordAro> compared to something like that, anyway
23:11:47 <andythenorth> hmm, so I can use that cb
23:11:52 <andythenorth> I've never used it :P
23:11:52 <Xarick> so that the player has something to work for
23:12:22 <frosch123> andythenorth: media.o.o is essentially the static-bypass
23:12:37 <frosch123> directly served by nginx instead of django
23:12:53 <andythenorth> that makes sense
23:13:01 <andythenorth> dunno if we need it in new infra land
23:13:08 <frosch123> unlikely
23:13:35 <andythenorth> for the traffic we get, serving css and a few logos should be fine
23:14:20 <andythenorth> hmm but should I forbid attachment :P
23:14:50 <frosch123> why do you hate multi-engine?
23:15:03 <frosch123> aren't you the one posting videos/photos of them all the time?
23:15:12 <frosch123> cargo trains with 8+ engines
23:15:17 <andythenorth> not for some time
23:15:35 <andythenorth> I don't hate multi-engine :)
23:15:52 <andythenorth> there's a specific case where attaching very high speed trains to other trains makes no sense
23:16:03 <andythenorth> just loses 40-50mph of speedf
23:16:09 <Xarick> i hate multi-engine
23:16:39 <andythenorth> but also I have lots of livery madness, where livery changes depending on engine
23:16:46 <andythenorth> and it's just broken for high speed trains :P
23:16:46 <frosch123> let your kids learn themself that it makes no sense
23:16:56 <frosch123> do not prevent them from learning :)
23:17:06 <andythenorth> so we are -1 to the cb?
23:17:10 <andythenorth> I am not a fan of it
23:17:16 <Xarick> makes the terrain settings, the weight multiplier, and all that fine tuning effortof a scenario difficulty go to waste
23:17:20 <andythenorth> fixing the livery bug is 3 copy-paste actions in photoshop
23:19:57 <andythenorth> or it's one line in python :P
23:20:44 <frosch123> the cb would be more then
23:21:54 <andythenorth> and it's unpleasant
23:22:31 *** matt21347 has quit IRC
23:23:02 <andythenorth> oof my one line of python works, but gains me lots of unused switch warnings :P
23:24:01 <andythenorth> I could draw a second livery, but I have no way to select it, the vehicle is articulated
23:24:06 <andythenorth> so I can't use depot flip :D
23:25:51 <Xarick> git commit --amend
23:25:56 <andythenorth> shift-click to cycle liveries :P
23:25:57 <Xarick> how to keep the same message?
23:26:20 <andythenorth> copy-paste
23:28:39 <andythenorth> hmm
23:28:54 <andythenorth> randomised livery choice based on random bits in lead unit?
23:29:16 <LordAro> Xarick: it autofills the same commit message for me
23:29:19 <andythenorth> or go to bed :P
23:31:36 <andythenorth> or build these trains one unit at a time, not articulated?
23:31:59 <andythenorth> http://bundles.openttdcoop.org/iron-horse/push/LATEST/docs/html/trains.html#apt_thing
23:35:35 <andythenorth> so many ideas
23:35:38 <andythenorth> bed is the best one
23:35:39 *** andythenorth has left #openttd
23:36:17 *** frosch123 has quit IRC
23:42:25 <Xarick> crap!
23:42:33 <Xarick> Severity Code Description Project File Line Suppression State Error C2039 'HasPendingReplace': is not a member of 'Aircraft' openttd D:\OpenTTD\OpenTTD GitHub\OpenTTD\src\aircraft_cmd.cpp 443
23:42:49 <Xarick> damn it, i need to edit this later, not earlier
23:43:01 <Xarick> what do i do now :(
23:45:26 <Xarick> what a terrible rebase
23:46:23 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #6925: Fix #6574 #6636 #5405 #6493: Aircraft hangar issues https://git.io/fpJfr
23:47:17 <Xarick> this only got the crash fix
23:47:37 <Xarick> last_dest/next_dest crash fix
23:48:57 <Xarick> can i rebase again while the continuous-integration is working?
23:50:46 <LordAro> sure
23:57:13 *** Wolf01 has quit IRC