<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
<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]>
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]