Easiest way to get notified when a new user signs up
What's the easiest way to get notified when a new user signs up (I'm currently using django allauth). Should I just get final signup view to send out an email or is there already an inbuilt way to manage this?
/r/django
https://redd.it/878bip
What's the easiest way to get notified when a new user signs up (I'm currently using django allauth). Should I just get final signup view to send out an email or is there already an inbuilt way to manage this?
/r/django
https://redd.it/878bip
reddit
Easiest way to get notified when a new user signs up • r/django
What's the easiest way to get notified when a new user signs up (I'm currently using django allauth). Should I just get final signup view to send...
New Python 3.7 DataClasses and Alternatives
https://youtu.be/xszmahhwhB8
/r/Python
https://redd.it/87diqm
https://youtu.be/xszmahhwhB8
/r/Python
https://redd.it/87diqm
YouTube
New Python 3.7 DataClasses and Alternatives
I will give some introduction to the the new Python 3.7 feature DataClasses, and compare them to using traditional class attributes and slots. code at: https...
[N] Waymo rumoured to announce self-driving cars in NYC tomorrow
https://twitter.com/johnkrafcik/status/978328638482460672
/r/MachineLearning
https://redd.it/87c4r9
https://twitter.com/johnkrafcik/status/978328638482460672
/r/MachineLearning
https://redd.it/87c4r9
Twitter
John Krafcik
Stay tuned for some @Waymo news tomorrow 🍎🚗🚗🚗
[R] Using deep learning to model the hierarchical structure and function of a cell
https://www.nature.com/articles/nmeth.4627
/r/MachineLearning
https://redd.it/87gwrc
https://www.nature.com/articles/nmeth.4627
/r/MachineLearning
https://redd.it/87gwrc
Nature
Using deep learning to model the hierarchical structure and function of a cell
Nature Methods - Embedding a deep-learning model in the known structure of cellular systems yields DCell, a ‘visible’ neural network that can be used to mechanistically interpret...
Best Practice for connecting and using MySQL DB in Flask. [Discussion]
Hey Guys,
Need some help. I am building a flask app based on a lot of DB Work. I am currently using flask_mysqldb. I am having issues with this (I posted last night about returning values). It seems clunky and not super robust.
I am looking for recommendations as to what to replace it with.
I need to be able to (Read and Write to tables). (Call stored procedures with Return Parameters). (Read from Views).
Any ideas and or options would be welcomed. Especially if it handles error handling well.
/r/flask
https://redd.it/87g5my
Hey Guys,
Need some help. I am building a flask app based on a lot of DB Work. I am currently using flask_mysqldb. I am having issues with this (I posted last night about returning values). It seems clunky and not super robust.
I am looking for recommendations as to what to replace it with.
I need to be able to (Read and Write to tables). (Call stored procedures with Return Parameters). (Read from Views).
Any ideas and or options would be welcomed. Especially if it handles error handling well.
/r/flask
https://redd.it/87g5my
reddit
Best Practice for connecting and using MySQL DB in... • r/flask
Hey Guys, Need some help. I am building a flask app based on a lot of DB Work. I am currently using flask_mysqldb. I am having issues with this...
What's everyone working on this week?
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/87ip5d
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/87ip5d
reddit
What's everyone working on this week? • r/Python
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your...
Thinking Recursively in Python (Functions & Data Structures Tutorial)
https://realpython.com/python-thinking-recursively/
/r/Python
https://redd.it/87k3rn
https://realpython.com/python-thinking-recursively/
/r/Python
https://redd.it/87k3rn
Realpython
Thinking Recursively in Python – Real Python
Learn how to work with recursion in your Python programs by mastering concepts such as recursive functions and recursive data structures.
DNS setting and MX records question
I currently have my django project to send outgoing emails via mailgun which I have setup 2 MX records in cloudflare.
I've also just setup a support email on zoho so we can manage incoming emails.
However zoho mentions that we should only have their two mx records and we should delete others.
I'm not sure if I delete the others records ( 2 for mailgun and there also seems to be about 5 pre-existing ones for cloudflare - not clear what these are for). if that will stop mailgun etc... from working - or is it ok to leave the other mx records in tact.
(Also does anyone know a good link which can explain what the mx records are doing more fully?)
Thanks.
/r/djangolearning
https://redd.it/87h3st
I currently have my django project to send outgoing emails via mailgun which I have setup 2 MX records in cloudflare.
I've also just setup a support email on zoho so we can manage incoming emails.
However zoho mentions that we should only have their two mx records and we should delete others.
I'm not sure if I delete the others records ( 2 for mailgun and there also seems to be about 5 pre-existing ones for cloudflare - not clear what these are for). if that will stop mailgun etc... from working - or is it ok to leave the other mx records in tact.
(Also does anyone know a good link which can explain what the mx records are doing more fully?)
Thanks.
/r/djangolearning
https://redd.it/87h3st
reddit
DNS setting and MX records question • r/djangolearning
I currently have my django project to send outgoing emails via mailgun which I have setup 2 MX records in cloudflare. I've also just setup a...
[R] Learning to write programs that generate images | DeepMind
https://deepmind.com/blog/learning-to-generate-images/
/r/MachineLearning
https://redd.it/87j3yv
https://deepmind.com/blog/learning-to-generate-images/
/r/MachineLearning
https://redd.it/87j3yv
Deepmind
Learning to write programs that generate images
Through a human’s eyes, the world is much more than just the images reflected in our corneas. For example, when we look at a building and admire the intricacies of its design, we can appreciate the craftsmanship it requires. This ability to interpret objects…
Applied Machine Learning in Python - Machine Learning is today a buzzword and you do not really know what it is until you do it. The University of Michigan has put together a great program that takes you from the basics of Python to the latest Machine Learning techniques.
http://www.courserapro.com/learn/python-machine-learning
/r/Python
https://redd.it/87mkt7
http://www.courserapro.com/learn/python-machine-learning
/r/Python
https://redd.it/87mkt7
Coursera
Applied Machine Learning in Python | Coursera
Applied Machine Learning in Python from University of ...
Looking for in-person training classes in the DC, MD, VA area
I just started working on some projects at work that will require me to learn python. I’ve got a bit of programming background but nothing formal or in-depth. Boss man told me to try to find a 3-5 day boot camp type class for Python that I can attend locally.
I’ve done some quick google searches but didn’t find anything happening in DC area other than purely online stuff. I’d prefer a class in April/May, if possible. Not having to travel would be best, but I could do short distance travel to the class if necessary.
Anyone have a good source to look for training classes? Python.org had some classes listed but still mainly online, or in Europe.
Thanks for the help!
/r/Python
https://redd.it/87n2xy
I just started working on some projects at work that will require me to learn python. I’ve got a bit of programming background but nothing formal or in-depth. Boss man told me to try to find a 3-5 day boot camp type class for Python that I can attend locally.
I’ve done some quick google searches but didn’t find anything happening in DC area other than purely online stuff. I’d prefer a class in April/May, if possible. Not having to travel would be best, but I could do short distance travel to the class if necessary.
Anyone have a good source to look for training classes? Python.org had some classes listed but still mainly online, or in Europe.
Thanks for the help!
/r/Python
https://redd.it/87n2xy
reddit
Looking for in-person training classes in the DC, MD,... • r/Python
I just started working on some projects at work that will require me to learn python. I’ve got a bit of programming background but nothing formal...
Make Reddit Bot in Python - From Start to Finish - 20 Minute Projects
https://youtu.be/ujflrixMl8I
/r/Python
https://redd.it/87l1e7
https://youtu.be/ujflrixMl8I
/r/Python
https://redd.it/87l1e7
YouTube
Make a Reddit Bot in Python - From Start to Finish - 20 Minute Tutorial
I'm now on patreon - https://www.patreon.com/DrRoach This quick and simple tutorial will teach you how to create your very own reddit post bot from start to finish.
EDIT: at 15:41 it should be "errors = errors + 1" sorry
Like and subscribe for more, also…
EDIT: at 15:41 it should be "errors = errors + 1" sorry
Like and subscribe for more, also…
Is there a fast way to look up classes and methods?
One of thing things I find very frustrating about learning and using python is trying to find classes and their methods. Does anyone know of a better way to find classes and methods in the python standard library besides the search engine at [docs.python.org](https://docs.python.org/3)?
I'm looking for something like Ruby's [ruby-doc](https://ruby-doc.org/core-2.5.0/) where you can type and it instantly filters the list of classes or methods. [http://docs.gl](http://docs.gl/) is also similar to this.
/r/Python
https://redd.it/87oyj8
One of thing things I find very frustrating about learning and using python is trying to find classes and their methods. Does anyone know of a better way to find classes and methods in the python standard library besides the search engine at [docs.python.org](https://docs.python.org/3)?
I'm looking for something like Ruby's [ruby-doc](https://ruby-doc.org/core-2.5.0/) where you can type and it instantly filters the list of classes or methods. [http://docs.gl](http://docs.gl/) is also similar to this.
/r/Python
https://redd.it/87oyj8
Where to begin with Python?
Hi everyone! I'm a CS student and so far all I have learned is C++ in most of my courses. During this upcoming summer I'd like to sit down and learn as much Python as I can, or that's my goal anyway. Do any of you recommend any Book, YouTube channel, Course, Website, or any good resource that you'd think is great for someone that knows some programming yet haven't touched Python. I know I can "Google" a lot of theses things, but maybe someone in here has a good tip, insight, advice, for me.
/r/Python
https://redd.it/87po0z
Hi everyone! I'm a CS student and so far all I have learned is C++ in most of my courses. During this upcoming summer I'd like to sit down and learn as much Python as I can, or that's my goal anyway. Do any of you recommend any Book, YouTube channel, Course, Website, or any good resource that you'd think is great for someone that knows some programming yet haven't touched Python. I know I can "Google" a lot of theses things, but maybe someone in here has a good tip, insight, advice, for me.
/r/Python
https://redd.it/87po0z
reddit
Where to begin with Python? • r/Python
Hi everyone! I'm a CS student and so far all I have learned is C++ in most of my courses. During this upcoming summer I'd like to sit down and...
My attempt at histogram_equalization (Digital Image Processing)
Does this seem correct? Is there anything I can do to improve speeds?
def histogram_equalization(image):
try:
assert len(image.shape) == 2
except ValueError as e: #what exception
image = imread(image)
assert len(image.shape) == 2
source, indicies, counts =np.unique(image, return_inverse= True, return_counts = True)
s_cdf = np.cumsum(counts).astype(np.float64)
s_cdf /= s_cdf[-1]
new_values = np.around(s_cdf * source).astype('uint8')
new_image = new_values[indicies].reshape(image.shape)
return new_image
/r/Python
https://redd.it/87o21t
Does this seem correct? Is there anything I can do to improve speeds?
def histogram_equalization(image):
try:
assert len(image.shape) == 2
except ValueError as e: #what exception
image = imread(image)
assert len(image.shape) == 2
source, indicies, counts =np.unique(image, return_inverse= True, return_counts = True)
s_cdf = np.cumsum(counts).astype(np.float64)
s_cdf /= s_cdf[-1]
new_values = np.around(s_cdf * source).astype('uint8')
new_image = new_values[indicies].reshape(image.shape)
return new_image
/r/Python
https://redd.it/87o21t
reddit
My attempt at histogram_equalization (Digital Image... • r/Python
Does this seem correct? Is there anything I can do to improve speeds? def histogram_equalization(image): try: assert...
28,165 thousand django running servers are exposed on the internet, many are showing secret API keys, database passwords, amazon AWS keys.
https://twitter.com/6IX7ine/status/978598496658960384
/r/django
https://redd.it/87qcf4
https://twitter.com/6IX7ine/status/978598496658960384
/r/django
https://redd.it/87qcf4
Twitter
Fábio Castro 🦄
28,165 thousand django running servers are exposed on the internet, many are showing secret API keys, database passwords, amazon AWS keys. A small line http GET http://54.251.149.60:8081/ --body | grep 'DATABASE_URL\|Mysql\|AWS' #Shodan #django #hacking #cybersecurity…
Why table shows no data using a custom table template in django-tables2 ?
https://stackoverflow.com/questions/49524134/why-table-shows-no-data-using-a-custom-table-template-in-django-tables2
/r/djangolearning
https://redd.it/87niqk
https://stackoverflow.com/questions/49524134/why-table-shows-no-data-using-a-custom-table-template-in-django-tables2
/r/djangolearning
https://redd.it/87niqk
Stackoverflow
Why table shows no data using a custom table template in django-tables2?
I am using django-tables to create a table from my model to display it on a page.
I have created the folowing tables.py file:
class OpenBetsTable(tables.Table):
class Meta:
model = B...
I have created the folowing tables.py file:
class OpenBetsTable(tables.Table):
class Meta:
model = B...
Building RESTful APIs and using Websockets (3 hour video course)
Hey everyone,
I don't post here too often but I'm the author behind the [Build a SAAS App with Flask course](https://buildasaasappwithflask.com/).
I just wanted to let you know that I recently added a big free update to that course which covers building a RESTful API and even hooking up websockets too. If you're wondering what tech stack is used, it includes Flask, Docker, Postgres, Flask-Classful, Flask-JWT-Extended, Marshmallow and Pusher.
**It's a free update for anyone who bought the main course at https://buildasaasappwithflask.com/**.
If your scroll down to about the middle of the page there's a 5 minute demo video showing what we'll build. Think of this as a companion to the main course.
Thanks so much for the support over the years, and this is only 1 of a few large free updates that I will be adding to the course over time.
If you have any questions, please don't hesitate to ask.
/r/flask
https://redd.it/87sacz
Hey everyone,
I don't post here too often but I'm the author behind the [Build a SAAS App with Flask course](https://buildasaasappwithflask.com/).
I just wanted to let you know that I recently added a big free update to that course which covers building a RESTful API and even hooking up websockets too. If you're wondering what tech stack is used, it includes Flask, Docker, Postgres, Flask-Classful, Flask-JWT-Extended, Marshmallow and Pusher.
**It's a free update for anyone who bought the main course at https://buildasaasappwithflask.com/**.
If your scroll down to about the middle of the page there's a 5 minute demo video showing what we'll build. Think of this as a companion to the main course.
Thanks so much for the support over the years, and this is only 1 of a few large free updates that I will be adding to the course over time.
If you have any questions, please don't hesitate to ask.
/r/flask
https://redd.it/87sacz
Nick Janetakis
Learn to Build Web Applications with Flask and Docker
A video course where you'll Learn how to build a real world web application with Flask, Celery, Redis, PostgreSQL and Stripe.
Jupyter keeps breaking.
I am brand new to python and I am trying to use the jupyter notebook as I work through an Edx course on Python. The notebooks work, maybe four or five times before they no longer work. I've tried refreshing the book, but I'll be half-way through coding assignment and consistently, the notebooks will just stop working.
Any thoughts on why? It would be a tremendous time saver if I could do the coursework without having to start a new notebook every five minutes.
Thanks!
/r/IPython
https://redd.it/87t1h4
I am brand new to python and I am trying to use the jupyter notebook as I work through an Edx course on Python. The notebooks work, maybe four or five times before they no longer work. I've tried refreshing the book, but I'll be half-way through coding assignment and consistently, the notebooks will just stop working.
Any thoughts on why? It would be a tremendous time saver if I could do the coursework without having to start a new notebook every five minutes.
Thanks!
/r/IPython
https://redd.it/87t1h4
reddit
Jupyter keeps breaking. • r/IPython
I am brand new to python and I am trying to use the jupyter notebook as I work through an Edx course on Python. The notebooks work, maybe four or...