« first day (3 days earlier)      last day (631 days later) » 
00:00 - 06:0006:00 - 00:00

06:04
Are we doing badges and all?
Anonymous
At some point, but it's not even remotely a priority yet
@Downgoat @Mego hold on why are there gems
Anonymous
@Pavel For SASS (CSS thingy that makes CSS gooder)
There really isn't a python package?
there is a python package
it just depends on the SASS binary which the gem provides
Anonymous
06:14
Yeah, SASS is written in Ruby
Can it be done so that it works without gem installed?
;-; dependencies on gem/npm are making me sad
We probably want to squash the commit messages so they are not as confuse
@Pavel I made setup.sh so it should be a breeze to install them
@Downgoat Welp time to install gem
O___o you don't have ruby install
Anonymous
ISP says internet is going down in about 30 minutes... Goodbye world
06:21
If you can find a replacement that is not 5+ years old/unmaintained we can totally switch
@Mego no cellular? :(
Anonymous
@Downgoat Limited data plan that my wife uses a lot due to being on the road a lot for her job, so not an option
Anonymous
Getting more data would require sacrificing a newborn, and my wife and I do not have kids and are not planning to have any, so that's not an option either
Anonymous
08:18
I think my ISP vastly overstated the effects of the maintenance
Anonymous
Apparently "severe disruptions to service" means "your DL speed will be about 5% slower"
Here is a log of #esoteric from yesterday. ais523 and some others were talking about what they might like to see in a golf site. Probably will be interesting to you guys. tunes.org/~nef/logs/esoteric/17.11.07
might have to put view-source: in front of that link if you are using firefox
Also this pastebin that they linked pastebin.com/V4sHNvy6
Anonymous
08:33
@Potato44 Those are both interesting reads. I'm kind of in the same boat as ais - I think the SE model is fundamentally broken for our site. And I agree with a lot of his suggestions for features for a "proper" competitive programming site.
09:17
Are there any plans to have (the option for) answers to be hidden like there are on anagolf?
Anonymous
2 days ago, by Mego
I'm imagining users being able to post their own solutions in spoilers, and challenge authors being able to enforce spoilers on all solutions
Anonymous
It's entirely possible to have solutions be auto-hidden/spoilered for a given period of time, but then you'd have to deal with the fact that challenges will have an expiration date, which isn't ideal
Anonymous
Re: standard boilerplate code - I think one way to do it would be to establish a library of acceptable boilerplate for each language, and let users select one when writing answers. The library entries would require a certain number of approval votes to be used. I'm not sure if that's the best way, though.
14:19
@Mego sass is nice but you need to be careful about too much nesting
Anonymous
@Poke That's the goat's problem :P
otherwise you'll end up with some nasty long selectors
fair enough
Anonymous
@Poke Like SE's? body > header > div > div.-actions > a > div.-badges > span:nth-child(2)
yeah... i think the guideline I've gone with in the past is to try to have no deeper than 3
Anonymous
Of course, that's an element in the new and deproved topbar, so of course all rational design choices were thrown out the window
Anonymous
14:22
One goal for this project that I stated earlier is to have a top bar that doesn't suck
haha
Anonymous
And that means actually listening to the experts at UI&UX
what browsers are we aiming to support
latest minus one version or something?
basically just don't want to support anything earlier than ie 10
8-)
Anonymous
Recent, modern, sane browsers
Anonymous
With a fully-featured API for people that want to hack their own clients together
14:26
might want version numbers in your requirements.txt
Anonymous
I haven't gone through and determined minimum versions yet. I suppose I could just put >=(current version)
Anonymous
I'm not as familiar with Ruby gems and npm - are there similar standardized files like requirements.txt for each?
for ruby i know you have "Gemfile"
gem 'foo', '1.0.0'
gem 'bar', '>=1.0'
iirc for npm there's a package.json file or something
Anonymous
Excellent
Anonymous
14:38
@Downgoat Can you set up Gemfile and package.json for the project?
15:07
@Mego I actually found this library recently: polyfill.io/v2/docs
It means you basically don't have to care about browser support
and you don't have to worry about finding your own polyfills
Anonymous
A thought: in the matter of spam, I think it would be best to (somewhat) follow in SE's lead. Zero-tolerance: if you spam, your entire existence on PPCG v2 gets erased, and your IP gets automatically blocked. Posting nonsense or otherwise inappropriate stuff gets you a suspension, escalating to a ban and possibly an IP block, depending on how egregious and repetitive the behavior is.
Anonymous
@NathanMerrill I'll leave that to the goat also :P He has more experience than I do in frontend work
@Mego how do you plan on handling rules?
benevolent dictatorship? Make your own meta?
Anonymous
@NathanMerrill Benevolent penguin dictatorship on the important things (administration, spam, content policy, etc.), meta for the rest.
15:36
@NathanMerrill babel allows you to specify the minimum browser version you want to support and it'll auto polyfill both syntax and functions
@Mego what if account gets hacked and then hacked account post spam
@Downgoat Contact Mego (on discord?) and appeal your ban.
Anonymous
@Downgoat Then they have bigger problems because that means their Google and/or SE account also got hacked
Anonymous
But yeah, manual appeals can be a thing
16:05
@Downgoat right, but then you have a bunch of code you're sending to everybody's browser (from your own servers) that most won't need
@Mego I'm using the url_for('node_modules', filename='.bin/cleancss') but that gives this error:
RuntimeError: Attempted to generate a URL without the application context being pushed. This has to be executed when application context is available.
which I assume is being thrown because the server hasn't started yet
is there an alternate function?
@Mego Well, imagine if they said "We're doing maintenance, most likely your internet will be slightly slower but it's basically going to be fine. There's a small chance that you won't have internet, but you shouldn't worry about that.". Now lets say they do fuck something up and your internet goes down. Now you're just dissappointed. However, with what they did say, if the internet fails its no big deal, you knew it was coming, and since everything went smoothly it was a pleasant surprise.
Anonymous
@Downgoat I don't think so. Is there not a way to do that post-startup?
20:16
@Christopher2EZ4RTZ - You want both of those deleted? They will still appear in history, but I can remove them if you want.
@JohnP yeah that would be great
@Christopher2EZ4RTZ - Done. :)
@JohnP thanks for the help
No problem.
@Mego yeah I will make sure not to do that again. I am planning on claiming a card and getting it done ASAP
20:56
@Mego what version of VS is the project set up for?
vs?
visual studio
if i had to guess i'd say folks are using pycharm
not visual studio
@Christopher2EZ4RTZ did I not tell you that there is no dot net involved
@Pavel but there is visual studio projec wait.
21:01
No..?
I suppose you could use vs for python but that sounds awful.
my bad
vs was dumb
loaded sublime
can I please get some sort of repo access. I can't work on this if i can't even claim a card so we don't get dupe work :|
if you're going to use sublime make sure you install some plugin to check pep8 style guidelines
@Christopher2EZ4RTZ don't worry about dupe work not enough people are working on it at once for that to be an issue. Just say what you're doing here.
@Pavel is the post model done? (first card)
21:27
@Christopher2EZ4RTZ no
Actually, might ahve been done earlier
One sec
@Pavel what exactly do you mean by post model?
{% extends "layouts/page.html" %}

