IRC logs for #openttd on OFTC at 2023-05-15
β΄ go to previous day
01:09:34 *** Soni has quit IRC (Ping timeout: 480 seconds)
01:27:23 *** Wormnest has quit IRC (Quit: Leaving)
02:58:11 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:01:40 *** D-HUND is now known as debdog
05:12:39 *** keikoz has quit IRC (Ping timeout: 480 seconds)
08:14:13 *** JohnFranklin has joined #openttd
08:14:13 <JohnFranklin> Why Iron Ibex βaccessdenied"
08:16:09 <andythenorth> probably nothing there
08:36:45 <LordAro> "error: cannot lock ref 'refs/remotes/origin/aux.flobble': Unable to create 'D:/DEVT/foobar/.git/refs/remotes/origin/aux.flobble.lock': Invalid argument"
08:38:29 <TrueBrain> it is a Windows machine? π
08:38:35 <LordAro> TrueBrain: that is related, yes
08:38:57 <TrueBrain> owh, it starts with `aux`
08:39:14 <TrueBrain> next you want to name a file `com`
08:39:31 <TrueBrain> so that is still a thing
08:39:53 <TrueBrain> hmm .. I am sure I wrote retarted there
08:40:02 <TrueBrain> retarded .. now without spelling issues?
08:40:08 <TrueBrain> dunno what happened .. early morning
08:44:03 <petern> It is. It is lunch time?
08:44:19 <LordAro> petern: i've already had half a tube of pringles today
08:44:35 <petern> You've probably earned it, just about π
08:44:37 <TrueBrain> sounds painful, eating the tube part ..
08:45:22 <petern> Once you pop you just can't stop.
08:45:59 <LordAro> they are very moreish
09:09:28 <petern> Hmm, I do have a patisserie I could eat.
09:13:23 <petern> I dunno, I bought it from Tesco yesterday afternoon, so it'll be a bit stale :p
10:00:10 *** gelignite has joined #openttd
10:42:40 <petern> I had a rare bottle of wine over the weekend (well, some of it, screw cap so some left) and my resting HR went up a few BPM...
11:10:04 * pickpacket is waiting for end-of-workday-ice-cream time
11:56:36 *** gelignite has quit IRC (Quit: Stay safe!)
12:02:22 <petern> I hate it when you look at some code that can be replaced by a iterators, and then right at the end it returns the index...
12:03:26 <Eddi|zuHause> i herd u liek rabbit holes, so we put some rabbit holes in ur rabbit holes
12:04:52 <petern> You can get the index by an pointer arithmetic if it's a vector, but...
12:12:10 <LordAro> petern: but then you look at the call-site and find that it doesn't actually use it?
12:12:23 <petern> Sometimes. In this case it does.
13:20:58 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
13:51:04 <gnomechomsky> To solve #10383 should deities be allowed to demolish everything as if they had the magic bulldozer?
13:54:54 <petern> Comment is correct but lacking context.
13:55:19 <petern> Basically the context is demolish a tile vs remove bits from a tile.
13:55:37 <petern> i.e. you can remove individual road pieces, or demolish the whole tile.
13:56:10 <petern> It should definitely not be expected that it will remove otherwise unremovable things.
13:58:53 <gnomechomsky> ah so for #10383 the comment should be updated and there shouldn't be any functionality change
14:02:50 <gnomechomsky> I could make a close industry command only runnable by deities
14:03:01 <petern> That's one option, yes.
14:03:42 <petern> As per the PR, could be "close one industry", "close all industries of type x" or the whole hog, "close all industries"
14:05:10 <petern> A GS-only really-demolish-tile tile could also be a thing. It just shouldn't be the default because of DemolishTile.
14:05:45 <petern> Excuse my words coming out wrong.
14:06:02 <gnomechomsky> I'd like to make a GS-only really-demolish-tile command as it gives the most functionality. It would still require an extra DoCommandFlag I think
14:06:32 <gnomechomsky> So that the ClearTile procs have some way of knowing which command is calling them
14:08:44 <petern> Potentially. It feels like that is the wrong place to put a flag for this, but then it is already passed to the clear tile procs...
14:09:09 <gnomechomsky> The flags are only 16 bits right?
14:09:43 <gnomechomsky> Or does the abstraction make them as big as you want?
14:11:16 <petern> Actually it's not specified on the enum.
14:11:28 <petern> Which usually means it's 32 bits.
14:14:37 <gnomechomsky> Okay, I could make a command called bulldoze tile or something which sets a flag to give magic bulldozer functionality to deities
14:15:37 <petern> Or it could be added as a parameter to CmdLandscapeClear.
14:16:33 <petern> But basically you're getting in rabbit-hole territory π
14:20:53 <gnomechomsky> In that case I think I would need to read the parameter and set the flag in CmdLandscapeClear, since I can't change the signature of the procs right?
14:37:35 *** gelignite has joined #openttd
14:46:36 <gnomechomsky> I didn't know what you meant at first about rabbit hole territory, but now I think I get what you mean
14:47:08 <gnomechomsky> There's about ~80 references to CmdLandscapeClear. If I were to change the signature i'd need to provide the parameter for all of them
14:47:34 <gnomechomsky> I can't use a default one because of the indirection through the command system
15:21:46 *** Wormnest has joined #openttd
15:45:19 <FLHerne> gnomechomsky: sounds like the ideal use-case for Coccinelle, but I don't know if it works for C++ source
15:45:55 <FLHerne> or keep chasing the rabbit-hole and add a way for commands to have default parameters :p
15:48:37 <gnomechomsky> I've come up with a way to do it with a do command flag and an extra command train definition to set it from the script
16:15:41 <petern> I think that failure is not my doing π
16:50:25 <TrueBrain> CDNs having issues? NEVAH! π
16:50:43 <TrueBrain> it is even their local mirror .. weird shit π
17:21:37 *** HerzogDeXtEr has joined #openttd
18:19:40 <Eddi|zuHause> when developers say "this is impossible", why do people insist on "but i have this mockup, so it must be easy"?
18:21:41 <FLHerne> with a Turing machine, nothing is impossible if you have enough time :p
18:22:58 <Eddi|zuHause> that's not quite true either, but whatever :p
18:23:38 <Eddi|zuHause> there are various classes of impossibility on top of each other
18:23:40 <FLHerne> I did have to stop making vaguely-usable mockups
18:24:02 <FLHerne> Jav kept wanting to ship them as the final product and "tidy up the details later"
18:25:12 <FLHerne> although to be fair it has been more than five years
18:28:01 <Eddi|zuHause> i had to think of that when i read the news recently
18:32:57 <andythenorth> FLHerne: "might be a bird"
18:33:24 <andythenorth> As an AI assistant I am unable to determine whether this is a bird or not
18:34:28 <FLHerne> accuracy for that kind of thing is pretty darn good now
18:34:36 <Eddi|zuHause> we've lost andy to chatgpt
18:35:43 <Eddi|zuHause> FLHerne: i'm of the firm opinion that CAPTCHAs aren't actually there to test humans, they're there to challenge botmakers to make better image recognition
18:40:42 <DorpsGek> - Update: Translations from eints (by translators)
18:45:36 <FLHerne> chatGPT is *almost* there
18:46:05 <Eddi|zuHause> except for the moment where it lies you into the face with full confidence
18:47:43 <Eddi|zuHause> chatgpt has a serious problem with fact checking
18:51:51 <petern> That particular thing is not actually impossible, it's just... meh.
18:52:32 <petern> It's also not just a case of capturing a sprite to draw at a certain point.
18:56:56 <Eddi|zuHause> with the temporary vehicles, it's more like template based replacement
19:20:58 <petern> My old buffer stops seem to the only station tiles that use the default class π
19:31:45 <petern> Generic Buffer Stops. Actually Born Acorn draw them and I coded them.
19:53:30 *** gelignite has quit IRC (Quit: Stay safe!)
20:07:09 <TrueBrain> still can't believe C now also has nullptr
20:07:25 <TrueBrain> or maybe worse .. `auto` .. feels so weird in C
20:08:39 <Eddi|zuHause> a cynic would say "auto" in C is an alias for "int" :p
20:12:35 <petern> Well I have no intention of switching to C π
20:14:41 <TrueBrain> keep it that way π
20:15:58 <TrueBrain> yippie, the survey in the latest nightly is working as expected π Just nobody has actually used it yet π But that is not the fault of the technology! π
20:19:01 <Eddi|zuHause> any complaints yet that you "sold out" and the game is "phoning home" now?
20:19:47 <TrueBrain> who cares; as long as my bank balance goes up
20:19:54 <TrueBrain> owh, wait, I was not suppose to say that out loud? π
20:21:49 <michi_cc[d]> Hmm, I just switched Steam to nightly, pressed the "preview survey" button and crashed the game with "unable to render glpyh". My Windows might be broken somewhere, because that is one if the errors that aren't supposed to actually happen π¦
20:22:31 <TrueBrain> that doesn't sound good, no ..
20:22:39 <Eddi|zuHause> maybe that's one of the unprintable glyphs that open the gates of hell or something :p
20:22:48 <TrueBrain> what font? Just to see if I can get it to crash too π
20:22:56 <michi_cc[d]> Okay, I had "Courier" as mono font in the config.
20:23:29 <michi_cc[d]> It works if I remove that. And I can't actually see any strange characters in the JSON output.
20:23:41 <TrueBrain> crashes here too π Nice π
20:23:51 <TrueBrain> and no, the JSON output has very very simple characters π
20:24:05 <TrueBrain> readmes also crash π
20:24:06 <michi_cc[d]> Actually, does it have tabs?
20:24:08 <petern> My usual monospace font works, just Courier doesn't.
20:24:31 <michi_cc[d]> Okay, then I'd have to start a debugger. Not today though.
20:24:38 <TrueBrain> Courier doesn't work period
20:24:43 <TrueBrain> I replaced all my fonts with Courier
20:27:31 <TrueBrain> seems to happen on a space
20:27:49 <TrueBrain> when creating `LoadStringWidthTable`
20:28:44 <petern> Okay, that error is... er...
20:28:47 <TrueBrain> `this->dc` has a weird value
20:29:04 <TrueBrain> what did you do? π
20:29:44 <TrueBrain> I don't understand MSVC debugger π I am terrible at this .. I want gdb! π
20:30:21 <petern> I remove td the triple calls to GetGlyphOutline with just the normal double calls.
20:31:21 <petern> Although looking at it, it should be the same anyway.
20:31:59 <michi_cc[d]> TrueBrain: You should have gotten a survey by now.
20:32:27 <petern> Yeah, 12.2 crashes the same, so it's not my change. Phew!
20:32:29 <TrueBrain> michi_cc[d]: I did!
20:32:41 <TrueBrain> and happy my changed showed an issue with OpenTTD π
20:33:31 <petern> ... Is it because "Courier" is not the same as "Courier New" ?
20:33:41 <petern> e.g it's not actually an outline font.
20:33:58 <michi_cc[d]> That are indeed two different fonts.
20:34:10 <TrueBrain> Courier New works fine btw
20:34:18 <michi_cc[d]> I might have wanted Courier New actually, but I can't even remember why/when I put that in π
20:34:19 <TrueBrain> so it seems Courier doesn't have a space π
20:35:07 <petern> In theory we could support bitmap windows fonts though.
20:35:48 <petern> Oh go away, rabbit hole. I have enough side projects!
20:36:14 <TrueBrain> this was a user issue, not an OpenTTD π
20:36:53 <petern> Would be nice not to crash though.
20:37:27 <michi_cc[d]> Well, we happily reject fonts that don't have all chars, so maybe we should just reject a bitmap font as well.
20:37:27 <TrueBrain> a difference of no difference π
20:40:18 <TrueBrain> and ugh @ too many side projects .. prioritizing is hard!
20:40:36 <TrueBrain> today I made a plan to simplify most of our repos .. guess that is prio π
20:56:09 *** keikoz has quit IRC (Ping timeout: 480 seconds)
20:57:44 *** luffy[m] has joined #openttd
21:12:39 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:21:11 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
22:03:11 *** ChanServ sets mode: +v tokai
22:10:08 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
22:14:56 *** Wolf01 is now known as Guest278
22:20:50 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:21:04 *** Guest278 has quit IRC (Ping timeout: 480 seconds)
22:22:59 *** luffy[m] has quit IRC (Ping timeout: 488 seconds)
22:23:14 *** ralph[m] has quit IRC (Ping timeout: 480 seconds)
22:23:27 *** imlostlmao[m] has quit IRC (Ping timeout: 480 seconds)
22:23:33 *** vista_narvas[m] has quit IRC (Ping timeout: 480 seconds)
22:23:33 *** thelonelyellipsis[m] has quit IRC (Ping timeout: 480 seconds)
22:23:33 *** karoline[m] has quit IRC (Ping timeout: 480 seconds)
22:23:33 *** joey[m]1 has quit IRC (Ping timeout: 480 seconds)
22:23:33 *** jeremy[m] has quit IRC (Ping timeout: 480 seconds)
22:23:33 *** Heiki[m] has quit IRC (Ping timeout: 480 seconds)
22:23:33 *** citronbleuv[m] has quit IRC (Ping timeout: 480 seconds)
22:23:33 *** fiddeldibu[m] has quit IRC (Ping timeout: 480 seconds)
22:23:33 *** wormnest[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** zzy2357[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** JamesRoss[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** thomas[m]12345 has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** Farrokh[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** rudolfs[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** philip[m]123 has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** leward[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** einar[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** CornsMcGowan[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** cjmonagle[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** blikjeham[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** andythenorth[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** elliot[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** jact[m] has quit IRC (Ping timeout: 480 seconds)
22:23:35 *** yubvin[m] has quit IRC (Ping timeout: 480 seconds)
22:23:36 *** freu[m] has quit IRC (Ping timeout: 480 seconds)
22:23:36 *** nolep[m] has quit IRC (Ping timeout: 480 seconds)
22:23:39 *** shedidthedog[m] has quit IRC (Ping timeout: 480 seconds)
22:23:39 *** luk3Z[m] has quit IRC (Ping timeout: 480 seconds)
22:23:39 *** gretel[m] has quit IRC (Ping timeout: 480 seconds)
22:23:39 *** giords[m] has quit IRC (Ping timeout: 480 seconds)
22:23:39 *** emilyd[m] has quit IRC (Ping timeout: 480 seconds)
22:23:39 *** patricia[m] has quit IRC (Ping timeout: 480 seconds)
22:23:39 *** igor[m]1 has quit IRC (Ping timeout: 480 seconds)
22:23:39 *** menelaos[m] has quit IRC (Ping timeout: 480 seconds)
22:23:39 *** calbasi[m] has quit IRC (Ping timeout: 480 seconds)
22:23:41 *** Guest10895 has quit IRC (Ping timeout: 483 seconds)
22:23:41 *** NekomimiGunner18[m] has quit IRC (Ping timeout: 483 seconds)
22:23:41 *** magdalena[m] has quit IRC (Ping timeout: 483 seconds)
22:23:41 *** hamstonkid[m] has quit IRC (Ping timeout: 483 seconds)
22:23:41 *** gdown has quit IRC (Ping timeout: 483 seconds)
22:23:41 *** EmeraldSnorlax[m] has quit IRC (Ping timeout: 483 seconds)
22:23:41 *** linda[m]1 has quit IRC (Ping timeout: 483 seconds)
22:23:41 *** amal[m] has quit IRC (Ping timeout: 483 seconds)
22:23:41 *** karl[m]123 has quit IRC (Ping timeout: 483 seconds)
22:32:44 *** EmeraldSnorlax[m] has joined #openttd
22:55:28 *** michi_cc has joined #openttd
23:03:07 *** ralph[m] has joined #openttd
23:04:40 *** freu[m] has joined #openttd
continue to next day β΅