[D] Machine Learning - WAYR (What Are You Reading) - Week 44
This is a place to share machine learning research papers, journals, and articles that you're reading this week. If it relates to what you're researching, by all means elaborate and give us your insight, otherwise it could just be an interesting paper you've read.
Please try to provide some insight from your understanding and please don't post things which are present in wiki.
Preferably you should link the arxiv page (not the PDF, you can easily access the PDF from the summary page but not the other way around) or any other pertinent links.
Previous weeks :
|1-10|11-20|21-30|31-40|41-50|
|----|-----|-----|-----|-----|
|[Week 1](https://www.reddit.com/r/MachineLearning/comments/4qyjiq/machine_learning_wayr_what_are_you_reading_week_1/)|[Week 11](https://www.reddit.com/r/MachineLearning/comments/57xw56/discussion_machine_learning_wayr_what_are_you/)|[Week 21](https://www.reddit.com/r/MachineLearning/comments/60ildf/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 31](https://www.reddit.com/r/MachineLearning/comments/6s0k1u/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 41](https://www.reddit.com/r/MachineLearning/comments/7tn2ax/d_machine_learning_wayr_what_are_you_reading_week/)|||
|[Week 2](https://www.reddit.com/r/MachineLearning/comments/4s2xqm/machine_learning_wayr_what_are_you_reading_week_2/)|[Week 12](https://www.reddit.com/r/MachineLearning/comments/5acb1t/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 22](https://www.reddit.com/r/MachineLearning/comments/64jwde/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 32](https://www.reddit.com/r/MachineLearning/comments/72ab5y/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 42](https://www.reddit.com/r/MachineLearning/comments/7wvjfk/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 3](https://www.reddit.com/r/MachineLearning/comments/4t7mqm/machine_learning_wayr_what_are_you_reading_week_3/)|[Week 13](https://www.reddit.com/r/MachineLearning/comments/5cwfb6/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 23](https://www.reddit.com/r/MachineLearning/comments/674331/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 33](https://www.reddit.com/r/MachineLearning/comments/75405d/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 43](https://www.reddit.com/r/MachineLearning/comments/807ex4/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 4](https://www.reddit.com/r/MachineLearning/comments/4ub2kw/machine_learning_wayr_what_are_you_reading_week_4/)|[Week 14](https://www.reddit.com/r/MachineLearning/comments/5fc5mh/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 24](https://www.reddit.com/r/MachineLearning/comments/68hhhb/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 34](https://www.reddit.com/r/MachineLearning/comments/782js9/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 5](https://www.reddit.com/r/MachineLearning/comments/4xomf7/machine_learning_wayr_what_are_you_reading_week_5/)|[Week 15](https://www.reddit.com/r/MachineLearning/comments/5hy4ur/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 25](https://www.reddit.com/r/MachineLearning/comments/69teiz/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 35](https://www.reddit.com/r/MachineLearning/comments/7b0av0/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 6](https://www.reddit.com/r/MachineLearning/comments/4zcyvk/machine_learning_wayr_what_are_you_reading_week_6/)|[Week 16](https://www.reddit.com/r/MachineLearning/comments/5kd6vd/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 26](https://www.reddit.com/r/MachineLearning/comments/6d7nb1/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 36](https://www.reddit.com/r/MachineLearning/comments/7e3fx6/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 7](https://www.reddit.com/r/MachineLearning/comments/52t6mo/machine_learning_wayr_what_are_you_reading_week_7/)|[Week 17](https://www.reddit.com/r/MachineLearning/comments/5o
This is a place to share machine learning research papers, journals, and articles that you're reading this week. If it relates to what you're researching, by all means elaborate and give us your insight, otherwise it could just be an interesting paper you've read.
Please try to provide some insight from your understanding and please don't post things which are present in wiki.
Preferably you should link the arxiv page (not the PDF, you can easily access the PDF from the summary page but not the other way around) or any other pertinent links.
Previous weeks :
|1-10|11-20|21-30|31-40|41-50|
|----|-----|-----|-----|-----|
|[Week 1](https://www.reddit.com/r/MachineLearning/comments/4qyjiq/machine_learning_wayr_what_are_you_reading_week_1/)|[Week 11](https://www.reddit.com/r/MachineLearning/comments/57xw56/discussion_machine_learning_wayr_what_are_you/)|[Week 21](https://www.reddit.com/r/MachineLearning/comments/60ildf/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 31](https://www.reddit.com/r/MachineLearning/comments/6s0k1u/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 41](https://www.reddit.com/r/MachineLearning/comments/7tn2ax/d_machine_learning_wayr_what_are_you_reading_week/)|||
|[Week 2](https://www.reddit.com/r/MachineLearning/comments/4s2xqm/machine_learning_wayr_what_are_you_reading_week_2/)|[Week 12](https://www.reddit.com/r/MachineLearning/comments/5acb1t/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 22](https://www.reddit.com/r/MachineLearning/comments/64jwde/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 32](https://www.reddit.com/r/MachineLearning/comments/72ab5y/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 42](https://www.reddit.com/r/MachineLearning/comments/7wvjfk/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 3](https://www.reddit.com/r/MachineLearning/comments/4t7mqm/machine_learning_wayr_what_are_you_reading_week_3/)|[Week 13](https://www.reddit.com/r/MachineLearning/comments/5cwfb6/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 23](https://www.reddit.com/r/MachineLearning/comments/674331/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 33](https://www.reddit.com/r/MachineLearning/comments/75405d/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 43](https://www.reddit.com/r/MachineLearning/comments/807ex4/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 4](https://www.reddit.com/r/MachineLearning/comments/4ub2kw/machine_learning_wayr_what_are_you_reading_week_4/)|[Week 14](https://www.reddit.com/r/MachineLearning/comments/5fc5mh/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 24](https://www.reddit.com/r/MachineLearning/comments/68hhhb/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 34](https://www.reddit.com/r/MachineLearning/comments/782js9/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 5](https://www.reddit.com/r/MachineLearning/comments/4xomf7/machine_learning_wayr_what_are_you_reading_week_5/)|[Week 15](https://www.reddit.com/r/MachineLearning/comments/5hy4ur/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 25](https://www.reddit.com/r/MachineLearning/comments/69teiz/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 35](https://www.reddit.com/r/MachineLearning/comments/7b0av0/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 6](https://www.reddit.com/r/MachineLearning/comments/4zcyvk/machine_learning_wayr_what_are_you_reading_week_6/)|[Week 16](https://www.reddit.com/r/MachineLearning/comments/5kd6vd/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 26](https://www.reddit.com/r/MachineLearning/comments/6d7nb1/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 36](https://www.reddit.com/r/MachineLearning/comments/7e3fx6/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 7](https://www.reddit.com/r/MachineLearning/comments/52t6mo/machine_learning_wayr_what_are_you_reading_week_7/)|[Week 17](https://www.reddit.com/r/MachineLearning/comments/5o
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
b7dx/discussion_machine_learning_wayr_what_are_you/)|[Week 27](https://www.reddit.com/r/MachineLearning/comments/6gngwc/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 37](https://www.reddit.com/r/MachineLearning/comments/7hcc2c/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 8](https://www.reddit.com/r/MachineLearning/comments/53heol/machine_learning_wayr_what_are_you_reading_week_8/)|[Week 18](https://www.reddit.com/r/MachineLearning/comments/5r14yd/discussion_machine_learning_wayr_what_are_you/)|[Week 28](https://www.reddit.com/r/MachineLearning/comments/6jgdva/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 38](https://www.reddit.com/r/MachineLearning/comments/7kgcqr/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 9](https://www.reddit.com/r/MachineLearning/comments/54kvsu/machine_learning_wayr_what_are_you_reading_week_9/)|[Week 19](https://www.reddit.com/r/MachineLearning/comments/5tt9cz/discussion_machine_learning_wayr_what_are_you/)|[Week 29](https://www.reddit.com/r/MachineLearning/comments/6m9l1v/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 39](https://www.reddit.com/r/MachineLearning/comments/7nayri/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 10](https://www.reddit.com/r/MachineLearning/comments/56s2oa/discussion_machine_learning_wayr_what_are_you/)|[Week 20](https://www.reddit.com/r/MachineLearning/comments/5wh2wb/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 30](https://www.reddit.com/r/MachineLearning/comments/6p3ha7/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 40](https://www.reddit.com/r/MachineLearning/comments/7qel9p/d_machine_learning_wayr_what_are_you_reading_week/)||
Most upvoted papers two weeks ago:
/u/marcossilva_604: https://arxiv.org/abs/1802.06006.
/u/hohomomo1212: Learning to Play with Intrinsically-Motivated Self-Aware Agents (https://arxiv.org/abs/1802.07442). It is a paper on a form of reinforcement learning without extrinsic rewards. Think of a robot wandering around in the world without being told what to do but instead figuring out what to do by itself using a model of its own abilities. That's why they call it self-aware. Pretty cool :)
Besides that, there are no rules, have fun.
/r/MachineLearning
https://redd.it/8aluhs
|[Week 8](https://www.reddit.com/r/MachineLearning/comments/53heol/machine_learning_wayr_what_are_you_reading_week_8/)|[Week 18](https://www.reddit.com/r/MachineLearning/comments/5r14yd/discussion_machine_learning_wayr_what_are_you/)|[Week 28](https://www.reddit.com/r/MachineLearning/comments/6jgdva/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 38](https://www.reddit.com/r/MachineLearning/comments/7kgcqr/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 9](https://www.reddit.com/r/MachineLearning/comments/54kvsu/machine_learning_wayr_what_are_you_reading_week_9/)|[Week 19](https://www.reddit.com/r/MachineLearning/comments/5tt9cz/discussion_machine_learning_wayr_what_are_you/)|[Week 29](https://www.reddit.com/r/MachineLearning/comments/6m9l1v/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 39](https://www.reddit.com/r/MachineLearning/comments/7nayri/d_machine_learning_wayr_what_are_you_reading_week/)||
|[Week 10](https://www.reddit.com/r/MachineLearning/comments/56s2oa/discussion_machine_learning_wayr_what_are_you/)|[Week 20](https://www.reddit.com/r/MachineLearning/comments/5wh2wb/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 30](https://www.reddit.com/r/MachineLearning/comments/6p3ha7/d_machine_learning_wayr_what_are_you_reading_week/)|[Week 40](https://www.reddit.com/r/MachineLearning/comments/7qel9p/d_machine_learning_wayr_what_are_you_reading_week/)||
Most upvoted papers two weeks ago:
/u/marcossilva_604: https://arxiv.org/abs/1802.06006.
/u/hohomomo1212: Learning to Play with Intrinsically-Motivated Self-Aware Agents (https://arxiv.org/abs/1802.07442). It is a paper on a form of reinforcement learning without extrinsic rewards. Think of a robot wandering around in the world without being told what to do but instead figuring out what to do by itself using a model of its own abilities. That's why they call it self-aware. Pretty cool :)
Besides that, there are no rules, have fun.
/r/MachineLearning
https://redd.it/8aluhs
reddit
[D] Machine Learning - WAYR (What Are You Reading) - Week 27
This is a place to share machine learning research papers, journals, and articles that you're reading this week. If it relates to what you're...
What are some fun things to do with Python?
I became fluent in Python a few years ago but never used it for anything besides assigned coursework or job related tasks. I’ve been looking to apply my skills in a way that would inspire me to excel while being enjoyable and have been having a fairly hard time with it.
So what are the most fun things you’ve used Python for that can be turned into a long term hobby?
/r/Python
https://redd.it/8axg0p
I became fluent in Python a few years ago but never used it for anything besides assigned coursework or job related tasks. I’ve been looking to apply my skills in a way that would inspire me to excel while being enjoyable and have been having a fairly hard time with it.
So what are the most fun things you’ve used Python for that can be turned into a long term hobby?
/r/Python
https://redd.it/8axg0p
reddit
What are some fun things to do with Python? • r/Python
I became fluent in Python a few years ago but never used it for anything besides assigned coursework or job related tasks. I’ve been looking to...
Minesweeper clone in Python, using PyQt
https://martinfitzpatrick.name/article/minesweeper-python-desktop-pyqt/
/r/Python
https://redd.it/8aycnm
https://martinfitzpatrick.name/article/minesweeper-python-desktop-pyqt/
/r/Python
https://redd.it/8aycnm
Martin Fitzpatrick
Moonsweeper | Minesweeper clone in Python, using PyQt
Explore the mysterious moon of Q'tee without getting too close to the alien natives! Moonsweeper is a single-player puzzle video game. The objective of the game is to explore the area around your landed space rocket, without coming too close to the deadly…
Never put DEBUG = True in any django server that is accessible from outside your LAN
While this is quiet obvious and must have already read it in django docs, many people (me included) still do it sometimes.
**Why?**
Mainly because ~~most recommended django configurations,~~ Django doesn't serve static/media files if `Debug = False`. So you might be tempted to temporarily set `Debug = True` while your client is reviewing the website and making the final changes before deployment.
**Why `Debug = True` is Evil?**
When any exception happen, django expose all your settings, environment variables to the world.
Remember that `SECRET_KEY` settings that django tells you never reveal? It's there for anyone across the globe to view freely.
Database password? Yep, it's there also.
Email credentials? API for external services? All there.
I know some of you would call me stupid for setting `Debug = True` on a test site that is accessible online and I would agree.
I'm writing this so that no one else would be doing that stupid mistake
/r/django
https://redd.it/8ax6cb
While this is quiet obvious and must have already read it in django docs, many people (me included) still do it sometimes.
**Why?**
Mainly because ~~most recommended django configurations,~~ Django doesn't serve static/media files if `Debug = False`. So you might be tempted to temporarily set `Debug = True` while your client is reviewing the website and making the final changes before deployment.
**Why `Debug = True` is Evil?**
When any exception happen, django expose all your settings, environment variables to the world.
Remember that `SECRET_KEY` settings that django tells you never reveal? It's there for anyone across the globe to view freely.
Database password? Yep, it's there also.
Email credentials? API for external services? All there.
I know some of you would call me stupid for setting `Debug = True` on a test site that is accessible online and I would agree.
I'm writing this so that no one else would be doing that stupid mistake
/r/django
https://redd.it/8ax6cb
reddit
Never put DEBUG = True in any django server that is... • r/django
While this is quiet obvious and must have already read it in django docs, many people (me included) still do it sometimes. **Why?** Mainly...
My first automated web scraping for Lego sets.
Using Python and selenium, I made a crude script which web scraps and extracts the Title, item number, Numbers of Pieces and Product Details for different Lego sets.
[Code](https://github.com/WillPhillipsCVdemo/LegoSets_scan/blob/master/Lego_Scan_loop.py)
/r/Python
https://redd.it/8axbvj
Using Python and selenium, I made a crude script which web scraps and extracts the Title, item number, Numbers of Pieces and Product Details for different Lego sets.
[Code](https://github.com/WillPhillipsCVdemo/LegoSets_scan/blob/master/Lego_Scan_loop.py)
/r/Python
https://redd.it/8axbvj
GitHub
WillPhillipsCVdemo/LegoSets_scan
LegoSets_scan - Using Python and selenium, the code automatically scans and retrieves product details for several lego sets
Bookrest - The easiest way to add DRF powered Rest API to an arbitrary DB
https://github.com/agiliq/bookrest
/r/django
https://redd.it/8b0spg
https://github.com/agiliq/bookrest
/r/django
https://redd.it/8b0spg
GitHub
agiliq/bookrest
Bookrest - The easiest way to add rest API to an arbitrary DB - agiliq/bookrest
A simple Python PDF report generator using Pug, SemanticUI, and Weasyprint.
https://github.com/Edinburgh-Genome-Foundry/pdf_reports
/r/Python
https://redd.it/8azc17
https://github.com/Edinburgh-Genome-Foundry/pdf_reports
/r/Python
https://redd.it/8azc17
GitHub
GitHub - Edinburgh-Genome-Foundry/pdf_reports: :closed_book: Python library and CSS theme to generate PDF reports from HTML/Pug
:closed_book: Python library and CSS theme to generate PDF reports from HTML/Pug - Edinburgh-Genome-Foundry/pdf_reports
store app config in sqlite
I have an app that will be polling info from an api.
I want to be able to store the credentials and other config components in sqlite.
Is there already a framework for this ?
Thanks
/r/flask
https://redd.it/8b0fgc
I have an app that will be polling info from an api.
I want to be able to store the credentials and other config components in sqlite.
Is there already a framework for this ?
Thanks
/r/flask
https://redd.it/8b0fgc
reddit
store app config in sqlite • r/flask
I have an app that will be polling info from an api. I want to be able to store the credentials and other config components in sqlite. Is...
[P] Lessons learned reproducing a deep reinforcement learning paper
http://amid.fish/reproducing-deep-rl
/r/MachineLearning
https://redd.it/8ay4u6
http://amid.fish/reproducing-deep-rl
/r/MachineLearning
https://redd.it/8ay4u6
reddit
[P] Lessons learned reproducing a deep... • r/MachineLearning
168 points and 7 comments so far on reddit
Django WordPress competitor?
What is the WordPress framework of the Django world? I want to throw up a site that's blog oriented and I'm contemplating brushing up on PHP 7 or just scrapping that and learning Python to throw up some kind of Django solution. Thanks for the direction.
/r/django
https://redd.it/8b3zk1
What is the WordPress framework of the Django world? I want to throw up a site that's blog oriented and I'm contemplating brushing up on PHP 7 or just scrapping that and learning Python to throw up some kind of Django solution. Thanks for the direction.
/r/django
https://redd.it/8b3zk1
reddit
Django WordPress competitor? • r/django
What is the WordPress framework of the Django world? I want to throw up a site that's blog oriented and I'm contemplating brushing up on PHP 7 or...
How do you implement reset password functionality with Django Rest Framework?
Hi devs,
I'm having a bit of trouble to understand this, without DRF I did it successfully by using Django's default auth views and creating my templates but what about DRF?
Should I create a model that stores a token on the database and them verify if the token is valid for the user? If so, how to best generate this token, what to keep in mind to make the implementation as safe as possible?
Can I use Django's own mechanism which, by what I read, takes into account the last login, the current password (?), and adds some salt? This seems to be a very well thought implementation but can I borrow that mechanism into my RESTful views?
How are you (more experienced) guys doing this?
PS: I'm using only Simple JWT, not using other auth libraries like allauth or social login, don't know if this is relevant to the case.
/r/django
https://redd.it/8b3bur
Hi devs,
I'm having a bit of trouble to understand this, without DRF I did it successfully by using Django's default auth views and creating my templates but what about DRF?
Should I create a model that stores a token on the database and them verify if the token is valid for the user? If so, how to best generate this token, what to keep in mind to make the implementation as safe as possible?
Can I use Django's own mechanism which, by what I read, takes into account the last login, the current password (?), and adds some salt? This seems to be a very well thought implementation but can I borrow that mechanism into my RESTful views?
How are you (more experienced) guys doing this?
PS: I'm using only Simple JWT, not using other auth libraries like allauth or social login, don't know if this is relevant to the case.
/r/django
https://redd.it/8b3bur
reddit
How do you implement reset password functionality with... • r/django
Hi devs, I'm having a bit of trouble to understand this, without DRF I did it successfully by using Django's default auth views and creating my...
How to submit Form using Ajax in Django
I need to submit an HTML Form using an Ajax call. I don't know why nothing is happening on clicking the button (Upload Files), I checked the browser console but no error.
Here is the code
index.html
https://dpaste.de/2yO4
views.py
https://dpaste.de/rMQm
Complete code
https://www.dropbox.com/sh/2pq1x6tet7td4jq/AAB-l42AQg1w22RRRG-4AUQna?dl=0
/r/django
https://redd.it/8b5pv5
I need to submit an HTML Form using an Ajax call. I don't know why nothing is happening on clicking the button (Upload Files), I checked the browser console but no error.
Here is the code
index.html
https://dpaste.de/2yO4
views.py
https://dpaste.de/rMQm
Complete code
https://www.dropbox.com/sh/2pq1x6tet7td4jq/AAB-l42AQg1w22RRRG-4AUQna?dl=0
/r/django
https://redd.it/8b5pv5
Heroku Django application error!
Hey guys i have created my first django website! and i want to upload it through Heroku, So i followed everything they said to me and i am still getting application error wheni am trying to do
heruko open
I get an application error and as i am beginner to heruko i am frustrated to get errors! I found that i am getting error here while i do
git push heruko master
I get all things ready but a small error after deploying is done and the error is:
Counting objects: 30, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (30/30), done.
Writing objects: 100% (30/30), 13.62 KiB | 422.00 KiB/s, done.
Total 30 (delta 2), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing pip
remote: -----> Installing requirements with pip
remote:
remote: -----> $ python manage.py collectstatic --noinput
remote: 118 static files copied to
'/tmp/build_d2ad5fb0675c6c8305a3ad0fb5
819fe4/static', 131 post-processed.
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> (none)
remote:
remote: -----> Compressing...
remote: Done: 54.3M
remote: -----> Launching...
remote: Released v9
remote: https://kiran-portfolio.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/kiran-portfolio.git
dd0eec5..f9d7b19 master -> master
error: update_ref failed for ref 'refs/remotes/heroku/master': cannot lock ref '
refs/remotes/heroku/master': unable to resolve reference
'refs/remotes/heroku/ma
ster': reference broken
I also think the error is with the Procfile because i don't know what name we should type in the wsgi.py as given below:
web: guincorn whatnameshouldiwrite.wsgi
I found that we should write our app name but i have two apps in my project and i have different name for my heroku website and a different name for my project on my PC so which name should i write there?
The heroku logs looks like:
2018-04-10T08:14:54.924974+00:00 app[api]: Enable Logplex by user smschavan143@g
mail.com
2018-04-10T08:14:54.924974+00:00 app[api]: Release v2 created by user smschavan1
43@gmail.com
2018-04-10T08:14:54.816584+00:00 app[api]: Release v1 created by user smschavan1
43@gmail.com
2018-04-10T08:14:54.816584+00:00 app[api]: Initial release by user smschavan143@
gmail.com
2018-04-10T08:15:27.492135+00:00 heroku[router]: at=info code=H81 desc="Blank ap
p" method=GET path="/" host=kiran-portfolio.herokuapp.com request_id=fc6bbee0-4c
46-4896-b597-07c430591135 fwd="45.117.31.196" dyno= connect= service= status=502
bytes= protocol=https
2018-04-10T08:15:31.386132+00:00 heroku[router]: at=info code=H81 desc="Blank ap
p" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp.com request_id=
daa19840-978e-46f1-9e69-4c031feecdcb fwd="45.117.31.196" dyno= connect= service=
status=502 bytes= protocol=https
2018-04-10T08:28:39.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:28:39.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:29:48.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:29:48.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:30:26.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:30:26.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:31:52.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:31:52.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:34:55.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:34:55.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:41:23.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:41:50.953604+00:00 app[api]: Attach DATABASE (@ref:postgresql-ae
Hey guys i have created my first django website! and i want to upload it through Heroku, So i followed everything they said to me and i am still getting application error wheni am trying to do
heruko open
I get an application error and as i am beginner to heruko i am frustrated to get errors! I found that i am getting error here while i do
git push heruko master
I get all things ready but a small error after deploying is done and the error is:
Counting objects: 30, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (30/30), done.
Writing objects: 100% (30/30), 13.62 KiB | 422.00 KiB/s, done.
Total 30 (delta 2), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing pip
remote: -----> Installing requirements with pip
remote:
remote: -----> $ python manage.py collectstatic --noinput
remote: 118 static files copied to
'/tmp/build_d2ad5fb0675c6c8305a3ad0fb5
819fe4/static', 131 post-processed.
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> (none)
remote:
remote: -----> Compressing...
remote: Done: 54.3M
remote: -----> Launching...
remote: Released v9
remote: https://kiran-portfolio.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/kiran-portfolio.git
dd0eec5..f9d7b19 master -> master
error: update_ref failed for ref 'refs/remotes/heroku/master': cannot lock ref '
refs/remotes/heroku/master': unable to resolve reference
'refs/remotes/heroku/ma
ster': reference broken
I also think the error is with the Procfile because i don't know what name we should type in the wsgi.py as given below:
web: guincorn whatnameshouldiwrite.wsgi
I found that we should write our app name but i have two apps in my project and i have different name for my heroku website and a different name for my project on my PC so which name should i write there?
The heroku logs looks like:
2018-04-10T08:14:54.924974+00:00 app[api]: Enable Logplex by user smschavan143@g
mail.com
2018-04-10T08:14:54.924974+00:00 app[api]: Release v2 created by user smschavan1
43@gmail.com
2018-04-10T08:14:54.816584+00:00 app[api]: Release v1 created by user smschavan1
43@gmail.com
2018-04-10T08:14:54.816584+00:00 app[api]: Initial release by user smschavan143@
gmail.com
2018-04-10T08:15:27.492135+00:00 heroku[router]: at=info code=H81 desc="Blank ap
p" method=GET path="/" host=kiran-portfolio.herokuapp.com request_id=fc6bbee0-4c
46-4896-b597-07c430591135 fwd="45.117.31.196" dyno= connect= service= status=502
bytes= protocol=https
2018-04-10T08:15:31.386132+00:00 heroku[router]: at=info code=H81 desc="Blank ap
p" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp.com request_id=
daa19840-978e-46f1-9e69-4c031feecdcb fwd="45.117.31.196" dyno= connect= service=
status=502 bytes= protocol=https
2018-04-10T08:28:39.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:28:39.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:29:48.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:29:48.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:30:26.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:30:26.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:31:52.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:31:52.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:34:55.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:34:55.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:41:23.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:41:50.953604+00:00 app[api]: Attach DATABASE (@ref:postgresql-ae
ro
dynamic-33012) by user smschavan143@gmail.com
2018-04-10T08:41:50.953604+00:00 app[api]: Release v3 created by user smschavan1
43@gmail.com
2018-04-10T08:41:51.193509+00:00 app[api]: Deploy 76360db4 by user smschavan143@
gmail.com
2018-04-10T08:41:51.193509+00:00 app[api]: Release v4 created by user smschavan1
43@gmail.com
2018-04-10T08:41:23.000000+00:00 app[api]: Build succeeded
2018-04-10T08:51:00.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:51:00.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:52:35.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:53:00.830250+00:00 app[api]: Deploy 3885895d by user smschavan143@
gmail.com
2018-04-10T08:53:00.830250+00:00 app[api]: Release v5 created by user smschavan1
43@gmail.com
2018-04-10T08:52:35.000000+00:00 app[api]: Build succeeded
2018-04-10T08:59:46.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T09:00:10.571878+00:00 app[api]: Release v6 created by user smschavan1
43@gmail.com
2018-04-10T09:00:10.571878+00:00 app[api]: Deploy bbae6e49 by user smschavan143@
gmail.com
2018-04-10T08:59:46.000000+00:00 app[api]: Build succeeded
2018-04-10T09:00:48.993535+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=c3052a19-a59a-4cef-8265-4703bd1557ea fwd="45.117.31.196" dyno= connect= ser
vice= status=503 bytes= protocol=https
2018-04-10T09:00:52.766072+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=19bda5bc-fcc4-4bb8-9f14-2f4d52a2b0e0 fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
2018-04-10T09:08:35.655039+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=5e69f860-dc72-4af3-9040-b1f0ae8af8e4 fwd="45.117.31.196" dyno= connect= ser
vice= status=503 bytes= protocol=https
2018-04-10T09:08:39.157957+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=2b372932-2ce2-4d45-9cdd-4f59b4422d76 fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
2018-04-10T09:09:45.451328+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=d4de5c0a-c590-4b14-adc0-739cbe859feb fwd="45.117.31.196" dyno= connect= ser
vice= status=503 bytes= protocol=https
2018-04-10T09:09:52.145707+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=1392d710-b0b4-4a77-a01e-735041d98433 fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
2018-04-10T09:10:00.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T09:10:26.434601+00:00 app[api]: Deploy 9d697adf by user smschavan143@
gmail.com
2018-04-10T09:10:26.434601+00:00 app[api]: Release v7 created by user smschavan1
43@gmail.com
2018-04-10T09:10:00.000000+00:00 app[api]: Build succeeded
2018-04-10T09:10:47.723358+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=b0f6be6e-393e-4416-b4d3-edb759292fa6 fwd="45.117.31.196" dyno= connect= ser
vice= status=503 bytes= protocol=https
2018-04-10T09:10:51.163961+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=cf906ebf-a5b9-42d3-98d7-0df7229e3d1e fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
2018-04-10T09:10:56.992860+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=ce6d8b95-7508-
dynamic-33012) by user smschavan143@gmail.com
2018-04-10T08:41:50.953604+00:00 app[api]: Release v3 created by user smschavan1
43@gmail.com
2018-04-10T08:41:51.193509+00:00 app[api]: Deploy 76360db4 by user smschavan143@
gmail.com
2018-04-10T08:41:51.193509+00:00 app[api]: Release v4 created by user smschavan1
43@gmail.com
2018-04-10T08:41:23.000000+00:00 app[api]: Build succeeded
2018-04-10T08:51:00.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:51:00.000000+00:00 app[api]: Build failed -- check your build logs
2018-04-10T08:52:35.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T08:53:00.830250+00:00 app[api]: Deploy 3885895d by user smschavan143@
gmail.com
2018-04-10T08:53:00.830250+00:00 app[api]: Release v5 created by user smschavan1
43@gmail.com
2018-04-10T08:52:35.000000+00:00 app[api]: Build succeeded
2018-04-10T08:59:46.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T09:00:10.571878+00:00 app[api]: Release v6 created by user smschavan1
43@gmail.com
2018-04-10T09:00:10.571878+00:00 app[api]: Deploy bbae6e49 by user smschavan143@
gmail.com
2018-04-10T08:59:46.000000+00:00 app[api]: Build succeeded
2018-04-10T09:00:48.993535+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=c3052a19-a59a-4cef-8265-4703bd1557ea fwd="45.117.31.196" dyno= connect= ser
vice= status=503 bytes= protocol=https
2018-04-10T09:00:52.766072+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=19bda5bc-fcc4-4bb8-9f14-2f4d52a2b0e0 fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
2018-04-10T09:08:35.655039+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=5e69f860-dc72-4af3-9040-b1f0ae8af8e4 fwd="45.117.31.196" dyno= connect= ser
vice= status=503 bytes= protocol=https
2018-04-10T09:08:39.157957+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=2b372932-2ce2-4d45-9cdd-4f59b4422d76 fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
2018-04-10T09:09:45.451328+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=d4de5c0a-c590-4b14-adc0-739cbe859feb fwd="45.117.31.196" dyno= connect= ser
vice= status=503 bytes= protocol=https
2018-04-10T09:09:52.145707+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=1392d710-b0b4-4a77-a01e-735041d98433 fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
2018-04-10T09:10:00.000000+00:00 app[api]: Build started by user smschavan143@gm
ail.com
2018-04-10T09:10:26.434601+00:00 app[api]: Deploy 9d697adf by user smschavan143@
gmail.com
2018-04-10T09:10:26.434601+00:00 app[api]: Release v7 created by user smschavan1
43@gmail.com
2018-04-10T09:10:00.000000+00:00 app[api]: Build succeeded
2018-04-10T09:10:47.723358+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=b0f6be6e-393e-4416-b4d3-edb759292fa6 fwd="45.117.31.196" dyno= connect= ser
vice= status=503 bytes= protocol=https
2018-04-10T09:10:51.163961+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=cf906ebf-a5b9-42d3-98d7-0df7229e3d1e fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
2018-04-10T09:10:56.992860+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/" host=kiran-portfolio.herokuapp.com reques
t_id=ce6d8b95-7508-
4e1e-8610-684369b3e0cd fwd="45.117.31.196" dyno= connect= ser
vice= status=503 bytes= protocol=https
2018-04-10T09:10:58.488848+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=9e1727a7-806d-490d-94ee-8a779beb21a8 fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
Thanks,
/r/django
https://redd.it/8b6bvh
vice= status=503 bytes= protocol=https
2018-04-10T09:10:58.488848+00:00 heroku[router]: at=error code=H14 desc="No web
processes running" method=GET path="/favicon.ico" host=kiran-portfolio.herokuapp
.com request_id=9e1727a7-806d-490d-94ee-8a779beb21a8 fwd="45.117.31.196" dyno= c
onnect= service= status=503 bytes= protocol=https
Thanks,
/r/django
https://redd.it/8b6bvh
reddit
Heroku Django application error! • r/django
Hey guys i have created my first django website! and i want to upload it through Heroku, So i followed everything they said to me and i am still...
Stream BTC prices over WebSockets with Python and Lomond
https://www.willmcgugan.com/blog/tech/post/stream-btc-prices-over-websockets-with-python-and-lomond/
/r/Python
https://redd.it/8b6pig
https://www.willmcgugan.com/blog/tech/post/stream-btc-prices-over-websockets-with-python-and-lomond/
/r/Python
https://redd.it/8b6pig
Will McGugan Tech
Stream BTC prices over WebSockets with Python and Lomond
<p>Monitor your ₿ with Python</p>
What are some simple django-based blog projects which developers starting in webdev can use?
I am looking to start a django-based blog and would like to see if people have any recommendations for "ready-made" projects. Something like this as an example: https://github.com/miguelgfierro/sciblog.
My objective is to get the blog up and running as soon as possible and customize it with time. My theoretical webdev knowledge is good although I have zero practical experience and I want to take this opportunity to learn.
What are some simple django-based blog projects which developers new to webdev can start with?
/r/django
https://redd.it/8b7jt8
I am looking to start a django-based blog and would like to see if people have any recommendations for "ready-made" projects. Something like this as an example: https://github.com/miguelgfierro/sciblog.
My objective is to get the blog up and running as soon as possible and customize it with time. My theoretical webdev knowledge is good although I have zero practical experience and I want to take this opportunity to learn.
What are some simple django-based blog projects which developers new to webdev can start with?
/r/django
https://redd.it/8b7jt8
GitHub
GitHub - miguelgfierro/sciblog: A blog made with django designed like a scientific paper written in LaTeX.
A blog made with django designed like a scientific paper written in LaTeX. - miguelgfierro/sciblog
Anyone use Okta? Is it as easy as Flask-Login?
I'm just starting out with Flask, have found using Flask-Login really easy and pretty cool. But I'm worried about data protection, and thought using Okta might reduce liability. Anyone doing the same? Can it integrate with Flask-Login? The workflow for Okta looks pretty heavy - any opinions?
/r/flask
https://redd.it/8b7ik6
I'm just starting out with Flask, have found using Flask-Login really easy and pretty cool. But I'm worried about data protection, and thought using Okta might reduce liability. Anyone doing the same? Can it integrate with Flask-Login? The workflow for Okta looks pretty heavy - any opinions?
/r/flask
https://redd.it/8b7ik6
reddit
Anyone use Okta? Is it as easy as Flask-Login? • r/flask
I'm just starting out with Flask, have found using Flask-Login really easy and pretty cool. But I'm worried about data protection, and thought...