The Scientific Paper Is Obsolete. Here's What's Next.
https://www.theatlantic.com/science/archive/2018/04/the-scientific-paper-is-obsolete/556676/
/r/IPython
https://redd.it/8a5vdy
https://www.theatlantic.com/science/archive/2018/04/the-scientific-paper-is-obsolete/556676/
/r/IPython
https://redd.it/8a5vdy
The Atlantic
The Scientific Paper Is Obsolete
Here's what's next.
The Scientific Paper Is Obsolete. Here's What's Next.
https://www.theatlantic.com/science/archive/2018/04/the-scientific-paper-is-obsolete/556676/
/r/IPython
https://redd.it/8a2kgp
https://www.theatlantic.com/science/archive/2018/04/the-scientific-paper-is-obsolete/556676/
/r/IPython
https://redd.it/8a2kgp
The Atlantic
The Scientific Paper Is Obsolete
Here's what's next.
I created a visualization of the Newton Raphson method using my open source visualization library: https://github.com/ryu577/pyray
https://www.youtube.com/watch?v=acsSIyDugP0
/r/Python
https://redd.it/8a5k9g
https://www.youtube.com/watch?v=acsSIyDugP0
/r/Python
https://redd.it/8a5k9g
GitHub
GitHub - ryu577/pyray: A 3d rendering library written completely in python.
A 3d rendering library written completely in python. - ryu577/pyray
The DOs and DON’Ts of Principal Component Analysis
https://medium.com/@sadatnazrul/the-dos-and-donts-of-principal-component-analysis-7c2e9dc8cc48
/r/pystats
https://redd.it/8a5ppx
https://medium.com/@sadatnazrul/the-dos-and-donts-of-principal-component-analysis-7c2e9dc8cc48
/r/pystats
https://redd.it/8a5ppx
Medium
The DOs and DON’Ts of Principal Component Analysis
With all the numerous Machine Learning tools available at our disposal, one of my favourite and most used algorithm is Principal Component…
Change the Jupyter Notebook font to Comic Sans
I know this might not be the place to ask this question, but I am a TA and I want to annoy my students. I found this guy [jupyter themes](https://github.com/dunovank/jupyter-themes) who changes the theme for the notebook, but to my chagrin, the themes available do not have comic sans. Would like to hear from you guys soon. Thank you!
/r/Python
https://redd.it/8a8jb8
I know this might not be the place to ask this question, but I am a TA and I want to annoy my students. I found this guy [jupyter themes](https://github.com/dunovank/jupyter-themes) who changes the theme for the notebook, but to my chagrin, the themes available do not have comic sans. Would like to hear from you guys soon. Thank you!
/r/Python
https://redd.it/8a8jb8
GitHub
GitHub - dunovank/jupyter-themes: Custom Jupyter Notebook Themes
Custom Jupyter Notebook Themes. Contribute to dunovank/jupyter-themes development by creating an account on GitHub.
The Snake and the Horse: How Wallaroo's Python API Works With Pony · Wallaroo Labs
https://blog.wallaroolabs.com/2018/04/the-snake-and-the-horse-how-wallaroos-python-api-works-with-pony/
/r/Python
https://redd.it/8a94bf
https://blog.wallaroolabs.com/2018/04/the-snake-and-the-horse-how-wallaroos-python-api-works-with-pony/
/r/Python
https://redd.it/8a94bf
Wallaroolabs
The Snake and the Horse: How Wallaroo's Python API Works With Pony
Official blog of the Wallaroo Labs Engineering team
Software Development Design Principles
https://medium.com/@sadatnazrul/software-development-design-principles-79d15ef765f3
/r/pystats
https://redd.it/8a2ll7
https://medium.com/@sadatnazrul/software-development-design-principles-79d15ef765f3
/r/pystats
https://redd.it/8a2ll7
Medium
Software Development Design Principles
When people start out as self-taught programmers, a lot of the times we think about creating an application that simply works. It works…
Stream real-time data into Excel with Python!
Hi again /r/Python!
We're [Gridarrow](https://www.gridarrow.com/), a small startup from Amsterdam. [A few months ago](https://www.reddit.com/r/Python/comments/6u9psy/stream_realtime_data_into_excel_with_python/) we've announced our product here - a platform for streaming real-time data into Excel using Python scripts.
We're happy to let you know that we're open for Beta signups now! You can join us using a form on [our website](https://www.gridarrow.com/).
[Here's how the platform works](https://www.gridarrow.com/docs/getting-started/). Also go ahead a check out [our blog](https://www.gridarrow.com/blog/) where we showcase a couple of cool things you can do with Gridarrow.
For example:
- [Streaming real-time stock prices into Excel](https://www.gridarrow.com/blog/streaming-realtime-stock-prices-into-excel/)
- [Live news sentiment analysis using pysentiment](https://www.gridarrow.com/blog/financial-news-sentiment-analysis-using-xignite-and-pysentiment/)
- [Real-time Twitter map in your spreadsheet](https://www.gridarrow.com/blog/creating-a-realtime-twitter-map/)
We're really curious to hear your feedback!
Cheers!
The Gridarrow Team
/r/Python
https://redd.it/8a97gs
Hi again /r/Python!
We're [Gridarrow](https://www.gridarrow.com/), a small startup from Amsterdam. [A few months ago](https://www.reddit.com/r/Python/comments/6u9psy/stream_realtime_data_into_excel_with_python/) we've announced our product here - a platform for streaming real-time data into Excel using Python scripts.
We're happy to let you know that we're open for Beta signups now! You can join us using a form on [our website](https://www.gridarrow.com/).
[Here's how the platform works](https://www.gridarrow.com/docs/getting-started/). Also go ahead a check out [our blog](https://www.gridarrow.com/blog/) where we showcase a couple of cool things you can do with Gridarrow.
For example:
- [Streaming real-time stock prices into Excel](https://www.gridarrow.com/blog/streaming-realtime-stock-prices-into-excel/)
- [Live news sentiment analysis using pysentiment](https://www.gridarrow.com/blog/financial-news-sentiment-analysis-using-xignite-and-pysentiment/)
- [Real-time Twitter map in your spreadsheet](https://www.gridarrow.com/blog/creating-a-realtime-twitter-map/)
We're really curious to hear your feedback!
Cheers!
The Gridarrow Team
/r/Python
https://redd.it/8a97gs
Gridarrow
Gridarrow - Live data in Excel for your team
Gridarrow pulls data from any source and updates the spreadsheets of your whole team in real-time. It's the missing server for Excel.
How can I make urls.py recognized as python file again? This way I can't use autocomplete and syntax helps
/r/django
https://redd.it/8acsvo
/r/django
https://redd.it/8acsvo
How to make your Software Development experience… painless….
https://medium.com/@sadatnazrul/how-to-make-your-software-development-experience-painless-2591ebcc69b6
/r/pystats
https://redd.it/89wuxi
https://medium.com/@sadatnazrul/how-to-make-your-software-development-experience-painless-2591ebcc69b6
/r/pystats
https://redd.it/89wuxi
Towards Data Science
How to make your Software Development experience… painless….
Working at all forms of organizations (from large software development oriented to niche start ups to academic labs), I have noticed that…
Free review copies of "Cracking Codes with Python" are available. (Physical print copies, not ebook!)
Cracking Codes with Python teaches complete beginners how to program in the Python programming language. The book features the source code to several ciphers and hacking programs for these ciphers.
If you'd like to receive a free print copy of Cracking Codes with Python, please email the author at al@inventwithpython.com. You'll receive a free ebook to read, and upon posting a review to Amazon, you will receive a complementary print review copy of the book.
Please post an honest review. You will receive a print book no matter what your rating is. The only requirements are that the review be a minimum of 100 words, you must live within the United States (due to shipping costs), and that you email me first before writing the review.
Because the book is under a Creative Commons license you can also, as always, read the HTML book online for free at https://inventwithpython.com/cracking/
/r/Python
https://redd.it/8acbs9
Cracking Codes with Python teaches complete beginners how to program in the Python programming language. The book features the source code to several ciphers and hacking programs for these ciphers.
If you'd like to receive a free print copy of Cracking Codes with Python, please email the author at al@inventwithpython.com. You'll receive a free ebook to read, and upon posting a review to Amazon, you will receive a complementary print review copy of the book.
Please post an honest review. You will receive a print book no matter what your rating is. The only requirements are that the review be a minimum of 100 words, you must live within the United States (due to shipping costs), and that you email me first before writing the review.
Because the book is under a Creative Commons license you can also, as always, read the HTML book online for free at https://inventwithpython.com/cracking/
/r/Python
https://redd.it/8acbs9
Inventwithpython
Cracking Codes with Python
A Page in : Cracking Codes with Python
March 2018 release of Saleor (an e-commerce platform)
https://medium.com/saleor/march-release-of-saleor-c3c1e4c03406
/r/django
https://redd.it/8a9icu
https://medium.com/saleor/march-release-of-saleor-c3c1e4c03406
/r/django
https://redd.it/8a9icu
Medium
March Release of Saleor
March 2018 release of Saleor is out! During this iteration we were working on multiple new features both in the storefront and the…
How do I use/ access a foreign key in views in Django?
I am making a programing etymology site in Django. It will have the etymology/history of programing terms. or
For example the term LET (in ECMA6):
> Let is a mathematical statement that was adopted by early programming languages like Scheme and Basic.
I am not clear on how to write views.
For instance, I want to return the term let and the text of the let terms. Let is in the Term table and text is in the Etymology table.
**EXAMPLE**
Here is what I would like to see returned for term_name=Let.
LET:
Let is a mathematical statement that was adopted by early programming languages like Scheme and Basic. Variables are considered low level entities not suitable for higher levels of abstraction, thus the desire of many language designers to introduce similar but more powerful concepts like in Clojure, F#, Scala, where let might mean a value, or a variable that can be assigned....
**MODELS**
Here are my models.
class Term(models.Model):
term_name=models.CharField(max_length=150)
term_type=models.CharField(max_length=150) #type of command
term_pub_date=models.DateTimeField('Term Pub Date')
def __str__(self):
return self.term_name
class Etymology(models.Model):
term = models.ForeignKey(Term, on_delete=models.CASCADE)
etymology_text=models.TextField()
classification=models.CharField(max_length=150) #prog or tool reference
etymology_votes = models.IntegerField(default=0)
# rating=
# user=
etymology_pub_date=models.DateTimeField('Ety date published')
def __str__(self):
return self.etymology_text[:50] + "..."
class Comment(models.Model):
etymology = models.ForeignKey(Etymology, on_delete=models.CASCADE)
comment_text= models.TextField()
comment_votes = models.IntegerField(default=0)
#rating=
#user=
comment_pub_date=models.DateTimeField('com pub date')
def __str__(self):
return self.comment_text[:50] + "..."
How do I write a view which accesses two tables at once. How would I write the view to return what I want to see from my models?
FYI:
Using Django 2.02 and Python 3.6. Also, I not highly experienced so simple
Citation:
JavaScript?, W. (2018). Why was the name 'let' chosen for block-scoped variable declarations in JavaScript?.
/r/django
https://redd.it/8ad8pe
I am making a programing etymology site in Django. It will have the etymology/history of programing terms. or
For example the term LET (in ECMA6):
> Let is a mathematical statement that was adopted by early programming languages like Scheme and Basic.
I am not clear on how to write views.
For instance, I want to return the term let and the text of the let terms. Let is in the Term table and text is in the Etymology table.
**EXAMPLE**
Here is what I would like to see returned for term_name=Let.
LET:
Let is a mathematical statement that was adopted by early programming languages like Scheme and Basic. Variables are considered low level entities not suitable for higher levels of abstraction, thus the desire of many language designers to introduce similar but more powerful concepts like in Clojure, F#, Scala, where let might mean a value, or a variable that can be assigned....
**MODELS**
Here are my models.
class Term(models.Model):
term_name=models.CharField(max_length=150)
term_type=models.CharField(max_length=150) #type of command
term_pub_date=models.DateTimeField('Term Pub Date')
def __str__(self):
return self.term_name
class Etymology(models.Model):
term = models.ForeignKey(Term, on_delete=models.CASCADE)
etymology_text=models.TextField()
classification=models.CharField(max_length=150) #prog or tool reference
etymology_votes = models.IntegerField(default=0)
# rating=
# user=
etymology_pub_date=models.DateTimeField('Ety date published')
def __str__(self):
return self.etymology_text[:50] + "..."
class Comment(models.Model):
etymology = models.ForeignKey(Etymology, on_delete=models.CASCADE)
comment_text= models.TextField()
comment_votes = models.IntegerField(default=0)
#rating=
#user=
comment_pub_date=models.DateTimeField('com pub date')
def __str__(self):
return self.comment_text[:50] + "..."
How do I write a view which accesses two tables at once. How would I write the view to return what I want to see from my models?
FYI:
Using Django 2.02 and Python 3.6. Also, I not highly experienced so simple
Citation:
JavaScript?, W. (2018). Why was the name 'let' chosen for block-scoped variable declarations in JavaScript?.
/r/django
https://redd.it/8ad8pe
reddit
How do I use/ access a foreign key in views in Django? • r/django
I am making a programing etymology site in Django. It will have the etymology/history of programing terms. or For example the term LET (in...
Python: How to lock external dependencies and keep internal loose
https://medium.com/@peterdemin/python-how-to-lock-external-dependencies-and-keep-internal-loose-1752359c1d2f
/r/Python
https://redd.it/8adazm
https://medium.com/@peterdemin/python-how-to-lock-external-dependencies-and-keep-internal-loose-1752359c1d2f
/r/Python
https://redd.it/8adazm
Medium
Python: How to lock external dependencies and keep internal loose
This insight came to me while working on the current project. We are developing a rather complex Django application, and when it came to a…
[P] A Tsetlin Machine Implementation (Not from paper author)
https://github.com/222464/TsetlinMachine
/r/MachineLearning
https://redd.it/8abdfx
https://github.com/222464/TsetlinMachine
/r/MachineLearning
https://redd.it/8abdfx
GitHub
222464/TsetlinMachine
TsetlinMachine - An implementation of the Tsetlin machine in C++
[AF] Factoryboy and Foreign Keys
I'm using factoryboy to build factories (for testing) but I'm not sure what to do with the foreign keys. I have a scenario similar to this (using flask-sqlalchemy):
class User(db.Model):
id = db.Column(db.Integer, primary_key = True)
posts = db.relationship('Post', backref = 'author')
class Post(db.Model):
id = db.Column(db.Integer, primary_key = True)
user_id = db.Column(db.Integer, db.ForeignKey('user.id'))
Right now, I have implemented this:
class BaseFactory(SQLAlchemyModelFactory):
class Meta:
abstract = True
sqlalchemy_session = db.session
class UserFactory(BaseFactory):
id = Sequence (lambda n: n)
posts = SubFactory(PostFactory)
class Meta:
model = User
class PostFactory(BaseFactory):
id = Sequence (lambda n: n)
user_id = ????
class Meta:
model = Post
What goes into my `user_id` field?
/r/flask
https://redd.it/8a7db8
I'm using factoryboy to build factories (for testing) but I'm not sure what to do with the foreign keys. I have a scenario similar to this (using flask-sqlalchemy):
class User(db.Model):
id = db.Column(db.Integer, primary_key = True)
posts = db.relationship('Post', backref = 'author')
class Post(db.Model):
id = db.Column(db.Integer, primary_key = True)
user_id = db.Column(db.Integer, db.ForeignKey('user.id'))
Right now, I have implemented this:
class BaseFactory(SQLAlchemyModelFactory):
class Meta:
abstract = True
sqlalchemy_session = db.session
class UserFactory(BaseFactory):
id = Sequence (lambda n: n)
posts = SubFactory(PostFactory)
class Meta:
model = User
class PostFactory(BaseFactory):
id = Sequence (lambda n: n)
user_id = ????
class Meta:
model = Post
What goes into my `user_id` field?
/r/flask
https://redd.it/8a7db8
reddit
[AF] Factoryboy and Foreign Keys • r/flask
I'm using factoryboy to build factories (for testing) but I'm not sure what to do with the foreign keys. I have a scenario similar to this (using...
Are there any reasons to use Flask-Bcrypt over passlib with bcrypt?
I am used to using passlib with bcrypt to hash passwords. It seems like the Flask-Bcrypt extension is very popular to use with Flask, but are there any specific reasons I should use that over passlib? At a quick glance, they seem to do the same thing, but also low level encryption isn't really my strong area. Thanks for any advice.
/r/flask
https://redd.it/89xbdl
I am used to using passlib with bcrypt to hash passwords. It seems like the Flask-Bcrypt extension is very popular to use with Flask, but are there any specific reasons I should use that over passlib? At a quick glance, they seem to do the same thing, but also low level encryption isn't really my strong area. Thanks for any advice.
/r/flask
https://redd.it/89xbdl
reddit
Are there any reasons to use Flask-Bcrypt over passlib... • r/flask
I am used to using passlib with bcrypt to hash passwords. It seems like the Flask-Bcrypt extension is very popular to use with Flask, but are...
Suggestions regarding what to learn in Python for GUI Programming?
I am a beginner in python and want to learn GUI Programming, but am a little confused as to which library to choose, therefore I want suggestions regarding which library to choose to learn which is popular and has varied amount of functions to work on.
/r/Python
https://redd.it/8agrdx
I am a beginner in python and want to learn GUI Programming, but am a little confused as to which library to choose, therefore I want suggestions regarding which library to choose to learn which is popular and has varied amount of functions to work on.
/r/Python
https://redd.it/8agrdx
reddit
Suggestions regarding what to learn in Python for GUI... • r/Python
I am a beginner in python and want to learn GUI Programming, but am a little confused as to which library to choose, therefore I want suggestions...