Sold an App made with the help of AI
I sold an App ( Django Python JS) for 7K USD mostly using AI, I have done small projects for about 2 -3Ks, but since I don’t Like Front End that much I never tried more complex Apps, so I had the opportunity jump on this project inventory - buy orders - authentication - and some strange requirements from the owner of a car workshop where JS was a must, and I basically did the front end with AI, and part of the backend too, I just coded like 20% and using my old projects as base.
I understand the code and can make changes, if needed, but somehow I felt like this is just all? Or now is just work smarter not harder? I’m sure this project that took me 2 months, would have take 8 months or more without AI.
The App have been in use for some months and had no issues at all. I mean you need to understand things and what they do, but still this felt soo strange.
/r/django
https://redd.it/1l4inux
I sold an App ( Django Python JS) for 7K USD mostly using AI, I have done small projects for about 2 -3Ks, but since I don’t Like Front End that much I never tried more complex Apps, so I had the opportunity jump on this project inventory - buy orders - authentication - and some strange requirements from the owner of a car workshop where JS was a must, and I basically did the front end with AI, and part of the backend too, I just coded like 20% and using my old projects as base.
I understand the code and can make changes, if needed, but somehow I felt like this is just all? Or now is just work smarter not harder? I’m sure this project that took me 2 months, would have take 8 months or more without AI.
The App have been in use for some months and had no issues at all. I mean you need to understand things and what they do, but still this felt soo strange.
/r/django
https://redd.it/1l4inux
Reddit
From the django community on Reddit
Explore this post and more from the django community
Recent Noteworthy Package Releases
In the last 7 days, there were these big upgrades.
**scikit-learn 1.7.0**
**delta-spark 4.0.0**
**compressed-tensors v0.10.0**
**langfuse 3.0.0**
**crewai 0.126.0**
**LanceDB v0.23.0**
**opentelemetry-sdk 1.34.0**
**wandb v0.20.0**
**deepspeed v0.17.0**
**py7zr 1.0.0**
**ffmpy 0.6.0**
/r/Python
https://redd.it/1l4oy6a
In the last 7 days, there were these big upgrades.
**scikit-learn 1.7.0**
**delta-spark 4.0.0**
**compressed-tensors v0.10.0**
**langfuse 3.0.0**
**crewai 0.126.0**
**LanceDB v0.23.0**
**opentelemetry-sdk 1.34.0**
**wandb v0.20.0**
**deepspeed v0.17.0**
**py7zr 1.0.0**
**ffmpy 0.6.0**
/r/Python
https://redd.it/1l4oy6a
scikit-learn
Release Highlights for scikit-learn 1.7
We are pleased to announce the release of scikit-learn 1.7! Many bug fixes and improvements were added, as well as some key new features. Below we detail the highlights of this release. For an exha...
How to setup a Jupyter Enterprise Gateway for my server?
Hey there. I'm new to setting up clusters and working on a backend of this complexity so let me explain what I'm trying to do here:
I'm trying to set up a framework in my lab for people to access our GPU server from their own local devices, ideally a jupyter notebook. When needed, I would like for them to run their code and utilize the server's gpu instead of their own local compute. For this i asked deep research and it gave me two options, based on JupyterHUB or JupyterEnterprise Gateway.
In the Jupyter Enterprise Gateway method it suggested, i would run jupyter notebooks locally but those notebooks will run on the kernels that are containerized on the server. I understood this approach broadly but have no idea if this is even feasible. I would like an explainer on how i would even start setting up this framework.
I will attach link to the conversation in ChatGPT. Please do tell me if it makes sense. If so, please be kind enough to explain how this works.
Conversation Link: **https://chatgpt.com/share/68431361-2650-8005-9373-97d13e8bcb77**
/r/IPython
https://redd.it/1l4wf65
Hey there. I'm new to setting up clusters and working on a backend of this complexity so let me explain what I'm trying to do here:
I'm trying to set up a framework in my lab for people to access our GPU server from their own local devices, ideally a jupyter notebook. When needed, I would like for them to run their code and utilize the server's gpu instead of their own local compute. For this i asked deep research and it gave me two options, based on JupyterHUB or JupyterEnterprise Gateway.
In the Jupyter Enterprise Gateway method it suggested, i would run jupyter notebooks locally but those notebooks will run on the kernels that are containerized on the server. I understood this approach broadly but have no idea if this is even feasible. I would like an explainer on how i would even start setting up this framework.
I will attach link to the conversation in ChatGPT. Please do tell me if it makes sense. If so, please be kind enough to explain how this works.
Conversation Link: **https://chatgpt.com/share/68431361-2650-8005-9373-97d13e8bcb77**
/r/IPython
https://redd.it/1l4wf65
ChatGPT
ChatGPT - GPU Server Jupyter Framework
Shared via ChatGPT
Best Django Open Source Repository
Hi everyone!
I’m currently looking for a high-quality, open-source Django project repository to explore and learn from. I strongly believe that studying real-world, production-grade codebases is one of the best ways to deepen understanding and improve as a developer.
Ideally, I’m looking for a repository that:
• Follows industry best practices
• Has a well-structured project architecture
• Includes features like testing, CI/CD, Docker support, authentication, API design, etc.
• Is actively maintained or at least well-documented
If you know of any such Django-based projects that have helped you or are known for their clean and scalable architecture, I’d love your recommendations!
Thanks in advance 🙌
/r/django
https://redd.it/1l4mkm3
Hi everyone!
I’m currently looking for a high-quality, open-source Django project repository to explore and learn from. I strongly believe that studying real-world, production-grade codebases is one of the best ways to deepen understanding and improve as a developer.
Ideally, I’m looking for a repository that:
• Follows industry best practices
• Has a well-structured project architecture
• Includes features like testing, CI/CD, Docker support, authentication, API design, etc.
• Is actively maintained or at least well-documented
If you know of any such Django-based projects that have helped you or are known for their clean and scalable architecture, I’d love your recommendations!
Thanks in advance 🙌
/r/django
https://redd.it/1l4mkm3
Reddit
From the django community on Reddit
Explore this post and more from the django community
Want to Speed Up My Web Dev Process Without Losing the Learning
I’ve been developing apps with Django for about a year now. I’m mostly self-taught and would say I’m pretty decent with it, especially on the backend. I usually rely on AI or online templates for the frontend since I have very little experience with CSS.
Lately, I’ve noticed I’m really slow when building apps. For example, there’s this one app I’ve been working on since February. I feel tired and burned out, but I can’t drop it because someone is interested in it. The problem is—it’s holding me hostage. I’ve got other ideas and projects I want to start, but I feel stuck.
I want to speed up my development process without sacrificing learning. I’m aiming to really master Django deeply—not just use it, but understand how it works under the hood.
So how do you balance learning with building efficiently?
/r/django
https://redd.it/1l4pc3a
I’ve been developing apps with Django for about a year now. I’m mostly self-taught and would say I’m pretty decent with it, especially on the backend. I usually rely on AI or online templates for the frontend since I have very little experience with CSS.
Lately, I’ve noticed I’m really slow when building apps. For example, there’s this one app I’ve been working on since February. I feel tired and burned out, but I can’t drop it because someone is interested in it. The problem is—it’s holding me hostage. I’ve got other ideas and projects I want to start, but I feel stuck.
I want to speed up my development process without sacrificing learning. I’m aiming to really master Django deeply—not just use it, but understand how it works under the hood.
So how do you balance learning with building efficiently?
/r/django
https://redd.it/1l4pc3a
Reddit
From the django community on Reddit
Explore this post and more from the django community
CRUDAdmin - Modern and light admin interface for FastAPI built with FastCRUD and HTMX
Hey, guys, for anyone who might benefit (or would like to contribute)
Github: https://github.com/benavlabs/crudadmin
Docs: https://benavlabs.github.io/crudadmin/
CRUDAdmin is an admin interface generator for FastAPI applications, offering secure authentication, comprehensive event tracking, and essential monitoring features.
Built with FastCRUD and HTMX, it's lightweight (85% smaller than SQLAdmin and 90% smaller than Starlette Admin) and helps you create admin panels with minimal configuration (using sensible defaults), but is also customizable.
Some relevant features:
Multi-Backend Session Management: Memory, Redis, Memcached, Database, and Hybrid backends
Built-in Security: CSRF protection, rate limiting, IP restrictions, HTTPS enforcement, and secure cookies
Event Tracking & Audit Logs: Comprehensive audit trails for all admin actions with user attribution
Advanced Filtering: Type-aware field filtering, search, and pagination with bulk operations
There are tons of improvements on the way, and tons of opportunities to help. If you want to contribute, feel free!
https://github.com/benavlabs/crudadmin
/r/Python
https://redd.it/1l4yh0g
Hey, guys, for anyone who might benefit (or would like to contribute)
Github: https://github.com/benavlabs/crudadmin
Docs: https://benavlabs.github.io/crudadmin/
CRUDAdmin is an admin interface generator for FastAPI applications, offering secure authentication, comprehensive event tracking, and essential monitoring features.
Built with FastCRUD and HTMX, it's lightweight (85% smaller than SQLAdmin and 90% smaller than Starlette Admin) and helps you create admin panels with minimal configuration (using sensible defaults), but is also customizable.
Some relevant features:
Multi-Backend Session Management: Memory, Redis, Memcached, Database, and Hybrid backends
Built-in Security: CSRF protection, rate limiting, IP restrictions, HTTPS enforcement, and secure cookies
Event Tracking & Audit Logs: Comprehensive audit trails for all admin actions with user attribution
Advanced Filtering: Type-aware field filtering, search, and pagination with bulk operations
There are tons of improvements on the way, and tons of opportunities to help. If you want to contribute, feel free!
https://github.com/benavlabs/crudadmin
/r/Python
https://redd.it/1l4yh0g
GitHub
GitHub - benavlabs/crudadmin: Modern admin interface for FastAPI with built-in authentication, event tracking, and security features
Modern admin interface for FastAPI with built-in authentication, event tracking, and security features - benavlabs/crudadmin
HttpOnly cookies in Django and React
Has anyone implemented JWT authentication using HttpOnly cookies in Django and React ? Are there any resources or videos that can help.
/r/django
https://redd.it/1l4vd6f
Has anyone implemented JWT authentication using HttpOnly cookies in Django and React ? Are there any resources or videos that can help.
/r/django
https://redd.it/1l4vd6f
Reddit
From the django community on Reddit
Explore this post and more from the django community
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1l57cfo
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1l57cfo
Amazon
Fluent Python: Clear, Concise, and Effective Programming
Fluent Python: Clear, Concise, and Effective Programming [Ramalho, Luciano] on Amazon.com. *FREE* shipping on qualifying offers. Fluent Python: Clear, Concise, and Effective Programming
Why Django?
No seriously (purely an educational post since idrk).
If you want to do enterprise -> spring boot
If you want to microservice -> Golang backend frameworks
If you want to do prototypes -> Fastapi
If you want to do a startup level scheme -> Supabase auth or wtv + flask
So why django?
/r/django
https://redd.it/1l57obn
No seriously (purely an educational post since idrk).
If you want to do enterprise -> spring boot
If you want to microservice -> Golang backend frameworks
If you want to do prototypes -> Fastapi
If you want to do a startup level scheme -> Supabase auth or wtv + flask
So why django?
/r/django
https://redd.it/1l57obn
Reddit
From the django community on Reddit
Explore this post and more from the django community
R LLMs are Locally Linear Mappings: Qwen 3, Gemma 3 and Llama 3 can be converted to exactly equivalent locally linear systems for interpretability
https://arxiv.org/abs/2505.24293
https://github.com/jamesgolden1/llms-are-llms
Hello all, I'd like to share my new research describing an alternative approach to LLM interpretability. I show that transformer decoder LLMs can be made locally linear at inference time without changing outputs or weights.
Result: LLMs can be converted into nearly exactly equivalent linear systems that reconstruct the next-token output for any given input text sequence. Instead of 25+ layers of nonlinear computations, this method computes a single set of matrix multiplications that linearly operates on the input embedding vectors and nearly exactly reconstructs the output embedding for a single token prediction.
Method: A "linear path" through the transformer is identified, the nonlinear components are detached from the gradient, and the Jacobian with respect to the input embeddings is computed. This yields the "detached Jacobian", which is the set of matrices that operate linearly on input embeddings to reproduce the predicted output embedding with \~10⁻⁶ error for float32 models.
Interpretability: This method provides nearly-exact token attribution rather than approximate attention weights - tools from linear algebra like the SVD are used to understand which concepts drive predictions
Scope: Works across Qwen 3, Gemma 3, Llama 3, Phi 4, Ministral and OLMo 2 (tested up to 70B parameters at q4).
Practical: The method works on
/r/MachineLearning
https://redd.it/1l4rpe2
https://arxiv.org/abs/2505.24293
https://github.com/jamesgolden1/llms-are-llms
Hello all, I'd like to share my new research describing an alternative approach to LLM interpretability. I show that transformer decoder LLMs can be made locally linear at inference time without changing outputs or weights.
Result: LLMs can be converted into nearly exactly equivalent linear systems that reconstruct the next-token output for any given input text sequence. Instead of 25+ layers of nonlinear computations, this method computes a single set of matrix multiplications that linearly operates on the input embedding vectors and nearly exactly reconstructs the output embedding for a single token prediction.
Method: A "linear path" through the transformer is identified, the nonlinear components are detached from the gradient, and the Jacobian with respect to the input embeddings is computed. This yields the "detached Jacobian", which is the set of matrices that operate linearly on input embeddings to reproduce the predicted output embedding with \~10⁻⁶ error for float32 models.
Interpretability: This method provides nearly-exact token attribution rather than approximate attention weights - tools from linear algebra like the SVD are used to understand which concepts drive predictions
Scope: Works across Qwen 3, Gemma 3, Llama 3, Phi 4, Ministral and OLMo 2 (tested up to 70B parameters at q4).
Practical: The method works on
/r/MachineLearning
https://redd.it/1l4rpe2
arXiv.org
Equivalent Linear Mappings of Large Language Models
Despite significant progress in transformer interpretability, an understanding of the computational mechanisms of large language models (LLMs) remains a fundamental challenge. Many approaches...
A simple file-sharing app built in Python with GUI, host discovery, drag-and-drop.
Hi everyone! 👋
This is a Python-based file sharing app I built as a weekend project.
**What My Project Does**
* Simple GUI for sending and receiving files over a local network
* Sender side:
* Auto-host discovery (or manual IP input)
* Transfer status, drag-and-drop file support, and file integrity check using hashes
* Receiver side:
* Set a listening port and destination folder to receive files
* Supports multiple file transfers, works across machines (even VMs with some tweaks)
**Target Audience**
This is mainly a **learning-focused, hobby project** and is ideal for:
* Beginners learning networking with Python
* People who want to understand sockets, GUI integration, and file transfers
It's not meant for production, but the logic is clean and it’s a great foundation to build on.
**Comparison**
There are plenty of file transfer tools like Snapdrop, LAN Share, and FTP servers. This app differs by:
* Being **pure Python**, no setup or third-party dependencies
* Teaching-oriented — **great for learning sockets, GUIs, and local networking**
Built using **socket**, **tkinter**, and standard Python libraries. Some parts were tricky (like VM discovery), but I learned a lot along the way. Built this mostly using GitHub Copilot + debugging manually - had a lot of fun in doing so.
🔗
/r/Python
https://redd.it/1l5bjyr
Hi everyone! 👋
This is a Python-based file sharing app I built as a weekend project.
**What My Project Does**
* Simple GUI for sending and receiving files over a local network
* Sender side:
* Auto-host discovery (or manual IP input)
* Transfer status, drag-and-drop file support, and file integrity check using hashes
* Receiver side:
* Set a listening port and destination folder to receive files
* Supports multiple file transfers, works across machines (even VMs with some tweaks)
**Target Audience**
This is mainly a **learning-focused, hobby project** and is ideal for:
* Beginners learning networking with Python
* People who want to understand sockets, GUI integration, and file transfers
It's not meant for production, but the logic is clean and it’s a great foundation to build on.
**Comparison**
There are plenty of file transfer tools like Snapdrop, LAN Share, and FTP servers. This app differs by:
* Being **pure Python**, no setup or third-party dependencies
* Teaching-oriented — **great for learning sockets, GUIs, and local networking**
Built using **socket**, **tkinter**, and standard Python libraries. Some parts were tricky (like VM discovery), but I learned a lot along the way. Built this mostly using GitHub Copilot + debugging manually - had a lot of fun in doing so.
🔗
/r/Python
https://redd.it/1l5bjyr
Reddit
From the Python community on Reddit: A simple file-sharing app built in Python with GUI, host discovery, drag-and-drop.
Explore this post and more from the Python community
Am I dumb? Why does Flask just refuse to work?
https://preview.redd.it/obujwa5y8f5f1.png?width=387&format=png&auto=webp&s=b859848ca12288d53f574c0fa9810ed474093a36
https://preview.redd.it/rcbu2df29f5f1.png?width=645&format=png&auto=webp&s=015e5cd5b4d548e2ec6517207440ab14c3ceb6d5
https://preview.redd.it/u3fulu8k9f5f1.png?width=751&format=png&auto=webp&s=0c492372a70f2ef7bd9ffb7de7c13edba72aa643
https://preview.redd.it/gei7k73m9f5f1.png?width=652&format=png&auto=webp&s=94ec9027991c72ca0c8bb2144e78b34a173dd2f8
https://preview.redd.it/nwzgds3p9f5f1.png?width=610&format=png&auto=webp&s=6328322de11734fdfeef5f43d96bb1c3319ff124
https://preview.redd.it/7uxhip5x9f5f1.png?width=836&format=png&auto=webp&s=d82d28b7c3f6b6c43f7b2b392a8fd1906e24cead
https://preview.redd.it/n3r92vqqaf5f1.png?width=1279&format=png&auto=webp&s=416858a0d81f87fd20d325256b9e78f58ee4cc8f
I have no clue why the site doesn't display anything. Like I think the index function is just not called for some reason. i've tried putting print statements within the index function and they never print anything.
When I click on the link, nothing appears, its just perpetual loading. i've checked a trillion times that the folder has the python file and then a templates folder with index.html inside.
I've tried tutorials, I've copy pasted 1:1 programs that are meant to work, everything leads to the same exact result, so i don't know if its my code anymore. I've tried reinstalling python, reinstalling flask, and nothing ever works. It's not just my device, my school one is also experiencing the same issue.
does anyone know what i can do?? if you need any more details please tell me. i'm kinda not good so apologies if im doing or missing something horribly obvious
/r/flask
https://redd.it/1l5b52d
https://preview.redd.it/obujwa5y8f5f1.png?width=387&format=png&auto=webp&s=b859848ca12288d53f574c0fa9810ed474093a36
https://preview.redd.it/rcbu2df29f5f1.png?width=645&format=png&auto=webp&s=015e5cd5b4d548e2ec6517207440ab14c3ceb6d5
https://preview.redd.it/u3fulu8k9f5f1.png?width=751&format=png&auto=webp&s=0c492372a70f2ef7bd9ffb7de7c13edba72aa643
https://preview.redd.it/gei7k73m9f5f1.png?width=652&format=png&auto=webp&s=94ec9027991c72ca0c8bb2144e78b34a173dd2f8
https://preview.redd.it/nwzgds3p9f5f1.png?width=610&format=png&auto=webp&s=6328322de11734fdfeef5f43d96bb1c3319ff124
https://preview.redd.it/7uxhip5x9f5f1.png?width=836&format=png&auto=webp&s=d82d28b7c3f6b6c43f7b2b392a8fd1906e24cead
https://preview.redd.it/n3r92vqqaf5f1.png?width=1279&format=png&auto=webp&s=416858a0d81f87fd20d325256b9e78f58ee4cc8f
I have no clue why the site doesn't display anything. Like I think the index function is just not called for some reason. i've tried putting print statements within the index function and they never print anything.
When I click on the link, nothing appears, its just perpetual loading. i've checked a trillion times that the folder has the python file and then a templates folder with index.html inside.
I've tried tutorials, I've copy pasted 1:1 programs that are meant to work, everything leads to the same exact result, so i don't know if its my code anymore. I've tried reinstalling python, reinstalling flask, and nothing ever works. It's not just my device, my school one is also experiencing the same issue.
does anyone know what i can do?? if you need any more details please tell me. i'm kinda not good so apologies if im doing or missing something horribly obvious
/r/flask
https://redd.it/1l5b52d
Closing the gap: strict CSP in the Django world | Wagtail CMS
https://wagtail.org/blog/closing-the-gap-strict-csp-compatibility/
/r/django
https://redd.it/1l4dbi8
https://wagtail.org/blog/closing-the-gap-strict-csp-compatibility/
/r/django
https://redd.it/1l4dbi8
Wagtail CMS
Closing the gap: strict CSP in the Django world | Wagtail CMS
Inching closer to strict CSP compatibility for the Django ecosystem
Pydantic / Celery Seamless Integration
I've been looking for existing pydantic - celery integrations and found some that aren't seamless so I built on top of them and turned them into a 1 line integration.
[https://github.com/jwnwilson/celery\_pydantic](https://github.com/jwnwilson/celery_pydantic)
**What My Project Does**
* Allow you to use pydantic objects as celery task arguments
* Allow you to return pydantic objecst from celery tasks
**Target Audience**
* Anyone who wants to use pydantic with celery.
**Comparison**
* [This blog post](https://benninger.ca/posts/celery-serializer-pydantic/) is the majority of the code above, but it requires registering each model manually, which I didn't want to do.
* [Celery’s official Pydantic integration](https://docs.celeryq.dev/en/v5.5.2/userguide/tasks.html?ref=blog.dosu.dev#argument-validation-with-pydantic) only accepts plain dicts in arguments, not pydantic models. It also only returns dicts.
You can also steal this file directly if you prefer:
[https://github.com/jwnwilson/celery\_pydantic/blob/main/celery\_pydantic/serializer.py](https://github.com/jwnwilson/celery_pydantic/blob/main/celery_pydantic/serializer.py)
There are some performance improvements that can be made with better json parsers so keep that in mind if you want to use this for larger projects. Would love feedback, hope it's helpful.
/r/Python
https://redd.it/1l5m6s5
I've been looking for existing pydantic - celery integrations and found some that aren't seamless so I built on top of them and turned them into a 1 line integration.
[https://github.com/jwnwilson/celery\_pydantic](https://github.com/jwnwilson/celery_pydantic)
**What My Project Does**
* Allow you to use pydantic objects as celery task arguments
* Allow you to return pydantic objecst from celery tasks
**Target Audience**
* Anyone who wants to use pydantic with celery.
**Comparison**
* [This blog post](https://benninger.ca/posts/celery-serializer-pydantic/) is the majority of the code above, but it requires registering each model manually, which I didn't want to do.
* [Celery’s official Pydantic integration](https://docs.celeryq.dev/en/v5.5.2/userguide/tasks.html?ref=blog.dosu.dev#argument-validation-with-pydantic) only accepts plain dicts in arguments, not pydantic models. It also only returns dicts.
You can also steal this file directly if you prefer:
[https://github.com/jwnwilson/celery\_pydantic/blob/main/celery\_pydantic/serializer.py](https://github.com/jwnwilson/celery_pydantic/blob/main/celery_pydantic/serializer.py)
There are some performance improvements that can be made with better json parsers so keep that in mind if you want to use this for larger projects. Would love feedback, hope it's helpful.
/r/Python
https://redd.it/1l5m6s5
Topographic Map to 3D Model Converter
What my project does
Takes an image of a topographic map and converts it into a
Target audience
This is a pretty simple project with a lot of room to grow, so I'd say this is more of a beginner project seeing as how little time it took to produce.
Comparison I created this project because I couldn't really find anything else like it, so I'm not sure there is another project that does the same thing (at least, not one that I have found yet).
I created this for my Social Studies class, where I needed to have a 3D model of Israel and the Gaza strip. I plan on reusing this for future assignments as well.
However, it is kind of unfinished. As of posting this, any text in the map will be flipped on the final model, I don't have a way to upload the model to SketchFab (which is what you need in order to embed a 3D model viewer on a website), and a few other quality of life things that I'd like to implement.
But hey, I thought it turned out decently, so here is the repo:
https://github.com/dastarruer/terrain-obj
/r/Python
https://redd.it/1l5p78h
What my project does
Takes an image of a topographic map and converts it into a
.obj model.Target audience
This is a pretty simple project with a lot of room to grow, so I'd say this is more of a beginner project seeing as how little time it took to produce.
Comparison I created this project because I couldn't really find anything else like it, so I'm not sure there is another project that does the same thing (at least, not one that I have found yet).
I created this for my Social Studies class, where I needed to have a 3D model of Israel and the Gaza strip. I plan on reusing this for future assignments as well.
However, it is kind of unfinished. As of posting this, any text in the map will be flipped on the final model, I don't have a way to upload the model to SketchFab (which is what you need in order to embed a 3D model viewer on a website), and a few other quality of life things that I'd like to implement.
But hey, I thought it turned out decently, so here is the repo:
https://github.com/dastarruer/terrain-obj
/r/Python
https://redd.it/1l5p78h
GitHub
GitHub - dastarruer/terrain-obj: A Python command-line program to convert topography images to 3D .obj models.
A Python command-line program to convert topography images to 3D .obj models. - dastarruer/terrain-obj
How to efficiently combine Redis-based recommendation scoring with Django QuerySet for paginated feeds?
I'm building a marketplace app and trying to implement a personalized recommendation feed. I have a hybrid architecture question about the best way to handle this:
Current Setup:
- Django backend with PostgreSQL for product data
- Redis for user preferences, actions, and computed recommendation scores
- Celery for background recommendation generation
The Challenge:
I need to serve a paginated feed where the order is determined by Redis-based scoring (user preferences, trending items, etc), but the actual product data comes from Django models.
My Current Approach:
1. Celery task generates ordered list of product IDs based on Redis metrics
2. Cache this ordered list in Redis (e.g.,
3. For each page request, slice the cached ID list
4. Use Django's
Questions:
1. Is using
2. Should I be caching the actual product data in Redis instead of just IDs?
3. Any better patterns for this Redis scoring + Django data combination?
4. How do you handle the "cold start" problem when recommendations aren't ready yet?
The feed needs to handle —10k products with real-time scoring updates. Any architecture advice or alternative approaches would be greatly appreciated!
Tech Stack: Django 4.2, Redis, Celery, PostgreSQL, DRF
/r/django
https://redd.it/1l5n3n9
I'm building a marketplace app and trying to implement a personalized recommendation feed. I have a hybrid architecture question about the best way to handle this:
Current Setup:
- Django backend with PostgreSQL for product data
- Redis for user preferences, actions, and computed recommendation scores
- Celery for background recommendation generation
The Challenge:
I need to serve a paginated feed where the order is determined by Redis-based scoring (user preferences, trending items, etc), but the actual product data comes from Django models.
My Current Approach:
1. Celery task generates ordered list of product IDs based on Redis metrics
2. Cache this ordered list in Redis (e.g.,
[123, 456, 789, ...])3. For each page request, slice the cached ID list
4. Use Django's
Case/When to maintain the Redis-determined order:Questions:
1. Is using
Case/When with enumerate() the most efficient way to preserve Redis-determined order in Django?2. Should I be caching the actual product data in Redis instead of just IDs?
3. Any better patterns for this Redis scoring + Django data combination?
4. How do you handle the "cold start" problem when recommendations aren't ready yet?
The feed needs to handle —10k products with real-time scoring updates. Any architecture advice or alternative approaches would be greatly appreciated!
Tech Stack: Django 4.2, Redis, Celery, PostgreSQL, DRF
/r/django
https://redd.it/1l5n3n9
Reddit
From the django community on Reddit
Explore this post and more from the django community
How can I crat a heartbeat type thread in Flask-MQTT
EDIT: crat s/b create
I have a working flask-MQQT app. But I want it to have a background thread always running that can check and react to outside events, such as broker on other machine is disconnected or a GPIO pin is high/low on the host Raspberry Pi.
I just want this thread to work full time and have it's own sleep(n) step. i would like it to be able to call functions in he main program.
Is this possible? Or..... Any suggestions?
/r/flask
https://redd.it/1l5oze2
EDIT: crat s/b create
I have a working flask-MQQT app. But I want it to have a background thread always running that can check and react to outside events, such as broker on other machine is disconnected or a GPIO pin is high/low on the host Raspberry Pi.
I just want this thread to work full time and have it's own sleep(n) step. i would like it to be able to call functions in he main program.
Is this possible? Or..... Any suggestions?
/r/flask
https://redd.it/1l5oze2
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
R Apple Research: The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexity
Abstract:
>Recent generations of frontier language models have introduced Large Reasoning Models (LRMs) that generate detailed thinking processes before providing answers. While these models demonstrate improved performance on reasoning benchmarks, their fundamental capabilities, scal ing properties, and limitations remain insufficiently understood. Current evaluations primarily fo cus on established mathematical and coding benchmarks, emphasizing final answer accuracy. How ever, this evaluation paradigm often suffers from data contamination and does not provide insights into the reasoning traces’ structure and quality. In this work, we systematically investigate these gaps with the help of controllable puzzle environments that allow precise manipulation of composi tional complexity while maintaining consistent logical structures. This setup enables the analysis of not only final answers but also the internal reasoning traces, offering insights into how LRMs “think”. Through extensive experimentation across diverse puzzles, we show that frontier LRMs face a complete accuracy collapse beyond certain complexities. Moreover, they exhibit a counter intuitive scaling limit: their reasoning effort increases with problem complexity up to a point, then declines despite having an adequate token budget. By comparing LRMs with their standard LLM counterparts under equivalent inference compute, we identify three performance regimes: (1) low complexity tasks where standard models surprisingly outperform LRMs,
/r/MachineLearning
https://redd.it/1l5hzhs
Abstract:
>Recent generations of frontier language models have introduced Large Reasoning Models (LRMs) that generate detailed thinking processes before providing answers. While these models demonstrate improved performance on reasoning benchmarks, their fundamental capabilities, scal ing properties, and limitations remain insufficiently understood. Current evaluations primarily fo cus on established mathematical and coding benchmarks, emphasizing final answer accuracy. How ever, this evaluation paradigm often suffers from data contamination and does not provide insights into the reasoning traces’ structure and quality. In this work, we systematically investigate these gaps with the help of controllable puzzle environments that allow precise manipulation of composi tional complexity while maintaining consistent logical structures. This setup enables the analysis of not only final answers but also the internal reasoning traces, offering insights into how LRMs “think”. Through extensive experimentation across diverse puzzles, we show that frontier LRMs face a complete accuracy collapse beyond certain complexities. Moreover, they exhibit a counter intuitive scaling limit: their reasoning effort increases with problem complexity up to a point, then declines despite having an adequate token budget. By comparing LRMs with their standard LLM counterparts under equivalent inference compute, we identify three performance regimes: (1) low complexity tasks where standard models surprisingly outperform LRMs,
/r/MachineLearning
https://redd.it/1l5hzhs
Reddit
From the MachineLearning community on Reddit: [R] Apple Research: The Illusion of Thinking: Understanding the Strengths and Limitations…
Posted by hiskuu - 197 votes and 55 comments
Python on tablet?
I have damaged my laptops hard disk and difficult to operate it in a remote area as there are no repair shops nearby. But i need to learn programming and dsa in 2 months. Can I code on my laptop? Any online softwares for it?
/r/Python
https://redd.it/1l5tscy
I have damaged my laptops hard disk and difficult to operate it in a remote area as there are no repair shops nearby. But i need to learn programming and dsa in 2 months. Can I code on my laptop? Any online softwares for it?
/r/Python
https://redd.it/1l5tscy
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Sunday Daily Thread: What's everyone working on this week?
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1l5yvhd
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1l5yvhd
Reddit
From the Python community on Reddit
Explore this post and more from the Python community