Log for #openttd on 18th March 2018:
Times are UTC Toggle Colours
00:12:01  *** FLHerne has quit IRC
00:17:20  *** Stimrol has quit IRC
00:20:42  *** FLHerne has joined #openttd
00:23:26  *** Progman has quit IRC
00:30:57  *** HerzogDeXtEr has quit IRC
00:44:00  *** Flygon has joined #openttd
00:49:52  *** FLHerne has quit IRC
00:51:26  *** JetFly|2 has quit IRC
01:06:23  *** GT has joined #openttd
01:07:08  *** Supercheese has quit IRC
01:07:25  *** Supercheese has joined #openttd
01:09:11  <GT> Just returned to OTTD after a long time off. What is the best Train AI available?
01:09:42  <Eddi|zuHause> you mean the least worst?
01:09:55  <GT> Yes :-)
01:10:02  <Eddi|zuHause> tbh, i have no idea, i never use them
01:11:44  <GT> Well, sometimes I do, but always end up a bit disappointed
01:12:53  <GT> Basic funtionality is there, but no AI shows any higher level of intelligence, like building a nice network,
01:15:16  *** Biolunar has quit IRC
01:17:00  *** GT has quit IRC
01:37:13  *** supermop has quit IRC
02:01:25  *** Thedarkb has joined #openttd
04:16:39  *** glx has quit IRC
04:35:01  *** SeraphAngel has quit IRC
05:37:15  *** Supercheese has quit IRC
05:37:31  *** Supercheese has joined #openttd
05:46:21  *** Cubey has quit IRC
06:33:01  *** Alberth has joined #openttd
06:33:01  *** ChanServ sets mode: +o Alberth
06:54:28  *** sla_ro|master has joined #openttd
07:33:35  *** sla_ro|master has quit IRC
07:34:43  *** sla_ro|master has joined #openttd
07:48:42  *** Progman has joined #openttd
08:05:52  *** nielsm has joined #openttd
08:27:34  <nielsm> did the source migration to github get finished? or still some things to do?
08:27:41  *** Supercheese has quit IRC
08:31:10  <Alberth> I'd be surprised if it was completely finished :)
08:32:09  <Alberth> moving the source history to GH is just one of the many steps, I think
08:32:26  *** Wacko1976 has quit IRC
08:33:22  *** Biolunar has joined #openttd
08:35:40  *** Wacko1976 has joined #openttd
08:37:05  <LordAro> the source itself was finished copying
08:37:14  <LordAro> but still for testing purposes only
08:37:21  *** Biolunar has quit IRC
08:38:53  *** Biolunar has joined #openttd
08:38:57  *** HerzogDeXtEr has joined #openttd
08:52:13  *** sim-al2 has quit IRC
09:08:18  *** HerzogDeXtEr has quit IRC
09:09:28  *** HerzogDeXtEr has joined #openttd
09:15:47  *** sla_ro|master has quit IRC
09:24:52  *** synchris has joined #openttd
09:28:09  *** FLHerne has joined #openttd
09:37:34  *** andythenorth has joined #openttd
09:37:39  <andythenorth> o/
09:39:15  *** FLHerne has quit IRC
09:39:52  <Alberth> o/
09:43:20  <andythenorth> hmm
09:43:32  <andythenorth> randomly reversed engine sprites
09:43:47  <andythenorth> currently I duplicate the spritesheet and move the sprites manually
09:43:53  <andythenorth> I could automate that with PIL
09:44:21  <andythenorth> or I could have different action 1 for reversed
09:44:47  <andythenorth> PIL slows down the compile
09:45:01  <andythenorth> doing it in action 1 requires special cases that make the compile and nml more complicated
09:52:12  <andythenorth> doing it manually is no work at all right now :P
09:57:10  <Alberth> :)
09:59:38  * andythenorth wonders why vehicle_is_flipped isn't documented in nml
09:59:41  <andythenorth>
10:00:09  <andythenorth>
10:00:24  <andythenorth> it's var C8 here
10:10:05  <Alberth> also says it's C8 :)
10:10:20  <Alberth> but no idea why
10:13:24  <Alberth> you could also hack nml to reverse the sprite :p
10:16:45  *** FLHerne has joined #openttd
10:20:44  *** iSoSyS has joined #openttd
10:25:46  *** Wacko1976 has quit IRC
10:43:47  *** iSoSyS has quit IRC
10:59:43  *** iSoSyS has joined #openttd
11:06:02  *** Wacko1976 has joined #openttd
11:21:57  *** sla_ro|master has joined #openttd
11:22:32  <andythenorth> I wonder if it was just missed in docs
11:22:35  <andythenorth> and if I should fix it
11:27:46  *** Wormnest has joined #openttd
11:36:42  <Alberth> it's a possibility
11:42:29  <andythenorth> I'll test it works first :P
11:42:31  <andythenorth> but it should
11:49:39  *** ToffeeYogurtPots has joined #openttd
11:54:46  *** iSoSyS has quit IRC
12:01:35  *** synchris has quit IRC
12:06:05  *** iSoSyS has joined #openttd
12:08:10  *** iSoSyS has quit IRC
12:24:14  <TrueBrain> hmmm .. I cannot make a private repo inside the OpenTTD space .. at least, that costs money :P
12:25:09  *** ToffeeYogurtPots has quit IRC
12:25:09  *** dustinm` has quit IRC
12:25:09  *** Maarten has quit IRC
12:25:09  *** HeyCitizen has quit IRC
12:25:09  *** Warrigal has quit IRC
12:25:09  *** Laedek has quit IRC
12:25:09  *** dxtr has quit IRC
12:25:10  *** Tharbakim has quit IRC
12:25:10  *** murr4y has quit IRC
12:25:10  *** techmagus has quit IRC
12:25:10  *** Ttech has quit IRC
12:25:10  *** ST2 has quit IRC
12:25:10  *** Compu has quit IRC
12:25:10  *** bwn has quit IRC
12:25:10  *** nahkiss has quit IRC
12:25:10  *** Sylf has quit IRC
12:25:10  *** greeter has quit IRC
12:25:10  *** mikegrb has quit IRC
12:25:10  *** crem4 has quit IRC
12:25:10  *** Vadtec has quit IRC
12:25:10  *** Extrems has quit IRC
12:25:10  *** colde has quit IRC
12:25:10  *** TinoDidriksen has quit IRC
12:25:10  *** jinks has quit IRC
12:25:10  *** ccfreak2k has quit IRC
12:25:10  *** APTX has quit IRC
12:25:10  *** Flygon has quit IRC
12:25:10  *** Smedles_ has quit IRC
12:26:33  *** ToffeeYogurtPots has joined #openttd
12:26:33  *** Flygon has joined #openttd
12:26:33  *** dustinm` has joined #openttd
12:26:33  *** Smedles_ has joined #openttd
12:26:33  *** Compu has joined #openttd
12:26:33  *** Maarten has joined #openttd
12:26:33  *** bwn has joined #openttd
12:26:33  *** Laedek has joined #openttd
12:26:33  *** dxtr has joined #openttd
12:26:33  *** APTX has joined #openttd
12:26:33  *** ccfreak2k has joined #openttd
12:26:33  *** colde has joined #openttd
12:26:33  *** TinoDidriksen has joined #openttd
12:26:33  *** jinks has joined #openttd
12:26:33  *** Extrems has joined #openttd
12:26:33  *** Vadtec has joined #openttd
12:26:33  *** crem4 has joined #openttd
12:26:33  *** murr4y has joined #openttd
12:26:33  *** greeter has joined #openttd
12:26:33  *** Warrigal has joined #openttd
12:26:33  *** mikegrb has joined #openttd
12:26:33  *** Sylf has joined #openttd
12:26:33  *** Ttech has joined #openttd
12:26:33  *** ST2 has joined #openttd
12:26:33  *** Tharbakim has joined #openttd
12:26:33  *** techmagus has joined #openttd
12:26:33  *** HeyCitizen has joined #openttd
12:26:33  *** nahkiss has joined #openttd
12:28:55  <andythenorth> TrueBrain: we have donations? :P
12:31:41  <TrueBrain> it is only 25 dollar yes :P But I have no clue if it solves my issue :D
12:37:45  <LordAro> probably not
12:44:00  *** Thedarkb has quit IRC
12:47:54  <TrueBrain> yippie, I made my issue migration resumable
12:48:03  <TrueBrain> so now if github barks, I can just continue it at a later time
12:48:30  <TrueBrain> and I can pre-import, making FlySpray readonly for a much smaller amount of time :)
12:49:20  <TrueBrain> 275 lines of code btw ... lol
12:49:31  <andythenorth> :)
12:50:23  <LordAro> can you disable issue creation on the github side while  you're doing it?
12:50:31  <TrueBrain> there are 14k comments and 7k tasks .. of which most are closed... that makes 21k comments (including close comments), 7k create issue, en 7k close issue .. so 35k calls
12:50:38  <TrueBrain> I can make 1 every 3 seconds
12:50:56  <TrueBrain> @calc 35000 * 3 / 3600
12:50:56  <DorpsGek> TrueBrain: 29.1666666667
12:51:00  <TrueBrain> 29 hours for the initial import
12:51:16  <TrueBrain> LordAro: possibly
12:51:34  <TrueBrain> the only thing this import script does not track, is reopening of a ticket
12:51:36  <TrueBrain> but .. ugh
12:51:59  <TrueBrain> and also for example a comment made after closing
12:52:02  <TrueBrain> is in the wrong order of time
12:54:34  *** sim-al2 has joined #openttd
12:56:33  *** Thedarkb has joined #openttd
12:58:16  *** SeraphAngel has joined #openttd
13:00:13  <Alberth> it's not by definition wrong :p
13:03:42  *** kais58 has quit IRC
13:06:20  <andythenorth> not sure how much history has to be perfect
13:06:21  *** SeraphAngel has quit IRC
13:06:25  <andythenorth> we're not going back in time :P
13:06:29  <TrueBrain> exactly
13:12:52  <TrueBrain> okay .. so resumable issue import is running on a 3 second delay .. lets see if that avoids the Abuse stuff
13:13:01  <TrueBrain> and we will check in 24 hours if all issues are imported :P
13:15:36  *** tokai has joined #openttd
13:15:36  *** ChanServ sets mode: +v tokai
13:16:00  <_dp_> hi, are you finally moving to github? :)
13:16:08  <_dp_> been out of the loop for a while ^^
13:19:14  <andythenorth> TB has pulled the pin
13:19:18  <andythenorth> well not quite yet
13:19:19  <andythenorth> but close
13:20:01  <TrueBrain> frosch123 did in fact; I am just a puppet
13:20:08  <_dp_> well, I guess it's still something
13:20:13  <_dp_> any plans on 1.8?
13:21:03  <_dp_> I completely missed 1.7.2 so kinda waiting for it now :)
13:22:16  *** tokai|noir has quit IRC
13:36:35  <andythenorth> peter1138: any way to reverse first vehicle of consist when it's purchased?  Articulated CB can reverse trailing units, but not first unit I think.
14:02:03  *** supermop has joined #openttd
14:02:17  <supermop> yo
14:02:28  *** SeraphAngel has joined #openttd
14:02:45  <andythenorth> lo supermop
14:14:05  <supermop> whats up
14:15:17  <andythenorth> refactoring
14:20:36  *** Stimrol has joined #openttd
14:21:55  <supermop> still dont get this:
14:21:57  <supermop>
14:22:18  <supermop> if i have a blue truck, and want it to have a random color
14:22:32  <supermop> where do those palette names go
14:22:53  <supermop> in the definition of the sprite group? in some switch?
14:23:42  <supermop> sorry if i;m being dumb but there is no little code example for recoloring on the wiki so im clueless
14:24:53  <supermop> nfi how to say 'use this spritegroup with this palette'
14:29:34  <andythenorth> I am literally looking at that in Horse right now
14:29:44  <andythenorth> due to removing the old, pixel-processing way
14:30:30  <andythenorth> supermop: you've found the 'colour_mapping' cb yes?
14:33:36  *** sim-al2 has quit IRC
14:33:41  *** Flygon has quit IRC
14:43:00  *** Thedarkb has quit IRC
14:57:15  *** Thedarkb has joined #openttd
15:02:25  *** frosch123 has joined #openttd
15:08:21  *** Wacko1976_ has joined #openttd
15:10:55  *** Wacko1976 has quit IRC
15:13:03  *** gelignite has joined #openttd
15:23:55  *** Thedarkb has quit IRC
15:29:04  <TrueBrain> ah, github replied; there is another API to use for this stuff
15:30:23  <andythenorth> :)
15:30:25  <andythenorth> nice
15:31:32  <TrueBrain> just annoying I couldnt find that myself :P
15:31:35  <TrueBrain> is a gist URL
15:32:07  <frosch123> does it have other restrictions?
15:32:13  <frosch123> or what is the idea behind two apis?
15:32:32  <TrueBrain> basically, what I expected, the current API triggers emails
15:32:37  <TrueBrain> so they dont want you to spam it like I do
15:32:42  <TrueBrain> as it might trigger a lot of emails
15:32:54  <TrueBrain> of course, I dont care about notifications, so I want an API where that is disabled
15:32:59  <TrueBrain> they have one (not official yet, basically)
15:33:06  <TrueBrain> meaning you have less restrictions
15:34:37  <andythenorth> do trains have some user bits I can use?
15:34:41  <TrueBrain> it also allows me to import comments at once; so 1 call for a complete issue
15:34:53  <andythenorth> I want to reliably know which sprite a vehicle has randomised
15:35:05  <andythenorth> or maybe I can depend on the random reliably
15:35:40  <TrueBrain> hmm, this API suggests that you can create tickets with older timestamps
15:35:42  <TrueBrain> that is interesting
15:35:46  <andythenorth> :)
15:35:52  <andythenorth> it's for migrations?
15:35:57  <TrueBrain> its for imports
15:36:04  <TrueBrain> so yes, that includes migrations
15:36:26  <TrueBrain> main difficulty is that it is async
15:36:35  <TrueBrain> so you create an issue, then you have to poll if it was created
15:37:11  <TrueBrain> so time to fiddle with this!
15:37:50  <LordAro> yay!
15:38:16  <TrueBrain> means I have to rebuild my script a bit ... owh boy :D
15:42:44  <nielsm> it'll be worth it!
15:44:12  <TrueBrain> sadly, the import API is a one-shot API
15:44:29  <TrueBrain> that means putting FlySpray in read-only and then migrating
15:44:42  <TrueBrain> would take ~2 hours to do the migrations, by first estimates
15:44:56  <TrueBrain> but okay .. lets first get it to work :)
15:44:58  <LordAro> why do you need to put it in readonly mode?
15:45:26  <TrueBrain> its a one-shot import; so if someone would modify FlySpray after the ticket moved to GitHub, there is no way to fix that
15:45:31  <nielsm> so nothing new comes in while he's reading, is my guess
15:45:35  <TrueBrain> ^^
15:46:03  <LordAro> well i thought we were still testing?
15:46:12  <TrueBrain> yes
15:46:16  <TrueBrain> how does that matter?
15:46:21  <TrueBrain> there is a point in time we are no longer testing?
15:46:49  <nielsm> flyspray will probably need to stay read-only after the import regardless
15:46:50  <TrueBrain> its called: thinking ahead :D
15:46:54  <TrueBrain> yup
15:46:58  <LordAro> well it doesn't really matter if someone modifies flyspray while doing a test import
15:47:03  <TrueBrain> but so there is a window where you cannot create a bug, basically :)
15:47:08  <LordAro> i thought the repo would be deleted and recreated
15:47:12  <TrueBrain> no, LordAro, but now think ahead
15:47:17  <TrueBrain> if this is no longer a test
15:47:37  <TrueBrain> in general I try to avoid things that need to happen ina big-bang
15:47:42  <TrueBrain> I rather have incremental stuff
15:47:55  <TrueBrain> and although we are testing now, I am thinking about how the result would be
15:48:02  <TrueBrain> as I am testing the result process, not the endpoint
15:59:27  *** Gja has joined #openttd
16:01:27  <TrueBrain> owh joy, a lovely API error I cannot parse :D
16:02:40  <TrueBrain> ha! Closed on Oct 2005 :D
16:02:42  <TrueBrain> w00p!
16:02:50  <LordAro> :D
16:03:37  <supermop> andythenorth: no, is that for the whole item or per sprite
16:03:55  <andythenorth> for the whole vehicle
16:04:04  <andythenorth> but it goes to a switch chain
16:04:13  <andythenorth> so you could probably isolate it somewhat
16:04:40  <supermop> so a flatbed with two subarus on it could paint one red and one blue?
16:05:12  <andythenorth> possibly
16:05:24  <andythenorth> what colour are the subarus in the spritesheet?
16:06:14  <TrueBrain> its funny, adding the labels is recorded on thecurrent timestamp
16:06:18  <TrueBrain> I cannot influence that part :D
16:06:32  <andythenorth> ABANDON ALL HOPE
16:07:20  <andythenorth> supermop: ^^^
16:10:32  <TrueBrain> I need ~3 requests per issue now .. so that is 21k requests .. needs 5 hours
16:10:36  <TrueBrain> ugh .. 5 hours of read-only ..
16:11:07  <LordAro> can you not predownload everything from flyspray?
16:11:18  <TrueBrain> huh?
16:11:28  <TrueBrain> I don't understand your mindjump there?
16:11:35  <LordAro> where's the bottleneck?
16:11:40  <TrueBrain> GitHub
16:11:43  <TrueBrain> 5k API requests per hour
16:12:20  <LordAro> and you have to get the information from flyspray before creating an issue out of it?
16:12:32  <TrueBrain> where else?
16:12:44  <TrueBrain> your mind made a jump that I cannot follow, so please explain what you are trying to resolve :)
16:12:45  <LordAro> so why not get all the information at once, store it somewhere
16:12:51  <TrueBrain> instead of continuing to lose me :D
16:12:53  <LordAro> then upload it to github
16:12:58  <TrueBrain> how does that solve anything?
16:13:01  <LordAro> less readonly flyspray
16:13:05  <TrueBrain> huh?!
16:13:21  <LordAro> *unless* you're talking about the actual migration, rather than what you're doing currently#
16:13:26  <TrueBrain> okay, let me break it down for you again (as you clearly were the one missing the train somewhere):
16:13:31  <TrueBrain> WHEN we are going to do the real migration
16:13:34  <TrueBrain> this is what happens:
16:13:39  <TrueBrain> we put FlySpray in read-only
16:13:44  <TrueBrain> we start the migration
16:13:48  <TrueBrain> issues arrive at GitHub
16:13:53  <TrueBrain> if ALL issues are migrated
16:13:59  <TrueBrain> people can make new issues at GitHub
16:14:21  <TrueBrain> again, I am not talking about this testing; I am talking about the process to get to the end result
16:14:24  <TrueBrain> I am testing that process
16:14:44  <LordAro> yeah, that makes sense
16:14:48  <LordAro> i was thinking in test mode only
16:14:51  <TrueBrain> now my testing shows this "migration" part takes ~5 hours
16:15:10  <TrueBrain> which is a large amount of time to now need anyone creating issues on either system
16:15:31  <_dp_> to me 5 hours sounds like something no one would even notice xD
16:16:17  <_dp_> there are like what, 1-2 new bugs a week
16:16:42  <TrueBrain> main issue, I cannot put Create New Issue on GitHub in read-only
16:16:48  <TrueBrain> so I really need people to stay away from there :P
16:17:02  <TrueBrain> if someone does make an issue .. I have to remove the project, and start over
16:17:04  <TrueBrain> sucks :P
16:17:26  <TrueBrain> another annoying issue, as the API is async, I cannot just schedule all imports at once
16:17:38  <TrueBrain> as then the numbers dont have to line up
16:18:17  <TrueBrain> and it is mostly due to this: when you import an issue, you get an URL back to poll the status of the import
16:18:23  <TrueBrain> you can do 5000 API calls an hour
16:18:30  <TrueBrain> the polling of the status of the import, is included in that number
16:20:00  <frosch123> which of the 3 requests per issue defines the number?
16:20:14  <TrueBrain> the last one
16:20:21  <TrueBrain> when the import is done, it is assigned an issue number
16:20:24  <TrueBrain> up till then, it can be what-ever
16:20:49  <frosch123> hmm, so you cannot run ahead with the next one
16:20:56  <TrueBrain> nope
16:21:15  <TrueBrain> so maybe I can poll the site via another way that doesnt count towards my request per hour :D
16:22:52  <LordAro> i feel like i've seen github projects with issues disabled
16:22:59  <LordAro> but maybe whatever that is disables import as well
16:22:59  <TrueBrain> you can disable it, sure
16:23:03  <TrueBrain> but .. how do I import ? :D
16:23:06  *** ToBeFree has joined #openttd
16:23:09  <TrueBrain> (I tried, of course)
16:23:40  <frosch123> we could rebrand the project secretly, so noone would find it
16:23:44  <frosch123> like arotrans
16:23:49  <TrueBrain> haha :D
16:23:52  <TrueBrain> that would work fine, yes :)
16:23:54  <LordAro> :D
16:23:57  <TrueBrain> but I still dont like it .. 5 hours is a long time
16:24:43  <TrueBrain> either way, check
16:24:48  <TrueBrain> looks better not?
16:25:20  <andythenorth> works for me :)
16:25:31  <LordAro> is good :)
16:25:59  <TrueBrain> forgot to remove 1 timestamp
16:26:00  <TrueBrain> oops :D
16:26:03  <LordAro> could get rid of- yes
16:28:53  <supermop> andythenorth: they are blue of course
16:28:59  <_dp_> does it insert issue text as a markdown? could break something
16:29:03  <_dp_> or fix xD
16:29:07  <supermop> as subarus should be
16:29:07  <andythenorth> supermop: so that is harder :)
16:29:08  <TrueBrain> it goes both ways
16:30:15  <andythenorth> supermop: you see the purple for the load states? o_O
16:30:16  <andythenorth> that
16:30:19  <andythenorth> pruple also
16:30:56  <supermop> could make them purple
16:31:51  <supermop> but still would like stacked sprites to get differing recoloring but doesn't look possible
16:32:17  <andythenorth> I'm not sure it's easy
16:32:51  *** kais58 has joined #openttd
16:35:33  <_dp_> that "comment imported" remark is unnecessary imo, one in issue is enough
16:35:36  <_dp_> too much spam :p
16:36:09  <_dp_> And it's pretty clear which ones are imported anyway
16:36:14  <TrueBrain> I think it is very important over time to have that
16:36:24  <TrueBrain> as now everyone remembers
16:36:27  <TrueBrain> but in 1 year, looking back
16:36:36  <TrueBrain> it is pretty nice to see which comments were imported, and which were not
16:37:28  <TrueBrain> lol @ import API .. I just made a ticket 1 hour in the future :D
16:37:30  <TrueBrain> w00p!
16:39:22  <_dp_> just having the link in the first comment is enough imo
16:39:41  <TrueBrain> there will be tickets which have both worlds: imported comments and GitHub comments
16:39:45  <TrueBrain> so I disagree that it is enough :)
16:40:59  <_dp_> you mean your bot will import add github ones as well?
16:41:17  <TrueBrain> E_COULDNT_PARSE :(
16:41:37  <TrueBrain> but what I mean: issue is imported, and someone comments on it in GitHub
16:41:45  <TrueBrain> so much more clear if every comment states what its origin is
16:41:51  <TrueBrain> removes any form of confusing
16:41:54  <TrueBrain> not now, but in 1 year
16:42:17  <_dp_> well, if someone comments it will look like a normal comment, not DorpsGek one
16:42:18  <frosch123> _dp_: it's not about creating an archive mirror on github
16:42:31  <frosch123> in future people will report on github, no longer on flyspray
16:42:49  <TrueBrain> @calc 3600 / 5000
16:42:49  <DorpsGek> TrueBrain: 0.72
16:42:53  <andythenorth> flyspraty will die :)
16:42:57  <_dp_> you can also make smth like "matthijs wrote" a link to that comment
16:43:08  <frosch123> anyway, since the links are specific to comments it is clearly more useful
16:43:15  <TrueBrain> this is a lot more clear
16:43:55  <_dp_> yeah, but makes it much harder to read the thread
16:44:35  <TrueBrain> its difficult no matter what, as extra lines are inserted that dont add to the conversation itself (the whole "blabla wrote: " for example)
16:46:07  *** kais58 has quit IRC
16:46:09  *** SeraphAngel has quit IRC
16:46:23  <_dp_> nah, that hr and link really stands out
16:46:25  *** kais58 has joined #openttd
16:46:31  <_dp_> at least make it small or smth
16:47:34  <_dp_> it's just I can't even imagine why would someone want to know where every comment came from
16:47:56  <TrueBrain> I think this is the point where the only thing we can do is to conclude: lets agree to disagree :)
16:47:58  <_dp_> and even if for some weird reason he does it will still be pretty clear
16:48:04  <TrueBrain> and I cannot make it smaller; at least, I cannot find a markdown way of doing that
16:48:11  <_dp_> but doesn't justify adding huge remark to every comment
16:50:34  <_dp_> use <sub></sub> or ######
16:50:36  <TrueBrain> okay, I tuned it the best I could towards 5000 request/h .. still don't fancy how long this is going to take ..
16:51:32  *** ToBeFree has quit IRC
16:54:02  <TrueBrain> adding some # works .. at a certain point the boldness it adds no longer stands out
16:56:16  <_dp_> yeah, h6 even has gray text
16:56:25  <_dp_> kinda questionable semantically though
16:56:38  <_dp_> I think I like <sub> more
16:57:43  <TrueBrain> I am a bit surprised that that works given it is markdown
16:59:24  <_dp_> lol
16:59:25  <_dp_> <sub><sup><sub><sup>This comment was imported from FlySpray:</sup></sub></sup></sub>
16:59:49  <TrueBrain> yeah .. no
17:00:15  <_dp_> markdown parsers usually accept some html
17:01:10  <TrueBrain> frosch123: I think what we will do before we migrate, is already import all closed tickets for more than a month ago
17:01:17  <TrueBrain> that should heavily reduce the read-only time
17:03:21  <frosch123> but increases the time where people can add stuff in github
17:03:50  <TrueBrain> I think the "hiding" of the project will work just fine
17:03:56  <LordAro> won't you only be able to add stuff up to the first open issue?
17:04:06  <TrueBrain> LordAro: good point
17:04:43  <TrueBrain> so that wont work
17:04:57  <TrueBrain> okay, so I will do a test-run than to check the real time we need
17:05:04  <TrueBrain> meh .. so be it
17:06:54  <TrueBrain> okay .. so I will check back in 5 hours to see how this did :)
17:07:02  <TrueBrain> pretty happy timestamps are kept now tbh :)
17:07:13  <TrueBrain> still not sure about the category label
17:07:32  <frosch123> a specific one, or in general?
17:07:37  <TrueBrain> in general
17:07:39  <TrueBrain> feels like noise
17:07:52  <TrueBrain> easier to remove than to add :)
17:14:08  *** Gja has quit IRC
17:14:47  *** Biolunar has quit IRC
17:21:32  <andythenorth> not sure if vehicle_is_flipped works in nml
17:21:35  *** donar has quit IRC
17:21:48  <andythenorth> might be why it's not documented
17:22:44  <andythenorth> it should return FD if vehicle is flipped
17:22:52  <andythenorth> I can't find any magic to handle that in nml
17:22:59  *** donar has joined #openttd
17:23:41  <nielsm> hmm, seems there are in fact some bugs with my midi file reading, trying it out with the scott joplin music pack on bananas right now, and several of the songs seem to break it
17:23:56  <andythenorth> how do I mask var[0xC8] to get 1 if FD otherwise 0?
17:24:22  <andythenorth> or at least something I can use in nml :P
17:24:26  *** kais58 has quit IRC
17:24:26  *** tokai has quit IRC
17:24:26  *** Mahjong2 has quit IRC
17:24:26  *** TheMask96 has quit IRC
17:24:26  *** Taede has quit IRC
17:24:26  *** Hirundo has quit IRC
17:24:26  *** Lamp- has quit IRC
17:24:26  *** funnel has quit IRC
17:24:26  *** Hazzard has quit IRC
17:24:26  *** avdg has quit IRC
17:24:26  *** _dp_ has quit IRC
17:24:26  *** michi_cc has quit IRC
17:24:26  *** Agiri[m] has quit IRC
17:24:26  *** Antheus has quit IRC
17:24:26  *** grossing has quit IRC
17:24:26  *** Osai has quit IRC
17:24:26  *** TrueBrain has quit IRC
17:24:26  *** SmatZ has quit IRC
17:24:26  *** Alkel_U3 has quit IRC
17:24:26  *** johnwhitlow[m] has quit IRC
17:24:26  *** Sheogorath has quit IRC
17:24:26  *** Terkhen has quit IRC
17:24:27  *** dpk has quit IRC
17:24:27  *** Ammler has quit IRC
17:24:27  *** V453000 has quit IRC
17:24:27  *** planetmaker has quit IRC
17:25:06  *** synchris has joined #openttd
17:25:21  *** kais58 has joined #openttd
17:25:21  *** tokai has joined #openttd
17:25:21  *** Mahjong2 has joined #openttd
17:25:21  *** TheMask96 has joined #openttd
17:25:21  *** Taede has joined #openttd
17:25:21  *** Hirundo has joined #openttd
17:25:21  *** Lamp- has joined #openttd
17:25:21  *** funnel has joined #openttd
17:25:21  *** Hazzard has joined #openttd
17:25:21  *** avdg has joined #openttd
17:25:21  *** _dp_ has joined #openttd
17:25:21  *** michi_cc has joined #openttd
17:25:21  *** Agiri[m] has joined #openttd
17:25:21  *** Antheus has joined #openttd
17:25:21  *** grossing has joined #openttd
17:25:21  *** Osai has joined #openttd
17:25:21  *** TrueBrain has joined #openttd
17:25:21  *** SmatZ has joined #openttd
17:25:21  *** Alkel_U3 has joined #openttd
17:25:21  *** johnwhitlow[m] has joined #openttd
17:25:21  *** Sheogorath has joined #openttd
17:25:21  *** Terkhen has joined #openttd
17:25:21  *** dpk has joined #openttd
17:25:21  *** Ammler has joined #openttd
17:25:21  *** V453000 has joined #openttd
17:25:21  *** planetmaker has joined #openttd
17:25:21  *** sets mode: +vvoo tokai michi_cc Terkhen planetmaker
17:25:34  *** ChanServ sets mode: +v Terkhen
17:25:34  *** ChanServ sets mode: +v planetmaker
17:27:22  <frosch123> andythenorth: pretty sure vehicle_is_flipped would return 0 or 1 in nml
17:27:29  <andythenorth> hmm
17:27:37  <andythenorth> must be EBKAC then
17:28:32  <frosch123> i guess none dared to document the different between flipped and reversed
17:29:11  <andythenorth> I have the same issue in my code :P
17:29:34  <andythenorth> there is *no* way to set reversed on a vehicle in a non-articulated consist? o_O
17:29:41  * andythenorth assumes
17:29:42  <frosch123> so maybe flipping is missnig because someone thought reversed is the same
17:29:53  <andythenorth> or maybe it was the time of flipgate
17:29:57  <andythenorth> remember it was removed?
17:29:59  <frosch123> "reversed" is a consist proprty
17:30:03  <frosch123> fliipped is per vehicle
17:30:31  <andythenorth> yes
17:30:47  <andythenorth> can a single-vehicle consist be reversed?
17:31:04  <andythenorth> :P
17:31:13  <andythenorth> actually it doesn't matter :)
17:31:15  <andythenorth> I was just curious
17:31:19  <frosch123> consists reverse in terminus stations
17:32:04  <andythenorth> ok so there's the other 'reversed'
17:32:15  <andythenorth> which is adding 4000 when returning articulated cb results
17:32:28  <andythenorth> I assumed that reversed the vehicle?
17:40:45  <frosch123> i see a lot of train magic in the code
17:40:52  <frosch123> may be broken for road vehicles
17:41:40  <andythenorth> it's trains I was thinking about
17:41:48  <andythenorth> I think I'll just leave the magic in nml :P
17:41:55  <andythenorth> it's fairly horrible, but eh
17:42:02  <frosch123> vehicle_is_flipped returns 0 or 1
17:42:11  <frosch123> and yes, it is undocuented for some reason
17:44:00  *** keoz has joined #openttd
17:44:05  <andythenorth> hmm
17:44:10  <andythenorth> does flipping also flip visual effect?
17:44:28  <andythenorth> I might be trying to solve the wrong thing :P
17:44:43  <frosch123> that's one of those things which may be different between trains and rv :p
17:45:17  *** SeraphAngel has joined #openttd
17:45:22  <frosch123> some places in ottd use spritenum, some other places use VRF_REVERSE_DIRECTION
17:45:28  <frosch123> so it is likely inconsistent in various cases
17:46:06  <andythenorth> seems for visual_effect_and_powered, flipped is understood
17:46:22  <andythenorth> so I can eliminate some horrible nml :P
17:46:47  <andythenorth>
17:46:54  <andythenorth> twice as complicated as needed :)
17:51:07  *** Cubey has joined #openttd
18:00:27  *** SeraphAngel has quit IRC
18:03:14  *** SeraphAngel has joined #openttd
18:15:30  <TrueBrain> we still have open bugs dating 2007? :o
18:18:35  <andythenorth> which one? o_O
18:19:23  <frosch123> the oldest valid one is from 2010
18:19:33  <LordAro> quick, set andy on it
18:20:43  <LordAro> oh, only "enhancement"
18:20:46  <andythenorth> yeah
18:20:51  <andythenorth> earliest bug is 2010
18:21:29  <LordAro> why was wontfix added to this?
18:21:50  <LordAro> can't see it on the original, nor has it been closed
18:22:49  *** glx has joined #openttd
18:22:49  *** ChanServ sets mode: +v glx
18:23:33  <TrueBrain> good question
18:24:07  <TrueBrain> lol .. variable was not reset
18:24:10  <TrueBrain> is value of issue before him
18:24:12  <TrueBrain> :D
18:24:16  <TrueBrain> I didnt have open issues earlier
18:24:20  <LordAro> hehe
18:25:05  <TrueBrain> @calc 78 * 60 / 1677
18:25:05  <DorpsGek> TrueBrain: 2.79069767442
18:25:10  <TrueBrain> ~3 seconds per issue
18:25:19  <TrueBrain> @calc 3 * 7000 / 3600
18:25:19  <DorpsGek> TrueBrain: 5.83333333333
18:25:21  <TrueBrain> so 6 hours
18:26:30  <glx> today was a little more spamy than yesterday ;)
18:27:25  <TrueBrain> creating/removing of projects, yes :)
18:27:36  <glx> 5 emails vs 1 :)
18:28:01  <glx> but could have been worse
18:28:45  *** Gja has joined #openttd
18:39:24  <nielsm> this is a really spooky bug I have... some songs cause my music driver to go into intensely slow mode, so I just get one new chord every 20 seconds or something
18:40:37  <glx> overflow somewhere maybe
18:41:01  <nielsm> maybe
18:41:11  <nielsm> I'll have to check the tempo calculations
18:41:18  <glx> like a 16bit number becoming negative
18:41:54  <nielsm> probably an uint32 holding microseconds overflowing
18:42:04  <glx> yeah same idea ;)
18:42:48  <andythenorth> what's the antonym of 'reversed' for a vehicle?
18:43:01  <andythenorth> '', 'forwards', or 'unreserved'
18:43:04  <glx> not reversed
18:43:15  <andythenorth> reversed / reserved /s
18:43:32  <andythenorth> 'unreversed' will do then
18:43:53  <glx> looks like a double negation
18:44:26  <frosch123> desrever
18:44:35  <glx> lol
18:44:53  <andythenorth> it's clunky, which is why I wondered about ''
18:45:01  <andythenorth> but that's not explicit in places that confuse me
18:45:22  <glx> wiktionnary says normal
18:45:48  <DorpsGek> Commit by translators :: r27994 trunk/src/lang/welsh.txt (2018-03-18 19:45:38 +0100 )
18:45:49  <DorpsGek> -Update from Eints:
18:45:50  <DorpsGek> welsh: 2 changes by kazzie
18:45:52  <glx> for anthonym of reverse
18:46:22  <andythenorth> interesting
18:47:26  <glx> and it's in rail transport context
18:48:26  *** supermop has quit IRC
18:53:27  <nielsm> huh no doesn't look like an overflow at this point
18:53:31  <nielsm>
18:53:55  <nielsm> the last few blocks of note data in the song, the realtime value is microseconds since start of song, i.e. 1 million = 1 second
18:54:19  <nielsm> and the last few have 20-40 seconds between each block
18:58:21  *** Thedarkb has joined #openttd
18:59:08  *** Cubey has quit IRC
19:08:31  <nielsm> um but lol these scott joplin tunes are pretty crazy
19:08:41  <nielsm> this one has 320 tempo change events in it
19:10:16  <LordAro> sounds about right for Joplin :p
19:33:30  *** supermop has joined #openttd
19:36:32  <TrueBrain> 2700 issues done .. this is soooo slllooowwww :D
19:37:44  <andythenorth> faster than painting pixels
19:37:54  <andythenorth> I spent 2 days drawing 1 boat hull :P
19:39:09  <TrueBrain> it seems it no longer creates issues ...
19:39:54  <frosch123> how ambiguous
19:40:25  <supermop> oh looks like different sprites in a stack can have different recolorings
19:40:35  <frosch123> yes
19:40:41  <supermop> it says right there in the wiki and i never realized it
19:42:11  <andythenorth> you check them during the cb?
19:42:19  <TrueBrain> wow, it is just really really slow ..
19:42:44  <supermop> i think you enumerate for each iteration of the stack?
19:43:06  <supermop> not sure because my stacks are written a little mote simply
19:44:00  <supermop> @logs
19:44:00  <DorpsGek> supermop:
19:44:16  <nielsm> TrueBrain you should take the opportunity to savor this once-in-a-lifetime experience, don't hurry it
19:45:06  *** synchris has quit IRC
19:45:42  <LordAro> once-in-15-years experience, anyway
19:45:55  *** synchris has joined #openttd
19:47:56  *** synchris has quit IRC
20:02:34  *** sim-al2 has joined #openttd
20:02:51  <nielsm> yeah this seems to fix the tempo issues
20:09:04  <nielsm> hmm would be neat to add an option to music baseset definitions to change the title of the jazz jukebox :)
20:09:18  <nielsm> so it could say "Player Piano" instead for the joplin tunes
20:09:24  <nielsm> etc
20:24:29  * andythenorth such newgrf
20:37:57  *** funnel has quit IRC
20:38:06  *** funnel has joined #openttd
20:40:31  *** bwn has quit IRC
20:40:42  <Alberth> everything refactored?
20:40:59  <andythenorth> well
20:41:17  <andythenorth> do you mean 'did I touch everything'?
20:41:25  <andythenorth> or 'is it done'? :P
20:42:39  <frosch123> the farm only builds two projects in parallel
20:42:45  <frosch123> andy is pushing to 3 at once :)
20:43:58  <andythenorth> I have got a shared library :P
20:44:06  <andythenorth> update one place, 3 projects change :P
20:44:21  <andythenorth> new ways to regret choices later
20:44:58  <andythenorth> where is Eddi to tell me I should have worked out my spec first?
20:45:22  <glx> you won't listen anyway ;)
20:46:27  <Alberth> stuck in the snow, probably
20:47:06  <andythenorth> I have no problem working out the spec first
20:47:07  <Alberth> so working on one newgrf at a time wasn't enough :p
20:47:15  <andythenorth> I just think the spec should be written in code
20:47:21  <supermop> ok as a test
20:47:37  <supermop> i made a pickup truck that changes color based on cargo age
20:48:03  <supermop> seems to work, but color only currently updates if you stop the vehicle
20:48:04  <Alberth> writing a spec as code is something I try too sometimes, but it never works out
20:48:16  <supermop> not while it is moving on its own
20:48:22  <andythenorth> the default seems to be Excel documents
20:48:42  <andythenorth> "Item 3.1.2: the system must accept malformed input, except when it's a security risk"
20:48:53  <andythenorth> "Item 3.6.5: the system must work with Citrix"
20:49:05  <andythenorth> pfff
20:49:33  <andythenorth> or elaborate photoshop mockups
20:49:35  <andythenorth> nah
20:49:56  <Rubidium> andythenorth: so, if it launches a Citrix server item 3.6.5 is fulfilled?
20:50:00  <frosch123> supermop: coluoring updated more often if you use the stack-recolourig instead of the usual colormap callback
20:50:24  <andythenorth> Rubidium: no at that point your lawyer has to confirm with their lawyer who is suing who
20:50:28  <nielsm> that's some requirements that just scream for malicious misinterpretation
20:51:32  <supermop> frosch123: seems i'll need a different stack for each age of cargo
20:52:27  <supermop> if its for glowing orange metal ill need to point to one stack for 'very orange', one for 'kind of orange', etc, right?
20:53:13  *** bwn has joined #openttd
20:53:47  <supermop> this pick up truck is too small
20:59:54  <supermop> also, it seems that the the truck turns the color for 15 day old cargo at 30 days, etc
21:00:02  <supermop> fwiw
21:00:45  <andythenorth> :)
21:00:47  <supermop> and the color of 5 day old cargo at 10 and so on
21:01:05  <andythenorth> off-by-one in range checks?
21:01:09  <supermop> (this truck doesn't have any cargo age properties)
21:01:11  <frosch123> 185 ticks per cargo age, 74 ticks per day
21:01:20  <frosch123> cargo age is not in days
21:01:27  <supermop> aha
21:01:47  <supermop> well its fine, doesn't need to be anything exact
21:01:58  *** sla_ro|master has quit IRC
21:02:14  <supermop> i wonder if my pickup truck is the first rv to ever use this var
21:03:38  *** Gja has quit IRC
21:07:51  <supermop> also the color doesn't update at 32 days
21:09:15  <frosch123> you may set some dummy resulf to the 32day callback
21:10:54  <frosch123> "every_32_days: return bitmask(CB_RESULT_32_DAYS_COLOUR_MAPPING);" or something silly
21:14:10  <TrueBrain> whoho, first real bug is also imported :)
21:18:38  <supermop> frosch123: can i just have a random switch that gets triggered every few days?
21:20:37  <frosch123> there is a 32day rerandomisation trigger
21:21:31  *** SeraphAngel has quit IRC
21:23:37  *** snail_UES_ has joined #openttd
21:31:56  *** Alberth has left #openttd
21:32:56  <andythenorth> TrueBrain: from this import bugs
21:33:54  <TrueBrain> ImportError: cannot import name bugs
21:35:33  *** bwn has quit IRC
21:39:26  *** HeyCitizen has quit IRC
21:42:10  *** bwn has joined #openttd
21:43:13  *** frosch123 has quit IRC
21:43:25  *** SeraphAngel has joined #openttd
21:43:45  *** nielsm has quit IRC
21:46:07  *** HeyCitizen has joined #openttd
21:49:30  <supermop> andythenorth: do you have a custom recolor sprite to use that purple?
21:49:44  <andythenorth> that purple is recoloured in pixa
21:49:52  <andythenorth> but it could be done with a recolor sprite
21:50:07  <andythenorth> the main thing is to split from CC
21:51:24  *** HeyCitizen has quit IRC
21:53:38  *** HeyCitizen has joined #openttd
21:57:59  *** Cubey has joined #openttd
21:59:19  *** gelignite has quit IRC
22:02:22  *** HerzogDeXtEr has quit IRC
22:07:13  *** bwn has quit IRC
22:09:40  *** Biolunar has joined #openttd
22:10:29  *** bwn has joined #openttd
22:17:18  *** andythenorth has quit IRC
22:33:42  *** Stimrol has quit IRC
22:43:19  *** bwn has quit IRC
22:44:26  *** Progman has quit IRC
22:52:09  *** bwn has joined #openttd
22:54:59  *** FLHerne has quit IRC
23:05:01  *** keoz has quit IRC
23:05:24  *** Wormnest has quit IRC
23:08:28  *** Eddi|zuHause2 has joined #openttd
23:08:28  *** Eddi|zuHause has quit IRC
23:08:30  *** Thedarkb has quit IRC
23:12:51  *** Eddi|zuHause2 is now known as Eddi|zuHause
23:13:51  *** Biolunar has quit IRC
23:18:12  *** Wacko1976_ has quit IRC
23:32:49  <TrueBrain> import of issues done
23:32:58  <TrueBrain> 378 open bugs ..
23:33:06  <TrueBrain> of which 158 marked as 'bug'
23:33:11  <TrueBrain> euh, first bugs -> issues
23:33:17  <TrueBrain> 32 patches
23:34:02  <TrueBrain> @calc 78 + 36 + 31 + 46 + 139
23:34:02  <DorpsGek> TrueBrain: 330
23:34:09  <TrueBrain> @calc 330 * 60 / 6686
23:34:09  <DorpsGek> TrueBrain: 2.96141190547
23:34:12  <TrueBrain> 3 seconds per issue
23:34:15  <TrueBrain> total of 330 minutes
23:34:21  <TrueBrain> so indeed, bit over 5 hours
23:34:25  <TrueBrain> not bad
23:34:27  <TrueBrain> owh well, nn!
23:46:44  *** Wacko1976 has joined #openttd
23:50:53  *** Thedarkb has joined #openttd

Powered by YARRSTE version: svn-trunk