D Why is most mechanistic interpretability research only published as preprints or blog articles ?
The more I dive into this topic, the more I see that the common practice is to publish your work on forums as blog articles instead of in peer-reviewed publications.
This makes work less trust-worthy and credible. I see that Anthropic does not publish on conferences as you can't reproduce their work. However, there is still a large amount of work "only" available as blog articles.
/r/MachineLearning
https://redd.it/1icw2pi
The more I dive into this topic, the more I see that the common practice is to publish your work on forums as blog articles instead of in peer-reviewed publications.
This makes work less trust-worthy and credible. I see that Anthropic does not publish on conferences as you can't reproduce their work. However, there is still a large amount of work "only" available as blog articles.
/r/MachineLearning
https://redd.it/1icw2pi
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Object oriented programming with python
Hello,
I have a bit of hard time understanding OOP in python such as class, instance, method, class variable, instance variable, instantiation, and etc. Are there good video clips where I can conceptualize this logic visually and explain well? I feel like I kinda understand but then I am not 100% sure if I get the concept correctly. It's a bit confusing for me to understand clearly on these topics. I was wondering if there is a resource which explains these concepts very well with line by line interpretation of what they are and what they do in python coding. Thanks in advance!
/r/Python
https://redd.it/1id8t6d
Hello,
I have a bit of hard time understanding OOP in python such as class, instance, method, class variable, instance variable, instantiation, and etc. Are there good video clips where I can conceptualize this logic visually and explain well? I feel like I kinda understand but then I am not 100% sure if I get the concept correctly. It's a bit confusing for me to understand clearly on these topics. I was wondering if there is a resource which explains these concepts very well with line by line interpretation of what they are and what they do in python coding. Thanks in advance!
/r/Python
https://redd.it/1id8t6d
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Struggling to Authenticate Google API Creds with Flask & Docker
Hi, I'm new to Flask and have built a simple webapp to parse a schedule in raw text and add it to a google calendar. The app works perfectly in a virtual python environment, but I decided to add rate limiting with Redis and Docker, and since then have been swamped with issues. At first the site wouldn't even load due to issues with Redis. Now it does, but when I attempt to authenticate Google API credentials, I get this error: An error occurred: [Errno 98\] Address already in use. Can anyone here help me solve this?
/r/flask
https://redd.it/1icr3u5
Hi, I'm new to Flask and have built a simple webapp to parse a schedule in raw text and add it to a google calendar. The app works perfectly in a virtual python environment, but I decided to add rate limiting with Redis and Docker, and since then have been swamped with issues. At first the site wouldn't even load due to issues with Redis. Now it does, but when I attempt to authenticate Google API credentials, I get this error: An error occurred: [Errno 98\] Address already in use. Can anyone here help me solve this?
/r/flask
https://redd.it/1icr3u5
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
How to manage multiple files from multiple users?
So I have a server which takes files from the user, process it and return the processed files back to the user.
For example, a user uploads 2 files, server process that 2 files and returns 2 new files back.
Now if there are 10 users using the application at the same time, sending 2 files each, how to make sure that they get back their respective files??
Edit:
One way i can think if is using unique id to store each files in a separate directory or something of sort but is there any more efficient way to achieve this as i need to scale this application to atleast handle 1000 users at a time
/r/flask
https://redd.it/1ibwpqu
So I have a server which takes files from the user, process it and return the processed files back to the user.
For example, a user uploads 2 files, server process that 2 files and returns 2 new files back.
Now if there are 10 users using the application at the same time, sending 2 files each, how to make sure that they get back their respective files??
Edit:
One way i can think if is using unique id to store each files in a separate directory or something of sort but is there any more efficient way to achieve this as i need to scale this application to atleast handle 1000 users at a time
/r/flask
https://redd.it/1ibwpqu
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
No Hype DeepSeek-R1 Reading List
Over the past \~1.5 years I've been running a research paper club where we dive into interesting/foundational papers in AI/ML. So we naturally have come across a lot of the papers that lead up to DeepSeek-R1. While diving into the DeepSeek papers this week, I decided to compile a list of papers that we've already gone over or I think would be good background reading to get a bigger picture of what's going on under the hood of DeepSeek.
Grab a cup of coffee and enjoy!
https://www.oxen.ai/blog/no-hype-deepseek-r1-reading-list
/r/MachineLearning
https://redd.it/1ideupn
Over the past \~1.5 years I've been running a research paper club where we dive into interesting/foundational papers in AI/ML. So we naturally have come across a lot of the papers that lead up to DeepSeek-R1. While diving into the DeepSeek papers this week, I decided to compile a list of papers that we've already gone over or I think would be good background reading to get a bigger picture of what's going on under the hood of DeepSeek.
Grab a cup of coffee and enjoy!
https://www.oxen.ai/blog/no-hype-deepseek-r1-reading-list
/r/MachineLearning
https://redd.it/1ideupn
The creators of ruff and uv are building a new static type checker for Python
Quoting this post on X:
> We’re building a new static type checker for Python, from scratch, in Rust.
> From a technical perspective, it’s probably our most ambitious project yet. We’re about 800 PRs deep!
> Like Ruff and uv, there will be a significant focus on performance.
> The entire system is designed to be highly incremental so that it can eventually power a language server (e.g., only re-analyze affected files on code change).
> Performance is just one of many goals, though.
> For example: we're investing heavily in strong theoretical foundations and a consistent model of Python's typing semantics.
> (We're lucky to have @carljm and @AlexWaygood on the team for many reasons, this is one of them.)
> Another goal: minimizing false positives, especially on untyped code, to make it easier for projects to adopt a type checker and expand coverage gradually over time, without being swamped in bogus type errors from the start.
> Warning: this project is not ready for real-world user testing, and certainly not for production use (yet). The core architecture is there, but we're still lacking support for some critical features.
> Right now, I'd only recommend trying it out if you're looking to contribute.
> For now, we're working towards
/r/Python
https://redd.it/1idk4ko
Quoting this post on X:
> We’re building a new static type checker for Python, from scratch, in Rust.
> From a technical perspective, it’s probably our most ambitious project yet. We’re about 800 PRs deep!
> Like Ruff and uv, there will be a significant focus on performance.
> The entire system is designed to be highly incremental so that it can eventually power a language server (e.g., only re-analyze affected files on code change).
> Performance is just one of many goals, though.
> For example: we're investing heavily in strong theoretical foundations and a consistent model of Python's typing semantics.
> (We're lucky to have @carljm and @AlexWaygood on the team for many reasons, this is one of them.)
> Another goal: minimizing false positives, especially on untyped code, to make it easier for projects to adopt a type checker and expand coverage gradually over time, without being swamped in bogus type errors from the start.
> Warning: this project is not ready for real-world user testing, and certainly not for production use (yet). The core architecture is there, but we're still lacking support for some critical features.
> Right now, I'd only recommend trying it out if you're looking to contribute.
> For now, we're working towards
/r/Python
https://redd.it/1idk4ko
Reddit
From the Python community on Reddit: The creators of ruff and uv are building a new static type checker for Python
Explore this post and more from the Python community
PSA: PyPI now supports project archival
From the PyPI blog: https://blog.pypi.org/posts/2025-01-30-archival/
> Support for marking projects as archived has landed on PyPI. Maintainers can now archive a project to let users know that the project is not expected to receive any more updates.
> This allows users to make better decisions about which packages they depend on, especially regarding supply-chain security, since archived projects clearly signal that no future security fixes or maintenance should be expected.
> Project archival is not deletion: archiving a project does not remove it from the index, and does not prevent users from installing it. Archival is purely a user-controlled marker that gives project owners the ability to signal a project’s status; PyPI has no plans to delete or prune archived distributions.
> Support for archival is built on top of the project quarantine feature. Read more about that feature in PyPI’s December 2024 blog post. You can also find more details about the project archival’s implementation on the Trail of Bits blog.
/r/Python
https://redd.it/1idv6ql
From the PyPI blog: https://blog.pypi.org/posts/2025-01-30-archival/
> Support for marking projects as archived has landed on PyPI. Maintainers can now archive a project to let users know that the project is not expected to receive any more updates.
> This allows users to make better decisions about which packages they depend on, especially regarding supply-chain security, since archived projects clearly signal that no future security fixes or maintenance should be expected.
> Project archival is not deletion: archiving a project does not remove it from the index, and does not prevent users from installing it. Archival is purely a user-controlled marker that gives project owners the ability to signal a project’s status; PyPI has no plans to delete or prune archived distributions.
> Support for archival is built on top of the project quarantine feature. Read more about that feature in PyPI’s December 2024 blog post. You can also find more details about the project archival’s implementation on the Trail of Bits blog.
/r/Python
https://redd.it/1idv6ql
blog.pypi.org
PyPI Now Supports Project Archival - The Python Package Index Blog
Projects on PyPI can now be marked as archived.
DjangoNinja specific community
Hey folks, I just created this https://www.reddit.com/r/DjangoNinja/ if others are building on django-ninja.
/r/django
https://redd.it/1idwwdh
Hey folks, I just created this https://www.reddit.com/r/DjangoNinja/ if others are building on django-ninja.
/r/django
https://redd.it/1idwwdh
Reddit
r/DjangoNinja
Community for folks building on django-ninja.
Note that I am not vitalik, but if he or others want to join on moderation would welcome the help.
Note that I am not vitalik, but if he or others want to join on moderation would welcome the help.
d Why is "knowledge distillation" now suddenly being labelled as theft?
We all know that distillation is a way to approximate a more accurate transformation. But we also know that that's also where the entire idea ends.
What's even wrong about distillation? The entire fact that "knowledge" is learnt from mimicing the outputs make 0 sense to me. Of course, by keeping the inputs and outputs same, we're trying to approximate a similar transformation function, but that doesn't actually mean that it does. I don't understand how this is labelled as theft, especially when the entire architecture and the methods of training are different.
/r/MachineLearning
https://redd.it/1idjtta
We all know that distillation is a way to approximate a more accurate transformation. But we also know that that's also where the entire idea ends.
What's even wrong about distillation? The entire fact that "knowledge" is learnt from mimicing the outputs make 0 sense to me. Of course, by keeping the inputs and outputs same, we're trying to approximate a similar transformation function, but that doesn't actually mean that it does. I don't understand how this is labelled as theft, especially when the entire architecture and the methods of training are different.
/r/MachineLearning
https://redd.it/1idjtta
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Friday Daily Thread: r/Python Meta and Free-Talk Fridays
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1ie1jei
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1ie1jei
Redditinc
Reddit Rules
Reddit Rules - Reddit
Where to host online teaching platform that will have 5,000+ users simultaniously?
currently I have 2,000+ students that I teach on dedicated facebook groups where they watch video-lessons. I want to build a website with django. Video content will be hosted on Vimeo and embedded into my website (that seems like simple solution).
I'm considering options on where to deploy this web app. Will render or railway handlethis amount of users clicking and watching videos simultaniously? Do I need something more powerful like Digital ocean or aws services?
/r/django
https://redd.it/1ie01kc
currently I have 2,000+ students that I teach on dedicated facebook groups where they watch video-lessons. I want to build a website with django. Video content will be hosted on Vimeo and embedded into my website (that seems like simple solution).
I'm considering options on where to deploy this web app. Will render or railway handlethis amount of users clicking and watching videos simultaniously? Do I need something more powerful like Digital ocean or aws services?
/r/django
https://redd.it/1ie01kc
Reddit
From the django community on Reddit
Explore this post and more from the django community
Re-evaluating my Django project
Last week I posted about my Django project but couldn’t get a honest review because of load time & speed problems. The problem has been fixed and I’m here to get another review.
The project: www.vastvids.com
Description: social media platform with a full marketing background implemented!
Tech stack:
Python, Django, CSS, HTML, JAVASCRIPT, AJAX
3rd party services used:
GitHub, Heroku, Namecheap, AWS, PayPal, Google Mail
/r/django
https://redd.it/1ie6o0o
Last week I posted about my Django project but couldn’t get a honest review because of load time & speed problems. The problem has been fixed and I’m here to get another review.
The project: www.vastvids.com
Description: social media platform with a full marketing background implemented!
Tech stack:
Python, Django, CSS, HTML, JAVASCRIPT, AJAX
3rd party services used:
GitHub, Heroku, Namecheap, AWS, PayPal, Google Mail
/r/django
https://redd.it/1ie6o0o
Reddit
From the django community on Reddit
Explore this post and more from the django community
Pytorch deprecatea official Anaconda channel
They recommend downloading pre-built wheels from their website or using PyPI.
https://github.com/pytorch/pytorch/issues/138506
/r/Python
https://redd.it/1idsbj7
They recommend downloading pre-built wheels from their website or using PyPI.
https://github.com/pytorch/pytorch/issues/138506
/r/Python
https://redd.it/1idsbj7
GitHub
[Announcement] Deprecating PyTorch’s official Anaconda channel · Issue #138506 · pytorch/pytorch
tl;dr PyTorch will stop publishing Anaconda packages that depend on Anaconda’s default packages due to the high maintenance costs for conda builds which are not justifiable with the ROI we observe ...
Share Your Django Projects you worked on
Hey,
Share the kind of Django projects you worked on, whether they're personal projects or office projects. It would help people.
/r/django
https://redd.it/1iebnkj
Hey,
Share the kind of Django projects you worked on, whether they're personal projects or office projects. It would help people.
/r/django
https://redd.it/1iebnkj
Reddit
From the django community on Reddit
Explore this post and more from the django community
Why Rust has so much marketing power ?
Ruff, uv and Polars presents themselves as fast tools writter in Rust.
It seems to me that "written in Rust" is used as a marketing argument. It's supposed to mean, it's fast because it's written in Rust.
These tools could have been as fast if they were written in C. Rust merely allow the developpers to write programms faster than if they wrote it in C or is there something I don't get ?
/r/Python
https://redd.it/1iebmjp
Ruff, uv and Polars presents themselves as fast tools writter in Rust.
It seems to me that "written in Rust" is used as a marketing argument. It's supposed to mean, it's fast because it's written in Rust.
These tools could have been as fast if they were written in C. Rust merely allow the developpers to write programms faster than if they wrote it in C or is there something I don't get ?
/r/Python
https://redd.it/1iebmjp
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Concerned about django forms
have doubts about the forms of diango, specifically, I do not like the fact that you have to mix the presentation logic to the validation logic, also because it would violate SRP, however to do certain things, the cleaner solution seems this. For example, if I want to place placeholders on a form in an automatic way (without rendering each field individually in the template) I must necessarily put the logic or in the form or in the view, and frankly the cleaner solution seems to me to put it in the form, However, as I said above, it does not seem to me the maximum of the solutions, I seek suggestions.
/r/django
https://redd.it/1ie9oxf
have doubts about the forms of diango, specifically, I do not like the fact that you have to mix the presentation logic to the validation logic, also because it would violate SRP, however to do certain things, the cleaner solution seems this. For example, if I want to place placeholders on a form in an automatic way (without rendering each field individually in the template) I must necessarily put the logic or in the form or in the view, and frankly the cleaner solution seems to me to put it in the form, However, as I said above, it does not seem to me the maximum of the solutions, I seek suggestions.
/r/django
https://redd.it/1ie9oxf
Reddit
From the django community on Reddit
Explore this post and more from the django community
What do you guys use for re-usable components in front end?
Been googling about this and I hear about Jinjax, Htpy, etc. but im not familiar with any of them.
What do you guys use to create re-usable components in your flask app.
/r/flask
https://redd.it/1ieava0
Been googling about this and I hear about Jinjax, Htpy, etc. but im not familiar with any of them.
What do you guys use to create re-usable components in your flask app.
/r/flask
https://redd.it/1ieava0
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Trending Django apps in January
https://django.wtf/trending/?trending=30
/r/django
https://redd.it/1ieg0sz
https://django.wtf/trending/?trending=30
/r/django
https://redd.it/1ieg0sz
django.wtf
Trending Django projects
Trending Django projects in the past 14 days
Create an Adaptive Customer Behavior Analytics Dashboard with Claude AI and Python Flask
https://blog.adnansiddiqi.me/create-an-adaptive-customer-behavior-analytics-dashboard-with-claude-ai-and-python/
/r/flask
https://redd.it/1iebp3h
https://blog.adnansiddiqi.me/create-an-adaptive-customer-behavior-analytics-dashboard-with-claude-ai-and-python/
/r/flask
https://redd.it/1iebp3h
Adnan's Random bytes
Create an Adaptive Customer Behavior Analytics Dashboard with Claude AI and Python
Discover how to analyze consumer behavior with a dynamic dashboard built using Claude AI and Flask. Explore a practical approach to creating adaptive analytics for shopping trends and customer preferences.
Michael Foord has passed away recently
Hi folks,
I'm not sure I saw anything about it on the sub so forgive me if that's the case.
Michael was a singular voice in the Python community, always fighting to help people see things from a different direction. His passion was radiating. He'll be missed.
Here is a beautiful message from Nicholas H.Tollervey.
/r/Python
https://redd.it/1iern75
Hi folks,
I'm not sure I saw anything about it on the sub so forgive me if that's the case.
Michael was a singular voice in the Python community, always fighting to help people see things from a different direction. His passion was radiating. He'll be missed.
Here is a beautiful message from Nicholas H.Tollervey.
/r/Python
https://redd.it/1iern75
ntoll.org
My friend Michael
My dear friend Michael passed away this weekend.
I want to begin by expressing my deepest sorrow and condolences to his family.
Michael and I shared many adventures together, often with our families i
I want to begin by expressing my deepest sorrow and condolences to his family.
Michael and I shared many adventures together, often with our families i