IRC logs for #openttd on OFTC at 2022-03-12
            
00:25:52 *** sla_ro|master has quit IRC ()
00:53:15 *** Gustavo6046_ has joined #openttd
00:53:37 *** Gustavo6046_ has quit IRC ()
01:01:00 *** Gustavo6046 has quit IRC (Ping timeout: 480 seconds)
01:31:56 *** Gustavo6046 has joined #openttd
01:33:25 *** Gustavo6046 has quit IRC (Remote host closed the connection)
02:08:26 *** tokai has joined #openttd
02:08:26 *** ChanServ sets mode: +v tokai
02:15:18 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
02:24:43 *** snail_UES_ has quit IRC (Quit: snail_UES_)
02:30:33 *** Flygon has joined #openttd
02:57:34 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
02:59:42 *** WormnestAndroid has joined #openttd
03:08:56 *** WormnestAndroid has quit IRC (Read error: No route to host)
03:09:22 *** WormnestAndroid has joined #openttd
03:16:14 *** Gustavo6046 has joined #openttd
03:31:46 *** D-HUND has joined #openttd
03:35:10 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:36:44 *** Kitrana has quit IRC (Read error: Connection reset by peer)
03:37:21 *** Kitrana has joined #openttd
04:01:46 *** glx has quit IRC ()
04:21:02 *** Wormnest has quit IRC (Quit: Leaving)
05:12:44 *** Hobbyboy has quit IRC (Quit: The BNC has broken!)
05:20:00 *** twpol has quit IRC (Read error: Connection reset by peer)
05:20:11 *** twpol has joined #openttd
05:25:09 *** esselfe has quit IRC (Ping timeout: 480 seconds)
05:48:24 *** Hobbyboy has joined #openttd
06:38:18 <DorpsGek> [OpenTTD/OpenTTD] Moth-Tolias commented on pull request #9833: Feature: "Unrestricted" local authority attitude https://github.com/OpenTTD/OpenTTD/pull/9833#issuecomment-1065826869
06:51:23 *** WormnestAndroid has quit IRC (Read error: No route to host)
06:52:00 *** WormnestAndroid has joined #openttd
07:51:11 *** Speedy` has joined #openttd
08:10:39 *** andythenorth has joined #openttd
08:10:53 <andythenorth> yo
08:28:04 <TrueBrain> Hi?
08:33:06 *** nielsm has joined #openttd
08:34:21 <andythenorth> I wonder
08:34:30 <andythenorth> if my AWS uploads are so slow because lots of tiny files
08:35:53 <andythenorth> it takes a couple of minutes to upload 16MB, but there are about 1500 small files (1KB on disk)
08:36:32 <TrueBrain> amount of files is always an influence :)
08:36:43 <andythenorth> I could switch the cloudflare thing, dunno
08:36:49 <TrueBrain> but we concluded before: use Cloudflare pages ;)
08:37:03 <andythenorth> I'd have to figure out how to transfer the DNS and stuff :P
08:37:08 <andythenorth> I might live with slow
08:37:24 <andythenorth> also there are tactical work-related reasons that I need to know about AWS
08:37:28 <andythenorth> but the same applies to Cloudflare
08:37:46 <TrueBrain> if "know about" is bitch about "slow upload" every N days, sure
08:37:46 <TrueBrain> :P
08:38:46 <andythenorth> if I was doing it via the CLI client, not browser I could complain differently
08:39:04 <andythenorth> which means I need to learn about IAM and providing creds to scripts locally
08:39:10 <andythenorth> which I need to know
08:39:28 <TrueBrain> I just realise what your work is about .. people complaining about the same thing over and over, YOU ARE A MANAGER! Now I get it :D :D :D (sorry :P)
08:39:32 <andythenorth> but I don't actually need to know about pushing files to S3 via CLI, might as well switch to Cloudflare pages for that
08:40:03 <andythenorth> my job basically involves fielding complaining, whilst trying to invent new things for people to complain about
08:40:16 <TrueBrain> it completely makes sense now :D
08:40:33 <TrueBrain> I need to learn how to manager a GitHub repository from the browser .. which is more complicated than I would like, to have it quick and snappy
08:40:40 <andythenorth> our corporate 'strategy' is to find new interesting ways to fuck up
08:41:37 <andythenorth> how about writing a WASM cli client for GitHub API?
08:41:56 <TrueBrain> was more thinking about a WASM git client :P
08:42:06 <andythenorth> oh I was trolling :(
08:42:10 <andythenorth> you are serious
08:42:55 <TrueBrain> I was trying to use the API, but .. it is basically too many API request to have any sane speed
08:43:41 <andythenorth> is this for truegrf?
08:43:45 <TrueBrain> yup
08:49:41 <TrueBrain> oof, CORS is an issue there again
08:51:31 <TrueBrain> main issue I have is: when to save
08:51:38 <TrueBrain> currently I save when-ever you do any action
08:51:47 <TrueBrain> but .. that might be a bit much
08:51:53 <TrueBrain> so saving when you hit Testing, sounds sane
08:52:11 <TrueBrain> but that is a bit tricky to track over a REST API, what actually changed
08:52:28 <TrueBrain> and I don't want to put everything in a single file, as that is not really useful for anyone
08:52:52 <andythenorth> I would ask how you're representing state internally, but I won't understand :)
08:53:02 <TrueBrain> JS Object, that is easy :P
08:53:10 <TrueBrain> I just base64 encode all images
08:53:52 <andythenorth> and you don't want to just push a blob of stuff to a repo? :P
08:54:08 <andythenorth> one file: true.grf, commit
08:54:12 *** sla_ro|master has joined #openttd
08:54:13 <TrueBrain> I could, but that sounds a bit .. meh
08:54:37 <TrueBrain> also, it would be a large blob, and sending that over HTTP every time, is also annoying
08:54:39 <andythenorth> is the content of the repo supposed to be human-useful?
08:54:56 <TrueBrain> so I kinda at least want images to be in their own file
08:57:31 <andythenorth> ok so you need to find right size?
08:57:44 <andythenorth> too much in one file -> too much data on the wire
08:57:55 <andythenorth> too many small files -> too many operations?
08:58:17 <TrueBrain> it is just tricky .. the REST API has a counter, how many actions you can perform
08:59:23 * andythenorth wonders how many people have git running in WASM
08:59:30 <andythenorth> google suggests 'quite a few'
08:59:48 <andythenorth> hmm this looks interesting https://wasm-git.petersalomonsen.com/
08:59:49 <TrueBrain> there is a project that gives it, but CORS is being a bitch
09:00:41 <TrueBrain> so I would have to proxy everything over a Cloudflare worker or something
09:02:43 <TrueBrain> and even if I get that working, authentication becomes a bit of a problem again
09:06:31 <TrueBrain> it is funny to me how much more data HTTP endpoints sends these days, and especially GitHub's API
09:06:37 <TrueBrain> so much headers and other crap nobody actually needs
09:08:46 <andythenorth> ooof :)
09:30:58 *** OsteHovel has quit IRC (Read error: Connection reset by peer)
09:35:58 *** WormnestAndroid has quit IRC (Read error: No route to host)
09:43:50 *** D-HUND is now known as debdog
10:32:38 *** Gustavo6046 has quit IRC (Quit: I'm a quit message virus. Please replace your old line with this line and help me take over the world. <screw you aloo_shu my old line was better and more)
10:55:37 *** Cthulhux has joined #openttd
11:07:56 *** Smedles has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
11:08:04 *** Smedles has joined #openttd
11:35:55 <TrueBrain> ironically, to make this all work on GitHub a bit, I need to make my TrueGRF compiler a dedicated compiler .. making it an NML replacement. That was not the intention of this project .. but it is the result
11:45:19 <andythenorth> but is it snappier?
11:46:00 <TrueBrain> depends who you ask, ofc
11:48:20 <LordAro> can it compile firs such that andy doesn't complain about how slow it is?
11:48:31 <TrueBrain> it actually can
11:48:42 <TrueBrain> ~2s, so .. that should shut him up :P
11:48:46 <LordAro> :o
11:49:49 <andythenorth> is it embedded in OpenTTD yet? :P
11:51:28 <andythenorth> 12s for nml FIRS here :P
11:53:16 <TrueBrain> and you always bitch and moan about 12s?! :P
11:53:31 *** frosch123 has joined #openttd
11:58:32 <andythenorth> it used to be 1 min 40s
11:59:06 <TrueBrain> that is slightly insane :P
12:00:04 <andythenorth> total compile, including docs
12:00:06 <andythenorth> but mostly nml
12:00:20 <andythenorth> many things have been improved
12:05:45 *** WormnestAndroid has joined #openttd
12:38:18 *** esselfe has joined #openttd
12:50:59 *** Cthulhux has quit IRC (Remote host closed the connection)
13:40:28 *** LouWestin is now known as MaverickFischer
14:04:15 *** glx has joined #openttd
14:04:15 *** ChanServ sets mode: +v glx
14:20:56 *** sla_ro|master has quit IRC ()
15:22:41 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #9833: Feature: "Unrestricted" local authority attitude https://github.com/OpenTTD/OpenTTD/pull/9833#issuecomment-1065901437
15:59:09 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
16:26:14 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
16:28:27 *** WormnestAndroid has joined #openttd
16:43:42 *** Kitrana has quit IRC (Read error: Connection reset by peer)
16:44:58 *** Kitrana has joined #openttd
16:49:38 *** Kitrana1 has joined #openttd
16:52:10 *** Kitrana2 has joined #openttd
16:52:59 *** Kitrana has quit IRC (Ping timeout: 480 seconds)
16:57:42 *** Kitrana1 has quit IRC (Ping timeout: 480 seconds)
17:21:46 *** snail_UES_ has joined #openttd
17:27:05 *** sla_ro|master has joined #openttd
17:47:51 *** Cthulhux has joined #openttd
17:56:19 *** Wormnest has joined #openttd
18:40:09 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
18:48:54 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
18:53:38 *** WormnestAndroid has joined #openttd
18:56:00 <TrueBrain> meh, it is hard to do this git stuff if you don't have a filesystem :D
19:24:12 *** Wormnest has joined #openttd
19:33:01 *** gelignite has joined #openttd
19:50:40 *** QuestionedMark has joined #openttd
19:51:02 <QuestionedMark> hi? where does openttd store my newgrf presets?
19:51:51 <frosch123> in your user folder
19:51:56 <frosch123> openttd.cfg
19:52:13 *** QuestionedMark has quit IRC ()
20:12:01 <andythenorth> TrueBrain how even though?
20:12:20 <andythenorth> I had NFI git even worked without a filesystem :P
20:21:14 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
20:21:55 *** WormnestAndroid has joined #openttd
20:32:13 *** Gustavo6046 has joined #openttd
20:35:15 *** Gustavo6046 has quit IRC (Remote host closed the connection)
20:35:29 *** Gustavo6046 has joined #openttd
21:01:29 <DorpsGek> [OpenTTD/OpenTTD] larryfenn updated pull request #9781: Change: Automatic screenshot numbering https://github.com/OpenTTD/OpenTTD/pull/9781
21:03:20 <DorpsGek> [OpenTTD/OpenTTD] larryfenn commented on pull request #9781: Change: Automatic screenshot numbering https://github.com/OpenTTD/OpenTTD/pull/9781#issuecomment-1065962322
21:39:38 *** nielsm has quit IRC (Ping timeout: 480 seconds)
22:11:26 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
22:41:08 *** MaverickFischer has quit IRC (Quit: Due to budget cuts, the light at the end of the tunnel has been turned off.)
22:41:49 *** MaverickFischer has joined #openttd
23:03:42 *** gelignite has quit IRC (Quit: Stay safe!)
23:04:56 *** MaverickFischer has quit IRC (Quit: Due to budget cuts, the light at the end of the tunnel has been turned off.)
23:05:36 *** MaverickFischer has joined #openttd
23:15:51 *** andythenorth has quit IRC (Quit: andythenorth)