Log for #openttdcoop.devzone on 17th October 2012:
Times are UTC Toggle Colours
06:33:01  *** ODM has joined #openttdcoop.devzone
07:23:23  <Brot6> FIRS Industry Replacement Set - Revision 2972:db248c172a07: Codechange: comments / style XandythenorthX @
07:23:23  <Brot6> FIRS Industry Replacement Set - Revision 2973:73740d23c784: Fix: missing 'chemicals' in Fertiliser P... XandythenorthX @
07:23:38  <Brot6> firs: update from r2971 to r2973 done (3 warnings) -
07:50:21  <Brot6> FIRS Industry Replacement Set - Revision 2974:d4b925b77491: Codechange: introduce a Tile object and ... XandythenorthX @
07:50:40  <Brot6> firs: update from r2973 to r2974 done (3 warnings) -
16:13:21  *** frosch123 has joined #openttdcoop.devzone
16:27:29  *** Alberth has joined #openttdcoop.devzone
16:31:25  *** LordAro has joined #openttdcoop.devzone
17:07:52  <Brot6> NewGRF Meta Language - Bug #4418 (New): DevZone compile failed XcompilerX @
17:19:24  <Brot6> firs: update from r2971 to r2974 done (3 warnings) -
17:26:34  <Alberth> Hmm, #779 is still magic
17:44:11  <frosch123> the sprites which move in animations are drawn as overlays to other sprites
17:44:36  <frosch123> however, only the underlying sprite is considered wrt. what needs drawing
17:44:45  <frosch123> so, it must always be bigger than the overlays
17:45:22  <frosch123> even if it is only bigger due to a lot of transparent pixels
17:46:38  * Alberth nods
17:47:34  <Alberth> I had hoped to get a recipe how to derive a sane parent sprite size
17:48:16  <frosch123> the positioning is hardcoded in ottd source :)
17:48:24  <frosch123> there is no "design" behind that
17:52:28  <Alberth> huh?  I have to set a sane size of the underlying sprite to prevent glitching, but I cannot change it?
17:56:16  <frosch123> <- does that help?
17:56:57  <frosch123> if you extent the parent sprite towards left or top, you have to compensate the offs_x and y of the child sprites
17:58:13  <Alberth> that looks useful, thanks!
17:58:59  <frosch123> maybe replace one of the "right" with "bottom" though :)
17:59:46  <Alberth> :)
18:04:36  *** andythenorth has joined #openttdcoop.devzone
19:05:08  <Alberth> numbers make no sense at all :(
19:06:36  <andythenorth> is it time for andythenorth to write code?
19:10:21  <frosch123> Alberth: if it has to much output, maybe it should be put into some map
19:10:42  <frosch123> which computes the maximum of the printed nubmers
19:10:55  <andythenorth> Alberth: is this lang script?  or something else?
19:10:56  <Alberth> I merged stuff already
19:11:29  <Alberth> andythenorth: base sprites for preventing glitches in toyland industries
19:11:36  <andythenorth> oic :)
19:12:40  <Alberth>
19:12:51  <Alberth> Parent 4773xmin/ymin/xmax/ymax = 35/-44/219/78
19:12:51  <Alberth> 4779/4779/4779/4779
19:13:14  <andythenorth> ach, when did I learn to read c++ ? :P
19:13:53  <Alberth> ie 4779 is -44 to 219  yet it uses (I think)  [0, 0,  64, 128,  -31+23,  -96-8]
19:14:06  <Alberth> @calc 219+44
19:14:06  <Webster> Alberth: 263
19:15:10  <Alberth> Also the parent sprite is now  [0, 20,  64, 14,  -31,  -96+20, NOCROP]  previously I started at y=29, but the -44 above does not change
19:15:22  <frosch123> Alberth: ottd moves the sprites, so it add "random" offsets to the positioning
19:15:53  <frosch123> if you increase the parent sprite by 44 towards top
19:16:03  <frosch123> you have to add 44 to the x_offs of the childsprite
19:16:11  <frosch123> else stuff is misaligned
19:16:27  <frosch123> childsprites are drawn relative to the topleft corner of the parent
19:16:31  <Alberth> but y=20, I don't have 44 up
19:16:37  <frosch123> so, if you change the size of the parent, all childs move
19:17:20  <Alberth> nor is the top of a child sprite anywhere near 44 above the top of the parent
19:19:06  <Alberth> (09:26:09 PM) frosch123: you have to add 44 to the x_offs of the childsprite  <-- y_offs, I hope :)
19:19:15  <frosch123> yeah :)
19:20:27  <Yexo> any clues why the nml nightly failed?
19:20:34  <Yexo> regression test works fine for me
19:20:37  <Yexo>
19:21:34  <Alberth> frosch123: if I increase less than 44, should I see any change in that number ? (with 9 it didn't)
19:22:04  <frosch123> Alberth: the number changes if you change the y_offs of the child
19:22:05  * andythenorth makes nml
19:22:56  <andythenorth> Yexo: works for me
19:22:58  <Alberth> frosch123: good point
19:23:09  <andythenorth> that devzone error looks vaguely familiar to me
19:23:29  <Yexo> Ammler: any clues?
19:25:43  <andythenorth> hmm.... date sensitive graphics.  Pure nml switch (simple) or worth adding to python build framework? :P
19:27:41  * andythenorth votes pure nml
19:28:00  <Ammler> [   30s] Resource temporarily unavailable
19:30:23  <Alberth> and that translates into .... ?
19:31:08  <andythenorth> wtf are these tabs doing in my python code :o
19:31:26  <Alberth> your editor is broken?
19:31:36  <andythenorth> stupid editor
19:32:53  <Brot6> firs: update from r2974 to r2975 done (3 warnings) -
19:34:55  <Alberth> An error occurred when trying to access the repository: Cannot allocate  memory - 'hg' '-R' '/home/hg/firs' '--encoding' 'utf-8' '--config'  'extensions.redminehelper=/home/dev/redmine.stable/lib/redmine/scm/adapters/mercurial/'  '--config' 'diff.git=false' 'rhmanifest' '-r' 'tip' 'lang'  <-- redmine is having a little trouble
19:36:03  <andythenorth> hmm
19:36:25  <andythenorth> setting up paths to templates in the init for a class smells wrong
19:36:30  <andythenorth> but so does passing them :P
19:37:26  <Alberth> @calc 44+72
19:37:26  <Webster> Alberth: 116
19:37:37  <Alberth> @calc 116.0/29
19:37:37  <Webster> Alberth: 4
19:38:15  <andythenorth> hmm
19:39:14  <Ammler> Yexo: retriggered build
19:39:26  <Brot6> nml: compile of r2043 still failed (#4418) -
19:39:57  <Alberth> frosch123: moved 29 pixels up, and now -44 has become +72
19:40:28  <frosch123> i hope you did not pause the game
19:41:05  <Alberth> I did but the numbers do not change
19:41:20  <frosch123> the numbers should change when the animation moves
19:41:24  <Alberth> or at least, that numer
19:41:58  <Alberth> which makes sense as the sieve of the sugar mines moves horizontally
19:42:24  <Alberth> so the vertical top does not change
19:42:59  <Brot6> firs: update from r2975 to r2976 done (3 warnings) -
19:43:11  <Yexo> Ammler: thanks, new log but same error
19:43:57  <Alberth> 11 up sounds quite reasonable for the sieve
19:44:55  <Alberth> but the factor 4 is puzzling
19:45:00  <Ammler> looks like an issue with wine
19:46:06  <frosch123> Alberth: zoom ?
19:46:23  <frosch123> i have no idea to what zoomlevel the printer numbers belong :)
19:47:42  <Alberth> not the displayed zoom at least, but could be
19:47:58  <Alberth> let's try 11 up :)
19:47:59  <frosch123> i guess the printed numbers refer to full zoom in
19:52:11  *** Zuu has joined #openttdcoop.devzone
19:56:47  <andythenorth> can anyone get this grf to decode?  fails for me with grfcodec r944
19:56:48  <andythenorth>
19:56:59  <andythenorth> Cannot write to sprites/shipsbell.wav: No such file or directory
19:57:32  <Alberth> make such a directory?
19:57:57  <andythenorth> there is
19:58:03  <andythenorth> it has written 2 empty pngs to it
19:58:08  <andythenorth> and an nfo file
19:58:15  <frosch123> andythenorth: works fine for me
19:58:19  <andythenorth> hmm
19:59:38  <Alberth> works for me too
20:00:02  <andythenorth> hmm
20:00:08  <andythenorth> grfcodec -d ?
20:00:13  <Alberth> yes
20:00:24  <Alberth> do you have 'Sprites' or so ?
20:01:09  <andythenorth> nope :)
20:01:26  <andythenorth> fwiw, I never added sound effects to HEQS because the compile fails with the same issue
20:01:31  <andythenorth> I think it's an OS X bug
20:04:10  <andythenorth> hmm
20:04:22  <andythenorth> I need to kick this FIRS python stuff into separate modules now for sanity
20:04:26  <andythenorth> not sure how best to do it
20:14:50  <andythenorth> hmm
20:14:51  <andythenorth> that works
20:15:19  <andythenorth> Alberth: I think I have a worryingly fragile approach to modules with the code I've just written :o
20:15:33  <andythenorth> wrt paths etc
20:15:39  <andythenorth> it works, but I bet it breaks easily
20:16:02  <andythenorth> and seems like a stupid name, but that's not very important :)
20:16:07  <Alberth> don't move :p
20:16:07  <Brot6> firs: update from r2976 to r2978 done (3 warnings) -
20:16:18  * andythenorth stays still :P
20:21:52  <Brot6> firs: update from r2978 to r2979 done (3 warnings) -
20:22:07  <Brot6> firs: update from r2979 to r2980 done (3 warnings) -
20:25:11  <Brot6> nml: compile of r2043 still failed (#4418) -
20:26:54  <Alberth> Ammler: I cannot query the nml repo from red-mine; also, I have an email dated 14/10 about issue 4299 which is apparently closed, but this is not shown in the nml activity nor in the issue
20:29:51  *** Alberth has left #openttdcoop.devzone
20:29:56  <Brot6> firs: update from r2980 to r2981 done (3 warnings) -
20:36:05  <Ammler> hmm, left
20:36:25  <andythenorth> how odd
20:36:27  <Ammler> someone has an idea, what Alberth actually meant?
20:36:29  <andythenorth> my code works :P
20:37:14  <Ammler> ah I see
20:37:20  <Ammler> there is a serious memory issue
20:37:22  <Ammler> ^Spike^:
20:37:33  <Ammler>
20:37:39  <Rubidium> spike in memory usage? ;)
20:38:20  <Ammler> Mem:       6291456    6162080     129376          0          0     451780
20:38:21  <Ammler> -/+ buffers/cache:    5710300     581156
20:38:50  <Rubidium> oh, half a gig on 6
20:39:04  <Rubidium> assuming you didn't do -m on free
20:39:19  <Rubidium> free -h might give easier to read values
20:39:20  <Ammler> Mem:          6144       6016        127          0          0        441
20:39:21  <Ammler> -/+ buffers/cache:       5574        569
20:40:03  <andythenorth> frickety doodle
20:40:12  * andythenorth forgot about trees and such from base set
20:40:15  <andythenorth> when templating :P
20:40:20  <Ammler> there is no -h
20:40:35  <Rubidium> ghehe...
20:40:52  <Ammler> procps version 3.2.8
20:41:04  <Rubidium>
20:41:32  <Rubidium> 3.3.3
20:42:21  <Ammler> I wonder, would it help to give it a bit swap?
20:43:03  <Ammler> omg, this is rhodecode
20:43:57  <Rubidium> there's only one thing that seems to work okay against such leaky programs
20:44:02  <Rubidium> supervise and ulimit
20:48:16  <Ammler> it used 55% of the 7G
20:48:24  <Ammler> after restart 6.5%
20:48:35  <Brot6> nml: update from r2042 to r2043 done -
20:54:22  <Ammler> @calc 7*0.083
20:54:22  <Webster> Ammler: 0.581
20:58:12  <^Spike^> ?
20:58:14  <^Spike^> what did i miss....
20:59:20  <V453000> I could tell you but you dont want to hear that
20:59:58  <^Spike^> oh cool now i do..... :)
21:00:31  <^Spike^> i get a feeling it has to do with resources on cimarosa... so better tell then let me find out :)
21:02:20  <^Spike^> Ammler don't think i need to tell you what the big memory user is?
21:02:57  * Rubidium blames bing
21:04:31  <Ammler> [22:43] <Ammler> omg, this is rhodecode <-- spike
21:04:50  <^Spike^> and... how we solve it? other the killing it
21:04:50  <Ammler> it uses a memory cache
21:04:54  <^Spike^> ah
21:05:15  <Ammler> monitor and restart?
21:05:27  <^Spike^> possible to separate it?
21:05:35  <Ammler> what is the easiest command to get memory usage of a process?
21:05:58  <Ammler> ^Spike^: seperate it is a future plan
21:06:12  <^Spike^> of one process... htop... top... ehm
21:06:30  <Ammler> top -bcn1 -p $(cat rhodecode/rhodecode/
21:06:41  <Ammler> but then I still have a lot of crap :-)
21:07:16  <Ammler> hmm, asking mr. search engine
21:07:33  <^Spike^> you mean the tool that keeps every IT guy to make sure to have a job... google
21:07:48  <^Spike^> that sentence is fucked up... but you get the idea :)
21:07:58  <andythenorth> ho ho ho
21:08:07  <andythenorth> the food market now has trees on the roof
21:08:08  <andythenorth> :P
21:08:31  <^Spike^> a green food market? :)
21:08:49  <Ammler> well, the goal is to avoid at least the word "google"
21:09:14  <Brot6> NewGRF Meta Language - Bug #4418 (Rejected): DevZone compile failed XcompilerX @
21:09:14  <Brot6> NewGRF Meta Language - Bug #4418 (Rejected): DevZone compile failed XyexoX @
21:09:34  <Ammler> ah yes, Yexo, btw. it was memory issue :-P
21:10:39  <Yexo> thanks for fixing :)
21:10:53  <Yexo> or whatever you did you get the nml nightly compile running again
21:13:12  <Ammler> maybe we just run a scheduled nightly restart
21:14:28  <^Spike^> ?
21:15:06  <andythenorth> la la la
21:15:10  <andythenorth> no more trees in the roof
21:15:49  *** frosch123 has quit IRC
21:15:53  <^Spike^> scheduled restart would only be a temp fix Ammler :)
21:16:03  <^Spike^> better said: it's masking the problem :)
21:18:09  *** ODM has quit IRC
21:23:45  <Brot6> firs: update from r2981 to r2982 done (3 warnings) -
21:23:48  <Ammler> ^Spike^: well, else it would need a own vps
21:23:55  <andythenorth> r3k gets close :P
21:23:59  <Ammler> ps -p $(cat -orss=
21:24:03  <Brot6> FIRS Industry Replacement Set - Revision 2975:907f4cebf8e5: Codechange: remove tabs from python file XandythenorthX @
21:24:03  <Brot6> FIRS Industry Replacement Set - Revision 2976:89dc421e7cf1: Codechange: move the rendering of a temp... XandythenorthX @
21:24:03  <Brot6> FIRS Industry Replacement Set - Revision 2977:012e2eebf9ba: Codechange: move the unescaping of chame... XandythenorthX @
21:24:05  <Brot6> FIRS Industry Replacement Set - Revision 2978:b024ec29c782: Codechange: move common FIRS functions t... XandythenorthX @
21:24:09  <Brot6> FIRS Industry Replacement Set - Revision 2979:81cdf177808f: Codechange: improve a comment XandythenorthX @
21:24:13  <Brot6> FIRS Industry Replacement Set - Revision 2980:7a09230b4d8c: Codechange: simplify a line of code wrt ... XandythenorthX @
21:24:17  <Brot6> FIRS Industry Replacement Set - Revision 2981:0a215af795b5: Codechange: add a slab tile to ground ti... XandythenorthX @
21:24:21  <Brot6> FIRS Industry Replacement Set - Revision 2982:c1691ae0acc6: Codechange: convert food market to pytho... XandythenorthX @
21:24:51  <^Spike^> just thinking a bit at our options
21:25:08  <andythenorth> brot caught up :P
21:25:11  <andythenorth> sorry :(
21:25:31  <Ammler> [[ $(ps -p $(cat -orss=) -gt 2000000 ]] && echo "restart" || echo "ok"
21:25:35  <^Spike^> why apoligize?
21:25:53  <^Spike^> 103 does have alot of failcnts :/
21:26:16  <Ammler> everything is bound
21:26:19  <Rubidium> ^Spike^/Ammler: use ulimit and supervise
21:26:49  <^Spike^> Ammler worth a try? ^^^^
21:27:02  <Rubidium> ulimit to limit the maximum memory usage, supervise to restart it when it does (due to out-of-memory). But hopefully ulimit keeps your application in check
21:27:15  <Rubidium> i.e. with malloc it detects it is a max-memory
21:27:15  * andythenorth bed 
21:27:37  <Rubidium> night andythenorth
21:27:45  <^Spike^> night
21:27:48  <andythenorth> we use supervisord to restart python apps that exceed memory quota, or get stuck spinning for n seconds btw
21:27:53  <andythenorth> dunno how
21:28:05  <andythenorth> but it's essential for our production environment
21:28:10  * andythenorth bed actually
21:28:11  <andythenorth> bye
21:28:13  *** andythenorth has left #openttdcoop.devzone
21:29:04  <Ammler> setrlimit
21:32:49  <Ammler> <-- like so?
21:32:57  <Ammler> ^Spike^: Rubidium ^
21:34:07  <Rubidium> yeah, something like that
21:37:29  <Brot6> Rhodecode mem usage:
21:39:08  <Brot6> RhodeCode MemUsage: 596292
21:43:30  <Ammler> I abuse brot a bit to monitor it this night, I hope you don't mind :-P
21:49:23  <Ammler> never mind, ot channel
21:49:36  <^Spike^> :)\
21:49:42  <^Spike^> almost wanted to say.. perhaps bots? :)
21:49:46  <^Spike^> rather have it spam there then here :)
21:51:27  <Ammler> I wonder how clever it is to let google and friends craw the repos
22:09:48  <Brot6> firs: update from r2974 to r2982 done (5 warnings) -
22:22:39  <Brot6> Following repos rebuilds successful without any difference to earlier nightlies builds: belarusiantowns (Diffsize: 72), airportsplus (Diffsize: 101058), german-townnames (Diffsize: 5042), ogfx-industries (Diffsize: 48460), fish (1 warnings), dutchtrains (Diffsize: 887), newgrf_makefile (Diffsize: 1), zbuild, opengfx, spanishtowns (Diffsize: 8), metrotrackset (Diffsize: 2374), indonesiantowns (1 warnings) (Diffsize: 350), bandit (1
22:22:39  <Brot6> warnings) (Diffsize: 8191), ogfx-rv (Diffsize: 2039), ogfx-landscape, manindu (Diffsize: 2), debugveh (Diffsize: 989), swedishrails (Diffsize: 1322), dutchtracks, swisstowns (Diffsize: 51), dutchroadfurniture (Diffsize: 204661), britrains (7 warnings) (Diffsize: 78441), cets (192 warnings), make-nml, ogfx-trains (1 warnings) (Diffsize: 7840), friss (Diffsize: 2284), frenchtowns, uselesstracks (Diffsize: 417)
22:29:15  *** LordAro has quit IRC
22:34:51  <Ammler> rhodecode stopped working
23:02:59  <planetmaker> hm?
23:03:09  <planetmaker> config changes or no changes?
23:04:35  <Ammler> ulimit
23:04:48  <Ammler> removed it again, we need to look for someting else
23:25:58  <Brot6> zBase - Revision 272:6607f9d92a57: Update: Prep for /64->/128. Convert all vehicle masks to material... XzephyrisX @
23:27:06  <Brot6> zBase - Revision 273:49fd234fdba7: Update: Prep for /64->/128. Convert all toyland trees to material... XzephyrisX @
23:27:28  *** Zuu has quit IRC
23:28:26  <Brot6> Script Communication Protocol - Revision 37:f0d48214ab85: - Fix memory leak and error with message p... XkrinnX @
23:43:32  <Brot6> zBase - Revision 274:1c18d4528ae5: Update: Prep for /64->/128. Convert all infrastructure CC and Bri... XzephyrisX @
23:43:32  <Brot6> zBase - Revision 275:d1bd555aa053: Fix (r274): Missed files. XzephyrisX @
23:53:12  <Brot6> zBase - Revision 276:2a60a47b6e50: Update: Prep for /64->/128. Convert all industies to material ind... XzephyrisX @

Powered by YARRSTE version: svn-trunk