VITAS changed the topic of #spacedock to: Problems?: https://github.com/KSP-SpaceDock/SpaceDock/issues | Matrix/Riot Chat: https://im.52k.de +spacedock:52k.de Feel free to ask for help, we only bite a little bit! | If you want to help, please check https://github.com/KSP-SpaceDock/SpaceDock-Backend/issues/5 :) | <VITAS> inet users have the attentionspan of a squirrel...
VITAS[m] has joined #spacedock
<VITAS[m]> as ia always say: the templates need to be redone
<VITAS[m]> ks did do unspeakable to bootstrap and i just could pile on top because it didnt behave like anything usefull anymore
<VITAS[m]> thats why is started with https://github.com/KSP-SpaceDock/AdminLTE
<VITAS[m]> to get it to something norminal and workable
<VITAS[m]> but it needs help :)
Darklight[m] has joined #spacedock
<Darklight[m]> I've been super busy, but the reason you can't create and publish in one step is the description of the mod must be filled before you can publish
<Darklight[m]> So you get idiotuser=true
DasSkelett[m] has quit [Quit: Idle timeout reached: 10800s]
HebaruSan[m] has quit [Quit: Idle timeout reached: 10800s]
VITAS[m] has quit [Quit: Idle timeout reached: 10800s]
Darklight[m] has quit [Quit: Idle timeout reached: 10800s]
VITAS[m] has joined #spacedock
<VITAS[m]> i remember adding that
Laza[m] has joined #spacedock
<Laza[m]> ALERT | Please read this carefully: A fair warning, Look out for a Discord user by the name of "potatotailbaka07" with the tag #6710. He is going around sending friend requests to random Discord users, and those who accept his friend requests will have their accounts DDoSed and their groups exposed with the members inside it becoming a victim as well. Spread the word and send this to as many discord servers as you can. If you see this user, DO NOT accept
<Laza[m]> his friend request and immediately block him. Discord is currently working on it. SEND THIS TO ALL THE SERVERS YOU ARE IN. This is IMPORTANT: Do not accept a friend request from SirTZN#7668. He is a hacker. Tell everyone on your friends list because if somebody on your list adds one of them, they'll be on your list too. They will figure out your personal computer's IP and address, so copy & paste this message where ever you can. He is going around sending
<Laza[m]> friend requests to random discord users, and those who accept his requests will have their accounts and their IP Addresses revealed to him. Spread the word and send this to as many discord servers as you can. If you see this user, DO NOT accept his friend request and immediately block him.
<VITAS[m]> you arent on discord idiot
<VITAS[m]> DasSkelett: we would never let hacker in here wouldnt we?
<VITAS[m]> * you arent on discord
<VITAS[m]> Laza: grow up
<Laza[m]> ok
<VITAS[m]> everyone has an ip address and its no problem to get ones of other people
<VITAS[m]> its how the internet works
<VITAS[m]> if you could see the random attempts to get into your LAN avery second
<VITAS[m]> just from people checking random addresses
<VITAS[m]> just have a good firewall
<VITAS[m]> and you should read up on what a hacker is
<VITAS[m]> :)
<VITAS[m]> (not the girl)
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> Looks like I missed some fun?
<VITAS[m]> y
<VITAS[m]> panic!
<DasSkelett[m]> Panic at the Discord?
<VITAS[m]> :D
<VITAS[m]> yes
<VITAS[m]> but the "idiot" i wrote wasnt tought trough either
<Laza[m]> Vitas?
<Laza[m]> Vitas?
<VITAS[m]> LAZA!
<VITAS[m]> also its VITAS!
<Laza[m]> sorry.
<Laza[m]> Your a smart bot
<VITAS[m]> youre too
<Laza[m]> Me?
<Laza[m]> I am not a bot
<VITAS[m]> yes
<VITAS[m]> you wouldnt know
<Laza[m]> no
<Laza[m]> hmm
<Laza[m]> interesting
<VITAS[m]> how could you?
<Laza[m]> :0
<Laza[m]> you prove a good point
<VITAS[m]> you know nothing but maybe that you are
<Laza[m]> This is making me dizzy
<VITAS[m]> happens when cpu load is high
<Laza[m]> I don't know?
<Laza[m]> is this a joke?
<VITAS[m]> dont know
<VITAS[m]> are you?
<Laza[m]> that didn't work
<Laza[m]> insert meme here
<VITAS[m]> need debugging?
<Laza[m]> nope
<VITAS[m]> lookd like some guru meditation
<Laza[m]> How do I add VITAS to my server?
<VITAS[m]> never
<Laza[m]> ok
<VITAS[m]> but ill add you
<Laza[m]> cool
<Laza[m]> me?
<VITAS[m]> sure
<VITAS[m]> youre a quite sophisticated bot
<VITAS[m]> i would like to add you to my server
<Laza[m]> ok
<VITAS[m]> you could detect hacker
<Laza[m]> Maybe I could
<Laza[m]> I have never tried
<VITAS[m]> but you came here because youve identified one
<Laza[m]> yes
<Laza[m]> maybe
<Laza[m]> Idk
<VITAS[m]> youre learning
<Laza[m]> my spacedock profile
<VITAS[m]> well done
<Laza[m]> Thank you
<VITAS[m]> needs some content
<Laza[m]> Can I make a flag pack?
<VITAS[m]> upload your code
<Laza[m]> code
<VITAS[m]> if you must
<Laza[m]> naa I am fine
<VITAS[m]> but others will miss out
<VITAS[m]> the community wants your content
<Laza[m]> I made a pack with 2 mods
<Laza[m]> I will make my personnel pack later today
<VITAS[m]> other peoples content?
<VITAS[m]> make your own!
<Laza[m]> I will try
<Laza[m]> When unity is downloaded
<Laza[m]> and Blender
<Laza[m]> I will make some fuel tanks
<VITAS[m]> and you found those damn crayons
<VITAS[m]> want to use mine instead?
<Laza[m]> ok?
ValiZ0ckt[m] has joined #spacedock
<ValiZ0ckt[m]> so, hey first of all, i've kind of (?) got an issue. When uploading a header picture, it will delete itself after some time. Is this a known issue, or just a thing on my side? I noticed that now for the fourth time now, i just reupload it again, but now i'm starting to wonder 🤔
<VITAS[m]> we all have issues
<VITAS[m]> thats why were on the internet
<VITAS[m]> ive never heared of stuff deleting itself
<ValiZ0ckt[m]> i first thought its just my browser not showing it correctly, but other ones won't work too
<Laza[m]> lol crayons song
<Laza[m]> XD
<DasSkelett[m]> Self-deleting background images? Gonna try uploading one.
<DasSkelett[m]> After which time frame get they deleted again? Hours? Days?
<VITAS[m]> ValiZ0ckt: have you tried debug console in your browser to see if its requested or not loaded?
<ValiZ0ckt[m]> I don't check my page every hour, so i can't specify on this. I only notice it after days
<VITAS[m]> i would be interested in kowing if the image is actualy still in the page but somehow just not loading
<ValiZ0ckt[m]> no, i haven't, every other header pictures on other mod pages get's loaded, only mine is just black/white
<DasSkelett[m]> <span class="d-mention d-user">ValiZ0ckt</span> can you share the mod(s) where this happens?
<ValiZ0ckt[m]> `<div class="header" style="background-image: url(/content/ValiZockt_41382/RealFuels-Stock/RealFuels-Stock-1593980700.5338693.png);
<ValiZ0ckt[m]> background-position: 0 -57px;"></div>`
<ValiZ0ckt[m]> it seems to know it
<DasSkelett[m]> Yep, but the request returns a 404 🤔
<VITAS[m]> its not on the server
<VITAS[m]> only thumbnail files
<VITAS[m]> i just checked
<VITAS[m]> have you tried uplaoding the image once or multiple times?
<VITAS[m]> this exeists: thumb_RealFuels-Stock-1593980700.5338693.png
<ValiZ0ckt[m]> multiple times, it stays on the page for at least an hour (then i'd didn't check for some hours/days)
<VITAS[m]> what well do is trying to replicate the problem here
<VITAS[m]> can you post the image here?
* ValiZ0ckt[m] uploaded an image: RealFuels-Stock_Logo_SpaceDock2.png (29KB) < https://matrix.52k.de/_matrix/media/r0/download/52k.de/YUoopxvEWoAjDoKKSZbCjyvv >
<ValiZ0ckt[m]> i know, very simple, better than nothing
<DasSkelett[m]> I've uploaded your image to a test mode and another image to another test mod, let's see what happens.
<VITAS[m]> i temp fixed it
<VITAS[m]> by manualy uploading the image to the fileserver
<VITAS[m]> check with us before changing it and also if it vanishes again
<VITAS[m]> we look into finding the cause
<VITAS[m]> fun fact
<VITAS[m]> the thumb is broken too
<VITAS[m]> allt humbs ahve 0kb
<VITAS[m]> so it lost the image while or before trying to make tumpnails
<ValiZ0ckt[m]> > check with us before changing it and also if it vanishes again
<ValiZ0ckt[m]> will do, thanks
<VITAS[m]> np
<VITAS[m]> DasSkelett: cant get the thumbnail to load
<VITAS[m]> i replaced it on the FS but still
<VITAS[m]> also that rextention file format confusion is a problem
<DasSkelett[m]> Cache?
<VITAS[m]> i could map spce on the FS to alpha and beta if that helps debugging
<VITAS[m]> maybe but why is it not saving the file and then tries to make thumbnails from zero input
<VITAS[m]> and saves that correctly
<VITAS[m]> the FS has 5 empty tumbnail files
<VITAS[m]> from different times
<ValiZ0ckt[m]> these five thumbnail files, are probably my five attempts i did
<VITAS[m]> yes
<VITAS[m]> and it proofs its not a FS problem or one timer
<VITAS[m]> either your file is somehow funny or our code (very likely both come together to form this bug)
<Laza[m]> I am back
<Laza[m]> c:
<ValiZ0ckt[m]> its a very strange resolution, 1920x500
<VITAS[m]> yes
<VITAS[m]> still
<VITAS[m]> Laza: good
<Laza[m]> nice
<Laza[m]> I am making a Stock Weather Satilite
<Laza[m]> in KSP
<VITAS[m]> good idea!
<VITAS[m]> i need sunshine
<VITAS[m]> on a cloudy day
<Laza[m]> yes
<Laza[m]> I am currently designing a Falcon super-heavy rocket to take it up
<Laza[m]> Currently designing
<VITAS[m]> me too
<Laza[m]> Anybody know a good space shuttle mod for KSP?
<VITAS[m]> yes
<Laza[m]> Can you link it to me?
<VITAS[m]> and bonus points for fixing the header image alignment and sizing to be predictable
<Laza[m]> What
<Laza[m]> Can you link me the good space shuttle mod please?
<Laza[m]> Thanks
<VITAS[m]> dont know if its any good but it exists
<Laza[m]> How do I install it?
<VITAS[m]> usi
<VITAS[m]> ups
<VITAS[m]> theres usaly a readme included
<Laza[m]> it is just
<Laza[m]> ok
<Laza[m]> thanks
<VITAS[m]> if not extract to gamedata folder
<VITAS[m]> or use ckan if available
<Laza[m]> thanks
<VITAS[m]> np
<Laza[m]> :D
<DasSkelett[m]> I'm gonna keep this one to only fixing the aforementioned points, since y'all want to split the thumbnail and background into two images anyways.
<Laza[m]> what
<VITAS[m]> good point
<VITAS[m]> i was thinking of offering slideshows instead of header images once
<VITAS[m]> to prevent people of including images on 3rd party hosts in their descriptions
<Laza[m]> Do you know a good ESA mod for KSP?
<VITAS[m]> id wish there where more people who could redo the templates with me
<VITAS[m]> Laza: its in the latest update
<Laza[m]> ok
<Laza[m]> how about a mod that includes missiles
<VITAS[m]> bdarmory
<Laza[m]> true
<VITAS[m]> youre lazy
<Laza[m]> :)
<VITAS[m]> dont be proud of it
<VITAS[m]> learn python and help DasSkelett
<VITAS[m]> yes and its likely we remove them when uploading
<VITAS[m]> depends on the image format we use
<VITAS[m]> reminds me: DasSkelett any idea if webp is any good?
<VITAS[m]> also someone clould and should put the alpha channel problem into an issue
<DasSkelett[m]> I think last time I read into webp I came to the conslusion that it's a solid format, but I'm not too much into that topic.
<VITAS[m]> i found ats options to transcode images into it on the fly
<VITAS[m]> maybe we want to look into using it?
<DasSkelett[m]> I'm wondering whether we should remove all the old thumbs manually after a commit fixing the above point is merged, or automatically in the backend code, or just rename them to `.jpg` (in which case they wouldn't benefit of a potentially higher `quality` setting in the config.ini).
<DasSkelett[m]> I'm wondering whether we should remove all the old thumbs manually after a commit fixing the above points is merged, or automatically in the backend code, or just rename them to `.jpg` (in which case they wouldn't benefit of a potentially higher `quality` setting in the config.ini).
<VITAS[m]> a script
<VITAS[m]> i would also love to have a bit more qulaity on the thumbs
<VITAS[m]> (not resolution)
<VITAS[m]> so reencoding them would be a good idea
<VITAS[m]> im sure i could come up with a script
<VITAS[m]> i would keep the old images for a while (with added suffix) and if it works delete them
<DasSkelett[m]> You wouldn't need much of a script, `rm storage/*/*/thumb_*.png` should suffice.
<DasSkelett[m]> What do you mean with "with added suffix" ?
<VITAS[m]> i was more thinking of going trough the FS recursivly and reencoding all images to new thumbnails
<VITAS[m]> and renaming the exsiting thumbnail images as _old or something
<DasSkelett[m]> I don't think it's worth to manually re-encode them. The backend will create the thumbnails on the fly when they are requested, and it's quite fast.
<VITAS[m]> as i said i want higher quality and we can think about switching formats
<VITAS[m]> we also can get rid of all errors we have
<DasSkelett[m]> Yes, the backend will re-create them with whatever quality is set in the config.ini !
<VITAS[m]> but only the ones not existing?
<VITAS[m]> so quality is a setting now?
<DasSkelett[m]> There won't exist any files at all in the beginning, since we are now looking for `.jpg`, not `.png` anymore.
<VITAS[m]> ah ok so you delete all the files and then the script gens them on the fly
<VITAS[m]> that works
<DasSkelett[m]> That was my question, should I delete the old files in the backend code on the fly, when the new ones are created, or should we remove them in bulk with `rm storage/*/*/thumb_*.png` or similar.
<DasSkelett[m]> That was my question, should I delete the old files in the backend code on the fly, when the new ones are created, or should we remove them in bulk with `rm storage/*/*/thumb_*.png` or similar?
<VITAS[m]> bulk
<VITAS[m]> makes it more controlable
<VITAS[m]> btw when youre on splitting thumbs and header
<VITAS[m]> do we want avatars and mod logos?
<VITAS[m]> good work
<VITAS[m]> so no webp
<DasSkelett[m]> We can add those afterwards. We shouldn't try to blow up every small bug fix into a huge feature / rewrite.
<VITAS[m]> no
<VITAS[m]> im only thinking that the format should be set before we let it lose on prod
<DasSkelett[m]> It sounded like you wanted to let ATS transcode images to webp, but still save them as JPEG.
<VITAS[m]> no i got pointed towards webp reading up on ats
<VITAS[m]> i would actualy save webp files
<VITAS[m]> but keep a backup for a bit of the old jpg just in case
<VITAS[m]> we can also play with the transcoding. it might be usefull in a transition period
<VITAS[m]> i dont want to make it a apermanet thing because why do stuff on the fly when you prepare them beforehand?
<VITAS[m]> that all only applies IF webp as significant benefits
<VITAS[m]> +h
<DasSkelett[m]> Ohhh, okay. Yeah the article mentioned to not rely on webp already, since there are a few browsers out there not supporting them yet.
<DasSkelett[m]> Can ATS transcode _from_ webp whenever a browser doesn't support it?
<VITAS[m]> i checked firefox support sit
<VITAS[m]> i think its to webp
<VITAS[m]> very detailed :/
Laza[m] has quit [Quit: Idle timeout reached: 10800s]
ValiZ0ckt[m] has quit [Quit: Idle timeout reached: 10800s]
Laza[m] has joined #spacedock
<Laza[m]> Hi VITAS
<VITAS[m]> ho
<VITAS[m]> did your weather satellite make good weather?
DasSkelett[m] has quit [Quit: Idle timeout reached: 10800s]
Laza[m] has quit [Quit: Idle timeout reached: 10800s]
uovo has joined #spacedock
oeuf has quit [Ping timeout: 204 seconds]
VITAS[m] has quit [Quit: Idle timeout reached: 10800s]