Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
[D] Interview with the VP of Research at NVIDIA on ML Research & Research at NVIDIA

Hi All,

I run a non-monetised, ad-free podcast a service to the community where I interview my ML Heroes.

I had the privilege to interview one of the pioneers of the ML: Bryan Catanzaro about his journey into ML, Research at NVIDIA and beyond.

[Video](https://www.youtube.com/watch?v=guJT5GOiNjA)

[Audio](https://anchor.fm/chaitimedatascience/episodes/Bryan-Catanzaro--Research-at-NVIDIA--RTX-3000--Deep-Learning--CTDS-Show-101-ej4sql)

If you have any suggestions on how to improve the podcast or any guest recommendations, I'd be happy to take them. Hope you enjoy the interview!

Thanks!

/r/MachineLearning
https://redd.it/ivnh9i
This media is not supported in your browser
VIEW IN TELEGRAM
Just want to share with you some recent updates on spolarfy.com, my personal project that helps me find similar songs on Spotify. Enjoy your Saturday!

/r/flask
https://redd.it/ivpu4n
My first django site

Happy to finally create my first project after picking up programming earlier this year. It's nothing special, but I'm glad to have made it here. There's a lot more to learn, so do give me some feedback and suggestions! I used django for the backend, and some basic JS, HTML and CSS for the front end. It's basically a student council management site so there's not much to it, but I'd love to hear some criticism and ways to improve it!

[xmumsc.herokuapp.com](https://xmumsc.herokuapp.com)

/r/django
https://redd.it/ivrpbz
Sunday megathread: 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/iw3hs1
Typing speed test right in your terminal

I started this project as a beginner 6 months back. But now both the project and me have grown up to an intermediate level!

​

https://preview.redd.it/rg0s472ao4o51.png?width=518&format=png&auto=webp&s=95dafdd2078f2ffa8c32f2624d6bebae390e63c2

Check it out on github [here](https://github.com/Mithil467/mitype) or you can also run the online [repl](https://mitype.mithil467.repl.run/) but the latency is very high on web

/r/Python
https://redd.it/ivvamv
This media is not supported in your browser
VIEW IN TELEGRAM
Made this Twitter like website using Django. My second Django project.

/r/django
https://redd.it/ivykki
[D] Which mobile apps are based on On-Device AI

There are many On-Device AI framworks/libraries such as Tensorflow Lite and Pytorch Mobile, but I wonder about what are the apps which have on-device AI functionality/ which have ML models inside the app

/r/MachineLearning
https://redd.it/iw96bn
In ipyparallel, how does one reset the namespace of the engines without restarting them?

If I'm not mistaken, each engine in ipyparallel has its own persistent namespace. As a result, if I import some module **M** in **engine\_i**, kill the main process (client code), and finally modify **M,** simply restarting the main process (client code) will not be sufficient for the changes in **M** to be reloaded in **engine\_i**.

The most reliable way to solve that problem so far has been to kill/reset all engines, but it is really tedious as I have to make a lot of frequent modifications to modules that are imported to engines.

I've tried reloading/deep\_reloading modules in engines, using the magics %reset etc, but to no avail. Is there a trivial way to reset engine namespaces? I can't believe that all developpers working with ipyparallel constantly kill/restart clusters.

Thanks for your help.

PS: if farming reputation on stackoverflow is your thing, I've made a more detailed post [here](https://stackoverflow.com/questions/63968732/ipyparallel-what-is-the-most-reliable-way-to-clear-reset-engine-namespaces-with).

/r/IPython
https://redd.it/iwaqrz
Python decorators

Hi, decorator are useful and quite simple to use, at the beginning they may seem a little complex, but once you get the way they work they can save you tons of time keeping the code in order, making it more readable, mantainable and flexible. Have a look at the code into this repo [GH repository](https://github.com/formazione/python_cheatsheet) and take a look at the video in this post [https://youtu.be/C62Nu4yFFsM](https://youtu.be/C62Nu4yFFsM)

​

https://preview.redd.it/nxgaiwg839o51.png?width=800&format=png&auto=webp&s=3775c3192774f3598a3443a5c8e6ca136ba723c5

/r/Python
https://redd.it/iw8ytp
Why have I not been using f-strings...

I have been using format() for a few years now and just realized how amazing f strings are.

/r/Python
https://redd.it/iwdzzx
Need to make a web app that shares info (through dashboards) and handles basic automation, but should be incredibly secure - is Flask the right tool for the job.

I figured I would make a Flask portal where clients could log in and access visualizations (tool I will use is Dash) of various sorts we need them to see.

Depending on the person logged in, this flask app would also allow some degree of automation to be done - I.e. the user just clicks stuff on the site and some code runs on the backend and executes the necessary results.

Given that I've always been itching to get into web development, the first thing that came to mind was Flask. But I'm not sure about the security aspect of things.

1. I will be hosting the flask app on an EC2 instance and fetching data from our prod DB essentially via an SQL connection - is this something that is generally completely safe, given the environment variables will probably be access keys to our DB
2. Is it possible to implement industry standard MFA mechanisms into the login process, say through OTPs or Google Authenticator
3. Some of the automation I have in mind will involve interfacing with AWS APIs, which again means the environment variables will need to be access and secret keys. Is this generally safe?

/r/flask
https://redd.it/iwbkpz
Monday megathread: Project ideas!

Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with how you found it and attach some source code!

/r/Python
https://redd.it/iwpexy
This media is not supported in your browser
VIEW IN TELEGRAM
[R] Photorealistic Rendering and 3D Scene Reconstruction - Double free zoom lecture by the author of both papers

/r/MachineLearning
https://redd.it/iwl0b9
Original Zen of Python

/r/Python
https://redd.it/iwoml8
How to handle forever-incremental Models and setup Meta-Models?

Been trying to properly get started with Django on-off, but there are just some things I cannot work out. Been using Flask for smaller projects now with SQLAlchemy & Celery because it's way more straight forward. But now that I want to start building something bigger and focus on it, I wanted to get some – probably basic – questions out of the way.

Let's assume we're a bank. And we're making a model for `client`, `account` and `transactions`.

1. Because we're a bank, we do not want to rely on simply updating an `account balance` value, but evaluate the account's balance by evaluating every transaction that was ever made on said account to see how much the current value is. **Q:** after a while this gets quite big and takes long to compute; how do you *squash* to say "hey, this is the current value – calculated on Sept 1st – you only have to re-evaluate new transactions for said account starting Sept 1? Like how do we handle that on a database/model level and how do we run the task?

2. We have multiple `account` types a `client` can have, with various conditions (like monthly cost, max

/r/django
https://redd.it/iwhbv7
Help

Hello Everyone,

I need help with my Django project, which is about rating the professors of my college. Part I'm Struck with is, I want to give an option for the user to give an anonymous rating if they wish to.

/r/django
https://redd.it/iwu2zb