IRC logs for #openttd on OFTC at 2023-10-27
⏴ go to previous day
00:56:28 *** Rubidium has quit IRC (Remote host closed the connection)
00:56:30 *** Rubidium has joined #openttd
00:56:30 *** ChanServ sets mode: +o Rubidium
01:53:37 *** Wormnest has quit IRC (Quit: Leaving)
03:01:05 *** debdog has quit IRC (Ping timeout: 480 seconds)
08:04:18 <goddess_ishtar> up is a direction
08:24:15 *** thelounge34 has joined #openttd
08:32:49 *** thelounge34 has joined #openttd
08:55:10 <peter1138> Oops, I modified my local OpenGFX2_Classic-0.21.tar
08:55:30 <peter1138> There's no "verify files" like Steam has :D
09:01:49 <truebrain> Steam Workshop you say?
09:05:08 <peter1138> One of these days I'll sort out that layout :p
09:05:15 <truebrain> finally some proper debugging tools?! 😮
09:05:28 <peter1138> Eh, should I merge this one? I've been using it for ages...
09:05:54 <truebrain> sounds really useful 😛
09:06:04 <truebrain> I hate you for not telling me earlier 😄
09:06:37 <truebrain> the hours I spend breaking sweat and tears to understand what was going on .. all already solved! 😛
09:07:01 <truebrain> I am just kidding ofc; well, not for the part that this looks really useful when working on UIs 😄
09:07:04 <LordAro> i mean, he's always got a patch for that
09:07:23 <LordAro> it's your own fault for not asking really
09:07:46 <truebrain> wow, you should be a manager 😛
09:11:40 <peter1138> So, er, something in my CI is randomly segfaulting.
09:12:01 <LordAro> those are the most fun
09:12:01 <peter1138> This results in the PR's CI test succeeding, but when it gets merged it can fail.
09:13:40 <peter1138> So it doesn't get automatically deployed to the test platform...
09:17:19 <peter1138> I wonder if there's a memory limit or something that sometimes get hit. I suspect not as I'd expect that to either always occur if so.
09:19:53 <goddess_ishtar> truebrain: there's licensing issues involved with Steam integration, aren't there?
09:20:14 <goddess_ishtar> since it's closed-source and we're under GPL
09:21:00 <truebrain> no clue where that information comes from, but no. OpenTTD is an open platform, as in, we don't preference one distribution platform over the other
09:21:05 <truebrain> our game is the same no matter where you get it from
09:21:11 <truebrain> in result: no Steam Workshop
09:22:02 <goddess_ishtar> truebrain: I remembered reading some PR about why we don't have social integration
09:22:48 <peter1138> Imagine if you could only download OpenGFX 2.0 HQ if you had OpenTTD on Steam, because they only uploaded it to Steam workshop.
09:23:02 <truebrain> Steam Workshop has nothing to do with the social / rich presence discussion 🙂
09:23:06 <truebrain> they are 2 totally different things 🙂
09:24:17 <goddess_ishtar> it's not like Steam Workshop really offers anything that Bananas doesn't provide anyway
09:28:32 <goddess_ishtar> peter1138: classic Apple
09:29:05 <goddess_ishtar> the best part is the fact that it's to discover AirPlay devices on the network
09:29:30 <LordAro> that multicast stuff has been the bane of network admins for years
09:29:50 <LordAro> most networks entirely block it, iirc
09:30:10 <LordAro> most non-residential networks*
10:23:47 <peter1138> Should I get myself some LTE6 backup internet...
10:24:35 <peter1138> For that one time in X years the FTTC went down...
11:01:22 <_glx_> peter1138: Don't we have MD5 in .obg (or maybe you also touched it) ?
11:02:04 <peter1138> Not for the text files -- I renamed readme.txt to readme.md.
11:04:34 <peter1138> We could make hashes of the uncompressed .tar files and compare them, but it's not hugely important.
12:06:40 <peter1138> LordAro, why did my knee fail me and why are my legs just aching?
12:06:52 <peter1138> Barely ridden this week..
12:12:27 <LordAro> someone forgot to increase the ##length :p
12:14:01 <peter1138> Cue the bug reports... "Why are there white lines everywhere?"
13:29:04 <pickpacket> I know I've mentioned it before, but I'd like to make it visible in the town listing which towns I've built a statue in. I don't know where in the code to do that or, maybe more importantly, how to symbolise it :)
13:33:31 <peter1138> Where is quite simple, in the code for the town list window.
13:49:12 <_glx_> and a string code like {STATUE} which would show the glyph depending on local_company and town statue presence for local_company
13:50:58 <_glx_> (string code might not be required)
13:51:27 <peter1138> Not normally... if you wanted it to appear anywhere a town name is drawn, perhaps.
13:52:27 <_glx_> oh it could be handled by {TOWN} directly, that way you also get the statue status in town window
13:53:07 <_glx_> but can be weird in some places
13:53:44 <Rubidium> as in station names?
13:53:59 <_glx_> yeah or subsidies offer
14:06:44 <peter1138> Probably just the list is fine :)
14:07:12 <peter1138> Along with a separately drawn sprite, so that it can have colour.
14:07:30 <peter1138> (You could draw a statue for each company in company-colour)
15:10:33 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
15:16:31 <bungus> is there any benefit to building multiple statues?
15:17:15 <bungus> if there isnt, why not just disable the option to build a statue in the funding window if one has already been built?
15:17:58 <bungus> ive always built a couple in big cities because they look cool but i never knew if the bonus stacked
15:24:06 <Eddi|zuHause> there is an option to build multiple statues?
15:25:16 <peter1138> No, you can already only do it once.
15:54:26 *** Wormnest has joined #openttd
16:15:55 *** frosch123 has joined #openttd
16:15:55 <frosch123> looks like we do not use icu for that
16:16:17 <frosch123> icu case-folding is pure magic
16:16:39 <frosch123> oh, wait, maybe we do, so many ifdefs...
16:17:53 <alfagamma7> what a can of worms
16:18:35 <frosch123> i love how languages even disagree on how to lower/uppercase things
16:19:17 <frosch123> whether uppercase "i" is "I" or "İ", and stuff
16:19:20 <alfagamma7> Based on what script
16:19:28 <alfagamma7> ah latin script okay
16:46:25 *** virtualrandomnumber has joined #openttd
16:46:40 *** virtualrandomnumber has quit IRC ()
18:38:15 <DorpsGek> - Update: Translations from eints (by translators)
18:47:57 *** virtualrandomnumber has joined #openttd
18:47:57 *** virtualrandomnumber has quit IRC ()
19:32:32 <Rubidium> so who's up for implementing strcasestr with locale support? :( Or might it be easier to just to-upper or to-lower the strings with ICU/Windows/Mac specific APIs?
19:35:05 <peter1138> Make Latin case-sensitive too, so there is feature parity ;)
19:35:50 <frosch123> icu calls this "case folding"
19:36:18 <frosch123> it's neither upper nor lowercase, but something normalized, which can be compared
19:37:07 <frosch123> StrNaturalCompare already contains an #ifdef WITH_ICU_I18N though, so not sure what exactly it does there
19:45:06 <frosch123> oh, StringFilter does not even use that function, it just does strcasestr
19:45:23 <frosch123> so it probably only works for ascii
19:48:38 <Rubidium> can't really use strnaturalcompare there
19:50:24 <Rubidium> unless you essentially reimplement strcasecmp with strnaturalcompare, which will probably be quite bad performance wise
19:52:28 <frosch123> yeah no, i thought there would already be a case-folding function, but looks like it still needs wrapping from icu
20:47:23 *** HerzogDeXtEr has joined #openttd
21:21:30 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:22:31 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:30:51 <truebrain> if only distros actually updated header-only libraries ... what a joyful world that would be
21:51:56 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
22:01:20 *** ChanServ sets mode: +v tokai
22:08:18 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
22:35:39 *** Wormnest has joined #openttd
23:29:35 <peter1138> Urgh, the curse of using unsigned integer.
23:29:50 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
23:30:06 <goddess_ishtar> underflow issues?
23:32:06 <dwfreed> goddess_ishtar: I started over in MSC, and the game gave me a bad piston, much fun, but at least now the car is basically built; just needs coolant and the parts catalog gauges (which I just have to go pick up) and I need to do some of the odd jobs for more money
23:32:22 <peter1138> And you can't assert(x >= 0) because... it always is.
23:51:49 <_pruple> Eddi|zuHause: iirc you could build multiple statues in TTD - you could replace the entire town with statues of yourself if you had the money.
23:52:10 <_pruple> in OpenTTD you've been limited to one since 0.3.2, nearly 20 years ago 🙂
23:57:04 *** Wormnest has joined #openttd
23:58:45 <goddess_ishtar> _pruple: honestly that would be extremely funny
23:59:18 <goddess_ishtar> "Town? What town? This is my private statue garden."
continue to next day ⏵