Config
Log for #openttd on 20th September 2018:
Times are UTC Toggle Colours
00:17:07  *** Samu has quit IRC
00:46:43  *** Gustavo6056 has joined #openttd
00:53:58  *** Gustavo6046 has quit IRC
00:53:58  *** Gustavo6056 is now known as Gustavo6046
01:17:06  *** glx has quit IRC
01:35:23  *** WWacko1976-work has joined #openttd
01:49:18  *** Gustavo6056 has joined #openttd
01:56:28  *** Gustavo6046 has quit IRC
01:56:28  *** Gustavo6056 is now known as Gustavo6046
02:12:26  *** snail_UES_ has quit IRC
02:49:20  *** Gustavo6056 has joined #openttd
02:56:25  *** Gustavo6046 has quit IRC
02:56:25  *** Gustavo6056 is now known as Gustavo6046
03:42:37  *** haudrauf has quit IRC
03:43:35  *** haudrauf has joined #openttd
03:49:31  *** Gustavo6056 has joined #openttd
03:53:31  *** Flygon has joined #openttd
03:56:58  *** Gustavo6046 has quit IRC
03:56:58  *** Gustavo6056 is now known as Gustavo6046
04:49:54  *** Gustavo6056 has joined #openttd
04:57:00  *** Gustavo6046 has quit IRC
04:57:00  *** Gustavo6056 is now known as Gustavo6046
05:50:05  *** Gustavo6056 has joined #openttd
05:55:45  *** Gustavo6046 has quit IRC
05:55:45  *** Gustavo6056 is now known as Gustavo6046
06:49:02  *** sim-al2 has quit IRC
06:50:04  *** Gustavo6056 has joined #openttd
06:57:28  *** Gustavo6046 has quit IRC
06:57:28  *** Gustavo6056 is now known as Gustavo6046
07:01:35  *** tokai has joined #openttd
07:01:35  *** ChanServ sets mode: +v tokai
07:01:40  *** gelignite has joined #openttd
07:08:38  *** tokai|noir has quit IRC
07:23:07  *** Samu_ has joined #openttd
07:50:22  *** Gustavo6056 has joined #openttd
07:56:28  *** Gustavo6046 has quit IRC
07:56:28  *** Gustavo6056 is now known as Gustavo6046
08:05:16  <Samu_> hi
08:33:50  *** m3henry has joined #openttd
08:36:20  <FLHerne> Samu_: Yes, if the license is compatible
08:36:39  <FLHerne> I don't see why you care about very old OTTD versions at all
08:49:44  <Samu_> @calc 12/2/4+1
08:49:44  <DorpsGek> Samu_: 2.5
08:50:14  *** Gustavo6056 has joined #openttd
08:50:24  <Samu_> @calc (12/2/4)*2+1
08:50:25  <DorpsGek> Samu_: 4
08:51:00  <Samu_> @calc (14/2/4)*2+1
08:51:00  <DorpsGek> Samu_: 4.5
08:51:13  <Samu_> @calc (11/2/4)*2+1
08:51:13  <DorpsGek> Samu_: 3.75
08:51:29  <Samu_> hmm
08:51:43  <Samu_> @calc 12/2%4
08:51:43  <DorpsGek> Samu_: 2
08:52:32  <Samu_> @calc 6%4
08:52:32  <DorpsGek> Samu_: 2
08:52:36  <Samu_> @calc 6/4
08:52:36  <DorpsGek> Samu_: 1.5
08:52:52  <Samu_> bah, how do I get 6/4 = 1 in this calculator?
08:54:58  *** andythenorth has joined #openttd
08:57:02  *** Gustavo6046 has quit IRC
08:57:02  *** Gustavo6056 is now known as Gustavo6046
09:27:23  <LordAro> @calc 6//4
09:27:23  <DorpsGek> LordAro: 1
09:27:29  <LordAro> python3
09:35:12  *** andythenorth has left #openttd
09:50:16  *** Gustavo6056 has joined #openttd
09:57:35  *** Gustavo6046 has quit IRC
09:57:36  *** Gustavo6056 is now known as Gustavo6046
10:15:37  *** Mahjong has joined #openttd
10:20:17  *** Mahjong2 has quit IRC
10:50:44  *** Gustavo6056 has joined #openttd
10:56:47  *** Gustavo6046 has quit IRC
10:56:47  *** Gustavo6056 is now known as Gustavo6046
11:22:42  *** gelignite has quit IRC
11:50:55  *** Gustavo6056 has joined #openttd
11:57:48  *** Gustavo6046 has quit IRC
11:57:48  *** Gustavo6056 is now known as Gustavo6046
12:02:36  *** kaane has joined #openttd
12:02:43  *** Eddi|zuHause is now known as Eddi|zuHause2
12:04:45  *** m3henry has quit IRC
12:06:43  *** Eddi|zuHause2 is now known as Eddi|zuHause
12:09:27  *** snail_UES_ has joined #openttd
12:12:49  *** reldred has quit IRC
12:18:09  *** reldred has joined #openttd
12:27:09  *** sim-al2 has joined #openttd
12:48:38  *** snail_UES_ has quit IRC
12:50:53  *** Gustavo6056 has joined #openttd
12:54:09  <Samu_> https://imgur.com/HOiqBqJ
12:54:12  <Samu_> almost there
12:54:27  *** Gustavo6046 has quit IRC
12:54:27  *** Gustavo6056 is now known as Gustavo6046
12:55:11  <Samu_> it shall never build level crossings
12:55:20  <Samu_> only bridges
13:08:50  *** wodencafe has quit IRC
13:14:05  *** wodencafe has joined #openttd
13:16:27  <LordAro> when was the last time someone compiled OTTD on morphos?
13:19:28  *** m3henry has joined #openttd
13:19:48  <LordAro> http://morphos-files.ppa.pl/find.php?find=openttd not since 2009, methinks
13:44:38  <Samu_> yay, I did it
13:44:42  <Samu_> https://imgur.com/lIctRz7
13:44:47  <Samu_> I created a trap
13:45:28  <Samu_> but the pathfinder builds his own bridge
13:45:32  <Samu_> over the rails
13:45:39  <Samu_> the buses are also smart
13:46:00  <Samu_> they aren't walking into the level crossing tile as well
13:46:02  <Samu_> I'm happy
13:48:36  <Samu_> but now the pathfinder is utterly slow :(
13:50:46  *** Gustavo6056 has joined #openttd
13:57:08  *** Gustavo6046 has quit IRC
13:57:08  *** Gustavo6056 is now known as Gustavo6046
13:57:12  *** sim-al2 has quit IRC
14:01:07  <Eddi|zuHause> i'm pretty sure morphos got dropped because of lack of gcc4
14:07:53  <LordAro> there's quite a bit of code left in that's specific to it
14:08:17  <Eddi|zuHause> i'm not sure there's a reason to remove that
14:08:54  <LordAro> dead code tends to bitrot
14:09:31  <Eddi|zuHause> yes, but as long as there's no maintenance effort wasted there, what's the harm?
14:09:46  <Eddi|zuHause> it could be used by someone in the future to revive the port
14:20:35  *** sla_ro|master has joined #openttd
14:29:31  *** Alberth has joined #openttd
14:29:31  *** ChanServ sets mode: +o Alberth
14:29:41  <Alberth> moin
14:37:26  *** nielsm has joined #openttd
14:40:34  <LordAro> hihi
14:42:34  <m3henry> 'lo
14:47:25  *** WWacko1976-work has quit IRC
14:50:53  *** Gustavo6056 has joined #openttd
14:56:37  *** Gustavo6046 has quit IRC
14:56:37  *** Gustavo6056 is now known as Gustavo6046
15:12:10  <crem3> Hello openttd people.
15:41:01  *** frosch123 has joined #openttd
15:51:15  *** Gustavo6056 has joined #openttd
15:57:07  *** Gustavo6046 has quit IRC
15:57:07  *** Gustavo6056 is now known as Gustavo6046
16:06:13  *** Gja has joined #openttd
16:23:02  <Samu_> can i save the pathfinder state into a savegame somehow?
16:25:40  <Samu_> "you tried to save an unsupported type..."
16:25:40  *** Flygon has quit IRC
16:25:43  <Samu_> bah
16:26:14  <Samu_> I dont even know what's in there
16:31:20  <Samu_> oh, i have to edit graph.aystar thing to support load/save?
16:31:24  <Samu_> boring
16:33:17  <Samu_> it's an instance
16:33:22  <Samu_> how to save instances?
16:33:24  <Samu_> halp
16:34:09  <Samu_> not even a table
16:34:12  <Samu_> or array
16:34:33  <Samu_> but an instance, i have no idea how to save an instance
16:34:37  <Alberth> of course not, a path finder is code with data
16:35:00  <Alberth> can't you extract the path from it, and save that in an array or so?
16:37:08  <Samu_> i was splitting the pathfinder progress into intervals
16:37:58  <Samu_> pathfind for 100 interactions and then if no path wasn't found yet, save pathfinder current progress
16:38:21  <Alberth> ah, yes, then you need to save state
16:38:24  <Samu_> do some other stuff like managing the rest, or even build an aircraft route, and then, on the next cycle, return
16:38:50  <LordAro> probably not worth saving pathfinder state itself, more like current route so far
16:38:56  <LordAro> which you can store outside the pathfinder
16:39:03  <Alberth> you're talking about AI ?
16:39:21  <LordAro> aye
16:39:28  <Samu_> yes
16:39:37  <Alberth> if so, can't you just drop the state, and recompute it again when you load the game ?
16:39:49  <Samu_> i guess so
16:39:56  <LordAro> ^
16:40:01  <Alberth> may cost a few cycles, but saves lots of headaches
16:40:03  <Samu_> but that means it's losing time
16:40:06  <Samu_> oh, i see
16:40:19  <LordAro> if it were doing the whole route at once, maybe it would be worth it
16:40:42  <LordAro> but that's kinda the point of splitting it up anyway - doing it in small chunks
16:40:44  <Alberth> unless you save and reload every game day, I wouldn't worry too much about those cylces
16:42:05  <Samu_> m_pathfinder = null; goes back to null
16:42:09  <Alberth> you could extract the small chunk from the pathfinder, and save it in a list or so in the vehicle
16:42:52  <Alberth> instead of querying the next tile each time, query the entire small part in one go
16:42:54  *** Progman has joined #openttd
16:47:11  <Samu_> hmm have to estimate a max_cost for the pathfinder
16:47:21  <Samu_> if I am to let it run infinitely
16:47:32  <Samu_> but at intervals
16:48:05  <Samu_> or it can take 2500 cumulative days without finding anything
16:48:17  <Samu_> just to tell me no path found
16:49:42  <nielsm> a player loading a saved game from another day will typically also need some time to remember what s/he was doing last ;)
16:51:31  *** Gustavo6056 has joined #openttd
16:58:47  *** Gustavo6046 has quit IRC
16:58:47  *** Gustavo6056 is now known as Gustavo6046
17:01:51  <Alberth> no, I always save with the next thing to work on in the middle of the screen :)
17:01:53  *** m3henry has quit IRC
17:02:10  *** Wolf01 has joined #openttd
17:02:13  <Alberth> o/
17:02:30  <Wolf01> o/
17:08:46  *** Gja has quit IRC
17:09:15  <Wolf01> Meh... faulty math parser... -2*-2 = --4
17:09:18  <Heiki> during a game, is there any easy way to find out which vehicles are available, other than building depots for every transportation type?
17:09:45  <frosch123> yes
17:09:55  <frosch123> open the vehicle list and click "available vehicles"
17:10:09  <frosch123> i think it even works for specators
17:10:31  <Heiki> oh, thank you, that was too obvious
17:13:32  <Eddi|zuHause> <Wolf01> Meh... faulty math parser... -2*-2 = --4 <-- well, it's not wrong :p
17:13:56  <Wolf01> No, but when you have 123/--4 it is
17:14:23  <Wolf01> Division by zero, because that's the fault
17:14:29  <Eddi|zuHause> really, if i were building a math parser, -2*-2 would be invalid syntax
17:14:31  <nielsm> just search/replace -- with +
17:14:34  <nielsm> or empty string
17:15:08  <Eddi|zuHause> can only have unary operators at the beginning of a string or a (
17:15:34  <Wolf01> nielsm: not so easy, you might want + when there's a number or ) before, but empty if there's nothing
17:19:11  <Wolf01> The problem is that the functions can't tell if the - is the sign of the number or if a subtraction operation, and they treat it always as subtraction
17:19:43  <Wolf01> I need to debug it (luckily I've some unit tests) and try to fix it
17:19:57  <Wolf01> Or trash it and look for another one
17:20:55  <Eddi|zuHause> uhm, that should be a trivial change to the grammar you're building your parser from
17:22:27  <Wolf01> http://www.freevbcode.com/ShowCode.asp?ID=2090 <- I started from this one because can easily be adapted to the language we use, but I think I'll take a c# one and make it a library
17:22:38  <LordAro> i think i've rewritten findversion.sh in cmake
17:22:44  <LordAro> god is it an ugly language
17:25:33  <LordAro> https://github.com/LordAro/OpenTTD/commit/1ea407bfa16025fd29edbedc8c50fc27dd93d9eb lovely
17:27:39  <Wolf01> About ugly languages, we should talk again when you've tried a block language in form of code, it tricks you that you are writing code but instead you are making blocks, you can't reliably use copy/paste and a lot of classic features of a code editor, and I don't speak about when you type in the wrong keyword and it creates an entire structure you don't want and you are forced to ctrl-z multiple
17:27:40  <Wolf01> times (which doesn't work as it's expecting a value to be inserted) so you have to hit ESC (one time, because 2 times closes the editor) and ctrl-z again
17:27:41  <frosch123> you left the else/endif () empty :p
17:28:24  <LordAro> frosch123: yeah, couldn't think of anything good to put in them when there was an elseif above
17:28:54  <Wolf01> I mean a language like this: http://www.blocklanguages.org/
17:29:33  <frosch123> https://gist.github.com/tonious/1377667 <- that was a funny read during lunch
17:30:26  *** Gja has joined #openttd
17:30:36  <frosch123> a beginner writes a terrible peace of code, other people praise it, it gets top search hits, people discover all the fundamental flaws, meanwhile-less-beginner author asks people to stop commenting :p
17:30:36  <Wolf01> Ha! :D
17:30:48  <frosch123> *piece
17:30:50  *** Progman has quit IRC
17:38:26  *** Oroburos has joined #openttd
17:42:43  *** andythenorth has joined #openttd
17:42:46  *** HerzogDeXtEr has joined #openttd
17:44:29  <andythenorth> yo
17:46:46  *** Wacko1976 has joined #openttd
17:47:27  <Samu_> pathfinder not too smart https://imgur.com/FrJhEqx
17:51:35  *** Gustavo6056 has joined #openttd
17:53:57  <Samu_> since i'm editing the pathfinder, gonna try solve this
17:57:08  *** Gustavo6046 has quit IRC
17:57:08  *** Gustavo6056 is now known as Gustavo6046
17:57:50  <nielsm> oh yeah if you can make those "down-up" "up-down" sequences not appear that'd probably help a lot making the AI appear smart
17:57:52  <andythenorth> is there anything good on the internet?
17:58:54  <nielsm> the internet is shit
17:59:40  <nielsm> Samu_: but arguably eliminating "down-up" sequences might not be worth the while when running under "realistic acceleration" rules
18:00:06  <Samu_> the bridge is owned by the town
18:00:09  <nielsm> (and for sufficiently overpowered trains, "up-down" can also be ignored)
18:00:11  <nielsm> ah
18:01:07  <Samu_> the tile in front of the bridge is owned by the AI, hmm
18:01:42  <Samu_> i think i know where in the code this happens, let me see
18:02:58  *** Wacko1976 has quit IRC
18:09:00  <Samu_> AIRoad.CanBuildConnectedRoadPartsHere(cur_node, path.GetParent().GetTile(), next_tile)
18:09:03  <Samu_> seems fine
18:09:07  <Samu_> why didn't it fail
18:12:08  <Samu_> oh, the pathbuilder builds backwards,  i have to look at this in the opposite way :(
18:12:14  <Samu_> pathfinder
18:13:06  <Samu_> pathfinder first tile is 26789
18:13:12  <Samu_> then 26790
18:13:20  <Samu_> then the bridge, owned by the town
18:13:44  <Samu_> the pathbuilder does the opposite
18:13:56  <Samu_> bridge first, then 26790, then 26789
18:18:44  *** jamillent has joined #openttd
18:23:07  <andythenorth> so how is TrueBrain? o_O
18:25:45  *** Gja has quit IRC
18:40:44  <Eddi|zuHause> man this trump guy is funny... first he's all like "the mexicans will pay for this wall" and then he gets upset when he doesn't get a budget for this wall, that wasn't supposed to cost anything?
18:41:37  <andythenorth> he's just a regular narcisstic pyschopath
18:41:44  <andythenorth> who has managed to be unusually lucky
18:42:13  *** sim-al2 has joined #openttd
18:50:39  *** gelignite has joined #openttd
18:51:37  *** Gustavo6056 has joined #openttd
18:58:38  *** Gustavo6046 has quit IRC
18:58:38  *** Gustavo6056 is now known as Gustavo6046
19:06:52  <Eddi|zuHause> also this concept of a government shutdown is completely foreign to me
19:07:14  <Eddi|zuHause> over here, "no new budget" means "well, we'll just continue in the spirit of the old budget then"
19:07:18  *** sim-al2 has quit IRC
19:09:01  <frosch123> Eddi|zuHause: old governments have it harder
19:09:23  <Eddi|zuHause> i believe it was Bismarck who introduced that concept
19:09:29  <frosch123> switzerland did not get women suffrage till 1970
19:09:45  <frosch123> all other european countries got by either 1920 or 1945
19:10:07  <frosch123> uk  has all land owned by knights or something
19:10:24  <frosch123> in other countries everything was disowned at some point
19:12:06  <Samu_> pathfinder is weird
19:12:16  <Samu_> i'm getting the parent of the parent of the cur_tile
19:13:10  <Eddi|zuHause> there are a lot of layers in that
19:14:01  *** sim-al2 has joined #openttd
19:14:27  <frosch123> well, no need to make the MI conclusion
19:16:29  <Samu_> i think i solved the issue, not really sure, as the pathfinder decided on an entirely different way
19:16:57  <andythenorth> frosch123: allegedly the Estate of the Duke of Westminster owns contiguous land from west of Bristol all the way to London https://en.wikipedia.org/wiki/Grosvenor_Group
19:17:39  <andythenorth> houses where I live are mostly leasehold (on 999 year leases), with a nominal ground rent paid to the landower....
19:17:50  <andythenorth> ...in my old house it was the Duke of Westminster
19:18:09  <andythenorth> :P
19:18:20  <frosch123> could you call him when something was broken?
19:18:32  <Samu_> https://imgur.com/LpFGQbG
19:18:50  <andythenorth> frosch123: I could have tried
19:18:53  <Samu_> decided not to go through that bridge at all, build further to the south
19:18:54  <andythenorth> he's probably on LinkedIn :P
19:19:24  <andythenorth> LinkedIn is awful, I tried it
19:19:30  <andythenorth> it's a horrid place
19:19:46  <Samu_> the check was made on the last line of attempt 1/5
19:20:03  <Samu_> decided to discard this route :(
19:20:08  <Samu_> hmm
19:20:15  <andythenorth> when did Chrome go cartoon?
19:20:18  <andythenorth> must have been an update :P
19:20:33  <frosch123> chrome and firefox swapped their themese
19:21:04  <frosch123> firefox changed from round to angled
19:21:11  <frosch123> chrome changed from angled to round or something
19:22:30  <andythenorth> FF has introduced an interesting behaviour with cached pages on https
19:22:33  <andythenorth> and the back button
19:22:36  <andythenorth> it fails all the time
19:22:47  <andythenorth> with errors, then 'try again' errors differently
19:23:01  *** Wacko1976 has joined #openttd
19:23:15  <andythenorth> 73% of Iron Horse sprites done :P
19:23:33  <Eddi|zuHause> "There are C programmers that are younger than this code sample." haha :p
19:24:00  <frosch123> when andy states progress, i always wonder whether he drew more sprites or deleted more plans
19:24:40  <Eddi|zuHause> probably the latter
19:24:41  <frosch123> Eddi|zuHause: how many bugs did you find in ht_hash() ?
19:24:53  <Eddi|zuHause> frosch123: haven't really looked at the code
19:25:17  <frosch123> today i needed a hash function in plain c (no std::hash), and google gave me that
19:25:22  <frosch123> i did not copy :)
19:26:17  <andythenorth> frosch123: all 3
19:26:37  <andythenorth> you missed an option :P
19:26:58  <frosch123> you drew 3 sprites?
19:27:16  <andythenorth> sometimes I find I missed a vehicle, but it's a copy-paste
19:27:26  <andythenorth> so total goes up, but % completed goes up slightly faster
19:28:33  <andythenorth> I wasted 4 days on stupid easter eggs last week though :P
19:28:37  <andythenorth> ctrl-click livery nonsense
19:29:10  <frosch123> do sprites say "i do not like this, please rotate me back"?
19:29:18  <andythenorth> not so far
19:29:24  <Eddi|zuHause> andythenorth: you mean like https://www.xkcd.com/2014/ ?
19:29:25  <andythenorth> although I provided all my own offsets
19:29:48  <andythenorth> Eddi|zuHause: exactly
19:29:53  <andythenorth> there is an XKCD for all occasions
19:29:55  * andythenorth tests that
19:29:56  <frosch123> Eddi|zuHause: looks pretty much like the latest xkcd
19:30:14  <andythenorth> I tried 'divorce' https://xkcd.com/473/
19:30:27  <andythenorth> 'cheese' https://xkcd.com/140/
19:30:44  <andythenorth> 'duvet' https://xkcd.com/219/
19:30:47  <Eddi|zuHause> frosch123: there is also https://xkcd.com/1725/
19:31:58  <andythenorth> did Wolf01 fix NRT yet? o_O
19:32:09  <Wolf01> Nope
19:32:46  <Wolf01> I'm fixing a math parser @work, drains energies
19:32:48  <andythenorth> oof
19:33:01  <andythenorth> people getting jobs is why OpenTTD dies
19:33:17  <Wolf01> Agreed
19:33:40  <Eddi|zuHause> Wolf01: how hard could it be? writing a simple parser from scratch is like 1 hour
19:33:54  <andythenorth> oof
19:34:01  <andythenorth> harsh :P
19:34:19  <Eddi|zuHause> well, assuming the parser generator is already installed
19:34:39  <frosch123> Eddi|zuHause: are you sure you would be done argueing about writing one in an hour?
19:34:58  <Wolf01> The problem is that boss want speed, which means I need to find stuff which already does the job, and lose time to fix it
19:35:21  <Wolf01> Because learning how to do it well takes more time
19:35:24  <Eddi|zuHause> what kind of speed?
19:35:33  <frosch123> implementation speed, not runtime speed
19:35:34  <Wolf01> Like "I want it for this evening"
19:35:52  <frosch123> Eddi|zuHause: did you not read LA's text yesterday?
19:35:57  <Eddi|zuHause> frosch123: well, i'd not be done discussing whether to use lex/yacc or flex/bison in one hour
19:36:29  <Eddi|zuHause> frosch123: which text?
19:36:31  <frosch123> you can reserve the second hour for bison2 vs bison3
19:36:52  <frosch123> Eddi|zuHause: the text about the guy that still dreams that programmers could write good software smoe day
19:37:08  <Eddi|zuHause> i read that
19:37:31  <Eddi|zuHause> it's a nice dream
19:37:44  <frosch123> then you should have known that noone cares about runtime speed, if you can blame it on the customer
19:37:54  <Eddi|zuHause> it dies immediately on a boss saying "i'm not paying you for THAT, do THIS"
19:38:08  <andythenorth> my friend found the same article, but from 2002 https://www.technologyreview.com/s/401594/why-software-is-so-bad/
19:38:22  <andythenorth> and I'm sure there are some in mythical man month or similar from 1967 or so
19:38:26  <frosch123> no, it actually dies immediately because most programmers do not find the 3 major bugs in ht_hash()
19:38:54  <Eddi|zuHause> frosch123: like i said, i haven't actually looked
19:38:57  <andythenorth> 'if software was cars'
19:39:08  <andythenorth> but software is more like....well....software
19:39:17  <andythenorth> I was going to say novels, or architecture
19:39:22  <andythenorth> but it's just like software
19:39:29  <frosch123> andythenorth: there was a counter-speech to that once
19:39:36  <andythenorth> just one?
19:39:43  <andythenorth> or several competing counter speeches?
19:39:44  <frosch123> if cars developed like computers, they would drive at lightspeed or something
19:39:48  <andythenorth> all built on dubious foundations?
19:40:04  <andythenorth> software is awful :P
19:40:32  <Eddi|zuHause> but if cars doubled speed every 2 years, the world would still sit in a giant traffic jam
19:40:47  <nielsm> if cars were developed like computers their fuel consumption would rise every year
19:40:54  <andythenorth> they did
19:40:58  <frosch123> oh, andy's text even cites that story in the intro :p
19:41:08  <andythenorth> but the software was tweaked to hide it
19:41:20  <Wolf01> Nah, my current PC consumes fewer than the one I had 15 years ago
19:41:24  <nielsm> and you'd get the engines going out more and more often
19:41:28  <andythenorth> due to equipment and safety, car weight allegedly increased significantly in last 20 years
19:41:43  <Eddi|zuHause> Wolf01: but your cell phone?
19:41:49  <Eddi|zuHause> Wolf01: and your watch?
19:42:07  <Eddi|zuHause> Wolf01: and all the ~2000 computers in your car
19:42:13  <andythenorth> if there were more engineers, would software get better or worse?
19:42:36  <Alberth> we'd just have more software
19:43:01  <Eddi|zuHause> there would be more software, so also more worse software.
19:43:15  <Eddi|zuHause> what's missing is an environment where the good software bubbles to the top
19:43:43  <Eddi|zuHause> some kind of "natural" selection that prevents bad software from spreading
19:43:45  <andythenorth> I lived through a brief period of working software
19:43:47  <Alberth> stuff is too uniq
19:43:57  *** sim-al2 has quit IRC
19:44:14  <andythenorth> there were about 5 golden years of OS X and most of the 3rd party mac apps
19:44:21  <andythenorth> where they literally just worked
19:44:24  <andythenorth> it was remarkable
19:44:26  <Eddi|zuHause> andythenorth: certainly there are more game developers than 20 years ago, which is why steam is drowning in bad games
19:44:26  <andythenorth> then it ended
19:45:11  <Wolf01> <Eddi|zuHause> some kind of "natural" selection that prevents bad software from spreading <- the opposite of internet
19:45:11  <Eddi|zuHause> andythenorth: that's because the appleverse is effectively a monopoly. and monopolys always degrade like that
19:45:32  <andythenorth> it was deceptive, because for several years in a row, it only got better
19:45:41  <andythenorth> so it seemed like progress would continue
19:45:49  <andythenorth> then it plateaued
19:45:57  <andythenorth> and now it yings and yangs between bearable, and horrific
19:45:58  <LordAro> all computers are pretty terrible
19:46:15  <andythenorth> mine crashes every few weeks
19:46:19  <andythenorth> that's ridiculous
19:46:37  <andythenorth> I used to have macs that would stay up for a year
19:46:50  <Eddi|zuHause> andythenorth: it's because there is no way to switch back and forth between, say, microsoft and apple. once you pick a side, you're vendor-locked
19:47:13  <andythenorth> only for photos of your family
19:47:23  <andythenorth> pretty much everything else is platform neutral
19:47:50  <Alberth> try running an apple program at a windows machine
19:47:56  <Eddi|zuHause> apple's tendency to remove standard interfaces (like headphone jack or USB port) doesn't fit that
19:48:22  <andythenorth> but Office 365 is just a subscription
19:48:29  <andythenorth> Adobe CC is just a subscription
19:48:37  <andythenorth> Dropbox is just a subscription
19:48:43  * LordAro runs andythenorth in a web browser
19:48:44  <andythenorth> the only lock in is the sync with my phone
19:48:46  <Alberth> single vendor
19:49:24  <andythenorth> yes
19:49:48  <andythenorth> how can we fix it all?
19:49:51  <andythenorth> or we can't? :P
19:49:53  <andythenorth> draw pixels instead
19:50:05  <Eddi|zuHause> is that just me, or has xkcd's random button stopped working without javascript?
19:50:20  <Wolf01> I'm playing F with a friend
19:50:31  <andythenorth> Eddi|zuHause: it's all just awful
19:50:55  <andythenorth> has that guy implemented chrome inside openttd yet?
19:51:10  <Eddi|zuHause> brb
19:51:24  <andythenorth> basically that, that is all the wrong
19:51:30  *** Gustavo6056 has joined #openttd
19:51:37  <andythenorth> https://www.tt-forums.net/viewtopic.php?f=32&t=83555
19:52:05  *** Eddi|zuHause has quit IRC
19:52:21  *** Gja has joined #openttd
19:56:50  <frosch123> openbu still posting?
19:57:02  <frosch123> i would think they have reached the age of 16 by now
19:57:16  <andythenorth> there seem to be charts
19:58:40  *** Gustavo6046 has quit IRC
19:58:40  *** Gustavo6056 is now known as Gustavo6046
19:59:19  <frosch123> and olympics
20:00:48  <LordAro> oh god, the electron guy
20:01:57  <LordAro> well at least 1.2.6 has been done
20:02:10  <LordAro> you might argue that 1.2.5 has been rewritten
20:02:18  <LordAro> 1.2.7 is oddly specific
20:03:08  <frosch123> yeah, i also wondered about 1.2.7
20:03:44  <LordAro> be nice if there was a way to pipe station production data out thougj, i guess
20:03:59  <LordAro> or can the admin port do it?
20:04:45  <frosch123> the admin port can do everything in theory
20:04:55  <frosch123> it's just kind of hard to setup
20:05:08  <frosch123> you need a gs and an external tool
20:09:31  <LordAro> be nice if the gs wasn't necessary, i guess
20:10:11  <andythenorth> shall I close old PRs? o_O
20:10:16  <andythenorth> as 'not happening'
20:10:25  <LordAro> are there any?
20:10:33  <andythenorth> not yet :)
20:10:49  <LordAro> i didn'y spot any obvious ones the other day
20:10:55  <andythenorth> I think 3 months without activity is minimum grace period
20:10:58  <andythenorth> maybe longer
20:11:19  <LordAro> i think that's what TB wanted to do
20:11:25  <LordAro> as long as they're waiting on author
20:11:55  <andythenorth> I should make a filter that excludes those
20:13:05  *** Wacko1976_ has joined #openttd
20:14:44  <andythenorth> https://github.com/OpenTTD/OpenTTD/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+-label%3A%22waiting-on-author%22+
20:15:23  <frosch123> there is nothing wrong with having a page of PRs
20:15:53  <frosch123> if you need more reviewers you need to offer them a selection of stuff to review
20:16:00  <andythenorth> I just need to filter out the ones that aren't moving
20:16:35  <andythenorth> oh samu's can be merged? https://github.com/OpenTTD/OpenTTD/pull/6902
20:16:35  <frosch123> if stuff moves, clean your screen
20:16:48  *** sla_ro|master has quit IRC
20:19:17  *** Progman has joined #openttd
20:20:04  *** Wacko1976 has quit IRC
20:25:34  <andythenorth> 74% :P
20:26:12  <andythenorth> just 50 trains to draw :P
20:26:17  <andythenorth> and the ones I forgot to add yet
20:26:55  <LordAro> 6902, 6912 can be merged immediately, imo
20:27:53  <LordAro> 6904 needs checking that the autogenerated stuff is correct (i think samu did it manually)
20:27:58  *** Eddi|zuHause has joined #openttd
20:28:04  <LordAro> and possibly checked whether it's necessary
20:28:36  <LordAro> 6906 & 6911 look fine to me too, but need someone more knowledgable than i
20:28:52  <LordAro> same for the nielsm PRs :p
20:29:25  *** Eddi|zuHause has quit IRC
20:29:44  *** Eddi|zuHause has joined #openttd
20:29:51  <nielsm> 6912 the ICU one, is it confirmed it doesn't break any versions of ICU that should continue working?
20:30:44  <LordAro> don't see why it would
20:31:13  <LordAro> it's been in a namespace all along afaik, they've just removed the using icu... from the headers
20:31:32  <nielsm> ah
20:31:36  <LordAro> you're welcome to test on an old debian stable if you like though :p
20:31:41  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick merged pull request #6902: Fix #6892: [Script] CONFIG_RANDOM range limit https://github.com/OpenTTD/OpenTTD/pull/6902
20:31:41  <DorpsGek_II> [OpenTTD/OpenTTD] frosch123 pushed 1 commits to master:
20:31:41  <DorpsGek_II>   - Fix #6892: [Script] CONFIG_RANDOM did not use the full parameter range (#6902) (by SamuXarick)
20:31:43  <DorpsGek_II> https://github.com/OpenTTD/OpenTTD/commit/41fb7cb15e79
20:31:49  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick closed issue #6892: CONFIG_RANDOM bug https://github.com/OpenTTD/OpenTTD/issues/6892
20:32:03  <nielsm> the sprite sorting change is probably correct
20:32:24  <nielsm> I don't understand the SSE4 code though
20:32:29  <frosch123> the second sprite sorting pr looks way better than the first one, definitely :)
20:33:43  <LordAro> aye
20:35:00  <frosch123> 6912 is weird... how did it compile before?
20:35:06  <nielsm> 6754 clone tool, making the requested change to it should be rather simple, even if not by the original PR author
20:35:12  <frosch123> was there some hidden "using namespace icu"?
20:35:33  <LordAro> frosch123: yeah, they've been removing it in newer versions
20:35:44  *** Alberth has left #openttd
20:35:46  <LordAro> there was a similar PR (that i did) for v61
20:36:04  <nielsm> does anyone know if peter1138 will set aside the bike when winter arrives? :)
20:36:47  <DorpsGek_II> [OpenTTD/OpenTTD] steils merged pull request #6912: Fix #6854: Compilation with ICU 62 https://github.com/OpenTTD/OpenTTD/pull/6912
20:36:48  <DorpsGek_II> [OpenTTD/OpenTTD] frosch123 pushed 1 commits to master:
20:36:48  <DorpsGek_II>   - Fix #6854: Compilation with ICU 62 (#6912) (by steils)
20:36:49  <DorpsGek_II> https://github.com/OpenTTD/OpenTTD/commit/fec44b0d0928
20:36:55  <DorpsGek_II> [OpenTTD/OpenTTD] Polynomial-C closed issue #6854: Build failure with icu-62.1 https://github.com/OpenTTD/OpenTTD/issues/6854
20:37:08  <LordAro> nielsm: wouldn't bet on it :p
20:40:02  <nielsm> anyone I'm off to bed
20:40:20  <nielsm> shall take time this weekend to test the fluidsynth music thing
20:40:48  <nielsm> might also be worth (as a separate change later) to make it work on windows, maybe
20:41:35  <DorpsGek_II> [OpenTTD/OpenTTD] frosch123 commented on pull request #6906: Fix #6742: Only possible to build station next to competitor by using CTRL+click https://github.com/OpenTTD/OpenTTD/pull/6906#issuecomment-423325965
20:42:15  <LordAro> nielsm: i didn't write the code, but it looks simple enough that i should be able to modify it as necessary
20:42:19  <LordAro> in theory.
20:49:10  *** nielsm has quit IRC
20:52:02  *** Gustavo6056 has joined #openttd
20:55:30  <andythenorth> nice, closed PRs :)
20:56:20  <DorpsGek_II> [OpenTTD/OpenTTD] frosch123 commented on issue #6908: Request: Persistent storage for vehicles https://github.com/OpenTTD/OpenTTD/issues/6908#issuecomment-423330322
20:59:12  *** Gustavo6046 has quit IRC
20:59:12  *** Gustavo6056 is now known as Gustavo6046
21:01:23  <frosch123> ^^ just scaring people who consider working on that :p
21:04:56  *** gelignite has quit IRC
21:08:42  <andythenorth> can we not just cache George's big calculation? :P
21:08:47  * andythenorth invents horrible caching system
21:09:04  <andythenorth> if result is same 5 times in a row (when called), it's never calculated again
21:17:14  *** m3henry has joined #openttd
21:23:17  <Wolf01> 'night
21:23:19  *** Wolf01 has quit IRC
21:24:36  *** Progman has quit IRC
21:35:30  *** andythenorth has quit IRC
21:40:55  <Samu_> (path.GetParent() == null || path.GetParent().GetParent() == null || AIRoad.CanBuildConnectedRoadPartsHere(next_tile, path.GetParent().GetParent().GetTile(), cur_node))
21:45:55  *** frosch123 has quit IRC
21:46:33  <Samu_> if the parent of the parent of the cur_node exists, this would fix the ERR_LAND_SLOPED_WRONG
21:46:57  <Samu_> if it doesn't exist, I'm not sure what to do
21:47:24  <Samu_> CanBuildConnectedRoadPartsHere is the holy grail function
21:47:40  <Samu_> and I wouldn't be able to use it
21:47:47  <Samu_> so, hmm what could I do
21:52:11  *** Gustavo6056 has joined #openttd
21:59:12  *** Gustavo6046 has quit IRC
21:59:12  *** Gustavo6056 is now known as Gustavo6046
22:02:27  <m3henry> LordAro: Looks like implementing SmallVector in terms of std::vector only requied 3 value structs to gain default constructors. Now I can start deprecating individual methods
22:05:22  *** Stimrol has quit IRC
22:17:00  *** Laedek has joined #openttd
22:19:09  <Eddi|zuHause> sounds like you're having a really great time
22:35:22  *** HerzogDeXtEr has quit IRC
22:45:32  *** m3henry has quit IRC
22:52:10  *** Gustavo6056 has joined #openttd
22:55:43  <Samu_> who's the resident aystar expert :p
22:59:12  *** Gustavo6046 has quit IRC
22:59:12  *** Gustavo6056 is now known as Gustavo6046
23:00:32  *** Oroburos has quit IRC
23:45:18  *** Mahjong1 has joined #openttd
23:48:28  *** Mahjong has quit IRC
23:52:21  *** Gustavo6056 has joined #openttd
23:59:43  *** Gustavo6046 has quit IRC
23:59:43  *** Gustavo6056 is now known as Gustavo6046

Powered by YARRSTE version: svn-trunk