Back to Home / #openttd / 2018 / 03 / Prev Day | Next Day
#openttd IRC Logs for 2018-03-18

---Logopened Sun Mar 18 00:00:51 2018
00:16-!-glx [] has quit [Quit: Bye]
00:35-!-SeraphAngel [] has quit [Ping timeout: 480 seconds]
01:37-!-Supercheese [] has quit [Read error: Connection reset by peer]
01:37-!-Supercheese [] has joined #openttd
01:37-!-Supercheese is "Supercheese" on #openttd
01:46-!-Cubey [] has quit [Ping timeout: 480 seconds]
02:33-!-Alberth [] has joined #openttd
02:33-!-mode/#openttd [+o Alberth] by ChanServ
02:33-!-Alberth is "purple" on @#openttd
02:54-!-sla_ro|master [] has joined #openttd
02:54-!-sla_ro|master is "slamaster" on #sla #openttd
03:33-!-sla_ro|master [] has quit []
03:34-!-sla_ro|master [] has joined #openttd
03:34-!-sla_ro|master is "slamaster" on #sla #openttd
03:48-!-Progman [] has joined #openttd
03:48-!-Progman is "Peter Henschel" on #openttdcoop #openttd
04:05-!-nielsm [] has joined #openttd
04:05-!-nielsm is "Niels Martin hansen" on #openttd #tycoon
04:27<nielsm>did the source migration to github get finished? or still some things to do?
04:27-!-Supercheese [] has quit [Quit: Valete omnes]
04:31<@Alberth>I'd be surprised if it was completely finished :)
04:32<@Alberth>moving the source history to GH is just one of the many steps, I think
04:32-!-Wacko1976 [] has quit [Ping timeout: 480 seconds]
04:33-!-Biolunar [] has joined #openttd
04:33-!-Biolunar is "Biolunar" on #openttd #suckless
04:35-!-Wacko1976 [] has joined #openttd
04:35-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
04:37<LordAro>the source itself was finished copying
04:37<LordAro>but still for testing purposes only
04:37-!-Biolunar [] has quit []
04:38-!-Biolunar [] has joined #openttd
04:38-!-Biolunar is "Biolunar" on #openttd #suckless
04:38-!-HerzogDeXtEr [] has joined #openttd
04:38-!-HerzogDeXtEr is "purple" on #openttd
04:52-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
05:08-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
05:09-!-HerzogDeXtEr [] has joined #openttd
05:09-!-HerzogDeXtEr is "purple" on #openttd
05:15-!-sla_ro|master [] has quit []
05:24-!-synchris [~synchris@] has joined #openttd
05:24-!-synchris is "Synesios Christou" on #openttd
05:28-!-FLHerne [] has joined #openttd
05:28-!-FLHerne is "Francis Herne" on #kernelnewbies #openttd
05:37-!-andythenorth [] has joined #openttd
05:37-!-andythenorth is "andythenorth" on #openttd
05:39-!-FLHerne [] has quit [Ping timeout: 480 seconds]
05:43<andythenorth>randomly reversed engine sprites
05:43<andythenorth>currently I duplicate the spritesheet and move the sprites manually
05:43<andythenorth>I could automate that with PIL
05:44<andythenorth>or I could have different action 1 for reversed
05:44<andythenorth>PIL slows down the compile
05:45<andythenorth>doing it in action 1 requires special cases that make the compile and nml more complicated
05:52<andythenorth>doing it manually is no work at all right now :P
05:59*andythenorth wonders why vehicle_is_flipped isn't documented in nml
06:00<andythenorth>it's var C8 here
06:10<@Alberth> also says it's C8 :)
06:10<@Alberth>but no idea why
06:13<@Alberth>you could also hack nml to reverse the sprite :p
06:16-!-FLHerne [] has joined #openttd
06:16-!-FLHerne is "Francis Herne" on #kernelnewbies #openttd
06:20-!-iSoSyS [~iSoSyS@] has joined #openttd
06:20-!-iSoSyS is "realname" on #/r/openttd #openttd
06:25-!-Wacko1976 [] has quit [Ping timeout: 480 seconds]
06:43-!-iSoSyS [~iSoSyS@] has quit [Read error: Connection reset by peer]
06:59-!-iSoSyS [] has joined #openttd
06:59-!-iSoSyS is "realname" on #openttd #/r/openttd
07:06-!-Wacko1976 [] has joined #openttd
07:06-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
07:21-!-sla_ro|master [] has joined #openttd
07:21-!-sla_ro|master is "slamaster" on #sla #openttd
07:22<andythenorth>I wonder if it was just missed in docs
07:22<andythenorth>and if I should fix it
07:27-!-Wormnest [] has joined #openttd
07:27-!-Wormnest is "Wormnest" on #openttd
07:36<@Alberth>it's a possibility
07:42<andythenorth>I'll test it works first :P
07:42<andythenorth>but it should
07:49-!-ToffeeYogurtPots [] has joined #openttd
07:49-!-ToffeeYogurtPots is "realname" on #oftc #privacytech #odamex #/r/openttd #openttd #privacybadger #https-everywhere #i2p #tor-offtopic #tor-onions #tor-project #tor #debian-offtopic #debian-hurd #debian
07:54-!-iSoSyS [] has quit [Ping timeout: 480 seconds]
08:01-!-synchris [~synchris@] has quit [Remote host closed the connection]
08:06-!-iSoSyS [~iSoSyS@] has joined #openttd
08:06-!-iSoSyS is "realname" on #/r/openttd #openttd
08:08-!-iSoSyS [~iSoSyS@] has quit [Read error: Connection reset by peer]
08:25-!-Netsplit <-> quits: NGC3982, XeryusTC, Hazzard, Antheus, Yotson, rellig, dihedral, Exec, jonty-comp, swimstar[m], (+86 more, use /NETSPLIT to show all of them)
08:26-!-funnel is "funnel" on #awesome #oftc #vserver #moocows #linode #acal #flect #antlr @#cursive @#exvm #mci
08:26-!-Netsplit over, joins: funnel, ericnoan, urdh, muffe, Taede, SpComb, grossing, @planetmaker, berndj, FLHerne (+86 more)
08:26-!-FLHerne is "Francis Herne" on #openttd #kernelnewbies
08:28<andythenorth>TrueBrain: we have donations? :P
08:31<TrueBrain>it is only 25 dollar yes :P But I have no clue if it solves my issue :D
08:37<LordAro>probably not
08:44-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
08:47<TrueBrain>yippie, I made my issue migration resumable
08:48<TrueBrain>so now if github barks, I can just continue it at a later time
08:48<TrueBrain>and I can pre-import, making FlySpray readonly for a much smaller amount of time :)
08:49<TrueBrain>275 lines of code btw ... lol
08:50<LordAro>can you disable issue creation on the github side while you're doing it?
08:50<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
08:50<TrueBrain>I can make 1 every 3 seconds
08:50<TrueBrain>@calc 35000 * 3 / 3600
08:50<@DorpsGek>TrueBrain: 29.1666666667
08:51<TrueBrain>29 hours for the initial import
08:51<TrueBrain>LordAro: possibly
08:51<TrueBrain>the only thing this import script does not track, is reopening of a ticket
08:51<TrueBrain>but .. ugh
08:51<TrueBrain>and also for example a comment made after closing
08:52<TrueBrain>is in the wrong order of time
08:54-!-sim-al2 [] has joined #openttd
08:54-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
08:56-!-Thedarkb [] has joined #openttd
08:56-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
08:58-!-SeraphAngel [] has joined #openttd
08:58-!-SeraphAngel is "Fullname" on #openttd
09:00<@Alberth>it's not by definition wrong :p
09:03-!-kais58 [~kais58@] has quit [Ping timeout: 480 seconds]
09:06<andythenorth>not sure how much history has to be perfect
09:06-!-SeraphAngel [] has quit [Ping timeout: 480 seconds]
09:06<andythenorth>we're not going back in time :P
09:12<TrueBrain>okay .. so resumable issue import is running on a 3 second delay .. lets see if that avoids the Abuse stuff
09:13<TrueBrain>and we will check in 24 hours if all issues are imported :P
09:15-!-tokai [] has joined #openttd
09:15-!-mode/#openttd [+v tokai] by ChanServ
09:15-!-tokai is "Christian Rosentreter" on +#openttd
09:16<_dp_>hi, are you finally moving to github? :)
09:16<_dp_>been out of the loop for a while ^^
09:19<andythenorth>TB has pulled the pin
09:19<andythenorth>well not quite yet
09:19<andythenorth>but close
09:20<TrueBrain>frosch123 did in fact; I am just a puppet
09:20<_dp_>well, I guess it's still something
09:20<_dp_>any plans on 1.8?
09:21<_dp_>I completely missed 1.7.2 so kinda waiting for it now :)
09:22-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
09:36<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.
10:02-!-supermop [] has joined #openttd
10:02-!-supermop is "A CIRC user" on #openttd
10:02-!-SeraphAngel [] has joined #openttd
10:02-!-SeraphAngel is "Fullname" on #openttd
10:02<andythenorth>lo supermop
10:14<supermop>whats up
10:20-!-Stimrol [] has joined #openttd
10:20-!-Stimrol is "Stimrol" on #openttd
10:21<supermop>still dont get this:
10:22<supermop>if i have a blue truck, and want it to have a random color
10:22<supermop>where do those palette names go
10:22<supermop>in the definition of the sprite group? in some switch?
10:23<supermop>sorry if i;m being dumb but there is no little code example for recoloring on the wiki so im clueless
10:24<supermop>nfi how to say 'use this spritegroup with this palette'
10:29<andythenorth>I am literally looking at that in Horse right now
10:29<andythenorth>due to removing the old, pixel-processing way
10:30<andythenorth>supermop: you've found the 'colour_mapping' cb yes?
10:33-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
10:33-!-Flygon [] has quit [Read error: Connection reset by peer]
10:43-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
10:57-!-Thedarkb [] has joined #openttd
10:57-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
11:02-!-frosch123 [] has joined #openttd
11:02-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd
11:08-!-Wacko1976_ [] has joined #openttd
11:08-!-Wacko1976_ is "The Chat Cool People Use" on #openttd #/r/openttd
11:10-!-Wacko1976 [] has quit [Ping timeout: 480 seconds]
11:13-!-gelignite [] has joined #openttd
11:13-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
11:23-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
11:29<TrueBrain>ah, github replied; there is another API to use for this stuff
11:31<TrueBrain>just annoying I couldnt find that myself :P
11:31<TrueBrain>is a gist URL
11:32<frosch123>does it have other restrictions?
11:32<frosch123>or what is the idea behind two apis?
11:32<TrueBrain>basically, what I expected, the current API triggers emails
11:32<TrueBrain>so they dont want you to spam it like I do
11:32<TrueBrain>as it might trigger a lot of emails
11:32<TrueBrain>of course, I dont care about notifications, so I want an API where that is disabled
11:32<TrueBrain>they have one (not official yet, basically)
11:33<TrueBrain>meaning you have less restrictions
11:34<andythenorth>do trains have some user bits I can use?
11:34<TrueBrain>it also allows me to import comments at once; so 1 call for a complete issue
11:34<andythenorth>I want to reliably know which sprite a vehicle has randomised
11:35<andythenorth>or maybe I can depend on the random reliably
11:35<TrueBrain>hmm, this API suggests that you can create tickets with older timestamps
11:35<TrueBrain>that is interesting
11:35<andythenorth>it's for migrations?
11:35<TrueBrain>its for imports
11:36<TrueBrain>so yes, that includes migrations
11:36<TrueBrain>main difficulty is that it is async
11:36<TrueBrain>so you create an issue, then you have to poll if it was created
11:37<TrueBrain>so time to fiddle with this!
11:38<TrueBrain>means I have to rebuild my script a bit ... owh boy :D
11:42<nielsm>it'll be worth it!
11:44<TrueBrain>sadly, the import API is a one-shot API
11:44<TrueBrain>that means putting FlySpray in read-only and then migrating
11:44<TrueBrain>would take ~2 hours to do the migrations, by first estimates
11:44<TrueBrain>but okay .. lets first get it to work :)
11:44<LordAro>why do you need to put it in readonly mode?
11:45<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
11:45<nielsm>so nothing new comes in while he's reading, is my guess
11:46<LordAro>well i thought we were still testing?
11:46<TrueBrain>how does that matter?
11:46<TrueBrain>there is a point in time we are no longer testing?
11:46<nielsm>flyspray will probably need to stay read-only after the import regardless
11:46<TrueBrain>its called: thinking ahead :D
11:46<LordAro>well it doesn't really matter if someone modifies flyspray while doing a test import
11:47<TrueBrain>but so there is a window where you cannot create a bug, basically :)
11:47<LordAro>i thought the repo would be deleted and recreated
11:47<TrueBrain>no, LordAro, but now think ahead
11:47<TrueBrain>if this is no longer a test
11:47<TrueBrain>in general I try to avoid things that need to happen ina big-bang
11:47<TrueBrain>I rather have incremental stuff
11:47<TrueBrain>and although we are testing now, I am thinking about how the result would be
11:48<TrueBrain>as I am testing the result process, not the endpoint
11:59-!-Gja [] has joined #openttd
11:59-!-Gja is "Martin" on #ceph #bcache #openttd
12:01<TrueBrain>owh joy, a lovely API error I cannot parse :D
12:02<TrueBrain>ha! Closed on Oct 2005 :D
12:03<supermop>andythenorth: no, is that for the whole item or per sprite
12:03<andythenorth>for the whole vehicle
12:04<andythenorth>but it goes to a switch chain
12:04<andythenorth>so you could probably isolate it somewhat
12:04<supermop>so a flatbed with two subarus on it could paint one red and one blue?
12:05<andythenorth>what colour are the subarus in the spritesheet?
12:06<TrueBrain>its funny, adding the labels is recorded on thecurrent timestamp
12:06<TrueBrain>I cannot influence that part :D
12:06<andythenorth>ABANDON ALL HOPE
12:07<andythenorth>supermop: ^^^
12:10<TrueBrain>I need ~3 requests per issue now .. so that is 21k requests .. needs 5 hours
12:10<TrueBrain>ugh .. 5 hours of read-only ..
12:11<LordAro>can you not predownload everything from flyspray?
12:11<TrueBrain>I don't understand your mindjump there?
12:11<LordAro>where's the bottleneck?
12:11<TrueBrain>5k API requests per hour
12:12<LordAro>and you have to get the information from flyspray before creating an issue out of it?
12:12<TrueBrain>where else?
12:12<TrueBrain>your mind made a jump that I cannot follow, so please explain what you are trying to resolve :)
12:12<LordAro>so why not get all the information at once, store it somewhere
12:12<TrueBrain>instead of continuing to lose me :D
12:12<LordAro>then upload it to github
12:12<TrueBrain>how does that solve anything?
12:13<LordAro>less readonly flyspray
12:13<LordAro>*unless* you're talking about the actual migration, rather than what you're doing currently#
12:13<TrueBrain>okay, let me break it down for you again (as you clearly were the one missing the train somewhere):
12:13<TrueBrain>WHEN we are going to do the real migration
12:13<TrueBrain>this is what happens:
12:13<TrueBrain>we put FlySpray in read-only
12:13<TrueBrain>we start the migration
12:13<TrueBrain>issues arrive at GitHub
12:13<TrueBrain>if ALL issues are migrated
12:13<TrueBrain>people can make new issues at GitHub
12:14<TrueBrain>again, I am not talking about this testing; I am talking about the process to get to the end result
12:14<TrueBrain>I am testing that process
12:14<LordAro>yeah, that makes sense
12:14<LordAro>i was thinking in test mode only
12:14<TrueBrain>now my testing shows this "migration" part takes ~5 hours
12:15<TrueBrain>which is a large amount of time to now need anyone creating issues on either system
12:15<_dp_>to me 5 hours sounds like something no one would even notice xD
12:16<_dp_>there are like what, 1-2 new bugs a week
12:16<TrueBrain>main issue, I cannot put Create New Issue on GitHub in read-only
12:16<TrueBrain>so I really need people to stay away from there :P
12:17<TrueBrain>if someone does make an issue .. I have to remove the project, and start over
12:17<TrueBrain>sucks :P
12:17<TrueBrain>another annoying issue, as the API is async, I cannot just schedule all imports at once
12:17<TrueBrain>as then the numbers dont have to line up
12:18<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
12:18<TrueBrain>you can do 5000 API calls an hour
12:18<TrueBrain>the polling of the status of the import, is included in that number
12:20<frosch123>which of the 3 requests per issue defines the number?
12:20<TrueBrain>the last one
12:20<TrueBrain>when the import is done, it is assigned an issue number
12:20<TrueBrain>up till then, it can be what-ever
12:20<frosch123>hmm, so you cannot run ahead with the next one
12:21<TrueBrain>so maybe I can poll the site via another way that doesnt count towards my request per hour :D
12:22<LordAro>i feel like i've seen github projects with issues disabled
12:22<LordAro>but maybe whatever that is disables import as well
12:22<TrueBrain>you can disable it, sure
12:23<TrueBrain>but .. how do I import ? :D
12:23-!-ToBeFree [] has joined #openttd
12:23-!-ToBeFree is "Tobias "ToBeFree" Frei" on #https-everywhere #oolite-dev #openttd #tor #debian @#linux #oolite #oolite-ger @#InfiniteAdventures
12:23<TrueBrain>(I tried, of course)
12:23<frosch123>we could rebrand the project secretly, so noone would find it
12:23<frosch123>like arotrans
12:23<TrueBrain>haha :D
12:23<TrueBrain>that would work fine, yes :)
12:23<TrueBrain>but I still dont like it .. 5 hours is a long time
12:24<TrueBrain>either way, check
12:24<TrueBrain>looks better not?
12:25<andythenorth>works for me :)
12:25<LordAro>is good :)
12:25<TrueBrain>forgot to remove 1 timestamp
12:26<TrueBrain>oops :D
12:26<LordAro>could get rid of- yes
12:28<supermop>andythenorth: they are blue of course
12:28<_dp_>does it insert issue text as a markdown? could break something
12:29<_dp_>or fix xD
12:29<supermop>as subarus should be
12:29<andythenorth>supermop: so that is harder :)
12:29<TrueBrain>it goes both ways
12:30<andythenorth>supermop: you see the purple for the load states? o_O
12:30<andythenorth>pruple also
12:30<supermop>could make them purple
12:31<supermop>but still would like stacked sprites to get differing recoloring but doesn't look possible
12:32<andythenorth>I'm not sure it's easy
12:32-!-kais58 [~kais58@] has joined #openttd
12:32-!-kais58 is "Callum Massey" on #openttd
12:35<_dp_>that "comment imported" remark is unnecessary imo, one in issue is enough
12:35<_dp_>too much spam :p
12:36<_dp_>And it's pretty clear which ones are imported anyway
12:36<TrueBrain>I think it is very important over time to have that
12:36<TrueBrain>as now everyone remembers
12:36<TrueBrain>but in 1 year, looking back
12:36<TrueBrain>it is pretty nice to see which comments were imported, and which were not
12:37<TrueBrain>lol @ import API .. I just made a ticket 1 hour in the future :D
12:39<_dp_>just having the link in the first comment is enough imo
12:39<TrueBrain>there will be tickets which have both worlds: imported comments and GitHub comments
12:39<TrueBrain>so I disagree that it is enough :)
12:40<_dp_>you mean your bot will import add github ones as well?
12:41<TrueBrain>E_COULDNT_PARSE :(
12:41<TrueBrain>but what I mean: issue is imported, and someone comments on it in GitHub
12:41<TrueBrain>so much more clear if every comment states what its origin is
12:41<TrueBrain>removes any form of confusing
12:41<TrueBrain>not now, but in 1 year
12:42<_dp_>well, if someone comments it will look like a normal comment, not DorpsGek one
12:42<frosch123>_dp_: it's not about creating an archive mirror on github
12:42<frosch123>in future people will report on github, no longer on flyspray
12:42<TrueBrain>@calc 3600 / 5000
12:42<@DorpsGek>TrueBrain: 0.72
12:42<andythenorth>flyspraty will die :)
12:42<_dp_>you can also make smth like "matthijs wrote" a link to that comment
12:43<frosch123>anyway, since the links are specific to comments it is clearly more useful
12:43<TrueBrain>this is a lot more clear
12:43<_dp_>yeah, but makes it much harder to read the thread
12:44<TrueBrain>its difficult no matter what, as extra lines are inserted that dont add to the conversation itself (the whole "blabla wrote: " for example)
12:46-!-kais58 [~kais58@] has quit [Remote host closed the connection]
12:46-!-SeraphAngel [] has quit [Ping timeout: 480 seconds]
12:46<_dp_>nah, that hr and link really stands out
12:46-!-kais58 [~kais58@] has joined #openttd
12:46-!-kais58 is "Callum Massey" on #openttd
12:46<_dp_>at least make it small or smth
12:47<_dp_>it's just I can't even imagine why would someone want to know where every comment came from
12:47<TrueBrain>I think this is the point where the only thing we can do is to conclude: lets agree to disagree :)
12:47<_dp_>and even if for some weird reason he does it will still be pretty clear
12:48<TrueBrain>and I cannot make it smaller; at least, I cannot find a markdown way of doing that
12:48<_dp_>but doesn't justify adding huge remark to every comment
12:50<_dp_>use <sub></sub> or ######
12:50<TrueBrain>okay, I tuned it the best I could towards 5000 request/h .. still don't fancy how long this is going to take ..
12:51-!-ToBeFree [] has quit [Remote host closed the connection]
12:54<TrueBrain>adding some # works .. at a certain point the boldness it adds no longer stands out
12:56<_dp_>yeah, h6 even has gray text
12:56<_dp_>kinda questionable semantically though
12:56<_dp_>I think I like <sub> more
12:57<TrueBrain>I am a bit surprised that that works given it is markdown
12:59<_dp_><sub><sup><sub><sup>This comment was imported from FlySpray:</sup></sub></sup></sub>
12:59<TrueBrain>yeah .. no
13:00<_dp_>markdown parsers usually accept some html
13:01<TrueBrain>frosch123: I think what we will do before we migrate, is already import all closed tickets for more than a month ago
13:01<TrueBrain>that should heavily reduce the read-only time
13:03<frosch123>but increases the time where people can add stuff in github
13:03<TrueBrain>I think the "hiding" of the project will work just fine
13:03<LordAro>won't you only be able to add stuff up to the first open issue?
13:04<TrueBrain>LordAro: good point
13:04<TrueBrain>so that wont work
13:04<TrueBrain>okay, so I will do a test-run than to check the real time we need
13:05<TrueBrain>meh .. so be it
13:06<TrueBrain>okay .. so I will check back in 5 hours to see how this did :)
13:07<TrueBrain>pretty happy timestamps are kept now tbh :)
13:07<TrueBrain>still not sure about the category label
13:07<frosch123>a specific one, or in general?
13:07<TrueBrain>in general
13:07<TrueBrain>feels like noise
13:07<TrueBrain>easier to remove than to add :)
13:14-!-Gja [] has quit [Quit: Going offline, see ya! (]
13:14-!-Biolunar [] has quit [Quit: leaving]
13:21<andythenorth>not sure if vehicle_is_flipped works in nml
13:21-!-donar [] has quit [Read error: Connection reset by peer]
13:21<andythenorth>might be why it's not documented
13:22<andythenorth>it should return FD if vehicle is flipped
13:22<andythenorth>I can't find any magic to handle that in nml
13:22-!-donar [] has joined #openttd
13:22-!-donar is "donar" on #openttd #bitlbee
13:23<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
13:23<andythenorth>how do I mask var[0xC8] to get 1 if FD otherwise 0?
13:24<andythenorth>or at least something I can use in nml :P
13:24-!-Netsplit <-> quits: grossing, avdg, Agiri[m], V453000, Hirundo, Mahjong2, kais58, Alkel_U3, Antheus, Lamp-, (+16 more, use /NETSPLIT to show all of them)
13:25-!-synchris [~synchris@] has joined #openttd
13:25-!-synchris is "Synesios Christou" on #openttd
13:25-!-funnel is "funnel" on #ovirt #munin #suckless #ceph #mm #linuxfs #openttd #debian-glibc #debian-boot #smuxi #gcc #powerdns #debian-hurd #qemu #freedombox #ck #debian-ipv6 #pwmt #vcs-home #qtile #kvm #fish #ext4 #xen #cryptocat #sd #debian-it #gc-linux #colinux #tinc #igloo #logcheck #antlr @#cursive @#exvm #mci
13:25-!-Netsplit over, joins: funnel, kais58, +tokai, Mahjong2, TheMask96, Taede, Hirundo, Lamp-, Hazzard, avdg (+16 more)
13:25-!-mode/#openttd [+v Terkhen] by ChanServ
13:25-!-mode/#openttd [+v planetmaker] by ChanServ
13:27<frosch123>andythenorth: pretty sure vehicle_is_flipped would return 0 or 1 in nml
13:27<andythenorth>must be EBKAC then
13:28<frosch123>i guess none dared to document the different between flipped and reversed
13:29<andythenorth>I have the same issue in my code :P
13:29<andythenorth>there is *no* way to set reversed on a vehicle in a non-articulated consist? o_O
13:29*andythenorth assumes
13:29<frosch123>so maybe flipping is missnig because someone thought reversed is the same
13:29<andythenorth>or maybe it was the time of flipgate
13:29<andythenorth>remember it was removed?
13:29<frosch123>"reversed" is a consist proprty
13:30<frosch123>fliipped is per vehicle
13:30<andythenorth>can a single-vehicle consist be reversed?
13:31<andythenorth>actually it doesn't matter :)
13:31<andythenorth>I was just curious
13:31<frosch123>consists reverse in terminus stations
13:32<andythenorth>ok so there's the other 'reversed'
13:32<andythenorth>which is adding 4000 when returning articulated cb results
13:32<andythenorth>I assumed that reversed the vehicle?
13:40<frosch123>i see a lot of train magic in the code
13:40<frosch123>may be broken for road vehicles
13:41<andythenorth>it's trains I was thinking about
13:41<andythenorth>I think I'll just leave the magic in nml :P
13:41<andythenorth>it's fairly horrible, but eh
13:42<frosch123>vehicle_is_flipped returns 0 or 1
13:42<frosch123>and yes, it is undocuented for some reason
13:44-!-keoz [~keikoz@2a01:e35:2fd5:51e0:d790:795d:2cc7:b53d] has joined #openttd
13:44-!-keoz is "Grmph" on #kernelnewbies #openttdcoop #openttd
13:44<andythenorth>does flipping also flip visual effect?
13:44<andythenorth>I might be trying to solve the wrong thing :P
13:44<frosch123>that's one of those things which may be different between trains and rv :p
13:45-!-SeraphAngel [~Username@] has joined #openttd
13:45-!-SeraphAngel is "Fullname" on #openttd
13:45<frosch123>some places in ottd use spritenum, some other places use VRF_REVERSE_DIRECTION
13:45<frosch123>so it is likely inconsistent in various cases
13:46<andythenorth>seems for visual_effect_and_powered, flipped is understood
13:46<andythenorth>so I can eliminate some horrible nml :P
13:46<andythenorth>twice as complicated as needed :)
13:51-!-Cubey [] has joined #openttd
13:51-!-Cubey is "Jaybar" on #openttd
14:00-!-SeraphAngel [] has quit [Quit: Leaving]
14:03-!-SeraphAngel [] has joined #openttd
14:03-!-SeraphAngel is "Fullname" on #openttd
14:15<TrueBrain>we still have open bugs dating 2007? :o
14:18<andythenorth>which one? o_O
14:19<frosch123>the oldest valid one is from 2010
14:19<LordAro>quick, set andy on it
14:20<LordAro>oh, only "enhancement"
14:20<andythenorth>earliest bug is 2010
14:21<LordAro> why was wontfix added to this?
14:21<LordAro>can't see it on the original, nor has it been closed
14:22-!-glx [] has joined #openttd
14:22-!-mode/#openttd [+v glx] by ChanServ
14:22-!-glx is "Loïc GUILLOUX" on @#opendune @#openttd.noai #openttd.notice +#openttd
14:23<TrueBrain>good question
14:24<TrueBrain>lol .. variable was not reset
14:24<TrueBrain>is value of issue before him
14:24<TrueBrain>I didnt have open issues earlier
14:25<TrueBrain>@calc 78 * 60 / 1677
14:25<@DorpsGek>TrueBrain: 2.79069767442
14:25<TrueBrain>~3 seconds per issue
14:25<TrueBrain>@calc 3 * 7000 / 3600
14:25<@DorpsGek>TrueBrain: 5.83333333333
14:25<TrueBrain>so 6 hours
14:26<+glx>today was a little more spamy than yesterday ;)
14:27<TrueBrain>creating/removing of projects, yes :)
14:27<+glx>5 emails vs 1 :)
14:28<+glx>but could have been worse
14:28-!-Gja [~Martin@] has joined #openttd
14:28-!-Gja is "Martin" on #ceph #bcache #openttd
14:39<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
14:40<+glx>overflow somewhere maybe
14:41<nielsm>I'll have to check the tempo calculations
14:41<+glx>like a 16bit number becoming negative
14:41<nielsm>probably an uint32 holding microseconds overflowing
14:42<+glx>yeah same idea ;)
14:42<andythenorth>what's the antonym of 'reversed' for a vehicle?
14:43<andythenorth>'', 'forwards', or 'unreserved'
14:43<+glx>not reversed
14:43<andythenorth>reversed / reserved /s
14:43<andythenorth>'unreversed' will do then
14:43<+glx>looks like a double negation
14:44<andythenorth>it's clunky, which is why I wondered about ''
14:45<andythenorth>but that's not explicit in places that confuse me
14:45<+glx>wiktionnary says normal
14:45<@DorpsGek>Commit by translators :: r27994 trunk/src/lang/welsh.txt (2018-03-18 19:45:38 +0100 )
14:45<@DorpsGek>-Update from Eints:
14:45<@DorpsGek>welsh: 2 changes by kazzie
14:45<+glx>for anthonym of reverse
14:47<+glx>and it's in rail transport context
14:48-!-supermop [] has quit [Ping timeout: 480 seconds]
14:53<nielsm>huh no doesn't look like an overflow at this point
14:53<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
14:54<nielsm>and the last few have 20-40 seconds between each block
14:58-!-Thedarkb [~beno@] has joined #openttd
14:58-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
14:59-!-Cubey [] has quit [Quit: Leaving]
15:08<nielsm>um but lol these scott joplin tunes are pretty crazy
15:08<nielsm>this one has 320 tempo change events in it
15:10<LordAro>sounds about right for Joplin :p
15:33-!-supermop [] has joined #openttd
15:33-!-supermop is "A CIRC user" on #openttd
15:36<TrueBrain>2700 issues done .. this is soooo slllooowwww :D
15:37<andythenorth>faster than painting pixels
15:37<andythenorth>I spent 2 days drawing 1 boat hull :P
15:39<TrueBrain>it seems it no longer creates issues ...
15:39<frosch123>how ambiguous
15:40<supermop>oh looks like different sprites in a stack can have different recolorings
15:40<supermop>it says right there in the wiki and i never realized it
15:42<andythenorth>you check them during the cb?
15:42<TrueBrain>wow, it is just really really slow ..
15:42<supermop>i think you enumerate for each iteration of the stack?
15:43<supermop>not sure because my stacks are written a little mote simply
15:44<nielsm>TrueBrain you should take the opportunity to savor this once-in-a-lifetime experience, don't hurry it
15:45-!-synchris [~synchris@] has quit [Read error: Connection reset by peer]
15:45<LordAro>once-in-15-years experience, anyway
15:45-!-synchris [~synchris@] has joined #openttd
15:45-!-synchris is "Synesios Christou" on #openttd
15:47-!-synchris [~synchris@] has quit [Remote host closed the connection]
16:02-!-sim-al2 [] has joined #openttd
16:02-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
16:02<nielsm>yeah this seems to fix the tempo issues
16:09<nielsm>hmm would be neat to add an option to music baseset definitions to change the title of the jazz jukebox :)
16:09<nielsm>so it could say "Player Piano" instead for the joplin tunes
16:24*andythenorth such newgrf
16:37-!-funnel [] has quit [Read error: Connection reset by peer]
16:38-!-funnel [] has joined #openttd
16:38-!-funnel is "funnel" on #vserver #virt #uml #tor #suckless #smuxi #sd #qemu #pwmt #powerdns #perl #pentadactyl #ovirt #openttd #oftc #munin #moocows #monkeysphere #mm @#mci #linuxfs #linode #kvm #kernelnewbies #igloo #gcc #gc-linux #freedombox @#exvm #ext4 #dzen #debian #debian-it #debian-ipv6 #debian-hurd #debian-glibc #debian-boot #davical @#cursive #ck #ceph #bitlbee #awesome #antlr #acal
16:40-!-bwn [] has quit [Ping timeout: 480 seconds]
16:40<@Alberth>everything refactored?
16:41<andythenorth>do you mean 'did I touch everything'?
16:41<andythenorth>or 'is it done'? :P
16:42<frosch123>the farm only builds two projects in parallel
16:42<frosch123>andy is pushing to 3 at once :)
16:43<andythenorth>I have got a shared library :P
16:44<andythenorth>update one place, 3 projects change :P
16:44<andythenorth>new ways to regret choices later
16:44<andythenorth>where is Eddi to tell me I should have worked out my spec first?
16:45<+glx>you won't listen anyway ;)
16:46<@Alberth>stuck in the snow, probably
16:47<andythenorth>I have no problem working out the spec first
16:47<@Alberth>so working on one newgrf at a time wasn't enough :p
16:47<andythenorth>I just think the spec should be written in code
16:47<supermop>ok as a test
16:47<supermop>i made a pickup truck that changes color based on cargo age
16:48<supermop>seems to work, but color only currently updates if you stop the vehicle
16:48<@Alberth>writing a spec as code is something I try too sometimes, but it never works out
16:48<supermop>not while it is moving on its own
16:48<andythenorth>the default seems to be Excel documents
16:48<andythenorth>"Item 3.1.2: the system must accept malformed input, except when it's a security risk"
16:48<andythenorth>"Item 3.6.5: the system must work with Citrix"
16:49<andythenorth>or elaborate photoshop mockups
16:49<@Rubidium>andythenorth: so, if it launches a Citrix server item 3.6.5 is fulfilled?
16:50<frosch123>supermop: coluoring updated more often if you use the stack-recolourig instead of the usual colormap callback
16:50<andythenorth>Rubidium: no at that point your lawyer has to confirm with their lawyer who is suing who
16:50<nielsm>that's some requirements that just scream for malicious misinterpretation
16:51<supermop>frosch123: seems i'll need a different stack for each age of cargo
16:52<supermop>if its for glowing orange metal ill need to point to one stack for 'very orange', one for 'kind of orange', etc, right?
16:53-!-bwn [] has joined #openttd
16:53-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4 #debian-offtopic
16:53<supermop>this pick up truck is too small
16:59<supermop>also, it seems that the the truck turns the color for 15 day old cargo at 30 days, etc
17:00<supermop>and the color of 5 day old cargo at 10 and so on
17:01<andythenorth>off-by-one in range checks?
17:01<supermop>(this truck doesn't have any cargo age properties)
17:01<frosch123>185 ticks per cargo age, 74 ticks per day
17:01<frosch123>cargo age is not in days
17:01<supermop>well its fine, doesn't need to be anything exact
17:01-!-sla_ro|master [] has quit []
17:02<supermop>i wonder if my pickup truck is the first rv to ever use this var
17:03-!-Gja [~Martin@] has quit [Quit: Going offline, see ya! (]
17:07<supermop>also the color doesn't update at 32 days
17:09<frosch123>you may set some dummy resulf to the 32day callback
17:10<frosch123>"every_32_days: return bitmask(CB_RESULT_32_DAYS_COLOUR_MAPPING);" or something silly
17:14<TrueBrain>whoho, first real bug is also imported :)
17:18<supermop>frosch123: can i just have a random switch that gets triggered every few days?
17:20<frosch123>there is a 32day rerandomisation trigger
17:21-!-SeraphAngel [] has quit [Ping timeout: 480 seconds]
17:23-!-snail_UES_ [] has joined #openttd
17:23-!-snail_UES_ is "Jacopo Coletto" on #openttd
17:31-!-Alberth [] has left #openttd []
17:32<andythenorth>TrueBrain: from this import bugs
17:33<TrueBrain>ImportError: cannot import name bugs
17:35-!-bwn [] has quit [Ping timeout: 480 seconds]
17:39-!-HeyCitizen [] has quit [Ping timeout: 480 seconds]
17:42-!-bwn [] has joined #openttd
17:42-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4 #debian-offtopic
17:43-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
17:43-!-SeraphAngel [] has joined #openttd
17:43-!-SeraphAngel is "Fullname" on #openttd
17:43-!-nielsm [] has quit [Ping timeout: 480 seconds]
17:46-!-HeyCitizen [] has joined #openttd
17:46-!-HeyCitizen is "Got ZNC?" on #openttd #/r/openttd
17:49<supermop>andythenorth: do you have a custom recolor sprite to use that purple?
17:49<andythenorth>that purple is recoloured in pixa
17:49<andythenorth>but it could be done with a recolor sprite
17:50<andythenorth>the main thing is to split from CC
17:51-!-HeyCitizen [] has quit [Quit: ZNC 1.6.6 -]
17:53-!-HeyCitizen [] has joined #openttd
17:53-!-HeyCitizen is "Got ZNC?" on #openttd #/r/openttd
17:57-!-Cubey [] has joined #openttd
17:57-!-Cubey is "Jaybar" on #openttd
17:59-!-gelignite [] has quit [Quit: I have always found that mercy bears richer fruits than strict justice.]
18:02-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
18:07-!-bwn [] has quit [Ping timeout: 480 seconds]
18:09-!-Biolunar [] has joined #openttd
18:09-!-Biolunar is "Biolunar" on #openttd #suckless
18:10-!-bwn [] has joined #openttd
18:10-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4 #debian-offtopic
18:17-!-andythenorth [] has quit [Quit: andythenorth]
18:33-!-Stimrol [] has quit [Ping timeout: 480 seconds]
18:43-!-bwn [] has quit [Ping timeout: 480 seconds]
18:44-!-Progman [] has quit [Remote host closed the connection]
18:52-!-bwn [] has joined #openttd
18:52-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4 #debian-offtopic
18:54-!-FLHerne [] has quit [Quit: There's a real world out here!]
19:05-!-keoz [~keikoz@2a01:e35:2fd5:51e0:d790:795d:2cc7:b53d] has quit [Ping timeout: 480 seconds]
19:05-!-Wormnest [] has quit [Quit: Leaving]
19:08-!-Eddi|zuHause2 [] has joined #openttd
19:08-!-Eddi|zuHause [] has quit [Remote host closed the connection]
19:08-!-Eddi|zuHause2 is "Johannes E. Krause" on #openttd
19:08-!-Thedarkb [~beno@] has quit [Ping timeout: 480 seconds]
19:12-!-Eddi|zuHause2 is now known as Eddi|zuHause
19:13-!-Biolunar [] has quit [Ping timeout: 480 seconds]
19:18-!-Wacko1976_ [] has quit [Ping timeout: 480 seconds]
19:32<TrueBrain>import of issues done
19:32<TrueBrain>378 open bugs ..
19:33<TrueBrain>of which 158 marked as 'bug'
19:33<TrueBrain>euh, first bugs -> issues
19:33<TrueBrain>32 patches
19:34<TrueBrain>@calc 78 + 36 + 31 + 46 + 139
19:34<@DorpsGek>TrueBrain: 330
19:34<TrueBrain>@calc 330 * 60 / 6686
19:34<@DorpsGek>TrueBrain: 2.96141190547
19:34<TrueBrain>3 seconds per issue
19:34<TrueBrain>total of 330 minutes
19:34<TrueBrain>so indeed, bit over 5 hours
19:34<TrueBrain>not bad
19:34<TrueBrain>owh well, nn!
19:46-!-Wacko1976 [~IceChat9@] has joined #openttd
19:46-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
19:50-!-Thedarkb [~beno@] has joined #openttd
19:50-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
20:03-!-supermop [] has quit [Ping timeout: 480 seconds]
20:26-!-iSoSyS [~iSoSyS@] has joined #openttd
20:26-!-iSoSyS is "realname" on #/r/openttd #openttd
20:28-!-supermop [] has joined #openttd
20:28-!-supermop is "A CIRC user" on #openttd
20:28-!-iSoSyS [~iSoSyS@] has quit []
20:38-!-supermop [] has quit [Ping timeout: 480 seconds]
20:50-!-Flygon [] has joined #openttd
20:50-!-Flygon is "Flygon" on #openttd
21:33-!-Eddi|zuHause [] has quit [Remote host closed the connection]
21:35-!-Smedles_ [~quassel@] has quit [Quit: No Ping reply in 180 seconds.]
21:36-!-Smedles [~quassel@] has joined #openttd
21:36-!-Smedles is "Paul Smedley" on #openttd
21:39-!-Eddi|zuHause [] has joined #openttd
21:39-!-Eddi|zuHause is "Johannes E. Krause" on #openttd
21:42-!-Eddi|zuHause [] has quit []
21:44-!-Smedles_ [~quassel@] has joined #openttd
21:44-!-Smedles_ is "Paul Smedley" on #openttd
21:45-!-Eddi|zuHause [] has joined #openttd
21:45-!-Eddi|zuHause is "Johannes E. Krause" on #openttd
21:47-!-Smedles [~quassel@] has quit [Ping timeout: 480 seconds]
22:29-!-supermop [] has joined #openttd
22:29-!-supermop is "A CIRC user" on #openttd
22:37-!-supermop [] has quit [Ping timeout: 480 seconds]
22:44-!-bwn [] has quit [Ping timeout: 480 seconds]
22:53-!-bwn [] has joined #openttd
22:53-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4 #debian-offtopic
22:54-!-ToffeeYogurtPots [] has quit [Remote host closed the connection]
22:54-!-ToffeeYogurtPots [] has joined #openttd
22:54-!-ToffeeYogurtPots is "realname" on #debian #debian-hurd #debian-offtopic #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #/r/openttd #privacytech #oftc
23:29-!-LANJesus [] has joined #openttd
23:29-!-LANJesus is "WOOOAAARGH!" on #openttd #/r/openttd
23:31<LANJesus>is this the best documentation for the admin port?
23:35-!-supermop [] has joined #openttd
23:35-!-supermop is "A CIRC user" on #openttd
23:47-!-supermop [] has quit [Ping timeout: 480 seconds]
23:48<+glx>LANJesus: you can also check and the libraries linked on this page
23:51<LANJesus>meh. i guess i'm better off looking at
23:51<+glx>yes it's another option
23:51<LANJesus>COAN codebase scares me. looks like someone butchered some C into C#
---Logclosed Mon Mar 19 00:00:53 2018