IRC logs for #openttd on OFTC at 2012-07-11
            
01:03:11 *** roadt has joined #openttd
01:08:14 <Pinkbeast> Eddi: honestly, II, Call to Power, III, Alpha Centauri, even Freeciv...
01:27:20 *** Pixa has joined #openttd
01:27:20 *** LordPixaII has quit IRC
01:48:39 *** Afdal has quit IRC
01:58:09 *** Elukka has quit IRC
02:14:45 *** M1zera has joined #openttd
02:17:16 *** M1zera has quit IRC
02:17:20 *** M1zera has joined #openttd
02:34:49 *** Jupix has quit IRC
02:37:35 *** Jupix has joined #openttd
02:44:37 *** LordPixaII has joined #openttd
02:50:26 *** Pixa has quit IRC
02:52:33 *** glx has quit IRC
03:11:29 *** Pixa has joined #openttd
03:15:43 *** LordPixaII has quit IRC
03:36:21 *** Kylie has quit IRC
04:31:27 *** Djohaal has quit IRC
04:45:23 *** Pixa has quit IRC
04:49:37 *** sla_ro|master has joined #openttd
04:49:37 *** LordPixaII has joined #openttd
04:50:20 *** jstepien has quit IRC
04:50:23 *** jstepien has joined #openttd
04:50:31 *** SpBot has quit IRC
04:50:34 *** SpBot has joined #openttd
04:56:01 *** Eddi|zuHause has quit IRC
04:56:16 *** Eddi|zuHause has joined #openttd
05:23:31 *** Prof_Frink has quit IRC
05:28:45 *** Pixa has joined #openttd
05:33:39 *** LordPixaII has quit IRC
05:37:24 *** LordPixaII has joined #openttd
05:41:39 <Rubidium> waterfoul: what version are you actually trying to compile? Doesn't look like anything recent-ish to me
05:42:13 <Rubidium> more like rather ancient
05:42:19 *** Pixa has quit IRC
06:07:01 *** telanus has joined #openttd
06:35:46 <Terkhen> good morning
06:36:02 <NGC3982> please, dont make me start playing civ again
06:36:08 <NGC3982> i have just aquired a life.
06:36:09 <NGC3982> :(
06:45:59 *** roadt has quit IRC
06:47:49 <dihedral> good morning
06:55:16 *** sla_ro|master has quit IRC
06:57:43 *** Rhamphoryncus has joined #openttd
07:02:04 <Terkhen> good morning dihedral
07:02:09 <dihedral> :-)
07:02:19 *** ludde has joined #openttd
07:02:35 <dihedral> a ludde?
07:02:44 <dihedral> hej hej
07:03:21 <ludde> hej
07:03:25 <Terkhen> NGC3982: I won't tell you about the many civilization IV mods, then
07:03:40 <Terkhen> hi ludde
07:04:53 <NGC3982> Terkhen: :)
07:05:01 * NGC3982 played civ2 as a kid
07:05:28 <Terkhen> I started with 1, having no idea
07:05:34 <Terkhen> some freeciv
07:05:41 <Terkhen> and then 4
07:40:28 *** roadt has joined #openttd
07:51:02 *** DDR has quit IRC
07:55:24 *** pugi has joined #openttd
08:19:17 *** cmircea has joined #openttd
08:26:00 *** levelbylevel has joined #openttd
08:26:07 *** mkv25 has joined #openttd
08:43:29 *** peter1138 has joined #openttd
08:43:29 *** ChanServ sets mode: +o peter1138
08:44:44 <peter1138> Hmm, anyone use TinyCa generated SSL certificates?
08:46:20 *** Alberth has joined #openttd
08:46:20 *** ChanServ sets mode: +o Alberth
09:09:44 *** sla_ro|master has joined #openttd
09:16:29 *** M1zera has quit IRC
09:34:34 *** FLHerne has joined #openttd
09:39:26 <dihedral> peter1138, i only have startssl.com certificates
09:39:45 <dihedral> they are free :-)
09:40:16 <peter1138> Yeah, just I used this CA for years before that sort of stuff existed.
09:40:31 <peter1138> Internal CA for internal stuff, kinda thing.
09:41:02 <peter1138> Only issue is that for some reason Windows often won't let me assign a TinyCA generated certificate to RDP
09:42:24 <peter1138> (And I need to use the internal CA for identity certificates too)
09:44:05 <blathijs> peter1138: Perhaps the certificates have the wrong role or usage type (or whatever it's called...)
09:48:37 <peter1138> Hmm, nsCertType is "SSL Server"
09:48:47 <peter1138> keyUsage / extendedKeyUsage are not set.
09:50:52 *** sla_ro|vista has joined #openttd
09:52:49 *** sla_ro|master has quit IRC
09:54:41 <peter1138> Right, I'll try changing that and having a go...
10:04:52 *** cmircea has quit IRC
10:20:53 *** HerzogDeXtEr has joined #openttd
10:22:26 <peter1138> blathijs, great, that did the job. Thanks for the hint.
10:22:32 <blathijs> :-)
10:23:45 <peter1138> Now if only the Linux RDP client would support TLS :-(
10:24:22 <peter1138> Can't be impossible, I have one on my phone that manages it.
10:26:24 *** HerzogDeXtEr1 has quit IRC
10:28:52 <peter1138> Okay, possible xfreerdp, but Squeeze's version is too old... :S
10:29:00 *** cmircea has joined #openttd
10:29:19 <peter1138> Yup, the Wheezy version is good.
10:30:08 *** telanus1 has joined #openttd
10:32:37 <peter1138> And X11 doesn't listen on tcp anymore. Hmm.
10:33:44 *** telanus has quit IRC
10:37:06 *** peter1138 has quit IRC
10:46:44 *** sla_ro|vista has quit IRC
10:54:16 *** Elukka has joined #openttd
11:18:45 *** sla_ro|master has joined #openttd
11:29:19 *** tokai|noir has joined #openttd
11:29:19 *** ChanServ sets mode: +v tokai|noir
11:35:26 *** tokai|mdlx has quit IRC
12:03:54 <NGC3982> having the new improved zoom in mind, is there any plans on increasing zoom levels for the map window aswell?
12:05:40 <FLHerne> What would the point be? It shows the things it's designed to show fine already
12:12:01 <Eddi|zuHause> NGC3982: it was decided a while ago to not include map zoom (in)
12:12:35 <Eddi|zuHause> (there was a patch for that, but only the zoom out part was included)
12:13:46 <Alberth> euhm, I rewrote the entire patch :)
12:14:22 <Eddi|zuHause> quite possible :)
12:15:57 <Alberth> and as FLHerne already said, I did not see any point in adding zoom-in
12:16:42 <Alberth> in fact, today, I'd favour merging main display and minimap window
12:17:07 <Alberth> with the major problem being what to do with the bottom part of the minimap that explains the symbols
12:17:51 *** sla_ro|vista has joined #openttd
12:18:17 * Alberth ponders not adding a minimap to FreeRCT
12:19:19 *** sla_ro|master has quit IRC
12:19:26 <Eddi|zuHause> Alberth: a "map toolbar" similar to the transparency toolbar, that allows showing some overlay data?
12:20:14 <Alberth> perhaps
12:20:15 <Eddi|zuHause> some hybrid of the 64x zoom out patch and the catchment/town area overlay patch (which i forgot the name of)
12:20:20 <NGC3982> Eddi|zuHause: i see. thank you.
12:20:51 <NGC3982> FLHerne: nothing particulary practical. i usually use the map to keep my eye on potential clogs and wait-makers.
12:20:54 <NGC3982> :)
12:21:18 <Eddi|zuHause> NGC3982: use extra viewports (V key)?
12:22:12 *** glx has joined #openttd
12:22:12 *** ChanServ sets mode: +v glx
12:22:41 <Alberth> Eddi|zuHause: town area overlay? how would that come into play?
12:22:49 <Alberth> hi glx
12:23:08 <Eddi|zuHause> Alberth: it had a separate window where you could select what to show in the overlays
12:23:24 <Eddi|zuHause> Alberth: also cargodist has a window to select overlays
12:23:28 <Alberth> ah, that would seem useful :)
12:29:19 <NGC3982> Eddi|zuHause: yes, that is a neat option.
12:34:25 *** M1zera has joined #openttd
12:40:57 *** FLHerne has left #openttd
12:43:30 <Hirundo> Alberth: I'm currently looking into your NML patch for andy's crash in FISH r749
12:44:17 <Hirundo> But if I do 'make', I get lots of nfo (including warnings, my renum might be ancient) but no NML anywhere
12:44:27 <Hirundo> Do I need to change some config setting?
12:44:38 <Alberth> make on fish?
12:45:08 <Alberth> run ./makefish.sh
12:45:22 <Hirundo> ah, thanks
12:46:53 <Alberth> I am not sure what exactly the right point is in checking existence
13:03:53 <Hirundo> get_translation is also used when outputting strings (in action4 etc), best not touch that
13:03:55 *** peter1138 has joined #openttd
13:03:55 *** ChanServ sets mode: +o peter1138
13:12:43 <Hirundo> Alberth: I applied your fix a little higher in the call stack, thanks for the patch
13:13:21 <Alberth> ok, thanks for checking & fixing :)
13:17:50 <Belugas> hello
13:17:56 <Alberth> hello
13:28:54 * Belugas was "rediscovering" the Rolling Stones, yesterday evening. Was playing Gimme Shelter and Paint In Black on the garden, after sunset.
13:29:26 <Belugas> and a neighbour came in, with his guitar, and we both kept on playing those :D
13:29:38 <Belugas> that was... a thrill
13:30:29 <Alberth> something to repeat one evening :)
13:33:48 <Belugas> yeah, i guess. would be lovely if i could do it with Truebrain, though
13:34:11 <Belugas> or, even better, with peter1138, but on his keyboard!
13:34:37 <Belugas> mh.. that would start to look like woodstock...
13:37:16 <peter1138> Unlikely, my keyboard is playing silly buggers.
13:37:38 *** TomyLobo has joined #openttd
13:37:53 <Hirundo> Eddi|zuHause: I'm not sure if I should consider http://dev.openttdcoop.org/issues/3642 a bug or a feature request
13:38:01 <peter1138> If I press fairly hard it'll send the proper note-on then a note-off and a quiet note-on
13:38:26 <peter1138> I guess there's a continuity issue somewhere.
13:38:43 <Belugas> ooops
13:38:45 <peter1138> But I haven't figure out how to take the keybed apart to diagnose it.
13:38:50 <peter1138> *figured
13:39:14 <Eddi|zuHause> Hirundo: does that matter?
13:40:00 <peter1138> Could even be one of the ribbon cables has a dodgy connection I suppose.
13:40:10 <Hirundo> If it's a feature request, I have a reason not to implement it :-) as it's quite complicated
13:40:29 <dihedral> o/
13:40:36 <Belugas> looks like you have to test everything then... it does that on all keys?
13:40:43 <peter1138> Not all.
13:41:00 <peter1138> But large chunks :S
13:41:00 <Belugas> mmmh
13:41:33 <peter1138> Btw, anyone want to buy a MIDI keyboard? Immaculate condition, works perfectly? :p
13:41:48 <Hirundo> Basically, you need to parse the string for all languages that have one or more substrings defined, but you only know which languages have substrings defined after you have parsed the string
13:42:21 <Eddi|zuHause> Hirundo: well let's phrase it this way: it caught me as "unexpected behaviour"
13:42:57 <Hirundo> Would you expect translated bits to appear in an otherwise english string?
13:43:05 <Eddi|zuHause> yes
13:43:55 <Belugas> lol @ peter1138
13:44:03 <Eddi|zuHause> well the use case were "language agnostic" composition strings, like "STR_TWO_LINES:{STRING}{}{STRING}"
13:44:29 <Belugas> i have to admit, repairing my guit seems a bit easier ;)
13:44:38 <Eddi|zuHause> which i have to duplicate for each language, even though it won't ever change
13:44:44 <Belugas> but granted, there is far less hardware!
13:45:12 <peter1138> Yeah, they're a lot simpler.
13:45:25 <Eddi|zuHause> or the vehicle names, which are composed from a "universal" part and some "translated" parts
13:48:46 <Hirundo> Eddi|zuHause: I can understand the use case, but I can't think of a reasonable implementation (yet)
13:49:30 <Belugas> got to say, though, i feel bad for you. So you're going to try to repair it or get a new one?
13:49:53 <Eddi|zuHause> Hirundo: i don't know enough about the internals of nml, but my "strategy" would be to go through all parameters of the string, collect which languages have these parameters defined, and then generating the total string for these languages
13:50:29 <Eddi|zuHause> assuming the parameters are defined before starting to parse the string
13:51:58 <Eddi|zuHause> so you go through the string once to determine the languages, and then once for each language
13:52:19 *** Guilux has quit IRC
13:52:27 <Eddi|zuHause> and then you remember the languages in the symbol table
13:52:45 <Eddi|zuHause> i.e. each string in the symbol table has a set of languages
13:55:22 * Hirundo spots light bulb
14:03:27 *** Kylie has joined #openttd
14:05:00 * Belugas brings candles.
14:16:14 *** Jupix has quit IRC
14:16:40 *** TWerkhoven[l] has joined #openttd
14:19:11 *** Jupix has joined #openttd
14:42:37 *** Prof_Frink has joined #openttd
14:47:13 *** Biolunar has joined #openttd
14:50:04 *** telanus1 has quit IRC
14:59:44 *** levelbylevel has quit IRC
15:01:55 <NGC3982> for normal industries, production seems to halt after 2300 tonnes/year
15:02:10 <NGC3982> i fail to find documentation about it
15:02:41 <NGC3982> is this correct, or am i missing something? ;)
15:03:08 <Hirundo> Eddi|zuHause: Here you go :-) http://dev.openttdcoop.org/projects/nml/repository/revisions/908d9c5ffc36
15:07:43 <planetmaker> NGC3982: that is approx. correct.
15:08:18 <planetmaker> the industry can produce 256*8 or 256*9 units per month (depending on month length and timing)
15:08:24 <planetmaker> @calc 256*8
15:08:24 <DorpsGek> planetmaker: 2048
15:08:42 <NGC3982> planetmaker: i see!
15:08:48 <planetmaker> primary industries produce every... X ticks
15:09:12 <planetmaker> ans it fits either 8 or 9 times into a month
15:10:47 <planetmaker> @calc 72*30
15:10:47 <DorpsGek> planetmaker: 2160
15:11:05 <planetmaker> @calc 72*30/8
15:11:05 <DorpsGek> planetmaker: 270
15:11:26 <planetmaker> @calc 72*30/9
15:11:26 <DorpsGek> planetmaker: 240
15:28:02 <Eddi|zuHause> you have an obiwan and an obitwo
15:28:16 <Alberth> or two obiwans :)
15:28:28 *** Chrill has joined #openttd
15:28:33 <Alberth> but with the same spin direction
15:28:56 <Eddi|zuHause> a doubiwan ;)
15:29:02 <Chrill> Is there something wrong with BaNaNas? I keep trying to upload a Scenario but gets the answer "Unhandled Exception" and this has been ongoing for about two weeks
15:29:35 <Eddi|zuHause> Chrill: more details
15:29:40 <Alberth> which scenario?
15:30:01 <Chrill> uhm.. for 1.2.X, scenario called Archipielago Hermoso, 512x512 temperate with NewGRFs from bananas only
15:30:10 <Chrill> http://www.tt-forums.net/viewtopic.php?f=60&t=36465
15:30:32 <Alberth> TrueBrain: ^^
15:31:42 <TrueBrain> http://bugs.openttd.org/
15:31:43 <TrueBrain> Alberth: ^^
15:31:45 <TrueBrain> :D
15:32:22 <Alberth> np
15:32:41 <Alberth> Chrill: do you want to add a bug to the website or should I?
15:32:53 <Chrill> I'm not sure what the bug really is, to be honest
15:32:58 <Chrill> It could just be my scenario
15:33:05 <Chrill> but I have no alternative scenario to upload for testing
15:33:09 <TrueBrain> at the very basic upload your file there etc
15:33:23 <TrueBrain> like with an OpenTTD crash, basically :)
15:33:36 <Alberth> the bug is that you cannot upload, I think ;)
15:33:40 <Chrill> fair enough :p
15:33:43 <Chrill> I'll file a report
15:33:48 <Alberth> ok, thanks
15:34:22 <TrueBrain> for feature reference: BaNaNaS should never give an error; waiting for it won't make it magically go away, so please always file a bug report when you hit one :)
15:34:47 <Chrill> Absolutely
15:34:58 <Chrill> Category: no such thing as a bananas category, I guess Core is fair?
15:34:59 <TrueBrain> often it are corner cases in the files inside the uploaded file
15:35:05 <TrueBrain> there is a Website project
15:35:13 <TrueBrain> I wish FlySpray would show it more clear, but ... what can I say :P
15:35:48 <Alberth> Chrill: at the top-left, it says "OpenTTD" there are also other projects
15:36:04 <Alberth> TrueBrain: shall I file a bug? :D
15:36:12 <TrueBrain> FlySpray is kinda dead
15:36:14 <TrueBrain> I am unsure it will help
15:36:27 <TrueBrain> I really should deploy Jira to show it to you guys, but ... ugh .. time etc bladiebla
15:36:27 * Alberth nods
15:36:50 <Alberth> I was going to file one in the website project about FS being in need of replacement :D
15:38:58 <Chrill> Done!
15:39:01 <Chrill> Thanks for the help
15:39:17 <TrueBrain> tnx Chrill
15:39:23 <TrueBrain> will look at it hopefully later tonight
15:39:33 <TrueBrain> but honesty, that depends on how drunk I will get
15:39:52 <Chrill> Hopefully there should be some sort of log in BaNaNaS that will show I tried to upload and failed, no?
15:40:14 <TrueBrain> I just upload it in my test env, and it will tell me all kinds of things I don't want to read :P
15:40:23 <Chrill> lol
15:40:42 <TrueBrain> hmm, you only uploaded the .scn, not packed in any file?
15:41:46 <Chrill> correct
15:41:55 <TrueBrain> owh joy, this will be fun to fix then :D
15:41:57 <TrueBrain> hihi
15:41:59 <Chrill> lol
15:42:13 <Chrill> I only have a scenario to upload, it is what I tried to upload in the first place!
15:43:11 <Terkhen> I'm using JIRA at work... I don't like it much but since we are using a version from 2008 I guess that I can't judge it :P
15:43:28 <TrueBrain> Terkhen: Jira 5 is much better
15:43:32 <TrueBrain> you can now link to bugs etc :P
15:43:43 <TrueBrain> I wouldn't dare to let any of you work with Jira pre-5
15:43:46 <TrueBrain> it is short to horrible
15:43:55 <Terkhen> :)
15:43:58 <Alberth> thank you TrueBrain :)
15:45:10 <Hirundo> Alberth: http://dev.openttdcoop.org/issues/991 <- How do I detect if there are still cyclic imports?
15:45:50 <Alberth> build an import graph :)
15:46:11 <Alberth> I can make one if you like
15:46:20 <TrueBrain> Chrill: fun fact: I just uploaded that file just fine ... lolz
15:46:30 *** cyph3r has joined #openttd
15:46:42 <Hirundo> Is building such a graph complicated/
15:46:43 <Hirundo> ?
15:46:49 *** Julio has joined #openttd
15:46:56 <Julio> hello
15:47:21 <Alberth> find imports of each file, make a .dot file, strip the non-cyclic stuff, basically
15:47:28 <Alberth> hi Julio
15:47:46 <glx> oh we already use one of JIRA's author product
15:47:46 <Julio> i'm new to openTTD
15:48:01 <TrueBrain> glx: we do, yes
15:48:47 *** levelbylevel has joined #openttd
15:48:54 <Alberth> Julio: ok :)
15:50:00 <Alberth> Hirundo: alternatively, you can find the imports of each file, put them in some python data structure, and write some code to find the cycle
15:50:41 <Alberth> Hirundo: fyi: .dot files are from GraphViz, a package to draw 2d pictures of graphs
15:51:11 <TrueBrain> Chrill: hihi, UTF-8 issues .. how lovely :D
15:51:17 <peter1138> Gah, wtf
15:51:45 <peter1138> rsyslog set up to alert
15:51:48 <peter1138> via ommail
15:51:52 <TrueBrain> Xaroth: t = open("filename.txt"); t.write(title); t.close(); <- title is an utf-8 string; why would it fail?
15:52:18 <peter1138> send test event that matches rule, alert is raised
15:52:35 <peter1138> real event that matches rule, alert is not raised...
15:53:00 <Alberth> TrueBrain: python 2 should work, as it does not care about what the string contains
15:53:00 <peter1138> python?
15:53:03 <Xaroth> hm
15:53:18 <TrueBrain> Alberth: one would think
15:53:22 <TrueBrain> it fails
15:53:34 <Alberth> TrueBrain: add "w" for writing?
15:53:35 <TrueBrain> so I guess we both assumped the wrong thing :D
15:53:38 <peter1138> http://stackoverflow.com/questions/491921/unicode-utf8-reading-and-writing-to-files-in-python
15:53:38 <TrueBrain> it has it :)
15:53:51 <TrueBrain> Alberth: it is nothing that simple, as non-utf8 works :)
15:54:11 *** George has quit IRC
15:54:24 <Alberth> non-utf8 ?
15:54:33 <peter1138> open("filename.txt", "w", "utf-8") ?
15:54:56 <Xaroth> try
15:54:58 <Xaroth> import codecs
15:55:03 <Alberth> peter1138: if the string is already encoded, you don't want to encode it again
15:55:13 <Xaroth> file = codecs.open(file, "w", "utf-8")
15:55:25 <Alberth> unless the title is not utf-8 encoded, but a unicode string instead
15:55:33 <peter1138> yes but python is stupid about utf-8, iirc
15:56:03 <Alberth> TrueBrain: what's the error?
15:56:06 <peter1138> where does title come from?
15:56:29 <peter1138> if it's from the scenario then if it's not utf-8 then it'll fail in openttd too, right?
15:56:42 <TrueBrain> peter1138 wins a cookie for linking the right website
15:57:07 <TrueBrain> I solvd it by adding: title.encoding("utf-8")
15:57:10 <TrueBrain> now the file contains weird chars
15:57:15 <TrueBrain> I guess that is intended? No clue tbh :P
15:57:20 <Alberth> right, so it was unicode :)
15:57:35 <Alberth> or some other encoding :D
15:57:39 <TrueBrain> ^^
15:57:44 <TrueBrain> I hate Python for its utf-8 shit
15:57:46 <TrueBrain> it is just that: shit
15:58:01 <Xaroth> I'm long glad django takes care of a lot of the crap :p
15:58:15 <TrueBrain> Archipi��lago Hermoso
15:58:16 <TrueBrain> hmm
15:58:18 <Xaroth> saves me from having to get headaches
15:58:23 <TrueBrain> no clue how to validate the UTF string :P
15:58:34 <Alberth> decode? :)
15:59:01 <Alberth> u = title.decode('utf-8') :)
15:59:08 <TrueBrain> copy file to public_html
15:59:09 <TrueBrain> open in browser
15:59:11 <TrueBrain> set to utf-8
15:59:12 <TrueBrain> works :)
15:59:19 <TrueBrain> Alberth: I wanted to test it outside Python :P
15:59:24 <TrueBrain> Chrill: fixed; you should be able to upload now
15:59:26 *** pugi has quit IRC
15:59:52 <peter1138> so why doesn't my rsyslog work right? :p
16:00:38 <TrueBrain> funny enough, in Chrill's bug report he had a non-utf8 title :P
16:00:48 <TrueBrain> his failed uploads told me he tried utf-8 titles :D
16:00:56 * TrueBrain hugs BaNaNaS for keeping track of these things :)
16:01:04 <TrueBrain> tnx for the help guys :)
16:01:17 <TrueBrain> peter1138: maybe utf8 issues? :P
16:01:22 <peter1138> heh
16:02:32 <Alberth> thanks for fixing so quickly TrueBrain
16:02:39 <TrueBrain> I have to say, I had the same issue, but I cannot remember what the hell I did to fix it peter1138 :P
16:02:49 <Chrill> I failed :(
16:02:53 <TrueBrain> Alberth: I Wasn't planning to, but my roommates went to get food, so I have 10 whole minutes free! :D
16:02:59 <Chrill> Although I am using UTF-8
16:02:59 <Chrill> funny
16:03:02 <Chrill> ah wel
16:03:03 <Chrill> l
16:03:05 <Chrill> thank you TrueBrain!
16:03:06 <Alberth> :)
16:03:14 <TrueBrain> Chrill: as long as it works now :D
16:03:18 <Chrill> I shall try tomorrow for I am just about to leave :P
16:03:27 <TrueBrain> its funny that you are the first one trying to use utf-8, or at least: reporting it :D
16:03:40 <Chrill> :P
16:04:16 <Chrill> my coding is, in other words, really messed up
16:04:25 <Chrill> I use both UTF-8 and non-UTF-8 all at once
16:04:27 <Chrill> massive coolness
16:04:34 <Terkhen> I used in on tags some time ago too
16:05:50 <TrueBrain> Terkhen: we fixed tags months ago; someone used it before you :P
16:05:53 <Terkhen> but never in names
16:06:11 <peter1138> only thing i can see different is the real entry comes from an IP instead of a hostname
16:06:12 <peter1138> hmm
16:06:54 <Terkhen> I remember them breaking with the andalusia scenario too
16:06:55 <TrueBrain> peter1138: ah, yes; my issue was that when I tested it, it came from localhost, while the live event came from 'reserved.isp-name'
16:07:17 <TrueBrain> in other words: I filtered it wrong :D
16:07:22 <peter1138> heh
16:07:27 <peter1138> i'm not filtering on that though
16:07:51 <TrueBrain> we have one box with remote syslog, it had to handle localhost differently, else it came in an infinite loop \o/
16:07:53 <peter1138> and both the test and real events come from remote system
16:08:01 <peter1138> yeah :-)
16:08:26 <TrueBrain> remote syslog is fucking epic btw
16:08:35 <peter1138> it's essential
16:08:53 <TrueBrain> 100% sure nobody tempers with data, and centralized place to filter for 'bad' events :)
16:18:51 *** levelbylevel has quit IRC
16:30:53 <Terkhen> gah, subsidies are broken again?
16:35:53 *** peter1138 has quit IRC
16:54:53 <Alberth> or he services industries too well :)
17:01:37 *** mkv25 has quit IRC
17:05:52 *** KylieBrooks has joined #openttd
17:05:52 *** Kylie has quit IRC
17:16:53 *** HerzogDeXtEr has quit IRC
17:18:01 *** HerzogDeXtEr has joined #openttd
17:23:20 *** Guilux has joined #openttd
17:25:15 *** DDR has joined #openttd
17:28:05 *** andythenorth has joined #openttd
17:29:06 <andythenorth> what did I miss?
17:30:03 <NGC3982> my naked body.
17:30:10 * NGC3982 runs about with his majesty suit on.
17:30:15 <andythenorth> didn't miss that
17:30:19 <NGC3982> ;_;
17:30:48 <Chrill> didnt want to see that? :P
17:31:13 *** frosch123 has joined #openttd
17:31:21 <Alberth> hi frosch
17:31:34 *** KouDy has quit IRC
17:33:08 <frosch123> moin
17:36:45 <andythenorth> lo
17:39:32 *** Zuu has joined #openttd
17:40:12 *** Wolf01 has joined #openttd
17:40:23 *** Guilux has left #openttd
17:40:25 <Wolf01> evenink
17:40:36 <Hirundo> Alberth: fyi - I wrote a script that managed to find exactly 1 cyclic dependency which is now fixed, see also http://dev.openttdcoop.org/issues/991
17:41:54 <Alberth> evenink Wolf01
17:42:00 <Alberth> Hirundo: nice :)
17:43:25 <Alberth> Hirundo: you're the dev here, so if you consider it sufficient, fine by me :) (I'll ask for a re-open of the task if I find a new one ;) )
17:44:25 <Alberth> but it's very good that you managed to eliminate all, having them is a sign that the code structure is not good
17:44:43 <Terkhen> hi frosch123 and Wolf01
18:07:49 *** Scorpio-BRZ has joined #openttd
18:19:15 *** Scorpio-BRZ has quit IRC
18:20:57 *** Scorpio-BRZ has joined #openttd
18:29:36 *** Supercheese has joined #openttd
18:35:14 *** Scorpio-BRZ has quit IRC
18:35:53 * andythenorth proposes an adventure with Pyramid
18:35:59 <andythenorth> would anybody like to play?
18:37:04 *** cmircea has quit IRC
18:37:05 <Alberth> time estimate?
18:37:10 <andythenorth> http://www.pylonsproject.org/
18:38:01 <andythenorth> I want to ship an app with BANDIT / FISH that can generate the config file from the browser
18:38:14 <andythenorth> http://www.pylonsproject.org/projects/pyramid/about
18:39:15 <Alberth> how would that work?
18:39:36 <Alberth> it generates a number that you enter in the config?
18:40:11 <andythenorth> similar to http://www.tt-foundry.com/sets/FISH/list_all_vehicles
18:40:18 <andythenorth> which has an edit view you can't access :P
18:40:28 <andythenorth> due to this running on one of our production webservers :P
18:40:32 <andythenorth> but I can :)
18:41:01 <andythenorth> http://dev.openttdcoop.org/attachments/download/2372/BANDIT_build.png
18:41:09 <Alberth> so I can set the intro date?
18:41:14 <andythenorth> yup
18:41:20 <andythenorth> you could do it in the config file just as easily
18:41:32 <Alberth> and then?
18:41:34 <andythenorth> but this allows me to render it to other things trivially, e.g. table view, documentation etc
18:41:56 <andythenorth> and then http://www.tt-foundry.com/sets/FISH/render_vehicles_to_config_file/
18:42:08 <andythenorth> (page source is better formatted)
18:42:23 <andythenorth> ^^ that file is curled by my build script to build FISH
18:43:29 <Alberth> k
18:43:39 <andythenorth> it's moderately insane
18:43:41 <andythenorth> but I like it
18:43:58 *** cmircea has joined #openttd
18:43:59 <andythenorth> it's silly because there would be python classes for vehicles in the web app
18:44:02 <Alberth> yeah, it is somewhat overkill-ish
18:44:05 <andythenorth> these are then rendered to a config file
18:44:10 <andythenorth> then rebuilt to python classes :P
18:44:42 <Alberth> make a "generate GRF" button :p
18:44:51 <andythenorth> It's overkill, but I just find a web cms easier to use than a spreadsheet
18:45:17 <andythenorth> the actual valid case is to have websites for my grfs
18:45:23 <andythenorth> running on the coop server probably
18:45:32 <andythenorth> in a way other people could understand and maintain
18:45:36 <andythenorth> if I leave / get hit by a bus
18:45:57 <andythenorth> currently the website is on one of our production boxes, totally unsupported and may die at any moment
18:45:58 * Alberth hopes that won't happen any time soon
18:46:21 <Alberth> (leaving, I mean)
18:46:29 <andythenorth> probly not
18:46:39 <andythenorth> unless I really start sulking about ship smoke
18:46:51 <andythenorth> or I start playing Dwarf Fortress
18:46:53 <andythenorth> or Minecrack
18:47:30 <andythenorth> although the low level of conversation here, and lack of interesting forum threads does make me stay away more :P
18:47:53 <Alberth> drawn to the dark side you are
18:48:12 <andythenorth> minecrack :P
18:48:36 <andythenorth> I actually need to learn pyramid to port a work app to it
18:48:51 <andythenorth> making a newgrf configurator seemed a simple project to get started
18:48:56 <Alberth> oh, it's work gor you :)
18:49:02 <Alberth> *for
18:50:03 <Alberth> ok, I'm completely clueless about web-thingies, but I'll play, right after I got myself some tea :)
18:52:51 * andythenorth should learn about virtual env
18:56:18 *** pugi has joined #openttd
19:02:33 * andythenorth enters the usual world of python setup rage
19:07:31 <andythenorth> what's really nice about setting up python is that the docs lie
19:07:36 <andythenorth> that helps a lot
19:08:51 *** roadt has quit IRC
19:09:47 *** sla_ro|vista has quit IRC
19:13:55 <andythenorth> screw virtualenv
19:13:57 <andythenorth> it's broken :P
19:15:27 <Alberth> http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/humans/setup.html <-- uses virtualenv
19:15:49 <andythenorth> yes
19:16:00 <andythenorth> I can't teach my OS to see virtualenv as a package
19:16:11 *** Julio has quit IRC
19:16:11 <andythenorth> easy_install installs it, but I can't run it
19:16:40 <andythenorth> I've installed pyramid to my site packages for now
19:17:39 * andythenorth does the SQL lite tutorial
19:17:44 <andythenorth> http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/single_file_tasks/single_file_tasks.html
19:18:39 <Supercheese> Hmm, tweaking road vehicle offsets so they look good (that is, stay in their lanes and don't "jerk" around corners) means the sprites lie quite a bit outside the bounding boxes. Is this ok?
19:19:15 <andythenorth> it will probably go wrong
19:19:16 <andythenorth> :P
19:19:24 <andythenorth> if it looks right in game, it's possibly right
19:19:36 <andythenorth> but if you do articulated vehicles, or switch the drive side, it may suck
19:19:49 <andythenorth> hmm
19:19:57 <Supercheese> Hmm, well nothing is articulated, but I haven't tested tunnels, maybe there's clipping there
19:20:01 <Supercheese> brb testing
19:20:09 <andythenorth> row-based storage should be fine for this config stuff
19:20:23 <andythenorth> although....then the build script could connect directly to sql lite, skipping the config file step
19:20:54 <andythenorth> and if I used ZODB, I could just store the classes there :o
19:21:07 <Supercheese> Yeah, there's some clipping, dangit
19:22:15 <andythenorth> http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/humans/zodb/index.html
19:22:22 <__ln__> http://www.americanphotomag.com/photo-gallery/2012/07/hungarys-thick-red-line
19:23:48 *** DOUK has joined #openttd
19:24:44 *** cyph3r has quit IRC
19:25:55 <Alberth> sql seems scary enough for now :)
19:27:08 <andythenorth> tempted to blitz my python 2.6 and start again
19:27:13 <andythenorth> although I've done that so many times :(
19:27:16 <Supercheese> Guess sticking closer to the bounding boxes is worth it
19:27:54 <andythenorth> yup
19:27:56 *** mahmoud has quit IRC
19:28:14 *** Chris_Booth has joined #openttd
19:30:12 <Alberth> it feels very Twisted-ish :)
19:31:11 <Belugas> Twisted Sisters
19:31:17 <Belugas> hoho... memories
19:32:35 <Alberth> Actually from twistedmatrix.com http://en.wikipedia.org/wiki/Twisted_(software) :)
19:33:17 <CornishPasty> Is there a Twisted for Ruby? Since I hate python :/
19:33:35 <andythenorth> how silly
19:33:48 <andythenorth> hating languages :)
19:34:04 <CornishPasty> Well, I don't hate it per se, I just dislike its syntax
19:34:23 <andythenorth> you should hate it's setup tools instead :P
19:34:32 <andythenorth> 'the state of python packaging' :P
19:34:48 <CornishPasty> Gems <3
19:35:28 <andythenorth> I tried the node.js package manager to install the less compiler
19:35:31 <andythenorth> it...just...works
19:35:38 <CornishPasty> npm?
19:35:42 <andythenorth> probly
19:35:59 *** Chrill has quit IRC
19:36:21 <CornishPasty> It's the same with Ruby
19:36:28 <CornishPasty> gem install <package> # done
19:36:31 <andythenorth> follow instructions, get working code
19:36:34 * andythenorth likes that
19:36:34 <Alberth> use a sane OS package manager instead :)
19:36:37 <Eddi|zuHause> syntax is irrelevant
19:36:53 <andythenorth> Alberth: I'd have to switch to a better OS :P
19:37:21 <Alberth> and that's not a worthwhile investment? :p
19:37:38 <andythenorth> I like OS X
19:38:00 <andythenorth> apart from the shocking state of packages
19:38:18 <Eddi|zuHause> Apple should be a teaching example for stockholm syndrome
19:38:26 <andythenorth> but python packaging is a screaming mess no matter which OS you have
19:38:55 <andythenorth> this is not a new assertion :)
19:39:34 *** M1zera has quit IRC
19:40:10 <Alberth> Eddi|zuHause: the point that Apple understood very well is that most users have simple computing needs
19:40:26 <andythenorth> mine are simple
19:40:30 *** KritiK has joined #openttd
19:41:05 <Alberth> mine are not :p
19:41:13 <Eddi|zuHause> Alberth: the problem for civilization is that people grow with the demands put at them. so if you don't demand anything from people, civilization degrades
19:41:21 <andythenorth> nah
19:41:28 * andythenorth finds the Joel quote of a quote
19:42:08 <andythenorth> or not
19:43:11 <Alberth> Eddi|zuHause: and being good with computers is good for a civilization? I somewhat doubt that for the general population
19:47:20 *** Wakou has joined #openttd
19:53:18 * andythenorth votes for sleeping time
19:53:37 <andythenorth> Alberth: I'm going to do more pyramid tutorial tomorrow
19:53:59 <Alberth> ok, good night
19:54:02 <andythenorth> bye
19:54:04 *** andythenorth has quit IRC
19:56:44 *** M1zera has joined #openttd
20:07:08 *** FLHerne has joined #openttd
20:16:37 *** Jupix2 has joined #openttd
20:18:04 *** Jupix has quit IRC
20:36:32 *** Peter2 has joined #openttd
20:36:57 <Peter2> !version
20:36:57 *** Peter2 was kicked by DorpsGek (Wrong channel. Retry in #openttdcoop.)
20:37:11 *** Peter2 has joined #openttd
20:42:38 <Alberth> you didn't believe me yesterday?
20:44:35 *** Alberth has left #openttd
20:57:47 <Chris_Booth> !password
20:57:47 *** Chris_Booth was kicked by DorpsGek (Wrong channel. Retry in #openttdcoop.)
20:57:49 *** Chris_Booth has joined #openttd
20:57:55 <Chris_Booth> oops
20:58:26 <Terkhen> good night
20:58:33 <Wolf01> 'night Terkhen
21:01:11 *** TomyLobo has quit IRC
21:10:06 *** Chris_Booth has quit IRC
21:10:50 *** Peter2 has quit IRC
21:25:59 <frosch123> night
21:26:03 *** frosch123 has quit IRC
21:26:25 <NGC3982> im trying to find the shortest possible formula to create a (as good as) random two digit number.
21:27:41 <NGC3982> with certain flamboyance, that is.
21:29:29 *** TWerkhoven[l] has quit IRC
21:29:56 <NGC3982> like, the current (two digit) local temperature, divided by the current julian date, then selecting the first last two known decimals.
21:31:05 *** George has joined #openttd
21:31:20 <Wolf01> 'night
21:31:28 *** Wolf01 has quit IRC
21:32:43 <Eddi|zuHause> NGC3982: maybe you have a misunderstanding what "random" means
21:44:35 <Supercheese> Hmm, maybe retrieve http://en.wikipedia.org/wiki/Special:Random and then run a search for the first two numbers? I very much doubt you'd encounter a page that has no numbers at all, especially since there's the "This page was last modified on ___" part at the bottom.
21:45:09 <NGC3982> Eddi|zuHause: random is relative, and for my purpose, the number will be random (and utter unscientific).
21:45:30 <Supercheese> Likely would lead to a preponderance of "19" due to the frequence of the years 1900-1999
21:45:32 <NGC3982> Supercheese: true.
21:45:45 <Supercheese> frequency*
21:46:02 <NGC3982> Supercheese: well, all i need to do is multiply with a known number thats always changing.
21:46:11 <NGC3982> Supercheese: where time is perfect.
21:46:50 <Supercheese> Making use of Wikipedia's random article feature in an algorithm just struck me as neat ;)
21:46:58 <Eddi|zuHause> NGC3982: "random" and "always different" are contradicting
21:47:09 <NGC3982> Eddi|zuHause: what are you trying to achieve?
21:47:21 <NGC3982> Supercheese: yes, indeed. its also easy for me to parse. :P
21:47:32 <Eddi|zuHause> NGC3982: the sequence "3,2,5,5,5,5,8" is totally random
21:47:39 <Eddi|zuHause> but 5 is repeated often
21:48:02 <Eddi|zuHause> artificially trying to have no repetition of the 5 in there makes it LESS random
21:48:32 <NGC3982> yes, that is true.
21:48:48 <NGC3982> but natural repetition doesnt break my experiment.
21:49:07 <Eddi|zuHause> NGC3982: if you want to have random numbers, use the rand() function
21:49:38 <NGC3982> that's a c++ command, right?
21:50:04 <Eddi|zuHause> it's (with minor differences) a command in pretty much any language
21:50:10 <NGC3982> i see
21:50:34 <Eddi|zuHause> occasionally it takes a parameter, i.e "rand(100)" for a number between 0 and 99
21:50:59 <NGC3982> how does it make the number?
21:51:32 <Eddi|zuHause> that depends on the language, the library, the os, ...
21:52:01 <NGC3982> ah, i see.
21:52:25 <NGC3982> the thing is, there is a reason for me wanting natural (pseudo-unrelated numbers) parameters to my function.
21:52:36 <Eddi|zuHause> the usual differences are between balancing speed and "randomness" [i.e. corellation effects, predictability, ...]
21:52:44 <NGC3982> ok
21:53:00 <Eddi|zuHause> nobody _ever_ considered "length of the formula" a serious issue...
21:53:56 <Eddi|zuHause> NGC3982: e.g. on linux the kernel provides two random number generators: /dev/random and /dev/urandom. the first one is "more random" and the second one is "fast"
21:54:10 <NGC3982> ok
21:57:16 <NGC3982> "In this implementation, the generator keeps an estimate of the number of bits of noise in the entropy pool."
21:57:21 <NGC3982> that's perfect!
21:57:48 *** Biolunar has quit IRC
21:59:24 <NGC3982> in it's reference frame and my experiment, /dev/random should thus be as random as anything can be
21:59:59 <NGC3982> since it's purely unguessable, even if the guniea pig knows the rules of the number creation.
22:00:27 * NGC3982 makes a note to thank Eddi while receiving the nobel price.
22:00:36 <NGC3982> when*
22:01:50 *** HerzogDeXtEr has quit IRC
22:03:35 *** Zuu has quit IRC
22:04:37 *** HerzogDeXtEr has joined #openttd
22:08:32 <Eddi|zuHause> NGC3982: no computer generated number can ever be "completely random"
22:21:50 *** FLHerne has left #openttd
22:22:45 <NGC3982> in reference, sure it can.
22:22:54 <NGC3982> and not using it is semantics.
22:23:09 <NGC3982> ill use /dev/random, by the way. thank you and good night.
22:24:14 <waterfoul> anyone willing to help me fix a compile problem? http://fpaste.org/Obua/
22:26:59 <Eddi|zuHause> waterfoul: you have an awful talent to come always when everybody is asleep
22:27:20 <Eddi|zuHause> waterfoul: and you haven't told us what version you try to compile and where and how you got it from
22:29:19 <waterfoul> I am trying to get a patch working and the oroginal code is from trunk
22:30:17 <Eddi|zuHause> right, then your patch is probably very old
22:31:02 <waterfoul> I figured, I was trying to get it to work and have fixed most of the problems
22:31:10 <waterfoul> its the IS2 patch
22:32:02 <Eddi|zuHause> waterfoul: the format for settings was changed fundamentally around r22172. settings.h is now autogenerated from settings.ini, so all changes to that file must be ported to the new format
22:32:24 <waterfoul> ok
22:32:45 <waterfoul> how do I regenerate it?
22:33:06 <Eddi|zuHause> waterfoul: the makefile does that automatically, if you change settings.ini
22:33:26 <waterfoul> /src/table/settings.ini correct?
22:33:30 <Eddi|zuHause> yes
22:35:16 <waterfoul> is there docs for how this file works?
22:35:38 <Eddi|zuHause> waterfoul: it's really rather straightforward
22:36:02 <waterfoul> looks simple enough but I don't wabnt to go monkeying without knowing how it works... (for example how do I add an include)
22:36:52 <Eddi|zuHause> waterfoul: in the old patch for settings.h you have some entries like STD_VAR(x,y,z,...), and in the beginning of settings.ini you have the #define STD_VAR(X,Y,Z,...), so in the [VAR] section you put X=x Y=y Z=z ...
22:38:35 <waterfoul> oh... that's why I was confused.... I was looking at the patch for settings.cpp DOH!
22:38:54 <Eddi|zuHause> that's gonna be difficult then :p
22:39:57 <Eddi|zuHause> the only thing you really will need to change is the min_version for the settings you introduce
22:40:26 <Eddi|zuHause> you increase SAVEGAME_VERSION in the .cpp file by one, and put that number as the new min_version
22:40:53 <Eddi|zuHause> otherwise you will get trouble loading savegames made by current trunk
22:42:52 <waterfoul> I don't see SAVEGAME_VERSION in settings.cpp
22:43:04 <waterfoul> *src/settings.cpp
22:43:30 <Eddi|zuHause> yes, it's in saveload.cpp
22:44:50 <waterfoul> can I leave off strhelp?
22:45:21 <Eddi|zuHause> if you leave out a setting it should put in the default value
22:45:22 *** Rhamphoryncus has quit IRC
22:45:50 <Eddi|zuHause> if in doubt, put STR_EMPTY or so, but it would be better style to actually add the right strings :)
22:45:51 <waterfoul> ok, they used SDT_CONDBOOL but I can't find the name for the last parameter
22:45:56 <waterfoul> what is it?
22:46:58 <Eddi|zuHause> waterfoul: you have an example?
22:47:08 <waterfoul> SDT_CONDBOOL(GameSettings, economy.infrastructure_sharing[0], 143, SL_MAX_VERSION, 0, 0, false, STR_CONFIG_SETTING_SHARING_RAIL, CheckSharingRail)
22:47:17 <waterfoul> sofar I have [SDT_BOOL]
22:47:19 <waterfoul> base = GameSettings
22:47:21 <waterfoul> var = economy.infrastructure_sharing[0]
22:47:23 <waterfoul> from = 176
22:47:25 <waterfoul> def = false
22:47:27 <waterfoul> str = STR_CONFIG_SETTING_SHARING_RAIL
22:47:33 <waterfoul> how do I add the CheckSharingRail
22:48:13 <Eddi|zuHause> ah, yes, that is a function that checks the validity of the setting on changing
22:48:25 <Eddi|zuHause> should be "proc"
22:49:34 <waterfoul> oh... I just found a newer patch in the forums
22:49:48 <waterfoul> looks like someone has already done it.... fail
22:50:10 <waterfoul> its for r24114
22:50:23 <Eddi|zuHause> they could have done garbage :)
22:50:40 <Eddi|zuHause> don't blindly trust stuff other people have done :)
22:51:14 <waterfoul> i fugured but there seems to be multiple testers of the new patch so I'll give it a shot, i'll make sure I hackup my work first though
22:54:30 *** ludde has quit IRC
22:56:26 <waterfoul> looks like they did do the settings ini right though
23:02:14 <waterfoul> I can;t remember... how do you enable debvugging symbols? it segfasults and I want to try to fix it
23:03:14 <waterfoul> found it, --enable-debug=3
23:06:48 *** KenjiE20 has quit IRC
23:14:40 *** KenjiE20 has joined #openttd
23:14:56 *** kkimlabs_ has joined #openttd
23:17:55 *** Pixa has joined #openttd
23:23:09 *** LordPixaII has quit IRC
23:27:12 *** MINM has joined #openttd
23:28:29 *** MNIM has quit IRC
23:35:24 *** kkimlabs_ has quit IRC
23:43:31 *** Supercheese has quit IRC
23:52:03 *** waterfoul has quit IRC