[D] How common is porn in datasets?
Earlier on today I had an issue with annotation data on an image in the coco-text 2014 dataset, I display the image, and it's a dude in a bunny suit screwing a woman with the caption "The fuck bunny says congratulation in his own very special way" ([sfw crop I think](https://i.imgur.com/MVUcPlL.png)). Is that a common occurrence? I'm not very happy to have that pop on my screen with coworkers around!
/r/MachineLearning
https://redd.it/89dfg7
Earlier on today I had an issue with annotation data on an image in the coco-text 2014 dataset, I display the image, and it's a dude in a bunny suit screwing a woman with the caption "The fuck bunny says congratulation in his own very special way" ([sfw crop I think](https://i.imgur.com/MVUcPlL.png)). Is that a common occurrence? I'm not very happy to have that pop on my screen with coworkers around!
/r/MachineLearning
https://redd.it/89dfg7
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/89e4yf
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/89e4yf
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...
Aiming to fill skill gaps in AI, Microsoft makes training courses available to the public
Hi guys.
I came across this in r/technews and thought it would be useful here; particularly if you are looking at using python for data analysis/machine learning etc.
>This computer science course provides an overview of AI, and explains how it can be used to build smart apps that help organizations be more efficient and enrich people’s lives. It uses a mix of engaging lectures and hands-on activities to help you take your first steps in the exciting field of AI.
[Link to Microsoft Blog](https://blogs.microsoft.com/ai/microsoft-professional-program-ai/?utm_source=reddit&utm_campaign=75010&utm_term=technews)
[Link to Microsoft course](https://academy.microsoft.com/en-us/professional-program/tracks/artificial-intelligence/)
/r/Python
https://redd.it/89b73q
Hi guys.
I came across this in r/technews and thought it would be useful here; particularly if you are looking at using python for data analysis/machine learning etc.
>This computer science course provides an overview of AI, and explains how it can be used to build smart apps that help organizations be more efficient and enrich people’s lives. It uses a mix of engaging lectures and hands-on activities to help you take your first steps in the exciting field of AI.
[Link to Microsoft Blog](https://blogs.microsoft.com/ai/microsoft-professional-program-ai/?utm_source=reddit&utm_campaign=75010&utm_term=technews)
[Link to Microsoft course](https://academy.microsoft.com/en-us/professional-program/tracks/artificial-intelligence/)
/r/Python
https://redd.it/89b73q
Microsoft News
Aiming to fill skill gaps in AI, Microsoft makes training courses available to the public
Microsoft announces the Microsoft Professional Program in AI, the latest learning track teaching artificial intelligence skills open to the public.
Ways to implement license control in an app developed in python
Hi, my company is currently converting some apps in C (most of them over 20 years old) to python. These apps though use a C library that controls that they are only used in certain machines (the library has pre loaded hostids and checks if the host id of the machine the software is running is on that list) and for some real time computation some of the apps store transaction data in memory and the license file also has store the max number of records that is allowed in memory for that particular app for the particular customer (based on hostid also).
Since this license library is in C and is always delivered to customers compiled, customers cannot tamper with it. I am looking for ways to implement something similar in python (which the app is a set of py files and can be easily read) that is also hard to temper with. Does anyone have any ideas around this? I suppose this would be of common interest for apps that depend on licenses for execution in general.
Thank you
/r/Python
https://redd.it/89hxn8
Hi, my company is currently converting some apps in C (most of them over 20 years old) to python. These apps though use a C library that controls that they are only used in certain machines (the library has pre loaded hostids and checks if the host id of the machine the software is running is on that list) and for some real time computation some of the apps store transaction data in memory and the license file also has store the max number of records that is allowed in memory for that particular app for the particular customer (based on hostid also).
Since this license library is in C and is always delivered to customers compiled, customers cannot tamper with it. I am looking for ways to implement something similar in python (which the app is a set of py files and can be easily read) that is also hard to temper with. Does anyone have any ideas around this? I suppose this would be of common interest for apps that depend on licenses for execution in general.
Thank you
/r/Python
https://redd.it/89hxn8
reddit
Ways to implement license control in an app developed... • r/Python
Hi, my company is currently converting some apps in C (most of them over 20 years old) to python. These apps though use a C library that controls...
Tens of thousands of misconfigured Django apps leak sensitive data
https://securityaffairs.co/wordpress/70869/hacking/django-apps-misconfigured.html
/r/django
https://redd.it/89cinc
https://securityaffairs.co/wordpress/70869/hacking/django-apps-misconfigured.html
/r/django
https://redd.it/89cinc
Security Affairs
Tens of thousands of misconfigured Django apps leak sensitive data
The security researcher Fábio Castro discovered tens of thousands of Django apps that expose sensitive data because developers forget to disable the debug mode.
Loop better: A deeper look at iteration in Python
https://opensource.com/article/18/3/loop-better-deeper-look-iteration-python
/r/Python
https://redd.it/896fag
https://opensource.com/article/18/3/loop-better-deeper-look-iteration-python
/r/Python
https://redd.it/896fag
Opensource.com
Loop better: A deeper look at iteration in Python
Python's for loops don't work the way for loops do in other languages.
Plot spacing
Is there a way to add more space between histogram plots in the same output cell? I have 50 histograms generated from the same cell and they appear too close together to clearly read, Im curious if there is a way to add more space between them without having unique cells for each plot. [Here is an screenshot of what I'm talking about.](http://i65.tinypic.com/168a5ax.png)
I've have tried to google around for an answer but cant seem to find one.
/r/IPython
https://redd.it/892gta
Is there a way to add more space between histogram plots in the same output cell? I have 50 histograms generated from the same cell and they appear too close together to clearly read, Im curious if there is a way to add more space between them without having unique cells for each plot. [Here is an screenshot of what I'm talking about.](http://i65.tinypic.com/168a5ax.png)
I've have tried to google around for an answer but cant seem to find one.
/r/IPython
https://redd.it/892gta
Starting a plotly dash app from another py file
Hey guys,
I'm experiencing a weird issue with plotly dash that I can't seem to figure out.
When the dash app is run by itself, it works perfectly fine. The server starts up, gives the debug pin, and you can access it from the web browser.
Now here is the issue I am having.
I have created a text-based menu when you pick an option, it executes a def, and executes a specific part of the program.
When I import the dash app into the menu, and try and call it, it will run as I get the following:
* Running on http://127.0.0.1:8050/ (Press CTRL+C to quit)
* Restarting with stat
But after this, I don't get the debugger pin or anything else, and when I go to the page in firefox, it just spins as if it's loading but won't show anything.
How would I properly call this?
Thanks!
/r/Python
https://redd.it/89k7r1
Hey guys,
I'm experiencing a weird issue with plotly dash that I can't seem to figure out.
When the dash app is run by itself, it works perfectly fine. The server starts up, gives the debug pin, and you can access it from the web browser.
Now here is the issue I am having.
I have created a text-based menu when you pick an option, it executes a def, and executes a specific part of the program.
When I import the dash app into the menu, and try and call it, it will run as I get the following:
* Running on http://127.0.0.1:8050/ (Press CTRL+C to quit)
* Restarting with stat
But after this, I don't get the debugger pin or anything else, and when I go to the page in firefox, it just spins as if it's loading but won't show anything.
How would I properly call this?
Thanks!
/r/Python
https://redd.it/89k7r1
reddit
Starting a plotly dash app from another py file • r/Python
Hey guys, I'm experiencing a weird issue with plotly dash that I can't seem to figure out. When the dash app is run by itself, it works...
Best way to handle categories in a generic ListView?
So on the Home page of my app (which is redirected to /issues/) I have a list of "Issues" that I'm generating with a generic ListView:
class IssueListView(generic.ListView):
model = Issue
This currently loads all the Issues. I am adding a sidebar to that page that can be clicked to load different categories of Issue, so I'd like the url to be updated like /issues/<category>/.
Do I need to write a new IssueCategoryView class to do this? Or maybe I should amend the app so that the Home page is /issues/all/ and have a default "all" category that all Issues belong to?
I'm sure this is straightforward but I just want to make sure I'm doing this correctly before proceeding.
Thanks
/r/django
https://redd.it/89jxrn
So on the Home page of my app (which is redirected to /issues/) I have a list of "Issues" that I'm generating with a generic ListView:
class IssueListView(generic.ListView):
model = Issue
This currently loads all the Issues. I am adding a sidebar to that page that can be clicked to load different categories of Issue, so I'd like the url to be updated like /issues/<category>/.
Do I need to write a new IssueCategoryView class to do this? Or maybe I should amend the app so that the Home page is /issues/all/ and have a default "all" category that all Issues belong to?
I'm sure this is straightforward but I just want to make sure I'm doing this correctly before proceeding.
Thanks
/r/django
https://redd.it/89jxrn
reddit
Best way to handle categories in a generic ListView? • r/django
So on the Home page of my app (which is redirected to /issues/) I have a list of "Issues" that I'm generating with a generic ListView: class...
What are your freelance experiences with Django?
What kind of web app is probably the most requested? How much does such a project pay? Do the clients look specifically for Python in Django solution for their job or it just happens they stumble upon Python programmer who does it?
I'm wondering because I'm a hobbyist and I wondered how things look from progressional's perspective.
/r/djangolearning
https://redd.it/89ke00
What kind of web app is probably the most requested? How much does such a project pay? Do the clients look specifically for Python in Django solution for their job or it just happens they stumble upon Python programmer who does it?
I'm wondering because I'm a hobbyist and I wondered how things look from progressional's perspective.
/r/djangolearning
https://redd.it/89ke00
reddit
What are your freelance experiences with Django? • r/djangolearning
What kind of web app is probably the most requested? How much does such a project pay? Do the clients look specifically for Python in Django...
Python Script to Analyze 10+ Years of My Facebook Data
https://www.leejamesrobinson.com/blog/analyzing-10-years-of-facebook-data/
/r/Python
https://redd.it/89kjiu
https://www.leejamesrobinson.com/blog/analyzing-10-years-of-facebook-data/
/r/Python
https://redd.it/89kjiu
Lee Robinson
Analyzing 10+ Years of My Facebook Data - Lee Robinson
Which year was I the most active? Who has commented on my pictures the most? How many songs have I streamed?
Is it possible to have multiple post requests in one route() decorator?
Is it possible to have multiple post requests in one route() decorator?
What I'd like to achieve is to have one html page with multiple forms.
I tried something like this but doesn't seem to work.
@app.route('/', methods=['GET', 'POST'])
def index():
if request.method == 'POST':
do_a= request.form['do_a'];
do_b= request.form['do_b'];
else:
....
return render_template('base.html')
Thanks
/r/flask
https://redd.it/89nlgx
Is it possible to have multiple post requests in one route() decorator?
What I'd like to achieve is to have one html page with multiple forms.
I tried something like this but doesn't seem to work.
@app.route('/', methods=['GET', 'POST'])
def index():
if request.method == 'POST':
do_a= request.form['do_a'];
do_b= request.form['do_b'];
else:
....
return render_template('base.html')
Thanks
/r/flask
https://redd.it/89nlgx
reddit
Is it possible to have multiple post requests in one... • r/flask
Is it possible to have multiple post requests in one route() decorator? What I'd like to achieve is to have one html page with multiple forms. I...
ELI5 Why do I want to use a tuple instead of a list They seem basically the same other than mutable/immutable
I just don't see the value add. But I end up dealing with them a lot.
/r/Python
https://redd.it/89l4fi
I just don't see the value add. But I end up dealing with them a lot.
/r/Python
https://redd.it/89l4fi
reddit
ELI5 Why do I want to use a tuple instead of a list... • r/Python
I just don't see the value add. But I end up dealing with them a lot.
[Ask Flask] Is there reason to use db.Column, db.String etc in flask-sqlalchemy instead of sqlalchemy Column, String etc?
I came into Python from languages with very strong language servers and autocompletion due to static typing and I really like Python 3 types system, because it helps very much to develop and avoid most common errors especially for newcomers like me (correct methods, properties and types are suggested by language server/autocomplete)
But I discovered that db from flask_sqlalchemy does not have many members which are being used in clean sqlalchemy environment in a snap with suggestions from editor.
Is there any reason documentation has db.String instead of
from sqlalchemy import String, Column, ...
?
Thanks!
P.S. (link to flask-sqlalchemy doc: http://flask-sqlalchemy.pocoo.org/2.3/models/#simple-example )
/r/flask
https://redd.it/89n3jd
I came into Python from languages with very strong language servers and autocompletion due to static typing and I really like Python 3 types system, because it helps very much to develop and avoid most common errors especially for newcomers like me (correct methods, properties and types are suggested by language server/autocomplete)
But I discovered that db from flask_sqlalchemy does not have many members which are being used in clean sqlalchemy environment in a snap with suggestions from editor.
Is there any reason documentation has db.String instead of
from sqlalchemy import String, Column, ...
?
Thanks!
P.S. (link to flask-sqlalchemy doc: http://flask-sqlalchemy.pocoo.org/2.3/models/#simple-example )
/r/flask
https://redd.it/89n3jd
reddit
[Ask Flask] Is there reason to use db.Column, db.String... • r/flask
I came into Python from languages with very strong language servers and autocompletion due to static typing and I really like Python 3 types...
Data Science Interview Guide
https://medium.com/@sadatnazrul/data-science-interview-guide-4ee9f5dc778
/r/pystats
https://redd.it/89khc1
https://medium.com/@sadatnazrul/data-science-interview-guide-4ee9f5dc778
/r/pystats
https://redd.it/89khc1
Towards Data Science
Data Science Interview Guide
Data Science is quite a large and diverse field. As a result, it is really difficult to be a jack of all trades. Traditionally, Data…
[P]s The 2018 Stanford CS224n NLP course projects are now online. A lot of them are pretty impressive.
http://web.stanford.edu/class/cs224n/reports.html
/r/MachineLearning
https://redd.it/89i9h8
http://web.stanford.edu/class/cs224n/reports.html
/r/MachineLearning
https://redd.it/89i9h8
reddit
[P]s The 2018 Stanford CS224n NLP course... • r/MachineLearning
46 points and 8 comments so far on reddit
Best Free Online Courses for Learning Python, C++, Java & Android Development
https://medium.com/@naasifn/best-free-online-courses-for-learning-python-c-java-android-development-1a9a67afb850
/r/Python
https://redd.it/89o4h2
https://medium.com/@naasifn/best-free-online-courses-for-learning-python-c-java-android-development-1a9a67afb850
/r/Python
https://redd.it/89o4h2
Medium
Best Free Online Courses for Learning Python, C++, Java & Android Development
Here is a list of free online courses on udemy for learning Java, C++ and Python. Here I have added courses I found helpful for beginners…