IRC logs for #openttd on OFTC at 2022-02-14
            
00:23:38 *** Soni has quit IRC (Ping timeout: 480 seconds)
00:24:48 *** Sonic has joined #openttd
00:25:18 *** Sonic has quit IRC ()
00:37:27 *** Soni has joined #openttd
00:46:11 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
01:40:44 *** WormnestAndroid has joined #openttd
02:07:37 *** iSoSyS has joined #openttd
02:10:20 *** iSoSyS has quit IRC ()
02:16:09 *** snail_UES_ has joined #openttd
02:22:00 <DorpsGek> [OpenTTD/OpenTTD] James103 commented on issue #9545: [Bug]: CTD when all cargos are disabled by NewGRF, and cargo payment graph opened https://github.com/OpenTTD/OpenTTD/issues/9545
03:36:27 *** glx has quit IRC ()
03:43:06 *** supermop_Home has quit IRC (Ping timeout: 480 seconds)
03:54:02 *** Wormnest has quit IRC (Quit: Leaving)
03:59:42 *** Flygon has joined #openttd
04:00:42 *** D-HUND has joined #openttd
04:04:05 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:06:37 *** twb has joined #openttd
04:07:42 <twb> OK so I give OpenTTD to prison inmates. They were on 1.6 and now they're getting 1.10.
04:08:47 <twb> Because bananas (content.openttd.org:3980) is blocked, I just downloaded a bunch of extra content in advance, and put that in their OS image.
04:09:06 <twb> And today, I'm updating that to work with 1.10 instead of 1.6. Yay.
04:16:06 <twb> Here's the actual code I'm starting from: https://github.com/cyberitsolutions/bootstrap2020/tree/twb/debian-11-PrisonPC.packages/prisonpc-openttd-extras/debian
04:16:27 <twb> It's pretty much just "wget -i urls" and some tar/chmod/chown
04:19:38 <twb> Oh jeez, looks like http://us.bananas.openttd.org/bananas/basemusic/Doom_I_Soundtrack-1.2.tar.gz has become https://bananas.openttd.org/package/base-music/444f4f4d/2017-08-27T08:37:33+00:00
04:20:35 <twb> So I'll have to either do C-level magic to get the bananas protocol working in a stand-alone downloader, or I'll have to hard-code a hash and a ctime
04:21:31 <twb> There's no "Content-Type: ...; filename=Doom_I_Soundtrack-1.2.tar.gz" header, either, so I'll have to roll that magic as well :-(
04:23:13 <twb> Let me just tcpdump first and see if openttd is still using an ad-hoc protocol instead of standard HTTPS
04:31:55 <twb> Looks like it's moved to :3978 instead of :3980, but yeah it's still using the multiplayer netcode for listing and downloading content
04:39:02 <twb> Hrm, SOME of it is http. curl http://binaries.openttd.org/bananas --request POST --data-binary $'10884238\n'
04:42:07 <twb> Maybe I should just package https://github.com/OpenTTD/bananas-frontend-cli for Debian
04:52:55 <twb> OK, I'm pretty sure I vanished down this rabbit hole last time I looked at this, and ended up throwing it all away and using wget
05:21:12 *** snail_UES_ has quit IRC (Quit: snail_UES_)
05:27:00 <FLHerne> twb: TrueBrain redid all this BaNaNaS stuff fairly recently, but it'll be 5am or so for him just now
05:27:13 <twb> No worries
05:27:31 <twb> I'll be here for a week unless my IPv6 wigs out
05:43:21 <FLHerne> I thought there was some tool that would give the OTTD-calculated md5sum, but if there is I can't remember how
05:44:32 <twb> There's a couple of python libraries but they look pretty annoying for my minimal use case
05:44:49 <twb> Like, I don't really want to set up a VM that is contained enough it can be trusted to run random docker crap
05:45:16 <twb> And e.g. https://github.com/OpenTTD/bananas-frontend-cli/blob/main/requirements.txt has exact requirements instead of ranges
06:02:25 *** OsteHovel_ is now known as OsteHovel
06:02:29 *** OsteHovel has quit IRC (Quit: Leaving)
06:02:46 *** OsteHovel has joined #openttd
06:35:33 *** Splat has joined #openttd
06:38:20 *** Splat has quit IRC ()
06:41:29 *** andythenorth has joined #openttd
06:48:25 <FLHerne> You shouldn't need a docker image, just a virtualenv
06:49:10 *** andythenorth has quit IRC (Quit: andythenorth)
06:49:42 *** andythenorth has joined #openttd
06:54:11 *** sla_ro|master has joined #openttd
07:13:09 *** andythenorth has quit IRC (Quit: andythenorth)
07:14:56 *** andythenorth has joined #openttd
07:50:14 *** andythenorth has quit IRC (Quit: andythenorth)
07:59:12 *** andythenorth has joined #openttd
08:00:41 *** andythenorth has quit IRC ()
08:03:36 *** andythenorth has joined #openttd
08:22:37 <LordAro> shush andy
08:23:59 *** felix has quit IRC ()
08:24:27 *** felix has joined #openttd
08:26:59 *** andythenorth has quit IRC (Quit: andythenorth)
08:30:09 *** andythenorth has joined #openttd
08:48:08 <twb> I will say this about openttd, at least all the downloads are bloody small
08:48:31 * twb throws a bottle at supertuxkart which has 500MB of assets and downloads another 500MB of fonts
08:56:56 <peter1138> Now select zBase :D
08:57:26 *** andythenorth has quit IRC (Quit: andythenorth)
08:58:05 <twb> This is a little suspicious
08:58:06 <twb> http://ix.io/3PzL
08:58:25 <twb> it looks like the checksums are monotonically increasing, i.e. this isn't a content-oriented filesystem AT ALL
09:00:57 *** andythenorth has joined #openttd
09:01:19 <peter1138> twb, they are not checksums, they are Grf IDs, manually set by the NewGRF author.
09:01:40 <twb> oh ok
09:02:48 <peter1138> Also 4f472b31 = OG+1 if translated to ASCII, although that isn't ever done by OpenTTD.
09:03:48 <twb> well, 8-bit ASCII or UTF-8 anyway
09:20:11 *** andythenorth has quit IRC (Quit: andythenorth)
09:21:00 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
09:50:40 *** andythenorth has joined #openttd
09:50:44 * twb suddenly has a horrible thought that maybe "zBase" meant people were playing openttd with a z axis, like... with 3D VR headsets on
11:01:34 <peter1138> No, it's the awful 32bpp extra-zoom baseset.
11:02:59 <LordAro> there have been a couple of 3d OTTD attempts over the years
11:51:53 *** andythenorth has quit IRC (Quit: andythenorth)
11:52:22 *** andythenorth has joined #openttd
12:08:02 *** Gustavo6046 has joined #openttd
12:37:02 *** andythenorth has quit IRC (Quit: andythenorth)
12:39:33 *** andythenorth has joined #openttd
12:40:44 <peter1138> Okay, I was hungry and had salad for lunch already.
12:41:01 <peter1138> But should I finish it off with a bit of cake?
12:46:01 *** andythenorth has quit IRC (Quit: andythenorth)
13:51:09 <Eddi|zuHause> @LordAro those people should just play transport fever...
13:51:25 <LordAro> hehe
14:07:01 <DorpsGek> [OpenTTD/OpenTTD] nielsmh commented on issue #9545: [Bug]: CTD when all cargos are disabled by NewGRF, and cargo payment graph opened https://github.com/OpenTTD/OpenTTD/issues/9545
14:42:20 *** tokai has joined #openttd
14:42:20 *** ChanServ sets mode: +v tokai
15:18:08 *** andythenorth has joined #openttd
15:51:30 *** Gustavo6046 has quit IRC (Remote host closed the connection)
16:02:11 *** Gustavo6046 has joined #openttd
16:08:52 *** glx has joined #openttd
16:08:52 *** ChanServ sets mode: +v glx
16:15:14 *** Wormnest has joined #openttd
16:23:04 *** nielsm has joined #openttd
16:43:24 *** gelignite has joined #openttd
16:47:37 *** frosch123 has joined #openttd
17:13:23 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
18:38:49 *** andythenorth has quit IRC (Quit: andythenorth)
18:39:20 *** andythenorth has joined #openttd
18:49:15 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #9545: [Bug]: CTD when all cargos are disabled by NewGRF, and cargo payment graph opened https://github.com/OpenTTD/OpenTTD/issues/9545
18:56:53 <frosch123> it should display a message "you transport everything there is, consider yourself to have won"
19:02:20 *** D-HUND is now known as debdog
19:04:03 *** andythenorth has quit IRC (Quit: andythenorth)
19:05:31 *** andythenorth has joined #openttd
19:21:23 <nielsm> uh... struct ShipTickPlan : public VehicleTickPlan { /* stuff */ }; and then later static_cast<ShipTickPlan *>(vehtickplanptr)
19:21:39 <nielsm> shouldn't that be fine as an upcast of a pointer type to a base class?
19:21:54 <nielsm> the compiler says they are unrelated
19:22:14 <nielsm> ah, right
19:22:26 <nielsm> the type is only forward declared at that point
19:23:41 <nielsm> yeah, works if I change the order of declarations
19:29:04 <nielsm> well, it compiles and runs now, just ships don't really do anything
19:34:00 <nielsm> pushed to my branch if anyone wants to look
19:46:08 *** supermop_work has joined #openttd
20:00:13 <supermop_work> yo
20:00:49 *** andythenorth has quit IRC (Quit: andythenorth)
20:01:39 *** andythenorth has joined #openttd
20:39:32 <nielsm> https://media.discordapp.net/attachments/337701432230805505/942882371651403806/openttd_2022-02-14_21-36-32.mp4
20:39:38 <nielsm> it moves... kinda
21:18:06 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
21:31:27 *** _aD has joined #openttd
21:39:45 <LordAro> close enough
22:05:20 *** gelignite has quit IRC (Quit: Stay safe!)
22:06:34 *** gelignite has joined #openttd
22:07:16 *** gelignite has quit IRC ()
22:23:52 *** sla_ro|master has quit IRC ()
22:26:57 <andythenorth> lol
22:26:59 <andythenorth> data processing
22:27:07 <andythenorth> top down vs bottom up
22:27:48 * andythenorth flashbacks to the only comp sci course I did, taught to civil engineers
22:27:59 <andythenorth> I skipped the lecture on bottom up vs top down
22:28:15 <andythenorth> turned out the lecturer was quite an evangelist for one of them being The Only Way
22:28:19 <andythenorth> can't remember which
22:29:00 <andythenorth> but I have just done one approach to wrangle some spreadsheet data in python, and now I have learnt why I should use the other approach
22:29:21 <andythenorth> but if I had done the other approach, I would just now be learning why I should have used this approach
22:29:38 <andythenorth> because top down vs. bottom it's false way to design anything
22:29:43 * andythenorth back to json and ARR
22:30:00 <andythenorth> vs. bottom up *
22:31:20 <andythenorth> "It is inherent that no coding can begin until a sufficient level of detail has been reached in the design of at least some part of the system"
22:31:29 <andythenorth> how the fuck do you design anything at all without writing code
22:31:31 <andythenorth> so silly
22:34:02 <andythenorth> also bedtime :D
22:34:08 *** andythenorth has quit IRC (Quit: andythenorth)
22:50:19 <DorpsGek> [OpenTTD/OpenTTD] 55TeMeR55 commented on issue #9742: [Bug]: "Your PC is too slow to keep up with this server" https://github.com/OpenTTD/OpenTTD/issues/9742
22:52:52 <_dp_> andythenorth[m], "Categorically don't be interested in formulation of the problem until obtaining an object module of the program. Remember that programming is an art - so any extra knowledge only restricts your imagination."