Best date time picker for meeting / event scheduled app
Hi all,
I’m need some inspirations for date time pickers to implement for web django app similar to doodle.
The logic I proposed is users can either create events with fixed date / time settings or more dynamic date/ time settings.
Further explanation:
Select availability?
a. Date
b. Set time
i. Start time
ii. End time
*Both optional, in most cases users will have a start and end time
I would be grateful for any recommendations that work well with bootstrap 4 and django.
/r/django
https://redd.it/aonb70
Hi all,
I’m need some inspirations for date time pickers to implement for web django app similar to doodle.
The logic I proposed is users can either create events with fixed date / time settings or more dynamic date/ time settings.
Further explanation:
Select availability?
a. Date
b. Set time
i. Start time
ii. End time
*Both optional, in most cases users will have a start and end time
I would be grateful for any recommendations that work well with bootstrap 4 and django.
/r/django
https://redd.it/aonb70
reddit
r/django - Best date time picker for meeting / event scheduled app
2 votes and 2 comments so far on Reddit
Run a tensorflow.js program using flask
Im new to both flask and tensorflow, so its probably not surprising that i have no idea what i am doing
What i want to do, however is this: run a tensorflow demo ([https://github.com/tensorflow/tfjs-examples/tree/master/webcam-transfer-learning](https://github.com/tensorflow/tfjs-examples/tree/master/webcam-transfer-learning)) with flask.
Problem: when i run it, the demo, which should use the webcam, says it cannot find a webcam.
(webcam is there, live demo works as expected, but the locally run demo cannot turn on or even find the webcam)
Is there even a known way to solve this? Or will i have to butcher the demo to accept the webcam frames sent from the server side (like this: [https://github.com/log0/video\_streaming\_with\_flask\_example](https://github.com/log0/video_streaming_with_flask_example))
​
/r/flask
https://redd.it/aor0u2
Im new to both flask and tensorflow, so its probably not surprising that i have no idea what i am doing
What i want to do, however is this: run a tensorflow demo ([https://github.com/tensorflow/tfjs-examples/tree/master/webcam-transfer-learning](https://github.com/tensorflow/tfjs-examples/tree/master/webcam-transfer-learning)) with flask.
Problem: when i run it, the demo, which should use the webcam, says it cannot find a webcam.
(webcam is there, live demo works as expected, but the locally run demo cannot turn on or even find the webcam)
Is there even a known way to solve this? Or will i have to butcher the demo to accept the webcam frames sent from the server side (like this: [https://github.com/log0/video\_streaming\_with\_flask\_example](https://github.com/log0/video_streaming_with_flask_example))
​
/r/flask
https://redd.it/aor0u2
GitHub
tfjs-examples/webcam-transfer-learning at master · tensorflow/tfjs-examples
Examples built with TensorFlow.js. Contribute to tensorflow/tfjs-examples development by creating an account on GitHub.
Best book or resources for mastering django 2.2 ?
I learned basics of Django and i want to master django in-depth step by step.
/r/django
https://redd.it/aorv3w
I learned basics of Django and i want to master django in-depth step by step.
/r/django
https://redd.it/aorv3w
reddit
r/django - Best book or resources for mastering django 2.2 ?
1 vote and 1 comment so far on Reddit
Is there a way to use the django_extensions shell_plus --notebook as the shell for debugging a view using ipdb.set_trace()?
It's an esoteric use case, but basically, stepping through the code in ipdb is great for debugging, but it would be even better to step through the view code in an jupyter notebook.
/r/django
https://redd.it/aotoll
It's an esoteric use case, but basically, stepping through the code in ipdb is great for debugging, but it would be even better to step through the view code in an jupyter notebook.
/r/django
https://redd.it/aotoll
reddit
r/django - Is there a way to use the django_extensions shell_plus --notebook as the shell for debugging a view using ipdb.set_trace()?
5 votes and 3 comments so far on Reddit
Looking for Machine Learning Course recommendation.
Hi guys,
​
Have a pretty good experience in Python and want to build a new ML skill.
​
What would you recommend for me? Books, courses, videos etc
​
Thank you.
​
PS: Since a lot of people give a very good recommendation here, I would like to summarize something in the topic:
* [scikit-learn documentation](https://scikit-learn.org/stable/index.html) has a lot of good examples.
* [Coursera Machine Learning by Andrew NG (Stanford)](https://www.coursera.org/learn/machine-learning) \- it is more theoretical course, ±3month long. Without using Python, but Octave/Matlab . Python assignments for the machine learning class can be found in [this github repo](https://github.com/dibgerge/ml-coursera-python-assignments).
* [Coursera Applied Machine Learning in Python (University of Michigan)](https://www.coursera.org/learn/python-machine-learning) \- smaller course in terms of time, 4 weeks, but with using Python
* [Sentdex series of Machine learning](https://pythonprogramming.net/machine-learning-tutorial-python-introduction/) \- he is a very active YouTube Python Blogger, so with 72 videos in the course he covered quite a lot. They also have they own Discord chat for questions.
* [course.fast.ai](https://course.fast.ai) \- Practical Deep Learning for Coders, v3, this is a third version of this course, which means this guy has some experience in teaching. The course itself is using [fast.ai](https://fast.ai) (his own lib) and PyTorch
* [Stanford Course on YouTube](https://www.youtube.com/playlist?list=PL3FW7Lu3i5JvHM8ljYj-zLfQRF3EO8sYv)
* [MIT 6.S094: Deep Learning for Self-Driving Cars](https://selfdrivingcars.mit.edu/)
* [Google's Machine Learning Crash Course with
/r/Python
https://redd.it/aoriqo
Hi guys,
​
Have a pretty good experience in Python and want to build a new ML skill.
​
What would you recommend for me? Books, courses, videos etc
​
Thank you.
​
PS: Since a lot of people give a very good recommendation here, I would like to summarize something in the topic:
* [scikit-learn documentation](https://scikit-learn.org/stable/index.html) has a lot of good examples.
* [Coursera Machine Learning by Andrew NG (Stanford)](https://www.coursera.org/learn/machine-learning) \- it is more theoretical course, ±3month long. Without using Python, but Octave/Matlab . Python assignments for the machine learning class can be found in [this github repo](https://github.com/dibgerge/ml-coursera-python-assignments).
* [Coursera Applied Machine Learning in Python (University of Michigan)](https://www.coursera.org/learn/python-machine-learning) \- smaller course in terms of time, 4 weeks, but with using Python
* [Sentdex series of Machine learning](https://pythonprogramming.net/machine-learning-tutorial-python-introduction/) \- he is a very active YouTube Python Blogger, so with 72 videos in the course he covered quite a lot. They also have they own Discord chat for questions.
* [course.fast.ai](https://course.fast.ai) \- Practical Deep Learning for Coders, v3, this is a third version of this course, which means this guy has some experience in teaching. The course itself is using [fast.ai](https://fast.ai) (his own lib) and PyTorch
* [Stanford Course on YouTube](https://www.youtube.com/playlist?list=PL3FW7Lu3i5JvHM8ljYj-zLfQRF3EO8sYv)
* [MIT 6.S094: Deep Learning for Self-Driving Cars](https://selfdrivingcars.mit.edu/)
* [Google's Machine Learning Crash Course with
/r/Python
https://redd.it/aoriqo
Coursera
Supervised Machine Learning: Regression and Classification
In the first course of the Machine Learning ... Enroll for free.
Anyone able to help resolve this Jupyter-lab error?
https://bbs.archlinux.org/viewtopic.php?id=244078
/r/IPython
https://redd.it/aosxgk
https://bbs.archlinux.org/viewtopic.php?id=244078
/r/IPython
https://redd.it/aosxgk
Example app that uses testing framework
I’ve developed using Django for awhile now, but admittedly have never built an app that used unit tests or the built in testing framework. I’d like to change this in 2019, but tend to learn best by examining working code rather than from books/videos.
Does anyone have a good, preferably small-ish/simple project using Django that incorporates unit tests they could recommend as an example that is open source?
/r/django
https://redd.it/aoyhzh
I’ve developed using Django for awhile now, but admittedly have never built an app that used unit tests or the built in testing framework. I’d like to change this in 2019, but tend to learn best by examining working code rather than from books/videos.
Does anyone have a good, preferably small-ish/simple project using Django that incorporates unit tests they could recommend as an example that is open source?
/r/django
https://redd.it/aoyhzh
reddit
r/django - Example app that uses testing framework
8 votes and 7 comments so far on Reddit
How to deploy Gunicorn behind Nginx in a shared instance
https://medium.com/@RafaelBattesti/how-to-deploy-gunicorn-behind-nginx-in-a-shared-instance-f336d2ba4519
/r/Python
https://redd.it/aox99q
https://medium.com/@RafaelBattesti/how-to-deploy-gunicorn-behind-nginx-in-a-shared-instance-f336d2ba4519
/r/Python
https://redd.it/aox99q
ITNEXT
How to deploy Gunicorn behind Nginx in a shared instance
Use a cloud instance to deploy 2 environments for Flask API.
[D] The Limitations of Deep Learning for Vision and How We Might Fix Them
Newest article from the Gradient discussion what deep learning can and can't do. [https://thegradient.pub/the-limitations-of-visual-deep-learning-and-how-we-might-fix-them/](https://thegradient.pub/the-limitations-of-visual-deep-learning-and-how-we-might-fix-them/)
/r/MachineLearning
https://redd.it/aova4j
Newest article from the Gradient discussion what deep learning can and can't do. [https://thegradient.pub/the-limitations-of-visual-deep-learning-and-how-we-might-fix-them/](https://thegradient.pub/the-limitations-of-visual-deep-learning-and-how-we-might-fix-them/)
/r/MachineLearning
https://redd.it/aova4j
The Gradient
Limitations of Deep Learning for Vision, and How We Might Fix Them
History of Deep Learning We are witnessing the third rise of deep learning. The first two waves — 1950s–1960s and 1980s–1990s — generated considerable excitement but slowly ran out of steam, since these neural networks neither achieved their promised performance…
I recreated Flappy Bird in Python with Pygame!
The link to the GitHub page is [here](https://github.com/carterjean/Flappy-Bird-in-Pygame/).
I thought that to learn Pygame I would start with a physics heavy, yet retro game.
On the page, you can download the images and file and play it for yourself!
One problem that I found is that I couldn’t find a way to automatically restart the game :/
If you have any problems with the game, just leave a comment and I’ll try and fix it!
Edit : not sure why there’s a massive picture of Garfield there but okay
Edit 2 : oh that’s my profile pic never mind
/r/Python
https://redd.it/ap0dwe
The link to the GitHub page is [here](https://github.com/carterjean/Flappy-Bird-in-Pygame/).
I thought that to learn Pygame I would start with a physics heavy, yet retro game.
On the page, you can download the images and file and play it for yourself!
One problem that I found is that I couldn’t find a way to automatically restart the game :/
If you have any problems with the game, just leave a comment and I’ll try and fix it!
Edit : not sure why there’s a massive picture of Garfield there but okay
Edit 2 : oh that’s my profile pic never mind
/r/Python
https://redd.it/ap0dwe
GitHub
GitHub - carterjean/Flappy-Bird-in-Pygame: its in the title
its in the title. Contribute to carterjean/Flappy-Bird-in-Pygame development by creating an account on GitHub.
Accessing child relations when overriding save()
I am trying to wrap up my first app using Django (specifically Django Rest Framework which may change the save behavior), but have run into an issue that I haven't been able to solve for about 10 hours now.
I am trying to override the save() method of a model to modify a field on a bunch of child objects when it is created; however, I can't figure out any way get the objects or ids for the children.
My code looks something like:
~~~
class Parent(models.Model):
"""When I create this, I want the children to be modified."""
def save(self, *args, **kwargs):
if not self.pk:
self._begin(*args, **kwargs)
else:
super(Parent, self).save(*args, **kwargs)
def _begin(self, *args, **kwargs):
super(Parent, self).save(*args, **kwargs)
print(self.child_set.all()) # --> This gives: "<QuerySet []>"
for i in self.child_set.all():
/r/django
https://redd.it/ap1t7f
I am trying to wrap up my first app using Django (specifically Django Rest Framework which may change the save behavior), but have run into an issue that I haven't been able to solve for about 10 hours now.
I am trying to override the save() method of a model to modify a field on a bunch of child objects when it is created; however, I can't figure out any way get the objects or ids for the children.
My code looks something like:
~~~
class Parent(models.Model):
"""When I create this, I want the children to be modified."""
def save(self, *args, **kwargs):
if not self.pk:
self._begin(*args, **kwargs)
else:
super(Parent, self).save(*args, **kwargs)
def _begin(self, *args, **kwargs):
super(Parent, self).save(*args, **kwargs)
print(self.child_set.all()) # --> This gives: "<QuerySet []>"
for i in self.child_set.all():
/r/django
https://redd.it/ap1t7f
reddit
r/django - Accessing child relations when overriding save()
1 vote and 0 comments so far on Reddit
[D] Adversary, Attractor, Astonishment : Subverting traps in Human vs AI games
Hi,
​
I am an AI PhD student at MIT and I just wrote an (hype neutral) article discussing human vs AI in games in the context of the recent AlphaStar agent that learns to play Starcraft 2.
​
Specifically, I discuss under which circumstances is it hopeless for a human to win, and under which circumstances do we have a good shot. Link here: [https://medium.com/@evanthebouncy/adversary-attractor-astonishment-cea801d761](https://medium.com/@evanthebouncy/adversary-attractor-astonishment-cea801d761)
​
It should be a good read ! !
​
I can answer any questions here as well, I do not work for DeepMind so I can be more frank in my answers, but at the same times these answers will largely be speculative as I do not work directly on the project.
/r/MachineLearning
https://redd.it/aoyhgd
Hi,
​
I am an AI PhD student at MIT and I just wrote an (hype neutral) article discussing human vs AI in games in the context of the recent AlphaStar agent that learns to play Starcraft 2.
​
Specifically, I discuss under which circumstances is it hopeless for a human to win, and under which circumstances do we have a good shot. Link here: [https://medium.com/@evanthebouncy/adversary-attractor-astonishment-cea801d761](https://medium.com/@evanthebouncy/adversary-attractor-astonishment-cea801d761)
​
It should be a good read ! !
​
I can answer any questions here as well, I do not work for DeepMind so I can be more frank in my answers, but at the same times these answers will largely be speculative as I do not work directly on the project.
/r/MachineLearning
https://redd.it/aoyhgd
Medium
Adversary, Attractor, Astonishment
Subverting traps in Human vs AI games
Executing python code in pygame window
Hello everyone! I’m hoping someone can point me in the right direction. I made a text-based game using python. It requires text input for answering questions, navigating etc. The game works fine with no problems. I later realized that I wanted to add some graphics which lead me to pygame. My question is whether I am able to run my game in the pygame window or do I have to start from scratch. I just want my current game to run in the pygame window so that I can also add graphics to it. I’m completely new to all this. Thank you!
/r/Python
https://redd.it/ap256m
Hello everyone! I’m hoping someone can point me in the right direction. I made a text-based game using python. It requires text input for answering questions, navigating etc. The game works fine with no problems. I later realized that I wanted to add some graphics which lead me to pygame. My question is whether I am able to run my game in the pygame window or do I have to start from scratch. I just want my current game to run in the pygame window so that I can also add graphics to it. I’m completely new to all this. Thank you!
/r/Python
https://redd.it/ap256m
reddit
r/Python - Executing python code in pygame window
3 votes and 1 comment so far on Reddit
Django zappa setup with aws postgres rds
i have created a django api deployed on lambda using zappa . Then i created postgres instance on rds after that connected with pgadmin4 and created a database but when i am entering rds username, password and database name which i created with pgadmin4 . its not working also updated the latest one with zappa.
i am confused which database name i should enter the one i created with pgadmin4 or one with the localhost
/r/django
https://redd.it/ap3qva
i have created a django api deployed on lambda using zappa . Then i created postgres instance on rds after that connected with pgadmin4 and created a database but when i am entering rds username, password and database name which i created with pgadmin4 . its not working also updated the latest one with zappa.
i am confused which database name i should enter the one i created with pgadmin4 or one with the localhost
/r/django
https://redd.it/ap3qva
reddit
r/django - Django zappa setup with aws postgres rds
1 vote and 0 comments so far on Reddit
This media is not supported in your browser
VIEW IN TELEGRAM
My implementation of 3 NLP models for text classification in Pytorch and Tensorflow
/r/IPython
https://redd.it/ap52lc
/r/IPython
https://redd.it/ap52lc
What to choose Django CMS or Wagtail?
Hi. I have read many tutorials about this two CMS and have tried demos, but couldn't finally choose what is better for my project.
The main purpose is simplicity for developer add/edit pages and project scalability - many fields of different types and dependencies between them. (Field changes it's value or range depends of another field choosing)
Who has practice working with this two frameworks?
/r/django
https://redd.it/ap61wv
Hi. I have read many tutorials about this two CMS and have tried demos, but couldn't finally choose what is better for my project.
The main purpose is simplicity for developer add/edit pages and project scalability - many fields of different types and dependencies between them. (Field changes it's value or range depends of another field choosing)
Who has practice working with this two frameworks?
/r/django
https://redd.it/ap61wv
reddit
r/django - What to choose Django CMS or Wagtail?
10 votes and 7 comments so far on Reddit
I am having trouble with extensions in JupyerLab: Code folding
Hi!
I have been happy to see that code folding seems to be implemented in JupyerLab:
[commit on github](https://github.com/jupyterlab/jupyterlab/pull/5761)
I am kind of new to github. It says, that this pull request is merged to the master branch. But how do I get this version? Do I simply update jupyter lab?
And how do I activate the extension? I installed nodejs according to the [extensions documentation](https://jupyterlab.readthedocs.io/en/stable/user/extensions.html).
I have been searching the web a lot about how to do this, but have not been able to do that.
I am running jupyter lab 0.35.4
/r/IPython
https://redd.it/ap6g38
Hi!
I have been happy to see that code folding seems to be implemented in JupyerLab:
[commit on github](https://github.com/jupyterlab/jupyterlab/pull/5761)
I am kind of new to github. It says, that this pull request is merged to the master branch. But how do I get this version? Do I simply update jupyter lab?
And how do I activate the extension? I installed nodejs according to the [extensions documentation](https://jupyterlab.readthedocs.io/en/stable/user/extensions.html).
I have been searching the web a lot about how to do this, but have not been able to do that.
I am running jupyter lab 0.35.4
/r/IPython
https://redd.it/ap6g38
GitHub
Code folding by fcollonval · Pull Request #5761 · jupyterlab/jupyterlab
Fixes #4083
Screenshots
Screenshots
How difficult is it and how long does it take to become a remote Django developer?
I’ve been studying Django on and off for the past year or so. I’m hoping to become a django fullstack developer as soon as possible. For those who were able to become a remote developer, can you shed some light on your experience and the route you took? Is it difficult to become a remote developer and how long did it take you to become that?
Also, what stack are you on? Is it easier to become a django backend and do JavaScript angular/react etc front end instead of doing just Django for both?
I’d like to travel and work at the same time so any tips or advices would be appreciated.
/r/django
https://redd.it/apae3w
I’ve been studying Django on and off for the past year or so. I’m hoping to become a django fullstack developer as soon as possible. For those who were able to become a remote developer, can you shed some light on your experience and the route you took? Is it difficult to become a remote developer and how long did it take you to become that?
Also, what stack are you on? Is it easier to become a django backend and do JavaScript angular/react etc front end instead of doing just Django for both?
I’d like to travel and work at the same time so any tips or advices would be appreciated.
/r/django
https://redd.it/apae3w
reddit
r/django - How difficult is it and how long does it take to become a remote Django developer?
9 votes and 4 comments so far on Reddit