Config
Log for #openttd on 16th November 2020:
Times are UTC Toggle Colours
00:14:06  <DorpsGek_III> [OpenTTD/nml] glx22 opened pull request #171: Trying to fix some CodeQL alerts https://git.io/JkZdN
00:14:21  *** tokai|noir has joined #openttd
00:14:21  *** ChanServ sets mode: +v tokai|noir
00:21:07  *** tokai has quit IRC
00:27:27  <DorpsGek_III> [OpenTTD/nml] glx22 updated pull request #171: Trying to fix some CodeQL alerts https://git.io/JkZdN
00:56:11  *** gelignite has quit IRC
03:06:51  *** Gustavo6046 has quit IRC
03:06:58  *** Gustavo6046 has joined #openttd
03:26:05  *** glx has quit IRC
03:26:51  *** Wormnest has quit IRC
04:21:14  <DorpsGek_III> [OpenTTD/OpenTTD] 2TallTyler opened pull request #8341: Doc: Fix links to new OpenTTD wiki https://git.io/JknGZ
04:41:19  <DorpsGek_III> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #8341: Doc: Fix links to new OpenTTD wiki https://git.io/Jknnm
05:35:05  *** sla_ro|master has joined #openttd
06:24:59  *** FLHerne has quit IRC
06:26:12  *** FLHerne has joined #openttd
07:27:59  *** longtomjr has joined #openttd
07:44:21  *** andythenorth has joined #openttd
07:59:06  <andythenorth> hmm
07:59:20  <andythenorth> I can use procedures to fake vars on lead engine of the consist
08:14:41  *** iSoSyS has joined #openttd
08:32:46  <andythenorth> but I'll have to branch through every engine ID
08:47:43  <andythenorth> 'probably fine'
08:48:21  <andythenorth> hmm the number of engine IDs exceeds the maximum ranges for a varact2
08:48:33  <andythenorth> maybe I'll shard the varact2s
09:23:17  *** iSoSyS has quit IRC
09:55:26  <DorpsGek_III> [OpenTTD/OpenTTD] TrueBrain updated pull request #8341: Doc: Fix links to new OpenTTD wiki https://git.io/JknGZ
09:55:58  <DorpsGek_III> [OpenTTD/OpenTTD] TrueBrain commented on pull request #8341: Doc: Fix links to new OpenTTD wiki https://git.io/JknA4
09:56:05  <TrueBrain> fun fact: you can force-push into other people's branches :P
09:57:03  <LordAro> by default, yup
09:57:17  <TrueBrain> to other people's master branch even
09:57:21  <TrueBrain> that is rather insane, honestly :)
09:57:40  <LordAro> if they give permission to contributors
09:57:45  <LordAro> which is ticked by default
09:57:52  <LordAro> ¯\_(ツ)_/¯
09:58:19  <TrueBrain> but FORCE push.. odd :P
09:58:31  <TrueBrain> anyway, eints "attack" stopped yesterday at ~2200
09:58:37  <TrueBrain> so I guess they picked up the robots.txt :)
09:58:40  <LordAro> :)
09:58:58  <TrueBrain> and the wiki is really visited a lot :)
10:00:45  <TrueBrain> LordAro: any idea when you will get to ansible+VPSes? Not trying to rush you, just for my planning :)
10:01:26  <LordAro> uh, "soon"
10:01:33  <LordAro> probably in the next day or 2
10:01:46  <TrueBrain> cool :)
10:02:02  <TrueBrain> https://github.com/OpenTTD/bananas-server/pull/37 <- if you also have time, I would love a review of that, see if that works for you too in terms of VPS deployment
10:03:00  * andythenorth wonders when we last profiled impact of newgrf on OpenTTD performance
10:03:09  <andythenorth> some dude did some profiling a while ago https://www.tt-forums.net/viewtopic.php?p=988283#p988283
10:03:28  <TrueBrain> that ... is a long time ago :P
10:03:37  <TrueBrain> that dude really uses too much smileys, damn
10:06:46  <andythenorth> I'm curious because I'm adding more and more conditional code that might run on every graphics paint
10:06:53  <LordAro> mm, callgrind is very nice
10:07:09  <TrueBrain> just most people do not know how to read callgrind :P
10:07:15  <TrueBrain> and they start to optimize weird functions
10:07:23  <TrueBrain> andythenorth: I can assure you, that every added NewGRF is a performance hit :P
10:07:34  <andythenorth> hmm, how about a Horse grf, and a Horse grf with all the fancy callbacks nerfed?
10:07:35  <andythenorth> to compare
10:07:54  <TrueBrain> add 1k trains
10:08:00  <TrueBrain> and you might see the FPS differ? :D
10:08:04  <TrueBrain> easiest profile ever :D
10:09:36  <TrueBrain> (and if you cannot see a difference with 1k trains ... add 1k more :D)
10:10:15  <orudge> TrueBrain: everything OK with the new VPSes, etc? Will get something set up for mail hosting later - can then imapsync everything across and update DNS whenever you like. Should be an easy enough process.
10:10:56  <TrueBrain> orudge: LordAro  is going to provision the VPSes, but they were up and running, so that seems perfectly fine :)
10:11:06  <orudge> Did you get IPv6 sorted out?
10:11:11  <orudge> or is LordAro working on that
10:11:13  <TrueBrain> it has to be added manually to the VPS
10:11:21  <TrueBrain> so that should be in ansible, I am guessing
10:11:23  <orudge> OK
10:11:35  <TrueBrain> they are assigned to the VPS at least :)
10:11:52  <TrueBrain> but it seems OVH doesn't do advertising for it .. which is a good choice, honestly :D
10:12:04  <TrueBrain> (as in, router advertisement)
10:12:17  <TrueBrain> regarding email, honestly, it is a bit of a mess what we currently have
10:12:34  <TrueBrain> the idea was to put everyone except info@ on a forward to what-ever they want
10:12:41  <TrueBrain> some already do
10:12:48  <TrueBrain> others I will have to check with them what they want
10:14:33  <TrueBrain> I wonder if I can send as truebrain@ if it is forwarded .. hmm ..
10:14:48  <TrueBrain> something to figure out :)
10:16:35  <andythenorth> oof what *is* train prop 25 supposed to be for? https://newgrf-specs.tt-wiki.net/wiki/Action0/Vehicles/Trains
10:16:54  <andythenorth> if I could set arbitrary bits on a train, that would avoid a lot of conditionals
10:17:04  <andythenorth> but apparently we can't have arbitrary bits for performance reasons
10:17:15  <DorpsGek_III> [OpenTTD/nml] LordAro approved pull request #171: Trying to fix some CodeQL alerts https://git.io/JknpS
10:17:30  <andythenorth> but we have arbitrary bits already
10:17:45  <andythenorth> but I guess a feature we can't use has no performance impact :D
10:17:49  * andythenorth understands software
10:27:39  <andythenorth> hmm
10:27:53  <andythenorth> oh I see what I'm doing
10:28:09  *** tokai has joined #openttd
10:28:09  *** ChanServ sets mode: +v tokai
10:28:15  <andythenorth> ok so historically we've relied on trying to store/read information on newgrf vehicles, per vehicle
10:28:35  <andythenorth> but because I have all the information in python
10:28:50  <andythenorth> I can just use procedures to write a huge lookup table into the grf
10:29:18  <andythenorth> including 'running' the callbacks of another vehicle
10:29:22  <andythenorth> this is nuts
10:30:05  <TrueBrain> I see you are having fun :)
10:30:11  <andythenorth> software revelations :P
10:30:13  <TrueBrain> did you know, we once wrote a Squirrel alternative that was called NUTS?
10:30:18  <TrueBrain> it executed .bolt files
10:30:19  <andythenorth> sometimes I think I should learn software
10:30:22  <andythenorth> ha
10:30:31  <andythenorth> usain.bolt
10:30:40  <andythenorth> would be the improved faster version
10:30:58  <TrueBrain> writing compilers is fun :)
10:31:11  <andythenorth> write a new newgrf API and a compiler for it :P
10:31:52  <TrueBrain> you don't need a new API
10:31:58  <TrueBrain> just a compiler that understand the complexity of it
10:32:03  <LordAro> newgrf-squirrel has been suggested before, i think
10:32:25  <TrueBrain> that would most likely be too slow for many GRFs
10:32:55  <TrueBrain> or, well, that is not true: you could compile the Squirrel to GRFs, ofc
10:33:12  <TrueBrain> "the" .. lol
10:33:16  <TrueBrain> weird place to add "the" :D
10:34:13  <andythenorth> well
10:34:20  <andythenorth> some of the API is kind of broken or weird
10:34:36  <andythenorth> but maybe we're doing it wrong
10:34:40  <TrueBrain> as with many APIs :)
10:34:48  <andythenorth> there's loads of stuff that's an actual property or var on the actual vehicle
10:34:56  <TrueBrain> this is why they invent higher-level languages, to avoid complexity of the lower-level API
10:35:02  *** tokai|noir has quit IRC
10:35:22  <andythenorth> but in many cases it's really just a class attribute, or a var that will be static, or a var that varies according to deterministic conditional code
10:35:46  <TrueBrain> does it matter where the information is stored?
10:36:01  <andythenorth> it shouldn't
10:36:16  <andythenorth> but var 61 (lookup properties of other vehicles) comes with warnings
10:36:31  <andythenorth> there isn't an actual problem here to solve
10:36:35  <andythenorth> this is wavey hands thinking
10:42:28  <FLHerne> andythenorth: prop 25 is entirely for setting arbitrary bits on a train?
10:42:40  <FLHerne> Then you read var 42 to see which arbitrary bits were set
10:43:00  <TrueBrain> like a see-saw
10:49:01  <andythenorth> yeah how do you read bits specific to a vehicle?
10:49:05  <andythenorth> rather than the consist?
10:49:11  <andythenorth> they're ORed so what use is that?
10:49:27  <andythenorth> (it's fine if you want to find the train has a brakevan or something)
10:49:38  <andythenorth> not if you want to keep a byte of information on the specific vehicle
10:51:53  <andythenorth> or I'm wrong :)
10:52:58  <FLHerne> You'd think var 47 would, but it doesn't seem to
10:53:16  <FLHerne> Why do you want to do that?
10:54:37  <andythenorth> I don't have an actual use case, or not one that would survive very long
10:54:51  <orudge> [10:14:35] <TrueBrain> I wonder if I can send as truebrain@ if it is forwarded .. hmm .. <-- I think to do it 'properly' we'd need to set up a mailbox, but you could then set a filter to auto-forward all incoming e-mail then auto-delete it
10:54:56  <andythenorth> it's better to read the ID then have a huge lookup table of facts about the vehicle in a procedure
10:55:18  <FLHerne> I guess I don't see why this is better than setting a temp var in a switch or so
10:55:36  <TrueBrain> orudge: I guess; what really annoys me that IMAP doesn't support OAUTH, except for gmail / outlook and 1 or 2 other big players
10:55:37  <andythenorth> the case is var 61 to read information about other vehicles
10:55:55  <andythenorth> but the more I think about it, the more 'correct' the huge lookup table seems
10:56:03  <TrueBrain> orudge: as that would solve "authentication" issues :)
10:56:21  <FLHerne> What information do you want to know about a specific other vehicle?
10:57:49  <orudge> TrueBrain: It looks like Postfix and Dovecot may support OAUTH, but exim, which cPanel uses, doesn't. And even if it did, it likely wouldn't work with cPanel. And if I can avoid manually managing mail servers these days, I do. :)
10:58:02  <andythenorth> current 'livery', available power type, how fast it goes, what roster it belongs to in Horse, whether it's a pax coach, etc etc
10:58:13  <TrueBrain> orudge: fun fact, they indeed do support OAUTH, just no client does
10:58:17  <orudge> Ah
10:58:21  <TrueBrain> orudge: clients have hardcoded a few oauth providers, like gmail, outlook, ..
10:58:27  <TrueBrain> a server cannot indicate what oauth provider to use
10:58:29  <andythenorth> for example https://github.com/andythenorth/iron-horse/blob/master/src/templates/procedures_alternative_var_41.pynml
10:58:31  <TrueBrain> it is REALLY stupid and REALLY silly
10:58:32  <FLHerne> andythenorth: But why?
10:58:46  <andythenorth> why anything? :)  To do silly things with appearance
10:59:04  <FLHerne> andythenorth: Caring about all those facts about each other vehicle in the chain will give you some ridiculous combinatorial explosion :-/
10:59:16  <andythenorth> and yet...
10:59:23  <andythenorth> it works so far
11:02:12  <TrueBrain> orudge: https://hg.mozilla.org/comm-central/file/tip/mailnews/base/src/OAuth2Providers.jsm#l62 <- just to make you laugh too .. that is how Thunderbird supports OAuth2 :P
11:02:17  <TrueBrain> I mean .. it is 2020 .. wtf people ...
11:28:52  *** frosch123 has joined #openttd
11:32:43  <frosch123> i think "truemail" is a bad idea
11:36:19  <TrueBrain> Hahahaha
11:36:22  <TrueBrain> I agree
11:37:03  <TrueBrain> It is also a problem in the IMAP protocol, sadly
11:38:42  *** rptr_ has joined #openttd
11:42:39  <frosch123> funny how often irc is linked from github docs :)
11:43:31  <frosch123> TrueBrain: i don't think those urls are important enough for a redirect. do the 404s of the past days have some decent favorites?
11:50:17  *** WormnestAndroid has quit IRC
11:50:30  *** WormnestAndroid has joined #openttd
11:57:42  <frosch123> TrueBrain: https://wiki.staging.openttd.org/en/Escapes <- there is one that sticks out :) opinion? fix truewiki or edit pages?
11:58:17  <TrueBrain> what am I looking at?
11:58:40  <frosch123> using "&" and "&amp;" as text in various syntaxes
11:58:54  <TrueBrain> ah, wikilink text are html escaped, yes
11:58:56  <frosch123> in all but one place &amp; is rendered as "&"
11:59:12  <TrueBrain> this has to do with [[en/Page&Page|Page&Page]]
11:59:15  <frosch123> https://wiki.openttd.org/Template/de/Manual/Tutorial/Tutorial <- which is used in the tutorial
11:59:33  <TrueBrain> this is one of the big issues with wikitext honestly ..
11:59:41  <TrueBrain> you are free to type HTML where-ever you want
11:59:43  <TrueBrain> EXCEPT
11:59:53  <TrueBrain> what mediawiki does, it "guesses" if it should escape or not
12:00:06  <TrueBrain> for eample, Page&Page is escaped, but Page&amp;Page is not
12:00:18  <frosch123> yep :)
12:00:39  <TrueBrain> but I agree this is not consistent
12:01:02  <TrueBrain> mostly "[[&amp;]]" seems to be rendered wrong
12:01:17  <TrueBrain> well, external links too
12:01:19  <TrueBrain> hmm ... I dunno
12:01:22  <TrueBrain> difficult one ..
12:01:29  <frosch123> yes, title of internal link. external link is fine
12:01:42  <TrueBrain> I guess I can remove the escaping of the text in wikilinks
12:02:01  <TrueBrain> well, escape <>, but not anything else, I guess
12:02:34  <frosch123> ok, i'll add < to the page, to see what it does
12:03:40  <TrueBrain> in last hour, of all 404s:
12:03:41  <TrueBrain>      84 /NewGRF_List
12:03:50  <TrueBrain> the rest is not important
12:04:07  <TrueBrain> (loading of robots.txt, loading of load.php, Special pages, php files ..
12:04:12  <TrueBrain> first other page is /Signals, with 4 hits
12:04:52  <TrueBrain>      87 ""https://webcache.googleusercontent.com/""
12:04:52  <TrueBrain>     216 ""https://www.google.com/""
12:04:52  <TrueBrain>     734 ""-""
12:04:54  <TrueBrain> referrer
12:05:25  <TrueBrain> NewGRF_List was 1 person
12:05:27  <TrueBrain> hitting the F5 a lot
12:05:30  <TrueBrain> like .. a lot
12:05:35  <TrueBrain> guess he didn't agree with the 404
12:06:17  <LordAro> lol.
12:06:24  <frosch123> :)
12:06:40  <TrueBrain> so no, nothing stands out
12:08:07  <frosch123> so we remain with adding no redirects
12:08:21  *** rptr_ has quit IRC
12:09:58  <frosch123> ugh. i don't dare show you the rendered result of the new test page
12:10:17  <TrueBrain> ah, I remember why I added the escape
12:10:24  <TrueBrain> [[en/&amp;]] should render as &amp;, not &
12:10:39  <TrueBrain> but [[en/&amp;|&amp;]] should render as &, not &âmp;
12:10:39  <TrueBrain> :D
12:10:58  <frosch123> that sounds reasonable
12:11:45  <TrueBrain> tnx for that page, that is surprisingly useful
12:11:49  <frosch123> as it turns out, the browser also does some interpretation, and happily renderes unescaped "&" :)
12:13:43  <TrueBrain> https://github.com/TrueBrain/wikitexthtml/pull/19 <- I love how GitHub renders the &amp; too :P
12:14:02  <TrueBrain> those & are not all & :P
12:14:55  <frosch123> :)
12:15:47  <TrueBrain> I love GitHub Actions. I know I say it a lot, but damnnnn
12:17:37  <frosch123> https://github.com/TrueBrain/wikitexthtml/pull/19/commits/6ac4884fbe89bec4813658019ac78bf7fb8c5c9b <- it's readable there
12:18:11  <TrueBrain> bit silly how it does not do that correctly automatically :)
12:18:22  <TrueBrain> but it is such a niche issue ... :P
12:18:38  <TrueBrain> deployment to staging is on its way
12:19:27  <TrueBrain> no search-engine has updated site:wiki.openttd.org yet :(
12:21:09  *** gelignite has joined #openttd
12:23:18  <TrueBrain> deployed, and updated the page with ' too
12:23:39  <TrueBrain> I think this looks okay now, right?
12:29:05  <frosch123> there are still plenty raw "&" in the generated html, but my browser does not care :)
12:31:19  <frosch123> but it escapes " and < in the important places
12:31:52  <andythenorth> hmm, parameterised procedures
12:31:59  <andythenorth> I  can basically define my own var numbers
12:32:08  <andythenorth> and pass in the target var and a vehicle ID
12:32:58  <andythenorth> no that's pointless, I can just use a named procedure, silly andythenorth
12:34:08  * andythenorth wonders how much varact2 results can be cached :P
12:35:27  <frosch123> i think "cache" is the wrong strategy. but ottd could "avoid" many
12:35:48  <frosch123> i read about jgrpp adding something recently, but did not check what exactly
12:36:16  <TrueBrain> frosch123: there is nothing wrong with & in HTML
12:36:17  <FLHerne> https://github.com/JGRennison/OpenTTD-patches/commit/99b2698658660539d0e56cebfdfaf033c17acfd7
12:36:23  <TrueBrain> only &<text> is being processed
12:36:44  <frosch123> TrueBrain: oh, is that a xhtml thing?
12:36:55  <TrueBrain> &<text> is an html entity
12:36:58  <TrueBrain> & is just .. a &
12:37:04  <TrueBrain> that is by specs for .. well, as long as I know HTML :)
12:37:22  <frosch123> well, i should not have expected anything else from html :)
12:37:27  <TrueBrain> funny enough, &<text>; is also an html entity, but the ; is not always mandatory :D
12:37:30  <frosch123> it's as silly as mediawiki
12:37:34  <TrueBrain> it is
12:38:10  <TrueBrain> but the important part works now: if a page is called &amp;, the title shows that too :D
12:38:25  <TrueBrain> in other words, we escape html entities in page names correctly now \o/
12:38:50  * andythenorth proposes newgrf reboot
12:39:05  <TrueBrain> that is an impossible task :P
12:39:07  <frosch123> TrueBrain: \o/
12:39:10  <TrueBrain> we once tried "newmap"
12:39:18  <andythenorth> stop talking about specific prop x / var y / cb z
12:39:37  <andythenorth> and how author abc needs a specific thing added for their one-off use case
12:39:38  <TrueBrain> but let's call it newnewgrf
12:39:46  <andythenorth> notnewnewgrf
12:39:47  <andythenorth> oldgrf
12:40:08  <TrueBrain> well, I guess NewGRF doesn't have to be compatible with TTDp anymore :)
12:40:16  <andythenorth> opengrf
12:40:19  <andythenorth> truegrf
12:40:20  <andythenorth> quakgrf
12:40:36  <frosch123> call it "odd"
12:40:54  <frosch123> looks like "app", and has plenty of openttd chars in it
12:41:04  <andythenorth> I have basically figured out how to extend new vehicle properties or deterministic vars without touching newgrf spec
12:41:18  <andythenorth> but it's mad
12:41:36  <TrueBrain> well, that suits your character, so nothing wrong there :)
12:41:37  <andythenorth> I think I'm probably building my own state machine badly, by accident
12:42:05  <frosch123> is andygrf more like typescript, or like coffeescript?
12:42:23  <frosch123> is there teascript?
12:43:06  <TrueBrain> frosch123: https://wiki.openttd.org/Template/de/Manual/Tutorial/Tutorial <- fixed
12:43:57  <frosch123> \o/
12:44:14  <andythenorth> I think it's more like NeverDoThisAgainScript
12:44:47  <andythenorth> since I moved many vehicle var / cb results to procedures
12:44:52  <TrueBrain> or, I know, radical: lua
12:44:53  <andythenorth> I can run them for vehicle A from vehicle B
12:44:54  <TrueBrain> :P
12:45:03  <frosch123> https://teascript.readthedocs.io/en/latest/ <- i am not fluent enough in js to ge the jokes
12:45:55  <andythenorth> frosch123 I like how the links to the web environments go to domain parking / malware installers
12:47:11  <andythenorth> is i lunch?
12:48:43  <frosch123> https://teascript.readthedocs.io/en/latest/new-features.html#modified-regexp <- i like the last usage of ? at the bottom. i wonder why lisp doesn't have that
12:49:26  <TrueBrain> why ....... holy crap
12:49:27  <TrueBrain> no, just no
12:49:28  <TrueBrain> wtf
12:49:37  <TrueBrain> I need to remove my eyes now
12:49:38  <TrueBrain> wtf
12:50:26  <andythenorth> "Σ Operator"
12:50:26  <andythenorth> lol
12:50:35  <andythenorth> oh this is awesome https://teascript.readthedocs.io/en/latest/new-features.html#id4
12:50:51  <andythenorth> "Closing Parenthesis"
12:50:56  <andythenorth> please, bring that to python
12:51:58  <andythenorth> this is quite good eh
12:52:02  <TrueBrain> I just said, but I repeat: NO
12:52:04  <TrueBrain> JUST NO!
12:52:07  <TrueBrain> go away you evil people :(
12:52:25  <TrueBrain> (it is what frosch123 said btw andythenorth , but happy you found it too :P)
12:52:44  <TrueBrain> but it is by far the worst idea I have seen in months for any language :P
12:52:47  <TrueBrain> what the hell really ..
12:53:08  <frosch123> TrueBrain: it's a trollpage, even i can detect that
12:53:09  <andythenorth> really quite good trolling
12:53:26  <andythenorth> lol https://teascript.readthedocs.io/en/latest/basic-examples.html#array-tasks
12:53:31  <TrueBrain> frosch123: doesn't matter .. just NO
12:54:25  <andythenorth> can we use this as inspiration for newnewgrf?
12:54:29  <andythenorth> I could make some examples
12:54:31  <TrueBrain> that you can even come up with that bullshit, incredible :P
12:54:39  <TrueBrain> andythenorth: I am going with .... no :P
12:54:56  <andythenorth> I was going to apply it to both the source, and the template language
12:55:10  <andythenorth> particularly, it would be really helpful if the templater didn't use an control codes
12:55:14  <andythenorth> like ${}
12:55:31  <andythenorth> then the template language wouldn't 'pollute' the nml
12:55:47  <andythenorth> so ideally the templater would just look like nml, only more different
13:02:33  *** glx has joined #openttd
13:02:33  *** ChanServ sets mode: +v glx
13:09:30  <DorpsGek_III> [OpenTTD/nml] glx22 merged pull request #170: Switches optimisations improvements and fixes https://git.io/Jks2Y
13:10:01  <DorpsGek_III> [OpenTTD/nml] glx22 merged pull request #171: Trying to fix some CodeQL alerts https://git.io/JkZdN
13:13:48  <DorpsGek_III> [OpenTTD/OpenTTD] frosch123 approved pull request #8341: Doc: Fix links to new OpenTTD wiki https://git.io/JkcGO
13:16:24  <DorpsGek_III> [OpenTTD/OpenTTD] frosch123 merged pull request #8341: Doc: Fix links to new OpenTTD wiki https://git.io/JknGZ
13:31:28  <TrueBrain> https://github.com/nelsontky/gh-pages-url-shortener more people using GitHub as database :D
13:32:04  <LordAro> oh god
13:32:27  <andythenorth> newgrf state machines on github?
13:32:32  * andythenorth considers how it would work
13:40:17  <frosch123> didn't andy want a bananas url redirecter?
13:41:12  <frosch123> clearly we should have replaced talk pages with gh issues
13:52:42  <TrueBrain> Haha :D
13:52:53  <TrueBrain> Still a good idea :p
13:55:38  <andythenorth> frosch123 something something something about versioned docs
13:55:51  <andythenorth> or preventing link rot or something
13:56:10  <andythenorth> hmm
13:56:23  <andythenorth> can we actually reimplement OpenTTD in GitHub?
13:56:32  * andythenorth wonders how that would work
13:56:55  <andythenorth> cargo would move by PR?
14:07:38  *** nielsm has joined #openttd
14:07:40  <andythenorth> hmmm
14:07:46  <andythenorth> this manual loop unroll .... https://github.com/andythenorth/iron-horse/blob/master/src/templates/procedures_alternative_var_41.pynml#L38
14:08:00  <andythenorth> there's no way in varact2 to not unroll, right?
14:08:15  <andythenorth> varact2 can't recurse back to self afaik
14:09:09  <frosch123> yes, that's one of the main goals. all callbacks finish in fixed time
14:09:45  <andythenorth> hmm
14:09:54  <frosch123> that grfs can still work around that, proves the rule, or something?
14:09:56  * andythenorth trying to paddle in a 10 foot deep pool
14:13:29  * andythenorth was reading https://en.wikipedia.org/wiki/Loop_unrolling
14:31:10  *** longtomjr has quit IRC
14:32:30  *** longtomjr has joined #openttd
14:53:29  <andythenorth> oh
14:53:33  <andythenorth> I could optimise the unrolls
14:53:54  <andythenorth> If I check var 60 first, I could bail on the entire chain if certain IDs are not found
14:54:01  <andythenorth> https://newgrf-specs.tt-wiki.net/wiki/VariationalAction2/Vehicles#Count_Veh.ID_occurence_.2860.29
14:54:17  <andythenorth> instead of always walking the full chain looking for a list of IDs
15:15:09  *** Flygon has quit IRC
15:15:35  *** sla_ro|master has quit IRC
15:16:29  *** andythenorth has quit IRC
15:32:20  *** andythenorth has joined #openttd
15:32:51  <andythenorth> hmm
15:32:58  <andythenorth> optimising Horse could become a project :P
15:35:53  <frosch123> horse doping?
15:55:43  <andythenorth> horse wars
16:10:58  *** rptr_ has joined #openttd
16:12:27  *** Wormnest has joined #openttd
16:22:43  *** rptr_ has quit IRC
17:16:03  <DorpsGek_III> [OpenTTD/team] troccoli opened issue #89: [it_IT] Translator access request https://git.io/JkcHM
17:19:48  *** blathijs has quit IRC
17:24:58  *** Progman has joined #openttd
17:26:30  *** blathijs has joined #openttd
18:15:21  *** HerzogDeXtEr has joined #openttd
18:15:21  *** Wolf01 has joined #openttd
18:20:31  <TrueBrain> https://www.reddit.com/r/openttd/comments/jurxfn/trouble_getting_into_iron_horse_2/
18:20:32  <TrueBrain> tsssk
18:26:00  <andythenorth> tssk
18:26:07  <andythenorth> read that earlier
18:26:13  <andythenorth> but I don't have a reddit account
18:26:43  *** Eddi|zuHause2 has joined #openttd
18:28:07  <TrueBrain> it made me giggle :) E_CONTENT_TOO_HARD
18:30:44  * andythenorth considers a parameter
18:30:49  <andythenorth> sandbox mode
18:31:01  <andythenorth> so we have so many things we need to innovate in OpenTTD
18:31:06  <andythenorth> * content framework
18:31:09  <andythenorth> * sandbox mode
18:31:12  <andythenorth> * time freezer
18:31:20  <andythenorth> * github as savegame database
18:31:24  *** Eddi|zuHause has quit IRC
18:31:26  <andythenorth> * MMPORG
18:31:35  <andythenorth> and people say it's done?
18:31:40  <andythenorth> apart from timetables?
18:31:42  <andythenorth> lolz
18:33:51  *** Eddi|zuHause has joined #openttd
18:37:00  <TrueBrain> GitHub as cloud-save, lolz
18:37:01  <TrueBrain> that is evil :)
18:38:48  *** Eddi|zuHause2 has quit IRC
18:39:19  <andythenorth> instant versioning :P
18:39:37  <andythenorth> how efficient is savegame format? :P
18:39:42  <andythenorth> can it be incremental?
18:39:52  <TrueBrain> only if you output it as XML :P
18:40:00  <andythenorth> it isn't XML? :o
18:40:06  <andythenorth> XML is the bomb
18:40:09  <andythenorth> we should switch
18:40:28  <andythenorth> also, apparently if we get rid of truly-random trees, savegame size will plummet
18:40:29  <TrueBrain> how to say this politely ....
18:40:30  <andythenorth> allegedly
18:40:30  <TrueBrain> NO
18:40:50  <TrueBrain> truly-random? WE INVENTED TRULY RANDOMNESS?
18:40:51  <andythenorth> something something something trees are 80% of savegame + memory usage
18:40:54  <TrueBrain> omg, we are going to be rich!
18:41:00  <andythenorth> yes
18:41:08  <andythenorth> we are sitting on a goldmine here
18:41:21  <andythenorth> untapped
18:41:29  <TrueBrain> let's keep it that way :)
18:41:31  <andythenorth> people want truly random, we send them back some hash of all the trees
18:41:38  <andythenorth> random-as-a-service
18:41:42  <TrueBrain> :D
18:41:55  * andythenorth isn't joking
18:41:57  <TrueBrain> I want to understand how to emulate the SNES PPU in a simple way, but darn, that thing is hard to emulate ..
18:42:21  <andythenorth> I am not likely to be helpful with that :(
18:42:23  <andythenorth> sad times
18:42:24  <LordAro> andythenorth: http://phoeagon.github.io/dev-random-as-a-service/
18:42:52  <TrueBrain> LordAro: no no, our trees are truly-random
18:42:52  <andythenorth> LordAro 'who we are' is v. good
18:42:57  <TrueBrain> not the pesky /dev/random random
18:43:16  <andythenorth> what even is truly-random, mathematically?
18:43:19  <andythenorth> and who would suggest it?
18:43:24  <andythenorth> silly
18:43:27  <TrueBrain> it truly doesn't exist :P
18:43:41  <andythenorth> is the universe deterministic or not?
18:43:48  * andythenorth philosophy degree revisits
18:43:58  <andythenorth> NOO
18:43:58  <TrueBrain> it is not so much a mater of if it is
18:44:00  <TrueBrain> more if you can proof it
18:44:10  <andythenorth> can you falsify the hypothesis?
18:44:13  <andythenorth> and what is 'proof'?
18:44:18  <TrueBrain> what is life?
18:44:19  <TrueBrain> why are we?
18:44:20  <andythenorth> anyway, I like trains
18:44:54  <TrueBrain> owh my, I hadn't seen the DRaaS also have pricing :P
18:45:00  <andythenorth> can we afford it?
18:45:08  <TrueBrain> it has a 4 second refund policy
18:45:09  <andythenorth> for when we replace our truly-random trees?
19:04:36  *** gelignite has quit IRC
19:45:35  *** longtomjr has quit IRC
19:46:01  *** gelignite has joined #openttd
20:06:43  <DorpsGek_III> [OpenTTD/team] elmouse19 opened issue #90: [es_MX] Translator access request https://git.io/JkCTp
20:26:34  *** andythenorth has quit IRC
20:27:35  *** andythenorth has joined #openttd
20:32:48  *** andythenorth_ has joined #openttd
20:39:54  *** andythenorth has quit IRC
20:55:05  <DorpsGek_III> [OpenTTD/team] frosch123 commented on issue #90: [es_MX] Translator access request https://git.io/JkCTp
20:55:26  <DorpsGek_III> [OpenTTD/team] frosch123 commented on issue #89: [it_IT] Translator access request https://git.io/JkcHM
21:24:29  *** frosch123 has quit IRC
21:55:11  *** gelignite has quit IRC
22:07:14  *** nielsm has quit IRC
22:21:29  *** Progman has quit IRC
22:33:40  *** andythenorth_ has left #openttd
22:56:23  *** Wolf01 has quit IRC
22:56:55  *** HerzogDeXtEr has quit IRC

Powered by YARRSTE version: svn-trunk