Log for #openttd on 28th September 2019:
Times are UTC Toggle Colours
00:02:34  *** blackli0nxx_ has quit IRC
00:26:16  *** HerzogDeXtEr has quit IRC
01:38:56  *** namad7 has joined #openttd
01:42:24  *** namad7 has quit IRC
01:46:11  *** Thedarkb-X40 has quit IRC
01:55:25  *** firewire1394 has joined #openttd
01:56:48  *** Flygon has joined #openttd
02:15:01  *** Flygon_ has joined #openttd
02:22:12  *** Flygon has quit IRC
02:29:29  *** WormnestAndroid has joined #openttd
02:40:23  *** glx has quit IRC
04:12:29  *** firewire1394 has quit IRC
05:51:05  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh commented on pull request #7639: Fix: Total reset of DMusic driver once every hour
05:51:05  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh closed pull request #7639: Fix: Total reset of DMusic driver once every hour
05:59:25  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh commented on pull request #7752: Prevent sounds being produced by inactive industries
06:06:57  *** blackli0nxx_ has joined #openttd
06:21:47  *** Progman has joined #openttd
07:12:50  *** andythenorth has joined #openttd
07:23:49  *** Samu has joined #openttd
07:23:55  <Samu> hi
07:31:21  *** tokai|noir has joined #openttd
07:31:21  *** ChanServ sets mode: +v tokai|noir
07:38:16  *** tokai has quit IRC
07:43:33  <andythenorth> moin
07:52:29  *** WormnestAndroid has quit IRC
07:55:48  *** firewire1394 has joined #openttd
07:58:27  *** WormnestAndroid has joined #openttd
08:31:41  <DorpsGek_III> [OpenTTD/OpenTTD] abmyii commented on pull request #7752: Prevent sounds being produced by inactive industries
08:32:39  <DorpsGek_III> [OpenTTD/OpenTTD] abmyii updated pull request #7752: Prevent sounds being produced by inactive industries
08:35:42  <DorpsGek_III> [OpenTTD/OpenTTD] abmyii commented on pull request #7752: Prevent sounds being produced by inactive industries
08:40:11  *** firewire1394 has quit IRC
08:40:21  *** firewire1394 has joined #openttd
08:44:21  *** firewire1394 has quit IRC
08:45:23  *** firewire1394 has joined #openttd
08:46:39  *** firewire1394 has joined #openttd
08:49:35  <andythenorth> but where is cat?
09:08:12  <TrueBrain> in /usr/bin
09:15:58  <Heiki> or even in /bin
09:19:03  <TrueBrain> as long as it is not in /usr/sbin
09:22:36  <TrueBrain> so .. what was I going to do today ... yeah, come to terms with the fact that managed infrastructure is expensive :P
09:23:21  <TrueBrain> a managed database server is 15 dollar a month
09:23:31  <TrueBrain> are "we" willing to pay for that .. hmm
09:23:56  *** firewire1394 has quit IRC
09:24:02  *** firewire1394 has joined #openttd
09:25:57  *** firewire1394 has quit IRC
09:26:07  *** firewire1394 has joined #openttd
09:28:11  *** firewire1394 has quit IRC
09:28:13  *** firewire1394 has joined #openttd
09:30:31  <DorpsGek_III> [OpenTTD/OpenTTD] abmyii updated pull request #7752: Prevent sounds being produced by inactive industries
09:31:38  <DorpsGek_III> [OpenTTD/OpenTTD] abmyii commented on pull request #7752: Prevent sounds being produced by inactive industries
09:34:44  *** Wolf01 has joined #openttd
09:37:25  <Wolf01> Walschaerts
09:37:54  <firewire1394> yo
09:37:57  <firewire1394> cheeks
09:55:52  <andythenorth> TrueBrain: I always enjoy spending money :D
09:56:05  <andythenorth> then there is someone to blame :P
09:58:15  <TrueBrain> it is just such irony, that I try to keep everything as cheap as possible for OpenTTD .. while at work you are doing the right thing (tm)
09:58:15  <TrueBrain> :P
09:58:23  <Wolf01> Spending money, hmmm...
10:01:06  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh closed pull request #7540: Change: New layout for the Station view window
10:01:58  *** blackli0nxx__ has joined #openttd
10:03:22  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh closed pull request #7366: Add: List recently executed commands in crashlog output.
10:07:10  <TrueBrain> stalebot no longer running? :D
10:09:04  *** blackli0nxx_ has quit IRC
10:09:21  <Wolf01> <Wolf01> Spending money, hmmm... <- done
10:13:19  <TrueBrain> seems the stalebot was de-registered or something .. not sure if that was by choice, or because GitHub changed things :D
10:16:11  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh requested changes for pull request #7486: Fix: AI/GS settings with the flag SCRIPTCONFIG_RANDOM could be altered after loading from a savegame.
10:36:19  <DorpsGek_III> [OpenTTD/OpenTTD] TrueBrain opened pull request #7753: Change: [GitHub] switch from stalebot to actions/stale
10:36:31  <TrueBrain> there, that should fix silly stalebot being out to play
10:36:53  <TrueBrain> testing is a bit difficult ... at least it triggers correctly :D
10:37:29  <DorpsGek_III> [OpenTTD/OpenTTD] TrueBrain commented on pull request #7753: Change: [GitHub] switch from stalebot to actions/stale
10:38:24  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh approved pull request #7749: Fix: Some typos found using codespell
10:39:14  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh commented on pull request #7749: Fix: Some typos found using codespell
10:40:44  <TrueBrain> hmm .. no, my PR doesn't do what I want it to do :(
10:40:51  <TrueBrain> a comment doesn't remove the stale label
10:41:23  <DorpsGek_III> [OpenTTD/OpenTTD] TrueBrain commented on pull request #7753: Change: [GitHub] switch from stalebot to actions/stale
10:41:23  <DorpsGek_III> [OpenTTD/OpenTTD] TrueBrain closed pull request #7753: Change: [GitHub] switch from stalebot to actions/stale
10:42:08  <TrueBrain> right .. so then I need to know if it was disabled on purpose or not :D (I can imagine both ways)
10:46:50  <TrueBrain> LordAro: you happen to know if stalebot got disabled on purpose? Can we just reactive it?  :D
11:02:10  *** blackli0nxx__ has quit IRC
11:02:46  *** blackli0nxx__ has joined #openttd
11:11:33  <LordAro> TrueBrain: on purpose
11:11:41  <LordAro> it was closing things before anyone got to them
11:13:09  <andythenorth> the important thing
11:13:23  <andythenorth> is that the backlog of things to get to should keep growing :)
11:14:43  <TrueBrain> LordAro: and so why not reconfigure to give more time?
11:15:16  <TrueBrain> (honest question btw; trying to understand :D)
11:31:19  *** frosch123 has joined #openttd
11:42:21  <andythenorth> quak
11:42:46  <andythenorth> TrueBrain wonder what the rate of closing PRs is, moving average
11:42:51  <andythenorth> we have the data :P
11:43:38  <andythenorth> stalebot should close at 90% of the average approval time :P
12:18:33  *** firewire1394 has quit IRC
12:20:40  *** HerzogDeXtEr has joined #openttd
12:21:17  <LordAro> TrueBrain: can't remember, but also the fact that several of us didn't like things being closed arbitrarily anyway
12:21:43  <LordAro> see if planetmaker or peter1138 can remember
12:21:45  <LordAro> :p
12:23:28  *** gelignite has joined #openttd
12:29:55  *** HerzogDeXtEr1 has joined #openttd
12:35:27  *** HerzogDeXtEr has quit IRC
12:35:46  *** Smedles_ has joined #openttd
12:37:10  *** Smedles has quit IRC
12:43:11  *** HerzogDeXtEr1 has quit IRC
12:46:43  * andythenorth makes trains
12:46:46  <andythenorth> again
13:03:48  *** glx has joined #openttd
13:03:49  *** ChanServ sets mode: +v glx
13:06:39  *** firewire1394 has joined #openttd
13:14:15  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on pull request #7752: Prevent sounds being produced by inactive industries
13:21:56  <glx> looking at #7752, it seems commit checker doesn't work correctly
13:22:42  <glx> it's supposed to validate each commit, but it doesn't fail
13:25:58  <LordAro> it usually manages it..
13:26:06  <LordAro> are you surr it's not github ui screwing up?
13:26:39  *** firewire1394 has quit IRC
13:26:59  <glx> every where I checked I can see 6 commits
13:32:01  <DorpsGek_III> [OpenTTD/OpenTTD] abmyii commented on pull request #7752: Prevent sounds being produced by inactive industries
13:38:06  <TrueBrain> LordAro: yeah, we have been up and down that road ;) Keeping them open is not any better :P But tnx, I noticed that probot got a few changes, so good to know it was not a system error :D
13:39:44  <TrueBrain> right, back to the dilemma of: how to run a new database for OpenTTD ..
13:46:41  <frosch123> still master server?
13:46:59  <TrueBrain> currently, yes. But also mediawiki has to be moved sooner rather then later
13:47:12  <TrueBrain> for MS, I can use a simple MongoDB setup
13:47:14  <frosch123> i never understood why masterserver db is so persistent
13:47:35  <andythenorth> what does it do?
13:47:39  <andythenorth> it's a mystery to me :)
13:47:48  <andythenorth> is it the thing that lists servers?
13:47:54  <TrueBrain> back in those days there was a wish to do more data sciency stuff with that data
13:48:00  <TrueBrain> but I guess that is not really relevant anymore
13:48:11  <TrueBrain> andythenorth: yes
13:48:22  <TrueBrain> frosch123: but it needs some form of persistancy, for a website to list the servers
13:48:35  <andythenorth> ramcache :P
13:48:48  <andythenorth> n processes
13:48:51  <andythenorth> rolling restarts :P
13:48:53  <TrueBrain> yeah, well, we had people who totally freaked out if their server got another ID
13:49:05  <TrueBrain> because they wrote HTML parsing scripts to publish a banner on their site telling how the server was doing
13:49:06  <andythenorth> are they here making PRs? :)
13:49:12  <TrueBrain> (instead of polling their own server directly :P)
13:49:20  <andythenorth> ignore me, I have a scorched earth policy :P
13:49:28  <frosch123> <- surely someone wants to join that server
13:49:53  <TrueBrain> there used to be a script that removed all servers not online for 90+ days
13:49:57  <TrueBrain> it often failed
13:50:04  <TrueBrain> so we no longer have a script that removes old servers :P
13:50:10  <andythenorth> databases are so boring
13:50:12  <andythenorth> backups
13:50:13  <TrueBrain> space-wise, it really really doesn't matter
13:50:15  <andythenorth> migrations
13:50:16  <andythenorth> blah blah
13:50:34  <andythenorth> I have this troll idea of trying to use git as a database
13:50:45  <TrueBrain> so that a server from 2015 is listed .. I really don't care, honestly :P
13:50:49  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on pull request #7752: Prevent sounds being produced by inactive industries
13:50:54  <frosch123> andythenorth: doesn't moinwiki do that?
13:50:58  <andythenorth> dunno :)
13:51:12  <TrueBrain> still I wonder how I am going to do database stuff for OpenTTD ..
13:51:13  <andythenorth> if complex queries aren't needed, and infrequent writes
13:51:15  <andythenorth> git ftw
13:51:25  * andythenorth back to pixels
13:51:27  <TrueBrain> easiest is to get the managed database from DigitalOcean
13:51:32  <andythenorth> grownups can do grownup things
13:51:39  <TrueBrain> or we want to get ride of mediawiki :P
13:51:40  <andythenorth> TrueBrain serverless no? o_O
13:51:50  <andythenorth> what's that hosted wiki?
13:52:19  <andythenorth> yeah wikia fandom thing
13:52:24  <andythenorth> we even have a page
13:52:25  <TrueBrain> hmm .. for some reason I did not consider hosted wikis .. funny
13:52:47  <andythenorth> delete the wiki, move it to fandom
13:52:48  <TrueBrain> so used to doing everything ourself
13:52:58  <TrueBrain> pretty sure that is a terrible move :P
13:53:13  <andythenorth> let the community do it?
13:54:34  <TrueBrain> yeah, so in 5 years it might have done 2%?
13:54:38  <TrueBrain> I mean .. be realistic :P
13:55:06  <andythenorth> we have to have a wiki?
13:55:14  * andythenorth assumes yes
13:55:24  <TrueBrain> I assumed the same; but, assumption
13:55:33  <TrueBrain> and we need to do something with it ..
13:55:46  <TrueBrain> leaving it as it is, is not an option
13:55:47  <milek7> does server list really needs any DB?
13:55:50  <glx> can't we move wiki to github ?
13:56:07  <TrueBrain> glx: you could; but who is going to? :)
13:56:29  <milek7> couldn't be just in memory structure in master server daemon?
13:57:22  <andythenorth> delete wiki, see who complains?
13:57:27  <andythenorth> it is useful as docs though
13:57:35  <TrueBrain> we have a lot of hits on our wiki daily
13:57:39  <TrueBrain> like ... a lot
13:57:59  <milek7> and ID could be hash of IP and name or something
13:58:39  <TrueBrain> hmm .. looking more closely at the stats, there is 1 bot that is doing 10% of the hits
13:58:41  <TrueBrain> I should fix that ...
13:59:22  <TrueBrain> at least 40% of the traffic is bots
13:59:23  <TrueBrain> ugh
13:59:51  <TrueBrain> anyway, 0.5 million visits a month hit the wiki
13:59:57  <glx> andythenorth still wanting to delete everything :)
14:00:00  <TrueBrain> (unique visitors with a window of 1 day)
14:00:29  <andythenorth> there's something appealing about burning everything
14:02:41  <glx> <-- seems there is some existing automation
14:03:17  <TrueBrain> bitnami seems to be the only one who offers mediawiki in k8s, which requires MariaDB
14:03:54  <TrueBrain> moving FlySpray to GitHub was a no-brainer .. but wikis are more difficult :P
14:05:19  <glx> hmm the script will lose wiki history
14:05:48  <TrueBrain> but also converts it to a format that might not work :D
14:05:52  <frosch123> it will probably also lose templates and expression magic
14:05:58  <milek7>
14:06:03  <TrueBrain> given the size of our wiki, there will be an issue anyway, to convert it to what-ever :P
14:06:05  <milek7> lots of messages. but false positives mostly
14:07:01  <TrueBrain> all I know we need to do something about the wiki, infrastructure wise; and sooner is better
14:09:55  <glx> IIRC updating wiki software is usually a pain too
14:10:03  <TrueBrain> owh yes
14:10:07  <glx> (and ours is outdated)
14:10:12  <TrueBrain> just ... a tiny bit
14:10:29  <TrueBrain> many promises over the years of people updating it ;) It is ... not trivial
14:11:05  <andythenorth> wiki -> jekyll :P
14:11:17  <andythenorth> we could appoint an editor to approve commits
14:11:24  <andythenorth> like we approve translators right? :)
14:11:46  <TrueBrain> the amount of changes to the wiki is ... very low
14:12:10  <TrueBrain> also, lot of pages are out-dated or not useful :P
14:12:38  <TrueBrain> I can make a static copy of the wiki and put that in a git :D
14:12:42  <TrueBrain> (horrible idea :P)
14:12:48  <andythenorth> sometimes I think about making actual official docs
14:12:55  <andythenorth> then I remember not to smoke crack
14:13:19  <glx> we have readmes ;)
14:13:33  <glx> nobody reads them though
14:13:41  <TrueBrain> the more I think about it, the more GitHub wiki sounds lovely :P
14:13:48  <TrueBrain> just not sure what the limitations are :D
14:15:35  <TrueBrain> either way, I take any suggestions what to do with the wiki .. but time is running short, as we have been delaying this for over 2 years now :P
14:16:58  <andythenorth> do we fail out pentest if we don't upgrade?
14:17:01  <andythenorth> out / our /s
14:17:13  <TrueBrain> on the topic of things that start to misbehave in ways I have increasingly more difficulty keeping it alive: frosch123, how is BaNaNaS 2 going? :D (any answer goes, not trying to pressure or anything)
14:17:22  <glx> GitHub Pages sites are subject to the following usage limits:
14:17:22  <glx>     GitHub Pages source repositories have a recommended limit of 1GB .
14:17:22  <glx>     Published GitHub Pages sites may be no larger than 1 GB.
14:17:22  <glx>     GitHub Pages sites have a soft bandwidth limit of 100GB per month.
14:17:22  <glx>     GitHub Pages sites have a soft limit of 10 builds per hour.
14:17:39  <TrueBrain> Pages != Wiki, btw :)
14:17:49  <TrueBrain> but Pages is also a good solution (the website basically is a GitHub Pages)
14:17:56  <TrueBrain> (website ==
14:19:08  <frosch123> i think i have retired from ottd
14:19:16  <TrueBrain> awh :(
14:19:20  <frosch123> so unlikely to continue on anything
14:19:28  <TrueBrain> you think? Who do we need to bribe to change that? :P
14:19:39  <TrueBrain> fair enough frosch123, tnx for the answer :)
14:22:42  <andythenorth> frosch123 :( have you got addicted to Blitz?
14:22:44  <TrueBrain> glx: mind giving that mediawiki to markdown a look? Just for shit and giggles? :P
14:23:11  <glx> I can fire a VM to test
14:23:31  <glx> as using windows doesn't seem a good idea for that :)
14:24:27  <TrueBrain> :D
14:27:00  <glx> of course the VM needs to check the disks
14:28:45  <DorpsGek_III> [OpenTTD/OpenTTD] J0anJosep commented on pull request #7752: Prevent sounds being produced by inactive industries
14:29:57  <TrueBrain> okay; so the master server is kinda done; it just needs some persistent storage and a web component .. but that is easy :P CloudFlare seems to be working fine too on staging to replace the CDN of DO (which often gives timeouts and 404s on files that exist) .. so that is good too. That leaves the wiki and BaNaNaS. The latter I have some ideas to at
14:29:57  <TrueBrain> least bring it in a modern world (without changing functionality in any form) .. if that is done, the main part left is our developers email .. and I am sure we can work that out :P
14:29:57  *** spnda has joined #openttd
14:30:28  <spnda> In NML, does anyone know the variable name for a switch to get a different sprite depending on cargo amount in the vehicle?
14:30:42  <TrueBrain> now all I need is some time, or people actually helping out :D
14:32:02  <glx> ok very useful comment on the PR :)
14:32:27  <TrueBrain> haha, someone hit send without intending to :P
14:33:50  <andythenorth> spnda: you got the NML docs?
14:34:32  <andythenorth>
14:37:08  <spnda> Thanks, so I guess cargo_count then
14:37:18  <andythenorth> yes
14:37:34  <andythenorth> I can paste example code if you need it, but it's pretty easy
14:37:40  <spnda> Nope, I think I got this
14:39:23  *** gelignite has quit IRC
14:42:02  *** firewire1394 has joined #openttd
14:54:27  <spnda> So uh, how do I use 32bpp sprites?
14:54:49  <glx> 32bpp blitter is enough IIRC
14:54:58  <frosch123> meh, the cppcon videos seem to be very low quality this year... on this one the talk and the slides are like 30s desynced
14:55:03  <spnda> I saw its something with alternative_sprite. No idea what 32bpp blitter is either
14:55:32  <glx> blitter is on OTTD side :)
14:55:45  <frosch123> spnda: define the regular spritesets for the 8bpp sprites, then add 32bpp sprites via alternative_sprites
14:56:00  <frosch123> altenative_sprites referenes the spriteset, and has to use the same order of sprites
14:56:18  <spnda> Not exactly sure what you mean. Do you have any example code?
14:56:54  <frosch123>
14:56:54  <glx>
14:56:59  <frosch123> :p
14:57:32  <frosch123> but you can also look at opengfx (which has 2x gui sprites) or yeti/nuts (32bpp sprites)
14:58:00  <DorpsGek_III> [OpenTTD/OpenTTD] abmyii commented on pull request #7752: Prevent sounds being produced by inactive industries
14:58:12  <spnda> Do I NEED to add 8bpp sprites aswell?
14:58:23  <frosch123> 8bpp 1x zoom sprites are mandatory
14:58:37  <frosch123> V has a script to autognerate them from 32bpp, which doesn't look too bad
14:58:39  <spnda> hmm ok
14:59:02  <spnda> I think he posted it on Discord once
14:59:26  <spnda> this?
14:59:29  <frosch123> rgbaeater or something
14:59:39  <frosch123> yeah, probably that one
14:59:47  <spnda> ok, thanks
15:16:43  *** Wormnest has joined #openttd
15:22:01  *** firewire1394 has quit IRC
15:24:32  <spnda> Do I need some switch or new property for adding the 32bpp sprites? nmlc is giving some weird errors about undefined identifiers, which are clearly defined.
15:25:03  <glx> alternative_sprites should be enough
15:25:05  <andythenorth> supermop_Home_: you here? o_O
15:53:23  *** arikover has joined #openttd
15:57:21  *** Wormnest has quit IRC
15:59:59  *** Flygon_ has quit IRC
16:02:20  *** gelignite has joined #openttd
16:12:00  *** Wormnest has joined #openttd
16:25:09  *** firewire1394 has joined #openttd
16:28:52  <andythenorth> frexit :(
16:29:00  <andythenorth> quexit
16:29:07  * andythenorth will stop now :P
16:33:12  *** _moep_ has quit IRC
16:33:12  <LordAro> glx: i've never been very impressed with github wikis
16:33:18  <LordAro> they're not very user friendly
16:42:41  <glx> and the script fails for
16:44:05  <glx> {|style=&quot;width=&quot;100%&quot;; border=1&quot; <-- of course it fails
16:44:51  *** _moep_ has joined #openttd
16:44:59  <glx> quotes in quotes
16:52:25  <glx> hmm it doesn't like {{Wikitable}} either
16:55:19  <glx> ok so converting from wikimedia to gfm is a pain :)
16:56:51  <glx> and I only tried on the first 1035 pages
17:00:02  <glx> getting the page list is very annoying
17:02:11  *** Wormnest has quit IRC
17:05:02  *** WormnestAndroid has quit IRC
17:05:15  *** WormnestAndroid has joined #openttd
17:12:22  <andythenorth> oof
17:12:47  <andythenorth> now up to 132 different types of intermodal container
17:12:54  <andythenorth> quite addictive drawing them
17:13:16  *** WormnestAndroid has quit IRC
17:14:15  *** WormnestAndroid has joined #openttd
17:38:36  <glx> so many pages with weird code
17:38:59  <TrueBrain> for a while there was some quality control, but I am pretty sure that got lost somewhere :D
17:39:08  <TrueBrain> there are a ton of good pages
17:39:12  <TrueBrain> but even more not-so-good :P
17:40:13  <glx> <-- broken table with plain html inside
17:40:29  <glx> converted doesn't like it
17:40:35  <glx> *converter
17:41:18  <glx> I already fixed too much in the xml, I give up
17:41:20  <andythenorth> can it spit out a list of malformed pages?
17:42:03  <glx> no it justs stop on the first error
17:42:20  <glx> anyway I was only testing on a subset
17:42:55  <glx> too much human work required to use it
17:43:18  <milek7> could pandoc deal with it?
17:43:21  <milek7>
17:43:26  <glx> that's using pandoc :)
17:45:13  <glx> but the most annoying part is to get the xml
17:50:43  <glx> Error at "source" (line 40, column 1): <-- so easy when the actual line in the xml is 31866
17:51:52  <andythenorth> oof
18:41:24  *** blackli0nxx_ has joined #openttd
18:43:08  *** debdog has joined #openttd
18:48:06  *** blackli0nxx__ has quit IRC
18:49:19  <Samu> hum... nielsm I can't work on fixes on this computer.
18:54:10  <Samu> I'm still in a temporary situation/solution, I don't even have access to my home
18:54:36  <Samu> I can't do much to remedy any PR until my life stabilizes
18:55:26  <Samu> if it stabilizes. The death of my father turned the situation more complicated for me
18:57:29  <Samu> I was able to make some work on my AI only thx to programs that don't require admin rights
18:58:03  <Samu> but openttd PRs is something I can't do anything about now
19:01:31  <nielsm> family and health obviously come before leisure projects
19:01:51  <nielsm> you asked about that bug earlier so I took another look at it
19:03:43  *** Laedek has quit IRC
19:03:54  <Samu> what I'm saying, basically, I can't fix my own PR's, somebody has to take over
19:05:36  <Samu> I can leave comments, but that's as much as I can do here
19:10:39  <peter1138> Shit, sorry to hear that :(
19:12:47  <andythenorth> +1
19:13:46  <Samu> lung cancer
19:16:40  <Samu> had to give away my cats, too :(
19:16:43  <Samu> oh well
19:20:17  <Samu> can't be living with my brother, my N cousins, my aunts, I'm on a residence kind of place, temporarily
19:20:56  <Samu> with 20's other ppl with problems
19:21:53  <Samu> they say, I don't quite fit here for the type of problems I have
19:23:52  <Samu> awaiting for an answer to my situation, which can take weeks, or months
19:24:34  <Samu> another lair, where I'll be making my life.
19:24:45  <Samu> sharing a room
19:25:43  <Samu> that's when and where I was promissed I'd get my computer
19:26:25  <Samu> personally, I doubt that I'll ever get my hands on my computer ever again
19:27:26  <andythenorth> :|
19:27:29  *** SimYouLater has quit IRC
19:53:44  *** frosch123 has quit IRC
19:55:34  <andythenorth> is it possible that this be fixed for 1.10.0?
19:55:35  <andythenorth>
19:55:56  <andythenorth> :)
19:59:17  <Samu> - the comment documentation missing:* @param all Whether to add random deviation to 'start_date' AI setting
19:59:44  <Samu> true - adds random deviation to 'start_date'
20:00:27  <Samu> false - doesn't add random deviation to 'start_date' (was added some other time)
20:00:43  <Samu> it's a problem with random AIs
20:02:08  <Samu> the original bug: random deviation doesn't occur for random ais, then I added a fix, which in turn made it add random deviation twice to random ais, then that bool all was the workaround, making it behave as being added deviation only once
20:02:44  <Samu> referring only about the start_date parameter
20:03:19  <Samu> deviations to other parameters were fine already
20:03:35  <glx> would be easier to just remove start_date
20:04:19  <Samu> manually selected AIs don't have any issues
20:04:42  <Samu> with the start_date
20:05:49  <Samu> there a PR about reworking start_date too
20:16:23  <Samu>
20:17:00  <Samu> was unable to test it properly
20:19:56  <Samu> somebody plz test multiplayer
20:20:03  <Samu> if it desyncs
20:20:18  <Samu> i can't test here
20:20:43  <Samu> requires firewall permissions, and I have no admin rights
20:21:07  <LordAro> pretty sure it doesn't "require" any firewall changes
20:21:13  <LordAro> especially because it's all local
20:21:28  <LordAro> it might ask for them, but local stuff should work fine
20:21:59  <Samu> nop, doesn't work, it isn't listed
20:22:12  <glx> no need to be listed
20:22:19  <glx> just join
20:23:09  <LordAro> listing will require talking externally, yes
20:23:16  <LordAro> but this is just a LAN game
20:24:23  <Samu> ok let me try
20:26:16  <Samu> wow, i didn't know of that
20:26:28  <Samu> it seems to work, no desync
20:32:21  <Samu> base     = GameSettings was perhaps an exageration
20:32:53  <Samu> but not too sure
20:33:04  <Samu> could be just a gui setting
20:33:31  <Samu> client setting
20:35:14  <Samu> ah no, it needs to be saved
20:35:35  <Samu> must be GameSettings then
20:35:53  <Samu> it's just that it doesn't require to be sync'ed
20:40:35  <Samu>
20:40:48  <Samu> how big is uint16
20:41:00  <Samu> 65535?
20:41:05  <LordAro> yes
20:42:38  <peter1138> I'd say it is (at least) 16 bits.
20:42:49  <Samu> max value is 3600, it could be less than 65535
20:42:56  <Samu> 4095
20:43:03  <Samu> oh well...
20:43:10  <LordAro> peter1138: i would expect a type named uint16 to be exactly 16 bits
20:43:44  <glx> uint16 is the minimal size for anything between 256 and 65535
20:44:16  <LordAro> it's not uint_least16_t
20:44:44  <Samu> SLE_UINT16
20:44:51  <LordAro> (which, coincidentally, is the same as unsigned int)
20:46:10  <Samu> type     = SLE_UINT16
20:47:34  <Samu> there is no SLE_UINT12 right?
20:47:46  <glx> of course not
20:47:49  <Samu> i think SLE_UINT16 is fine then
20:47:49  <LordAro> why would there be?
20:50:25  *** Samu has quit IRC
20:54:12  <nielsm> peter1138: the uintXX_t types are specified to always be exactly that bit width, but the compiler is not required to offer them if the platform doesn't have a native type of the size
20:55:00  <peter1138> Sorry I didn't see that Samu had asked "how big is uint16_t"
20:55:02  <LordAro> of course, technically...
20:55:24  <LordAro> oh, there's static asserts just below
20:56:20  <nielsm> well what if you compile on a platform where char is 32 bits
20:56:25  <nielsm> and short is also 32 bits
20:56:28  <LordAro> :D
20:56:37  <nielsm> and int is also 32 bits
20:56:59  <LordAro> i'd punch the compiler writers for being so stupid
20:58:31  <nielsm> it'd be a platform not really suited for ottd anyway :P
20:58:38  <nielsm> a DSP chip or something weird
21:00:03  <peter1138> Or a 36-bit architecture from the 70s.
21:01:42  <nielsm> but maybe those typedefs should be replaced with stdint.h types
21:01:50  <nielsm> since all supported compilers should have that now
21:02:25  <nielsm> msvc didn't have it until 2013 or something
21:03:49  <glx> hmm after cmake it would be nice to reorder files in the src
21:04:03  <nielsm> you mean directory structure?
21:04:07  <glx> yeah
21:04:12  <nielsm> yeah some of it isn't very good
21:04:40  <glx> MSVC project was nice for that
21:04:40  <nielsm> there's too many random things under the generic "source code" category in current vs projects
21:05:21  <nielsm> I'd love to have things structured by "feature" instead of by "tech"
21:05:34  <glx> but categories are all virtual, most of stuff was still in src
21:07:07  <glx> generic "source code" will be worse with cmake
21:23:59  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on pull request #7630: Fix warnings from GCC9
21:31:54  *** WormnestAndroid has quit IRC
21:32:27  *** WormnestAndroid has joined #openttd
21:43:55  *** gelignite has quit IRC
21:45:23  *** andythenorth has left #openttd
22:08:10  <DorpsGek_III> [OpenTTD/CompileFarm] glx22 commented on issue #18: Linux error messages contain lots of docker "errors"
22:40:14  *** nielsm has quit IRC
22:55:07  *** Smedles_ has quit IRC
23:08:46  *** Smedles has joined #openttd
23:12:57  *** firewire1394 has quit IRC
23:46:07  *** lpx has quit IRC
23:47:18  *** Wolf01 has quit IRC

Powered by YARRSTE version: svn-trunk