Integrating S3 (static + media vs media)
This isn't specific to Django or S3 but conceptually it should be the same. I'm using Flask \+ Digital Ocean Spaces \(API is compatible with S3\) but I figured that this subreddit would have a larger reach, especially since I've found way more S3\+Django tutorials than Spaces\+Flask/S3\+Flask. I'm just looking for a conceptual understanding on how I should integrate S3.
My application is running on DO behind Nginx. Nginx is configured to serve my static files. I wanted to move my user\-uploaded media files onto S3.
I've noticed that most tutorials explain how to serve your static assets \(JS/CSS\) and media files from S3 using something like django\-storages \(flask\-s3 is the flask counterpart\) \+ boto3.
1. Would it be unidiomatic to configure S3 to serve only media files? I just wanted to make sure because I've just deployed my site a week ago and this is all new to me. This makes sense to me but I didn't want to go against the grain for no reason.
2. The only advantage for serving static assets \(JS/CSS\) from S3 is to take advantage of a CDN \(e.g. Cloudfront\) so that your reverse proxy \(e.g. Nginx\) can focus only on load balancing, right? I always had the idea that S3 was primarily for media files to save space on your VM. I never thought people used it for static assets too.
EDIT:
**TLDR: Static assets: Nginx or S3?**
/r/django
https://redd.it/8emhrq
This isn't specific to Django or S3 but conceptually it should be the same. I'm using Flask \+ Digital Ocean Spaces \(API is compatible with S3\) but I figured that this subreddit would have a larger reach, especially since I've found way more S3\+Django tutorials than Spaces\+Flask/S3\+Flask. I'm just looking for a conceptual understanding on how I should integrate S3.
My application is running on DO behind Nginx. Nginx is configured to serve my static files. I wanted to move my user\-uploaded media files onto S3.
I've noticed that most tutorials explain how to serve your static assets \(JS/CSS\) and media files from S3 using something like django\-storages \(flask\-s3 is the flask counterpart\) \+ boto3.
1. Would it be unidiomatic to configure S3 to serve only media files? I just wanted to make sure because I've just deployed my site a week ago and this is all new to me. This makes sense to me but I didn't want to go against the grain for no reason.
2. The only advantage for serving static assets \(JS/CSS\) from S3 is to take advantage of a CDN \(e.g. Cloudfront\) so that your reverse proxy \(e.g. Nginx\) can focus only on load balancing, right? I always had the idea that S3 was primarily for media files to save space on your VM. I never thought people used it for static assets too.
EDIT:
**TLDR: Static assets: Nginx or S3?**
/r/django
https://redd.it/8emhrq
reddit
Integrating S3 (static + media vs media) • r/django
This isn't specific to Django or S3 but conceptually it should be the same. I'm using Flask \+ Digital Ocean Spaces \(API is compatible with S3\)...
Google PageSpeed is saying my server response time is too long (340ms). How can I improve it ?
I'm using PythonAnywhere for hosting.
I've installed django-debug-toolbar but don't really know how to use it. It's reporting 76 queries in 42ms for SQL, which doesn't seem to be causing my issue.
This is my PageSpeed link : https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.tavolia.fr%2F
/r/djangolearning
https://redd.it/8emq9z
I'm using PythonAnywhere for hosting.
I've installed django-debug-toolbar but don't really know how to use it. It's reporting 76 queries in 42ms for SQL, which doesn't seem to be causing my issue.
This is my PageSpeed link : https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.tavolia.fr%2F
/r/djangolearning
https://redd.it/8emq9z
Pipenv: A Guide to the New Python Packaging Tool
https://realpython.com/pipenv-guide/
/r/Python
https://redd.it/8elkqe
https://realpython.com/pipenv-guide/
/r/Python
https://redd.it/8elkqe
Realpython
Pipenv: A Guide to the Python Packaging Tool – Real Python
Pipenv is a packaging tool for Python that solves some common problems associated with the typical workflow using pip, virtualenv, and the good old requirements.txt. This guide goes over what problems Pipenv solves and how to manage your Python dependencies…
What is up with this return redirect line?
main is just my homepage and / is the url. For some reason, I can't get signUp to return back to the homepage after finishing.
return redirect(function) goes return redirect(main) (since thats the name of home being rendered.
I can also confirm 'here' and 'Registered' get printed. Also, in my terminal, i get
127.0.0.1 - - [23/Apr/2018 23:13:51] "GET / HTTP/1.1" 200 -
Which means it SHOULD be going to home, because I get the same line when I just click the home link on the page. It redirects too. What happens with the flask is it just stays on the login page. Nothing else, no errors thrown. Just sits there.
@app.route("/")
def main():
return render_template('Senty.html')
@app.route('/signUp',methods=['POST','GET'])
def signUp():
# still need to create signup class and transfer below code to new file
conn = mysql.connect()
cur = conn.cursor()
try:
_name = request.form['inputName']
_email = request.form['inputEmail']
_password = request.form['inputPassword']
# validate the received values
if _name and _email and _password:
cur.callproc('sp_createUser',(_name,_email,_password,))
print ("Registered")
data = cur.fetchall()
conn.commit()
json.dumps({'message':'User created successfully !'})
print('here')
return redirect(url_for('main'))
#else:
#return json.dumps({'html':'<span>Enter the required fields</span>'})
#except Exception as e:
#return json.dumps({'error':str(e)})
finally:
cur.close()
conn.close()
@app.route('/showSignIn')
def showSignIn():
return(render_template('login.html'))
I'm not sure where to go. I feel like I've tried everything.
/r/flask
https://redd.it/8ei5hq
main is just my homepage and / is the url. For some reason, I can't get signUp to return back to the homepage after finishing.
return redirect(function) goes return redirect(main) (since thats the name of home being rendered.
I can also confirm 'here' and 'Registered' get printed. Also, in my terminal, i get
127.0.0.1 - - [23/Apr/2018 23:13:51] "GET / HTTP/1.1" 200 -
Which means it SHOULD be going to home, because I get the same line when I just click the home link on the page. It redirects too. What happens with the flask is it just stays on the login page. Nothing else, no errors thrown. Just sits there.
@app.route("/")
def main():
return render_template('Senty.html')
@app.route('/signUp',methods=['POST','GET'])
def signUp():
# still need to create signup class and transfer below code to new file
conn = mysql.connect()
cur = conn.cursor()
try:
_name = request.form['inputName']
_email = request.form['inputEmail']
_password = request.form['inputPassword']
# validate the received values
if _name and _email and _password:
cur.callproc('sp_createUser',(_name,_email,_password,))
print ("Registered")
data = cur.fetchall()
conn.commit()
json.dumps({'message':'User created successfully !'})
print('here')
return redirect(url_for('main'))
#else:
#return json.dumps({'html':'<span>Enter the required fields</span>'})
#except Exception as e:
#return json.dumps({'error':str(e)})
finally:
cur.close()
conn.close()
@app.route('/showSignIn')
def showSignIn():
return(render_template('login.html'))
I'm not sure where to go. I feel like I've tried everything.
/r/flask
https://redd.it/8ei5hq
reddit
What is up with this return redirect line? • r/flask
main is just my homepage and / is the url. For some reason, I can't get signUp to return back to the homepage after finishing. return...
Looking for guidance on creating models
Hi, I have a python script for teachers with some dummy data but now I would like to serve it on the web for others to use.
I ultimately want to create a table where the user can create their own schedule with these input fields:
* the table's name should be the teacher's first and last name
* the x\-axis are the days of the week \(Mon \- Fri\)
* the y\-axis are the periods from \(1\-8\)
I'm having immense trouble figuring out how to create the models in flask because some of data are related to each other so I feel like I should be using ForeignKeys and ManyToMany.
Many thanks to everyone for their guidance.
/r/flask
https://redd.it/8eppzj
Hi, I have a python script for teachers with some dummy data but now I would like to serve it on the web for others to use.
I ultimately want to create a table where the user can create their own schedule with these input fields:
* the table's name should be the teacher's first and last name
* the x\-axis are the days of the week \(Mon \- Fri\)
* the y\-axis are the periods from \(1\-8\)
I'm having immense trouble figuring out how to create the models in flask because some of data are related to each other so I feel like I should be using ForeignKeys and ManyToMany.
Many thanks to everyone for their guidance.
/r/flask
https://redd.it/8eppzj
reddit
r/flask - Looking for guidance on creating models
1 votes and 0 so far on reddit
Using Django Rest Framework, how can I give a serializer field a name that is not a valid Python variable name?
I'm trying to serialize the following type of inputs:
{
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
}
But 1,2,... 10 are not valid Python variable names. Ideally I would have
from rest_framework import serializers
class MySerializer(serializers.Serializer):
1 = serializers.ListField(child=serializers.CharField)
2 = serializers.ListField(child=serializers.CharField)
3 = serializers.ListField(child=serializers.CharField)
4 = serializers.ListField(child=serializers.CharField)
5 = serializers.ListField(child=serializers.CharField)
6 = serializers.ListField(child=serializers.CharField)
7 = serializers.ListField(child=serializers.CharField)
8 = serializers.ListField(child=serializers.CharField)
9 = serializers.ListField(child=serializers.CharField)
10 = serializers.ListField(child=serializers.CharField)
I appreciate any help you can offer!
/r/django
https://redd.it/8enwrd
I'm trying to serialize the following type of inputs:
{
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
}
But 1,2,... 10 are not valid Python variable names. Ideally I would have
from rest_framework import serializers
class MySerializer(serializers.Serializer):
1 = serializers.ListField(child=serializers.CharField)
2 = serializers.ListField(child=serializers.CharField)
3 = serializers.ListField(child=serializers.CharField)
4 = serializers.ListField(child=serializers.CharField)
5 = serializers.ListField(child=serializers.CharField)
6 = serializers.ListField(child=serializers.CharField)
7 = serializers.ListField(child=serializers.CharField)
8 = serializers.ListField(child=serializers.CharField)
9 = serializers.ListField(child=serializers.CharField)
10 = serializers.ListField(child=serializers.CharField)
I appreciate any help you can offer!
/r/django
https://redd.it/8enwrd
reddit
r/django - Using Django Rest Framework, how can I give a serializer field a name that is not a valid Python variable name?
3 votes and 9 so far on reddit
PyTorch 0.4.0 released (new NumPy-like API, Windows support, Tensor-Variable merge...)
https://www.reddit.com/r/MachineLearning/comments/8eo154/n_pytorch_v04_windows_support_zerodimensional/
/r/Python
https://redd.it/8eqgad
https://www.reddit.com/r/MachineLearning/comments/8eo154/n_pytorch_v04_windows_support_zerodimensional/
/r/Python
https://redd.it/8eqgad
reddit
r/MachineLearning - [N] PyTorch v0.4: Windows support, zero-dimensional Tensors, Tensor-Variable merge, CuDNN 7.1 and more
246 votes and 77 comments so far on Reddit
Open <p> tags created by django
Has anyone experienced a situation where django has created open \<p\> tags.
I'm passing in the following template tag and it's putting a \<p\> tag in front of the data, but no \</p\> at the end.
{{ article.body|linebreaks|truncatechars:110 }}
/r/django
https://redd.it/8eqfw9
Has anyone experienced a situation where django has created open \<p\> tags.
I'm passing in the following template tag and it's putting a \<p\> tag in front of the data, but no \</p\> at the end.
{{ article.body|linebreaks|truncatechars:110 }}
/r/django
https://redd.it/8eqfw9
reddit
r/django - Open tags created by django
4 votes and 8 so far on reddit
Unexpected behavior of time.sleep() -- seems to add 30%-50% to shorter intervals
Exploring the use of [time.sleep()](https://docs.python.org/3.6/library/time.html#time.sleep) for sub-millisecond intervals, Mac OSX, Python 3.6. I was not surprised when the interval came out longer than requested, figuring there would be some overhead and setup time, but I was surprised to find that the excess was not a flat per-call overhead, but a percentage of the requested interval -- a high percentage that declines gradually and nearly disappears by 100ms. I wrote this little function to explore it:
import time
microsex = 1000 # initialize user input
million = 1000000.0 # convenient divisor
lupz = 50 # how many times to exercise sleep()
while True:
try:
s = input( "how long in microsex? " )
if s : # new value given
microsex = int(s)
except KeyboardInterrupt as K:
break # out of the loop on ^C
except EOFError as F :
break # also on ^D/^Z
except Exception as E:
print('tsk! ',str(E)) # error on int()?
continue # asking for input
float_delay = microsex/million # factored out of loop
start = time.perf_counter()
for j in range(lupz):
time.sleep(float_delay)
stop = time.perf_counter()
actual_microsex = int(million * (stop-start)/lupz)
diff = actual_microsex - microsex
diff_pct = int(100 * (actual_microsex/microsex))
print(
'actual {:d}, diff {:d}, %{:d}'.format(actual_microsex, diff, diff_pct)
)
print() # a newline at end of execution on ^C or ^D
And this is the kind of output I get,
how long in microsex? 250
actual 357, diff 107, %142
how long in microsex? 500
actual 702, diff 202, %140
how long in microsex? 1000
actual 1332, diff 332, %133
how long in microsex? 4000
actual 4988, diff 988, %124
how long in microsex? 100000
actual 102438, diff 2438, %102
Does it act this way in other environments? What do you suppose could account for it?
/r/Python
https://redd.it/8eqwsr
Exploring the use of [time.sleep()](https://docs.python.org/3.6/library/time.html#time.sleep) for sub-millisecond intervals, Mac OSX, Python 3.6. I was not surprised when the interval came out longer than requested, figuring there would be some overhead and setup time, but I was surprised to find that the excess was not a flat per-call overhead, but a percentage of the requested interval -- a high percentage that declines gradually and nearly disappears by 100ms. I wrote this little function to explore it:
import time
microsex = 1000 # initialize user input
million = 1000000.0 # convenient divisor
lupz = 50 # how many times to exercise sleep()
while True:
try:
s = input( "how long in microsex? " )
if s : # new value given
microsex = int(s)
except KeyboardInterrupt as K:
break # out of the loop on ^C
except EOFError as F :
break # also on ^D/^Z
except Exception as E:
print('tsk! ',str(E)) # error on int()?
continue # asking for input
float_delay = microsex/million # factored out of loop
start = time.perf_counter()
for j in range(lupz):
time.sleep(float_delay)
stop = time.perf_counter()
actual_microsex = int(million * (stop-start)/lupz)
diff = actual_microsex - microsex
diff_pct = int(100 * (actual_microsex/microsex))
print(
'actual {:d}, diff {:d}, %{:d}'.format(actual_microsex, diff, diff_pct)
)
print() # a newline at end of execution on ^C or ^D
And this is the kind of output I get,
how long in microsex? 250
actual 357, diff 107, %142
how long in microsex? 500
actual 702, diff 202, %140
how long in microsex? 1000
actual 1332, diff 332, %133
how long in microsex? 4000
actual 4988, diff 988, %124
how long in microsex? 100000
actual 102438, diff 2438, %102
Does it act this way in other environments? What do you suppose could account for it?
/r/Python
https://redd.it/8eqwsr
Unofficial Python Style Guide - A Python style guide that doesn't make you think.
https://mitchel.me/2018/mitchs-unofficial-python-style-guide/
/r/Python
https://redd.it/8eqegg
https://mitchel.me/2018/mitchs-unofficial-python-style-guide/
/r/Python
https://redd.it/8eqegg
Mitchel Cabuloy
Mitch's Unofficial Python Style Guide
A Python style guide that doesn't make you think
Django totourials - that is not yet another blog ?
Gone through some books and totourials for django, and it seems the hello world of django is a .... blog and often a blog that doesnt really look nice visually.
I understand why and that a blog is going around all mechanisms, but am really tired of blogs.
Anyone knows of totourials out there that implements something different plus having some focus on uptodate design too ? Even mixing things abit with js etc.
/r/django
https://redd.it/8es49x
Gone through some books and totourials for django, and it seems the hello world of django is a .... blog and often a blog that doesnt really look nice visually.
I understand why and that a blog is going around all mechanisms, but am really tired of blogs.
Anyone knows of totourials out there that implements something different plus having some focus on uptodate design too ? Even mixing things abit with js etc.
/r/django
https://redd.it/8es49x
reddit
Django totourials - that is not yet another blog ? • r/django
Gone through some books and totourials for django, and it seems the hello world of django is a .... blog and often a blog that doesnt really look...
PyGotham 2018 Call for Proposals
https://www.papercall.io/pygotham-2018
/r/flask
https://redd.it/8edn34
https://www.papercall.io/pygotham-2018
/r/flask
https://redd.it/8edn34
www.papercall.io
PaperCall.io - PyGotham 2018
PyGotham 2018 is taking place from October 5-6 at the Hotel Pennsylvania in New York City. It will feature three tracks of talks on Friday, October 5th and Saturday, October 6th.
## Background
PyGotham is a New York City based, eclectic, Py-centric conference…
## Background
PyGotham is a New York City based, eclectic, Py-centric conference…
Notes on structured concurrency, or: Go statement considered harmful [or: why I'm trying to replace asyncio]
https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
/r/Python
https://redd.it/8esu02
https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
/r/Python
https://redd.it/8esu02
reddit
Notes on structured concurrency, or: Go statement... • r/Python
14 points and 0 comments so far on reddit
Swiftapply – Automatically efficient pandas apply operations
https://www.kdnuggets.com/2018/04/swiftapply-automatically-efficient-pandas-apply-operations.html
/r/Python
https://redd.it/8esk8f
https://www.kdnuggets.com/2018/04/swiftapply-automatically-efficient-pandas-apply-operations.html
/r/Python
https://redd.it/8esk8f
reddit
Swiftapply – Automatically efficient pandas apply... • r/Python
8 points and 0 comments so far on reddit
CharField object does not support indexing
The runserver is saying that I can't index a CharField object but I need to cut one portion of a CharField object stored in one variable with the full text to another variable that will only have the first 50 letters, does anyone know how I can do that?
/r/djangolearning
https://redd.it/8esyrq
The runserver is saying that I can't index a CharField object but I need to cut one portion of a CharField object stored in one variable with the full text to another variable that will only have the first 50 letters, does anyone know how I can do that?
/r/djangolearning
https://redd.it/8esyrq
reddit
CharField object does not support indexing • r/djangolearning
The runserver is saying that I can't index a CharField object but I need to cut one portion of a CharField object stored in one variable with the...
Online Booking Site
I am new in programming and i have a long-term project for an online booking site for some apartments. Which tools/framework do you suggest me to use?
I am thinking to make it with Django.
/r/django
https://redd.it/8evkuu
I am new in programming and i have a long-term project for an online booking site for some apartments. Which tools/framework do you suggest me to use?
I am thinking to make it with Django.
/r/django
https://redd.it/8evkuu
reddit
Online Booking Site • r/django
I am new in programming and i have a long-term project for an online booking site for some apartments. Which tools/framework do you suggest me to...
IPython magic command to format code using `black` the uncompromising python code formatter.
https://github.com/csurfer/blackcellmagic
/r/IPython
https://redd.it/8ev4rk
https://github.com/csurfer/blackcellmagic
/r/IPython
https://redd.it/8ev4rk
GitHub
GitHub - csurfer/blackcellmagic: IPython magic command to format python code in cell using black.
IPython magic command to format python code in cell using black. - GitHub - csurfer/blackcellmagic: IPython magic command to format python code in cell using black.
Is there a recommended way to create/implement honeypot links?
I wrote a relatively simple app for an organization a while ago, and I've noticed that in the logs we're getting a lot of recursive requests from the same IP quite often from some paged which contain links to specific information - likely some sort of scraper or web crawler. As the organization is using a pretty basic shared hosting solution I figure it'd probably be prudent to block these IPs to free up resources, even though it doesn't appear to be causing problems at the moment.
For now I'm basically just thinking of having a hidden honeypot link that when followed will block the client's IP for 24 hours - nothing overly sophisticated. The libraries I've found using google all seem to be pretty outdated, so although this is probably simple to implement I thought I'd ask if there was any libraries/resources/best-practices for this that are worth knowing about before half-assing a solution myself.
/r/flask
https://redd.it/8evzyl
I wrote a relatively simple app for an organization a while ago, and I've noticed that in the logs we're getting a lot of recursive requests from the same IP quite often from some paged which contain links to specific information - likely some sort of scraper or web crawler. As the organization is using a pretty basic shared hosting solution I figure it'd probably be prudent to block these IPs to free up resources, even though it doesn't appear to be causing problems at the moment.
For now I'm basically just thinking of having a hidden honeypot link that when followed will block the client's IP for 24 hours - nothing overly sophisticated. The libraries I've found using google all seem to be pretty outdated, so although this is probably simple to implement I thought I'd ask if there was any libraries/resources/best-practices for this that are worth knowing about before half-assing a solution myself.
/r/flask
https://redd.it/8evzyl
reddit
Is there a recommended way to create/implement honeypot... • r/flask
I wrote a relatively simple app for an organization a while ago, and I've noticed that in the logs we're getting a lot of recursive requests from...
Jupyter/IPython: how to get results in traditional mathematical notation?
https://stackoverflow.com/questions/50030020/jupyter-ipython-how-to-get-results-in-traditional-mathematical-notation
/r/IPython
https://redd.it/8exlos
https://stackoverflow.com/questions/50030020/jupyter-ipython-how-to-get-results-in-traditional-mathematical-notation
/r/IPython
https://redd.it/8exlos
Stackoverflow
Jupyter/IPython: how to get results in traditional mathematical notation?
I have been using WxMaxima for my symbolic calculations for a while now. The good thing about WxMaxima is that you can get formatted outputs right in the program and then export them to LaTeX forma...
[D] Anyone having trouble reading a particular paper ? Post it here and we'll help figure out any parts you are stuck on | Anyone having trouble finding papers on a particular concept ? Post it here and we'll help you find papers on that topic [ROUND 2]
Update: working on these now. As mentioned, I won't be able to take anymore paper help questions since the 24 hour period since this has been posted is up, however, I'll still continue for paper find questions since those don't take as much time. Actually, I'll also make an exception to any NLP papers since that's my area of focus.
This is a Round 2 of the paper help and paper find threads I posted in the previous weeks
https://www.reddit.com/r/MachineLearning/comments/8b4vi0/d_anyone_having_trouble_reading_a_particular/
https://www.reddit.com/r/MachineLearning/comments/8bwuyg/d_anyone_having_trouble_finding_papers_on_a/
I made a read-only subreddit to cataloge the main threads from these posts for easy look up
https://www.reddit.com/r/MLPapersQandA/
I decided to combine the two types of threads since they're pretty similar in concept.
I'll only be answering questions that were submitted within 24 hours of this being posted (9:30 am PST). Other people will be answering questions too like last time, but since posts are only on the front page for about a day, if you don't post a question within 24 hours you'll probably have to wait until Round 3 of this, which will happen in 2-3 weeks. To follow tentative dates, you can check this subreddit I use to catalog the topics discussed in my paperHelp/paperFind/paperWrite posts.
I'll only be answering questions that follow the format below. The purpose of this format is to minimize the time it takes to answer a question, maximizing the number of questions that'll be answered. The idea is that if someone who knows the answer reads your post, they should at least know what your asking for without having to open the paper. There are likely experts who pass by this thread, who may be too limited on time to open a paper link, but would be willing to spend a minute or two to answer a question.
-----
FORMAT FOR HELP ON A PARTICULAR PAPER
Title:
Link to Paper:
Summary in your own words of what this paper is about, and what exactly are you stuck on:
Additional info to speed up understanding/ finding answers. For example, if there's an equation whose components are explained through out the paper, make a mini glossary of said equation:
What attempts have you made so far to figure out the question:
Your best guess to what's the answer:
(optional) any additional info or resources to help answer your question (will increase chance of getting your question answered):
----
FORMAT FOR FINDING PAPERS ON A PARTICULAR TOPIC
Description of the concept you want to find papers on:
Any papers you found so far about your concept or close to your concept:
All the search queries you have tried so far in trying to find papers for that concept:
(optional) any additional info or resources to help find papers (will increase chance of getting your question answered):
----
Feel free to piggyback on any threads to ask your own questions, just follow the corresponding formats above.
/r/MachineLearning
https://redd.it/8elmd8
Update: working on these now. As mentioned, I won't be able to take anymore paper help questions since the 24 hour period since this has been posted is up, however, I'll still continue for paper find questions since those don't take as much time. Actually, I'll also make an exception to any NLP papers since that's my area of focus.
This is a Round 2 of the paper help and paper find threads I posted in the previous weeks
https://www.reddit.com/r/MachineLearning/comments/8b4vi0/d_anyone_having_trouble_reading_a_particular/
https://www.reddit.com/r/MachineLearning/comments/8bwuyg/d_anyone_having_trouble_finding_papers_on_a/
I made a read-only subreddit to cataloge the main threads from these posts for easy look up
https://www.reddit.com/r/MLPapersQandA/
I decided to combine the two types of threads since they're pretty similar in concept.
I'll only be answering questions that were submitted within 24 hours of this being posted (9:30 am PST). Other people will be answering questions too like last time, but since posts are only on the front page for about a day, if you don't post a question within 24 hours you'll probably have to wait until Round 3 of this, which will happen in 2-3 weeks. To follow tentative dates, you can check this subreddit I use to catalog the topics discussed in my paperHelp/paperFind/paperWrite posts.
I'll only be answering questions that follow the format below. The purpose of this format is to minimize the time it takes to answer a question, maximizing the number of questions that'll be answered. The idea is that if someone who knows the answer reads your post, they should at least know what your asking for without having to open the paper. There are likely experts who pass by this thread, who may be too limited on time to open a paper link, but would be willing to spend a minute or two to answer a question.
-----
FORMAT FOR HELP ON A PARTICULAR PAPER
Title:
Link to Paper:
Summary in your own words of what this paper is about, and what exactly are you stuck on:
Additional info to speed up understanding/ finding answers. For example, if there's an equation whose components are explained through out the paper, make a mini glossary of said equation:
What attempts have you made so far to figure out the question:
Your best guess to what's the answer:
(optional) any additional info or resources to help answer your question (will increase chance of getting your question answered):
----
FORMAT FOR FINDING PAPERS ON A PARTICULAR TOPIC
Description of the concept you want to find papers on:
Any papers you found so far about your concept or close to your concept:
All the search queries you have tried so far in trying to find papers for that concept:
(optional) any additional info or resources to help find papers (will increase chance of getting your question answered):
----
Feel free to piggyback on any threads to ask your own questions, just follow the corresponding formats above.
/r/MachineLearning
https://redd.it/8elmd8
reddit
r/MachineLearning - [D] Anyone having trouble reading a particular paper? Post it here and we'll help figure out any parts you…
522 votes and 136 so far on reddit