IRC logs for #openttd on OFTC at 2019-10-12
            
00:01:14 *** firewire1394 has quit IRC
00:01:17 *** Wolf01 has quit IRC
00:25:15 *** nielsm has joined #openttd
00:43:17 <DorpsGek_III> [OpenTTD/OpenTTD] abmyii commented on pull request #7752: Prevent sounds being produced by inactive industries https://git.io/JelKW
01:14:51 *** arikover has quit IRC
01:19:53 *** Progman has quit IRC
01:35:55 *** Flygon has joined #openttd
02:25:52 <nnyby> hehe add me so i can tag u guys https://www.facebook.com/artys.friend.9
02:31:01 *** Lejving has quit IRC
02:59:09 *** grossing has joined #openttd
03:09:48 *** supermop_pdx has joined #openttd
03:11:03 <supermop_pdx> i wonder if it would be possible to make a palettized renderer?
03:12:19 <supermop_pdx> instead of clamping output to nearest index color, like objects can only be one of the palette colors (flat no gloss highlight?) to begin with,
03:13:26 <supermop_pdx> and the renderer just does some simple shading by bumping up or down the index
04:11:25 *** DDR has quit IRC
04:12:58 *** glx has quit IRC
04:17:05 *** heffer_ has quit IRC
04:17:51 *** heffer has joined #openttd
04:22:22 *** HerzogDeXtEr has quit IRC
04:26:55 *** debdog has joined #openttd
04:30:17 *** D-HUND has quit IRC
04:51:05 *** firewire1394 has joined #openttd
05:26:31 *** tokai|noir has joined #openttd
05:26:31 *** ChanServ sets mode: +v tokai|noir
05:33:25 *** tokai has quit IRC
05:34:52 *** Wormnest has quit IRC
05:37:06 *** firewire1394 has quit IRC
06:32:36 *** tokai has joined #openttd
06:32:36 *** ChanServ sets mode: +v tokai
06:37:07 *** nielsm has quit IRC
06:39:34 *** tokai|noir has quit IRC
08:19:01 *** HerzogDeXtEr has joined #openttd
08:58:53 *** nielsm has joined #openttd
09:03:57 *** sla_ro|master has joined #openttd
09:15:38 *** andythenorth has joined #openttd
09:22:52 *** Progman has joined #openttd
10:15:13 *** WormnestAndroid has quit IRC
10:15:26 *** WormnestAndroid has joined #openttd
10:16:19 <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh closed issue #7703: Inactive industries make inappropriate/unlogical sounds https://git.io/JeeLZ
10:16:19 <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh merged pull request #7752: Prevent sounds being produced by inactive industries https://git.io/JeZlF
10:26:57 *** sla_ro|master2 has joined #openttd
10:31:36 *** sla_ro|master has quit IRC
11:19:10 <andythenorth> moin
11:34:38 <TrueBrain> hi andythenorth :)
11:34:45 <andythenorth> :o
11:34:51 <andythenorth> quick run away!
11:34:52 <andythenorth> etc
11:34:58 * andythenorth is watching TV
11:46:18 <DorpsGek_III> [OpenTTD/OpenTTD] abmyii commented on pull request #7752: Prevent sounds being produced by inactive industries https://git.io/JelMQ
11:57:47 <andythenorth> also hi TrueBrain how are you? :)
12:19:54 <TrueBrain> good, thank you for asking. How about you?
12:20:24 <andythenorth> super!
12:20:30 <andythenorth> I have had 2 coffees
12:21:08 <TrueBrain> owh boy
12:23:40 <andythenorth> so is Github Actions winning?
12:37:00 <andythenorth> oof I wish I had somewhere to publish docs :P
12:37:05 <andythenorth> maybe I should buy a server
12:50:10 *** Samu has joined #openttd
12:59:30 <andythenorth> I bought a server from Mr. Jeff
12:59:37 <andythenorth> https://firs-test-1.s3.eu-west-2.amazonaws.com/iron-horse/docs/html/tech_tree.html
12:59:55 * andythenorth working on a tech tree display page
13:13:40 <nielsm> ouch, rebasing indproclayout2 onto modified indproclayout
13:14:25 <andythenorth> :D
13:15:29 <andythenorth> improved https://firs-test-1.s3.eu-west-2.amazonaws.com/iron-horse/docs/html/tech_tree.html
13:15:35 <andythenorth> needs background arrows
13:15:39 <andythenorth> pointing to the right
13:15:49 *** Hobbyboy has joined #openttd
13:16:18 <andythenorth> trying to make something like http://i.imgur.com/qbY93X7.jpg
13:16:26 <andythenorth> except less glossy :P
13:20:07 <nielsm> rebase complete, it compiles again
13:21:30 <nielsm> wee https://0x0.st/zxNn.jpg
13:24:29 <nielsm> https://0x0.st/zxNR.jpg there's also something with how terrain is leveled (or rather, is not) that seems wrong
13:30:31 <TrueBrain> andythenorth: GitHub Actions are more practical; but another 2 weeks or so before it is out of beta
13:34:38 <nielsm> ugh
13:35:06 <nielsm> I want to level each sub-building but not the merged layout
13:35:33 <nielsm> that gives som fun challenges
13:35:45 <nielsm> "fun"
13:36:43 <nielsm> can't arbitrarily choose to raise or lower land, it might prevent other tiles from constructing
13:38:02 <TrueBrain> hmm .. Digital Ocean is nice and all, but it is pretty clear to me now why they are cheaper than the other cloud services ;) What they offer for their price is awesome, but very soon you are recreating things that other clouds already solved for you
13:38:06 <TrueBrain> makes sense, I guess
13:38:32 <TrueBrain> but the whole idea to use a bit more managed stuff, is so it needed less custom work :P
13:38:58 <andythenorth> oof :)
13:39:24 <andythenorth> nielsm: yes, tile height offsets within / between layouts is tricky
13:39:54 <nielsm> also this line looks very wrong:
13:39:55 <nielsm> if (TileX(tile) <= _settings_game.construction.industry_platform + 1U || TileY(tile) <= _settings_game.construction.industry_platform + 1U) return false;
13:40:25 * andythenorth can't remember how much OpenTTD terraforms for industries
13:40:27 <nielsm> doesn't it check whether the X or Y coordinate of the north corner of the industry is at most the industry_platform value?
13:40:50 <nielsm> hmm
13:40:53 <nielsm> okay nm
13:40:59 <andythenorth> I can't remember the vanilla handling
13:41:00 <nielsm> it checks for being too close to a corner/edge
13:41:02 <andythenorth> I wrote my own :P
13:55:54 <nielsm> I'd basically have to simulate the changes to terrain as the sub-buildings are placed...
13:56:16 <nielsm> so placement of further buildings take the (proposed) changes from previous buildings into account
13:58:25 <andythenorth> tricky
13:58:28 <andythenorth> TMWFTLB?
14:12:31 <DorpsGek_III> [OpenTTD/OpenTTD] kiwitreekor commented on pull request #7575: Feature: Add industry production graph https://git.io/Jelyu
14:19:14 *** tokai|noir has joined #openttd
14:19:14 *** ChanServ sets mode: +v tokai|noir
14:22:54 <andythenorth> eh https://firs-test-1.s3.eu-west-2.amazonaws.com/iron-horse/docs/html/tech_tree.html
14:22:59 <andythenorth> now with arrows and crap
14:26:04 *** tokai has quit IRC
14:27:48 <_dp_> not much of a tree
14:27:56 <_dp_> more like bamboo forest :p
14:34:38 <andythenorth> tech forest :P
14:35:34 <andythenorth> maybe it needs splitting up :P
14:52:57 <andythenorth> really, would be better as graphviz tree
14:57:35 *** crem has quit IRC
14:57:48 *** crem has joined #openttd
15:05:58 <andythenorth> so what domain shall I register?
15:06:07 <andythenorth> that S3 bucket address is lame
15:08:55 <andythenorth> TRUEBRAIN.TV is available :D
15:08:55 <_dp_> slightlylesslame.com?
15:09:27 <andythenorth> JEFFBEZOSGRFS.COM
15:09:44 <andythenorth> allyourgrfbelongtous.com
15:11:51 <andythenorth> can I run cron on s3?
15:12:09 <andythenorth> I need some way to build all the projects
15:16:06 *** Progman has quit IRC
15:18:22 <supermop_pdx> here i am exploding my computer with generative capsule towers
15:19:53 <supermop_pdx> https://imgur.com/a/WHcOipX
15:19:57 *** crem has quit IRC
15:20:59 <nielsm> andythenorth: try separating the units from the figures in the power/speed, and style it so the two lines are aligned
15:22:02 <andythenorth> oh like a mini-table?
15:22:05 *** crem has joined #openttd
15:22:11 <andythenorth> I think the whole thing needs presented differently, but eh
15:22:34 <andythenorth> those two figures probably fit on one line also
15:22:47 * andythenorth got distracted
15:22:56 <andythenorth> wondering if it's time to just scorch the earth
15:23:19 <andythenorth> the devzone hg repos won't import to github, so I'm considering just abandoning the hg history
15:23:33 <andythenorth> and eints can't commit to github, so I'm considering abandoning translations
15:26:42 <nielsm> eh should be possible to convert the hg repos "offline" and then push that to github?
15:27:01 <andythenorth> no, the history is broken
15:27:07 <andythenorth> eints makes broken commits
15:27:12 <nielsm> awesome
15:27:21 <andythenorth> they can be fixed, but not by me
15:27:41 <andythenorth> I want out of hg, and I want the repos off unmaintained infra
15:28:03 <nielsm> I thought hg was better protected against making broken/weird histories than git
15:28:26 *** sla_ro|master2 has quit IRC
15:28:47 *** sla_ro|master has joined #openttd
15:31:11 <Eddi|zuHause> i'm sure that you can break it if you knock on it hard enough, but andy uses the word "broken" differently to normal people...
15:33:13 <FLHerne> I started a server 'Casual UK-ish server' because I feel like playing with andythenorth's shiny vehicle grfs :P
15:36:27 * andythenorth looking in the logs for what frosch said is broken
15:36:31 <andythenorth> not very easy to find :)
15:38:26 <peter1138> Simple. Everything is broken.
15:38:50 <andythenorth> http://webster.openttdcoop.org/?channel=openttd&date=1550448000#1550529659
15:39:13 * andythenorth shops
15:39:15 *** andythenorth has quit IRC
15:44:17 <supermop_pdx> FLHerne: sounds fun
16:06:11 *** Flygon has quit IRC
16:08:12 <peter1138> Has Apple closed open source development off yet?
16:10:05 <FLHerne> Not on macOS
16:23:19 *** WormnestAndroid has quit IRC
16:33:37 *** Wormnest has joined #openttd
16:54:17 *** WormnestAndroid has joined #openttd
16:56:26 <peter1138> Sounds like it's coming.
16:56:41 <Eddi|zuHause> i wouldn't put it past them
16:58:17 <supermop_pdx> FLHerne: what version is your server on?
16:59:32 <supermop_pdx> ive always wanted an andy-sh server for casual firshorsehogsquid games
17:01:58 <FLHerne> supermop_pdx: 1.9.3 -- I stopped because I couldn't persuade people to play; just put it back
17:02:19 <FLHerne> (so it's up again now)
17:07:54 *** andythenorth has joined #openttd
17:09:11 <andythenorth> looks like I need hg-fast-export
17:10:40 <andythenorth> they can't really kill open source on macOS
17:10:52 <andythenorth> developers need it for the iOS cash cow
17:11:41 <andythenorth> unless they can make enough service money off selling photo storage and TV shows, then mac is dead
17:12:04 <andythenorth> chromebook anyone? o_O
17:17:12 *** Progman has joined #openttd
17:18:42 <andythenorth> "ImportError: No module named mercurial"
17:18:51 <andythenorth> that's lolz
17:22:40 *** WormnestAndroid has quit IRC
17:23:46 <peter1138> That's correct.
17:28:15 <andythenorth> lolz I have to use a virtualenv to install virtualenv
17:28:27 * andythenorth wonders how these things happen
17:29:16 <andythenorth> eventually I will have mercurial :P
17:29:48 <andythenorth> finally
17:29:55 *** Wormnest has quit IRC
17:36:43 <andythenorth> @seen frosch123
17:36:43 <DorpsGek> andythenorth: frosch123 was last seen in #openttd 5 days, 21 hours, 45 minutes, and 51 seconds ago: <frosch123> to align the sprites with the text below it?
17:37:04 * andythenorth wondering how to fix "warning in commit 8d49662898124ba0043cb9e5672818ed55dffd3c: nulInCommit: NUL byte in the commit object body"
17:38:54 <andythenorth> https://paste.openttdcoop.org/pihqd8mwl/gjvhsc/raw
17:40:12 *** Progman has quit IRC
17:40:29 <Eddi|zuHause> where would a null byte be in that output?
17:40:40 <andythenorth> exactly
17:40:46 <andythenorth> how does one look for a null byte?
17:40:54 * andythenorth is in stack overflow currently
17:41:30 *** WormnestAndroid has joined #openttd
17:41:51 <Eddi|zuHause> well, first, you would need a hexdump, not a text output
17:42:35 <supermop_pdx> what's it called FLHerne ?
17:42:48 <FLHerne> supermop_pdx: 'Casual UK-ish server'
17:43:38 * andythenorth wonders how to get hexdump out of git show
17:44:14 <Eddi|zuHause> "git show | hexdump"? :p
17:44:44 <Eddi|zuHause> (i usually use "hexdump -C")
17:44:46 <andythenorth> that works
17:45:09 <andythenorth> https://paste.openttdcoop.org/pjetc2sx0/8bns2c/raw
17:45:21 <andythenorth> not sure if it's what's needed
17:45:51 <Eddi|zuHause> there doesn't seem to be any null bytes in there
17:46:45 *** Montana has joined #openttd
17:47:17 *** glx has joined #openttd
17:47:17 *** ChanServ sets mode: +v glx
17:47:42 <andythenorth> http://webster.openttdcoop.org/?channel=openttd&date=1550448000#1550529699
17:47:50 <andythenorth> "<frosch123> but now i patched the script to filter out NUL in commit messages"
17:48:10 *** Montana has quit IRC
17:48:58 <andythenorth> that's probably somewhere in https://github.com/frej/fast-export/blob/master/hg-fast-export.py
17:49:34 *** WormnestAndroid has quit IRC
17:50:19 *** WormnestAndroid has joined #openttd
17:51:23 <andythenorth> hmm smalltalk not python :P https://github.com/peteruhnak/git-migration/commit/18c2c6119cc9eee8ab3cd01ec58e0f4e2d5b5f9f
17:52:05 <Eddi|zuHause> you're probably better off waiting for frosch?
17:52:24 <andythenorth> realistically yes
17:52:38 <andythenorth> sometimes I lean more by trying for myself
17:52:42 <andythenorth> but it's very slow
17:53:15 <andythenorth> somewhere the python script must be copying strings, and we can presumably inspect the bytes
17:53:27 <Eddi|zuHause> str.replace?
17:54:54 <Eddi|zuHause> that script has a "plugins_dict['commit_message_filters']"
17:56:18 <andythenorth> oh nice spot
17:56:41 <glx> wow smalltalk is still used
17:57:27 <michi_cc> andythenorth: I didn't try if it does anything, but you could try to run "git filter-branch --tree-filter 'true' HEAD" to try to force git to recreate the commit history. It might be smart enough to detect that you don't actually change anything and just do a no op.
17:57:28 <Eddi|zuHause> i haven't seen any docs, but presumably you give it a file that contains a function called "commit_message_filter"
17:58:09 <Eddi|zuHause> unsure on what that function does. probably take a string and return a string
17:58:31 <michi_cc> Hmm, actually, "git filter-branch --msg-filter 'cat' HEAD" might actually do something.
17:59:17 <Eddi|zuHause> i should get some food now, though
17:59:31 <michi_cc> Replace HEAD with --all in case you have more than one branch/tag.
18:06:52 <andythenorth> https://github.com/andythenorth/iron-horse/commits/master
18:07:01 <andythenorth> this is evil
18:07:02 <andythenorth> desc = ''.join(desc.split(b'\x00'))
18:07:29 <Eddi|zuHause> there's probably a better way :p
18:07:41 <andythenorth> yes
18:11:18 <andythenorth> if anyone wants to improve it https://github.com/andythenorth/fast-export/commit/b69af286b547e996620ffaf1af9e749bf3508eb4
18:11:31 <andythenorth> this is needed for ~all devzone repos that use eints
18:11:45 *** Ttech has quit IRC
18:14:33 <Eddi|zuHause> that output is... questionable
18:14:46 <Eddi|zuHause> there'll be no useful information in that line
18:16:03 *** _moep_ has quit IRC
18:20:02 *** Ttech has joined #openttd
18:23:27 *** firewire1394 has joined #openttd
18:27:08 <andythenorth> my import also doesn't have the commit authors correctly
18:27:16 <andythenorth> I won't delete the devzone repo yet :P
18:50:26 *** SUPERLEAF_1995 has joined #openttd
18:50:31 <SUPERLEAF_1995> ok so
18:50:42 <SUPERLEAF_1995> anyone knows where i can get the news.c of openttd 0.1?
18:57:23 <LordAro> https://www.tt-forums.net/openttd/
19:02:18 *** SUPERLEAF_1995 has quit IRC
19:13:57 *** Progman has joined #openttd
19:24:27 *** gelignite has joined #openttd
19:31:53 *** Etua has joined #openttd
19:41:55 *** Lejving has joined #openttd
19:52:55 *** Etua has quit IRC
21:03:50 *** Samu has quit IRC
21:17:51 <andythenorth> hmm https://firs-test-1.s3.eu-west-2.amazonaws.com/iron-horse/docs/html/tech_tree.html
21:26:25 <Eddi|zuHause> andythenorth: for the author mapping you definitely need frosch
21:26:42 <andythenorth> it's supported in the migration script, but yes, I have decided to wait :)
21:26:59 <andythenorth> this tech tree display is interesting
21:27:06 <andythenorth> might still be better with graphviz though
21:27:12 <Eddi|zuHause> yes, it's supported, but someone must make the list
21:35:28 <andythenorth> I can do that manually, but I am hoping frosch has a better way
21:35:58 <andythenorth> it will be nice when nobody has to restart devzone hg frequently
21:46:37 <glx> getting the author list should be scriptable
21:47:50 <Eddi|zuHause> well, frosch said he wants to use synergy across all devzone repos...
21:54:34 <nielsm> huh, odd thing just happened to the music, the channel volume for percussion didn't get set properly at the start of a song so the drums were overly loud
21:57:00 <nielsm> and, again??
21:57:58 * nielsm gives the soundcanvas a hard reset
21:58:13 <nielsm> seemed like it was getting slow at processing the GM resets or something maybe
22:08:12 <nielsm> hmm it's still being weird it seems
22:09:57 <andythenorth> now with more colours https://firs-test-1.s3.eu-west-2.amazonaws.com/iron-horse/docs/html/tech_tree.html
22:09:59 <andythenorth> super
22:10:03 <andythenorth> might need force-refresh
22:13:31 <supermop_pdx> FLHerne: take care of our company!
22:13:42 <FLHerne> supermop_pdx: Ok :-)
22:13:57 <FLHerne> I might have to go at some point, though...
22:14:18 <supermop_pdx> gonna grab a save
22:14:19 <andythenorth> server is on 1.9.3 FLHerne ?
22:14:23 * andythenorth wants to look
22:14:36 <FLHerne> andythenorth: Right. It's "Casual UK-ish server"
22:14:44 <FLHerne> We have a bit too much track just now :P
22:14:56 <supermop_pdx> i rec. making those fruit trains express with reefer wagons
22:15:11 * andythenorth gets 1.9.3
22:16:31 <andythenorth> lol all the missing grfs :)
22:16:33 <andythenorth> mostly mine
22:17:18 <peter1138> If only we had a content distribution system.
22:18:03 <andythenorth> if only we didn't all run unreleased dev versions of everything locally
22:18:07 <andythenorth> probably just me :P
22:18:40 <andythenorth> wow such map, very train :D
22:19:03 <FLHerne> Blame lack of IS for most of the spaghetti :-/
22:19:23 <FLHerne> It's a pity having to duplicate everything because someone else owns the line that goes there
22:20:14 <FLHerne> andythenorth: I keep meaning to ask, are there supposed to be nine different kinds of passenger coach available at the same time...?
22:20:33 <FLHerne> (three of each with identical names but different max speed)
22:20:41 <andythenorth> expiry on or off?
22:21:05 <FLHerne> Er, I thought it was off, but now you ask...
22:21:09 <andythenorth> expiry is off
22:21:17 <andythenorth> lots of buy menu will be the result :)
22:21:31 <andythenorth> I had to make my peace with it, and turn expiry back on
22:21:38 <FLHerne> andythenorth: Yeah, oops
22:22:10 <FLHerne> I remember now, I turned it off because I wanted to look at the Road Hog vehicle roster
22:22:24 <FLHerne> And clearly I forgot to put it back on :-/
22:22:34 <andythenorth> if only there were online docs for grfs :P
22:23:01 <FLHerne> If only anyone ever read the manual ;-)
22:23:27 <nielsm> stop giving me ideas
22:23:40 <andythenorth> ?
22:23:46 <nielsm> what about if grfs had an action that produced storybook-like pages
22:23:50 <andythenorth> oof
22:24:05 <andythenorth> they have a readme inline? o_O
22:24:12 <nielsm> basically yes
22:24:17 <nielsm> but also with illustrations
22:24:19 <peter1138> Why is my J3 Cub upside-down?
22:24:29 <nielsm> I think you can place arbitrary sprites in a storybook can't you?
22:24:37 <andythenorth> generally we don't have good enough font rendering for large blocks of text, at least with original pixel font
22:24:51 <andythenorth> https://wiki.openttd.org/Frosch/NewGRF_Configuration_in_Utopia
22:25:08 <Eddi|zuHause> include an e-book reader? :p
22:25:30 <andythenorth> ^^ frosch had ideas for grf previews
22:26:26 <andythenorth> rewrite bananas, allow uploading html docs in the tar, but serve them stricly online, not inside OpenTTD
22:26:31 <andythenorth> unpack them when uploaded
22:26:38 <andythenorth> massive malware / infosec tinfoil hat time
22:27:45 <peter1138> Oh, 24 kt winds, hmm.
22:28:17 <andythenorth> you sailing?
22:28:50 <andythenorth> FLHerne: nice MP server game. Who is IPG?
22:29:13 <FLHerne> andythenorth: Not a clue :P
22:29:21 <andythenorth> nice mixed up freight trains
22:29:37 <FLHerne> It's been good fun
22:29:50 <FLHerne> Deliberately created a map with very few industries
22:30:20 <FLHerne> So you can't just ignore everyone else :P
22:30:21 <andythenorth> I should do a beta of v4 steeltown
22:30:27 <andythenorth> it's bonkers
22:31:45 <andythenorth> https://firs-test-1.s3.eu-west-2.amazonaws.com/firs-v4-previews/docs/html/economies.html#steeltown
22:32:11 <andythenorth> I played it a lot, quite addictive
22:32:49 <andythenorth> crashes OpenTTD currently though
22:37:41 <glx> a grf should not crash openttd
22:37:52 <nielsm> it's due to text handling
22:37:57 <glx> if it does there's a bug in our source
22:38:13 <nielsm> grf strings can't support enough inserts for 16 cargo types
22:38:57 <nielsm> (I suspect that's what andy is talking about)
22:39:52 <glx> strings are limited to 20 args
22:41:46 <andythenorth> it's https://github.com/OpenTTD/OpenTTD/issues/7631
22:41:50 <Eddi|zuHause> 1 cargo consumed a silly amount of args, last time we checked
22:47:45 <glx> hmm maybe we could use a std::map
22:56:27 <glx> but I need to check how the args are accessed
23:03:06 <glx> hmm need to think more about it
23:40:59 <FLHerne> nielsm: You're finished?
23:44:11 <nielsm> yeah
23:46:07 * andythenorth learning graphviz
23:46:37 *** firewire1394 has quit IRC
23:54:00 *** gelignite has quit IRC
23:55:35 <FLHerne> nielsm: Thanks for playing, it was a game :-)
23:55:37 <FLHerne> *fun
23:55:43 <nielsm> yup
23:57:12 <glx> Eddi|zuHause: I had a quick look in GetIndustryString() and indeed it's clearly wrong, it stores all args but finally the strings are wrong anyway
23:57:48 <Eddi|zuHause> glx: last time we determined that the function was completely forgotten in the 16-cargo-patch
23:58:15 <glx> if there's more than 2 cargos it will use the 2 cargo string with wrong args