Config
Log for #openttdcoop.devzone on 8th April 2015:
Times are UTC Toggle Colours
08:34:59  *** tycoondemon has quit IRC
08:39:10  <DevZone> Project opengfx-mars build #213-push: SUCCESS in 3 min 12 sec: https://jenkins.openttdcoop.org/job/opengfx-mars/213/
08:39:20  <DevZone> Project Townnames - German build #126-push: SUCCESS in 9.3 sec: https://jenkins.openttdcoop.org/job/german-townnames/126/
08:39:21  <DevZone> Project NML - NewGRF Meta Language build #394-push: SUCCESS in 4 min 57 sec: https://jenkins.openttdcoop.org/job/nml/394/
09:28:00  *** tycoondemon has joined #openttdcoop.devzone
11:32:37  *** Supercheese is now known as Guest1456
11:32:40  *** Supercheese has joined #openttdcoop.devzone
11:37:27  *** Guest1456 has quit IRC
14:05:07  *** LSky` has joined #openttdcoop.devzone
14:20:51  <DevZone> Project FISH is ships build #397-push: SUCCESS in 1 min 48 sec: https://jenkins.openttdcoop.org/job/fish/397/
14:23:46  <DevZone> Project FISH is ships build #398-push: SUCCESS in 1 min 17 sec: https://jenkins.openttdcoop.org/job/fish/398/
14:25:10  <DevZone> Project FISH is ships build #399-push: SUCCESS in 1 min 23 sec: https://jenkins.openttdcoop.org/job/fish/399/
14:26:34  <DevZone> Project FISH is ships build #400-releases: SUCCESS in 1 min 24 sec: https://jenkins.openttdcoop.org/job/fish/400/
14:46:26  <DevZone> Project FIRS Industry Replacement Set build #408-push: SUCCESS in 4 min 40 sec: https://jenkins.openttdcoop.org/job/firs/408/
14:49:56  <DevZone> Project FIRS Industry Replacement Set build #409-push: SUCCESS in 27 sec: https://jenkins.openttdcoop.org/job/firs/409/
14:50:24  <DevZone> Project FIRS Industry Replacement Set build #410-push: SUCCESS in 27 sec: https://jenkins.openttdcoop.org/job/firs/410/
14:50:43  <DevZone> Project FIRS Industry Replacement Set build #411-push: FAILURE in 19 sec: https://jenkins.openttdcoop.org/job/firs/411/
14:51:17  <DevZone> Project FIRS Industry Replacement Set build #412-push: STILL FAILING in 33 sec: https://jenkins.openttdcoop.org/job/firs/412/
14:52:29  <DevZone> Project FIRS Industry Replacement Set build #413-push: STILL FAILING in 1 min 12 sec: https://jenkins.openttdcoop.org/job/firs/413/
14:58:42  <DevZone> Yippee, build fixed!
14:58:42  <DevZone> Project FIRS Industry Replacement Set build #414-push: FIXED in 4 min 19 sec: https://jenkins.openttdcoop.org/job/firs/414/
14:59:47  *** andythenorth has joined #openttdcoop.devzone
15:00:00  * andythenorth doesn’t like the other channel when alluke is in it
15:00:05  <andythenorth> just did a hg backout on FIRS
15:00:07  <andythenorth> hope that works
15:01:37  <planetmaker> :D
15:01:57  <planetmaker> it undoes a commit. It's like commiting the reversal of that commit
15:02:15  <planetmaker> what did you backout on? I hope not a merge
15:03:08  <andythenorth> nah
15:03:09  <DevZone> Project FIRS Industry Replacement Set build #415-push: SUCCESS in 4 min 20 sec: https://jenkins.openttdcoop.org/job/firs/415/
15:03:15  <andythenorth> I misread my own code
15:03:25  <andythenorth> wanted to revert 100% of it
15:03:52  <planetmaker> backout is totally fine. But won't do what you hope it does, if you try to backout a merge :)
15:04:26  <andythenorth> the docs warn of that
15:04:40  <andythenorth> I *mostly* read the docs before trying things in hg or git
15:04:46  <planetmaker> good :) wasn't sure about that. Seen people try doing so and then come whining to #mercurial ;)
15:04:54  <andythenorth> and *mostly* don’t just type in things from Stack Overflow
15:05:04  <andythenorth> SO “answers” are about as dangerous as just guessing
15:05:20  <planetmaker> depends on how well-received they are, I think
15:05:30  <andythenorth> some are valid, but old
15:05:43  <andythenorth> SO has been around a while, valid answers from 2012 can be dangerous now
15:06:10  <planetmaker> true
15:07:48  <Taede> you just need to be careful to take the answers with more than a few grains of common sense
15:09:59  <andythenorth> or as we call them “docs” :D
15:14:51  *** Alberth has joined #openttdcoop.devzone
15:14:55  *** oskari89 has joined #openttdcoop.devzone
15:18:38  <DevZone> Project FIRS Industry Replacement Set build #416-push: SUCCESS in 4 min 19 sec: https://jenkins.openttdcoop.org/job/firs/416/
15:42:35  <DevZone> Project FIRS Industry Replacement Set build #417-push: SUCCESS in 4 min 18 sec: https://jenkins.openttdcoop.org/job/firs/417/
15:49:29  * andythenorth has a bafflement
15:50:31  <andythenorth> make is barfing on a missing .pypnml file for hardware_store, but not for hotel
15:50:36  <andythenorth> it’s validly removed in both cases
15:50:51  <andythenorth> given INDUSTRY_PYPNML_SRC = $(INDUSTRY_PY_SRC:.py=.pypnml)
15:50:59  <andythenorth> I am not surprised hardware_store is failing
15:51:02  <andythenorth> but why was hotel working?
15:51:04  <andythenorth> ever?
15:52:15  <andythenorth> oh
15:52:30  <andythenorth> my filesystem shows a blank text file that my text editor refuses to show :|
15:52:36  <andythenorth> silly editor
16:01:34  <andythenorth> also
16:01:44  * andythenorth is having a crash-course in make’s dep checks :P
16:09:21  * andythenorth also wonders why recylables cargo classes are piece and covered
16:09:26  <andythenorth> probably irc logs know
16:12:00  <DevZone> Project FIRS Industry Replacement Set build #418-push: SUCCESS in 4 min 30 sec: https://jenkins.openttdcoop.org/job/firs/418/
16:23:10  <andythenorth> classes are bollocks anyway :D
16:24:18  <Alberth> good evening to you :)
16:24:33  * andythenorth wonders if it was just copy-paste from WOOL 
16:24:34  <andythenorth> https://dev.openttdcoop.org/projects/firs/repository/revisions/3b54ecaae114/diff/sprites/nfo/cargos.list
16:24:44  <andythenorth> such is how decisions *really* get made :P
16:24:51  * andythenorth wonders how much of life is copy-paste
16:25:30  <Alberth> 90+% ?
16:25:57  <Alberth> probably closer to 99%, if you take everybodies life as copy-source
16:26:11  <andythenorth> AT, CG, CG, TA, GC, AT
16:26:13  <andythenorth> or something
16:26:23  <andythenorth> long time since I did any science
16:27:00  <Alberth> hmm, at DNA level, 100%, it has been copied since the first cell
16:28:12  <andythenorth> remarkably successful pattern eh?
16:28:57  <Alberth> lasts a life time :p
16:29:51  <Alberth> although it has a wide variance :)
16:32:26  <DevZone> Project FIRS Industry Replacement Set build #419-push: SUCCESS in 4 min 28 sec: https://jenkins.openttdcoop.org/job/firs/419/
16:37:58  <DevZone> Project FIRS Industry Replacement Set build #420-push: SUCCESS in 4 min 25 sec: https://jenkins.openttdcoop.org/job/firs/420/
16:38:12  <andythenorth> single industry compile ftw :P
16:39:07  *** frosch123 has joined #openttdcoop.devzone
16:41:44  <Alberth> hoi
16:42:11  <frosch123> quak :)
16:42:39  <frosch123> hoi is an interesting combination of hai, moin, hola
16:45:00  <Alberth> actually, it's Dutch :)
16:45:33  <frosch123> oh, you have both hai and hoi :o
16:46:19  <andythenorth> polyglot :P
16:46:37  <Alberth> not sure we have "hai"
16:49:19  <Alberth> nl wikipedia says it's an old motor-cycle brand :)
16:49:41  <Alberth> it knows 'hoi' as greeting or expression of joy
16:49:46  <planetmaker> :)
16:49:55  <DevZone> Project Dutch Road Furniture build #38-push: SUCCESS in 1 min 29 sec: https://jenkins.openttdcoop.org/job/dutchroadfurniture/38/
16:49:56  <planetmaker> hoi hoi
16:51:00  <Alberth> exactly :)
16:52:13  <andythenorth> bloody variadic macros
16:52:19  <DevZone> Project xussrset - Trains from Russia build #934-push: SUCCESS in 4 min 42 sec: https://jenkins.openttdcoop.org/job/xussrset/934/
16:52:24  <DevZone> Project 2ccts build #432-push: SUCCESS in 2 min 29 sec: https://jenkins.openttdcoop.org/job/2ccts/432/
16:52:45  <andythenorth> ho
16:52:50  <andythenorth> maybe that was a longstanding bug
16:52:53  * andythenorth wonders
16:53:03  <Alberth> hg bisect :)
16:53:22  <andythenorth> ho yes
16:53:28  <andythenorth> all FIRS tiles get the same checks
16:53:33  <andythenorth> per industry
16:53:34  <andythenorth> for location
16:53:50  <andythenorth> even though it half-way looks like the intention is to check per *tile*
16:54:02  <andythenorth> or maybe not
16:54:04  <andythenorth> dunno
16:54:26  <Alberth> "half-way" means it's always wrong? :p
16:54:43  <andythenorth> who knows :D
16:54:52  <andythenorth> so many layers of indirection
16:55:10  <andythenorth> by the time it arrives at newgrf, it’s hard to work out quickly what the result will be :P
17:05:30  <andythenorth> recoding FIRS whilst trying not to disturb the CPP layer is a bit fiddly :P
17:07:46  <Alberth> quite :)
17:11:54  <andythenorth> sometimes I wonder if I should learn python
17:14:27  <andythenorth> some of the web frameworks I use have the concept of context
17:14:35  <andythenorth> where you can find an object’s parent
17:14:44  <andythenorth> but I have never found a raw python equivalent
17:15:01  <andythenorth> so I end up passing around a lot of objects
17:19:22  <andythenorth> -1 is north, on a tile check?
17:19:42  <andythenorth> or stricly, (-1, 0) is north?
17:20:15  * andythenorth tries proper typing: (-1, 0) is north-west?
17:22:42  <DevZone> Project FIRS Industry Replacement Set build #421-push: SUCCESS in 4 min 21 sec: https://jenkins.openttdcoop.org/job/firs/421/
17:32:19  <Alberth> (-1, -1) is north
17:32:36  <andythenorth> so nw is...?
17:32:57  * andythenorth rotates a grid in his mind, badly
17:33:06  <Alberth> positive x is to the left-down, positive y is right-down
17:33:12  <andythenorth> bah
17:33:16  <andythenorth> I had it the other way around
17:33:22  <Alberth> (0, -1)  afaik
17:33:27  <andythenorth> I would have rotated clockwise :P
17:33:30  <andythenorth> dunno why
17:33:38  <Alberth> let me check
17:33:50  <andythenorth> the newgrf docs I checked were unforthcoming
17:33:55  <andythenorth> I’m sure it’s in the wiki somewhere
17:34:35  <Alberth> correct
17:36:52  <andythenorth> so
17:36:53  <andythenorth>         self.direction_map = {'nw': (0, -1), 'ne': (-1, 0), 'sw': (0, 1), 'se': (1, 0)}
17:36:55  <andythenorth> is wrong :P
17:37:10  <andythenorth> or not?
17:37:11  <DevZone> Project FIRS Industry Replacement Set build #422-push: SUCCESS in 4 min 44 sec: https://jenkins.openttdcoop.org/job/firs/422/
17:37:22  * andythenorth has had too little coffee, or too much
17:37:54  <Alberth> looks wrong
17:38:29  <andythenorth> there must be a wiki page with arrows on it
17:38:31  * andythenorth looks 
17:38:57  <Alberth> the "?" tool can tell coordinates
17:39:16  <Alberth> just click at a tile, and the one next to it, and see how it changes
17:39:54  <andythenorth> x axis is top-right -> bottom-left
17:40:34  <andythenorth> ha, found the docs http://newgrf-specs.tt-wiki.net/wiki/NML:Tilelayout
17:40:55  <andythenorth> there are so many places xy is used, but most of the wiki assumes directions are known
17:41:38  <andythenorth> so my map is correct afaict
17:41:46  <Alberth> I coded freerct such that it's the same as openttd, saves a lot of confusion, and some added learning chances :)
17:42:14  <Alberth> east is to the left?
17:42:23  <andythenorth> I think my se and sw are transposed
17:42:55  <Alberth> looks that way
17:43:44  * andythenorth rewrites the mapping so adjacent pairs are adjacent
17:43:47  <andythenorth> easier to read
17:47:28  *** oskari89 has quit IRC
17:49:18  <andythenorth> 2 out of 66 industries converted to better templating
17:49:22  <DevZone> Project FIRS Industry Replacement Set build #423-push: SUCCESS in 4 min 20 sec: https://jenkins.openttdcoop.org/job/firs/423/
17:49:27  <andythenorth> 'nearly done’
17:50:42  <Alberth> over 3%  already :)
17:52:12  <andythenorth> so much finesse in FIRS
17:52:16  <andythenorth> all the location checks and such
17:52:31  <Alberth> spiffy code
17:53:01  <andythenorth> not yet :P
17:53:07  <andythenorth> 3 out of 66 done :P
17:53:52  <Alberth> @calc 1+1
17:53:52  <Webster> Alberth: 2
17:54:02  <Alberth> @calc 2/66 * 100
17:54:02  <Webster> Alberth: 3.0303030303
17:54:26  <Alberth> oh, you mean 'spiffy code' not yet :)
17:54:28  <andythenorth> seems builders yards don’t need to be next to roads
17:54:39  <andythenorth> probably by design
17:54:55  * andythenorth ducks templating the circular tile check
17:57:21  <DevZone> Project FIRS Industry Replacement Set build #424-push: SUCCESS in 4 min 21 sec: https://jenkins.openttdcoop.org/job/firs/424/
17:58:45  * andythenorth wonders if the circular tile check really needs to be configurable per-industry
17:59:08  <andythenorth> http://dev.openttdcoop.org/projects/firs/repository/entry/src/industries/builders_yard.pypnml#L24
17:59:14  <andythenorth> it’s neat, but it might be overkill
17:59:23  <andythenorth> I imagine that all town industries that need this, need the same check
18:07:55  <DevZone> Project FIRS Industry Replacement Set build #425-push: SUCCESS in 4 min 18 sec: https://jenkins.openttdcoop.org/job/firs/425/
19:13:40  <DevZone> Project FIRS Industry Replacement Set build #426-push: SUCCESS in 4 min 27 sec: https://jenkins.openttdcoop.org/job/firs/426/
19:18:10  <DevZone> Project FIRS Industry Replacement Set build #427-push: SUCCESS in 4 min 29 sec: https://jenkins.openttdcoop.org/job/firs/427/
19:22:39  <DevZone> Project FIRS Industry Replacement Set build #428-push: SUCCESS in 4 min 28 sec: https://jenkins.openttdcoop.org/job/firs/428/
19:59:41  *** Alberth has left #openttdcoop.devzone
20:15:32  *** andythenorth has quit IRC
20:43:29  <DevZone> Project FIRS Industry Replacement Set build #429-push: SUCCESS in 4 min 22 sec: https://jenkins.openttdcoop.org/job/firs/429/
20:51:17  <DevZone> Project FIRS Industry Replacement Set build #430-push: SUCCESS in 4 min 28 sec: https://jenkins.openttdcoop.org/job/firs/430/
21:39:23  *** frosch123 has quit IRC

Powered by YARRSTE version: svn-trunk