Partner for a Social Welfare Web App? (built on flask)
Hi guys,
I am a student with experience in Python, Flask, MySQL and HTML. I am currently in the process of building a web app to track general health information of impoverished children living in my area. This is a tech solution to an event that is ongoing (in jeopardy now due to Covid19 :( ) Privately message me for further details, or any other questions about this project!
/r/flask
https://redd.it/gojs1t
Hi guys,
I am a student with experience in Python, Flask, MySQL and HTML. I am currently in the process of building a web app to track general health information of impoverished children living in my area. This is a tech solution to an event that is ongoing (in jeopardy now due to Covid19 :( ) Privately message me for further details, or any other questions about this project!
/r/flask
https://redd.it/gojs1t
reddit
Partner for a Social Welfare Web App? (built on flask)
Hi guys, I am a student with experience in Python, Flask, MySQL and HTML. I am currently in the process of building a web app to track general...
Advice on getting started with Channels, ultimately to be deployed to Heroku
Hello experts, I'm about to start a Django project where I will use Channels for the first time. Users will get views "pushed" to them as part of a market research activity (answering questions together as a group while on video chat etc).
I will be hosting on Heroku when it's live. I'm in the process of reading tutorials, walkthroughs etc and I have a couple of questions please.
Context:
* Installing channels is fine - **pip install channels**
* I know I need a backend and have no reason not to go with the standard Redis. But there are so many different ways I'm totally confused what to do:
* The [Channels tutorial](https://channels.readthedocs.io/en/latest/tutorial/part_1.html) recommends a docker install.
* [Redis themselves](https://redis.io/download#installation) use a wget procedure to build from source...
* [This](https://realpython.com/getting-started-with-django-channels/) realpython walkthrough recommends installing **asgi\_redis** and then **brew install redis**.
* [Heroku themselves](https://devcenter.heroku.com/articles/heroku-redis#connecting-in-python) take a different tack with **pip install redis** and **django-redis-cache**
To my questions:
1. Let's assume that I want a vanilla setup, because I'm new that this, and given that I will be deploying to Heroku, which goes through requirements.txt to install all the right packages, is the Heroku path the right way
/r/django
https://redd.it/goops8
Hello experts, I'm about to start a Django project where I will use Channels for the first time. Users will get views "pushed" to them as part of a market research activity (answering questions together as a group while on video chat etc).
I will be hosting on Heroku when it's live. I'm in the process of reading tutorials, walkthroughs etc and I have a couple of questions please.
Context:
* Installing channels is fine - **pip install channels**
* I know I need a backend and have no reason not to go with the standard Redis. But there are so many different ways I'm totally confused what to do:
* The [Channels tutorial](https://channels.readthedocs.io/en/latest/tutorial/part_1.html) recommends a docker install.
* [Redis themselves](https://redis.io/download#installation) use a wget procedure to build from source...
* [This](https://realpython.com/getting-started-with-django-channels/) realpython walkthrough recommends installing **asgi\_redis** and then **brew install redis**.
* [Heroku themselves](https://devcenter.heroku.com/articles/heroku-redis#connecting-in-python) take a different tack with **pip install redis** and **django-redis-cache**
To my questions:
1. Let's assume that I want a vanilla setup, because I'm new that this, and given that I will be deploying to Heroku, which goes through requirements.txt to install all the right packages, is the Heroku path the right way
/r/django
https://redd.it/goops8
My Python Youtube channel just hit 20,000 subscribers - buildwithpython
Hey guys,
About a 2 years ago, I started a YouTube channel because I wanted to learn python. Teaching is the best way to learn. Both the channel and I have come a long way.
I wanted to thank the Python community for being so awesome. Thank-you for sticking around.
If someone is curious about the channel - youtube.com/c/buildwithpython
Or you can just search for buildwithpython on YouTube.
Just wanted to share my happiness with the community :)
/r/Python
https://redd.it/gon77w
Hey guys,
About a 2 years ago, I started a YouTube channel because I wanted to learn python. Teaching is the best way to learn. Both the channel and I have come a long way.
I wanted to thank the Python community for being so awesome. Thank-you for sticking around.
If someone is curious about the channel - youtube.com/c/buildwithpython
Or you can just search for buildwithpython on YouTube.
Just wanted to share my happiness with the community :)
/r/Python
https://redd.it/gon77w
Connecting second site to digital ocean droplet
I am trying to connect a second domain to my server on a new port. I have connected the site successfully to the IP and port, but the domain still routes to the Apache 2 default page. Here are the 2 links:
[(raw IP and port)](http://161.35.7.202:81/)
[(where the site should be)](http://entredeveloperslab.com)
/r/flask
https://redd.it/gos6s4
I am trying to connect a second domain to my server on a new port. I have connected the site successfully to the IP and port, but the domain still routes to the Apache 2 default page. Here are the 2 links:
[(raw IP and port)](http://161.35.7.202:81/)
[(where the site should be)](http://entredeveloperslab.com)
/r/flask
https://redd.it/gos6s4
Entredeveloperslab
EntreDevelopers Lab
At EntreDevelopers Lab, we build cutting edge software to give the entrepreneurs of today the tools of tomorrow.
Building a multiplayer chess game with Channels
Hey guys,
I've been learning django-channels lately and wanted to make a small project to understand how it works better so I thought about building a site where you can create a new game room and play chess with other people.
I've been researching the best way to build and structure my project but I have a few questions.
1. Let's say I have created a GameBoard model that represents the current state of the game, would it be a good idea to send that object over the websockets back and forth everytime the player makes a move, or clicks on a piece (to see possible moves) in order to update the board. Or should I implement some of the game logic inside the js code.
2. How do I go about rendering the game board inside the html, do I need to "redraw" the entire board everytime a change has been made? Could I use django templating here or just javascript to do this without refreshing the page.
I don't have any experience making web-games so please excuse me if anything is not understood.
Thanks in advance for any help.
/r/django
https://redd.it/gok688
Hey guys,
I've been learning django-channels lately and wanted to make a small project to understand how it works better so I thought about building a site where you can create a new game room and play chess with other people.
I've been researching the best way to build and structure my project but I have a few questions.
1. Let's say I have created a GameBoard model that represents the current state of the game, would it be a good idea to send that object over the websockets back and forth everytime the player makes a move, or clicks on a piece (to see possible moves) in order to update the board. Or should I implement some of the game logic inside the js code.
2. How do I go about rendering the game board inside the html, do I need to "redraw" the entire board everytime a change has been made? Could I use django templating here or just javascript to do this without refreshing the page.
I don't have any experience making web-games so please excuse me if anything is not understood.
Thanks in advance for any help.
/r/django
https://redd.it/gok688
reddit
Building a multiplayer chess game with Channels
Hey guys, I've been learning django-channels lately and wanted to make a small project to understand how it works better so I thought about...
Made a super basic role-requirement decorator for flask-login
I wanted to add an admin user-type to my flask app, in addition to the basic authorized user that flask-login provides. I didn't want to use flask-user or flask-security, which I understand have role-based authorization, because they require additional database tables. I wanted the bare minimum, where a User's role attribute is just a string. I just wanted the extra decorator, not anything else.
Here's the result. A single file, customizable route decorator for adding a required roll to a view.
[https://github.com/schwartz721/role\_required.git](https://github.com/schwartz721/role_required.git)
/r/flask
https://redd.it/gou2r6
I wanted to add an admin user-type to my flask app, in addition to the basic authorized user that flask-login provides. I didn't want to use flask-user or flask-security, which I understand have role-based authorization, because they require additional database tables. I wanted the bare minimum, where a User's role attribute is just a string. I just wanted the extra decorator, not anything else.
Here's the result. A single file, customizable route decorator for adding a required roll to a view.
[https://github.com/schwartz721/role\_required.git](https://github.com/schwartz721/role_required.git)
/r/flask
https://redd.it/gou2r6
Using face and hand tracking algos to detect when you touch your face (link in comments)
https://www.youtube.com/watch?v=W_OFo2MGLaM
/r/Python
https://redd.it/gp36c0
https://www.youtube.com/watch?v=W_OFo2MGLaM
/r/Python
https://redd.it/gp36c0
YouTube
FaceShield Demo
https://www.quittouchingyourface.com
Fluxmath: multiplayer, competitive math game, made with Django
https://fluxmath.com
/r/django
https://redd.it/goyeu2
https://fluxmath.com
/r/django
https://redd.it/goyeu2
Fluxmath
Fluxmath - multiplayer math tron game
How would I approach to build a history change tracker for each of my orders? (Similar to this example pic)
/r/django
https://redd.it/gp1suf
/r/django
https://redd.it/gp1suf
This media is not supported in your browser
VIEW IN TELEGRAM
I was tired of opening 100s of tabs for internship apps. So, I made an app to scrape and apply to every single job listing on Glassdoor with one click using Selenium! (source code and YT video linked below)
/r/Python
https://redd.it/gpaegj
/r/Python
https://redd.it/gpaegj
How to have my API send data to just my front end?
Hey guys I am making a flask API using flask-restful. At this point anyone can call my endpoints and get data, but since its a user/pw application on the front end, I think building a token system would just be a waste if I just use it for a frontend/mobile in the future.
/r/flask
https://redd.it/gpgpye
Hey guys I am making a flask API using flask-restful. At this point anyone can call my endpoints and get data, but since its a user/pw application on the front end, I think building a token system would just be a waste if I just use it for a frontend/mobile in the future.
/r/flask
https://redd.it/gpgpye
reddit
How to have my API send data to just my front end?
Hey guys I am making a flask API using flask-restful. At this point anyone can call my endpoints and get data, but since its a user/pw application...
[D] Examples of good science in deep learning experiment-focused papers
It's been brought up a lot that there are a lot of low-quality "benchmark papers" that get accepted to top conferences based on results even though they have bad science ( [this paper goes into more detail on this](https://arxiv.org/pdf/1807.03341.pdf)). So I was wondering what example papers the community looks up to and what about them makes them good for you, that primarily is based on empirical/experimental results. RL papers encouraged!
/r/MachineLearning
https://redd.it/gpgspf
It's been brought up a lot that there are a lot of low-quality "benchmark papers" that get accepted to top conferences based on results even though they have bad science ( [this paper goes into more detail on this](https://arxiv.org/pdf/1807.03341.pdf)). So I was wondering what example papers the community looks up to and what about them makes them good for you, that primarily is based on empirical/experimental results. RL papers encouraged!
/r/MachineLearning
https://redd.it/gpgspf
reddit
[D] Examples of good science in deep learning experiment-focused...
It's been brought up a lot that there are a lot of low-quality "benchmark papers" that get accepted to top conferences based on results even...
Popper.js not working
I'm trying to use popper.js in my flask app but nothing is working, i've tried the CDN but is not working, I've tried everything installing popper.min.js, linking js at the end of my base.html, I want to use tooltips.
/r/flask
https://redd.it/gpkncl
I'm trying to use popper.js in my flask app but nothing is working, i've tried the CDN but is not working, I've tried everything installing popper.min.js, linking js at the end of my base.html, I want to use tooltips.
/r/flask
https://redd.it/gpkncl
reddit
Popper.js not working
I'm trying to use popper.js in my flask app but nothing is working, i've tried the CDN but is not working, I've tried everything installing...
This media is not supported in your browser
VIEW IN TELEGRAM
[Project][Reinforcement Learning] Using DQN (Q-Learning) to play the Game 2048.
/r/MachineLearning
https://redd.it/gpmbpl
/r/MachineLearning
https://redd.it/gpmbpl
Python list tutorial: Python list is a data structure that stores items (i.e. integer and string ) into memory. Lists in Python are more powerful and versatile than an array. #Python #Programming #Lists @topictrick
https://youtu.be/dyZyHaXZb-8
/r/Python
https://redd.it/gpnyuz
https://youtu.be/dyZyHaXZb-8
/r/Python
https://redd.it/gpnyuz
YouTube
Python list || Lists in Python Youtube || List Comprehension Python || Live Code Demo
#Python #Tutorial #Lists
Python Tutorial: Python list is a data structure that stores items (i.e. integer and string ) into memory. Lists in Python are more powerful and versatile than an array. Python lists are the most widely used python sequence.
Listsβ¦
Python Tutorial: Python list is a data structure that stores items (i.e. integer and string ) into memory. Lists in Python are more powerful and versatile than an array. Python lists are the most widely used python sequence.
Listsβ¦
Weird conversions like Image to Audio and Audio to Image using NumPy magic
I know this tool is kind of strange and probably not very useful. However, I wanted to play with NumPy and try to understand in a deeper way the amount of stuff that this library can do.
That's why I ended up doing this project, because of yes.
Feel free to check it out. https://github.com/AlbertSuarez/weird-converter
/r/Python
https://redd.it/gpo4dx
I know this tool is kind of strange and probably not very useful. However, I wanted to play with NumPy and try to understand in a deeper way the amount of stuff that this library can do.
That's why I ended up doing this project, because of yes.
Feel free to check it out. https://github.com/AlbertSuarez/weird-converter
/r/Python
https://redd.it/gpo4dx
GitHub
GitHub - AlbertSuarez/weird-converter: π Strange combinations converter like Audio <-> Image
π Strange combinations converter like Audio <-> Image - GitHub - AlbertSuarez/weird-converter: π Strange combinations converter like Audio <-> Image
If I use the Django Rest Framework, what security measures should I take?
/r/django
https://redd.it/gpl044
/r/django
https://redd.it/gpl044
reddit
If I use the Django Rest Framework, what security measures should...
Posted in r/django by u/thesecondbread β’ 27 points and 6 comments
I launched my new website with all my free Python and Machine Learning Tutorials (currently 68).
https://www.python-engineer.com/
/r/Python
https://redd.it/gpqquf
https://www.python-engineer.com/
/r/Python
https://redd.it/gpqquf
Python-Engineer
Python and ML Tutorials
Free Python and Machine Learning Tutorials.
This media is not supported in your browser
VIEW IN TELEGRAM
[Project][Artificial Intelligence] Using DQN (Q-Learning) to play the Game 2048.
/r/Python
https://redd.it/gprj13
/r/Python
https://redd.it/gprj13