IRC logs for #openttd on OFTC at 2025-12-08
β΄ go to previous day
00:22:01 <_zephyris> That _should_ fix it, not that I'm the most confident with makefiles
00:22:43 <_zephyris> Arg, trailing whitespace on a commit message, anyway time for sleep
01:00:54 *** ChanServ sets mode: +v tokai
01:07:50 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
02:54:17 *** Wormnest has quit IRC (Quit: Leaving)
03:45:56 *** MinchinWeb_1 has joined #openttd
03:46:32 <MinchinWeb_1> I'm trying to upload an update to my AI, but it refuses to recognize any txt files, including the license. How do I fix this?
03:46:45 <MinchinWeb_1> i.e. it fails validation
03:48:41 *** MinchinWeb[m] has joined #openttd
03:50:22 *** MinchinWeb_1 has quit IRC ()
04:22:24 *** Zathras_7 has joined #openttd
04:22:32 *** Zathras_4 has joined #openttd
04:23:35 <MinchinWeb[m]> I figured it out; the files have to have their filenames in lowercase
04:25:51 *** Zathras_11 has quit IRC (Ping timeout: 480 seconds)
04:25:56 *** Zathras_1 has quit IRC (Ping timeout: 480 seconds)
04:44:24 <DorpsGek> - Update: Translations from eints (by translators)
09:01:10 <peter1138> Oh, that doesn't count.
09:28:41 <peter1138> Hmm, is there a way to bulk remove tags from tickets/PRs?
09:29:05 <LordAro> probably only via api
09:33:36 <peter1138> Ah well. I have just removed "backport requested" from everything that never got backported to 14.x.
09:33:41 <peter1138> So it's now correct and useful again.
09:37:30 <pickpacket> I thought it could
09:39:06 <pickpacket> Oh! Sorry, that was talltyler's doing
09:42:12 <peter1138> I believe it only affects the starting point. So they will grow up/down hills, but not start there.
09:45:57 <kaibaneddy> pickpacket: It can't build anything on the steep slopes, so that particular town has no-where to go, no
09:47:15 <_zephyris> The aim for steep slopes is to avoid massive long roads with about 3 houses next to them, while the town's roads expand to find buildable space.
09:54:43 <pickpacket> _zephyris: oh, yeah! Forgot that the road can only go up/down
09:58:29 <_zephyris> (I do kinda miss the teeny tiny towns)
09:59:42 <pickpacket> _zephyris: me too, but I'm glad it wasn't turned into a discussion about making it a setting :D
10:00:19 <_zephyris> Yeah, we've got enough of those!
10:00:28 <_zephyris> talltyler: Do let me know if I can help w/steam, not sure how though.
10:00:43 <_zephyris> I'm guessing this is why there's no workflow for it.
10:00:48 <pickpacket> NEVER! We need more settings! MORE! <insert kylo_ren_more.gif>
10:33:27 <peter1138> Hmm, I think there's enough existing users with OpenGFX2 that we need a version to go out with the fixed internal version number, otherwise users may (I definitely do) get the 25 missing sprites message still.
10:40:16 <pickpacket> peter1138: are the sprites missing? π€
10:58:23 <_zephyris> I can do an 8.1 once that's merge
10:58:57 <_zephyris> The only way to test a release process is to do a release...
11:01:26 <peter1138> Yup, I just want to avoid talltyler putting 0.8 on Steam, when it might not work for many players.
11:03:53 <talltyler> Don't worry, I can't figure out how to put anything on Steam right now π
11:11:57 <_zephyris> One problem solved by another problem...
11:12:53 <_zephyris> @peter1138 FWIW I am planning on doing OpenGFX1 bridge decks, I think that's the last thing missing.
11:13:16 <_zephyris> Not planning on doing support for post-15 features, unless there's a complete uproar.
11:22:53 <peter1138> I suspect there might be a bit of "but I don't like change".
11:26:32 <peter1138> And anyone using aBase/zBase is going to have a lot missing. "Oh well">
11:32:22 <talltyler> Anyone who wants OpenGFX 1 can always switch back.
11:33:22 <peter1138> Hmm, Rito13 asked the question I was about it :)
11:50:04 <rito12_51026> You seemed busy preparing the release, didn't you?
11:52:33 <peter1138> Oh, I missed context. I was looking at #13265. You already asked a question there, ages ago.
12:18:00 *** Flygon has quit IRC (Read error: Connection reset by peer)
12:47:27 <peter1138> Hmm, tech learning is weird. Young people these days grew up with smartphones and cloud computing.
12:48:02 <peter1138> So there's a load of more technical stuff that they don't know, like what are directories and archives and backups?
12:48:14 <peter1138> And they're not taught bout that sort of thing.
12:48:40 <peter1138> And I'm pretty sure that I was never taught about that sort of thing either. I just figured things out because I was a computer nerd.
12:49:23 <peter1138> When your interaction with a computer is a BASIC prompt, instead of a menu with a grid of application icons to launch... things are different.
12:52:49 <_glx_> Things used to be not very user friendly
12:53:16 <LordAro> I was taught that sort of thing, but it was very much one of those doss classes
12:53:34 <LordAro> because, you know, everyone my age knew it all
13:02:00 <peter1138> I was never taught how to program. Some of you will, of course, say that's obvious ;-)
13:03:32 <peter1138> Actually I'm sure I probably was, but like you "I knew it all"
13:04:04 <peter1138> There was definitely one class with a BBC Micro that I programmed something way more complex than anyone else.
13:04:17 <peter1138> (Drawing a picture out of shapes)
13:05:10 <peter1138> We had some classes that involved programming a Z80 in machine code (including converting to hex), but I'd already been writing 6502 assembly before then.
13:11:59 *** Zathras_4 has quit IRC (Quit: Connection reset by beer!)
13:25:26 <rito12_51026> Why texteff.hpp is .hpp and not .h while it does not contain templates and dropdown_common_type.hβ is .h despite that it contain templates?
13:26:00 <LordAro> or possibly no raisins at all
13:34:44 <peter1138> We did have a PR to unify that...
13:35:04 <peter1138> All the script stuff is .hpp with no templates too.
13:35:58 <peter1138> So basically, we don't really care if it's .h or .hpp.
13:37:44 <rito12_51026> The CODINGSTYLE.md is misleading then
13:37:44 <rito12_51026> > If you are writing one or more template class in the dedicated header file, use file.hpp for its name instead of file.h. This will let others know that it is template library (includes also implementation), not just header with declarations
13:37:55 <peter1138> Some C++ guidelines (Bjarne Stroustrup involved) recommend always .h, so if you're adding new files use .h. Sometimes I forget.
13:38:02 <peter1138> Yes, the CODINGSTYLE.md is often out of date and not updated.
13:43:13 <_glx_> all my z80 (for TI-85) was learnt by myself
13:44:11 <peter1138> It's hard to search for :)
13:44:51 <peter1138> We didn't fix the rule :D
13:45:03 <peter1138> I also need to fix the rule about enums.
13:45:22 <peter1138> Not that it's necessarily universally agreed.
13:50:23 <peter1138> Enforcing .h vs .hpp would mean renaming files and updating includes if you happen to add the first or remove the last template from a header.
13:50:32 <peter1138> Which is a bit annoying :)
13:55:57 <xarick> i really like this in visual studio
13:56:06 <xarick> easy accessible command line
14:03:42 <_glx_> launch.vs.json works too
14:04:11 <_jgr_> "Please use .h for new header files" seems like an easier policy to apply that wouldn't generate lots of busywork
14:14:55 <audigex> Yeah for most code style changes (where thereβs no βrealβ reason to do it other than consistency) Iβm generally a fan of βX is the rule going forward, change non-conforming code as and when you interact with it for other purposesβ
14:22:52 <ahyangyi> Either that or people adopt an opinionated code formatter (like golang officially does) and everyone uses that formatter to format everything forever
14:23:08 <ahyangyi> which breaks `git blame` hard but at least not much busywork.
14:29:13 <peter1138> Why would it break git blame?
14:30:30 <LordAro> mm, pure file renames should be fine
14:30:39 <LordAro> other than hiding the changes to include files/paths etc
14:43:10 <rito12_51026> So if I want to add an entry to an enum that uses caps with "_" between the words I should reword all entries to use CamelCase and use `enum class` instead of `enum`?
14:46:22 <LordAro> that would be a separate change
14:46:39 <LordAro> "new enums should..." rather than "new enum values should..."
15:01:47 <peter1138> Yea, if you're extending an existing enum, it's fine to leave it in its current style.
15:15:36 <peter1138> Hmm, I guess max length may make sense for things like renaming stations, vehicles, etc.
15:17:56 <Rubidium> it might be fine to keep the enum in its current style, but don't be amazed that just after you open your PR another PR gets opened to change that enum's style :D
15:20:49 <peter1138> Well, just after branching for a release is not the best time for refactoring.
15:21:50 <peter1138> That's an odd email.
15:22:12 <LordAro> has a Nigerian businessman offered you lots of money?
15:33:06 <jfkuayue> the "anxiety due to countdown to flight after buying it" moment...
15:42:42 <rito12_51026> What does CTMN stands for?
15:43:40 <_jgr_> company toolbar menu, most likely
15:46:48 *** Zathras_4 has joined #openttd
15:47:41 <_glx_> and the N for network I guess
15:50:50 <peter1138> Probably. Because dropdown item values are stored as int, mixing with enum class is a bit of a pain.
15:51:23 <peter1138> WidgetID is an awkward one :)
15:53:14 <kuhnovic> And sourcetree did it again, added additional characters to the commit message when rebasing
15:58:03 *** wm is now known as MinchinWeb
16:06:07 <MinchinWeb> I'm trying to update the Wiki (through the wiki interface), and keep getting "Sorry, you have been blocked" blocked by Cloudflare.
16:06:13 <MinchinWeb> Cloudflare Ray ID: 9aad81fbbfb701e8
16:09:18 <MinchinWeb> Can someone unblock me please?
16:11:12 <LordAro> that's not any blocking we've done
16:16:13 <MinchinWeb> It's probably some sort of automated protection, rather than a manual block...
16:16:47 <MinchinWeb> It says "You can email the site owner to let them know you were blocked." and I figured this would do that but be faster
16:17:32 <MinchinWeb> Strangely, my first edit went through, but it won't let me keep going...
16:29:19 <LordAro> MinchinWeb: unless someone other than TB has access to the cloudflare console, i suspect the answer is not, i'm afraid
16:35:30 <Rubidium> too bad I can't merge that one though :(
16:35:34 *** gelignite has joined #openttd
16:35:57 <andythenorth> do we need to review our infra bus factor?
16:36:00 <andythenorth> and break glass?
16:36:47 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
16:38:26 <_zephyris> I made a new base set... Wondered how small a minimal one would be...
16:41:40 <_zephyris> Everything is a 1x1 white pixel... The train steam puffs look quite satisfying.
16:42:40 <andythenorth> we're doing night mode are we?
16:43:27 <LordAro> i've used 'nogfx' for testing in the past
16:43:38 <_zephyris> Night in the Kuiper belt mode.
16:44:02 <zanooda2000> _zephyris: finally proper nightgfx
17:02:10 <peter1138> Rubidium, yea, just go with it :)
17:03:11 <peter1138> Oh, we have a savegame bump in master and the RC isn't even made yet :o
17:03:31 <LordAro> tbf, that's definitely happened before
17:04:06 <Rubidium> the RC has been made, just not published ;(
17:04:27 <peter1138> Well, okay not published.
17:04:58 <peter1138> Rubidium, your PR is at least the only one with 'backport requested' on it now.
17:05:08 <peter1138> Sorry, it was _glx_'s
17:11:14 <peter1138> Can we delete RC1 and make it again, or do we need RC2? :)
17:11:34 *** kuka_lie has joined #openttd
17:12:58 <LordAro> depends how close to the CDN it got
17:13:05 <LordAro> or actually being uploaded anywhere outside of github
17:15:02 <peter1138> It's visible on github, so probably best practice to forget about it and move on.
17:15:29 <_glx_> failed before the upload step
17:15:39 <dwfreed> version numbers are free :)
17:15:53 <LordAro> i wasn't paying attention yesterday and can't be bothered to scroll, what happened?
17:16:09 <peter1138> We found out that NSIS was removed from the windows runner.
17:16:56 <_glx_> and it's something only tested when doing a release
17:17:07 <peter1138> Didn't we have a script to apply backports that also handles translations?
17:17:15 <LordAro> ah yes, i saw that PR
17:18:15 <peter1138> Yup. Shall I risk it? I have a habit of doing these things wrong...
17:18:27 <peter1138> (It was already downloaded at least, so I must have tried...)
17:18:59 <LordAro> do you have the TB summon spell ready if everything falls over?
17:20:01 <_glx_> usually my PAT is outdated every time I have to run the script
17:21:18 <LordAro> i usually make one-off ones anyway :D
17:22:32 <LordAro> feel like that should probably be a cli arg :p
17:25:22 <xarick> can i have backport requests of my own :)|
17:26:30 <michi_cc[d]> peter1138: Deleting the tag/release should work. Or more exactly, it did work in the past π
17:26:45 <peter1138> It should work, yes, but is it allowed...
17:27:55 <michi_cc[d]> GitHub doesnβt care, and if nothing went as far as the CDN that shouldnβt be a problem either.
17:33:03 <xarick> why visual studio has trouble aligning multi line comments when pasted?
17:34:34 <peter1138> CONFLICT (content): Merge conflict in .github/workflows/release-windows.yml
17:37:24 <peter1138> Of course that's hardcoded.
17:41:21 <peter1138> Anyway, using the script for 1 backport is probably not necessary.
17:42:56 <LordAro> we literally just said that!
17:44:04 <peter1138> But at least I got it running so will have fresh knowledge to forget for next time.
17:52:34 <_glx_> xarick: just ctrl-z after pasting
17:52:48 <mkdir7> Sorry to barge in, what exactly is a half-tile slope?
17:52:48 <mkdir7> SLOPE_HALFTILE = 0x20, ///< one halftile is leveled (non continuous slope)
17:52:48 <mkdir7> SLOPE_HALFTILE_MASK = 0xE0, ///< three bits used for halftile slopes
17:52:48 <mkdir7> SLOPE_HALFTILE_W = SLOPE_HALFTILE | (CORNER_W << 6), ///< the west halftile is leveled (non continuous slope)
17:52:48 <mkdir7> SLOPE_HALFTILE_S = SLOPE_HALFTILE | (CORNER_S << 6), ///< the south halftile is leveled (non continuous slope)
17:52:50 <mkdir7> SLOPE_HALFTILE_E = SLOPE_HALFTILE | (CORNER_E << 6), ///< the east halftile is leveled (non continuous slope)
17:52:50 <mkdir7> SLOPE_HALFTILE_N = SLOPE_HALFTILE | (CORNER_N << 6), ///< the north halftile is leveled (non continuous slope)
17:52:52 <mkdir7> I'm trying to understand what this refers to but I'm having a rough go of it
17:53:05 <xarick> crtl-z removes most of the auto formating
17:53:05 <mkdir7> I guess the context behind this is I'm trying to understand the rules for which foundation is placed
17:53:39 <peter1138> There, done properly with the backport.py script.
18:03:27 <peter1138> mkdir7, tiles that are sloped but have a rail piece on one (or opposite) corners.
18:03:51 <mkdir7> Ah its literally just a tile with 3 leveled corners, and one elevated
18:07:21 <jfkuayue> My mother thinks "denmark has many thieves but sweden is safe"
18:07:35 <peter1138> So, shall I delete RC1 and retry?
18:07:50 <LordAro> what could possibly go wrong
18:13:17 <kaibaneddy> What happened to the grfcodec release, btw? Timed out after 1 day?
18:17:12 <michi_cc[d]> New RC1 was picked up by the Actions, so the re-tag worked ar least.
18:17:19 <michi_cc[d]> Now it only has to actually compile π
18:21:01 <peter1138> I guess that's still a thing but... I'm not sure it quite panned out :)
18:21:41 <LordAro> we'd be better off with an Linux generic arm build :p
18:21:41 <michi_cc[d]> It somewhat starting to pan out, with the first Snapdragon actually fast enough to do the job.
18:21:52 <LordAro> but yeah, there was some news about it a couple weeks ago
18:26:01 <michi_cc[d]> We might be getting somewhere... NSIS passed!
18:26:28 <michi_cc[d]> Time to look at the website post π
18:26:46 <peter1138> Windows Store. I find it unlikely to just work :p
18:27:07 <LordAro> well it's just added OGFX2 0.8 :p
18:27:18 <michi_cc[d]> That's just the packging I thinkl, no upload
18:27:53 <talltyler> Looks like I should get the Steam post ready π
18:27:58 <michi_cc[d]> Upload GOG will probably fail, but that doesn't kill the run
18:28:14 <michi_cc[d]> talltyler: If you link to the website post there, mind that I redated the URL
18:29:06 <michi_cc[d]> I need approval for the news post π
18:29:33 <talltyler> Just waiting to test the changelog link π
18:30:40 <michi_cc[d]> I'm not going to merge before it is done π
18:31:11 <talltyler> Hmm, changelog didn't upload
18:31:34 <talltyler> The public docs step was skipped for some reason
18:31:57 <LordAro> because of GOG, probably
18:32:38 <talltyler> I tried re-running just the docs step, skipped again
18:34:41 <michi_cc[d]> talltyler: Sorry, links are apparently case sensitive
18:36:01 <michi_cc[d]> I think we're good!
18:36:47 <michi_cc[d]> I'll do Discord as soon as the website is published
18:36:53 <LordAro> `if: ${{ inputs.trigger_type == 'new-master' }}`
18:37:06 <LordAro> `needs: - publish-bundles` one of those, i guess?
18:37:19 <LordAro> no idea what that means though
18:37:43 <tabytac> been having a look at the gog upload workflow and more specifically the GOG Galaxy Build Creator, i cant tell if the version that you currently use 1.4.0 is depricated or something as alot of the docs are behind the dev portal where you need a login account
18:38:14 <michi_cc[d]> LordAro: The changelog was a false alarm, it uploaded just fine, I just didn't realize the links are case-sensitive
18:38:21 <talltyler> Hmm, our text says to update the OpenGFX2 baseset, but I'm still missing 25 sprites
18:39:14 <michi_cc[d]> Yeah, version number stuff, you need to delete the old versions, or someone with the proper rights need to approve the OpenGFX2 PR to udpate that.
18:40:19 <talltyler> Ah, so it's only because I also have the older version of OpenGFX2?
18:40:34 <talltyler> As in, a player who is prompted to switch by the announcement text won't see the error π
18:40:53 <peter1138> Well, if they have downloaded OpenGFX 2 before, they probably will, yes.
18:41:15 <michi_cc[d]> Hmm, why did the website post not update?
18:42:02 <_glx_> tabytac: we use "GOG Galaxy Pipeline Builder version: 10.6.1 (<2022-02-25>)" and I think that is deprecated, but it's hard to change the workflow as everything is behind closed doors π
18:42:23 <talltyler> Steam announcement is live (as is the build, I checked first π )
18:43:04 <LordAro> _glx_: the only instances of "GOGGalaxyBuildCreator" on GH are us :D
18:43:56 <talltyler> michi_cc[d]: If you're wondering why it hasn't appeared, I believe you need to make a website release on GitHub to make it publish π
18:44:03 <talltyler> Maybe you are asking something else
18:44:37 <michi_cc[d]> No, that was eliminated quite some time ago.
18:44:58 <LordAro> looks like it's there to me
18:45:16 <michi_cc[d]> Yeah, I manually re-trigged the publish action
18:45:32 <LordAro> sounds suspiciously like impatience to me :p
18:48:48 <_glx_> I could look at updating/upgrading gog stuff, but I don't have access to the dev portal
18:49:09 <LordAro> kaibaneddy: best guess is that there are no longer any ubuntu-20.04 runners
18:51:30 <talltyler> Discord is done, Steam is done, I'll do TT-Forums...
18:52:03 <michi_cc[d]> Reddit and Twitter are done
18:52:44 <andythenorth> thanks for doing this folks
18:53:24 <peter1138> Where's the text for the soshul meja?
18:53:56 <peter1138> It was in an issue... somewhere.
18:55:59 <LordAro> without wishing to muddle things, i've deleted the grfcodec 6.2.0 release
18:58:10 <talltyler> Is there anything we should talk about in dev diaries? (subject to anyone wanting to write said dev diaries)
18:58:27 <michi_cc[d]> Passwort removal from network
19:01:29 <talltyler> Hit enter too soon π
19:01:29 <talltyler> * Improvements to water (wetlands, infinite sea, no more small seas, ship lanes in opposite directions)
19:01:29 <talltyler> * Bridges over ~~troubled waters~~ stations, locks, docks
19:01:31 <talltyler> * New picker window in general, ability to save favourites
19:02:10 <LordAro> badges would be good, mostly because i haven't got a clue why every single newgrf author is so excited about them
19:02:14 <peter1138> Bridges of stations: I 'stole' that from another contributor... :p
19:02:51 <xarick> I benchmarked my various ScriptList implementations π
19:05:54 <talltyler> Hmm, looks like NML docs never got updated with the new bridges-over-stations properties (height and blocked pillars)
19:08:39 <michi_cc[d]> Oh, and while everyone is here, OpenTTD GitHub org currently has glx and LordAro as active Owners. Is that enough or should we add someone else, too?
19:10:28 <LordAro> someone who knows how to access steam/gog/cloudflare would be good
19:10:47 <jfkuayue> rito12_51026: because she only listens to social media in regards to these things
19:13:11 <talltyler> I have a login for Steam and know how to make news posts, but my knowledge ends there. I'd be happy to teach whoever gets added to the org (because it probably shouldn't be me π )
19:15:40 <jfkuayue> And imagine a person living in denmark, online, saying it is dangerous. Another person living in sweden, online, saying it is safe. etc. But I also don't know if sweden is safer than denmark.
19:16:18 <LordAro> jfkuayue: a person who says they are living in*
19:16:48 <Rubidium> Sweden definitely has the higher ground over Denmark ;)
19:17:21 <jfkuayue> Rubidium: do you refer to altitude and rising sea level things
19:17:58 <LordAro> if it's not just latitude i'm going to be disappointed
19:19:40 <Rubidium> LordAro: sorry, jfkuayue caught my drift
19:21:15 <jfkuayue> This is because I will go to denmark firstly in my euro trip starting 9 days later, and my mother is worried.
19:21:16 <Rubidium> Denmark's highest point is almost 171 m, Sweden's almost 2097 m, and even the highest natural point in the Netherlands is 322 m.
19:22:35 <LordAro> that looks a bit better, 9s to run the source job
19:22:49 <jfkuayue> I generally think "if surviving Paris, then it would not worry much"
19:24:08 <peter1138> michi_cc[d], probably add more.
19:25:50 <jfkuayue> But I indeed lost 30 quids to a scammer in London. They said they had no cash to use public transport (THIS IS BIG LOGICAL FAILURE!!!!!!!!!) and i just give them my cash
19:27:21 <andythenorth> learning costs money
19:28:24 <jfkuayue> London Victoria station
19:29:15 <andythenorth> if it cheers you up, Nottingham used to have the highest rate of offences against the person in the country
19:29:38 <LordAro> i once had a gentleman ask me for the time, presumably wanting me to take my phone out of my pocket
19:29:42 <LordAro> i looked at my watch instead
19:30:14 <jfkuayue> andythenorth: who is "the person"
19:30:59 <andythenorth> I think we're off-topic though
19:31:04 <andythenorth> by about a million miles
19:31:39 *** Wormnest has joined #openttd
19:32:01 <jfkuayue> okay it is deliberate physical harm etc
19:32:18 <LordAro> andythenorth: weird, what makes you think that?
19:32:27 <andythenorth> that it's off-topic?
19:32:35 <talltyler> We released OpenTTD, what's left to do today? π
19:32:36 <andythenorth> in the midst of a 15.0 RC release? π
19:33:02 <jfkuayue> a bit less off topic
19:33:13 <andythenorth> anyway Notts city is still the number one location for offences against the person *outside* London
19:33:18 <jfkuayue> is there a free C++ "learn as you go" tutorial
19:33:22 <andythenorth> so not much has changed since I left
19:33:53 <jfkuayue> without 10000000 ads
19:34:48 <kaji_kaede> jfkuayue: ...I guess if you're really good at bouncing around the Microsoft C++ language reference docs?
19:36:08 <kaji_kaede> I don't think... C++ is really a language you can easily just *dive in to* though.
19:36:48 <kaji_kaede> I learned by experimenting and looking at reference docs, but I already had an understanding of other languages before learning C++.
19:36:50 <jfkuayue> My whole programming experience is, NML (not call 0x61 part), and a little python
19:37:07 <kaji_kaede> NML isn't a programming language :>
19:37:32 <jfkuayue> I get confused... is there a common speak between different languages
19:37:44 <jfkuayue> (programming languages)
19:37:55 <talltyler> I learned C++ for free contributing to OpenTTD π
19:37:55 <talltyler> (also started with NML and a bit of Python, like you)
19:38:01 <kaji_kaede> I say it in jest. NML is in a pretty hazy area.
19:38:14 <jfkuayue> And seems "language" and "coding" is different. Coding is optimisation things.
19:38:27 <kaji_kaede> Coding is the act of writing code.
19:38:56 <kaji_kaede> Language is the way you write code.
19:39:31 <kaji_kaede> kaji_kaede: This wasn't a serious suggestion. But...
19:39:31 <kaji_kaede> If it's of any use.
19:39:38 <jfkuayue> Okay, I guess I need to actually *print* things online to actually learn.
19:39:59 <kaji_kaede> Okay, that'll do for now.
19:40:15 <kaji_kaede> jfkuayue: I'm personally also happy to try and teach to the best of my abilities.
19:40:38 <peter1138> Isn't "watch a video of someone else doing it" how young people learn these days?
19:40:40 <jfkuayue> I did nothing but discord in the last 2 hours.
19:40:50 <_jgr_> For a new developer, C++ may be starting at the deep end a bit
19:40:53 <jfkuayue> I don't like watching videos.
19:41:02 <andythenorth> can't copilot just do what you want for you?
19:41:15 <jfkuayue> I mean I used to be very good in math and computer in school time
19:41:19 <talltyler> Not if the goal is to actually learn π
19:41:25 <kaji_kaede> kaji_kaede: I wouldn't actually point someone else at this to *learn* C++. C#? Yes. C++? No. But the docs here are usually a lot better at familiarising people less intimately familiar with the language.
19:42:03 <jfkuayue> but applied math... and actually find ways to an open and complicated problem...
19:42:04 <_jgr_> Getting an actual book or following a structured set of tutorials/teaching materials might be worth considering
19:43:01 <talltyler> I imagine you can find a free library book that covers C++. At least in the US, if your local branch doesn't have a book they can borrow one from another branch for you.
19:43:14 <talltyler> I don't know how important "free" is in your decision π
19:43:17 <kaji_kaede> kaji_kaede: (Again, I'm also happy to help to try and teach to the best of my abilities. Teach a man to fish, and all that.)
19:43:35 <jfkuayue> Maybe, I actually bought a book.
19:43:45 <peter1138> I have a copy of K&R C, not that much help these days :)
19:43:56 <jfkuayue> and it is even C++20.
19:43:58 <kaji_kaede> jfkuayue: For C++?
19:44:03 <kaji_kaede> well there's my answer
19:45:22 <jfkuayue> By reading physical books, I would concentrate much more. But I also would actually carry another kilogram in my bag.
19:45:36 <kaji_kaede> Book may be a bit of reading, but it's probably the best solution for giving you a good grasp on the language.
19:46:11 <talltyler> If you can successfully learn from a book, I envy you. Enjoy it. π
19:46:23 <kaji_kaede> Books probably also give you a bit more knowledge on the inner workings. Someone like me is working on a pretty bodged understanding of C++'s inner workings, so it can be hard for me to understand explanations of new features.
19:48:17 <jfkuayue> *off topic again: I will visit Aarhus and its university where the creator of C++ gives lectures and researches. I guess there might be some monument-thingy there (definitely not a tower though)*
19:48:36 <talltyler> Trailing whitespace strikes again π
19:49:01 <peter1138> There's an option in VS Code to remove them.
19:49:42 <kaji_kaede> Any guidance? Just realising that's a problem for me on my new setup.
19:51:16 <_jgr_> Removing trailing whitespace by default is pretty handy, except for whenever I have to edit a markdown file, where trailing whitespace actually is meaningful (sigh) :/
19:51:19 <talltyler> LordAro: Thoughts on YOLO approving #14365? I've tested, it seems fine, code looks fine to me.
19:51:19 <talltyler> The author asked if it might make RC2, which seems reasonable enough to me, as long as we keep in mind that if there are any bugs we might need an RC3 or 15.1.
19:51:19 <talltyler> Or are we not planning an RC2?
19:51:30 <talltyler> (I am not asking you to YOLO approve, I can also do that π )
19:53:44 <LordAro> talltyler: i could review, but ideally rito12_51026 would confirm that the controller issue was fixed
19:53:45 <_zephyris> talltyler: It would be popular w/reddit!
19:53:49 <LordAro> i have no ability to test
19:54:01 <_zephyris> talltyler: Indeed...
19:54:26 <tabytac> i only have 1 controller so cant test rito's issue
19:54:51 <_zephyris> On the plus side, I've learnt about `--fixup` and `rebase --autosquash`.
19:55:48 <xarick> looking at my list of PR's
19:56:00 <rito12_51026> LordAro: If you give me a minute
19:56:21 <xarick> 17 PR's, 12 need rebase π
19:56:58 <xarick> 2 approved, but need rebase
19:57:29 <talltyler> Please don't rebase them all today, save some actions for the rest of us π
19:57:42 <xarick> okay, i'm rebasing the approved ones
19:59:44 <xarick> oh crap, need to move my script fuctions to API 16 now?
20:00:56 <LordAro> that is where main is pointing, yes
20:05:03 <peter1138> Ah, I see grfcodec 6.2.0 worked this time.
20:05:24 <digitalfox> Hum... 15.0 RC1 OpenGFX1
20:05:24 <digitalfox> I'm not sure if it's a bug or not...
20:05:24 <digitalfox> Are the bridges supposed to look like this?
20:05:24 <digitalfox> It seems the sprite is a bit cut?
20:06:23 <peter1138> Sprites are integer scaled, interface is not.
20:07:02 <rito12_51026> rito12_51026: I have a problem with right stick on one of the gamepads, but it works well with left stick and right stick of the other gamepad
20:07:07 <digitalfox> peter1138: Ok, so expected to be like this
20:08:00 <peter1138> Yup. If you change interface scaling to be 1x, 2x or 4x then sprite and interface scale will match, but that's somewhat restrictive.
20:08:36 <xarick> could be aligned a bit more upwards imo
20:08:50 <xarick> they touch the separator
20:21:27 <xarick> it's taking longer to build openttd all of a sudden
20:23:30 <LordAro> thanks rito12_51026 :)
20:25:55 <rito12_51026> The second issue is probably a real edge case because having two windows focused at the same time isn't easily achievable and it would need two cursors as well.
20:26:50 <xarick> not sure I open an issue about ... erm, CI failing the regression test and duplicating the crash log for the two tests, I thought glx was on it
20:27:38 <xarick> doesn't fit the typical "there's a bug in openttd" issue
20:28:41 <peter1138> It's a bug in your code.
20:29:07 <andythenorth> a bug in your copilot prompt more likely π
20:29:13 <peter1138> It's a bug in the code Cipolit hallucinated for you.
20:29:30 <_glx_> yeah crash log is duplicated because we run tests in parallel
20:29:55 <_glx_> but usually it doesn't matter
20:30:09 <peter1138> It failed anyway, yes.
20:35:16 <xarick> 15 is still going to get excessive cpu usage ? π
20:38:11 <peter1138> Heh, funny seeing the toyland water colour on the temperate/tropic icons :)
20:40:02 <mmtunligit> _jgr_: hey its worked for me so far :P
20:51:09 <_zephyris> Dev diaries are fun
20:52:35 <peter1138> 19:02 < LordAro> badges would be good, mostly because i haven't got a clue why every single newgrf author is so excited about them
20:53:08 <peter1138> I mean, I think badges could be useful but that's not really very exciting.
20:54:31 <andythenorth> I don't want to be eeyore, but badges are mostly about grf implementation
20:54:38 <andythenorth> not player excitement
20:58:12 <peter1138> Has anyone used it for things like wagon attach callback? Cos that was always fun for AI ;-)
21:40:03 <audigex> Yeah badges are mostly for newGRF authors not to have to abuse the spec as aggressively or have massive lists of IDs to check, to do candy stuff. Things like check for the existence of a restaurant car or brake van
21:48:32 <Rubidium> I must say fluidsynth is quite noisy
21:51:40 <peter1138> It spews errors with OpenMSX, indeed.
21:52:18 <peter1138> Hmm, actually that might be sound setup :)
21:53:11 <peter1138> Hmm could be in the file.
22:05:58 <peter1138> Hope you weren't using min.io.
22:13:01 <peter1138> `#include <filesystem>` was in the wrong commit.
22:13:36 <peter1138> Not that it matters if squashed, pom te pom.
22:14:23 <peter1138> So Mac OS users haven't complained that text doesn't work yet.
22:17:00 *** kuka_lie has quit IRC (Quit: Lost terminal)
22:21:29 <peter1138> Sounds so much better on my Roland SC-8820 than FluidSynth.
22:23:34 <peter1138> Well, the good ones do. Quite a lot of OpenMSX is a bit...dubious.
22:25:01 <_jgr_> Wouldn't it be easier to just ship ogg files or whatever, then the music would sound correct everywhere?
22:55:24 <LordAro> ...i'm not going to claim that was a productive evening
22:56:14 <peter1138> Just left a fixup in there :)
22:57:29 <peter1138> Well, I can delete my stash now.
22:57:49 <peter1138> (No where near as comprehensive, and I didn't get as far as working out what a bimap is.)
23:00:02 <LordAro> it's a bidirectional map... i think
23:00:09 <LordAro> at least, that's how it's used here
23:01:26 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:02:47 <LordAro> who doesn't love relying on CI for linting
23:17:13 *** MinchinWeb has quit IRC (Quit: Leaving)
continue to next day β΅