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....oh a nut!
politas has quit [Ping timeout: 190 seconds]
Dazzyp has joined #spacedock
Daz has quit [Ping timeout: 202 seconds]
Dazzyp is now known as Daz
politas has joined #spacedock
VITAS[m] has joined #spacedock
<VITAS[m]> AllisTauri: IF HebaruSan (IRC) isnt replying i can tell you a bit: SpaceDock is legacy flask stuff. HebaruSan (IRC) set up an alpha and an beta server. alpha is sort of "unstable"/dev and beta is for public testing/staging to let the "public" find the last bugs before we put it onto production.
<VITAS[m]> atm beta should mirror production because he left in the middle of the process of getting all the code changes in github into beta.
<VITAS[m]> you could if you wish check out the issues and see if you find something that noone fixed/added yet.
<VITAS[m]> if you have any questions and HebaruSan (IRC) isnt responsive nudge me (be aware that ill be traveling a lot over the next 30 odd days)
<VITAS[m]> alpha.spacedock.info & beta.spacedock.info are a thing
<VITAS[m]> a person with the nick "djerun" has also acc to those servers and will have to the the github repos. He could merge stuff if you see him and neet it.
AllisTauri[m] has joined #spacedock
<AllisTauri[m]> Ok. I'll familiarize myself with the repo. Do you have some local development setup, like docker?
<AllisTauri[m]> Any CI/CD?
<VITAS[m]> thers an old docker fill that needs updating
<VITAS[m]> CI as in corporate Image?
* VITAS[m] uploaded an image: color-chart2.png (23KB) < https://52k.de/_matrix/media/v1/download/52k.de/faFXtJPJtghviySlJzhBxqHZ >
<AllisTauri[m]> As in travis/jenkins =)
<VITAS[m]> no but you can have that/set that up if you want (ill give you ahost for it)
<VITAS[m]> there was such a thing too years ago
<AllisTauri[m]> I think I'll start by updating docker setup to be able to deploy everything locally
<VITAS[m]> k
<VITAS[m]> i think theres allready an issue for that
<AllisTauri[m]> I think I'll start by updating docker setup to be able to deploy and run everything locally
<VITAS[m]> itsa all a bit ubuntu 14 area
<VITAS[m]> i patched the production code to work on current versions of ubuntu and its packet versions
<AllisTauri[m]> Don't you want to try docker (swarm, kebernetes or plain compose) in production, btw?
<AllisTauri[m]> Eliminates all this trouble with packet versions
<VITAS[m]> no
<AllisTauri[m]> *edit:* ~~Don't you want to try docker (swarm, kebernetes or plain compose) in production, btw?
<AllisTauri[m]> Eliminates all this trouble with packet versions~~ -> Don't you want to try docker (swarm, kubernetes or plain compose) in production, btw?
<AllisTauri[m]> Eliminates all this trouble with packet versions
<VITAS[m]> i use lxc
<VITAS[m]> that can do similar things but i want to stay close to current versions of packets
<VITAS[m]> they exist for a reason
<AllisTauri[m]> Well, containerization also exists abd is the mainstream for a reason =)
<AllisTauri[m]> But no matter, it is how it is.
<VITAS[m]> (having kubernetes pods in the future could be a thign but those also must be maintained by someone and im fully at work keeping this site alive)
<AllisTauri[m]> *edit:* ~~Well, containerization also exists abd is the mainstream for a reason =)
<AllisTauri[m]> But no matter, it is how it is.~~ -> Well, containerization also exists and is the mainstream for a reason =)
<AllisTauri[m]> But no matter, it is how it is.
<VITAS[m]> lxc are containers
<VITAS[m]> and the docker file exists because we dook a look at it at some point :)
<AllisTauri[m]> You mean spacedock is build around lxd?
<VITAS[m]> no
<VITAS[m]> i mean spacedock runs inside of lxc containers
<AllisTauri[m]> More or less what I meant)
<VITAS[m]> it wasnt designed for it
<VITAS[m]> i dont think it was designed at all but more like infested its way to production
<AllisTauri[m]> So everything is in a single container?
<VITAS[m]> no
<VITAS[m]> thats not how containers work :)
<VITAS[m]> (as you surely know)
<VITAS[m]> i admit im not that of a python dev but i know server infrastructures and web dev :)
<AllisTauri[m]> I never worked with lxc, but do know they're more like VMs than like docker 1-app-1-container idea
<VITAS[m]> yes theyre more like jails
<VITAS[m]> and i use templates/images and ansible to make them do similar things like docker
<VITAS[m]> ive some docker containers too but spacedock is so wonky that it needs me to log in from time to time and kick it
<AllisTauri[m]> Would be definitely interesting to put hands in all of this =]
<VITAS[m]> ive seperate containers for db, rev proxy, stats, stats db, gunicorn,...
<VITAS[m]> i wont give you admin acc on the whole physical machine
<VITAS[m]> but we can talk about you geting lxc containers for setting up jenkins or whatever would make the dev process eaasier
<VITAS[m]> and also alpha host
<VITAS[m]> if you want to play with lxc at home i suggest proxmox and a spare computer :)
<AllisTauri[m]> Don't think i need one at the time, probably a at all
<AllisTauri[m]> I mean access
<AllisTauri[m]> But the overlook of the components would definitely help.
<VITAS[m]> theres gunicorn and psql
<VITAS[m]> thats all whats needed for spacedock
<VITAS[m]> (and a mailserver)
<VITAS[m]> there isnt any special version for production
<VITAS[m]> (its like any other ubuntu 18.04 lts to the code)
<AllisTauri[m]> I see; should be enough info to get started. Thanks!
<VITAS[m]> np thank YOU
Daz has quit [Remote host closed the connection]
Daz has joined #spacedock
<AllisTauri[m]> So far HebaruSan didn't respond; not sure in which timezone he is, though, maybe it's night. Could you add me as a dev to the repo so that I have the push access?
<AllisTauri[m]> Also, it would be very hard **not** to try to reorganize and refactor all this mess; so maybe it would be better to give me spceific issues to handle for now.
<VITAS[m]> sure
<VITAS[m]> all i want is the most plesent dev enviroment possible. So if you want to produce that your welcome to
<VITAS[m]> whats your github username?
<VITAS[m]> found you
<VITAS[m]> rigths added
<VITAS[m]> im using apache webserver on my deployments
<AllisTauri[m]> Thanks!
<AllisTauri[m]> Apache then, doesn't matter much
<VITAS[m]> you might be interrested in the apache config
<VITAS[m]> you cant split front and backend because the site doesnt do web 2.0
<VITAS[m]> you surely can split the code if you like but i dont see any use in that
<VITAS[m]> ive the feeling you have no idea what amount of crap the code actualy is :D
<AllisTauri[m]> btw, what are all those OpenDock and SpaceDock-Backend (on Go) repos?
<AllisTauri[m]> Ive already looked through 😃
<VITAS[m]> the youngsters wanted to do revolutionary things and ran out of steam multiple times
<VITAS[m]> i just added the correct descriptons to them
<AllisTauri[m]> How typical! (c)
<VITAS[m]> yes
<VITAS[m]> i want the code to be maintainable and not like a sinking boat where i have to run arround kicking bilge pumps
<VITAS[m]> if that is reached we could think about the future
<VITAS[m]> thats production ims ending you
<VITAS[m]> because parallelism wasnt achievable (by me and others) with build in stuff were running multiple instances of the gunicorn and LB them from apache webserver in rev proxy mod
<VITAS[m]> its also filtering out static content and serving that directly
<VITAS[m]> because its all on one server im seeing no use of splitting those processes up into seperate containers but youre welcome to do this in docker
<VITAS[m]> also spacedock is ran using systemd
<VITAS[m]> apache webserver itself isnt the outer layer but is behind a global rev proxy for all of my networks (and services)
<VITAS[m]> that rev proxy is running apache trafficserver (ats) (for the uninformed: https://trafficserver.apache.org/ its not apache webserver)
<VITAS[m]> ats does the https, Http/2 stuff and all the other fency things.
<VITAS[m]> just to be clear: your docker files will only be used for local dev enviroments not in production or on alpha & beta (because those shoudl be as close to prod. as possible)
<DasSkelett> VITAS: The sponsor link on GH doesn't work, I think you have to put a space between your username and the #
<VITAS[m]> thx
<VITAS[m]> now
<VITAS[m]> btw DasSkelett (IRC) mybe youve read that AllisTauri is doing docker things with spacedock. Maybe you want to team up on that one.
* VITAS[m] has to do RL stuff now. later.
<DasSkelett> Read that. Makes sense
<VITAS[m]> cool thank you :)
<AllisTauri[m]> `just to be clear: your docker files will only be used for local dev enviroments not in production or on alpha & beta (because those shoudl be as close to prod. as possible)`
<AllisTauri[m]> For now it's all I need, but in the future (if you really want maintainable and production-ready code) you should consider it;
<AllisTauri[m]> at least I will bring the topig again when I'm done. Maintainability hugely relies on using mainstream technologies, because then it's easier to bring in new people or pass the project on.
<AllisTauri[m]> `just to be clear: your docker files will only be used for local dev enviroments not in production or on alpha & beta (because those shoudl be as close to prod. as possible)`
<AllisTauri[m]> For now it's all I need, but in the future (if you really want maintainable and production-ready code) you should consider it;
<AllisTauri[m]> at least I will bring the topik again when I'm done. Maintainability hugely relies on using mainstream technologies, because then it's easier to bring in new people or pass the project on.
<VITAS[m]> you can bring it up again. But dont be upset if i say no (im prepared to hear your pleed).
<VITAS[m]> for the moment i consider lxc, linux and python very mainstream if not to everybodys tast. I also dont need help actualy running the server. Only with the code itself.
<AllisTauri[m]> 😁
<Lartza> Yeah not sure why docker is any more mainstream than lxc?
<VITAS[m]> because everyone has his own way of doing things and for one person docker is all arround them because they dive into that ecosystem for others its kubernetes or mesosphere or whatever.
<VITAS[m]> i wouldnt be able to learn if i wouldnt be open to other peoples opinions and preferences. :)
<VITAS[m]> as long as they keep in mind that im doing that stuff for a very long time. :)
<AllisTauri[m]> lxc may not be less mainstream than docker (although, how many cloud serivces provide its support out of the box? I really don't know), but the system that is fused with its environment is surely not it. Sure, I use docker/kuber because I accustomed to it; but it's not the tool that I wish to introduce, it's the principle -- system that could be easily deployed on any major hosting or at home.
<VITAS[m]> Im not into cloud. I build my own.
<VITAS[m]> but for dev yes
<VITAS[m]> anyway. we agreed on waiting till its finished.
<VITAS[m]> :)
<AllisTauri[m]> At least if you don't have more pressing tasks that I could handle in the current code.
Daz has quit [Ping timeout: 190 seconds]
Daz has joined #spacedock
<HebaruSan> Whatever happened to the good old days of writing CGI-bin scripts in Perl??
<Lartza> HebaruSan, And wget perl.tar.gz && tar && sudo make install on baremetal production? ;)
<HebaruSan> lol, let's port SpaceDock to 1998 technology
Bart[m] has joined #spacedock
<Bart[m]> HebaruSan, I like your thinking.
<Bart[m]> Imagine how performant 1998s Perl would be on modern day hardware!
* Bart[m] uploaded an image: 20190728_203713.jpg (2292KB) < https://52k.de/_matrix/media/v1/download/t2bot.io/68fa3a06bb0fe6940bdda25fdef6bcd09805b36c >
<Bart[m]> @HebaruSan (IRC)#0000
<Bart[m]> Still have it within reach after all these years 😂
VITAS[m] has quit [Quit: Idle timeout reached: 10800s]
AllisTauri[m] has quit [Quit: Idle timeout reached: 10800s]
VITAS[m] has joined #spacedock
<VITAS[m]> iframes and flat file DB?
<VITAS[m]> lets go gold with netscape gold!
<VITAS[m]> or just mosaic
<VITAS[m]> HebaruSan (IRC): AllisTauri wants to talk to you as well as nearly everybody else.
<VITAS[m]> (to tell them what happend so far in github)
<HebaruSan> It should all be spelled out in the pull requests
<VITAS[m]> AllisTauri: spacedock runs but misses some important things and has bugs in others
<VITAS[m]> nothing new
<HebaruSan> Just search the recently merged ones
<VITAS[m]> k
<VITAS[m]> i hope that does sadisfy them
<Bart[m]> sadisfy, sadistic satisfaction xD
<HebaruSan> Pull requests are great for that. Describe the change in depth, have any needed discussion, and only merge it once it looks good.
<VITAS[m]> yes
<VITAS[m]> its hot and late
<VITAS[m]> btw hows battletech?
<HebaruSan> Heh, finally figured out how to faceroll with 3 AC/20s
<VITAS[m]> i figured that out with my feet and a loose cobblestone ages ago
<HebaruSan> Face planting is slightly different :)
<VITAS[m]> im no farmer so i dont know
<VITAS[m]> wheres darklight?
<Bart[m]> Don't think he ever joined the server.
<VITAS[m]> i should rename it "warframe"
<VITAS[m]> https://www.youtube.com/user/MDWeathers/videos <-cool aprils fools
<Bart[m]> And to know I got into trouble for pulling jokes during lectures 😦
<VITAS[m]> i didnt
<VITAS[m]> because they never found out it was me
<VITAS[m]> :D
<Bart[m]> Apparently you're not allowed to recreate the original use case of a webcam during a lecture on LabVIEW.
<Bart[m]> You're apparently not allowed to prepare coffee during a lecture.
<Bart[m]> "It's unprofessional"
<VITAS[m]> you arent also aloowed to take over the projector, electric control of the boards or microphone
<VITAS[m]> :D
<Bart[m]> The smart boards never worked, lol
<Bart[m]> I never used a microphone, so there was no risk of that getting hijacked
<VITAS[m]> but its fun to give a prof a high pitched voice, move the board up while hes trying to draw a line or add stuff to his presentation by applying realtime overlays
<VITAS[m]> they wherent smart they where just 2,5 ghz simple remote controlled up and down whiteboards
<Bart[m]> Too modern man 😛
<VITAS[m]> not all used them
<Bart[m]> We just had a set of black and white boards on rails and a couple of moving ones.
<VITAS[m]> some simply tried to be the fastest person to crank trough a roll of overhead foil
<Bart[m]> (moving as on wheels)
<Bart[m]> Heheh
<Bart[m]> I did do something fun with those actually!
<VITAS[m]> ours had a remote that was fixed at the wall but worked wireless because who knows
<Bart[m]> Took some practice, but I got good at combining digitally projected slides with overhead ones.
<Bart[m]> So I'd write on an overhead transparency to mark things on the digital projection
<VITAS[m]> when did you start uni?
<Bart[m]> Teaching? 2013
<VITAS[m]> no learning
<Bart[m]> 2009
<VITAS[m]> 2003
<VITAS[m]> so not that far apart
<Bart[m]> And to know I had to do a double year in highschool >_>
<VITAS[m]> i did 3
<Bart[m]> Could have started in 2008 if it wasn't for those pesky highschool teachers who don't know shit.
<VITAS[m]> and i worked before attending uni
<VITAS[m]> because .com
<VITAS[m]> :)
<Bart[m]> "Bart's never going to be able to finish highschool, he should be sent to special ed!"
<Bart[m]> Engineering PhD, ooh yah, fuck them xD
<VITAS[m]> heared the same from time to time
<VITAS[m]> i remember my german teacher
<Bart[m]> I worked while attending uni, heh.
<VITAS[m]> he was like "youre in thwe wrong school you should do something practical with your life. Like carpentry or bricklayer"
<VITAS[m]> i replied "youre wrong in this school ...."
<VITAS[m]> and there i was on the hallway "thinking about what i just said"
<VITAS[m]> :P
<VITAS[m]> its normal to work while study i think
<Bart[m]> I was never sent to the hallway for those remarks, surprisingly (and I did make them).
<Bart[m]> Here it's quite uncommon.
<Bart[m]> I worked in construction during weekends and vacations.
<VITAS[m]> but my contact with "earning mony" after scholl was: you dont need any background heres tons of money.
<VITAS[m]> so i did that till it wasnt true anymore
<Bart[m]> I did get sent to the hallway multiple times for getting into fights >_>
<VITAS[m]> i (re)did the it of a small company.
<VITAS[m]> while in uni
<Bart[m]> Apparently you're not allowed to leave facial imprints of folks who steal your wallet in school lockers.
<Bart[m]> Apparently you're not allowed to leave facial imprints of folks who steal your wallet on school lockers.
<VITAS[m]> i somteimes think "should i visit my old teachers/ schools/..."?
<VITAS[m]> but they arent that important to me
<Bart[m]> There's one guy from the whole bunch I miss, and he's retired.
<VITAS[m]> i never even went to reunions
<Bart[m]> We don't have any, heh
<VITAS[m]> i changed school pretty often
<VITAS[m]> so i never was that attached to a class
<Bart[m]> The only class mates I liked I still go for drinks with every few weeks.
<VITAS[m]> ive some from my apprenticeship
<VITAS[m]> but were living in the same city/area
<VITAS[m]> so thats easy
<VITAS[m]> theres noone in my life apart from my family who knows me longer than 10 years
<VITAS[m]> and it was always like that
* VITAS[m] is known as "Bedman"
<Bart[m]> lol