Times are UTC Toggle Colours
00:03:05 *** Progman has quit IRC 00:20:01 <Eddi|zuHause> i think preventing false positives is more important than getting all of them 00:23:27 <LordAro> probably 00:39:38 *** grossing has quit IRC 00:50:35 *** ToffeeYogurtPots has quit IRC 00:50:54 *** ToffeeYogurtPots has joined #openttd 00:56:32 *** LordAro has quit IRC 00:56:55 *** LordAro has joined #openttd 01:06:01 *** muffe has quit IRC 01:11:01 *** Gustavo6046 has quit IRC 01:12:30 *** goodger has quit IRC 01:12:38 *** goodger has joined #openttd 01:38:46 *** DDR has quit IRC 01:50:16 *** Alkel_U3 has quit IRC 01:50:33 *** Alkel_U3 has joined #openttd 01:58:16 *** __ln__ has quit IRC 01:58:48 *** ericnoan has quit IRC 02:00:23 *** ericnoan has joined #openttd 02:05:12 *** luaduck has quit IRC 02:05:45 *** luaduck has joined #openttd 02:09:28 *** avdg has quit IRC 02:09:47 *** avdg has joined #openttd 02:27:36 *** Sacro has quit IRC 02:34:48 *** KouDy has quit IRC 02:41:44 *** fonsinchen has quit IRC 03:10:18 *** glx has quit IRC 03:12:16 *** HerzogDeXtEr has quit IRC 03:18:53 *** bwn has quit IRC 03:25:39 *** bwn has joined #openttd 03:37:28 *** Lamp- has quit IRC 03:38:32 *** michi_cc has quit IRC 03:38:37 *** michi_cc has joined #openttd 03:38:37 *** ChanServ sets mode: +v michi_cc 03:58:58 *** bwn has quit IRC 04:15:44 *** bwn has joined #openttd 04:20:24 *** heffer has quit IRC 04:26:16 *** murr4y has quit IRC 04:27:04 *** Exec has quit IRC 04:32:40 *** peter1138 has quit IRC 04:35:04 *** Hazzard has quit IRC 04:35:20 *** TinoDidriksen has quit IRC 04:35:47 *** Hazzard has joined #openttd 04:49:28 *** Mek_ has quit IRC 05:04:24 *** DorpsGek has quit IRC 05:04:37 *** DorpsGek has joined #openttd 05:04:37 *** ChanServ sets mode: +o DorpsGek 05:16:24 *** juzza1 has quit IRC 05:16:51 *** juzza1 has joined #openttd 05:33:24 *** Cubey has quit IRC 05:45:28 *** KenjiE20 has quit IRC 05:46:01 *** KenjiE20 has joined #openttd 06:04:27 *** chomwitt has joined #openttd 06:07:52 *** Eddi|zuHause has quit IRC 06:09:12 *** APTX has quit IRC 06:17:43 *** chomwitt has quit IRC 06:54:48 *** yorick_ has quit IRC 06:54:59 *** sim-al2 has quit IRC 06:55:04 *** Keridos has quit IRC 07:27:20 *** donar has quit IRC 07:45:12 *** blathijs has quit IRC 08:08:38 *** tokai has quit IRC 08:10:00 *** zeta has quit IRC 08:10:33 *** zeta has joined #openttd 08:11:55 *** Compu has quit IRC 08:30:00 *** Ammler has quit IRC 08:30:18 *** Ammler has joined #openttd 08:31:04 *** Yexo has quit IRC 08:32:40 *** m1cr0man has quit IRC 08:32:50 *** m1cr0man has joined #openttd 09:02:48 *** kais58 has quit IRC 09:03:02 *** kais58 has joined #openttd 09:12:48 *** TheMask96 has quit IRC 09:22:48 *** TheIJ has quit IRC 09:25:11 *** TheIJ has joined #openttd 09:55:01 *** Progman has joined #openttd 10:07:04 *** LongyanG has quit IRC 10:14:00 *** Lejving has quit IRC 10:17:12 *** Sheogorath has quit IRC 10:17:21 *** Sheogorath has joined #openttd 10:18:33 *** rustyshackleford[m] has quit IRC 10:30:32 *** FLHerne has quit IRC 10:30:59 *** FLHerne has joined #openttd 11:01:10 *** ToffeeYogurtPots has quit IRC 11:01:23 *** ToffeeYogurtPots has joined #openttd 12:03:12 *** Alberth has joined #openttd 12:03:12 *** ChanServ sets mode: +o Alberth 12:03:27 <Alberth> hi hi 12:52:50 *** ChanServ sets mode: +o orudge 13:09:19 *** tokai has joined #openttd 13:09:19 *** ChanServ sets mode: +v tokai 13:12:09 <planetmaker> o/ 13:13:19 <planetmaker> Alberth, you're my python standard. Concerning nmlc, would it maybe make sense to integrate something like pcpp, thus have a native preprocessor instead of relying on cpp to include stuff? 13:13:26 <planetmaker> and parse macros (if any)? 13:14:05 <Alberth> pcpp ? 13:14:07 <planetmaker> or should that be something newly-developed tailored to nmlc in specific 13:14:07 <LordAro> planetmaker: some would say that if you're having to do such things in python that you're doing it wrong 13:14:11 <LordAro> :p 13:14:14 <planetmaker> https://pypi.python.org/pypi/pcpp 13:14:58 <planetmaker> LordAro, a shorter toolchain would lower the bar tremendously :) 13:14:59 *** Smedles has quit IRC 13:16:02 <Alberth> it's 2.7 so that won't fly, but otherwise, I am very much in favour of killing cpp 13:16:26 *** sim-al2 has joined #openttd 13:16:28 <planetmaker> and possibly using pymake instead of make 13:16:42 <LordAro> 2.7 is your other issue :p 13:16:47 <planetmaker> which is supposedly a full implementation of make in python (both 2 and 3) 13:16:50 <Alberth> whether pcpp is the road is not clear to me (despite the version problem) 13:17:00 <planetmaker> ok, I didn#t chechk the version for pcpp. That's bad 13:17:20 <V453000> it's a snake! 13:17:35 <planetmaker> no, to me neither. I'm not sure it would be good... it's just an idea which recently popped into my mind 13:17:36 <Alberth> I'd prefer a nmlc extension tbh 13:18:07 *** Compu has joined #openttd 13:18:12 <Alberth> make isn't that useful for nmlc projecte imho 13:18:30 <Alberth> you run the full build anyway 13:18:45 <planetmaker> well... yes. But something has to run the full build 13:19:04 <Alberth> blah.bat 13:19:12 <Alberth> or even a standard naming convention 13:19:19 <planetmaker> which would be Makefile ;) 13:19:44 <planetmaker> pymake seems to be the way mozilla went 13:19:45 <Alberth> having a Makefile is not the problem, having to use /usr/bin/make is :) 13:19:56 <planetmaker> pymake is a python replacement for /usr/bin/make 13:20:18 <planetmaker> thus could be shipped from the same source, with the same requirements 13:20:45 <Alberth> assuming a grf author has no understanding of make, it's a 2-line script 13:21:12 <Alberth> gcc -E -C blah.pnml ; nmlc blah.nml 13:21:48 <Alberth> anything beyond that implies understanding and editing of the makefile 13:22:14 <Alberth> at which point, having make isn't a major issue anymore, I think 13:24:10 <Alberth> if you rename blah.pnml to blah.main_nml you can find the entry point of the grf as well 13:25:58 <Alberth> the main problem with the cpp macros is that they are much black magic with ## and #macro stuff 13:26:33 <planetmaker> yupp. Yet they are nice ways to generate stuff which one would need to type out every time otherwise 13:26:39 <Alberth> and locally created and erased macros, iirc 13:26:47 <planetmaker> I don't particularily like them obsuring what one is doing either. 13:27:53 <Alberth> I discussed with andy what needed to be changed in nmlc, having local variables was one of them 13:30:22 *** __ln__ has joined #openttd 13:31:33 <__ln__> i'm sure people will stay out of the channel now 13:34:27 <Alberth> we weren't done yet :p 13:35:32 <Alberth> planetmaker: I think march 4 2017, 07:53 am european time 13:35:56 <planetmaker> local variables... but I think you can do that, can't you? 13:36:28 <planetmaker> you need a way to generate names 13:38:50 *** heffer has joined #openttd 13:45:53 <Alberth> what names? 13:46:22 <Alberth> currently you construct unique names to avoid clashes, since nmlc uses global scoping 13:47:00 <Alberth> but many of the variables are local in nature, only needed for a few related switches 13:48:17 <Alberth> you are as programmer not even interested in the actual name of the variable, eg a compiler could make a name by appending a random number to it?? 13:49:39 <Alberth> although it's simpler to connect scopes and assigned variable indices directly together, at least conceptually 13:50:04 <Alberth> as it avoids having to do a lot of usage analysis in the code 13:50:51 <planetmaker> ah, ok, you mean local in that context 13:51:16 <planetmaker> yes, then local names would probably work, too 13:52:04 <planetmaker> the typical thing I think of is a separate naming of a vehicle and related naming of its switches for graphics and various callbacks. or for tile-based stuff for the object/industry and its related ones 13:52:13 <planetmaker> how local are those names? 13:53:02 <planetmaker> but yeah... maybe definition of a scope would solve it 13:53:13 <planetmaker> then each vehicle has a top line like 13:53:44 <planetmaker> scope(my_greatest_engine_ever_with_super_duper_slug_drive) 13:53:55 <planetmaker> item(FEAT_VEH,...) {...} 13:53:58 <planetmaker> ... 13:54:14 <planetmaker> scope(my_greatest_engine_new_edition) 13:54:16 <planetmaker> ... 13:55:40 <planetmaker> It would require you to structure you code such that things which belong together are grouped together. But... that's ok, I guess :) You cannot have everything anyway 14:00:22 <Alberth> you can give scope a name, and explicitly refer to a variable in such a named scope :p 14:00:30 <Alberth> tmwftlb, I think 14:01:19 <Alberth> ie my_greatest_engine_new_edition.switch_result 14:01:35 <planetmaker> yeah, like that 14:01:45 <Alberth> or my_greatest_engine_new_edition::switch_result in c++-ish 14:01:53 <planetmaker> as it differs between every engine, it needs a different name currently for each 14:01:55 <Alberth> or some other separator 14:02:12 <planetmaker> thus you cannot copy&paste 14:02:36 <Alberth> but I doubt cross-scope names would be used often 14:03:02 *** ToffeeYogurtPots has quit IRC 14:03:14 <Alberth> obviously, I could be wrong :D 14:03:18 <planetmaker> I'm trying to remember... with refit stuff it would be shared among different wagons 14:03:36 *** ToffeeYogurtPots has joined #openttd 14:03:49 <planetmaker> thus all PAX wagons share the same rules, all flatbed ones the same ones and a 3rd rule for tankers, or something like that 14:08:09 *** ToffeeYogurtPots has quit IRC 14:08:46 <Alberth> I don't have the exact proposal in my head (if there even is one), but in principle you can make some variables global if you want 14:09:48 <Alberth> simplest is by declaring them as global, or declaring local variables as local, or by "exporting" a variable (ie making it explicitly switch from local to global), or some other mechanism 14:10:56 <Alberth> plenty of options there that differ in details only 14:12:15 <Alberth> I once tried adding macros iirc, and at pure parser level it wasn't that hard iirc, don't quite remember what broke it :( 14:20:59 *** greeter has quit IRC 14:31:02 *** greeter has joined #openttd 14:32:46 *** Guest652 has quit IRC 14:35:16 <planetmaker> hm :) 14:35:32 <planetmaker> @logs 14:35:32 <DorpsGek> planetmaker: https://webster.openttdcoop.org/index.php?channel=openttd 14:36:51 *** Gustavo6046 has joined #openttd 14:56:29 *** sim-al2 has quit IRC 15:31:48 *** Gustavo6046 has quit IRC 15:32:32 *** Gustavo6046 has joined #openttd 15:51:05 *** ToBeFree has joined #openttd 16:00:19 *** ToBeFree has quit IRC 16:46:05 *** FLHerne has quit IRC 17:31:30 *** frosch123 has joined #openttd 17:51:19 *** Wormnest has joined #openttd 17:58:54 *** glx has joined #openttd 17:58:54 *** ChanServ sets mode: +v glx 17:59:43 *** DorpsGek sets mode: -R 17:59:48 *** Yexo has joined #openttd 17:59:48 *** fonsinchen has joined #openttd 18:00:44 *** HerzogDeXtEr has joined #openttd 18:10:56 *** XeryusTC has quit IRC 18:11:18 *** XeryusTC has joined #openttd 18:11:44 *** lastmikoi has quit IRC 18:12:08 *** lastmikoi has joined #openttd 18:14:08 *** planetmaker has quit IRC 18:14:48 *** planetmaker has joined #openttd 18:14:48 *** ChanServ sets mode: +o planetmaker 18:18:08 *** Osai has quit IRC 18:18:48 *** Osai has joined #openttd 18:18:49 *** SmatZ has quit IRC 18:19:18 *** SmatZ has joined #openttd 18:22:52 *** andythenorth has joined #openttd 18:24:12 <andythenorth> o/ 18:35:11 *** Prof_Frink has joined #openttd 18:40:33 *** andythenorth has quit IRC 18:42:33 *** Wolf01 has joined #openttd 18:43:11 <Wolf01> o/ 18:45:40 <Wolf01> Another train derailed, asked my father where: "aeiou.. America" 18:46:07 *** RafiX2 has joined #openttd 18:46:13 <RafiX2> wow 18:46:20 *** RafiX2 is now known as RafiX 18:46:39 <RafiX> finally I could join 18:49:38 *** Samu has joined #openttd 18:50:09 *** Samu_ has joined #openttd 18:50:45 <Samu_> hi 18:51:03 *** Samu has quit IRC 18:51:19 *** Samu_ has quit IRC 18:51:21 *** Samu has joined #openttd 18:52:04 <Samu> Cargo Flow Legend doesn't work on viewport windows. is that intended? 18:52:22 *** andythenorth has joined #openttd 19:07:09 <Alberth> you selected a cargo or a company? 19:07:13 <Alberth> *and 19:08:15 <Alberth> oh, viewport windows, sorry I misread. 19:08:37 <Alberth> Likely it is, as you typically don't have an overview there 19:22:08 *** sla_ro|master has joined #openttd 19:30:14 *** Alberth has left #openttd 19:30:30 *** sla_ro|master has quit IRC 19:35:24 <V453000> :0 I can use git for devzone? 19:35:50 <V453000> that's kind of tempting as people at work can help me with it :) 19:36:18 <V453000> probably better to keep hg I guess 19:37:29 <frosch123> we have like 2 git projects 19:37:57 <Wolf01> Mmmh... F or not F? I played 11 hours yesterday 19:38:07 <V453000> Wolf01: then to F 19:39:55 <andythenorth> V453000: I was recommended against changing it to git 19:39:57 <andythenorth> no support 19:40:03 <andythenorth> last time I asked 19:40:54 <V453000> k :) I already chose mercurial 19:40:58 <V453000> so http://hg.openttdcoop.org/part should now work? 19:41:05 <V453000> or do I need someone to do the first poke? 19:42:18 <andythenorth> I never figured it out 19:42:25 <andythenorth> there's something has to be done to create repos 19:42:39 <V453000> I always asked pm for it :) I will do the same 19:42:40 <andythenorth> shall we move to github? o_O 19:46:03 <frosch123> V453000: the trick is to not enable the repository in the same step as creating the project 19:46:29 *** cute[m] has quit IRC 19:46:32 *** Agiri[m] has quit IRC 19:46:34 *** cute[m] has joined #openttd 19:46:40 *** Agiri[m] has joined #openttd 19:57:30 <V453000> :D really? 20:00:32 <frosch123> i deleted the repo 20:00:43 <frosch123> now it should create a real one 20:00:57 <frosch123> can take up to 7 minutes or so 20:01:22 <V453000> alright :) 20:01:34 <V453000> what do I do after? clone the empty repository with tortoise? 20:01:48 <V453000> sorry I totally forgot, it's been years since I started a repo :D 20:01:56 <frosch123> yes 20:02:08 <V453000> great :) 20:09:31 <frosch123> it's done 20:50:34 *** Stimrol has joined #openttd 20:52:15 <V453000> I'm trying to push things but it said no outgoing changesets 20:52:20 <V453000> I did commit a thing though 20:55:13 *** sim-al2 has joined #openttd 20:55:47 <frosch123> i guess tortoise can show some local history of the commits 20:56:01 <frosch123> also, did you use the putty-key? 20:56:52 <V453000> I'm using pageant, that should be from putty, yes 20:57:19 <V453000> does ssh://hg@hg.openttdcoop.org/part look right? 20:57:24 <V453000> as push thing 20:57:24 <frosch123> yes 20:57:59 <frosch123> well, then investigate the "what was committed" thing 20:58:04 <frosch123> did you add files? 20:58:25 <V453000> I added a shitload of files 20:58:51 <V453000> it's even saying bundling in the start of pushing 20:59:18 <V453000> I slightly recall I had this kind of problem earlier with RAWR or BRIX or something but I can't remember what exactly was it and how did I fix it 20:59:29 <V453000> I tried to make another test commit and push 20:59:33 <V453000> let's see 20:59:56 <V453000> yeah and eventually No outgoing changesets to ssh://hg@hg.openttdcoop.org/part 21:00:20 <frosch123> http://tortoisehg.readthedocs.io/en/latest/workbench.html# <- does that show your commits? 21:00:41 <V453000> yea 21:44:50 *** FLHerne has joined #openttd 21:56:39 <frosch123> bah, i get wot commericals 22:04:03 *** RafiX has quit IRC 22:06:00 *** ToffeeYogurtPots has joined #openttd 22:09:38 <Wolf01> 'night 22:09:41 *** Wolf01 has quit IRC 22:10:01 <andythenorth> bye 22:10:02 *** andythenorth has quit IRC 22:13:29 *** chomwitt has joined #openttd 22:16:49 *** ChanServ sets mode: +v orudge 22:16:49 *** ChanServ sets mode: +v Rubidium 22:16:49 *** ChanServ sets mode: +v DorpsGek 22:16:49 *** ChanServ sets mode: +v planetmaker 22:23:51 *** none has joined #openttd 22:24:19 *** ToffeeYogurtPots has quit IRC 22:25:06 *** frosch123 has quit IRC 22:41:14 *** sim-al2 has quit IRC 22:58:48 *** jonty-comp has quit IRC 22:58:49 *** jonty-comp has joined #openttd 22:58:55 *** HerzogDeXtEr has quit IRC 23:14:07 *** Eddi|zuHause has joined #openttd 23:15:29 *** chomwitt has quit IRC 23:28:27 *** Flygon has joined #openttd 23:35:54 *** none has quit IRC 23:36:36 *** dihedral has quit IRC 23:39:49 *** none has joined #openttd 23:47:48 *** Samu has quit IRC 23:54:32 *** berndj has quit IRC 23:54:45 *** berndj has joined #openttd 23:58:40 *** dihedral has joined #openttd