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...
<RockyTV> been waiting for a call from a company that said they would call me yesterday, let's see if they remember to call today :P
VITAS[m] has joined #spacedock
<VITAS[m]> "The Company"
<VITAS[m]> MAybe they are "Bad Company 2"
<RockyTV> lol
<VITAS[m]> ive just read that brazil is suggesting drinking the same crap as trump does
<VITAS[m]> hydrotoxicmoron or what its called
<VITAS[m]> RockyTV: hows your vue ui thing going?
<VITAS[m]> we could either work on it together or i could get out my laravel , vue.js,vuetify,vuex code form a year ago and we could finish that and bring it up to date
<VITAS[m]> i would love to have spacedock become truly multigame and also allowing its users to communicate over it
<VITAS[m]> balsa would force us to monitor more forums and ksp2 to manage mods for multiple games with possible different admins for each game
<VITAS[m]> (as i foudn out with factorio: im unable to keep connected with all communities and update version numbers and such for all games)
<VITAS[m]> DasSkelett: how good is your php game? especialy laravel?
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> Basically 0.
<DasSkelett[m]> But wasn't the rule no rewrites for now? ;-)
<DasSkelett[m]> Btw, I'm working on a password change option.
<VITAS[m]> yes
<VITAS[m]> the code im talking about is about 75% there
<VITAS[m]> but you might be right :)
<VITAS[m]> i had a surge of energy. its gone now after i filled in some forms to get unemployment money
<DasSkelett[m]> Ugh
<VITAS[m]> yes has been 2 month now since i first applied for it
<VITAS[m]> no money but more forms
<DasSkelett[m]> Hooray to German bureaucracy
<VITAS[m]> at least we have aids for unemployed
<VITAS[m]> they are even more confused than usual. they gave ma a checklist what they want. they listed stuff they allready have 3 times.
<VITAS[m]> same for forms
<VITAS[m]> i filled out 3 different forms asking me about my living situation today
<VITAS[m]> at least i could copy the data from one to the next
<VITAS[m]> btw: how do i know when the hous im renting an apartment in was build?!
<VITAS[m]> <hunts fore timecapsule in basement
<DasSkelett[m]> Ask the guy who built it? :P
<DasSkelett[m]> Alternatively the Bauamt adn/or Grundbuchamt could know more
<DasSkelett[m]> Ask the guy who built it? :P
<DasSkelett[m]> Alternatively the Bauamt and/or Grundbuchamt could know more
<VITAS[m]> i think hes dead judging from the age
<DasSkelett[m]> Revive him, simple as that.
<VITAS[m]> u think theres a date somewhere near the entry
<VITAS[m]> and they allready start with the deadlines
<VITAS[m]> if i dont enter my paperwork till the 5th then...i suppose they will continue what they are doing now: nothing
<DasSkelett[m]> <span class="d-mention d-user">VITAS</span> looks like the storage hits again. LGG reports uploads not completing, testedd, can confirm.
<DasSkelett[m]> <span class="d-mention d-user">VITAS</span> looks like the storage hits again. LGG reports uploads not completing, tested, can confirm.
<VITAS[m]> ack
<DasSkelett[m]> Is alpha+beta on the same storage? Because uploads work there.
<VITAS[m]> no
<DasSkelett[m]> Okay, explains that.
<VITAS[m]> could you post to the forums that ill have to restart sd in 30 mins for 1h max
<VITAS[m]> i dont seem to be able to remount it on the fly
<DasSkelett[m]> Yep
<VITAS[m]> thats when i wished we could easily show some sort of banner or msg on the site itself
<DasSkelett[m]> I'll see if I can try to add that next. Will need to make some thoughts how to save the message and stuff, not sure if it should go in a new db table.
<DasSkelett[m]> For now I've found a non-fatal error on alpha thrown by the server when going to the mod upload site.
<VITAS[m]> db table if we want to change it and config value if not
<VITAS[m]> we could simply call it maintenance mode
<DasSkelett[m]> Isn't it more of a maintenance warning, not a maintenance mode?
<DasSkelett[m]> Because if the side is already offline, the message banner can't be displayed.
<VITAS[m]> youre right
<VITAS[m]> the maintanance banner should be part of apache or even ats
<VITAS[m]> so db table it is. it could also store who posted what when
<VITAS[m]> a la id, timestamp, msg,userid
<VITAS[m]> active should be stored in some kind of key val config table
<VITAS[m]> (because only the latest msg should be the one displayed)
<VITAS[m]> or: same as above but active flag in table and dropdown list along with ability to add/edit new msg
<VITAS[m]> so we can have templates
<VITAS[m]> anyways first ive to fight the servers stuff again. great :/
<VITAS[m]> rebooting things
DasSkelett[m] has quit [Remote host closed the connection]
VITAS[m] has quit [Ping timeout: 189 seconds]
im52kde1 has joined #spacedock
im52kde has quit [Ping timeout: 378 seconds]
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> How's it going?
VITAS[m] has joined #spacedock
<VITAS[m]> dont know check plz
<VITAS[m]> psql wouldnt want to shutdown had to kill it
<VITAS[m]> hope its all good
<DasSkelett[m]> Seems to be up again, trying to upload a mod
<DasSkelett[m]> Looks good
<VITAS[m]> cool
<VITAS[m]> still some problems on the admin side of things and one storage missing for 2vms
<DasSkelett[m]> Uploading should work again <span class="d-mention d-user">Linuxgurugamer</span>
<VITAS[m]> hmm my admin panel doesnt show the vm stats
<VITAS[m]> lets hope that this sort itself out in a few minutes
VITAS[m] has quit [Remote host closed the connection]
im52kde1 has quit [Remote host closed the connection]
DasSkelett[m] has quit [Remote host closed the connection]
im52kde has joined #spacedock
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> Yeah alpha+beta seem to be down still
VITAS[m] has joined #spacedock
<VITAS[m]> now im ready
<VITAS[m]> you can post in the forums that im done restarting :D
<RockyTV> VITAS[m], I'd be willing to help, my buefy UI was just for experimenting but haven't touched it in the last days cuz I was waiting for a company to call me and offer me a job :p
<DasSkelett[m]> Well I've already edited my comment some time ago, but I'll post a separate message 😛
<VITAS[m]> DasSkelett: always wait for me saying "im done" :D
<VITAS[m]> RockyTV: then lets wait if you get the job first
<RockyTV> are you using Vue or Nuxt?
<VITAS[m]> vue
<VITAS[m]> hmm now email isnt working
<VITAS[m]> ill wait
<VITAS[m]> the server is surly catching up
VITAS[m] has quit [Remote host closed the connection]
DasSkelett[m] has quit [Remote host closed the connection]
im52kde has quit [Remote host closed the connection]
im52kde has joined #spacedock
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> Did I mention that I don't like JavaScript?
<DasSkelett[m]> > TypeError: document.getElementById(...).modal is not a function
VITAS[m] has joined #spacedock
<VITAS[m]> yes
<VITAS[m]> did i mention that my mailserver is still broken and i dont know why?
<RockyTV> VITAS[m], they contacted me :P
<VITAS[m]> what do they want exactly?
<RockyTV> it's a backend dev internship :P
<RockyTV> though I think I'll be full stack, doing both backend and frontend with react
<VITAS[m]> and do they pay?
<RockyTV> yes
<VITAS[m]> good
<VITAS[m]> seems like mails are comming in and send out but i cant connect to the server with my mailprogram (webmail works)
<VITAS[m]> it somehow gets denied and then it falls back to the url of the old server i cant find in my configs anywhere
<DasSkelett[m]> I guess you are running Postfix/Dovecot?
<VITAS[m]> yes
<VITAS[m]> and assp
<VITAS[m]> worked after the first reboot but stopped after the second
<VITAS[m]> had that in the past
<VITAS[m]> fixed itself trough rebooting
<VITAS[m]> but not this time (at least not so far)
<DasSkelett[m]> Hmm, the only problems I had getting IMAP conenctions to my Dovecot was when I had hit the max conenction limit.
<VITAS[m]> im not sure but i think it has to do with lxc container packet routing fuckup
<VITAS[m]> or processes timing out when the server starts
<VITAS[m]> (heavyl load and such)
<VITAS[m]> restarting the processes and containers didnt help so far and i cant fdind any real reason in the logs
<VITAS[m]> i should use something else than assp. old perl code is crap
<VITAS[m]> but its so well tuned
<VITAS[m]> kicks server*
<VITAS[m]> i think a break is in order :)
<DasSkelett[m]> Always a good idea!
<VITAS[m]> some easy viewing
<VITAS[m]> DasSkelett: 88.99.249.174:8877/stream.m3u
<VITAS[m]> a test
<DasSkelett[m]> > PR_END_OF_FILE_ERROR
<VITAS[m]> vlc does play it
<VITAS[m]> what did u use?
<DasSkelett[m]> Whoops yep. Was HTTPS Everywhere trying to get it over HTTPS
<VITAS[m]> there you go
<VITAS[m]> are you listening?
<DasSkelett[m]> Entered in Firefox, which prompted me to open it in VLC
<DasSkelett[m]> Yes
<VITAS[m]> k
<VITAS[m]> lewts go
<DasSkelett[m]> This is a nice service, private DJ while coding. 🎵
<VITAS[m]> yes
<VITAS[m]> but i will make your ears hurt sooner than later :D
<DasSkelett[m]> Hehe. Let's see if it works mobile too (need to find something to eat)
<VITAS[m]> hmm food.... :/
<VITAS[m]> volle kanne 90er techno :D
<DasSkelett[m]> Enjoying it!
<VITAS[m]> cool youre my first live gig in ages :D
<DasSkelett[m]> Hahaha
<VITAS[m]> ok that was crap
<VITAS[m]> shit
<VITAS[m]> lets do that agein
<VITAS[m]> :D
<VITAS[m]> also im doing something a dj should never do: play songs he hasnt tagd, indexed or even listened to
<DasSkelett[m]> No one will notice except me :P
<VITAS[m]> bad enough
<DasSkelett[m]> uffff
<VITAS[m]> ?
<VITAS[m]> yes its a bit rough atm :/
<DasSkelett[m]> Getting better again 🙂
<VITAS[m]> you should keep in mind that most people at raves where doped trough the roof
<VITAS[m]> nothing like that what teen girls today call rave :D
<DasSkelett[m]> Ahaha
<VITAS[m]> i stumbled across a yt vid once where they presented cloth for the next rave
<VITAS[m]> hilerious
<VITAS[m]> i would love to bring the djdeck to an event and let others play arround with it.
<VITAS[m]> but copyrighted music and such
<DasSkelett[m]> Next C3: "Learn flying rockets (and mixing music)"
<VITAS[m]> yes bring headphones and an usb stick with music
<VITAS[m]> i also fear children like on the ksp pc
<DasSkelett[m]> 😛
<VITAS[m]> for our easter event i offered to bring it
<VITAS[m]> they didnt want me to because "its not pro enough and my friend has better stuff"
<VITAS[m]> pro = different brand
<VITAS[m]> denon dj is quite highend stuff but pioneer is the norm
<DasSkelett[m]> Yeah I mean, I can't tell the quality or brand from the webstream 😉
<VITAS[m]> a test
<VITAS[m]> ups
<DasSkelett[m]> Just paint your equipment or something. Put Pioneer stickers on it 😄
<VITAS[m]> ill take a break after this track
<VITAS[m]> its all metal and was their top model 2 years ago
<DasSkelett[m]> Definitely looks Pro enough for me
<VITAS[m]> about 2k € new
<DasSkelett[m]> Ohhhh 😦
<VITAS[m]> i only paied 600
<VITAS[m]> but still
<VITAS[m]> can be used standalone
<DasSkelett[m]> Whoop whoop 👏 👏 👏
<VITAS[m]> has 4 channels you can mix and 2 mic in
<VITAS[m]> i also took it apart twice and found out you can fill attached usb sticks while its playing via ftp with new songs
<VITAS[m]> and it has midi via ethernet (can controll vj setups too)
<VITAS[m]> i also found out: djs are idiots when it comes to technology
<VITAS[m]> they dont know what is in their stuff nor do they care
<DasSkelett[m]> Oh?
<VITAS[m]> yes i thought them using tech and making electronic music would result in some hacker atitude
<VITAS[m]> but nah
<VITAS[m]> they told me that i was a fool for taking the thing apart and fixing it myself
<VITAS[m]> i should send it to denon for mending my crossfader
<DasSkelett[m]> To loosely quote some guy over at the DMP channel: "Not all of them are attending hacker conferences" 😄
<VITAS[m]> yes that was especialy aimed at eskimo
<VITAS[m]> who wanted to setup up a server but said he didnt have any masters degree so he doesnt know anything about networking and also didnt care
<DasSkelett[m]> Yes I know, I understood your subtone 😄
<VITAS[m]> k
<VITAS[m]> its the smartphone generation
<VITAS[m]> all they can do and are motivated to is say "ok google go"
<DasSkelett[m]> And I'm answering with "Just google, bro".
<VITAS[m]> and im not endorsing google
<VITAS[m]> but yes. it always gets me worked up when people say "i dont know how"
<VITAS[m]> (if they refuse to learn)
<VITAS[m]> all those "i would help but i dont know how to code or gfx or,...."
<VITAS[m]> if one realy wants to have something he/she should learn it
<DasSkelett[m]> Give them the Patreon link.
<VITAS[m]> else im not convinced they want it
<VITAS[m]> they dont even watn to do that
<VITAS[m]> they want absolution
HebaruSan[m] has joined #spacedock
<HebaruSan[m]> I have tried to learn to draw. It didn't work.
<VITAS[m]> i could teach you :)
<VITAS[m]> but it would have to be in person i guess
<DasSkelett[m]> But I doubt you're going to an artist and ask him if you could help him draw the picture
<DasSkelett[m]> Uh oh, someone in the /r/KerbalSpaceProgram Discord blames CKAN for a user error again, brb
<VITAS[m]> darwing: reducing object to simple gemoetric shapes
<VITAS[m]> opens phonebooth
<VITAS[m]> wait a child in tokyo didnt get dinner?! ill be right back
<VITAS[m]> :D
<VITAS[m]> art is different than a website
<VITAS[m]> but if the artist would make cartoons i would ask if i could help him drawing backgrounds and such
<VITAS[m]> if i realy wanted to help and wouldnt have any money
<VITAS[m]> some people think its supporting to just say stuff
<VITAS[m]> liek those clapping for health care workers
<VITAS[m]> or twitter activists
<HebaruSan[m]> The one that annoys me is when someone says in a CKAN issue that they would help but they don't know C# (but do know programming)
<HebaruSan[m]> C# is so similar to many languages, and you can do web searches to fill in the gaps.
<DasSkelett[m]> Yeah guess how I started
<HebaruSan[m]> Ooh, what language did you know before?
<HebaruSan[m]> Wow, you've done really well!
<HebaruSan[m]> I actually had some formal training in C#
<HebaruSan[m]> In fact the ConsoleUI toolkit started as part of one of the exercises for that class (no connection to CKAN at the time)
<DasSkelett[m]> This was just before my Abitur (I really needed something to procrastinate back then!)
<HebaruSan[m]> I mean kudos for taking the initiative out of seemingly nowhere
<DasSkelett[m]> Thanks. Let's say I did (and am still doing it) partially out of very selfish reasons, that is to teach myself programming. And being able to contribute to something you like and you are using is a pretty nice side-effect.
<DasSkelett[m]> Thanks. I'd say I did (and am still doing it) partially out of very selfish reasons, that is to teach myself programming. And being able to contribute to something you like and you are using is a pretty nice side-effect.
<HebaruSan[m]> Well I hope you don't quit once you decide you've learned enough 🙂
<VITAS[m]> most people fade out after a while
<VITAS[m]> interests change over time
<VITAS[m]> that allistauri guy is gone too for a while now
<DasSkelett[m]> Oh I don't think so. If only because you never finish learning (programming).
<VITAS[m]> i think with you its something else: you like the people
<DasSkelett[m]> True. I really like working with you all. It's a lot of fun!
<DasSkelett[m]> But now it's getting emotional 😅
<VITAS[m]> time to go to bed
<VITAS[m]> :D
<VITAS[m]> night
<DasSkelett[m]> Haha. Have a good rest 💤
HebaruSan[m] has quit [Quit: Client limit exceeded: 6]
<RockyTV> can we remove the fork relation from spacedock?
<RockyTV> DasSkelett[m], do you have access to SD db?
<DasSkelett[m]> Prod? Only to the game versions.
<RockyTV> :/
<RockyTV> guess I'll have to try alpha then
<RockyTV> internal server error when creating a new mod on alpha
<RockyTV> is github 500ing when you open the PR tab in SpaceDock repository?
HebaruSan[m] has joined #spacedock
<HebaruSan[m]> GitHub is having trouble in general today
<DasSkelett[m]> Oh GitHub is very flaky for the last 6 hours
<RockyTV> HebaruSan[m], I was replying to the PR
<RockyTV> PSQL converts datetime to UTC
<DasSkelett[m]> I'd actually say, that SpaceDock had a higher uptime than GitHub today, despite the double restart earlier.
<RockyTV> though datetime.now() may depend on the server's timezone
<HebaruSan[m]> Should all of the 15 usages of `datetime.now` in `objects.py` be replaced?
<HebaruSan[m]> Also, `datetime.utcnow()` doesn't solve the problem, because it returns a datetime with no timezone awareness
<RockyTV> if I understood it correctly, datetime.now gets stored as UTC on the db, and when you retrieve it, it's converted back to the server's local timezone
<RockyTV> I want to test to check if the server is returning the correct timestamp, because if that's what's going on we don't need to change anything at all
<HebaruSan[m]> OK, some sample output: https://spacedock.info/api/mod/281
<HebaruSan[m]> ```json
<HebaruSan[m]> "created": "2018-08-19T09:05:57.989701",
<HebaruSan[m]> ```
<HebaruSan[m]> I would show a GitHub response for comparison, but their server is broken now, so hopefully you'll believe me that they end in 'Z'
<HebaruSan[m]> Which means UTC
<RockyTV> why don't we return timestamps?
<HebaruSan[m]> I assume you mean timezones (I keep doing that as well), in which case it's because the date object we're returning isn't timezone aware
<RockyTV> no, unix timestamps
<RockyTV> datetime.now().timestamp iirc
<HebaruSan[m]> Buh? Why would we do that?
<RockyTV> that way we have a long with time data without having to care about ISO formatting :p
<RockyTV> machine readable and easily convertible to other formats
<RockyTV> also, the python docs recommend datetime.now(timezone.utc) instead of .utcnow
<HebaruSan[m]> But we already DON'T have to care about ISO formatting, it's all done for us
<HebaruSan[m]> Right, that's how you get a Python datetime to actually remember the tz 🐍
<HebaruSan[m]> Which unfortunately requires a lambda in the db defs
<HebaruSan[m]> Hence not wanting to dig into that
<RockyTV> why?
<RockyTV> we just need to replace all instances of .now and add UTC timezone
<HebaruSan[m]> ```python
<HebaruSan[m]> created = Column(DateTime, default=datetime.now)
<HebaruSan[m]> ```
<HebaruSan[m]> `default` takes a function
<HebaruSan[m]> Currently a handy standard function without parameters
<HebaruSan[m]> Adding the parameter makes it more complicated
<RockyTV> ok, it's saving as the server's local time
<RockyTV> converted the example you listed to a timestamp and used unixtimestamp.com to convert
<RockyTV> it's local time
<HebaruSan[m]> OK, so we should convert it rather than just setting the tz. I'll start that in a bit, currently immersed in some CKAN stuff
VITAS[m] has quit [Quit: Idle timeout reached: 10800s]