IRC logs for #openttd on OFTC at 2020-04-14
            
00:18:39 *** nielsm has quit IRC
00:22:29 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/JfeqT
00:37:05 *** gelignite has quit IRC
00:58:45 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
01:16:56 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 updated pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/fhbqc
01:22:28 *** epoll has quit IRC
01:23:01 *** syr has joined #openttd
02:58:41 *** syr has quit IRC
02:59:15 *** syr has joined #openttd
03:37:32 *** snail_UES_ has quit IRC
03:45:32 *** m1cr0man has quit IRC
03:47:42 <DorpsGek_III> [OpenTTD/OpenTTD] tomstorey commented on issue #8066: 1.10.0 crashes on start in OS X 10.12.6 https://git.io/JvA3B
03:52:27 *** snail_UES_ has joined #openttd
04:00:21 *** Flygon has joined #openttd
04:22:50 *** cHawk- has quit IRC
04:23:49 *** cHawk has joined #openttd
04:40:20 *** D-HUND has joined #openttd
04:43:03 *** cHawk has quit IRC
04:43:46 *** debdog has quit IRC
04:55:52 *** cHawk has joined #openttd
04:59:33 *** Wormnest has quit IRC
05:03:14 *** Laedek has quit IRC
05:05:49 *** glx has quit IRC
05:11:51 *** Wormnest has joined #openttd
05:32:38 *** adikt has quit IRC
05:34:03 *** adikt has joined #openttd
05:35:50 *** adikt has quit IRC
06:21:41 *** adikt has joined #openttd
06:43:17 <DorpsGek_III> [OpenTTD/OpenTTD] serprinss commented on issue #7826: Mac OS binaries are unsigned https://git.io/Je2bo
06:56:34 <DorpsGek_III> [OpenTTD/OpenTTD] floodious commented on pull request #7924: Feature: Water tiles have a depth https://git.io/JfecK
07:28:31 *** snail_UES_ has quit IRC
07:30:56 *** andythenorth has joined #openttd
07:42:28 *** arikover has joined #openttd
08:03:26 *** sla_ro|master has joined #openttd
08:15:55 <arikover> Good morning to everybody.
08:26:23 *** TinoDidriksen has quit IRC
08:27:15 *** arikover has quit IRC
08:29:25 *** arikover has joined #openttd
08:31:12 *** TinoDidriksen has joined #openttd
08:32:47 *** Laedek has joined #openttd
08:35:40 *** supermop_Home has quit IRC
09:05:45 *** Samu has joined #openttd
09:06:03 <Samu> hi
09:51:35 <TrueBrain> nielsm : had a nice conversation today about Dutch law. Seems we can create a legal entity here to handle all these things. The only drawback is that it will always need to be registered to a Dutch location; otherwise it can be as international as we want
09:52:13 <TrueBrain> Costs to setup are around 300 euros, one time fee, and they help with setting up all the legal bla
09:52:46 <TrueBrain> It will be VAT exempt and nobody is allowed to be employed ;)
09:53:18 <andythenorth> :)
09:53:21 <andythenorth> that's helpful
09:53:23 <TrueBrain> The advise is to have 3 people in the board; they need to proof their identity to the notary
09:53:38 <andythenorth> my entire life is proof of ID
09:53:45 <andythenorth> every week I have to do it for something
09:53:54 <Eddi|zuHause> how do you prove your identity over the internet?
09:54:05 <andythenorth> serious answer?
09:54:17 <TrueBrain> I guess Eddi|zuHause doesn't have legal documents :p
09:54:17 <andythenorth> get it notarised by a local lawyer for statutory fee
09:54:41 <TrueBrain> Corona is really helping here btw
09:54:54 <TrueBrain> As you are not allowed to drop by ;)
09:54:59 <Eddi|zuHause> so i would go to a notary here, let him copy my documents, and send that over to your notary?
09:55:37 <andythenorth> yes
09:55:51 <TrueBrain> The only thing he was unsure of, what happens with international law .. but I consider that to be an unlikely issue
09:56:23 <TrueBrain> Owh, and we should aim to put down we are not making money with this Stichting.
09:56:46 <andythenorth> "we are not making money with this Stichting"
09:56:51 * andythenorth did it
09:57:00 <TrueBrain> Yeah, so no paid service via that Stichting
09:57:16 <TrueBrain> So no asking money for content service ;)
09:57:27 <andythenorth> oof
09:57:28 <TrueBrain> Well, out of the name of the stichting ofc
09:57:52 <TrueBrain> Anyone is free to host his own BaNaNaS and ask money for that, ofc
09:57:59 <TrueBrain> As long as you follow GPLv2
09:59:38 <Eddi|zuHause> i always wished for an openttdcoop bananas that would just put up all the old stuff from the grf pack, that is technically legal to distribute but the regular bananas is insisting of an actual author to upload it
09:59:42 <TrueBrain> planetmaker , LordAro , peter1138 : highlight to read -10min till now :)
10:00:10 <TrueBrain> Eddi|zuHause : with the new codebase you can
10:00:23 <TrueBrain> Well, and we need support for it in the client
10:00:36 <TrueBrain> But I am all for such setups
10:01:02 <andythenorth> does that mean I can distribute my coin miner on my own bananas? :)
10:01:08 <TrueBrain> Let reddit run their own setup; would only improve the enjoyment of the many
10:01:16 <TrueBrain> Yes, you can
10:01:23 <andythenorth> newgrf action 15: resolve proof of work
10:02:09 <TrueBrain> Anyway, back to the legal bla: I have to check with our fiscal and with a bank if there are any additional things I have to worry about, but otherwise this seems to be the way to get certificates
10:02:20 <TrueBrain> And get in Steam
10:02:41 <TrueBrain> Well, I have to check if they know about stichtingen
10:03:44 <Eddi|zuHause> i'm assuming for confirming VAT exemption you need to do a fiscal report like once a year?
10:03:56 <TrueBrain> Just certificates are pretty expensive to pay every year .. minor details, I guess
10:04:44 <TrueBrain> Eddi|zuHause : no; we basically say we only make N euros in donations a year and they say: please never tell us anything about this ever again
10:05:16 <TrueBrain> The only requirement is an Excel every year with what comes in and what goes out
10:05:20 <TrueBrain> Like .. that is it
10:06:28 <TrueBrain> Right, back to work. We talk again tonight about this I guess :D
10:06:34 <andythenorth> ++
10:24:54 *** Wolf01 has joined #openttd
11:17:29 <DorpsGek_III> [OpenTTD/OpenTTD] DerDakon commented on pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/JfeE0
11:24:08 <DorpsGek_III> [OpenTTD/OpenTTD] DerDakon commented on pull request #7270: Introduce CMake (and removing all other project-related code) https://git.io/JfeEh
11:28:45 <peter1138> andythenorth, why do you think OpenTTD is already so slow on OSX? :D
11:30:29 <andythenorth> BTC
11:35:52 <peter1138> And... I've been sent chocolate. Hmm.
11:36:35 <andythenorth> that's nice :)
11:46:25 *** m1cr0man has joined #openttd
11:52:48 <DorpsGek_III> [OpenTTD/OpenTTD] auge8472 commented on issue #8077: Toll https://git.io/JvhZE
11:58:24 *** m1cr0man has quit IRC
12:08:25 *** m1cr0man has joined #openttd
12:23:54 *** gelignite has joined #openttd
12:24:00 *** tokai has joined #openttd
12:24:00 *** ChanServ sets mode: +v tokai
12:30:13 *** tokai|noir has quit IRC
12:39:03 *** cHawk- has joined #openttd
12:44:41 *** cHawk has quit IRC
13:05:55 <milek7> so about that cheat window..
13:05:57 <milek7> does PR to move bulldozer, tunnel crossing and aircraft crashing out of it into regular settings
13:06:01 <milek7> have any chance of success?
13:08:30 <Samu> demolishing industries sounds imba
13:09:31 <Samu> unless it costs a ton, even then...
13:13:38 <Samu> my bool skills are failing me
13:14:32 <Samu> !(a && b) is the same as !a || !b?
13:35:53 <andythenorth> do it with 1s and 0s and see?
13:36:46 <andythenorth> I think your first expression returns True in 3 out of 4 cases
13:37:11 <andythenorth> but I did not pay attention properly to boolean logic :P
13:45:45 <milek7> Samu: yes, it even has fancy name
13:45:50 <milek7> https://en.wikipedia.org/wiki/De_Morgan%27s_laws
13:47:01 *** k-man_ has joined #openttd
13:53:33 *** k-man has quit IRC
13:54:22 <DorpsGek_III> [OpenTTD/OpenTTD] embeddedt commented on issue #8077: Toll https://git.io/JvhZE
15:31:55 *** snail_UES_ has joined #openttd
15:54:28 <DorpsGek_III> [OpenTTD/OpenTTD] nikolas commented on issue #7826: Mac OS binaries are unsigned https://git.io/Je2bo
16:02:21 *** glx has joined #openttd
16:02:21 *** ChanServ sets mode: +v glx
16:43:05 *** luaduck has quit IRC
16:46:27 <Samu> wow, is it just me or apple users are completely... oh well, i'm not gonna say it
16:48:21 <Samu> that topic reads as agressive
16:48:38 <Samu> I couldn't put up with those users
16:48:56 <peter1138> What topic?
16:49:04 <Samu> 7826
16:49:30 *** luaduck has joined #openttd
16:55:07 <andythenorth> certs
16:56:15 <andythenorth> you're conflating 'apple user' and 'non-native English speaker'
16:56:30 *** supermop_Home_ has joined #openttd
16:56:45 <andythenorth> or 'apple user' and 'entitled'
16:56:55 <andythenorth> they may fall in the same venn diagrams sometimes
16:57:55 <andythenorth> but it's a logical fallacy to take one irritatingly demandingly player and generalise about users of the second largest OS
16:58:03 <andythenorth> (consumer OS)
16:59:00 <DorpsGek_III> [OpenTTD/OpenTTD] DonaldDuck313 opened issue #8086: Ship is said to be lost when it find its way just fine https://git.io/JfeX5
17:02:02 <LordAro> told you we should've fixed that
17:02:43 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on issue #8086: Ship is said to be lost when it find its way just fine https://git.io/JfeX5
17:02:43 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro closed issue #8086: Ship is said to be lost when it find its way just fine https://git.io/JfeX5
17:05:20 <DorpsGek_III> [OpenTTD/OpenTTD] andythenorth commented on issue #8086: Ship is said to be lost when it find its way just fine https://git.io/JfeX5
17:30:34 *** gelignite has quit IRC
17:30:53 *** Wormnest has quit IRC
17:30:58 *** WormnestAndroid has quit IRC
17:32:29 *** WormnestAndroid has joined #openttd
17:50:57 <TrueBrain> right, I guess that is the other choice .. join an US-based company to handle our legal affairs .. not sure I personally like that, but it is not only up to me :D
17:55:01 <andythenorth> I am potato / potato either
18:00:06 <TrueBrain> there are some drawbacks for a mostly (all?) europe-based dev-team to register under an US flag
18:00:22 <TrueBrain> nothing against US, well, on a personal note I might, but from a legal point of view, it is a bit more difficult
18:00:40 <TrueBrain> I would prefer an entity that complies with EU regulation
18:02:29 <TrueBrain> ugh, Steam wants a bank number for the legal entity ... that costs ~100 euro a year
18:02:34 <TrueBrain> this is getting expensive this way :P
18:02:49 <andythenorth> ouch
18:03:24 <TrueBrain> Apple was .. 100 euro a year?
18:03:30 <TrueBrain> Certificate is ~200 euro a year
18:03:36 <milek7> bank account costs so much?
18:03:50 <TrueBrain> In The Netherlands it does; well, it is not much, just for the way we would use it, it is
18:04:47 <TrueBrain> it is expensive, to get all your binaries signed properly
18:05:59 <LordAro> i'd vote EU as well
18:06:29 <LordAro> (b-word notwithstanding)
18:07:50 <TrueBrain> I don't get that last sentence, sorry :P Sounds like you were having a stroke :D
18:09:35 <LordAro> it's a real word!
18:09:40 <Samu> locks are really a headache for pathfinding
18:09:46 <LordAro> "in spite of"
18:09:57 <LordAro> it's one of those English words where they forgot to add the spaces
18:10:15 <TrueBrain> I don't get the "b-word" part :P
18:10:18 <LordAro> brexit :p
18:10:38 <TrueBrain> ah :D
18:10:44 <TrueBrain> sorry ... I am not into that slang
18:10:53 <TrueBrain> it is not hurting me, so who cares :P
18:11:16 <Samu> finding a canal route and using locks is one thing
18:11:24 <andythenorth> what is brexit?
18:11:45 <LordAro> andythenorth: it's all done right? not in the news anymore :p
18:11:48 <Samu> preventing future routes from blocking previous routes is another, and locks are really great at complicating things
18:12:27 *** Flygon has quit IRC
18:12:39 <TrueBrain> LordAro: did you read what I wrote earlier about a legal form we could take?
18:13:25 <LordAro> i did
18:13:37 <LordAro> i didn't necessarily understand all of it, but i did read it
18:13:48 <TrueBrain> :D Well, I tried to use simple words :P
18:13:57 <TrueBrain> I guess we need some form of agreement if we want to go that route or not
18:14:20 <TrueBrain> well, now I think about it, maybe we should also write down what the yearly cost is going to be, if we want to sign our binaries ...
18:14:29 <TrueBrain> doing Open Source stuff is becoming rather expensive
18:14:46 <andythenorth> oof
18:14:58 <LordAro> has anyone investigated significantly how/if other similar projects do it?
18:15:06 <andythenorth> maybe we offer a premium $9.99 / year signed binary service :P
18:15:53 <TrueBrain> LordAro: from what I have seen, there are 3 groups: 1) they don't care, 2) they did it under the name of a personal developer (in that case the price drops a bit too), 3) they used a shell-company as the one suggested in the issue-tracker
18:16:12 <TrueBrain> well, and the 4th, that use some form of LLC
18:16:45 <Samu> https://i.imgur.com/u93oTBl.png - technically, route 52 and 11 aren't blocked
18:18:35 <TrueBrain> 3) and 4) are just expensive it seems .. I cannot find anything writing it to be cheaper for OSS
18:19:08 <TrueBrain> but I invite anyone to also use google to find more data about it :) Lets avoid it being a one-sided told story :)
18:19:42 <andythenorth> everything I found pointed to 3 or 4
18:19:45 <TrueBrain> maybe we need a place to document this :)
18:19:51 <andythenorth> except that an org like Apache might help us
18:19:55 <milek7> it seems plain OV cert helps for antiviruses https://i.imgur.com/9PyDflt.png
18:20:08 <andythenorth> I might have written something somewhere, I will look
18:20:19 <milek7> but windows smartscreen complains anyway
18:20:32 <TrueBrain> milek7: even the cheapest code signing certificate is still 100+ euro a year
18:20:40 <TrueBrain> so one way or the other, this is not cheap
18:20:50 <TrueBrain> it will be on-par with the infra-costs :D
18:20:53 <milek7> this is that certum cheaper one
18:21:05 <TrueBrain> on a non-personal account?
18:21:10 <milek7> on personal
18:21:21 <TrueBrain> and we are back to that ;) I thought we dismissed that clearly :)
18:21:30 <TrueBrain> so that is 2)
18:21:32 <TrueBrain> and 2) is cheaper
18:21:35 <TrueBrain> 3) an 4) are expensive
18:21:46 <milek7> but I guess I'm not allowed to publish that signed binary (as I got that certificate for different OSS project)
18:22:25 <TrueBrain> I also think we don't allow it; not sure we want to explain to people why there is a random name on their binaries :D (no offense; I appreciate you thinking with us)
18:22:58 <TrueBrain> okay, lets create a gist with facts .. this is too much bits and pieces
18:23:24 <andythenorth> TrueBrain https://twitter.com/andyfacts/status/1184190125724569611 https://twitter.com/andyfacts/status/1184192842052329472 https://twitter.com/andyfacts/status/1184198827827437570
18:23:28 <andythenorth> that was all I had I think
18:23:37 <andythenorth> I thought there was a reddit thread
18:25:16 <andythenorth> https://www.reddit.com/r/openttd/comments/did7lo/help_wanted_setting_up_the_openttd_foundation_in/
18:26:06 <TrueBrain> well, that thread is useless :P
18:26:17 <andythenorth> it's what it is :P
18:37:01 <TrueBrain> we need a letsencrypt for code signing tbh
18:37:09 <TrueBrain> it is kinda bullshit how this is now organized
18:37:16 <TrueBrain> bit the HTTPS of 3 years ago
18:37:40 <TrueBrain> how far does self-signing get you
18:37:41 <TrueBrain> ?
18:37:51 <andythenorth> https://www.reddit.com/r/opensource/comments/5qf6f7/open_source_code_signing_expenses/
18:38:26 <andythenorth> dunno what this is https://www.codenotary.io/with-codenotary-you-never-have-to-pay-for-code-signing-certificates-again/
18:38:43 <andythenorth> large use of tag cloud in the page makes me suspicious it's bollocks
18:39:42 <Heiki> https://wiki.debian.org/InstallingDebianOn/Apple should be much easier for everyone
18:40:11 <milek7> andythenorth: it seems some other signing, not related with authenticode
18:40:32 <andythenorth> it's a blockchain scam thing
18:40:39 <andythenorth> I was initially fooled :P
18:42:54 <TrueBrain> https://gist.github.com/TrueBrain/d8ec26316a4c4b9f5d6e0b4e84d96db7
18:42:57 <TrueBrain> a start
18:43:00 <TrueBrain> still writing things down
18:44:32 <andythenorth> a blog post!
18:44:39 <milek7> https://www.ksoftware.net/code-signing-certificates/
18:44:45 <milek7> probably cheapest for ov
18:45:18 *** frosch123 has joined #openttd
18:50:28 *** Thunder has joined #openttd
18:51:00 *** Thunder has left #openttd
18:55:21 <frosch123> TrueBrain: https://techcultivation.org/ <- isn't that more or less the same as sfconservancy, but european?
18:55:55 <TrueBrain> last we checked they we not really accepting projects
18:56:10 <TrueBrain> as in, it was only ideas on paper, as far
18:57:46 <frosch123> andythenorth: can we talk you into making bananas layouting? or should i ask @website-people ?
18:58:01 <andythenorth> ask first
18:58:08 <andythenorth> I will do it if nobody else will
18:58:18 <andythenorth> I am refactoring a website currently :P
18:58:33 <andythenorth> don't want 2 in my head at once
19:00:51 <TrueBrain> https://gist.github.com/TrueBrain/d8ec26316a4c4b9f5d6e0b4e84d96db7 <- updated
19:00:55 <TrueBrain> I think that is all that was in my head
19:01:25 <milek7> "we cannot remove people who uploaded OpenTTD and charge money for that"
19:01:31 <milek7> I guess you need trademark to do that?
19:02:09 <TrueBrain> someone looked into this; cannot remember the details
19:02:22 <TrueBrain> but I believe it came down to: you cannot proof you are OpenTTD
19:02:34 <TrueBrain> so my assumption was, once you have a legal entity, you can
19:03:02 <TrueBrain> I removed that sentence for now, asI don't know the details
19:03:16 <andythenorth> TrueBrain other orgs that might have advices https://twitter.com/fsfe https://en.wikipedia.org/wiki/Software_Freedom_Law_Center
19:03:27 <andythenorth> otherwise looks good to me thanks
19:03:29 <TrueBrain> andythenorth: how is that useful to me? :)
19:03:50 <TrueBrain> so many people "might" have advise :P But until someone is going to get it, I am not sure what to do with it :D
19:04:09 <andythenorth> all in one place no?
19:04:29 <andythenorth> I already went round the 'who can help' dance in November last year, and concluded I didn't know what to do next
19:04:32 <TrueBrain> put down a comment for that :)
19:04:37 <andythenorth> sure
19:04:40 <TrueBrain> tnx :)
19:04:46 <TrueBrain> not sure how to put it anywhere in this story :P
19:06:31 <TrueBrain> basically, I wrote down the information we did gather that added value. All the links and people "WHAT IS GOING ON?!", I left out :D
19:08:05 <andythenorth> ok so if we had to make only a binary choice, we have
19:08:25 <andythenorth> (A) go the known route Stichting, but we may have high costs and it's unknown how we sustain it
19:08:38 <andythenorth> (B) piss around seeing if we can get help, which is unknown
19:09:23 * andythenorth should go back to websiting
19:09:38 * andythenorth wonders how many 'send a mail' scripts are actually needed for 1 website, 4 seems like a lot
19:10:39 <TrueBrain> andythenorth: in general, there are many unknowns
19:10:51 <andythenorth> but we know some of them
19:11:37 <andythenorth> but we could be spending $1000 / year to do this?
19:12:05 <andythenorth> maybe $500
19:12:55 <TrueBrain> 84 + 99 + 120 is the current sum
19:13:02 <TrueBrain> @calc 84 + 99 + 120
19:13:02 <DorpsGek> TrueBrain: 303
19:13:05 <TrueBrain> so ~300 euro
19:13:15 <TrueBrain> which is not -that- bad
19:13:36 <TrueBrain> I had to fix some things in my text, as Apple is a yearly fee :P
19:14:19 <andythenorth> oops, 503ed a live site
19:14:21 <andythenorth> BRB
19:14:27 <TrueBrain> lolz
19:14:51 <TrueBrain> frosch123 / LordAro / planetmaker / orudge : https://gist.github.com/TrueBrain/d8ec26316a4c4b9f5d6e0b4e84d96db7 <- we could use opinions
19:21:27 <DorpsGek_III> [OpenTTD/OpenTTD] TrueBrain commented on issue #7826: Mac OS binaries are unsigned https://git.io/Je2bo
19:21:47 <DorpsGek_III> [OpenTTD/OpenTTD] TrueBrain commented on issue #8056: OpenTTD's Windows installer should be signed https://git.io/Jvbkk
19:25:33 *** nielsm has joined #openttd
19:25:49 <milek7> time flies fast, letsencrypt launched in 2016 ;)
19:26:10 <TrueBrain> yup
19:26:17 <TrueBrain> took them a while before they got accepted
19:26:21 <TrueBrain> and changed the world ever since
19:26:32 <TrueBrain> SSL.com is also pretty cheap in their code signing certs
19:26:46 <frosch123> https://github.com/orgs/OpenTTD/teams/website-people/discussions/1 <- anything missing?
19:27:24 <milek7> I meant it as a nitpick to 'HTTPS certificate felt 3 years ago', as 3 years ago LE already existed
19:27:33 <TrueBrain> nice frosch123 :)
19:27:44 <TrueBrain> milek7: yes, but 3 years ago it was not mainstream yet
19:27:47 <TrueBrain> and it still felt like shit
19:27:58 <TrueBrain> so if you want to nitpick, make sure you nitpick about the right things :)
19:28:43 <frosch123> andythenorth: did you get a notification from gh about my post? or do i need to explicit highlight members?
19:28:57 <TrueBrain> frosch123: we might want to accept all these PRs after a quick review, and fix things in the repo; might make contributions easier too
19:33:55 <frosch123> right, i have 2 API questions left
19:35:23 <frosch123> 1) minor issue with /new-package: swagger says the response is "upload_token" while everything else uses dashes. the implementation actually delivers just "token". what do you want?
19:35:42 <TrueBrain> I tried to fix all the _ :P
19:35:45 <TrueBrain> they should for sure be -
19:35:59 <TrueBrain> hmm .. upload-token sounds better? What do you think?
19:36:01 <frosch123> so "token" or "upload-token" ?
19:36:03 <TrueBrain> I don't really care ..
19:36:09 <TrueBrain> change the API or change the specs
19:36:11 <TrueBrain> basically
19:36:36 <frosch123> in the get/put that follow, it says {upload_token}, but that is jsut grammar
19:36:49 <TrueBrain> change it all to upload-token?
19:36:58 <frosch123> there are many tokens, so explicit "upload-token" is likely better
19:37:48 <frosch123> 2) I need a "/user/info" endpoint or something, that says authenticated yes/no and reports the display-name
19:38:28 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain requested changes for pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/JfeQU
19:38:49 <TrueBrain> I have been thinking about something similar. But why the first?
19:38:59 <TrueBrain> you know someone is authenticated when he gets back on your redirect-url
19:39:15 <TrueBrain> or to see ifthe token is still valid?
19:39:25 <TrueBrain> I had that issue with the CLI .. I just picked a random URL for now :)
19:40:00 <andythenorth> oof I really broke a website
19:40:09 <andythenorth> recursive url broken crapness
19:40:17 <TrueBrain> owh, frosch123 , query parameters are all with _, because they is common .. lol .. not sure why I did that. Shall we make them all - ?
19:40:21 <TrueBrain> so also? content-type=blabla ?
19:40:30 <frosch123> ok, ignore the first, it is just a special return value, since getting display-name obviously needs authentication
19:40:30 <andythenorth> frosch123 I get a GH notification from that yes
19:42:10 <frosch123> TrueBrain: only ? parameters have a name, and none of them has _
19:42:56 <frosch123> andythenorth: ok, let's see whether someone responds :)
19:43:27 <frosch123> TrueBrain: i lied, /user/login has a redirect_url
19:44:13 <TrueBrain> frosch123: '/package/{content_type}':
19:44:18 <TrueBrain> owh, those are not query-parameters, ugh
19:44:20 <TrueBrain> it is in the URL
19:44:26 <frosch123> yes, their name does not matter
19:44:33 <TrueBrain> yeah, but I guess I fix them all to -
19:44:44 <TrueBrain> also redirect-url
19:44:54 <TrueBrain> and I am going to change it into redirect-uri
19:44:56 <TrueBrain> as that is more correct :D
19:45:36 <TrueBrain> well, correct I dont care about .. more in line with OAuth
19:46:37 <TrueBrain> https://www.oauth.com/oauth2-servers/redirect-uris/redirect-uri-validation/ <- funny how the URL disagrees with the content :D
19:46:56 <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/JfeQ4
19:49:33 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/JfeQz
19:51:06 <TrueBrain> frosch123: /user or /user/info
19:51:07 <TrueBrain> ?
19:51:41 <frosch123> /user
19:51:51 <TrueBrain> added in the API specs
19:51:54 <TrueBrain> going to add it inthe code now
19:52:58 <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/JfeQ9
19:56:44 *** gelignite has joined #openttd
19:57:32 <TrueBrain> owh, those archived
19:57:33 <TrueBrain> gotcha
19:57:39 <TrueBrain> sorry frosch123 , yes :) They are filtered :)
19:58:08 <TrueBrain> that also makes them invisible ..
19:58:11 <TrueBrain> not sure that is the intend
19:58:33 <TrueBrain> hmm .. now I reread that function .. maybe they should just be in there,but without any versions
19:58:37 <TrueBrain> that at least means you know it once was there
19:58:52 <frosch123> they are listed on package/self
19:59:12 <frosch123> it's okay that they are not listed regulary, my intention was to filter them away :)
19:59:16 <TrueBrain> if you are the owner
19:59:20 <TrueBrain> k k
19:59:21 <TrueBrain> cool
20:00:05 <frosch123> if you know the unique id, you can also access the package page, and it will tell you tht the item is archived
20:01:17 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain updated pull request #3: Add: first version of bananas-api https://git.io/JvhXb
20:01:26 <TrueBrain> ^^ the changes about _ to -
20:01:29 <TrueBrain> and a /user endpoint
20:01:33 <TrueBrain> I did not address the "" thingy
20:01:38 <TrueBrain> and this is not yet on staging ;)
20:01:57 <TrueBrain> I too would like these PRs merged; even if we didn't really review the code yet. Makes the flow of working a lot easier :D
20:02:44 <frosch123> you missed authorize_url and bearer_token
20:02:50 <TrueBrain> no?
20:02:57 <TrueBrain> I fixed those .... I think
20:03:18 <TrueBrain> I did fix them! :)
20:03:23 <TrueBrain> I was about to say .. I looked at that code :P
20:03:31 <frosch123> user.py:25
20:03:38 <TrueBrain> yes .. now check the Schema :)
20:03:46 <TrueBrain> that is one of the beauties about the schema-system :)
20:03:50 <TrueBrain> internal name != external name :P
20:04:01 <TrueBrain> I need to convert it to an object internally, instead of a Python dict
20:04:04 <TrueBrain> it is confusing as fuck
20:04:11 <frosch123> ok :)
20:04:19 <TrueBrain> I have felt for this many times ...
20:04:27 <TrueBrain> because it is Python, the internal name is with a _
20:04:45 <TrueBrain> dump({}) converts from internal to external
20:04:47 <frosch123> yes, same in frontend :p
20:04:58 <TrueBrain> in schema it has display_name = fields...(data_key="display-name")
20:05:03 <TrueBrain> which does the mapping
20:05:25 <TrueBrain> that is why I usually never use -, but always _
20:05:29 <TrueBrain> but ... a new world ... :D
20:05:31 *** Progman has joined #openttd
20:06:01 <DorpsGek_III> [OpenTTD/bananas-api] frosch123 approved pull request #3: Add: first version of bananas-api https://git.io/Jfe78
20:06:27 <michi_cc> TrueBrain: FWIW I would tend to an EU entity, too. There's just too much potential "national security" crap for an US entity.
20:06:58 <TrueBrain> sorry michi_cc , forgot to highlight you, but I would love your input on the gist too :D (besides this, ofc)
20:07:03 <TrueBrain> glx: same for you, ofc
20:07:10 <TrueBrain> who else am I forgetting .... oops
20:07:24 <TrueBrain> https://gist.github.com/TrueBrain/d8ec26316a4c4b9f5d6e0b4e84d96db7 for reference
20:07:58 <TrueBrain> frosch123: I broke my regression now :D Hihi, let me fix
20:08:38 <frosch123> i guess that's an improvement over "save before commit"
20:08:57 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain dismissed a review for pull request #3: Add: first version of bananas-api https://git.io/Jfe78
20:08:57 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain updated pull request #3: Add: first version of bananas-api https://git.io/JvhXb
20:09:05 <TrueBrain> I am really happy with GitHub Actions :D
20:09:32 <DorpsGek_III> [OpenTTD/bananas-api] frosch123 approved pull request #3: Add: first version of bananas-api https://git.io/Jfe7V
20:10:21 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain merged pull request #3: Add: first version of bananas-api https://git.io/JvhXb
20:10:22 <TrueBrain> 1 down, 3 to go
20:11:13 <TrueBrain> lol, no tags, so it fails to publish .. let me fix that
20:11:25 *** rotterdxm has joined #openttd
20:11:53 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain created new tag: 0.0.0 https://git.io/Jfe7X
20:12:34 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain created new tag: 0.0.0 https://git.io/Jfe7M
20:12:43 <michi_cc> TrueBrain: orudge for being the current money handler?
20:12:48 <DorpsGek_III> [OpenTTD/bananas-frontend-cli] TrueBrain created new tag: 0.0.0 https://git.io/Jfe7y
20:13:03 <TrueBrain> michi_cc: yeah, was planning on sending him an email about it; as he rarely reads his IRC backlog :)
20:13:20 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain created new tag: 0.0.0 https://git.io/Jfe7Q
20:13:25 <TrueBrain> that solves the bookkeeping of the new repos
20:14:16 <TrueBrain> and ofc I forgot to set all kind of secrets .. lolz
20:14:20 <frosch123> orudge is sometimes us based
20:17:08 <TrueBrain> hmm .. I cannot retrigger GitHub actions now .. bah
20:17:24 <TrueBrain> guess I need to fix something ..
20:18:42 <michi_cc> As far as I can see, an EV certificate needs to be kept on a separate hardware key store. I'm not sure if would be possible to integrate that to a cloud-based release workflow.
20:19:27 <TrueBrain> I haven't even looked at that part yet ...
20:19:36 <TrueBrain> and I think we should aim for an OV for at least the first year
20:20:23 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] opened pull request #4: Bump gitpython from 3.1.0 to 3.1.1 https://git.io/Jfe5k
20:20:42 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] opened pull request #5: Bump gitdb from 4.0.2 to 4.0.4 https://git.io/Jfe5t
20:20:50 <TrueBrain> omg, it does it dep by dep?
20:20:56 <TrueBrain> sorry, I did not know .. was testing the new GitHub dep-bot
20:21:04 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] opened pull request #6: Bump botocore from 1.15.36 to 1.15.39 https://git.io/Jfe5m
20:21:24 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] opened pull request #7: Bump aioauth-client from 0.19.2 to 0.20.3 https://git.io/Jfe53
20:21:45 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] opened pull request #8: Bump smmap from 3.0.1 to 3.0.2 https://git.io/Jfe5Z
20:22:21 <TrueBrain> this was not the spam I was looking for
20:22:22 <TrueBrain> who does this ...
20:25:19 <TrueBrain> I guess if it checks daily, it is also easier to bump stuff .. hmm ..
20:25:26 <TrueBrain> monthly one, or daily many .. not sure ..
20:25:53 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain closed pull request #8: Bump smmap from 3.0.1 to 3.0.2 https://git.io/Jfe5Z
20:25:55 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] commented on pull request #8: Bump smmap from 3.0.1 to 3.0.2 https://git.io/Jfe5l
20:25:57 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain closed pull request #7: Bump aioauth-client from 0.19.2 to 0.20.3 https://git.io/Jfe53
20:25:59 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] commented on pull request #7: Bump aioauth-client from 0.19.2 to 0.20.3 https://git.io/Jfe58
20:26:03 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain closed pull request #6: Bump botocore from 1.15.36 to 1.15.39 https://git.io/Jfe5m
20:26:05 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] commented on pull request #6: Bump botocore from 1.15.36 to 1.15.39 https://git.io/Jfe54
20:26:09 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain closed pull request #5: Bump gitdb from 4.0.2 to 4.0.4 https://git.io/Jfe5t
20:26:11 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] commented on pull request #5: Bump gitdb from 4.0.2 to 4.0.4 https://git.io/Jfe5B
20:26:12 <TrueBrain> sorry for the spam :(
20:26:15 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain closed pull request #4: Bump gitpython from 3.1.0 to 3.1.1 https://git.io/Jfe5k
20:26:17 <DorpsGek_III> [OpenTTD/bananas-api] dependabot-preview[bot] commented on pull request #4: Bump gitpython from 3.1.0 to 3.1.1 https://git.io/Jfe5R
20:26:25 <TrueBrain> it should be silent now :P
20:26:43 <rotterdxm> eh it´s all in the game. progress is being made
20:27:07 <frosch123> lol, i was filtering whether tb said something important between the spam, but he only complained about the spam :)
20:27:21 <TrueBrain> :D
20:27:47 <milek7> officially, some providers also require hardware store for ov (eg. certum)
20:28:20 <Samu> this... certificate talk is quite hard for me to digest
20:29:29 <Samu> just "run anyway"
20:32:06 <michi_cc> TrueBrain: Put some comments on the gist.
20:32:11 <TrueBrain> michi_cc: thank you!
20:32:37 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain opened pull request #9: Update: bump all requirements to the latest version https://git.io/Jfe5X
20:33:19 <Samu> _dp_ are you around?
20:33:32 <_dp_> no :p
20:33:49 <Samu> did u figure the time complexity or you didn't bother at all
20:34:31 <TrueBrain> okay, found a clean PR to make to bananas-api :D
20:34:33 <Samu> I plan on uploading this "native heap" to bananas, but with proper documentation
20:34:40 <_dp_> I figured it's too time complex
20:34:56 <TrueBrain> michi_cc: "For Apple, the certificate seems to included in the developer account" <- do you happen to have a source or reference?
20:35:06 <TrueBrain> as mostly I wonder if we can reuse that certificate for Windows, ofc :D
20:35:10 <michi_cc> https://developer.apple.com/programs/whats-included/
20:35:28 <michi_cc> "Distribute your Mac apps, plug-ins, and installer packages outside of the Mac App Store by signing them with a Developer ID certificate and having them notarized by Apple."
20:35:37 <TrueBrain> interesting
20:35:54 <michi_cc> I'd be surprised if Windows would include that CA as trusted.
20:36:12 <TrueBrain> https://developer.apple.com/support/membership-fee-waiver/ <- Apple doesn't list The Netherlands, booooo
20:36:45 <dwfreed> and pay $100/year
20:37:28 *** arikover has quit IRC
20:37:30 <Samu> South Korea? that's surprising, considering Samsung
20:37:48 *** arikover has joined #openttd
20:38:23 <TrueBrain> random? that's surprising, considering random
20:39:29 <frosch123> dwfreed: wasn't it 100/month?
20:39:53 <dwfreed> "The Apple Developer Program is 99 USD per membership year"
20:40:08 <TrueBrain> it was a typo in my gist, fixed a while ago :D
20:40:23 <frosch123> ah :)
20:40:40 <Samu> that's still 8.25 a month. it's money
20:40:45 <TrueBrain> frosch123: mind approving https://github.com/OpenTTD/bananas-api/pull/9 ? :D Want to test auto-deploy :P
20:41:20 <frosch123> certifi==2020.4.5.1 <- it looked like a date before, but no more :p
20:41:33 <TrueBrain> it still is somewhat of a date :P
20:41:36 <TrueBrain> not sure what happened
20:41:39 <michi_cc> A German "Verein" might also be possible, but at a first glance it looks more complicated than a Stichting.
20:41:50 <DorpsGek_III> [OpenTTD/bananas-api] frosch123 approved pull request #9: Update: bump all requirements to the latest version https://git.io/JfedJ
20:41:53 <TrueBrain> ah, 2 releases on the same day
20:41:55 <TrueBrain> so they just fucked up :P
20:42:15 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain merged pull request #9: Update: bump all requirements to the latest version https://git.io/Jfe5X
20:42:16 <frosch123> michi_cc: there is this traditional joke abuot having 7 members, no idey whether it is a myth
20:42:17 <TrueBrain> michi_cc: in what way?
20:42:35 <TrueBrain> I hope it is a myth. A stichting can even be 1 member :P
20:42:44 <TrueBrain> Stichting is Dutch for foundation btw
20:43:13 <michi_cc> frosch123: That's not a joke, you do indeed need 7 members to register a Verein and at least three at all times to still be valid.
20:43:15 <frosch123> what do 7 germans do when they meet, they found a verein
20:43:24 <TrueBrain> lolz
20:43:31 <TrueBrain> okay, that is a bit much for us :D
20:43:48 <nielsm> frosch123 that one's just 3 persons in denmark
20:44:57 <michi_cc> A "Stiftung" would be the direct equivalent to foundation, but to get registered you need to "prove that the Stiftung as enough founds to fullfill its prupose", as determined by some bureaucrats
20:47:47 <TrueBrain> michi_cc: as we need no funds, that is easy? :)
20:47:59 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain opened pull request #10: Fix: [Actions] deployment was not triggered for staging https://git.io/Jfedc
20:48:11 <TrueBrain> ^^ is just stupid. Some things you cannot test with GitHub Actions .. this is an example of that :D
20:48:34 <nielsm> and they probably have a lower limit for something that would be deemed frivolous
20:48:54 *** arikover has quit IRC
20:49:06 *** arikover has joined #openttd
20:49:50 <DorpsGek_III> [OpenTTD/bananas-api] frosch123 approved pull request #10: Fix: [Actions] deployment was not triggered for staging https://git.io/Jfedu
20:49:51 <TrueBrain> looked it up, here you do not need to proof anything funds related to create a Stichting
20:49:53 <michi_cc> TrueBrain: A Stiftung is usually assumed to have enough capital to e.g. pay for the certificate costs from the interest.
20:50:01 <frosch123> i see, i am not the only one who c&p from tb
20:50:04 <TrueBrain> the only thing is that you need to show stuff for the VAT stuff
20:50:38 <TrueBrain> to become VAT excempt, you need to show you don't make more than 15000 euro a year in profit
20:50:39 <TrueBrain> lolz
20:51:00 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain merged pull request #10: Fix: [Actions] deployment was not triggered for staging https://git.io/Jfedc
20:51:02 <TrueBrain> frosch123: no .... you are not :D
20:51:26 <TrueBrain> okay .. this time staging should auto-update I guess :)
20:51:32 <TrueBrain> would be nice
20:51:41 <michi_cc> Without being a laywer, I'd guess for German law, a Verein is the best matching thing. For example, US/global Wikipedia is organized as an US foundation, while the German entity is an Eingetragener Verein and not A Stiftung.
20:52:07 <TrueBrain> but we are not going to find 7 people to start it up :(
20:52:21 <FLHerne> Do they all have to be German?
20:52:27 <TrueBrain> please btw write this in the gist; before another german person looks it up :D
20:52:48 <FLHerne> 7 EU citizens might be plausible
20:53:09 <FLHerne> But of course some of us don't count for that anymore :-(
20:53:37 <frosch123> i would also guess eu-citizen is enough, but no idea
20:54:33 <TrueBrain> in a Stiching, it is just "a real person", no matter what your country is
20:55:18 <TrueBrain> I would guess that holds true in every EU country
20:55:43 <michi_cc> Not sure, but I think any real person would count for a Verein as well. Even then, it is still more work as you need proper bylaws, a yearly memebers meeting and probably other stuff I don't know about.
20:56:01 <TrueBrain> ah, a Dutch "vereniging", yeah
20:56:05 <TrueBrain> lot of paperwork
20:56:19 <TrueBrain> especially the yearly meeting is annoying as ....
20:56:23 <frosch123> ah, everyone can be member of a verein, you do not even need to live in germany
20:56:31 <frosch123> but children need the approval of their parents
20:56:36 <frosch123> so andy counts as 3? :p
20:56:42 <TrueBrain> but what I did, I called a company over here which creates companies for a living
20:56:46 <TrueBrain> talked to a notary for 20 minutes
20:56:49 <TrueBrain> they didnt even charge me
20:56:53 <TrueBrain> gave ma a lot of good information
20:57:34 <michi_cc> The rules for a Verein are a lot simpler (i.e. almost non-existant), but for legal purposes only a Eingetragener Verein would make sense.
20:57:39 <TrueBrain> also explained the process, what they take care of, etc etc
20:57:40 <TrueBrain> was nice
20:58:07 <planetmaker> good evening. We have two e-mails which independently claim that "with the new version" they cannot open old saves
20:58:39 <TrueBrain> oh-oh
20:58:48 <michi_cc> The old saves don't happen to be from JGR, do they?
20:58:51 <TrueBrain> quick, find someone to blame!
20:59:00 <planetmaker> They're one-line e-mails ;)
20:59:07 <planetmaker> the game have reached it expiration date and no longer works. even the latest version can no longer establish a multiplayer connection, nor play on maps other than desert.
20:59:14 <planetmaker> and
20:59:17 <nielsm> exceptional claims require exceptional proof!
20:59:17 <planetmaker> I downloaded the new version of OpenTdd in Windows 10 and a game that i have been playing for several days now I can't open it. Can you help me?
20:59:23 <planetmaker> yeah, agreed
21:00:07 * andythenorth could look up UK legal orgs
21:00:10 <andythenorth> but BBBBBrexit
21:00:22 <planetmaker> wow, certificates are expensive
21:01:33 <TrueBrain> planetmaker: yes; but < 300 euros is doable for everything, so that is not a huge amount of money
21:01:51 <TrueBrain> I believe the amount of donations, even without us asking for any in a prominent way, is sufficient to pay for that
21:02:08 <planetmaker> well. nevertheless, I think 300€/a is quite something
21:02:27 <TrueBrain> well, for sure this is the new money-maker for CAs
21:02:32 <TrueBrain> you would think they have learnt
21:02:34 <TrueBrain> but nnoooooo
21:02:40 <michi_cc> An OV certificate is not that much, it's only the EV ones that are really expensive.
21:03:32 <planetmaker> what is OV and EV?
21:03:34 <TrueBrain> yeah, OV cert + Apple dev + bankaccount makes ~300 euro a year
21:03:38 <TrueBrain> OV is a simple cert
21:03:42 <andythenorth> hmm all 3 automated validators say I have fixed my website mistakes :x
21:03:44 <andythenorth> hurrah
21:03:45 <TrueBrain> EV is you giving them papers to rpoof you are you
21:04:09 <TrueBrain> EV stands for extended-validation
21:04:11 <TrueBrain> if that helps
21:04:40 *** arikover has quit IRC
21:04:54 *** arikover has joined #openttd
21:05:34 <DorpsGek_III> [OpenTTD/bananas-frontend-cli] TrueBrain updated pull request #1: Add: a very basic CLI frontend for BaNaNaS API https://git.io/JvjCk
21:05:52 <TrueBrain> frosch123: master is now auto-deploying to staging, so that should make testing easier
21:05:59 <TrueBrain> I will see if I can do the same for the frontend tomorrow
21:06:36 <milek7> I don't know how it works for companies, for OV for person they want ID card scan, and scan of some bill issued for my address (water, electricity, etc.)
21:07:14 <planetmaker> ty for the explanation
21:07:24 <DorpsGek_III> [OpenTTD/bananas-frontend-web] auge8472 commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/JfeFn
21:07:27 <TrueBrain> frosch123: hopefully that helps moving people in helping :) If they can see how it looks etc :)
21:07:50 <TrueBrain> s/moving/motivating/
21:08:44 <TrueBrain> planetmaker: regarding the money, it seems all developers that don't want their users to complain about "unknown publisher" are forced this direction. I am mostly annoyed that it is a returning fee .. like once you did the OV validation .. why pay so much money AGAIN the next year?
21:08:58 <TrueBrain> SSL.com has the best price for that. If you pay 10 years upfront, it is very cheap all of a sudden
21:09:13 <TrueBrain> just .. I won't .. suggest us doing that :D
21:09:28 <TrueBrain> anyway, it seems to be we just have to accept the costs :(
21:09:47 <frosch123> or find some other project :p
21:10:25 <frosch123> what was the other project we always copied from?
21:10:32 <frosch123> battle for wesnoth
21:10:36 <frosch123> does that still exist?
21:10:42 <TrueBrain> we copy stuff from things?
21:10:49 <TrueBrain> is this game reversed engineered?!
21:10:50 <frosch123> simutrans is probably too small
21:11:09 <frosch123> TrueBrain: we shared a bunch of sdl issues at some point
21:11:11 <planetmaker> battle of wesnoth *does* have an Inc for this stuff we discuss
21:11:24 <TrueBrain> who copied from who, is the question :)
21:11:33 <TrueBrain> Simutrans does too :)
21:11:39 <frosch123> i think they filed a patch to debian that broke ottd
21:12:08 <planetmaker> wesnoth?
21:13:18 <DorpsGek_III> [OpenTTD/bananas-frontend-web] auge8472 commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/JfeF6
21:13:24 <frosch123> https://wiki.wesnoth.org/Project <- last paragraph of first section
21:14:27 <TrueBrain> well, we need something like that too :P
21:14:32 <TrueBrain> just not the "US-based" part
21:15:20 <frosch123> they charge 4.49€ on apple store
21:15:29 <TrueBrain> wuth?! Holy crap
21:15:48 <TrueBrain> I still think we should provide cloud-saves for a 1 euro a year fee or what-ever
21:15:52 <TrueBrain> that would pay for all this crap
21:16:00 <frosch123> free on steam
21:16:10 <TrueBrain> if we implement the steam callbacks, but yes
21:16:38 <andythenorth> dorpsgek for bananas repos? o_O
21:16:49 <milek7> steamworks sdk is problem for GPL I guess
21:16:50 * andythenorth volunteers LordAro
21:16:54 <TrueBrain> random words with a questionmark?! o_O
21:17:11 <andythenorth> TB don't worry LordAro is on it
21:17:18 <andythenorth> I'm sure
21:17:44 <andythenorth> oh I'm an idiot, I should read up
21:17:58 *** arikover has quit IRC
21:18:17 <andythenorth> well there has to be at least one idiot in the channel at all times, today it is me
21:18:48 *** arikover has joined #openttd
21:18:49 <LordAro> i'd rather not bother with steam, tbh
21:18:54 <LordAro> there's no benefit to it for us
21:19:55 <TrueBrain> I don't agree; I think the audiance would be nice. Integrating with Steam .. not a big fan :)
21:20:39 <planetmaker> Well, you pay to be in apple store. So fair enough to charge there :) iOS people have money they want to give away :P
21:20:54 <DorpsGek_III> [OpenTTD/bananas-frontend-web] auge8472 commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/Jfebe
21:21:39 <TrueBrain> frosch123: seems you request-for-help did trigger someone :) Nice :)
21:21:48 <planetmaker> I think the Steam audience is actually quite large and it's also a nice convenience gain for many
21:21:49 <andythenorth> this is ^^ why I won't do the html for anything any more
21:22:00 <andythenorth> all of this has to be replied to
21:22:17 <TrueBrain> he has some good points; I don't see why you are bothered with it
21:22:27 <TrueBrain> happy someone takes an interest with know-how
21:22:45 <andythenorth> it's not helping, it's just nitpick
21:22:49 <andythenorth> it's like the nitpick on the blog posts
21:23:03 <TrueBrain> it is not nitpicking; Having a <p><ul></ul></p> does not do what you expect
21:23:04 <andythenorth> helping is a PR
21:23:11 <TrueBrain> he has made several PRs
21:23:14 <andythenorth> yes
21:23:25 <TrueBrain> basically, your complain atm is: he points out things that are wrong
21:23:27 <andythenorth> optimising 'JFDI please fix it' html misses the point
21:23:41 <andythenorth> oof
21:23:52 * andythenorth won't be person arguing on the internet about meaningless stuff
21:24:11 <TrueBrain> mostly because I am pretty sure I was more nitpicking in my review :D
21:24:32 <TrueBrain> the one thing people do have to learn, is that it is okay to disagree on feedback :)
21:24:39 <TrueBrain> like many things people commented in the CMake branch
21:24:48 <TrueBrain> sure, they may have a point .. but no, it is not worth the effort
21:25:05 <TrueBrain> so I am happy they reviewed; and I am going to ignore most part of it :)
21:25:09 <andythenorth> it's ok to disagree on feedback when you have commit rights
21:25:14 <andythenorth> it's very different when you're a peon
21:25:31 <TrueBrain> I doubt you let yourself be used as a peon ;)
21:28:24 <andythenorth> how many days left for Bananas?
21:28:51 <TrueBrain> okay, seems a Stiching will also get a DUNS number, and that holds true for any company in EU :P
21:28:56 <TrueBrain> well, it is part of NATO
21:29:01 <TrueBrain> so I guess any company in the world
21:29:41 <frosch123> what? as a stiching we are part of nato?
21:29:45 <andythenorth> also the name is just cool
21:29:56 <frosch123> do we need to supply soldiers with free copies?
21:30:04 <andythenorth> no war theme frosch123
21:30:21 <andythenorth> civil defence forces
21:30:39 <TrueBrain> frosch123: no, I never said that :)
21:31:21 *** arikover has quit IRC
21:31:33 *** arikover has joined #openttd
21:31:49 <TrueBrain> owh, it is even the UN. The UN, ISO and EC use DUNS as validation method
21:32:07 <DorpsGek_III> [OpenTTD/bananas-frontend-web] auge8472 commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/Jfebz
21:34:11 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/Jfebo
21:35:25 <milek7> "This number is assigned once our patented identity resolution process, part of our DUNSRight methodology, identifies a company as being unique from any other in the Dun & Bradstreet Data Cloud. "
21:35:40 <milek7> from website alone I would think it is a scam :P
21:35:51 <TrueBrain> yeah ...
21:35:58 <TrueBrain> but it appears to be a real thing
21:43:11 <michi_cc> andythenorth: Totally different question: when you resize the OpenTTD window on Mac, do you see a proper window content during the resize or some random junk?
21:43:20 <nielsm> I guess the purpose might be to limit scamming by shutting down and reforming a company under new name/government registration numbers?
21:44:05 <TrueBrain> I tink it is a solution for the fact that every country does things slightly different
21:44:09 <andythenorth> michi_cc random junk, like a desynced TV signal
21:44:11 <TrueBrain> and some things are more a legal entity than others
21:44:19 <nielsm> that too
21:44:44 <michi_cc> Thanks, so its real and not some VM junk.
21:45:00 <frosch123> TrueBrain: is "wsgi server" something we would use when deploying the frontend?
21:45:19 <frosch123> or would be run the simple "development server"
21:46:14 <michi_cc> andythenorth: Would a simple stretch/shrink of the current window contents or just plain black be better? Not sure a proper repaint would be possible with how OTTD internally handles painting.
21:46:17 <TrueBrain> not sure, honestly. I have to check that. I believe the flask development server really cannot run in production
21:46:27 <TrueBrain> so I think I will make a Docker with an nginx in it, and talk to flask over wsgi
21:46:46 <TrueBrain> but I haven't toyed with flask in a long time .. so I have to get my hands dirty to give a better answer :)
21:47:10 <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 updated pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/Jvh5V
21:47:27 <frosch123> only one TODO left, and that's the configuration
21:47:40 <frosch123> "--" does not work when running flask via the module
21:47:49 <frosch123> so i assume it would also not work for wsgi?
21:47:59 <frosch123> i need to read up on wsgi, what that actually is then
21:48:35 <frosch123> https://flask.palletsprojects.com/en/1.1.x/deploying/uwsgi/#configuring-nginx
21:48:50 <TrueBrain> can I safely assume you did one thing or the other with my comments? :D
21:49:20 <frosch123> i applied all your comments
21:49:25 <frosch123> the mentioned TODO is open
21:49:51 <frosch123> i applied the "error" comments from auge, and ignored the "better layout" comments
21:49:59 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain approved pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/JfeNc
21:50:02 <TrueBrain> I asked, because that means I can do that ^^ :P
21:50:38 <TrueBrain> we need to fix some things, like the README is rather incomplete, and more of that stuff. But this is a good start :)
21:52:16 <andythenorth> michi_cc without seeing it....I would guess plain black
21:52:17 <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 merged pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/Jvh5V
21:52:36 <TrueBrain> nice frosch123 :)
21:52:47 <TrueBrain> 2 down, 2 to go :) (bananas-server and bananas-frontend-cli)
21:52:54 <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/JfeNR
21:52:57 <TrueBrain> but those two are less important
21:54:35 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain commented on pull request #2: Add: first version of the web front-end to new BaNaNaS server. https://git.io/JfeNg
21:55:26 <TrueBrain> frosch123: if you are interested in uwsgi etc, feel free to look into it. If you are not, don't worry too much about it .. I have most likely a Dockerfile somewhere to copy/paste from :D
21:55:52 <TrueBrain> or stuff like this https://www.digitalocean.com/community/tutorials/how-to-build-and-deploy-a-flask-application-using-docker-on-ubuntu-18-04 might help
21:55:57 <frosch123> i would like to know how it is started. and where to pass parameters
21:56:08 <frosch123> i have only 4 config vars
21:58:16 <TrueBrain> "--pyargv "foo bar""
21:58:20 <TrueBrain> not something I would have guessed
21:58:21 <TrueBrain> lol
21:58:39 <TrueBrain> so the Dockerfile needs a tiny wrapper script to make that sane :)
21:59:41 <TrueBrain> yeah, and the dev-server can only serve 1 request at the time .. which is not good for performance
21:59:44 <TrueBrain> so we really need uwsgi
21:59:55 <TrueBrain> so nginx + uwsgi + flask needs to be in the Dockerfile
22:00:09 <TrueBrain> right, I had enough of this day; good night all
22:00:54 <andythenorth> bye TB
22:06:51 <frosch123> is there a new github competitor? why are they lowering prices?
22:18:35 *** WormnestAndroid has quit IRC
22:19:31 <TrueBrain> nielsm : what do you consider one structure or the other? (Your comment on the gist)
22:21:17 <Samu> https://github.com/SamuXarick/Queue.NativeHeap
22:21:35 <Samu> I'm about to upload this to bananas, but before I do, someone disapprove of it?
22:21:53 <Samu> it won't include the git attributes file, of course
22:22:39 <Samu> I wish Zuu was here, or Yexo
22:22:48 <Samu> or whoever designed the priority queues
22:23:53 <Samu> AyStar requires a Queue Class, this one could be used to make it faster
22:24:19 <Samu> that's one of the use cases (and only?)
22:27:38 <nielsm> TrueBrain, I suppose a foundation focuses on the holding and distribution of funds, while an association focuses on protecting the interests of the members, but maybe I'm totally off
22:29:20 <TrueBrain> I am so lost in definitions, especially between countries :D so this explanation works for me :) tnx, and I agree :)
22:30:10 *** WormnestAndroid has joined #openttd
22:30:15 <Samu> which GPL version is OpenTTD? 2 or 3
22:31:14 <nielsm> which is also why a foundation-like structure will typically require a sufficient capital to incorporate, while an association will mainly just require sufficient members and a well-written bylaws
22:31:36 <glx> Samu: 2
22:31:47 <TrueBrain> A stichting, which is a foundation, is not aimed at capital
22:31:54 <Samu> ok, uploading as 2
22:31:57 <TrueBrain> This is why this stuff is so confusing :)
22:32:03 *** arikover has quit IRC
22:32:09 <nielsm> yeah...
22:32:25 <TrueBrain> But I get what you mean; that is more important :D
22:33:19 <nielsm> in the end maybe it's more important to make _some_ choice, there may be multiple equally valid ones
22:33:29 <TrueBrain> Yup
22:33:44 <TrueBrain> I see most people circle towards setting up our own entity
22:34:17 <TrueBrain> With that I guess we vote against doing it on a personal name or using an umbrella corp
22:34:28 <nielsm> joining under the banner of someone else feels wrong to me, especially if it's some org more focused on utilitarian software
22:35:11 <TrueBrain> If we all agree on that .. we just need someone willing to do this in their country :p
22:35:17 <TrueBrain> Which mostly consumes time
22:35:17 <nielsm> otoh if there was some association/foundation for open source games that would be perfect
22:35:43 <TrueBrain> Please Google and see if you can find one .. possibly in your own country
22:35:52 <TrueBrain> That would be perfect tbh
22:37:15 <TrueBrain> I will check this week some more in depth about a Stichting, just to have that picture complete
22:37:43 <TrueBrain> Stuff like how the VAT exempt works, and how a bank account works
22:37:54 <andythenorth> oof is it sleeping time?
22:40:41 <milek7> it's not that you will sell anything, so VAT doesn't matter anyway?
22:41:43 <nielsm> VAT on purchase of certificates and running servers may be deductible since those are business expenses?
22:42:06 <TrueBrain> Having nothing to declare and not having to declare are two different things :)
22:42:14 <nielsm> but yeah that requires income from sale of a product or service I think
22:44:34 <TrueBrain> For years I had my own company .. one thing I learnt is how to reduce the amount of paperwork you have to push yearly :D
22:45:42 *** slash_ has joined #openttd
22:46:25 *** slash_ has left #openttd
22:46:49 <Samu> https://i.imgur.com/UcZuN0y.png
22:47:15 *** slash_ has joined #openttd
22:47:23 <Samu> is it possible, in the future version of bananas, to download previous versions of my AIs?
22:48:04 <andythenorth> TrueBrain can you send me a memo about that :P
22:48:55 <andythenorth> admin is my biggest irrational fear
22:49:36 *** snail_UES_ has quit IRC
22:52:57 <slash_> hey everyone - sorry if dumb question (have some c++ experience but never with a project this large, so the makefile for example is quite intimidating :| ) - i was able to get the source code and compile the game (via make, then make bundle) - modified some of the language files and then compiled/make again - all works fine - only issue is each time I do it I'm having to manually create the baseset directory and add the grf and sfx files in the bundle
22:52:57 <slash_> directory. Is there a way I can make sure the bundle always includes these ? Am thinking I must have to add something to the makefile ? thanks
22:53:32 <slash_> sorry if not right place to ask
22:53:52 <nielsm> hmm, by the baseset files what exactly do you mean?
22:54:25 <nielsm> the base GRF files, or the OBG/OBS/OBM files for supporting the original game data?
22:54:50 <nielsm> also which platform are you on?
22:56:51 <slash_> hey - MacOS (am just using sublime as IDE for now - not XCode (though I have it) - and after doing (1) make then (2) make bundle -- i have to go into the 'bundle' directory and create baseset directory - and then add the files from the base GRF and SFX pack --> sample files include: ogfx1_base.grf, ogfxc_arctic.grf, opensfx.obs etc
22:57:31 <frosch123> ogfx is not part of openttd, it is not bundled
22:58:02 <nielsm> you can put the baseset files in your user profile (settings) though
22:58:20 <nielsm> instead of inside the bundle
22:58:43 <slash_> sorry if dumb question - which user profile/settings you referring to?
22:58:51 <slash_> like where should i put them
22:59:31 <nielsm> uh I think it's the Application Support folder in your home folder?
22:59:36 <frosch123> https://github.com/OpenTTD/OpenTTD/blob/master/docs/directory_structure.md <- ~/Documents/OpenTTD/baseset
22:59:36 <glx> usual locations are in the readme
22:59:37 <slash_> okay so MacOS
22:59:39 <nielsm> I rarely work on mac so can't remember exactly
23:00:06 <frosch123> glx: not anymore :p readme has a link though
23:00:38 <slash_> ah okay one sec
23:01:27 <DorpsGek_III> [OpenTTD/nml] MinchinWeb commented on pull request #93: Add release workflow https://git.io/Jfep2
23:01:29 *** sla_ro|master has quit IRC
23:01:46 <slash_> i am 99% sure that directory (Documents/OptenTTD/<a bunch of stuff>) was actually automatically created when i first succesfully built it - so that would make a lot of sense
23:02:07 <slash_> (i used to have the game installed a year or two ago so wasn't sure if i just hadn't deleted it)
23:02:08 <nielsm> it gets created on first run
23:02:22 <slash_> kkkkk one sec will test
23:05:51 <slash_> nice ! thank you @nielsm @frosch123 that did it.
23:06:25 <nielsm> cool
23:06:38 * andythenorth is glad someone made me keep that directory structure doc :D
23:06:39 <nielsm> and yeah the bundle is really only supposed to contain files produced by the build
23:06:43 <andythenorth> I was all for deleting
23:06:48 <slash_> 😂
23:07:18 <slash_> okay - and since the grf/sfx stuff (usually) never changes makes sense to keep it separate
23:07:49 <andythenorth> it is / was a Mac convention to keep application docs in the Documents folder
23:07:55 <LordAro> @topic set 1 1.10.1
23:07:55 *** DorpsGek changes topic to "1.10.1 | Website: *.openttd.org (source: github, translator: translator, server list: servers, wiki: wiki) | Don't ask to ask, just ask | 'Latest' is not a valid version, 'Most recent' neither | English only"
23:08:03 <andythenorth> I did read the guidelines once :P
23:08:54 <glx> andythenorth: probably was
23:08:54 <nielsm> andythenorth well things like baseset, newgrfs and AI scripts aren't really "documents"
23:08:59 <glx> same for windows
23:09:16 <nielsm> savegames and scenarios (created by the local user) are
23:09:41 <andythenorth> there was some rationale for it, I initially disagreed, so I looked it up and I was wrong :D
23:09:43 <andythenorth> also bedtime
23:09:46 *** andythenorth has quit IRC
23:09:52 *** snail_UES_ has joined #openttd
23:09:57 <glx> but it's easier for us to have everything in one place
23:10:10 <nielsm> I guess maybe it falls under "the user may want to mess with these files manually"
23:10:43 <glx> yeah navigating in AppData to add newgrf manually would be a pain :)
23:10:45 <nielsm> so you don't need a button in-app to "open game content folder in finder" if they want to manage it
23:10:51 *** frosch123 has quit IRC
23:11:21 <nielsm> although perhaps the newgrf manager window could use a "reveal in <OS file browser>" button
23:13:16 *** rotterdxm has quit IRC
23:14:04 *** supermop_Home_ has quit IRC
23:15:45 <LordAro> nielsm: the tricky bit is "OS file browser" :p
23:16:09 <nielsm> it would definitely need to be implemented per platform
23:16:24 <nielsm> quite easy on windows and mac
23:16:38 <nielsm> other systems, whoknows
23:16:58 <slash_> srry another dumb question - is there an option to show the cost of a station before its built ? like have the cost of the selected configuration (ie: a 3 track, 5 platform length train station) hover along with the cursor?
23:17:08 <glx> shift
23:17:09 <nielsm> hold shift while building
23:17:10 <slash_> i looked through advanced settings quick couldn't find anything but prob missing it
23:17:10 <slash_> ah
23:17:12 <slash_> ty
23:18:09 <glx> https://wiki.openttd.org/Shortcut_keys <-- many useful "hidden" stuff :)
23:18:41 *** cHawk- has quit IRC
23:18:53 <milek7> nielsm: on others xdg-open
23:19:29 <nielsm> milek7, does that also have a feature to pre-select a specific file in a folder?
23:19:36 <milek7> no
23:19:46 <nielsm> then it isn't entirely "reveal"
23:26:25 <LordAro> opening the correct folder is probably enough
23:28:27 *** cHawk has joined #openttd
23:35:06 <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh updated pull request #7924: Feature: Water tiles have a depth https://git.io/JvfWw
23:43:16 *** Progman has quit IRC
23:43:28 <DorpsGek_III> [OpenTTD/bananas-frontend-web] auge8472 opened pull request #3: Change: embed the main headings of all pages in header-elements https://git.io/JfejJ
23:45:53 <Samu> Road pathfinder with binary heap -> 11356 ticks
23:46:31 <Samu> Road pathfinder with the " > 0 " fix and with native heap -> 6656 ticks
23:46:50 <Samu> @calc 6656/11356
23:46:50 <DorpsGek> Samu: 0.586121873899
23:46:59 <Samu> so much time shoved
23:48:06 *** nielsm is now known as Guest22247
23:48:37 <Samu> the v15 of my AI is currently experimenting with this native heap
23:49:09 <Samu> I'm seriously impressed with the gains
23:49:39 <Samu> it's getting too late, gotta go, take care
23:49:42 *** Samu has quit IRC
23:49:53 *** rotterdxm has joined #openttd
23:51:12 *** Guest22247 has quit IRC
23:57:15 <_dp_> oh, I know what text query popup would be perfect for
23:57:30 *** gelignite has quit IRC
23:57:30 <_dp_> to ask unnamed players for a proper name
23:59:36 *** rotterdxm has quit IRC