last day (79 days later) » 

8:47 PM
Hello, World!
 
I GTG for like 10 minutes
 
First things first: API design
Bare-bones endpoints: /post/<id> (GET), /search/<query> (GET), /post (POST), /user/<id> (GET), /register (POST)
 
@Mego You just used /post twice
 
@Pavel An endpoint can serve as both a POST and a GET endpoint
POST /post would create a new post. /post/<id> (GET) would return a post's content.
 
Alright. I've never actually built an API before.
Or a databse
Or any kind of website with intresting server-side stuff going on really
@Mego Do we need a /register at the start? We could use SE accounts for a while.
 
8:56 PM
@Pavel Good point. We would definitely need /login (POST)
 
Yeah.
@Mego /post/answer/<id> GET and /post/answer POST
 
should the answers and questions be mixed into a single database/thing?
 
@dzaima Should be two different tables
 
Do we need to come up with the technology stack to use now or later?
 
Later
API first
 
9:07 PM
/post/vote and /post/answer/vote (POST)
@Mego Should we make a hackmd or something?
 
@Pavel Why? That's the purpose of this room
 
Keep thing more organized, I guess
@Mego I think that's basically everything needed for a bare-bones API.
 
So login will be via OAuth2
 
At least initially, yes.
 
For /post/answer/<id>, we would want two fields: code and commentary. Having the two separated would make auto-scoring much easier.
 
9:20 PM
Ooh, good idea. Also a field for language.
 
I can start working on something in an hour or so. I vote Linux/Flask/MySQL/Python for the software stack
 
I vote Linux/ASP.NET Core/MySQL/C#
Although python is good too.
 
I've never worked with ASP.NET Core, but it seems to be an unnecessarily unwieldy behemoth
 
Perhaps. Python is slow though.
I don't suppose it matters too much.
Lets go with Python.
@Mego what are your thoughts on Azure?
I know it has a Flask template
 
10:19 PM
@Pavel Never used it
I don't see why we would need it if we're using Thomas's servers
 
Oh, right. I forgot about that.
If PPCGv2 actually takes off we'd want to find something more reliable though.
 
 
1 hour later…
11:27 PM
Thomas is plenty reliable
He runs Smokey (well, one instance, anyway)
 
@Mego Intresting, didn't know that. Have you started by any chance, and if so could I have a GitHub link?
 
@Pavel Not yet, and N/A
I just got back from rescuing my wife's car from a mechanic and having dinner
 
Oof. That sounds unpleasant.
Having to have a mechanic look at your car, that is. Dinner sounds lovely.
 
11:58 PM
I'll move it to an org if enough people join the project
 

  last day (79 days later) »