Log for #openttdcoop.devzone on 28th April 2013:
Times are UTC Toggle Colours
00:05:12  *** Supercheese has joined #openttdcoop.devzone
05:56:09  *** Supercheese has quit IRC
06:12:27  *** ODM has joined #openttdcoop.devzone
07:23:36  *** andythenorth has joined #openttdcoop.devzone
07:24:28  <Brot6> Finnish Trainset - Bug #5510 (New): Dm8 middle car smoking XallukeX @
07:38:44  *** Alberth has joined #openttdcoop.devzone
08:00:52  *** frosch123 has joined #openttdcoop.devzone
08:05:43  * planetmaker now installs mingw in sucky windows... to test NML case sensitivity patch :D
08:05:45  *** andythenorth has quit IRC
08:09:49  <Alberth> you need mingw for that?
08:10:38  <planetmaker> not necessarily. But then it's easier to just hack away on an existing devzone project which uses gcc :D
08:11:12  <Alberth> ah, of course. You need to compile the sources first :)
08:11:36  <planetmaker> I could use NUTS. No need there
08:12:15  <Alberth> I found a RM database scheme  which makes things a little more clear
08:13:00  <planetmaker> ups!
08:13:07  <planetmaker> very small, as it seems
08:13:48  <Alberth> it is?
08:14:04  <planetmaker> I don't think so. I was missing a ;-)
08:14:31  <planetmaker> the flow chart rather made me fall from my chair :-)
08:15:03  <Alberth> most is non-relevant, they do stupid things like copying changeset information ;)
08:15:13  <Alberth> bottom-left is about members and roles
08:16:08  <Alberth> and the central cluster a little to the bottom right of the center of the picture is "user"
08:16:56  <Alberth> and the central thingie to left from the center is "project"
08:17:14  <planetmaker> yeah
08:26:46  *** Jam35 has joined #openttdcoop.devzone
08:44:38  <planetmaker> can you tell me where... this really misses a central management :D
08:44:44  <planetmaker> or just paste me your key again?
08:46:13  <frosch123> hashed_password varchar(40) :)
08:46:33  <frosch123> it's the thing with the most connections :p
08:47:08  <planetmaker> :)
08:47:29  <Alberth> key is at  :)       you have a PM, PM
08:50:15  <planetmaker> ok, got it. thanks
08:50:33  <planetmaker> hm...
08:52:11  <planetmaker> something's still wrong. Both our keys are on that VM, but I can't ssh it either
08:52:23  <planetmaker> neither via name nor by IP
08:52:49  <Alberth> we're not us, obviously :)
08:56:16  <planetmaker> nah... I do believe it's related to ... setup of that VM and our server's proxy / firewall not forwarding it...
08:56:19  <planetmaker> something like that
08:56:37  <planetmaker> I wonder whether Ammler is online :D
08:58:33  <Alberth> technically he is :)
09:01:04  <planetmaker> :-)
09:01:18  <planetmaker> practically would be better :D
09:04:27  <Alberth> well, let's wait for that. Thanks for your efforts so far
09:05:15  <planetmaker> well... sadly I'm not helpful :S
09:09:27  <Alberth> just being able to discuss things and pinpointing causes is already very helpful imho
09:17:45  <planetmaker> bah... I hate windows
09:19:15  <Rubidium> poor planetmaker; it's your own fault though ;)
09:19:44  <Rubidium> you didn't make this planet without Windows :D
09:19:53  <planetmaker> :D
09:30:59  <planetmaker> aaaahhhh! NML version is broken... on windows. It reports the NML tag correctly. But uses the has and numeric rev from the repo you're currently in. if any
09:31:38  <planetmaker> or I have some *real* oddity going on here
09:32:33  <planetmaker> s/has/hash/
09:32:34  <Brot6> planetmaker: You did something wrong... Try s/you/me/ or tell me "help sed"
09:33:49  <Alberth> brot has a real short memory :)
09:34:21  <frosch123> did it ever work correctly? :p
09:35:18  <frosch123> s/it/I/
09:35:18  <Brot6> frosch123 meant: "did I ever work correctly? :p"
09:41:01  <Brot6> NewGRF Meta Language - Bug #5513 (New): reported version broken with compiled windows binaries XplanetmakerX @
09:52:29  <planetmaker> also seems that compile sizes on windows are... a PITA
09:53:42  <planetmaker> it takes ages longer than on my under-powered laptop
10:00:20  <planetmaker> V453000: how long does it take for you to compile NUTS?
10:00:40  <V453000> 10 to 15 minut aroundish I think
10:00:47  <planetmaker> o_O
10:01:05  <V453000> 100k sprites, 60k lines of code. ..
10:01:31  <planetmaker> yes... still.
10:01:42  <planetmaker> I'll time it now on my 2GHz core2duo laptop
10:01:59  <planetmaker> like 5 minutes at most, I'd say
10:02:29  <planetmaker> and faster on my linux on my desktop. But I just try windows... and wonder(ed) whether it hangs
10:04:31  <planetmaker> oh indeed it finished. In approx that time. I'm far too impatient for windows, it seems :D
10:15:26  <planetmaker> 9:47min on my old laptop without using caching
10:17:10  <planetmaker> 3:01 when using caching (re-compiling without any change)
10:18:01  <planetmaker> Alberth, I know managed to compile with the case match test patch
10:18:09  <planetmaker> It did not warn me about wrong ase
10:18:44  <Alberth> ok
10:19:12  <Alberth> that was expected :)
10:19:25  <planetmaker> yes, kinda :-)
10:19:41  <Alberth> did you try stuff like  c:badname/... ?
10:20:23  <Alberth> and perhaps c:\badname\...  as well
10:20:24  <planetmaker> I I only changed the gfx/CASE_OF_FILENAME.png instead of gfx/case_of_filename.png
10:21:07  <Alberth> hmm
10:22:11  <Alberth> if os.path.isfile(path): return path   <-- that will catch everything at windows :)
10:22:52  <Alberth> so it outsmarted me :p
10:23:18  <planetmaker> too smart for its own good :-P
10:24:11  <Alberth> what would you expect here?
10:24:30  <planetmaker> in the case of what I changed?
10:25:05  <planetmaker> I would expect a warning (on windows) and a failure on case sensitive systems
10:25:43  <planetmaker> Warning gfx/_CANALTRAINS.png does not match gfx/_canaltrains.png
10:25:52  <Alberth> that's not what your script did?
10:25:53  <planetmaker> Warning case of gfx/_CANALTRAINS.png does not match gfx/_canaltrains.png
10:26:14  <planetmaker> my script actually replaced the text, yes
10:26:28  <planetmaker> it did not warn, but edit files
10:27:13  <planetmaker> but you're right... should NML silently ignore case?
10:29:16  <Alberth> should I make a version that warns a user?
10:29:41  <Alberth> from a windows point of view that my be quite annoying
10:29:59  <Alberth> as they are never bothered about broken path names :p
10:30:15  <planetmaker> hm :-)
10:30:28  <Alberth> *may
10:30:42  <planetmaker> for windows users it indeed does not matter
10:31:03  <planetmaker> gah... complicated solution:
10:31:25  <planetmaker> * warn on case sensitive systems, if it can compile by ignoring case - but do compile
10:31:37  <Alberth> a --check-the-case-of-my-files option? :)
10:31:56  <planetmaker> * compile-time flag to mind case (and error-out if not found)
10:32:04  <Alberth> or a --i-dont-care-about-filename-case option
10:32:10  <planetmaker> * compile-time flag to warn about case, even if it doesn't matter
10:32:16  <Rubidium> pff...
10:32:32  <planetmaker> sounds... in this form, like tmwftlb really
10:32:43  <Rubidium> just warn on Windows with an option to disable the warning, and fail on unix
10:33:15  <Rubidium> then if they don't want to fix it... COPY, not rename/move the file on unix to have the right case, and commit+push
10:33:43  <planetmaker> why copy?
10:33:59  <Alberth> try pulling that revision to a windows system :p
10:34:04  <planetmaker> oh :-)
10:34:05  <Rubidium> to completely screw the windows luser ;)
10:35:29  <Alberth> warning the user implies examination of the path, so it might just as well build a working path imho
10:37:04  <planetmaker> on windows it works. regardless. And you can't have NML edit the source
10:39:30  <planetmaker> so NML could ignore case (and path separator) on *nix systems and warn there - if we want a way which automatically fixes these errors
10:42:33  <planetmaker> what do you believe to be the best way, Alberth ?
10:43:31  <Alberth> currently I believe to just warn the user, and fix the path
10:43:37  <Alberth> at all systems
10:44:27  <planetmaker> ok. Then... let's do that
10:44:41  <planetmaker> warn upon every mis-match. And work nevertheless
10:44:45  <planetmaker> on all systems
10:49:36  <Alberth>   something like this
10:50:15  <Alberth> could you add  print _paths   at the end of nml/  just before "return path"
10:50:43  <Alberth> it's a cache and should contain all paths except the final file
10:51:04  <Alberth> (assuming you load that one time in your program, it is a bit of a waste to store that :) )
10:51:43  <Alberth> hmm '.' probably also has a nice python name
10:53:03  <Alberth> os.curdir  <-- at line 242
10:57:23  <Alberth> >>> generic.find_file('Nml/Curl.patch')
10:57:23  <Alberth> nmlc warning: Path "nml" at the file system does not match path "Nml" given in the input (case mismatch in the last component)
10:57:23  <Alberth> nmlc warning: Path "nml/curl.patch" at the file system does not match path "nml/Curl.patch" given in the input (case mismatch in the last component)
10:57:23  <Alberth> 'nml/curl.patch'
10:57:38  <Alberth> warnings are a bit bulky :)
10:57:52  <Alberth> but it seems to work at first sight
10:58:31  <Rubidium> okay, now make the folder Nml as well as nml
10:58:36  <planetmaker> sounds ok to me
10:58:52  <Rubidium> can it then also find nml/curl.patch?
10:59:52  <Alberth> nml.generic.ScriptError: Path "Nml" is not unique (case conversion gave 2 solutions)
10:59:54  <Alberth> :)
11:00:25  <planetmaker> also on linux?
11:00:53  <Alberth> what else do I have? :)
11:01:06  <planetmaker> :-) dunno. solaris? :-P
11:01:48  <Alberth> I once considered buying that, but I did not have enough money :p
11:02:05  <Alberth> (Linux did not exist then)
11:03:08  <planetmaker> he :-)
11:03:30  <Alberth> it should pick the exact match if possible?
11:04:03  <planetmaker> not sure. It's special-casing it and makes it more complicated
11:04:45  <Alberth> elif comp in matches: matches = [comp]   <-- just 2 lines of code :p
11:07:00  <planetmaker> I meant it rather in the form of user experience
11:07:12  <Alberth> I know :)
11:07:18  <planetmaker> ok :-)
11:07:49  <Alberth> but yeah, it can be considered bad form to make it messy for windows users to pull the project
11:08:39  <planetmaker> also (some) OSX... there's case agnostic and case sensitive file systems there.... *shudder*
11:09:50  <Alberth> we could leave it as it is now, and see how much problems it causes
11:10:01  <planetmaker> yup :-)
11:10:09  <planetmaker> want to go for it?
11:10:19  <Alberth> I would expect very little, as normally you don't make different directories with just a difference in case
11:10:31  <planetmaker> normally :-P
11:11:42  <Alberth> shall I commit?
11:12:15  <planetmaker> I guess so, yes
11:13:07  <planetmaker> we can still add an option later like --do-not-ignore-case or so :D
11:13:42  <planetmaker> if it should be needed
11:14:47  <Alberth> done
11:14:54  <planetmaker> ty :-)
11:14:57  <Brot6> NewGRF Meta Language - Feature #5429 (Closed): make filename resolving case insensitive XAlberthX @
11:14:58  <Brot6> NewGRF Meta Language - Feature #5429 (Closed): make filename resolving case insensitive XAlberthX @
11:14:58  <Brot6> NewGRF Meta Language - Revision 2072:d17f7378370b: Feature: Make file system paths case-insensitive ... XAlberthX @
11:17:17  <planetmaker> and as the weather is fine again... I'll be off for probably the dailight hours... possibly time to try a bit archery again :D
11:18:23  <Alberth> have fun
11:35:11  <planetmaker> thanks, you have fun, too :-) See / talk to you later
15:05:52  <Brot6> Industrial Stations Renewal - Revision 134:a39db885e828: Fix: Use correct front platform for tower c... Xmart3pX @
16:10:05  *** andythenorth has joined #openttdcoop.devzone
16:11:15  *** andythenorth has quit IRC
16:30:56  <Brot6> Industrial Stations Renewal - Revision 135:b454d2a13885: Feature: Add paper platforms and non-track ... Xmart3pX @
17:16:07  <Brot6> Finnish Trainset - Revision 47:4edd16640036: Fix: Sprites with wrong names removed Xjuzza1X @
17:16:07  <Brot6> Finnish Trainset - Revision 48:3ce2da5d6645: Fix: Made sure no 1st cc in palette Xjuzza1X @
17:16:07  <Brot6> Finnish Trainset - Revision 49:ef3a448a06c6: Fix: Unnecessary cargo class removed Xjuzza1X @
17:16:09  <Brot6> Finnish Trainset - Revision 50:35ff2bfa0b0c: Feature: Dv15 sounds added, same as Dv16 Xjuzza1X @
17:16:13  <Brot6> Finnish Trainset - Revision 51:90c597787e2f: Fix: Loading now works, loading speed was previously 0 Xjuzza1X @
17:16:17  <Brot6> Finnish Trainset - Revision 52:0768af632c6e: Feature: Hccmqqr sprite Xjuzza1X @
17:16:20  <Brot6> Finnish Trainset - Revision 53:ecfa391ba27f: Fix: De generator van sprite name changed Xjuzza1X @
17:16:24  <Brot6> Finnish Trainset - Revision 54:8143766272fe: Feature: First set of coaches added Xjuzza1X @
17:17:21  <Brot6> Finnish Trainset - Bug #5495 (Closed): Dv15 missing sound effects Xjuzza1X @
17:18:04  <Brot6> Finnish Trainset - Bug #5492 (Closed): Wagon class corrections Xjuzza1X @
17:18:04  <Brot6> Finnish Trainset - Bug #5474 (Closed): DMU/EMU:s cannot load/unload passengers Xjuzza1X @
17:19:21  <Brot6> nml: update from r2071 to r2072 done -
17:21:22  <Brot6> xussrset: update from r868 to r869 done (2 warnings) -
17:22:05  <Brot6> finnishtrainset: update from r46 to r54 done -
17:24:52  <Brot6> firs: update from r3650 to r3651 done (30 warnings) -
17:25:50  <Brot6> isr: update from r133 to r135 done -
17:40:41  <Brot6> bandit: compile of r553 failed -
18:05:41  *** andythenorth has joined #openttdcoop.devzone
18:27:00  *** Zuu has joined #openttdcoop.devzone
19:29:56  <Brot6> Finnish Trainset - Bug #5522 (New): Ed sprites old, non-corrected versions Xkyosuke1989X @
19:33:06  <Brot6> Finnish Trainset - Revision 55:2b66fbae57c7: Fix: Loading speed doubled for DMUs, EMUs (except for S... Xjuzza1X @
19:34:48  <Brot6> Following repos rebuilds successful without any difference to earlier nightlies builds: manindu (Diffsize: 10), ogfx-industries, dutchtrains, progressivetrains (25 warnings), canrail, ogfx-trains (4 warnings), metrotrackset (Diffsize: 5284), nutracks (2 warnings), swedishrails (Diffsize: 1452), zbuild, debugveh (Diffsize: 1000), uselesstracks (Diffsize: 760), german-townnames (Diffsize: 49), spanishtowns (Diffsize: 18), make-nml,
19:34:48  <Brot6> opengfx, britrains (10 warnings) (Diffsize: 133546), dutchtracks (Diffsize: 327), belarusiantowns (Diffsize: 72), dutchroadfurniture (Diffsize: 44228), frenchtowns, airportsplus, fish (7 warnings), swisstowns (Diffsize: 51), ogfx-rv, newgrf_makefile (Diffsize: 21), ogfx-landscape, friss (Diffsize: 4685), indonesiantowns (1 warnings) (Diffsize: 19)
19:39:50  <Brot6> Finnish Trainset - Bug #5522 (New): Ed sprites old, non-corrected versions Xkyosuke1989X @
19:42:11  *** ODM has quit IRC
19:42:11  *** ODM has joined #openttdcoop.devzone
19:56:25  *** Jam35 has quit IRC
20:29:05  *** Webster has joined #openttdcoop.devzone
20:30:14  <Brot6> Industrial Stations Renewal - Revision 136:de6da6fd1801: Feature: Add small brick office as a random... Xmart3pX @
20:32:26  *** Guest3748 has quit IRC
20:53:45  *** frosch123 has quit IRC
20:54:09  *** Alberth has left #openttdcoop.devzone
21:16:50  *** andythenorth has quit IRC
21:33:14  *** ODM has quit IRC
22:52:59  *** Zuu has quit IRC

Powered by YARRSTE version: svn-trunk