IRC logs for #openttd on OFTC at 2022-12-31
โด go to previous day
00:03:53 *** Extrems has quit IRC (Ping timeout: 480 seconds)
00:05:11 <LordAro> same thing as the whole remove/erase idiom?
00:05:59 <petern> Not really, it just swaps the data part of two vectors without needing to touch the data.
00:06:25 <andythenorth> hmm wonder how many random bits I'm not using already
00:06:36 <andythenorth> might limit how many liveries per engine ๐
00:06:53 <andythenorth> probably 3 spare right? ๐
00:07:35 *** wallabra has quit IRC (Ping timeout: 480 seconds)
00:08:55 *** Extrems has joined #openttd
00:10:56 <andythenorth> I manually manage random bit use
00:11:00 <andythenorth> nml random switch is weird
00:11:11 <petern> FFS msys2, I need to go to ed :/
00:11:59 <petern> You don't have to share random bits between liveries.
00:12:38 <petern> You don't have to ensure that different random bits are used between liveries.
00:12:57 <petern> (Unless you're using random bits to select the liveries)
00:15:25 <andythenorth> I might try that for a 'randomised livery' variant
00:15:36 <andythenorth> it's the other uses of bits I manage ๐
00:15:43 <andythenorth> random reverse and such crap
00:20:16 <petern> Hmm, I should've gone to bed.
00:20:29 <petern> 30 minutes later the CI is still CIing.
00:22:37 <petern> What does msys2 do that takes so long?
00:28:58 <LordAro> emulate a linux subsystem
00:29:14 <LordAro> which generally uses lots of temporary files
00:29:16 <dwfreed> msys2 is just cygwin but better
00:29:28 <LordAro> and windows does not do fast file io
00:29:43 <dwfreed> but it's still cygwin at core, and that's not exactly fast, especially because of Windows
00:30:25 <LordAro> we have this issue at work - the windows builds run via msys, and it's a good 50% slower to build on windows than linux
00:36:50 <andythenorth> relative clock for dates?
00:36:57 <andythenorth> so x months y days since company started?
01:31:23 <andythenorth> hmm how about the entire buy menu is repeated, for every company colour?
01:31:33 <andythenorth> I could automate that with variants and recolour sprites ๐
01:32:23 <andythenorth> 'maybe not, on reflection'
02:39:23 *** Wormnest has quit IRC (Quit: Leaving)
03:37:38 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:08:29 <supermop_Home_> the brits up late today
04:17:44 *** Flygon_ has joined #openttd
04:18:05 <didac> Has anyone ever tried making buttons in OpenTTD clickable only when the mouse is released instead of pressed?
04:21:58 *** Flygon has quit IRC (Ping timeout: 480 seconds)
04:29:34 <imlegos> And on the note of the jukebox; can we make the fontsize as large as the rest of the UI menus? It's especially frustrating to try and pick the right songs at the tiny size it is
04:31:21 <imlegos> This font size isn't used anywhere else in the UI off the top of my head
04:44:04 *** APTX has quit IRC (Quit: Farewell)
05:59:26 <Eddi|zuHause> you know, each time someone comes and says "easy fix", a developer collapses from overworking
06:00:07 <imlegos> "Seems like an easy fix"
06:00:07 <imlegos> The Easy Fix: **Days of coding and bug testing**
06:03:33 <Eddi|zuHause> the "problem" here is that the content download is designed after package managers, which are common in the linux world, but probably unfamiliar for a windows user. and i've no clue how a person thinks that only grew up using a phone
06:05:42 <Eddi|zuHause> so you could add an individual "download" button for confused first time users. but what you're creating is a generation of people that didn't learn that you can combine multiple items into one single download
06:35:38 <kamnet> Eddi|zuHause: Well, I am known for overworking devs like the dogs they are. ๐
06:38:02 <kamnet> Honestly 99% of the time when I'm hitting up the content manager, I'm only downloading one, maybe two packages. Unless you're setting up an OpenTTD install for the first time, it's pretty unlikely than anybody is regularly downloading more than that at any given time.
06:44:09 <Eddi|zuHause> we used to have problems with "download EVERYTHING" people
06:46:11 <Eddi|zuHause> which particularly started to show when abase and zbase came out, which are gigantic, but you never need both
06:47:48 <imlegos> sorry for downloading every single station grf at once
07:58:03 <andythenorth> didac: every other game and UI framework ever since 2001, except us? ๐
08:06:26 *** supermop_Home_ has quit IRC (Ping timeout: 480 seconds)
08:24:17 <petern> imlegos: OpenGFX strikes again. original small font is perfectly readable.
08:37:31 <andythenorth> what was I doing?
08:37:36 <andythenorth> something about variants in Horse?
08:37:46 * andythenorth 4 hours sleep, going to go well
08:46:04 <dP> Eddi|zuHause: you always need both because no one ever remembers which one is better :p
08:56:00 *** scrubbles has joined #openttd
08:56:00 <scrubbles> andythenorth: boxpok drivers on 4-8-2 hawkinge are required
08:56:55 <andythenorth> pls ask OpenAI to draw
09:13:07 <andythenorth> good work OpenAT
09:17:35 *** sla_ro|master has joined #openttd
09:53:57 <andythenorth> oh someone restarted the entertainment
09:54:01 <andythenorth> path signals are bad again
09:55:09 <LordAro> but why do they have a 20 tick delay?
09:56:32 <andythenorth> probably to save your battery
09:57:56 <LordAro> (ignore the fact that the OP is an ass)
10:07:10 <pickpacket> Pruple, andythenorth: where can I see the weight of cargo in game?
10:09:42 <andythenorth> I was testing by loading it into vehicles
10:11:57 <Pruple> pickpacket: If you look at the tea wagon in the buy menu, the weight in brackets is the loaded weight.
10:17:34 <andythenorth> hmm do we remap both 1CC and 2CC in recolour sprites?
10:17:37 <andythenorth> how many would I need?
10:18:24 <Pruple> There are 256 standard 2cc recolour sprites, 16 * 16
10:18:55 <andythenorth> did we do 3CC yet petern ?
10:22:37 <petern> So that people have three of the same engine when they only set 1cc up? ๐
10:25:41 <andythenorth> also how many recolour sprites I could generate ๐
10:28:29 <andythenorth> mostly thinking of all the ways I could do red mail vans ๐
10:28:56 <petern> Players get to paint their own liveries eh?
10:29:07 <Kot> andythenorth: This looks awesome
10:29:19 <andythenorth> also this is 3 company colours ๐
10:29:53 <andythenorth> I think all of these ideas are 'solved' by....working on FIRS 5 instead ๐
10:34:36 <petern> Just stop having ideas.
10:36:26 <Kot> Where would the fun be in that? >=[
10:37:05 <andythenorth> sometimes I play tanks for days
10:42:59 <pickpacket> What should I set the weight to so it doesnโt round down to zero? ๐
10:46:07 <Pruple> andy mentioned he uses decimals rather than fractions, try that. 0.75 rather than 12/16.
10:48:38 <TallTyler> Time to break time again?
10:49:08 <TallTyler> What are the player-facing units for the two-minute economy cycle that used to be called a "month"?
10:49:32 <TallTyler> I'm half-tempted to make up a new unit called the Sawyer
10:51:46 <petern> Stupid December-long illness ๐ฆ
10:53:08 <petern> 2020 and 2021 were shit too mind.
11:01:12 <LordAro> maybe i should resubscribe so i get that graph again
11:01:45 <petern> It's just stats, not important ๐
11:02:45 <LordAro> apparently i'm 76% less fit than i was 6 months ago
11:03:02 <LordAro> according to strava's patented arbitrary fitness number
11:03:45 <LordAro> petern: tbf, my last "actual" ride was the 4th
11:06:30 <petern> After my 2 year hiatus, basically every ride I do is marked as "Historic" or "Massive" relative effort, except when my HRM stopped working. Even the lazy Sunday CTC ride is marked "Tough".
11:07:41 <andythenorth> yes let's break time
11:07:58 <andythenorth> instead of calendar date: years, months, days since company founded
11:08:14 <andythenorth> then scale vehicle introductions arbitrarily
11:08:19 <andythenorth> everything else stays the same
11:08:35 <TallTyler> Trying to find my old branch, but I haven't committed to either `tyler_ruins_time` or `tyler_breaks_time_itself` - apparently I was predicting player pushback ๐
11:08:51 <TallTyler> Guess I'm starting fro mscratch
11:10:08 <andythenorth> ^^ that's it, that's the entire NotDaylength solution ๐
11:10:14 <andythenorth> give or take other places we show dates
11:10:29 <TallTyler> If time can be stopped, some things can't use dates at all
11:10:33 <TallTyler> So we use real-world time
11:15:22 <TallTyler> It appears I wrote a Google Doc where I explained my thinking, but didn't actually write any code
11:15:43 <TallTyler> I got stuck on what to call the "every day" functions, which are now every two seconds
11:16:07 <TallTyler> At least those aren't seen by players, just a month which is conveniently one minute
11:16:33 <petern> 2.2 seconds because #10205
11:17:25 <TallTyler> Yeah, should be 67 ticks per day to go from 2.22 to 2.01 seconds per day
11:17:57 <TallTyler> Oh, and time units on graphs become problematic
11:18:08 <petern> Nah, should be 27ms per tick to go from 2.22 to 2 seconds per day ๐
11:18:37 <TallTyler> We can change tick speed? I thought that was just how fast most computers could run it
11:19:33 <petern> #10205 "explains" that it WAS 27ms in TTD (and thus TTDP), OpenTTD got it wrong.
11:20:06 <petern> Daylength: Increase MS per tick to a high value, game time now runs much slower ๐
11:20:43 <TallTyler> I'm not interested in changing game speed at this time, just technology progression
11:20:46 <Rubidium> megasieverts? Isn't that a bit excessive ;)
11:21:11 <petern> I know, I just got side-tracked by your comment about 2 seconds when it's not 2 seconds.
11:23:06 <TallTyler> Can we change tick speed without screwing stuff up or is it better to change DAY_TICKS
11:24:13 <petern> I think changing DAY_TICKS is more likely to screw things up, but if you're reworking how that works it's probably not an issue.
11:25:13 <petern> I wonder, if I run a server with 27 ms per tick, will a vanilla client cope?
11:25:20 <Rubidium> the easiest (least invasive for the game financial logic) would probably to just rerun the same year a few times (in the first run new engines get added)
11:25:50 <dP> Tick speed you can kinda change already with "fast" forward
11:25:50 <Rubidium> petern: it should, as it will sort-of fast forward the client
11:26:13 <petern> In the flat-world OpenTTD universe, a year is 24 months.
11:26:33 <dP> petern: Yes, I tried that and it works fine
11:26:46 <petern> Yeah, tick speed can be changed without screwing anything up other than slow clients being even slower.
11:27:09 <petern> Some GUI things reference ms-per-tick.
11:27:11 <dP> At least within like 10%-200%. Range
11:27:13 <Rubidium> with rerunning the year you get rid of most of the issues for balancing vehicle sets and the likes. You only need to do the inflation stuff once you actually increase the year instead of every time you restart a year
11:28:19 <petern> Rerunning a year means you get big lumpy gaps between introduction date stuff, instead of big spreadout gaps.
11:28:36 <TallTyler> I'm not planning to restart the year - my PR for that got rejected ๐
11:29:40 <petern> Running Wentbourne at "27 ms per tick" means it is now only running at ~0.37x instead of ~0.40x
11:29:48 <petern> But of course it's still the same speed.
11:30:52 <petern> That's pretty close to 37 fps, nice.
11:33:19 <dP> I wonder how that matches poplar display refresh rates
11:33:46 <dP> Probably even worse for 60hz
11:33:59 <petern> 33 and 37 are both bad for 60Hz
11:34:16 <petern> 33 *does* match 165Hz, but that isn't exactly common.
11:34:36 <andythenorth> hmm is date display a global function?
11:34:41 <dP> That's something at least xD
11:34:44 <petern> 37*2 is actually quite close to 75Hz monitors which may have been common the mid 90s.
11:35:10 <andythenorth> all I need is 'current year' + a fixed prefix string saying 'Year'
11:35:11 <petern> Yeah 640x480 was generally 75Hz.
11:35:18 <andythenorth> then I just start in year 0
11:35:29 <andythenorth> and I adjust all grfs I use to a base year
11:35:47 <andythenorth> parameter for epoch, parameter for intro date scaling
11:36:11 * andythenorth was watching group B rally
11:37:41 <TallTyler> Not awake enough yet to comprehend what Andy is talking about ๐
11:39:10 <andythenorth> lol why is steam so crap
11:39:26 <andythenorth> I try to buy a thing, I have to log in, then it clears my cart
11:39:51 <andythenorth> and now it's authed me somehow as one of my kids accounts
11:40:02 <andythenorth> which it shouldn't be able to do without requiring a new login
11:40:26 <petern> I dunno, I've managed to buy things for years with no issue.
11:42:12 <andythenorth> let's try the app
11:43:11 <andythenorth> it thinks 4 hour install for my game on my connection ๐
11:45:21 <petern> I still don't know why my framerate drops below 60 with vsync. Hmm.
11:45:29 <petern> Sometimes it catches up and works fine.
11:45:54 <petern> Also how is OpenTTD causing 40% load on a 2080Ti?
11:47:14 <petern> Enabling vsync causes GPU load to rise.
11:47:45 <petern> 240 fps without vsync is 20% gpu load, 60 fps with vsync is ~40% gpu load.
11:48:02 <andythenorth> ach is Chrome eating cookies again
11:48:15 <andythenorth> I logged into Virgin to find out why 100MB or something is only 7MB
11:48:27 <andythenorth> and it has eaten my auth session immediately
11:49:32 <andythenorth> ok 500 Mb/s is what I pay for, 7Mb/s is what I'm getting
11:49:36 <andythenorth> no wonder Steam is cross
11:49:56 <andythenorth> petern: how's your framerate? ๐
11:50:01 <LordAro> petern: there have been suggestions that vsync has not been properly implemented before
11:50:03 <andythenorth> 'discord, talking to self as a service'
11:52:08 <glx[d]> Wifi or ethernet Andy ?
11:55:21 <andythenorth> it's probably my kids playing Roblox
11:55:25 <petern> LordAro: Not sure how that's possible, it's simply just enabling a flag and then calling swapbuffers as necessary, which is what we do.
11:55:28 <andythenorth> Roblox seems to absolutely hammer connections
11:55:49 <andythenorth> oh maybe Steam was self-updating the client as well
11:56:38 <andythenorth> I don't download stuff outside Apple ecosystem very often, but this is painful
11:56:54 <andythenorth> good reminder that OpenTTD is mostly hassle free
11:57:07 <andythenorth> new client -> download, open .dmg, drag to folder
11:57:15 <petern> I don't mean with downloads or anything, I mean just with it.
11:57:17 <andythenorth> new content -> click update -> have new content
11:57:32 <petern> Steam works really well for me. I don't know how you manage to trigger issues in things.
11:57:51 <andythenorth> I am pretty good at it, I can break most game patches almost immediately
11:57:58 <andythenorth> I'd work in QA, but I don't have the diligence ๐
11:58:37 <reldred> petern: huh, I had vsync on as well, I wonder if that's why my macbook was screaming at work when I was goofing off playing OpenTTD ๐
11:58:39 <andythenorth> finally I can play my new game ๐
11:58:55 <petern> Also Steam does have a built-in rate limiter.
11:59:21 <petern> It also shows downloads as MByte/s whereas your 500 is Mbit/s.
11:59:30 <TallTyler> Saveload merge conflicts are my favorite ๐
11:59:34 <petern> But that's only a factor ~10
11:59:45 <reldred> these are very nice pixels Andy
12:00:10 <andythenorth> ^^ they are not the fancy new ones though ๐
12:00:19 <andythenorth> you going APAC liveries? ๐
12:00:35 <reldred> lmao, I just like green and gold or green and red in ttd ๐
12:00:50 <reldred> also, giz new fancy sprites plz
12:01:24 <andythenorth> lol new rallying game I bought hides the cursor
12:01:39 <andythenorth> so can't get through the intro setup screens
12:01:42 <petern> reldred: Camouflage pixels
12:02:10 <reldred> lmao I often do green and brown
12:02:24 <reldred> but gold looks so good on andy's trains
12:05:17 <andythenorth> I bought a game to have a break from liveries ๐
12:07:02 <petern> TallTyler: Also no, we can't change tick speed, judging by the feedback on that issue ๐ Although all the thumbs-ups/thumbs-downs are LC-Zorg reacting.
12:08:06 <petern> I might make a PR for it to see how that goes ๐
12:08:11 <andythenorth> oh this rally game has 'shuffle' on the cars to choose a random one
12:08:20 <andythenorth> also includes car variants
12:27:32 <reldred> what sort of max speeds do people see for sim rate on fast forward with the limiter removed? I'm seeing nearly 3000x with my new 5800x3d
12:28:21 <andythenorth> you need a comparable save
12:28:25 <andythenorth> like Wentbourne ๐
12:33:17 <petern> Urgh, my i7-8700K seems slow now ๐ฆ
12:37:11 <andythenorth> reldred: savegame? ๐
12:37:39 <reldred> it's just a basic 256x1024 map, nothing outrageous
12:37:52 <reldred> just surprised, my old 3600x could never push this fast.
12:39:25 <reldred> 17frames, 0.5x speed factor
12:39:28 <andythenorth> I get a sim rate of 0.85x on Wentbourne ๐
12:39:31 <reldred> that's in jgrpp mind you
12:40:13 <andythenorth> the 3000 is the game speed factor?
12:40:16 <reldred> lets try regular openttd
12:42:18 <reldred> regular openttd steam nightly I can do 0.60x speed factor at 20fps
12:44:35 <petern> I didn't expect vanilla to be any faster tbh.
12:45:18 <reldred> Cool thing is, this was only an AUD$500 cpu
12:46:42 <petern> i9-13900K should be fast I guess...
12:47:13 <reldred> Yeah, 13th gen intel is spicy
12:48:17 <reldred> The 5800x3d was supposed to be the last hurrah of my am4 system and then this new case came out and a build theme idea came to mind and now I'm part way to building an entirely new computer...
12:51:40 <petern> Problem with Intel is no matter the intention you always need to get a new motherboard.
12:51:54 <petern> And DDR5 is the thing now, so I'd need new RAM.
12:51:59 <petern> It's basically a whole new PC at this point.
12:52:18 *** nielsm has quit IRC (Ping timeout: 480 seconds)
12:53:43 <reldred> Yeah, AM4 lasted a decent long while
12:54:51 <petern> AM5 is a different beast instead.
12:55:11 <reldred> Yeah, the 3d vcahe AM5's are due to drop during CES,
12:55:15 <reldred> should be interesting
12:55:16 <andythenorth> hmm this rally game isn't just 'press A for throttle' 100% of the time
12:55:35 <reldred> I just couldn't justify the costs of AM5 motherboards and ddr5 ram
12:55:40 <andythenorth> I guess original Mariokart taught me wrong
12:56:08 <reldred> *she says, planning to buy a $550 AM4 motherboard, $600+ worth of fans, for a themed PC case build*
12:56:32 <reldred> the new case has wood ok
12:57:19 <petern> I need a cheaper hobby.
12:57:24 <petern> Computers and cycling are both not.
12:57:38 <petern> Oh yeah, music synths.
12:57:42 <petern> No wait, they're not cheap either.
12:57:54 <reldred> yeah, computers aren't, toy guns aren't, bicycles so far have been rather cheap, diesel trucks aren't...
12:58:29 <petern> 10,000km in a year means lots on bicycle parts.
12:58:32 <reldred> only thing holding me back from spending silly money on toy guns is that I'm waiting for the police to issue my license.
13:11:07 <petern> Well... that sprite has the wrong colours to be a standard glyph...
13:20:08 <reldred> well, what passes as airsoft here...
13:28:01 *** Etua has quit IRC (Ping timeout: 480 seconds)
14:03:26 <reldred> no we don't have those here
14:14:35 <petern> Hmm "if sprite has shadow subtract 1 from dimensions" is a bit poor.
14:38:55 *** supermop_Home has joined #openttd
14:52:48 <supermop_Home> andythenorth: beige buildings better than white for contrast with platforms?
14:52:57 <supermop_Home> or make the platforms a different color?
14:54:29 <andythenorth> oof I have newgame in my console commands
14:54:37 <andythenorth> keep trashing my newgrf test case with it ๐ฆ
14:54:52 <andythenorth> pressing 'up' and hitting enter without checking ๐
14:55:27 <andythenorth> supermop_Home: depends on the platform colour? ๐
14:57:34 <supermop_Home> reusing the ogfx plaforms, so they are muddy/noisy grey
15:02:25 <supermop_Home> could make them less noisy or a different color, but then wont match with default station
15:03:12 <andythenorth> agreed, use colour
15:03:40 <supermop_Home> on the building?
15:04:57 <andythenorth> one more attempt at this?
15:05:07 <andythenorth> even though clearly there aren't enough pixels at 1x
15:06:03 <supermop_Home> this thing looks like it was painted white in 1889 but looks like it got dingier by 1901
15:06:15 <supermop_Home> so beige might work
15:12:01 <andythenorth> lol I knew this would be bad...but eh
15:12:21 <petern> That is the opposite of bad. What is it that word... good?
15:12:39 <andythenorth> so good they named it twice
15:13:03 <petern> it is good, or as we said in the 80s, bad.
15:24:55 <andythenorth> I should stop ๐ v
15:25:41 <andythenorth> "probably needs 3cc"
15:30:10 <supermop_Home> andythenorth looks good
15:32:03 <supermop_Home> need to keep some clarity on stations so i don't wind up with too large and nebulous scope. ideally put something out the door this weekend as follow up to last year's Hawaiian base set houses
15:32:59 <Rubidium> how far is the telemetry along? Can the 8bpp be removed yet? Then we might give NewGRF authors the ability to provide custom palettes, and make those palettes vehicle/station age aware. So things will start look grimier the older they get, until there is some service or station rebuild
15:36:04 <supermop_Home> objectives should be 1) replace the default station because i'm sick of it, and maybe make it fit better in a tropic climate. 2) add some simple other station types that look Oahu-ish. 3)maybe pick up the ogfx+ station idea
15:36:17 <supermop_Home> should stick to either 1+2 or 1+3
15:36:54 <supermop_Home> 1 could be a static grf or part of Hale set
16:05:51 <Gwyd> andythenorth: You should stop making the blue part non cc
16:06:00 <Gwyd> 2 cc with blue/red would be good
16:06:12 <andythenorth> fix the white to white?
16:06:21 <Gwyd> Yeah that's what rukts does
16:06:22 <andythenorth> I usually use red/white as company colours though
16:06:42 <andythenorth> red trains are faster
16:07:47 <andythenorth> with full recolour sprites
16:09:09 <petern> Just do an overlay with a different CC set.
16:12:23 <andythenorth> hmm sub pixel overlays for 1x sprites?
16:14:54 <glx[d]> hmm looks like all preview builds are failing now
16:15:30 <glx[d]> fatal: detected dubious ownership in repository at '/__w/OpenTTD/OpenTTD'
16:17:31 *** TROILUS7 has joined #openttd
16:21:53 *** TROILUS has quit IRC (Ping timeout: 480 seconds)
16:21:53 *** TROILUS7 is now known as TROILUS
16:24:19 *** Wormnest has joined #openttd
16:30:48 <LordAro> glx[d]: updated git + different git checkout user?
16:34:05 *** sla_ro|master has quit IRC ()
16:40:13 <glx[d]> I guess it's the new emsdk image
16:43:13 *** Etua has quit IRC (Read error: No route to host)
17:03:02 *** gelignite has joined #openttd
17:20:34 <supermop_Home> i assume people like seeing through the train shed roofs... presumably to watch the trains
17:22:34 <supermop_Home> most shed roofs are not all glass... some are solid apart from some gaps to let smoke out.. with careful drawing could align the gap over the front track to let you see the train on the rear track?
17:22:56 <FLHerne> supermop_Home: Dutch Stations Addition has some like that iirc
17:23:12 <supermop_Home> but maybe people want cargo waiting sprites and would rather see the platforms full of cargo/passengers
17:23:59 <supermop_Home> of course making it all glass lets you see everything rather that just a huge expanse of roofing material
17:24:41 <supermop_Home> but a little brutal for hot sunny climates to make your passengers wait in a greenhouse
17:30:17 <petern> I guess that's a no ๐
17:32:48 <glx[d]> needs more work, or a way to force dedicated build
17:33:27 <glx[d]> at least it runs inside the PR
17:59:17 <LordAro> question is, will it be faster or slower than msys?
18:00:21 <LordAro> and will Rubidium fix all the issues it finds? :p
18:01:10 *** SoniEx2 has joined #openttd
18:01:59 <Rubidium> no, I won't. If your branch adds a load security issues then I rather have the author of that branch fix them :D
18:02:01 *** Soni has quit IRC (Read error: Connection reset by peer)
18:04:29 <dP> So, who got 2023 already, how is it, any better?
18:10:49 <petern> Hmm, I think RGBCC is dead.
18:16:12 <petern> I wonder why I did 21-bit RGB ๐
18:20:03 <andythenorth> 3 bits for something else? ๐
18:20:15 <petern> That's the thing, there's 4 bits used.
18:20:37 <petern> 32 - 8 - 4 is 20 bits. I must have off-by-oned.
18:23:16 <andythenorth> 'mistakes were made'
18:28:53 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
18:29:15 *** WormnestAndroid has joined #openttd
18:29:48 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
18:29:50 <Rubidium> LordAro: it's definitely slower than msys for at least PRs :(
18:31:21 <petern> 31 minutes just to build is a bit weird.
18:39:02 <TrueBrain> Rubidium: We could enable cache ๐
18:40:11 <TrueBrain> Matrix.libsdl .. you did some copy pasting I see ๐ but that variable is empty, so it doesn't compile libsdl support ๐ as a FYI ๐
18:41:11 <TrueBrain> I am somewhat surprised that the default rules of CodeQL only give this few results .. needs more rules ๐
18:44:06 <LordAro> looks like just type overflow stuff?
18:48:11 <TrueBrain> Enable the security-and-quality queries, and be surprised how much more it finds .. and how much longer analysis takes :p
18:59:57 <Rubidium> LordAro: yeah, that's what I remember roughly remaining from the old LGTM site
19:00:10 <Rubidium> TrueBrain: how would that caching work?
19:03:37 <TrueBrain> We could cache the build folder; then depends how much the PR changes how much is being rebuild
19:04:03 *** Flygon_ has quit IRC (Read error: Connection reset by peer)
19:06:29 <TrueBrain> But that wouldn't be for your PR, I guess ๐ could be added later
19:10:42 <TrueBrain> Owh boy, he went for it .. curious what it reports ๐
19:10:53 *** Wormnest has joined #openttd
19:31:36 <petern> Hm, should we support individual 4GB sprites though?
19:33:10 <Rubidium> only if you can provide a monitor to show those sprites ;)
19:43:01 *** godbed is now known as debdog
19:51:56 <TrueBrain> 163 instead of 47 queries .. pam pam pammm
19:59:34 <TrueBrain> Okay, that completed faster than I expected
19:59:44 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
19:59:50 *** WormnestAndroid has joined #openttd
19:59:53 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
19:59:54 *** WormnestAndroid has joined #openttd
20:01:42 <TrueBrain> `The result of this call to FindWindowById is not checked for null, but 79% of calls to FindWindowById check for null. `
20:03:03 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
20:03:32 <TrueBrain> Some pretty cool finds in there
20:04:39 *** Wormnest has joined #openttd
20:48:13 <Rubidium> the only major questions now... which set of queries to use? Is there a reasonable way to compare the queries, besides making 3 different PRs? And do we want to (eventually) enable this?
20:59:11 <TallTyler> Progress for today: just rebasing and fixing conflicts with nielsmh's NoCalendar branch. I was too tired to focus this morning so I played some OpenTTD to wake myself up, and then the entire day went by ๐
21:06:43 <TrueBrain> Rubidium: In theory CodeQL reports only newly introduced issues on a PR. So only the initial PR has a lot of mentions .. maybe that helps in making a choice
21:08:08 <TrueBrain> And for developers the full set can be viewed under Security tab, so we can slowly work on addressing them or closing them
21:08:30 <TrueBrain> So having 3000+ reports sounds a lot, but also doesn't actually hurt I guess
21:10:25 <TrueBrain> Owh, and if you really want to compare them, you can make a PR in your fork for all 3 options, and compare the results in your fork
21:10:36 <supermop_Home> TallTyler what's that do
21:12:13 <petern> Balls, think the water pump in my clothes washer is about to die :/
21:15:38 <petern> Oh well, I'll leave it til next year
21:15:42 <TallTyler> Described here and here:
21:20:16 <petern> Hmm, `uint8 colour, Colour rgb` seems annoying.
21:22:39 <TrueBrain> No, not to upstream, your own fork, you silly :p ๐
21:23:12 <TrueBrain> Haha, yeah, now it is already too late :p
21:23:34 <Rubidium> and I only failed to do that for the last PR :(
21:23:56 <TrueBrain> Hahaha, yeah, the interface does its best to make the PR upstream ๐
21:26:13 <andythenorth> petern: are you making black company colour? ๐
21:26:24 <andythenorth> now that I have repainted 20 steam engines to black?
21:28:24 <andythenorth> hmm nmlc Checking palette of source images ... 1.8 s
21:28:30 <andythenorth> 10% of compile time, every time
21:28:44 <andythenorth> pointlessly, because I enforce the palette with PIL
21:29:04 <petern> No, I'm rewriting RGB-CC
21:36:12 <andythenorth> I am sure this is totally fine and a very good idea:
21:36:39 <andythenorth> hmm why no embed?
21:38:05 <andythenorth> usually I screen record quicktime and convert with vlc
21:38:23 <andythenorth> maybe it's the curry and beer that means it didn't work
21:39:02 <andythenorth> nope still no embed
21:41:02 <JGR> I'm not sure that allowing users to upload random videos which autoplay on every other's user screen is a good idea ๐
21:49:58 <andythenorth> 2022 version of chat roulette
21:51:37 <andythenorth> ha forgot I did pseudo 3CC and 4CC already
21:56:00 <andythenorth> ok so doing this CC chanage on depot-flip is stupid ๐
21:56:16 <andythenorth> I should just make the red ones a variant
22:02:10 <andythenorth> petern: 3CC supremacy
22:02:18 <andythenorth> we need those pinks for new water though
22:02:29 <andythenorth> to fix rivers for TrueBrain
22:03:31 <petern> Ah, I see where the 21 bit thing came from, TC_FORCED was added 3 years ago, which uses another bit.
22:03:57 <andythenorth> we seem to be doing a lot of random projects
22:04:05 <andythenorth> maybe we should make a plan, and a gantt chart
22:04:09 <andythenorth> and get a project manager
22:04:26 <TallTyler> Sounds like you're volunteering ๐
22:04:35 <andythenorth> how does making red mail cars get all my steam engines painted black?
22:04:37 <petern> Are you going to pay us?
22:04:46 <andythenorth> I am including me in 'random'
22:05:06 <andythenorth> I should make more branches
22:27:02 <andythenorth> changed my compile so I can repeat variants
22:27:08 <andythenorth> in case you didn't have enough ๐
22:34:28 <imlegos> They're all different liveries of the car
22:35:48 <andythenorth> trying to do a buyable red one, but with recolour sprite magic
22:36:05 <andythenorth> instead of painting it in the sprite compositor, like a proper person
22:37:25 <andythenorth> you don't need it from me, I am not responsible ๐
22:37:54 <didac> I know I know, I was being funny. I might try, though sounds pretty challenging
22:38:39 <didac> how about migrating OpenTTD to Qt, wouldn't it be amazing? sure the performance hit and binary size hit would be large
22:39:14 <andythenorth> unbroke it, but my cool new feature doesn't work ๐
22:39:15 <didac> Happy new year for some of you folks in Europe
22:52:26 *** keikoz has quit IRC (Ping timeout: 480 seconds)
23:12:20 <andythenorth> code didn't work ๐
23:16:49 <andythenorth> ok maybe flipping to get red mail cars is fine as a stupid easter egg ๐
23:38:46 *** gelignite has quit IRC (Quit: Stay safe!)
23:49:00 <petern> RGB CC did lots of prep work first that isn't visible. So getting it right after merge conflicts is... less fun :p
continue to next day โต