[UPDATE] FlaskCon is coming!
# Update: FlaskCon has been postponed until early July, and the deadline for papers has been adjusted to June 7th accordingly.
The chosen dates right now are **July 4th - 5th**. However, since this conflicts with a certain popular holiday \[bald eagle screams distantly\], I'm going to make sure that this date is firm. I'll update this post when I receive word.
I know you'll all use the extra time to make your wonderful presentations even more perfect! :\^)
*Original post:*
Hi everyone!
Some awesome folks from the Python/Flask community have been putting a *ton* of work into organizing the inaugural **FlaskCon.** FlaskCon is an online conference which is:
* **100% remote,**
* **100% free,**
* **and 100% community-driven.**
FlaskCon will go live on ~~June 26th, 2020~~ **July 4th, 2020**. It will focus on technical discussions and Flask evangelism. Best of all, **everyone is invited to participate!**
If you have an interesting idea for a Flask-related talk, want to show off something unique you've made, or anything else that you think people will want to hear about, [**sign up to participate here**](https://sessionize.com/flaskcon). A lot of great people have signed on to review talk proposals, including Pallets members and the author of the Flask Mega-Tutorial.
Learn more by visiting their website: [https://flaskcon.com](https://flaskcon.com)
Submit
/r/flask
https://redd.it/gpx7pi
# Update: FlaskCon has been postponed until early July, and the deadline for papers has been adjusted to June 7th accordingly.
The chosen dates right now are **July 4th - 5th**. However, since this conflicts with a certain popular holiday \[bald eagle screams distantly\], I'm going to make sure that this date is firm. I'll update this post when I receive word.
I know you'll all use the extra time to make your wonderful presentations even more perfect! :\^)
*Original post:*
Hi everyone!
Some awesome folks from the Python/Flask community have been putting a *ton* of work into organizing the inaugural **FlaskCon.** FlaskCon is an online conference which is:
* **100% remote,**
* **100% free,**
* **and 100% community-driven.**
FlaskCon will go live on ~~June 26th, 2020~~ **July 4th, 2020**. It will focus on technical discussions and Flask evangelism. Best of all, **everyone is invited to participate!**
If you have an interesting idea for a Flask-related talk, want to show off something unique you've made, or anything else that you think people will want to hear about, [**sign up to participate here**](https://sessionize.com/flaskcon). A lot of great people have signed on to review talk proposals, including Pallets members and the author of the Flask Mega-Tutorial.
Learn more by visiting their website: [https://flaskcon.com](https://flaskcon.com)
Submit
/r/flask
https://redd.it/gpx7pi
Sessionize
FlaskCon: Call for Speakers / Call for Papers (CfP) @ Sessionize.com
Sessionize is the smart way to manage Call for Papers, Speakers and Agenda for your conference.
Ploomber CI - A Github action to run your Data Science pipeline on each push
Hi,
We just released Ploomber CI, a Github action that runs Data Science pipelines on each push to ensure reproducibility. It is powered by our library [Ploomber](https://github.com/ploomber/ploomber), hence it can handle arbitrarily complex pipeline structures with multiple tasks and dependencies.
Link: [https://github.com/marketplace/actions/ploomber-ci](https://github.com/marketplace/actions/ploomber-ci)
/r/IPython
https://redd.it/gpxc6n
Hi,
We just released Ploomber CI, a Github action that runs Data Science pipelines on each push to ensure reproducibility. It is powered by our library [Ploomber](https://github.com/ploomber/ploomber), hence it can handle arbitrarily complex pipeline structures with multiple tasks and dependencies.
Link: [https://github.com/marketplace/actions/ploomber-ci](https://github.com/marketplace/actions/ploomber-ci)
/r/IPython
https://redd.it/gpxc6n
GitHub
GitHub - ploomber/ploomber: The fastest ⚡️ way to build data pipelines. Develop iteratively, deploy anywhere. ☁️
The fastest ⚡️ way to build data pipelines. Develop iteratively, deploy anywhere. ☁️ - ploomber/ploomber
I would like to learn django by making my personal portfolio website. Is there any tutorial course or a website which teaches you django by doing the same? Thank you!
/r/django
https://redd.it/gpzmv1
/r/django
https://redd.it/gpzmv1
reddit
I would like to learn django by making my personal portfolio...
Posted in r/django by u/hexayu • 11 points and 8 comments
I started learning python a few days ago. This is a program that generates prime numbers and gives some information on them. Probably not much but I thought I'd share since I'm pretty excited about it.
/r/Python
https://redd.it/gpxl3v
/r/Python
https://redd.it/gpxl3v
I built an asteroid simulator that shows how you would die had an asteroid hit your city. [First Flask Project]
https://asteroidcollision.herokuapp.com/
/r/flask
https://redd.it/gpvusi
https://asteroidcollision.herokuapp.com/
/r/flask
https://redd.it/gpvusi
A script to visualize the path of several bodies under the influence of each other's gravitational field. Posting some of the coolest outputs!
/r/Python
https://redd.it/gpwpom
/r/Python
https://redd.it/gpwpom
How do I avoid hardcoding a django form?
```
class UserAnswerChoiceForm(forms.Form):
CHOICES = (
(None ,None),
(1, 'Disagree strongly'),
(2, 'Disagree a little'),
(3, 'Neither agree nor disagree'),
(4, 'Agree a little'),
(5, 'Agree strongly'),
)
answer_for_question_1 = forms.CharField(
widget=forms.Select(choices=CHOICES))
answer_for_question_2 = forms.CharField(
widget=forms.Select(choices=CHOICES))
and 43 more...
```
The logic is handled like so
```
if form.is_valid():
new_answer_group = SelfAnswerGroup.objects. create(user=request.user, user_profile=request.user.profile,)
for x in range(1, 45):
answer = UserAnswerChoice.objects.create(
user=request.user,
/r/django
https://redd.it/gq20t1
```
class UserAnswerChoiceForm(forms.Form):
CHOICES = (
(None ,None),
(1, 'Disagree strongly'),
(2, 'Disagree a little'),
(3, 'Neither agree nor disagree'),
(4, 'Agree a little'),
(5, 'Agree strongly'),
)
answer_for_question_1 = forms.CharField(
widget=forms.Select(choices=CHOICES))
answer_for_question_2 = forms.CharField(
widget=forms.Select(choices=CHOICES))
and 43 more...
```
The logic is handled like so
```
if form.is_valid():
new_answer_group = SelfAnswerGroup.objects. create(user=request.user, user_profile=request.user.profile,)
for x in range(1, 45):
answer = UserAnswerChoice.objects.create(
user=request.user,
/r/django
https://redd.it/gq20t1
reddit
How do I avoid hardcoding a django form?
``` class UserAnswerChoiceForm(forms.Form): CHOICES = ( (None ,None), (1, 'Disagree strongly'), (2, 'Disagree a...
Vectorization: The Secret to Shortening Your Python Code and Making it Run 150x Faster
https://codingwithmax.com/shortening-code-making-it-run-fast/
/r/Python
https://redd.it/gq1sxs
https://codingwithmax.com/shortening-code-making-it-run-fast/
/r/Python
https://redd.it/gq1sxs
Coding With Max
Vectorization: The Secret to Shortening Your Python Code and Making it Run 150x Faster
Today, I want to talk about vectorization and how it blew my mind by making my Python code run 150x faster.
How much to rely on extensions?
As with my recent troubles with Flask-User, I'm trying to under how to balance the dependency on Flask Extensions, with not having to reinvent the wheel.
I first picked up Flask through a Udemy course, from which the instructor seemed to build most of the functionality from scratch, e.g. creating methods for the Database model to query from MongoDB, creating users and inserting their information.
But after the course, I've chanced upon the world of extensions, but I guess not all of them are actively maintained & may not exactly fit the requirements. Feeling slightly exasperated spending half a day trying to get Flask-User to register users into my MongoDB Atlas, but to no avail. Googling also didn't seem to yield much results...
How much do you guys utilize extensions?
/r/flask
https://redd.it/gq4u8a
As with my recent troubles with Flask-User, I'm trying to under how to balance the dependency on Flask Extensions, with not having to reinvent the wheel.
I first picked up Flask through a Udemy course, from which the instructor seemed to build most of the functionality from scratch, e.g. creating methods for the Database model to query from MongoDB, creating users and inserting their information.
But after the course, I've chanced upon the world of extensions, but I guess not all of them are actively maintained & may not exactly fit the requirements. Feeling slightly exasperated spending half a day trying to get Flask-User to register users into my MongoDB Atlas, but to no avail. Googling also didn't seem to yield much results...
How much do you guys utilize extensions?
/r/flask
https://redd.it/gq4u8a
reddit
How much to rely on extensions?
As with my recent troubles with Flask-User, I'm trying to under how to balance the dependency on Flask Extensions, with not having to reinvent the...
Running a jupyter notebook on a server.
Hi, hello everyone,
I'm a physics teacher from Brazil and because of the quarantine i'm trying to make the lab classes on a virtual environment . I coded a physics simulation on python in a jupyter notebook file and i'm trying to make it accessible on a web page, like google **Colaboratory** (I tried to use google **Colaboratory, but some functions just wont work)**. Does someone know a guide/tutorial to make a running jupyter notebook file on a webpage ?
/r/JupyterNotebooks
https://redd.it/gpsdpz
Hi, hello everyone,
I'm a physics teacher from Brazil and because of the quarantine i'm trying to make the lab classes on a virtual environment . I coded a physics simulation on python in a jupyter notebook file and i'm trying to make it accessible on a web page, like google **Colaboratory** (I tried to use google **Colaboratory, but some functions just wont work)**. Does someone know a guide/tutorial to make a running jupyter notebook file on a webpage ?
/r/JupyterNotebooks
https://redd.it/gpsdpz
reddit
Running a jupyter notebook on a server.
Hi, hello everyone, I'm a physics teacher from Brazil and because of the quarantine i'm trying to make the lab classes on a virtual...
I created "twenny" – my very first app! It reminds you to give your eyes a break every 20 minutes to prevent eye strain and is located in your menubar. You can download it on GitHub!
/r/Python
https://redd.it/gq8254
/r/Python
https://redd.it/gq8254
rq worker and redis
Hi,
i just startet to work with redis and rq worker. my test script is running and rq worker and the redis server are processing my tasks. everything runs perfectly fine. but the tasks I want to create for my project can take up to 12 minutes. they wait for a status on a different server.
let's say, i have 4 tasks.
task #1 takes 8 minutes
task #2 takes 12 minutes
task #3 takes 4 minutes
and finally task #4 takes 7 minutes.
is there a way to check if task #1 is done and if not put task #1 at the end of the queue and check task #2 and so on and so forth. Or do I have to wait until task #1 is done to continue with task #2.
In my perfect world I would get my feedback in the following order:
task #3, task #4, task #1 and finally task #2
thanks in advance
/r/flask
https://redd.it/gq7atw
Hi,
i just startet to work with redis and rq worker. my test script is running and rq worker and the redis server are processing my tasks. everything runs perfectly fine. but the tasks I want to create for my project can take up to 12 minutes. they wait for a status on a different server.
let's say, i have 4 tasks.
task #1 takes 8 minutes
task #2 takes 12 minutes
task #3 takes 4 minutes
and finally task #4 takes 7 minutes.
is there a way to check if task #1 is done and if not put task #1 at the end of the queue and check task #2 and so on and so forth. Or do I have to wait until task #1 is done to continue with task #2.
In my perfect world I would get my feedback in the following order:
task #3, task #4, task #1 and finally task #2
thanks in advance
/r/flask
https://redd.it/gq7atw
reddit
rq worker and redis
Hi, i just startet to work with redis and rq worker. my test script is running and rq worker and the redis server are processing my tasks....
Create Deepfakes in 5 Minutes with First Order Model Method
https://rubikscode.net/2020/05/25/create-deepfakes-in-5-minutes-with-first-order-model-method/
/r/Python
https://redd.it/gq6suq
https://rubikscode.net/2020/05/25/create-deepfakes-in-5-minutes-with-first-order-model-method/
/r/Python
https://redd.it/gq6suq
Rubik's Code
Create Deepfakes in 5 Minutes with First Order Model Method
Learn how to quickly create deepfake videos using First Order Model Method and Python.
This media is not supported in your browser
VIEW IN TELEGRAM
[Update] Shooting pose analysis and basketball shot detection [GitHub repo in comment]
/r/Python
https://redd.it/gqa7nt
/r/Python
https://redd.it/gqa7nt
[D] Simple Questions Thread May 24, 2020
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/gpxe3z
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/gpxe3z
reddit
[D] Simple Questions Thread May 24, 2020
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here...
This media is not supported in your browser
VIEW IN TELEGRAM
After weeks of working on my smart house project I finally made something
/r/Python
https://redd.it/gqelgm
/r/Python
https://redd.it/gqelgm
Missing ipynb files
Hi!
Im somewhat new to Python and Jupyter Notebook. I had some ipynb files created around 5 months ago. Few days ago I changed the location of the folder holding those files and now I can't find most of those ipynb files! Only 6 out of 20 files are somehow still there while the others are completely gone :| Can someone please explain why this happened and how to resolve it?
I obviously tried googling this, but couldn't find anything helpful.
Thank you :)
/r/JupyterNotebooks
https://redd.it/gqi161
Hi!
Im somewhat new to Python and Jupyter Notebook. I had some ipynb files created around 5 months ago. Few days ago I changed the location of the folder holding those files and now I can't find most of those ipynb files! Only 6 out of 20 files are somehow still there while the others are completely gone :| Can someone please explain why this happened and how to resolve it?
I obviously tried googling this, but couldn't find anything helpful.
Thank you :)
/r/JupyterNotebooks
https://redd.it/gqi161
reddit
Missing ipynb files
Hi! Im somewhat new to Python and Jupyter Notebook. I had some ipynb files created around 5 months ago. Few days ago I changed the location of...
My project after a week of self study Python. No tutorial, only uses google when I'm stuck. The code is short and simple.
/r/Python
https://redd.it/gqmyb4
/r/Python
https://redd.it/gqmyb4