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[m] has joined #spacedock
<RockyTV[m]> firefox has different shortcuts iirc
egg has quit [Ping timeout: 378 seconds]
egg has joined #spacedock
<RockyTV[m]> ctrl+f5 or ctrl+shift+r
courtesybog3[m] has quit [Quit: Idle timeout reached: 10800s]
pun[m] has joined #spacedock
HebaruSan[m] has joined #spacedock
<HebaruSan[m]> `/var/log/syslog` shows all the right log messages from pulling changes, but `/var/log/auth.log` shows no attempts to run the sudo commands to restart
<HebaruSan[m]> (And now it does, because I ran it manually)
<HebaruSan[m]> I think `celery._restart_subprocess` must be throwing an exception
<HebaruSan[m]> Also seemingly bad news on the mod creation fix, the dropdowns look weird and the game versions list is empty
<HebaruSan[m]> Also seemingly bad news on the mod creation fix, the dropdowns look weird and the game versions list is empty
<HebaruSan[m]> Guessing that some of the init is running before the page is ready
<HebaruSan[m]> This part was ditched in the transition of code from the template to coffee:
<HebaruSan[m]> ```
<HebaruSan[m]> $(document).ready(function () {
<HebaruSan[m]> ```
<HebaruSan[m]> Does it on https://alpha.spacedock.info/create/mod ? Or just in your local copy?
<HebaruSan[m]> Maybe some caching thing, not sure
<HebaruSan[m]> Maybe the timing is different
<HebaruSan[m]> Nah, keep the function declarations, just wrap the part that actually uses them
<HebaruSan[m]> Nah, keep the function declarations in the top level, just wrap the part that actually uses them
<HebaruSan[m]> But this is still just a guess of what's going wrong
<HebaruSan[m]> It has some of the same problems of Python, everyone found compilation and types too constraining and discarded them for the freedom of dynamic scripting, then after enough time your system gets complex enough that you hit the same reasons those things were created in the first place.
<HebaruSan[m]> And then you re-create them, except you have to do it on top of a language that foundationally rejected them, so it's always a half measure with caveats and gaps.
<HebaruSan[m]> I guess this is what to do in Coffeescript: https://stackoverflow.com/a/50431818/2422988
<HebaruSan[m]> Yup, problem is that the .js file is one of the assets that gets loaded as the page is assembled, and maybe there's something in there you legitimately want to run RIGHT AWAY
<HebaruSan[m]> A few libraries and utilities probably do need that. So it's the default, and 95% of developers get burned by it.
pun[m] has quit [Network ban]
HebaruSan[m] has quit [Network ban]
RockyTV[m] has quit [Network ban]
pun[m] has joined #spacedock
<pun[m]> ok bot
RockyTV[m] has joined #spacedock
RockyTV[m] has quit [Network ban]
pun[m] has quit [Network ban]
pun[m] has joined #spacedock
pun[m] has quit [Network ban]
im52kde has joined #spacedock
im52kde has quit [Network ban]
HebaruSan[m] has joined #spacedock
HebaruSan[m] has quit [Network ban]