Log for #openttdcoop.devzone on 20th June 2011:
Times are UTC Toggle Colours
04:40:27  *** bodis has joined #openttdcoop.devzone
05:29:21  *** bodis has quit IRC
06:54:14  *** JVassie has joined #openttdcoop.devzone
10:29:08  *** Tloo-ZaRaZa has joined #openttdcoop.devzone
10:52:02  <Brot6> Central European Train Set - Feature #2762 (New): epoch and region parameters (planetmaker) @
13:00:23  *** bodis has joined #openttdcoop.devzone
13:48:03  <Brot6> Central European Train Set - Feature #2763 (New): track classes / railtype support (planetmaker) @
13:49:56  <Brot6> Central European Train Set - Feature #2763 (New): track classes / railtype support (planetmaker) @
14:55:33  <Hirundo> hmm... updating the NML regression test has become an O(n^2) process
14:55:48  <Ammler> :-D
14:56:22  <Brot6> DictatorAI - Revision 115:8c49e7d8da68: - Remove all tiles from a station when removing a station (krinn) @
14:59:40  <Brot6> NewGRF Meta Language - Revision 1428:41adb5b697b7: Change: Unify the layout sprite properties 'tt... (Hirundo) @
14:59:40  <Brot6> NewGRF Meta Language - Revision 1429:65fd62c597f8: Feature #2739: Implement bit 3 (action1 palett... (Hirundo) @
14:59:40  <Brot6> NewGRF Meta Language - Revision 1430:41255b18a070: Feature #2739: Allow <switch-expr> for x/y/zof... (Hirundo) @
15:01:16  <planetmaker> O(n^2)?
15:01:22  <planetmaker> why not O(n)?
15:08:52  <Hirundo> Regression stops at the first test that needs updating
15:09:26  <Yexo> make -C regression/ -k
15:10:02  <Yexo> and with "make -C regression/ 008_railtypes" you can run only test 8
15:10:27  <Hirundo> ah thanks
15:11:04  <Yexo> try -j instead of -k to run the test in parallel, the output will be quite useless if it fails though
15:11:37  <Yexo> but for me that means testing in 3.6s instead of 14s
15:11:52  <Yexo> nice work at the asl :)
15:51:10  *** Lakie has joined #openttdcoop.devzone
16:00:59  *** frosch123 has joined #openttdcoop.devzone
17:02:56  *** JVassie has quit IRC
17:10:42  <Brot6> nml: update from r1424 to r1430 done -
17:17:33  <Brot6> Following repos didn't need a nightlies update: 2cctrainset (r750), 32bpp-extra (r40), ai-admiralai (r75), ai-aroai (r39), ailib-common (r21), ailib-direction (r17), ailib-list (r32), ailib-string (r29), ailib-tile (r16), airportsplus (r104), basecosts (r25), belarusiantowns (r8), bros (r52), chips (r143), comic-houses (r71), firs (r2081), fish (r653), frenchtowns (r6), german-townnames (r34), grfcodec (r832), grfpack (r279), heqs
17:17:33  <Brot6> (r605), indonesiantowns (r41), manindu (r7), metrotrackset (r56), narvs (r37), newgrf_makefile (r296), nml (r1430), nutracks (r202), ogfx-industries (r119), ogfx-landscape (r69), ogfx-rv (r107), ogfx-trains (r245), ogfx-trees (r50), opengfx (r678), openmsx (r97), opensfx (r97), smts (r19), snowlinemod (r49), spanishtowns (r10), sub-landscape (ERROR r66), sub-opengfx (ERROR r666), swedishrails (r202), swisstowns (r22), transrapidtrackset
17:17:35  <Brot6> (r15), ttdviewer (r34), ttrs (r36), worldairlinersset (r672)
17:23:10  <Brot6> ogfx-industries: rebuild of r119 done (1054 errors) (Diffsize: 32646) (DiffDiffsize: 117) -
17:27:59  <Ammler> Yexo: -C regression works?
17:28:13  <Ammler> hmm
18:04:10  *** Webster has joined #openttdcoop.devzone
18:26:02  *** JVassie has quit IRC
18:36:27  *** andythenorth has joined #openttdcoop.devzone
18:51:45  *** JVassie has joined #openttdcoop.devzone
18:52:23  *** andythenorth has quit IRC
19:08:37  *** andythenorth has joined #openttdcoop.devzone
19:13:22  <Ammler> andythenorth: is the vm on our server of any use, do you need some help about?
19:13:38  <andythenorth> the one for testing new bananas?
19:14:27  <Ammler> might be :-)
19:14:34  <Ammler>
19:14:52  <andythenorth> I was logged in and had a pyramid app running last week
19:15:00  <andythenorth> currently get an nginx bad gateway
19:15:13  <Ammler> that looks like no backend running :-)
19:15:33  <Ammler> the nginx is running at
19:15:39  <andythenorth> maybe the paster process stopped
19:15:44  <andythenorth> I'll ssh in and see
19:16:00  <Ammler> well, I made reboot this evening
19:16:35  <andythenorth> hmm
19:16:38  <andythenorth> I can't ssh in
19:16:48  <andythenorth> I'm probably using the wrong switch or something
19:17:00  <Ammler> no idea
19:17:03  <Ammler> works here
19:17:11  <andythenorth> what should I be typing?
19:17:27  <andythenorth> I lost the instructions - my machine ran out of battery last week
19:17:28  <andythenorth> :P
19:17:37  <Ammler> ssh -p12122
19:17:49  <andythenorth> I was missing the port :P
19:17:49  <Ammler> or replace root with andy
19:18:10  * Ammler uses ~/.ssh/config to manage connections
19:18:27  <Ammler> Host
19:18:28  <Ammler> Port 12122
19:18:30  <Ammler> User root
19:18:43  <Ammler> so if I do ssh, it uses the right user and port
19:19:24  <andythenorth> Ammler: what's the equivalent of 'locate' on that box?
19:19:31  <Ammler> locate
19:19:33  <Ammler> oh
19:19:40  <Ammler> find :-P
19:19:45  <Ammler> but you can install locate, if you like
19:19:49  <Ammler> find-utils
19:20:25  <Ammler> he, it is installed, did you try?
19:20:31  <andythenorth> locate?
19:20:32  <andythenorth> yes
19:20:37  <andythenorth> maybe it needs to update it's db
19:20:49  <Ammler> yep, maybe it isn't in the crontab
19:20:51  <Ammler> updatedb
19:20:53  <andythenorth> I can't remember where I put my app :P
19:21:05  <Ammler> I would asume, you used user andy
19:21:16  <Ammler> and there you would find it
19:21:27  <andythenorth> yup
19:22:39  <Ammler> are you sure, updatedb should run daily
19:22:53  <Ammler> works here
19:23:27  <andythenorth> maybe I use it wrong
19:23:31  <andythenorth> anyway...
19:24:01  <Ammler> hmm, that looks the same as last time :-P
19:24:23  <andythenorth> yes, I did no work on it
19:24:24  <andythenorth> :D
19:24:40  <andythenorth> I'll document the stuff I had to ask you about
19:24:48  <andythenorth> but I won't work on bananas 2 at the moment
19:24:54  <Ammler> ah well, then you should have just said it, no need to get it running then...
19:25:01  <andythenorth> It was worth it
19:25:09  <Ammler> yeah, you can create tickets here
19:25:12  <andythenorth> documenting stuff is a good task for tonight
19:25:30  <Ammler>
19:27:21  <andythenorth> Ammler: there's no particular security risk leaving instructions visible in public?
19:28:07  <Ammler> the project is not public
19:28:15  <Ammler> but well, I don't care
19:28:39  <Ammler> you can create another project for public, if you like
19:29:01  <Ammler> one where e.g. the app is part of the repo
19:29:03  <andythenorth> I mean for the ticket that I just added :)
19:29:11  <andythenorth> contains port numbers etc
19:29:13  <andythenorth> should be ok though
19:30:14  <Ammler> you should not use root for uploading user stuff
19:30:17  <Ammler> use andy there
19:31:05  <Ammler> you should also not start paster as root
19:31:38  <Ammler> mainly, you should never do something as root
19:31:44  <Ammler> don't you know that?
19:32:12  <Ammler> that is a generic rule ;-)
19:33:01  <Ammler> that is the reason, the poor ubuntu users aren't even able to login as root
19:33:43  <Ammler> suse does expect a bit smarter users :-P
19:35:54  <Ammler> you don't harm our host, just your vm, so no worry
19:44:44  <andythenorth> Ammler: :)
19:44:53  <andythenorth> 'never use root' is standard on OS X
19:45:04  <andythenorth> but on our production web servers we run lots of the main processes as root
19:45:06  <andythenorth> not sure why
19:45:23  <Ammler> don't think so
19:45:25  <andythenorth> there is a reason, our sysadmins are quite security minded
19:45:29  <Ammler> those are system deamons
19:45:44  <Ammler> they run through init scripts
19:45:53  <Ammler> which of course run as root
19:46:02  <andythenorth> by 'main' I mean web frameworks / databases
19:46:16  <Ammler> you don't switch to root and start tools
19:46:48  <andythenorth> yes
19:46:56  <andythenorth> login as user, switch to root, start process
19:47:05  <Ammler> really? strange
19:47:08  <andythenorth> some of the processes used to have their own user, but we stopped that for some reason
19:47:15  <andythenorth> I'll ask :P
19:47:34  <Ammler> don't get me wrong, we run many things as root
19:47:59  <Ammler> but I don't start those things manually, I add those to the init scripts (runlevel editor)
19:48:17  <Ammler> eveything which needs port < 1024 needs root
19:48:22  <andythenorth> we have varying degrees of 'properly setup' boxes
19:48:41  <andythenorth> some are more golden than others
19:49:04  <andythenorth> the properly setup ones have supervisord and various scripts
19:49:12  <Ammler> you use root just if a usual user doesn't fit
19:49:24  <Ammler> e.g. to install something
19:49:40  <Ammler> or to configure /etc
19:50:01  <andythenorth> yeah, I'm not sure what the reason is
19:51:50  <andythenorth> anyway
19:51:59  <andythenorth> to rebuild bananas, I need a collaborator
19:52:09  <andythenorth> I don't work well alone :P
20:38:10  <Yexo> Ammler: yes, -C regression works, why would it not?
20:40:23  <Ammler> because I used cd regression && make
20:41:02  <Ammler> I guess, make -f doesn't
20:45:23  <Yexo> make -f choses a makefile but doesn't change the directory
20:45:32  <Yexo> which means relative paths are wrong
21:12:24  *** andythenorth has quit IRC
21:20:40  <Ammler> Yexo: why don't we add a Makefile to nml root?
21:20:46  <Ammler> all:
21:21:16  <Yexo> because nml is build using setuptools, not a makefile
21:21:20  <Yexo> and I'd prefer to keep it that way
21:21:34  <Ammler> ./ build; install: ./ install --skip-build etc...
21:22:35  <Yexo> show me a few other python projects that do it that way and I'll consider it
21:23:23  <Ammler> well, you could also add a target check
21:37:32  *** Tloo-ZaRaZa has quit IRC
21:42:40  *** frosch123 has quit IRC
21:44:49  <Brot6> NewGRF Meta Language - Revision 1431:50253e37650e: Cleanup: Remove the possibility to define real... (Hirundo) @
21:44:49  <Brot6> NewGRF Meta Language - Revision 1432:190c9e086b83: Fix: Indentifiers in function parameters shoul... (Hirundo) @
21:56:51  <Brot6> NewGRF Meta Language - Revision 1433:98f65d3653a1: Feature #2761: allow variable access in switch... (yexo) @
22:02:31  *** JVassie has quit IRC
22:03:06  *** bodis has quit IRC
22:26:47  *** JVassie has joined #openttdcoop.devzone
22:35:30  <Brot6> NewGRF Meta Language - Revision 1434:cca8069068c9: Feature #2761: allow variable access in random... (yexo) @
22:35:30  <Brot6> NewGRF Meta Language - Revision 1435:99f22de130ac: Feature #2761: allow variable access in random... (yexo) @
22:35:30  <Brot6> NewGRF Meta Language - Revision 1436:461e05bf5a02: Fix r1426: return values in (random-)switch mu... (yexo) @
22:35:32  <Brot6> NewGRF Meta Language - Feature Request #2761 (Closed): Allow direct variable access in return sta... (yexo) @
22:45:02  <Brot6> NewGRF Meta Language - Feature Request #1556 (Feedback): nfo output better readable (yexo) @
22:56:51  <Brot6> NewGRF Meta Language - Bug #1077 (Closed): internal error, assertion of byte value (yexo) @
23:37:15  *** Webster` has joined #openttdcoop.devzone
23:37:46  *** Hirundo has joined #openttdcoop.devzone
23:38:20  *** Webster has quit IRC
23:38:20  *** Webster` is now known as Webster
23:42:26  *** JVassie has quit IRC

Powered by YARRSTE version: svn-trunk