{% block title %}{{ post_data['title'] }}{% endblock %}
{% block context %}
<p>{{ post_data['title'] }}</p>
<p>{{ post_data['content'] }}</p>
<p>{{ post_data['user_id'] }}</p>
<p>{{ post_data['post_time'] }}</p>\
{% endblock %}
@Pavel like that thingy?
@Christopher2EZ4RTZ That's an HTML template
@Pavel so a model for the sql?
@Christopher2EZ4RTZ No it's an HTML template. Data gets filled in and sent to the user.
@Pavel nooo i meant the model that needs to be done :P
like what exactly is the model for?
21:32
@Christopher2EZ4RTZ oh. I have no idea, ask @Downgoat
@Downgoat i summon le goat
(or do you use gaot to summon him... need to read docs)
21:46
@Mego (Cc @Pavel) so i want to help out but i ran into a problem. I cannot for the life of me find my SQL docs on setting up the database endpoints :| do you know where those are?
@Christopher2EZ4RTZ What are you even doing all the stuff needed to set up the database is in PPCG.sql
 
1 hour later…
23:18
@Christopher2EZ4RTZ hello
@Downgoat what model do u mean
in the card thingy on github
@Christopher2EZ4RTZ Basically Question/Answer (maybe Post) classes. This is so we can modify database schema without breaking all the code
ok
brb chips are burning
k back
@Downgoat Oh, you mean like python objects for posts, that can be pickled and blob'd into SQL?
I mean you could do that but basically to encapsulate the behavior of the controllers and all. I can just do like posts.create_post(post_obj) and it will figure out how to put that into DB
basically M in MVC
23:27
@Downgoat I replied to your comment on my PR btw. Basically, no, they have to be seperate, because Python.
@Downgoat Ah, I see.
oh
that makes sense kinda sorta
how to do super-method in python?
super.method()
@Downgoat ^
@Pavel WAIT I WAS RIGHT???
23:37
@Christopher2EZ4RTZ You were not and I got confused
@Christopher2EZ4RTZ where do super cone from
@Downgoat super(BaseClass, self).method()
i was close lol
i was totally bs'ing it
>>> class foo:
...     def f(self):print('hi')
...
>>> class bar(foo):
...     def f(self):
...             super(bar, self).f()
...             print('bye')
...
>>> bar().f()
hi
bye
>>>
@Downgoat ^
super is a global method that gets the super class instance of a given class and instance.
@Downgoat In the example above, it would also have been possible to just reference the super class directly like this: foo.f(self)
@Christopher2EZ4RTZ @Downgoat This was almost correct, apparantly the new-fangled python 3 way is super().method()
23:47
@Pavel HAHAa Speech 100
00:00 - 06:0006:00 - 00:00

« first day (3 days earlier)      last day (631 days later) »