VITAS[m] has quit [Quit: Idle timeout reached: 10800s]
Bart[m] has quit [Quit: Idle timeout reached: 10800s]
HebaruSan[m] has joined #spacedock
<HebaruSan[m]>
👋
VITAS[m] has joined #spacedock
<VITAS[m]>
moin
HebaruSan[m] has quit [Quit: Idle timeout reached: 10800s]
AllisTauri[m] has joined #spacedock
<AllisTauri[m]>
Have to say, as flask backends go, the `KerbalStuff` code is not that bad. But it would still benefit a lot from moving to Sanic; if it ever becomes the priority to speed things up
<AllisTauri[m]>
BTW, Can someone mark the deprecated/not-in-use/legacy API?
<Lartza>
Didn't you want to mainstream to docker? I've never even heard of Sanic :P
<Lartza>
Afaict at least a year ago it was still immature and not recommended for production too
VITAS[m] has quit [Quit: Idle timeout reached: 10800s]
VITAS[m] has joined #spacedock
<VITAS[m]>
AllisTauri: API=CKAN as far as i konw they might use it (and are the only ones i know of)
<VITAS[m]>
DOnt know sanic. SPeed is always a topic but im compensating by throwing chaching at it (only 13% of all requests are served by the apache webserver and even less by gunicorn)
<VITAS[m]>
my priority in terms of development is to fix bugs and after that missing but important functions like "change your password" dont know why that isnt a thing.
<VITAS[m]>
i dont want to compleatly rebuild or transform the exisiting code. it has to many shortcommings from my view. i want to make it solid and usable enough to keep it running for the forseeable future. If enough menhours come totgether for making a better site WHILE maintaining the current code im up for it (but i will only belive that when its fully functional)
<VITAS[m]>
btw i dont know how much actual kerbalstuff code is still in there.
<Lartza>
VITAS[m], Sanic seems to be a newish async web framework, compared to the mature non-asynchronous ones including flask
<Lartza>
So it can be "faster", but it's also harder to develop for in a sense
<VITAS[m]>
so the code would have to be rewirtten / massivly altered?
<Lartza>
The whole web framework yes
<Lartza>
In a sense
<VITAS[m]>
ok so no we wont du it
<Lartza>
The routing in Sanic is similar or same as Flask but that's probably about it
<VITAS[m]>
do
<Lartza>
Also if there are any Flask addon libraries used, those would need to be swapped
<Lartza>
And the community for Sanic is smaller so not sure how much even exists for it
<Lartza>
So yeah
<VITAS[m]>
for me it sounds like thomas and rockys attempt to do somthing new in go
<Lartza>
:D
<Lartza>
I mean that makes more sense than switching to Sanic for speed
<Lartza>
Since spacedock isn't slow or is it?
<Lartza>
But even then, Go is only for performance reasons or what too. Why not just keep the old code
<VITAS[m]>
might be a good idea but someone has to keep coding for month to get soemthing usable and for years after that to fix bugs
<Lartza>
Sounds almost like "It's not my code" syndrome
<VITAS[m]>
ive 2 reasons i would love to have something new
<VITAS[m]>
1. i took over kerbelstuf as a concept with all its design as well as functional idears. I cant do my own idea of the perfect SpaceDock but it will always be Kerbalstuff
<Lartza>
Yeah, in a sense
<Lartza>
Also I'm not saying spacedock/kerbalstuff is written well and doesn't need changes but, you can make those changes on Flask I would say
<VITAS[m]>
2. i always had the feeling that coding kerbalstuff was a testpiece for someone learning all those languages and tools. i feel i could do better because im developing websites since 1995 and actualy went to university for it.
<VITAS[m]>
but AllisTauri is right in saying that i need to use popular tools and languages if i want to have other people commit patches and help maintain it.
<VITAS[m]>
so for me its either python/flask or php/laravel because both have huge communities
<Lartza>
Sounds like you haven't paid for irccloud or something :P
<VITAS[m]>
thats the matrix bridge
<Lartza>
But, why
<VITAS[m]>
i do discord <-> matrix <-> irc
<Lartza>
Makes no sense to me
<VITAS[m]>
im currently writing from matrix
<Lartza>
But why would you get AFK disconnected from IRC, I don't see that on freenode :S
<VITAS[m]>
its has a max connection count set to not angry the irc oppers
<VITAS[m]>
so it removes the oldes connectiont hat hasnt been used after a while by still trying to map the usernames as actual nicks in irc
<Lartza>
Oh wait it's your bridge
<VITAS[m]>
yes
<Lartza>
That makes... more sense then maybe
<VITAS[m]>
thats what im explaining
<VITAS[m]>
you can identify bridge users by the [m] sufix
<VITAS[m]>
m for matrix
<VITAS[m]>
if you want to check it out: https://im.52k.de +spacedock:52k.de
<Lartza>
I know but
<Lartza>
There's an official bridge for espernet so I didn't realize you weren't using that
<VITAS[m]>
it isnt up atm
<Lartza>
Wew
<Lartza>
I still see no point in matrix
<VITAS[m]>
because the person is in uni and has exams
<Lartza>
Yet another chat program, that can't replace the ones I already have
<VITAS[m]>
my point is: discord but like email
<VITAS[m]>
jabber is to complicated to whatsapp users
<Lartza>
But I can't replace discord with matrix, unless it can do voice
<VITAS[m]>
riot might be more manageable
<Lartza>
And I can't replace IRC with matrix unless all networks are bridged, and some never will be
<VITAS[m]>
it can
<VITAS[m]>
it actualy looks very similar
<VITAS[m]>
because it uses the same tools
<Lartza>
" VOIP (Hard | Unlikely to be finished anytime soon)"
<Lartza>
Says the matrix discord bridge
<VITAS[m]>
yes between discord and matrix
<VITAS[m]>
but not matrix itself
<VITAS[m]>
matrix to matrix is like discord if youre using riot
<VITAS[m]>
fromt he ui feel and functions
<VITAS[m]>
i tried jabber for a while but all my GFs wherent able to get it to work on their own
<VITAS[m]>
so this is my next attempt at a solution of the problem: just dl that/open that webpage , register and add me as a contact...works
<VITAS[m]>
and i dont have to use nosy discord to write to (most) people on discord :)
<VITAS[m]>
BTW: if i would code a new SPaceDock i would currently use PHP/laravel (because my python game isnt as strong as my php game), laravel echo, vue.js,vuetify,vuex,vue-router
<Lartza>
Yeah PHP isn't horrible I don't think but it does make me a little squeamish :P
<Lartza>
I am biased towards Python sure but I'd rather use something else too, even node possibly
<VITAS[m]>
vue uses a bit of node but mainly to complie its code
<VITAS[m]>
most people are and to much bad php code (and its so easy to make that) gave php a bad rep.
<VITAS[m]>
a thing the current code cant do and every new implemation woudl allow: if someone realy realy wants to take over backend dev. they can code a new one without touching the frontend at all
<VITAS[m]>
i think python beeing the weapon of chaoice in so many areas doesnt have to do with it always beeing the best tool but with it beeing hip
<VITAS[m]>
its liek java software oozing out of unis a decade ago
<VITAS[m]>
thats all they knew and all they could code their idears in.
AllisTauri[m] has quit [Quit: Idle timeout reached: 10800s]
<Lartza>
I mean PHP wasn't great in the past itself, even without bad coders, in a sense