Config
Log for #openttdcoop.devzone on 4th January 2010:
Times are UTC Toggle Colours
01:20:09  *** KenjiE20|LT has joined #openttdcoop.devzone
01:25:03  *** KenjiE20 has quit IRC
02:45:22  *** KenjiE20|LT has quit IRC
03:46:17  *** PeterT has quit IRC
07:43:00  *** Webster has joined #openttdcoop.devzone
08:37:35  *** ODM has joined #openttdcoop.devzone
10:06:52  *** Madis has joined #openttdcoop.devzone
11:19:14  *** PeterT has joined #openttdcoop.devzone
11:24:03  *** Madis has quit IRC
11:36:10  <Ammler> I dropped the apache server tuning again, maybe it works now?
11:39:20  *** PeterT has quit IRC
12:12:27  *** KenjiE20 has joined #openttdcoop.devzone
14:05:18  *** welshdragon has quit IRC
14:06:53  *** welshdragon has joined #openttdcoop.devzone
14:09:57  <Webster> Latest update from devactivity: 2cc train set - Revision 417: Change: Added subdir(s) for wagon pcx'es, i.e. did put the pax pcx ... <http://dev.openttdcoop.org/projects/2cctrainset/repository/revisions/417>
14:29:34  *** DJNekkid has joined #openttdcoop.devzone
14:36:46  <DJNekkid> hi guys
14:58:04  <Webster> Latest update from devactivity: 2cc train set - Revision 418: Add: Flatbed pcx's <http://dev.openttdcoop.org/projects/2cctrainset/repository/revisions/418>
14:58:55  <planetmaker> hello DJNekkid :-)
14:59:03  <DJNekkid> :D:D
14:59:04  <planetmaker> happy new year to you
14:59:13  <planetmaker> what I wanted to ask you:
14:59:17  <DJNekkid> im not so sure ... it seems like i've finally have gotten the swine-flu :P
14:59:37  <planetmaker> if you enter in your console where you also use make and alike "m4 --version". What do you get?
14:59:48  <planetmaker> without "
15:00:15  <DJNekkid> GNU M4 1.4.7
15:00:25  <planetmaker> uh... swin flue... get well soon!
15:00:31  <planetmaker> ha, that's great news. Thanks, DJNekkid
15:01:08  <planetmaker> even newer version than I have ;-)
15:01:14  <DJNekkid> hehe...
15:01:16  <DJNekkid> cool :)
15:01:33  <DJNekkid> you know, us windows-guys :P
15:01:45  <planetmaker> well... newer than my mac shipped with.
15:01:52  <planetmaker> older than this linux box' version ;-)
15:02:12  <planetmaker> but I guess it doesn't matter too much.
15:02:25  <planetmaker> But that'd allow to use macros. Function macros...
15:02:36  <DJNekkid> oki :D
15:02:45  <DJNekkid> i.e. it can count and do math? :)
15:02:47  <planetmaker> And get me rid of a bit of the awk-mania with the lists
15:03:19  <DJNekkid> btw, i just ordered myself a new laptop...
15:03:37  <planetmaker> he, nice :-) What kind?
15:03:59  <DJNekkid> its one of thoose norwegian webshops "they build what i want" thinges ...
15:04:17  <DJNekkid> i think they are called something like "kunshan" on the international market
15:04:21  <DJNekkid> W860
15:06:06  <DJNekkid> 4gig 1333mhz ram, I7-820QM processor, 160GB SSD disk
15:06:30  <DJNekkid> Gforce GTX260M
15:07:35  <DJNekkid> brb, i need to shower
15:08:04  <Rubidium> what? Not internet in the shower?
15:17:44  *** Madis has joined #openttdcoop.devzone
15:19:21  <DJNekkid> back
15:19:49  <DJNekkid> but no, unfortunately not...
15:26:50  *** Madis has quit IRC
15:33:24  *** Madis has joined #openttdcoop.devzone
15:40:45  <Ammler> the new apache settings seems to work fine?
16:14:47  <Hirundo> Where is the hg executable located on the server?
16:15:50  *** Madis has quit IRC
16:25:42  <Ammler> Hirundo: whereis hg
16:25:59  <Ammler> but why do you need to know?
16:27:07  <Hirundo> according to the mercurial faq I am not able to find the hg exe
16:27:37  <Ammler>  /usr/bin/hg
16:28:06  <Ammler> but that is the most default binary location for non system installations
16:29:14  <Ammler> hmm, you still have issues to pull/push?
16:52:34  <Hirundo> ye
16:52:36  <Hirundo> ss
17:08:13  <Ammler> Hirundo: maybe you need to remove the fingerprint for the mercurial ssh
17:08:22  <Ammler> it might be another hostname you use there
17:08:43  <Ammler> hmm, but it worked once
17:19:02  *** Madis has joined #openttdcoop.devzone
17:24:45  <Hirundo> Yes, that's what confuses me
17:41:43  <Hirundo> I guess the problem is fixed
17:41:53  <Hirundo> Ironically, it was caused by installing ssh :)
17:45:46  *** welshdragon has quit IRC
17:46:06  *** welshdragon has joined #openttdcoop.devzone
18:18:36  *** Mark has quit IRC
18:31:09  *** Mark has joined #openttdcoop.devzone
18:39:46  <DJNekkid> planetmaker:
18:39:51  <DJNekkid> any chance this will work?
18:39:52  <DJNekkid> http://paste.openttd.org/220848
18:39:59  <DJNekkid> (or anyone else)
18:40:50  <planetmaker> I doubt in that form
18:40:57  <planetmaker> isn't equality == ?
18:41:14  <DJNekkid> but i want "equally or more"
18:41:55  <DJNekkid> for example: if THIS_WAG_CARGOTYPES is 4, i want it to use all spots
18:42:21  <DJNekkid> but hmm
18:42:30  <DJNekkid> i could probably use ifdef
18:44:00  <planetmaker> well, it certainly works *somehow* like that.
18:44:29  <planetmaker> But I assume that the way the expression has to be formed in #if <expression> clauses is different
18:45:27  <planetmaker> http://gcc.gnu.org/onlinedocs/cpp/If.html
18:45:28  <Webster> Title: If - The C Preprocessor (at gcc.gnu.org)
18:45:55  <planetmaker> #if (VARNAME == VALUE)
18:45:57  <planetmaker> might work
18:46:25  <DJNekkid> #if THIS_WAG_TYPE == NORMAL
18:46:26  <DJNekkid> that works
18:46:28  <DJNekkid> tested
18:47:05  <planetmaker> does it work in ALL cases? E.g. if THIS_WAG_TYPE is something else?
18:47:31  <DJNekkid> look in templates_pax_main.tnfo
18:47:38  <DJNekkid> line 133+
18:48:47  <planetmaker> true, I recall. If it works, then go for it.
18:49:22  <planetmaker> the assignment instead of the equality operator was what struck my eye, though ;-)
18:49:41  <DJNekkid> >= vs == ?
18:50:06  <planetmaker> = vs ==
18:50:10  <DJNekkid> aha
18:50:14  <DJNekkid> i noticed that as well
18:50:18  <DJNekkid> i just forgot :)
18:50:28  <planetmaker> I'm not sure about >=
18:50:41  <planetmaker> but if that works it's fine. I currently don't find a list of operators, though
18:51:52  <DJNekkid> http://gcc.gnu.org/onlinedocs/cpp/C_002b_002b-Named-Operators.html#C_002b_002b-Named-Operators
18:51:53  <DJNekkid> ?
18:51:53  <Webster> Title: C++ Named Operators - The C Preprocessor (at gcc.gnu.org)
18:51:59  <planetmaker> DJNekkid, I don't quite understand the code, though
18:52:13  <DJNekkid> it werent completly finished...
18:52:38  <planetmaker> why do you have exactly the same for all #if THIS_WAG_CARGOTYPES >= XXX
18:52:49  <DJNekkid> you see...
18:53:05  <DJNekkid> lets say the flatbed...
18:53:24  <DJNekkid> it currently have 4 cargotypes (i.e. 4 different gfx's)
18:53:31  <planetmaker> yes.
18:53:34  <DJNekkid> but 3 of them are 4 stage, and 1 of them is 3stage
18:53:42  <planetmaker> ok
18:53:57  <planetmaker> and?
18:54:16  <DJNekkid> i define, in flatbed.pnfo ...
18:54:29  <DJNekkid> #define THIS_WAG_CARGOTYPES 4
18:54:34  <planetmaker> yup
18:54:38  <DJNekkid> or FOUR
18:54:41  <DJNekkid> or whatever
18:54:53  <Rubidium> VIER! :)
18:55:04  <DJNekkid> FIRE :)
18:55:06  <DJNekkid> whatever ...
18:55:15  <DJNekkid> then, lets say the tanker
18:55:31  <Rubidium> no, fires ought to be reported via an email
18:55:59  <DJNekkid> the tanker is 1 stage and 1 gfx
18:56:08  <planetmaker> DJNekkid, yes, you defined now four cargotypes for the flatbed.
18:56:09  *** KenjiE20 has quit IRC
18:56:21  <DJNekkid> yup, with 4 different gfx'es
18:56:56  *** Madis has quit IRC
18:57:15  <planetmaker> but you include 1x the SAME code for a 1-cargo wagon, two times the SAME code for a 2-cargo wagon etc. No distinction of the cargo types in your code
18:57:28  <planetmaker> I don't see the different GFX referenced there.
18:57:46  <DJNekkid> because its not done yet :)
18:57:47  <planetmaker> for the different cargos
18:59:41  <Rubidium> DJNekkid: http://www.youtube.com/watch?v=1EBfxjSFAxQ&NR=1 :)
18:59:42  <Webster> Title: YouTube - The IT Crowd - Series 1 - Episode 2: Fire! (at www.youtube.com)
18:59:58  <DJNekkid> fire = four in norwegian Rubidium :)
19:00:11  <DJNekkid> en, to, tre, fire, fem, seks, sju, åtte, ni, ti :)
19:00:26  <planetmaker> I guess he knew ;-) As vier is in German
19:00:45  <planetmaker> and he knows where you and I come from ;-)
19:03:43  <DJNekkid> http://paste.openttd.org/220849
19:28:12  <planetmaker> DJNekkid: on the cost of longer defines, but I'd call it THIS_WAG_CARGO1_STAGES and so on
19:28:27  <planetmaker> that makes the names / the meaning clearer
19:42:29  *** PeterT has joined #openttdcoop.devzone
20:09:28  *** Madis has joined #openttdcoop.devzone
20:19:30  *** welshdragon has quit IRC
20:20:33  *** welshdragon has joined #openttdcoop.devzone
20:20:39  *** welshdragon has left #openttdcoop.devzone
20:23:08  *** welshdragon has joined #openttdcoop.devzone
20:37:14  *** Madis has quit IRC
21:28:10  *** Madis has joined #openttdcoop.devzone
21:58:04  *** andythenorth has joined #openttdcoop.devzone
22:12:06  *** Madis has quit IRC
22:15:10  *** Hirundo has quit IRC
22:15:11  *** Ammler has quit IRC
22:18:08  <PeterT> is it strange that Hirundo and Ammler left in the exact same second?
22:18:20  <planetmaker> no
22:18:31  <PeterT> just an odd coincedence/
22:18:34  <planetmaker> no
22:18:56  <planetmaker> I killed the server with the bouncer
22:19:32  <PeterT> what's a bouncer?
22:19:56  <planetmaker> an IRC relay which stays online for you, if you aren't.
22:20:15  <PeterT> oh
22:20:19  <PeterT> is it free?
22:20:20  <planetmaker> why do you guess I'm always on IRC whenever you're online? I'm not in front of a computer 24/7/365
22:20:31  *** Hirundo has joined #openttdcoop.devzone
22:20:40  *** Ammler has joined #openttdcoop.devzone
22:20:44  <PeterT> planetmaker: You could leave your computer on
22:21:00  <planetmaker> Hardly.
22:21:32  <planetmaker> I have a bouncer for that on a server :-). It keeps history for me... why should I have another machine running, too?
22:21:42  <PeterT> so, what bouncer do you use?
22:21:52  <planetmaker> znc
22:22:10  <PeterT> is it free?
22:22:22  <planetmaker> you can install it certainly on your server
22:22:35  <PeterT> my server?
22:22:40  <PeterT> I have a userpage, will that do?
22:22:54  <planetmaker> no. You'll need root access
22:23:01  <PeterT> Oh
22:30:11  <Ammler> PeterT: don't you use windows?
22:30:21  <PeterT> Ammler: Yes. :-)
22:30:25  <PeterT> Vista, actually
22:30:25  <Ammler> why do you always ask, if software is free?
22:30:37  <PeterT> most software isn't free?
22:31:04  <Ammler> but if you use windows, you seem not to care about
22:31:35  <PeterT> I don't understand
22:31:40  <PeterT> I do care
22:31:42  <Ammler> nevermind ;-)
22:31:58  <PeterT> No, please, will you explain it to me?
22:32:25  <Ammler> why do you pay the richest company on the world for software but everything else needs to be free?
22:32:53  <PeterT> the software came with the laptop
22:33:03  <PeterT> I guess I don't want to waste MORE money
22:33:06  <Rubidium> Ammler: because he stole from the richest company in the world
22:33:15  <Rubidium> isn't that obvious?
22:33:34  <Rubidium> or... he was visited and had to pay a hefty fine and has learned from that experience
22:33:48  <Ammler> :-)
22:38:11  <Ammler> planetmaker: thanks for the fix
22:39:06  <planetmaker> well, no worries. If it was a fix at all...
22:39:19  <planetmaker> s/was/were/
22:54:46  *** ODM has quit IRC
23:18:08  *** andythenorth has left #openttdcoop.devzone
23:19:14  <Webster> Latest update from devactivity: FIRS Industry Replacement Set - Revision 421: Add: polish language file <http://dev.openttdcoop.org/projects/firs/repository/revisions/421>
23:31:56  <PeterT> planetmaker: how do you make other languages avail. in a GRF?
23:47:45  *** KenjiE20 has joined #openttdcoop.devzone

Powered by YARRSTE version: svn-trunk