IRC logs for #openttd on OFTC at 2012-05-18
⏴ go to previous day
00:17:20 *** Pinkbeast has joined #openttd
01:02:00 <KByte> Hello. I have been studying the openttd source code, and I cannot seem to to find out how it retrieves the master gamelist. The closest thing I have found is a NetworkGameList class, but it just adds NetworkGameInfo objects to a list
04:48:46 *** telanus has joined #openttd
04:56:17 *** Eddi|zuHause has joined #openttd
05:52:41 *** Devroush has joined #openttd
06:09:19 *** sla_ro|master has joined #openttd
06:10:10 *** LordPixaII has joined #openttd
06:11:44 *** telanus1 has joined #openttd
06:51:30 *** TWerkhoven has joined #openttd
07:40:00 *** Biolunar has joined #openttd
07:40:28 <NGC3982> man, this day goes so slow, i might even play some ttd while working.
07:50:35 *** Nat_AFK is now known as Nat_aS
07:51:29 <Nat_aS> and how is that a bad thing?
07:54:37 <Eddi|zuHause> which poor person works today...
08:03:46 <Nat_aS> I just got back from work
08:03:58 <Nat_aS> although it's friday when I get done
08:17:23 *** Hazzard has joined #openttd
08:17:42 <NGC3982> i just noticed something fantastic
08:17:52 <NGC3982> the energy output in CERN is about 6TeV
08:18:19 <NGC3982> that is the kinetic energy of two or three mosquitos
08:18:45 <NGC3982> that energy provides the Atlas detector with 40*10^15 petabytes of information - per second.
08:19:27 <NGC3982> it certanly gives a new picture on how information density works in the universe
08:24:39 <Nat_aS> as in how much energy they burn to stay alive. or how much energy you would get if you collided them with anti-mosquitos?
08:26:56 <NGC3982> hm, i guess it's more like five or six
08:27:46 <Nat_aS> well that's a way to make a lot of energy sound like not a lot of energy
08:28:10 <Nat_aS> if we had easy access to anti-mosquitos, we could solve all our energy problems
08:29:17 <Nat_aS> as well as ending malaria and other mosquito born desieases, and making being outside in the summer more enjoyable.
08:31:22 <NGC3982> the same energy output is created when colliding a non-anti mosquiot aswell
08:31:34 <NGC3982> and yes, the speed makes the exponential kick
08:31:48 <NGC3982> about three meters per second from the speed of light
08:32:22 <Hazzard> How fast are the 2 mosquitos going?
08:43:27 *** EyeMWing has joined #openttd
08:44:23 <Nat_aS> too bad you need to use whole hamsters (estimation) worth of energy to keep the thing running
08:57:14 *** Hazzard is now known as Hazzard_afk
09:27:20 *** Nat_aS is now known as Nat_AFK
09:33:26 *** Alberth has joined #openttd
09:33:26 *** ChanServ sets mode: +o Alberth
09:43:11 *** Keyboard_Warrior has quit IRC
09:45:21 *** FLHerne has joined #openttd
09:52:32 *** TGYoshi has joined #openttd
09:59:13 *** FLHerne has joined #openttd
10:09:22 *** Hazzard_afk is now known as Hazzard
12:13:17 *** Hazzard has joined #openttd
12:39:08 <NGC3982> in CSS, can i set the frequency of text-decoration:blink?
12:39:20 *** kkb110_ has joined #openttd
12:39:41 <Alberth> a grequency of 0Hz is definitely possible :p
12:43:23 <Alberth> css 2.1 cannot according to my book
12:50:26 <NGC3982> it was mostly annoying.
12:51:37 <Alberth> I would have to agree with that :)
13:14:07 *** TWerkhoven2[l] has quit IRC
13:28:23 *** kais58_ has joined #openttd
13:35:38 *** Prof_Frink has joined #openttd
13:48:44 *** kais58_ is now known as kais58
14:18:06 *** HerzogDeXtEr1 has joined #openttd
14:32:56 *** kkb110_ has joined #openttd
14:46:45 *** Belugas has joined #openttd
14:46:45 *** ChanServ sets mode: +o Belugas
14:48:10 <Terkhen> hi Alberth, telanus1 and Belugas :)
14:48:16 <Terkhen> and happy friday too :P
14:49:14 <Belugas> 3 days weekend coming in
14:50:34 <Alberth> I am already near the end of the 2nd day of my 4 day weekend :p
15:35:25 *** Progman has joined #openttd
16:11:45 *** Nat_AFK is now known as Nat_aS
16:32:09 *** Nat_aS is now known as Nat_AFK
16:35:57 *** kkb110_ has joined #openttd
16:36:27 *** Nat_AFK is now known as Nat_aS
16:41:35 *** sla_ro|master has joined #openttd
16:52:40 *** Devroush has joined #openttd
16:56:39 *** Nat_aS is now known as Nat_AFK
17:00:35 *** Nat_AFK is now known as Nat_aS
17:03:50 *** kkb110_ has joined #openttd
17:07:11 *** andythenorth has joined #openttd
17:12:49 *** TheMask96 has joined #openttd
17:20:58 <__ln__> so... if i have e.g. 1 second (8000 samples) of audio, and that's fast-fourier-transformed, the result is 8000 items of the spectrum?
17:24:05 <__ln__> and in any case, if the result is the spectrum, how does the inverse transform know how to put it back together in chronological order?
17:24:12 *** kkb110_ has joined #openttd
17:25:46 <planetmaker> __ln__: the FFT cannot ever give you 8000 samples, but a power of 2. If asked to do otherwise, it's both slower and will taper with 0 the missing entries
17:25:47 <blathijs> __ln__: A spectrum analysis just tries to approximate the original signal from a number of sine waves
17:26:19 <blathijs> __ln__: So the reverse is just summing 8000 sine waves, with amplitudes equal to the spectrum values
17:27:38 <blathijs> opa: Cosine is just phase-shifted sine
17:27:41 <planetmaker> y(t) = A1*sin(omega1*t) + A2*omega2*t + A3*sin(omega3*t) + ...
17:27:58 <blathijs> and the result of a FFT are complex values, where the imaginary part is the phase shift IIRC
17:28:03 <opa> fft gives you complex values. usually just the amplitude is plotted
17:28:05 <__ln__> planetmaker: well true, i know the length needs to be 2^n
17:28:08 <planetmaker> the FFT will give you the A1 ... AN while the original the y1
17:28:46 <blathijs> I also think the number of spectrum values does not equal the number of samples, but it is limited by it
17:29:13 <planetmaker> yep. No point to have higher freq. than the Nyquist theorem indicates implausible
17:29:24 <blathijs> the max frequency is limited by the sample frequency, not sure about the number of spectrum values though
17:30:01 <blathijs> if you stay below the Nyquist limit (.5 * sample freq, right?), you could have an arbitrary number of spectrum values I think
17:30:01 <opa> 8000 samples gives 4000 complex values
17:30:17 <opa> nyquist halvrs the number
17:30:36 <blathijs> At least in general Fourier Transform, FFT might have more specific constraints
17:30:55 <opa> using more than 0.5 causes aliasing
17:31:11 <planetmaker> blathijs: max freq. is N/2. And then you can get at most sensibly 2*N or so as lowest freq
17:33:29 *** logic1485 has joined #openttd
17:33:34 <opa> to the original question: the phase information contains what can be thought as the chronology within the window
17:34:28 <logic1485> can i ask something :p
17:35:44 <__ln__> so if the audio clip contains e.g. the word "Hello" spoken out, the same clip reversed ("olleh") doesn't have the same spectrum at all?
17:35:54 <FLHerne> logic1485: "Don't ask to ask, just ask" according to the subject line of this channel :P
17:35:57 <blathijs> logic1485: The topic says "Don't ask to ask, just ask", so I guess the answer is yes
17:36:06 <opa> fft has this odd behaviour that incresing the window increases only the frequency resolution. the noise stays at the same level
17:38:38 <opa> __ln__ if you are talking about fft output, then yes. if you mean the frequency power spectrum then no
17:39:12 <opa> usually spectrum refers to the second one
17:39:32 <__ln__> btw, i don't know of any other channels where one gets quick and detailed answers for such a wide range of topics, such as linear algebra, history, poetry, fourier transforms. :)
17:39:41 <opa> it is obtained by squaring the fft output and phase info is lost them
17:42:48 <opa> don't you laugh! dsp is a serious issue
17:44:23 *** andythenorth has joined #openttd
17:44:39 <Alberth> oh, *that*'s why you ask in a game-related channel about dsps :)
17:45:56 <CIA-1> OpenTTD: translators * r24262 /trunk/src/lang/ (catalan.txt dutch.txt latvian.txt russian.txt spanish.txt): (log message trimmed)
17:45:56 <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
17:45:56 <CIA-1> OpenTTD: catalan - 29 changes by arnau, mtormo
17:45:56 <CIA-1> OpenTTD: dutch - 9 changes by habell
17:45:56 <CIA-1> OpenTTD: latvian - 25 changes by Parastais
17:45:57 <CIA-1> OpenTTD: russian - 23 changes by Lone_Wolf
17:45:57 <CIA-1> OpenTTD: slovenian - 2 changes by
17:50:15 *** telanus has joined #openttd
18:13:43 *** mahmoud has joined #openttd
18:28:31 *** kkb110_ has joined #openttd
18:32:57 *** andythenorth has joined #openttd
18:58:01 <Zuu> So, I've translated 20 strings or so, but there is still so many to go.
18:58:24 <Zuu> I think I'll leve the rest for some other day or perhapse even someone else. :-)
19:20:08 <Terkhen> Zuu: I have been doing 30 or so everyday for days :P
19:20:16 <Terkhen> not today though, I'm on my break
19:26:07 <Zuu> hehe, actually I'm a bit alergic to having odd number of unused/used batteries in a hearing aid battery case :-)
19:45:40 *** kkb110_ has joined #openttd
20:34:31 *** Rhamphoryncus has joined #openttd
20:45:26 <nicfer> I've installed chillcore patchpack, tried to copy newgrf from my main installation but none show up
20:45:39 <nicfer> (I've copied also openttd.cfg)
20:47:11 <planetmaker> Many NewGRFs are too new meanwhile to work with chillpp
20:47:33 <planetmaker> newgrf-wise chillpp is 6 ... 9 months old. And loads of things changed
20:48:08 <planetmaker> tbh, I can't be arsed anymore to release newgrfs for pre-1.2 OpenTTD versions.
20:48:43 <planetmaker> many things got much easier to write for 1.2 from the newgrf author's pov
20:50:25 <FLHerne> chillpack is also before the folders got rearranged, isn't it?
21:43:23 <FLHerne> Did the cargo classes change in FIRS? I used to be able to put scrap metal onto UKRS2 flat wagons - now I can't :-(
21:45:27 <V453000> long time ago I think
21:45:39 <V453000> but yes that label changed
21:50:41 <FLHerne> Presumably 0.7.0? Do you know why?
21:52:45 <planetmaker> the cargo classes were changed
21:58:05 *** Hazzard has joined #openttd
22:00:15 <FLHerne> Or do you mean the entire system?
22:04:27 <planetmaker> FLHerne: the previously chosen classes for that cargo were sub-optimal. Thus for the sake of future a better set of classes were chosen for that cargo (or rather the replacement cargo)
22:06:15 <FLHerne> Are you sure? IMO, the vehicles that could transport it before seemed more suitable...
22:09:08 <V453000> I guess it wasnt just about the vehicles, vehicles can be adjusted just as well now, the problem was that the general structure got extra messy from what I understood from the discussions
22:09:17 <V453000> so it needed some resystematization
22:10:04 <FLHerne> Probably true. Maybe I should try and get Pikkabird to change UKRS2 to match then :P
22:10:33 <FLHerne> Also, this autorefitting makes dealing with supplies and farms so much easier :D
22:23:08 *** tokai|mdlx has joined #openttd
22:34:23 *** Hazzard_ has joined #openttd
22:34:49 *** Hazzard is now known as Guest607
22:34:49 *** Hazzard_ is now known as Hazzard
22:41:43 *** Oldskool has joined #openttd
23:33:57 <nicfer> I've spotted a glitch, I've got a station with PBS entrance, but when a train wants to enter, it gets stuck and doesn't find a path into it
23:34:34 <V453000> could be various problems
23:34:56 <nicfer> the station has trains coming from both sides and a line that stops at it
23:35:00 <V453000> either the free platforms have too high penalty so PBS rather prefers to wait for the other platforms
23:35:13 <nicfer> the last ones have the trains that get stuck
23:35:15 <V453000> image worth 1000 words? hint hint
23:35:25 <V453000> that is probably penalty issue
23:35:53 <V453000> you could also penalize the first few platforms for example with backwards 2way PBS too
23:36:00 <nicfer> I've fixed it by using a PBS signal at theback entrance
23:41:58 <nicfer> I've edited it with win7 paint and forgot to change the output format
23:47:56 <TinoDidriksen> Unreadable text...fussy red on green really does not work as JPEG.
23:49:07 <nicfer> forgot that ms paint saves to jpg by default
continue to next day ⏵