IRC logs for #openttd on OFTC at 2023-11-11
            
00:13:53 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
00:35:15 <johnfranklin> Mascarpone cheese latte
00:38:37 <peter1138> Cheese lathe
00:42:21 <johnfranklin> Once coffee was popularised in China, all types of custom-taste coffee popped out...
00:44:18 <johnfranklin> The largest chain coffee shop sells:
00:44:18 <johnfranklin> Orange Juice Americano
00:44:18 <johnfranklin> Coconut Latte
00:44:18 <johnfranklin> Mascarpone Cheese Latte
00:44:18 <johnfranklin> and even Spirit Latte (only taste of spirit, without alcohol)
00:45:34 <johnfranklin> And they are always best seller
02:55:10 *** Wormnest has quit IRC (Quit: Leaving)
03:09:08 *** Flygon has joined #openttd
03:30:37 *** D-HUND has joined #openttd
03:34:10 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:06:01 *** Beer has joined #openttd
04:35:19 *** keikoz has joined #openttd
04:39:32 *** Beer has quit IRC (Quit: Leaving)
06:27:18 *** keikoz has quit IRC ()
07:05:43 *** Wolf01 has joined #openttd
07:22:38 *** Smedles has quit IRC (Remote host closed the connection)
07:23:42 *** Smedles has joined #openttd
07:53:15 *** keikoz has joined #openttd
08:37:00 *** debdog has joined #openttd
08:37:34 *** debdog has quit IRC ()
09:20:11 *** nielsm has joined #openttd
10:38:47 *** alfagamma7 has quit IRC (Quit: User went offline on Discord a while ago)
12:39:28 *** _aD has joined #openttd
12:48:21 <peter1138[d]> Hmm, mixins are quite the thing
13:02:02 <andythenorth> have we discovered lunch yet?
13:03:22 <dwfreed> it's mixed in with work
13:03:24 * dwfreed ducks
13:22:00 <peter1138> Not on a Saturday though
14:20:56 <peter1138> Hmm, making the list divider thinner is... weird.
14:21:26 <peter1138> And messes up scrolling lists.
14:21:28 <peter1138> Hmm.
14:41:50 *** virtualrandomnumber has joined #openttd
14:49:00 *** virtualrandomnumber has quit IRC (Quit: virtualrandomnumber)
15:25:00 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1172919916932903043/image.png?ex=656211cb&is=654f9ccb&hm=0c6a0385bce230d7113814174320861311fc32947287f9f50606135bda50896d&
15:25:06 <peter1138> mixins made that super easy.
15:25:18 <truebrain> what is this for witchcrafting?
15:25:30 <truebrain> (it looks pretty)
15:25:33 <peter1138> Checkbox is a mixin.
15:25:36 <peter1138> Icon is a mixin.
15:25:38 <peter1138> String is a mixin.
15:25:46 <peter1138> Compose in whatever order is needed...
15:26:28 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1172920285486395432/image.png?ex=65621223&is=654f9d23&hm=0b0671da04c7c5afa955497444da8867099f1a5b3370f2e85840bf4c4e7b693e&
15:26:35 <peter1138> Icons I've never seen before ;D
15:27:06 <truebrain> do I dare to ask what you mean with "mixin"? πŸ˜›
15:27:15 <peter1138> CRTP-style.
15:27:41 <peter1138> (Not the same was as StrongTypes)
15:27:43 <peter1138> *way
15:27:51 <truebrain> example code? πŸ˜„
15:28:02 <peter1138> using DropDownListCargoItem = DropDownCheck<DropDownIcon<DropDownString<DropDownListItem>, false>>;
15:28:09 <truebrain> lolz
15:28:55 <truebrain> you are crazy πŸ˜› (in a good way)
15:29:09 <peter1138> StrongType uses a list instead, but this also uses virtual methods and calls from one to the next.
15:29:19 <peter1138> And, er... yeah, I don't know what I'm doing :p
15:31:31 *** Wormnest has joined #openttd
15:31:35 <peter1138> I was once accused of doing C++ in a very C way ;)
15:32:22 <truebrain> I am still in shock that I see icons πŸ˜›
15:32:34 <peter1138> Well we already have list items with icons.
15:32:40 <peter1138> On the toolbar menus.
15:33:30 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #11456: Codechange: Clean up timetable start checks https://github.com/OpenTTD/OpenTTD/pull/11456
15:34:56 <talltyler> I love the icons
15:34:59 <peter1138> Just proof of concept. Because it relies on templates, the shared implementations need to be headers.
15:35:21 <peter1138> I could less intrusively just use the existing DropDownListCheckedItem and not put an icon on it.
15:35:34 <talltyler> Nooo I want icons πŸ˜›
15:36:37 <peter1138> Hmm, could even mask items that aren't carried by any station.
15:36:42 <talltyler> Timetable in ticks is just about done, except my late counter is off by a factor of 2 and I’m not sure how πŸ˜›
15:37:08 <peter1138> Sounds like ticks per day vs ticks per second?
15:37:41 <talltyler> It does sound like that, but I used ticks per day
15:37:53 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1172923157938708510/image.png?ex=656214d0&is=654f9fd0&hm=7255091db8b80dfb6256a3d610cdcf16b9ff46bb69ba3830b2080a1491fed557&
15:38:03 <peter1138> ^ that's the rationale, truebrain
15:38:15 <truebrain> ah, those ugly buttons
15:38:17 <peter1138> "What do all these two letter codes mean"
15:38:19 <truebrain> I surprise their existence
15:38:22 <talltyler> Would it be more chaotic to ditch the acronyms and use icons there instead? πŸ˜›
15:38:25 <peter1138> "And the colours?"
15:38:43 <peter1138> talltyler, or use the drop down list instead?
15:39:03 <talltyler> Oh, is that what your screenshot is from?
15:39:05 <peter1138> I'd say that currently the icons are not really recognised anywya.
15:39:17 <talltyler> I assumed it was the station menu or something
15:39:18 <peter1138> Yes, I'm working on replacing those buttons.
15:39:20 <talltyler> Er, vehicle menu
15:39:40 <peter1138> Ah no... although we could easily add icons there now ;)
15:40:00 <peter1138> This one is only different because it has checks.
15:40:06 <peter1138> Multipe selection :D
15:40:32 <talltyler> Lololol I’m stupid
15:40:38 <peter1138> Oh?
15:40:40 <talltyler> Just need to figure out how stupid
15:41:00 <peter1138> We're all stupid, mainly because we're still working on this thing instead of moving on :D
15:41:42 <talltyler> Moving on to what? That’s why we haven’t. πŸ˜‰
15:45:50 <peter1138> Hmm, I wonder.
15:46:25 <peter1138> using DropDownListCargoItem = DropDownCheck<DropDownIcon<DropDownString<DropDownListItem, FS_SMALL>, false>, FS_SMALL>;
15:48:32 <peter1138> Yeah, that also works, except the icon is the same height as FS_NORMAL, so it's just small for no reason :D
15:51:09 <peter1138> I'm not sure what to display for the drop down label when it's not open. Maybe something like "Nothing", "Passengers", "Multiple", and "All" (for 0 β‡’ 1 β‡’ N-1 β‡’ N)
15:51:49 <peter1138> Hmm, complicated by "Nothing" being a valid option o_O
15:54:45 <peter1138> I checked with the original game. Much easier, there's no buttons or filters at all.
16:00:45 <_glx_> `[813/813 -- 108.037]Linking CXX executable openttd.exe` full release rebuild of master, that's fast πŸ™‚ (`[813/813 -- 42.225]Linking CXX executable openttd_test.exe` for debug)
16:07:41 <peter1138> 6 files changed, 198 insertions(+), 218 deletions(-)
16:07:43 <peter1138> Hmm.
16:10:22 <DorpsGek> [OpenTTD/OpenTTD] DefinitelyNotRau117 commented on pull request #11439: Change: Use sensible default settings for Cargo Distribution https://github.com/OpenTTD/OpenTTD/pull/11439#issuecomment-1806854275
16:12:38 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11439: Change: Use sensible default settings for Cargo Distribution https://github.com/OpenTTD/OpenTTD/pull/11439#issuecomment-1806854840
16:15:28 <peter1138> What was I doing...
16:34:05 <peter1138> SetDParamStr(0, "All");
16:34:19 <peter1138> ^ I recently realised I can do this for prototyping...
16:36:55 *** Wormnest has quit IRC (Quit: Leaving)
16:43:22 <ahyangyi> Jekyll is a mess, I should generate html directly instead
16:44:14 <ahyangyi> Adding localization basically requires me to rewrite all templates in the theme, makes me wonder what's the point of having a theme at all
16:47:51 <peter1138> Uh, reopening a dropdown immediately if an option was selected is... weird.
16:48:06 <peter1138> It selects the same option again, so indefinite toggle. :o
16:48:13 <ahyangyi> And that means I should study FIRS templates instead... a decision I should have taken months ago
16:57:44 <peter1138> Hmm, I guess Window::Iterate() will iterate windows added since the call to Window::Iterate().
17:04:53 <peter1138> No it can't be that, that would be an infinite loop.
17:20:05 <andythenorth> ahyangyi: I really liked Jekyll for the OpenTTD website, it was cool
17:20:20 <andythenorth> I would not recommend using Chameleon as I do in FIRS
17:20:40 <andythenorth> Chameleon is fantastic, but it's a niche templating language, and can be quite boilerplate heavy on xml-ish tags
17:20:52 <andythenorth> Jinja would be the weapon of choice currently, I believe
17:25:43 *** WormnestAndroid has joined #openttd
17:38:10 <ahyangyi> I'm not sure generating Markdown with Python code then translating them into HTML is really better than directly generating the HTML
17:38:30 <ahyangyi> But the OpenTTD website use case is much better suited to Jekyll
17:39:23 <ahyangyi> On the other hand, if I have to rewrite all the HTMLs, keeping Jekyll to do its stuff might not be a bad thing either... I dunno
17:40:15 <ahyangyi> Not much value added, but not much freedom taken away either
17:40:44 <ahyangyi> I mean, I can even jinja into jekyll
17:42:18 <peter1138> I have no beer :(
17:46:00 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
17:49:41 *** WormnestAndroid has joined #openttd
17:52:59 *** bryjen has joined #openttd
17:56:01 *** bryjen has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** Extrems has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** esselfe has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** WormnestAndroid has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** Kitrana has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** felix has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** asymptotically2 has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** greeter has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** dwfreed has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** ST2 has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** misterbungus has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** izhirahider has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** twpol has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** rightnut has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** mindlesstux has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** nebulabc_ has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** thelounge34 has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** Ttech has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** Smedles has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** APTX has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:01 *** Flygon has quit IRC (charon.oftc.net reticulum.oftc.net)
17:56:33 *** bryjen has joined #openttd
17:56:33 *** WormnestAndroid has joined #openttd
17:56:33 *** Smedles has joined #openttd
17:56:33 *** Flygon has joined #openttd
17:56:33 *** Extrems has joined #openttd
17:56:33 *** ST2 has joined #openttd
17:56:33 *** misterbungus has joined #openttd
17:56:33 *** esselfe has joined #openttd
17:56:33 *** felix has joined #openttd
17:56:33 *** asymptotically2 has joined #openttd
17:56:33 *** thelounge34 has joined #openttd
17:56:33 *** Kitrana has joined #openttd
17:56:33 *** mindlesstux has joined #openttd
17:56:33 *** rightnut has joined #openttd
17:56:33 *** dwfreed has joined #openttd
17:56:33 *** twpol has joined #openttd
17:56:33 *** izhirahider has joined #openttd
17:56:33 *** APTX has joined #openttd
17:56:33 *** greeter has joined #openttd
17:56:33 *** nebulabc_ has joined #openttd
17:56:33 *** Ttech has joined #openttd
18:01:50 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
18:12:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11456: Codechange: Clean up timetable start checks https://github.com/OpenTTD/OpenTTD/pull/11456#pullrequestreview-1726102143
18:14:58 <peter1138> (I've updated that comment in case you've already looked)
18:19:40 <talltyler> Ah, good catch
18:23:12 <andythenorth> peter1138: Wine is better anyway
18:23:18 <andythenorth> Less gas
18:25:15 <peter1138> Funnily enough I remembered I have some.
18:25:58 <peter1138> Did you see your icon list above?
18:27:39 <peter1138> > Cow farms: "A farm that do not keep disgusting pigs."
18:28:22 <peter1138> andythenorth, make Pig farms: "A farm that do not keep disgusting cows."
18:28:39 *** Tirili has joined #openttd
18:29:48 <ahyangyi> Piggery πŸ˜›
18:36:49 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/1432511fe502c1111444c96b077ae534df294e83
18:36:50 <DorpsGek> - Update: Translations from eints (by translators)
18:50:58 <peter1138> ΓΈ
18:50:58 <peter1138> ~
18:59:09 <DorpsGek> [OpenTTD/team] ahyangyi opened issue #463: [zh_CN] Translator access request https://github.com/OpenTTD/team/issues/463
19:21:39 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
19:44:56 <peter1138> Hmm.
19:45:05 <peter1138> Reopening to pretend it didn't close is a bit dodgy :/
20:39:49 <_glx_> override closing ?
20:42:49 <peter1138> Yes, that's my new plan :)
20:43:35 *** _aD has quit IRC (Ping timeout: 480 seconds)
20:45:58 <DorpsGek> [OpenTTD/team] glx22 commented on issue #463: [zh_CN] Translator access request https://github.com/OpenTTD/team/issues/463
20:51:52 *** WormnestAndroid has joined #openttd
20:53:53 <peter1138> Okay, that works.
20:54:07 <peter1138> Probably blows up if my updated list is not the same size as the original, but.
20:54:23 <peter1138> Inefficient :o
20:59:55 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
21:01:55 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:44:42 <peter1138> Shall I have another glass?
21:59:44 <peter1138> 10 files changed, 455 insertions(+), 537 deletions(-)
22:00:10 <peter1138> Huh. When you do a refactor, add some new features, and it comes to less lines of code...
22:01:16 <peter1138> Oh, wrong stats, that includes some layout changes too.
22:01:23 <peter1138> 10 files changed, 303 insertions(+), 372 deletions(-)
22:01:27 <peter1138> Still :D
22:51:19 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:55:21 *** WormnestAndroid has joined #openttd
23:05:59 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:17:39 *** Wormnest has joined #openttd
23:24:08 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #11456: Codechange: Clean up timetable start checks https://github.com/OpenTTD/OpenTTD/pull/11456
23:26:21 *** _aD has joined #openttd
23:50:47 *** WormnestAndroid has quit IRC (Remote host closed the connection)
23:50:48 *** WormnestAndroid has joined #openttd