R reasoning models are indecisive parrots
R1 , o1, and gemini 2.0 flash were put to the test on 27 different puzzles.
the models still default to familiar solutions rather than adapting to new contexts - they even impose nonexistent constraints, waste tokens, and arrive at the wrong answer. Examples:
Example 1
Question: A group of four people needs to cross a bridge at night. The bridge is very old and rickety. They have only one torch, and because it's nighttime, the torch is necessary to cross the bridge. Each person walks at a different speed:A takes 1 minute to cross,B takes 2 minutes,C takes 5 minutes, andD takes 10 minutes.What is the fastest time they can all get across the bridge?
Answer: 10 minutes, the speed of the slowest person as they cross the bridge together.
DeekSeek-R1: "...First, the constraints: the bridge can only hold two people at a time, and the torch is needed each time someone crosses. So, if two people go over together, one has to come back with the torch."
Example 2
Question: Suppose you're on a game show,
/r/MachineLearning
https://redd.it/1iheszs
R1 , o1, and gemini 2.0 flash were put to the test on 27 different puzzles.
the models still default to familiar solutions rather than adapting to new contexts - they even impose nonexistent constraints, waste tokens, and arrive at the wrong answer. Examples:
Example 1
Question: A group of four people needs to cross a bridge at night. The bridge is very old and rickety. They have only one torch, and because it's nighttime, the torch is necessary to cross the bridge. Each person walks at a different speed:A takes 1 minute to cross,B takes 2 minutes,C takes 5 minutes, andD takes 10 minutes.What is the fastest time they can all get across the bridge?
Answer: 10 minutes, the speed of the slowest person as they cross the bridge together.
DeekSeek-R1: "...First, the constraints: the bridge can only hold two people at a time, and the torch is needed each time someone crosses. So, if two people go over together, one has to come back with the torch."
Example 2
Question: Suppose you're on a game show,
/r/MachineLearning
https://redd.it/1iheszs
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Kindly give me an advice on seeking a job.
Hi,
I started learning coding on my own and worked as a freelancer developing static websites. Later, I picked up Python-Django and took a job as a Junior Software Developer on April 15, 2024.
On August 19, both of my parents were involved in a serious accident, and my father had to undergo multiple surgeries, with his last operation taking place on December 31. Since the company did not offer me a work-from-home option despite my repeated requests, they closed my file.
Now that I have fulfilled my responsibilities in taking care of my parents, I am actively looking for a job, but finding one has been challenging.
The skills I have developed include Python, Django Framework, REST APIs, SQL, MySQL, AWS, HTML, CSS, and Git.
Please provide me with advice on how to proceed.
/r/django
https://redd.it/1ihdx90
Hi,
I started learning coding on my own and worked as a freelancer developing static websites. Later, I picked up Python-Django and took a job as a Junior Software Developer on April 15, 2024.
On August 19, both of my parents were involved in a serious accident, and my father had to undergo multiple surgeries, with his last operation taking place on December 31. Since the company did not offer me a work-from-home option despite my repeated requests, they closed my file.
Now that I have fulfilled my responsibilities in taking care of my parents, I am actively looking for a job, but finding one has been challenging.
The skills I have developed include Python, Django Framework, REST APIs, SQL, MySQL, AWS, HTML, CSS, and Git.
Please provide me with advice on how to proceed.
/r/django
https://redd.it/1ihdx90
Reddit
From the django community on Reddit
Explore this post and more from the django community
Optimizing data storage in the database
Hi All!
My Django apps pulls data from an external API and stores it in the app database. The data changes over time (as it can be updated on the platform I am pulling from) but for various reasons let's assume that I have to retain my own "synced" copy.
What is the best practice to compare the data I got from the API to the one that I have saved? is there a package that helps do that optimally? I have written some code (quick and dirty) that does create or update, but I feel it is not very efficient or optimal.
Will appreciate any advice.
/r/django
https://redd.it/1ihiz3m
Hi All!
My Django apps pulls data from an external API and stores it in the app database. The data changes over time (as it can be updated on the platform I am pulling from) but for various reasons let's assume that I have to retain my own "synced" copy.
What is the best practice to compare the data I got from the API to the one that I have saved? is there a package that helps do that optimally? I have written some code (quick and dirty) that does create or update, but I feel it is not very efficient or optimal.
Will appreciate any advice.
/r/django
https://redd.it/1ihiz3m
Reddit
From the django community on Reddit
Explore this post and more from the django community
A really specific situation with a page redirecting to itself in another language.
My website is available in english and pt-br, for that, I'm using the
My settings look like this:
Everything works correctly, but I need the option for the user to switch languages and stay on the same page.
What I implemented is this form:
It also works fine, except when you access the website with an /en/ language prefix.
I tested it with brazilians and non-brazilians,
\- if you open the website without a language prefix, it will switch to default (en, or pt-br depending where you live) and the translation switch will work.
\- if you open the website with an /pt-br/ prefix, it will also work
\- if
/r/django
https://redd.it/1iheltr
My website is available in english and pt-br, for that, I'm using the
django.template.context_processors.i18ndjango.My settings look like this:
LANGUAGE_CODE = 'en-us' LANGUAGES = [ ('en', 'English'), ('pt-br', 'Português'), ] TIME_ZONE = 'America/Sao_Paulo' USE_I18N = True USE_TZ = True LOCALE_PATHS = [BASE_DIR / 'locale']Everything works correctly, but I need the option for the user to switch languages and stay on the same page.
What I implemented is this form:
<form action="{% url 'set_language' %}" method="post" class="sub-menu-content flow">{% csrf_token %}<fieldset onchange="this.form.submit()"><label for="en-language-input">English</label><input type="radio" id="en-language-input" name="language" value="en" {% if LANGUAGE_CODE == 'en' %}checked{% endif %}><label for="pt-br-language-input">Português Brasileiro</label><input type="radio" id="pt-br-language-input" name="language" value="pt-br" {% if LANGUAGE_CODE == 'pt-br' %}checked{% endif %}></fieldset></form>It also works fine, except when you access the website with an /en/ language prefix.
I tested it with brazilians and non-brazilians,
\- if you open the website without a language prefix, it will switch to default (en, or pt-br depending where you live) and the translation switch will work.
\- if you open the website with an /pt-br/ prefix, it will also work
\- if
/r/django
https://redd.it/1iheltr
Reddit
From the django community on Reddit
Explore this post and more from the django community
D Why mamba disappeared?
I remember seeing mamba when it first came out and there was alot of hype around it because it was cheaper to compute than transformers and better performance
So why it disappeared like that ???
/r/MachineLearning
https://redd.it/1ihen9v
I remember seeing mamba when it first came out and there was alot of hype around it because it was cheaper to compute than transformers and better performance
So why it disappeared like that ???
/r/MachineLearning
https://redd.it/1ihen9v
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Tach - A Python tool to enforce dependencies
Source: https://github.com/gauge-sh/tach
Python allows you to import and use anything, anywhere. Over time, this results in modules that were intended to be separate getting tightly coupled together, and domain boundaries breaking down.
We experienced this first-hand at a unicorn startup, where the entire engineering team paused development for over a year in an attempt to split up tightly coupled packages into independent microservices. This ultimately failed, and resulted in the CTO getting fired.
This problem occurs because:
It's much easier to add to an existing package rather than create a new one
Junior devs have a limited understanding of the existing architecture
External pressure leading to shortcuts and overlooking best practices
Attempts we've seen to fix this problem always came up short. A patchwork of solutions would attempt to solve this from different angles, such as developer education, CODEOWNERs, standard guides, refactors, and more. However, none of these addressed the root cause.
# What My Project Does
With [Tach](https://github.com/gauge-sh/tach), you can:
1. Declare your modules ([`tach mod`](https://docs.gauge.sh/usage/commands#tach-mod))
2. Automatically declare dependencies ([`tach sync`](https://docs.gauge.sh/usage/commands#tach-sync))
3. Enforce those dependencies ([`tach check`](https://docs.gauge.sh/usage/commands#tach-check))
4. Visualize those dependencies ([`tach show`](https://docs.gauge.sh/usage/commands#tach-show) and [`tach report`](https://docs.gauge.sh/usage/commands#tach-report))
You can also enforce a [public interface](https://docs.gauge.sh/usage/interfaces) for each module, and [deprecate dependencies](https://docs.gauge.sh/usage/deprecate) over time.
# Target Audience
Developers working on large Python monoliths
# Comparison
/r/Python
https://redd.it/1ihl5fy
Source: https://github.com/gauge-sh/tach
Python allows you to import and use anything, anywhere. Over time, this results in modules that were intended to be separate getting tightly coupled together, and domain boundaries breaking down.
We experienced this first-hand at a unicorn startup, where the entire engineering team paused development for over a year in an attempt to split up tightly coupled packages into independent microservices. This ultimately failed, and resulted in the CTO getting fired.
This problem occurs because:
It's much easier to add to an existing package rather than create a new one
Junior devs have a limited understanding of the existing architecture
External pressure leading to shortcuts and overlooking best practices
Attempts we've seen to fix this problem always came up short. A patchwork of solutions would attempt to solve this from different angles, such as developer education, CODEOWNERs, standard guides, refactors, and more. However, none of these addressed the root cause.
# What My Project Does
With [Tach](https://github.com/gauge-sh/tach), you can:
1. Declare your modules ([`tach mod`](https://docs.gauge.sh/usage/commands#tach-mod))
2. Automatically declare dependencies ([`tach sync`](https://docs.gauge.sh/usage/commands#tach-sync))
3. Enforce those dependencies ([`tach check`](https://docs.gauge.sh/usage/commands#tach-check))
4. Visualize those dependencies ([`tach show`](https://docs.gauge.sh/usage/commands#tach-show) and [`tach report`](https://docs.gauge.sh/usage/commands#tach-report))
You can also enforce a [public interface](https://docs.gauge.sh/usage/interfaces) for each module, and [deprecate dependencies](https://docs.gauge.sh/usage/deprecate) over time.
# Target Audience
Developers working on large Python monoliths
# Comparison
/r/Python
https://redd.it/1ihl5fy
GitHub
GitHub - gauge-sh/tach: A Python tool to visualize + enforce dependencies, using modular architecture 🌎 Open source 🐍 Installable…
A Python tool to visualize + enforce dependencies, using modular architecture 🌎 Open source 🐍 Installable via pip 🔧 Able to be adopted incrementally - ⚡ Implemented with no runtime impact ♾️ Intero...
Django Template LSP – For those not using PyCharm
For everyone not using PyCharm, I’ve built an LSP server for Django templates! After using it for a few months, I’m happy to release v1.0.0, and I think it works pretty well.
🔹 Autocomplete for
🔹 Go-to definition for templates, views, and context variables.
🔹 Hover docs for
🔹 Works with Neovim, Helix, VS Code and others that support lsp's.
Check it out here: https://github.com/fourdigits/django-template-lsp Any feedback or suggestions? Open an issue on GitHub!
/r/django
https://redd.it/1igy8y3
For everyone not using PyCharm, I’ve built an LSP server for Django templates! After using it for a few months, I’m happy to release v1.0.0, and I think it works pretty well.
🔹 Autocomplete for
{% load %}, {% static %}, {% url %}, custom tags/filters and context variables. 🔹 Go-to definition for templates, views, and context variables.
🔹 Hover docs for
{% url %} and template tags/filters. 🔹 Works with Neovim, Helix, VS Code and others that support lsp's.
Check it out here: https://github.com/fourdigits/django-template-lsp Any feedback or suggestions? Open an issue on GitHub!
/r/django
https://redd.it/1igy8y3
GitHub
GitHub - fourdigits/django-template-lsp
Contribute to fourdigits/django-template-lsp development by creating an account on GitHub.
Need Suggestions
I have created a django-react app where user can read novels, bookmark etc(still not finished to me), already on a hackathon where developing a web app using django. Now my question is that To apply as a backend role what projects do I need more? Or is this enough?
What Do i need to showcase?
/r/djangolearning
https://redd.it/1igtt3x
I have created a django-react app where user can read novels, bookmark etc(still not finished to me), already on a hackathon where developing a web app using django. Now my question is that To apply as a backend role what projects do I need more? Or is this enough?
What Do i need to showcase?
/r/djangolearning
https://redd.it/1igtt3x
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
D Warning about Vultr Coupons
Heads up for anyone thinking about using Vultr with promotional credits—your experience might not be as smooth as expected.
I had $300 in promotional credits plus $5 I personally deposited (which I assumed was for identity verification), but I wasn’t able to use any of it.
First, they asked me to verify my profile, which I did. Then, out of nowhere, they demanded that I deposit another $50 just to access the funds I already had—effectively making my $300 in credits unusable. This requirement isn’t mentioned upfront, which is frustrating. If you're already committed to using Vultr, this might not be an issue, but if you just want to test the service, it feels weird.
To make things worse, you won’t necessarily be able to deploy your instances instantly. In many cases, you’ll need to open a support ticket and manually request access.
Their promotional credits and deposit policies are misleading, and once your money is in, you may not get it back. They don’t issue refunds. I couldn’t find any refund button on their website, and when I tried to request a refund through PayPal, they suspended my account immediately.
/r/MachineLearning
https://redd.it/1ihpz4k
Heads up for anyone thinking about using Vultr with promotional credits—your experience might not be as smooth as expected.
I had $300 in promotional credits plus $5 I personally deposited (which I assumed was for identity verification), but I wasn’t able to use any of it.
First, they asked me to verify my profile, which I did. Then, out of nowhere, they demanded that I deposit another $50 just to access the funds I already had—effectively making my $300 in credits unusable. This requirement isn’t mentioned upfront, which is frustrating. If you're already committed to using Vultr, this might not be an issue, but if you just want to test the service, it feels weird.
To make things worse, you won’t necessarily be able to deploy your instances instantly. In many cases, you’ll need to open a support ticket and manually request access.
Their promotional credits and deposit policies are misleading, and once your money is in, you may not get it back. They don’t issue refunds. I couldn’t find any refund button on their website, and when I tried to request a refund through PayPal, they suspended my account immediately.
/r/MachineLearning
https://redd.it/1ihpz4k
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Wednesday Daily Thread: Beginner questions
# Weekly Thread: Beginner Questions 🐍
Welcome to our Beginner Questions thread! Whether you're new to Python or just looking to clarify some basics, this is the thread for you.
## How it Works:
1. Ask Anything: Feel free to ask any Python-related question. There are no bad questions here!
2. Community Support: Get answers and advice from the community.
3. Resource Sharing: Discover tutorials, articles, and beginner-friendly resources.
## Guidelines:
This thread is specifically for beginner questions. For more advanced queries, check out our [Advanced Questions Thread](#advanced-questions-thread-link).
## Recommended Resources:
If you don't receive a response, consider exploring r/LearnPython or join the Python Discord Server for quicker assistance.
## Example Questions:
1. What is the difference between a list and a tuple?
2. How do I read a CSV file in Python?
3. What are Python decorators and how do I use them?
4. How do I install a Python package using pip?
5. What is a virtual environment and why should I use one?
Let's help each other learn Python! 🌟
/r/Python
https://redd.it/1ihwk3k
# Weekly Thread: Beginner Questions 🐍
Welcome to our Beginner Questions thread! Whether you're new to Python or just looking to clarify some basics, this is the thread for you.
## How it Works:
1. Ask Anything: Feel free to ask any Python-related question. There are no bad questions here!
2. Community Support: Get answers and advice from the community.
3. Resource Sharing: Discover tutorials, articles, and beginner-friendly resources.
## Guidelines:
This thread is specifically for beginner questions. For more advanced queries, check out our [Advanced Questions Thread](#advanced-questions-thread-link).
## Recommended Resources:
If you don't receive a response, consider exploring r/LearnPython or join the Python Discord Server for quicker assistance.
## Example Questions:
1. What is the difference between a list and a tuple?
2. How do I read a CSV file in Python?
3. What are Python decorators and how do I use them?
4. How do I install a Python package using pip?
5. What is a virtual environment and why should I use one?
Let's help each other learn Python! 🌟
/r/Python
https://redd.it/1ihwk3k
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
Corey Schafer's Django Blog Tutorial
Hey guys! I was just reaching out to see if anyone else has completed finishing this series. I'm looking to get some help because on video 13, right before deploying, I had issues setting up my aws S3. I ran a test script to see if sending a file locally would work and it worked. However, if I run my blog locally and update a profile picture, a new image would be added in my local media folder but not in S3. I made sure to set up my environment variables correctly and to set up my aws stuff according to the video. Anything helps! I also know this is very vague so please feel free to ask what i've tried so far. Thank you!
/r/django
https://redd.it/1ihw1ga
Hey guys! I was just reaching out to see if anyone else has completed finishing this series. I'm looking to get some help because on video 13, right before deploying, I had issues setting up my aws S3. I ran a test script to see if sending a file locally would work and it worked. However, if I run my blog locally and update a profile picture, a new image would be added in my local media folder but not in S3. I made sure to set up my environment variables correctly and to set up my aws stuff according to the video. Anything helps! I also know this is very vague so please feel free to ask what i've tried so far. Thank you!
/r/django
https://redd.it/1ihw1ga
Reddit
From the django community on Reddit
Explore this post and more from the django community
Which hosting for a simple application?
I'm looking for hosting for an amateur project developed with Python3 + Flask. It's a simple application that will generate almost no traffic for most of the year, but on specific dates, it will be used by up to a few hundred people to access a page with data updated via WebSocket.
So, I'm looking for a provider that offers scalability when needed. I've already used AWS, but it might be "too much" for my needs.
/r/flask
https://redd.it/1ihhkgq
I'm looking for hosting for an amateur project developed with Python3 + Flask. It's a simple application that will generate almost no traffic for most of the year, but on specific dates, it will be used by up to a few hundred people to access a page with data updated via WebSocket.
So, I'm looking for a provider that offers scalability when needed. I've already used AWS, but it might be "too much" for my needs.
/r/flask
https://redd.it/1ihhkgq
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Are all inputs for "filter" method safe from sql injection?
Hi.
i'm making a simple online store app for learning purposes. For item properties, i've used a json field to store properties like size, color and .... . I've considered using database relations but i figured this would be simpler. the item properties are stored in db like this: {"size": "XL", "color": "red"}
I'm implementing a simple search functionality and since there are many properties, i'm wondering if it's safe to get property names from users.
was using json field a bad choice? what would a be good replacement?
this is my code for search view:
def search_items(request):
q = request.GET.get('q')
filters = request.GET.get('filters')
items = Item.objects.filter(name__icontains=q)
if filters:
options = {}
filters_list = json.loads(filters)
for f in filters_list:
options[f"properties__{f[0]}__icontains"] = f[1]
items = items.filter(**options)
return
/r/djangolearning
https://redd.it/1icran1
Hi.
i'm making a simple online store app for learning purposes. For item properties, i've used a json field to store properties like size, color and .... . I've considered using database relations but i figured this would be simpler. the item properties are stored in db like this: {"size": "XL", "color": "red"}
I'm implementing a simple search functionality and since there are many properties, i'm wondering if it's safe to get property names from users.
was using json field a bad choice? what would a be good replacement?
this is my code for search view:
def search_items(request):
q = request.GET.get('q')
filters = request.GET.get('filters')
items = Item.objects.filter(name__icontains=q)
if filters:
options = {}
filters_list = json.loads(filters)
for f in filters_list:
options[f"properties__{f[0]}__icontains"] = f[1]
items = items.filter(**options)
return
/r/djangolearning
https://redd.it/1icran1
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Python 3.13.2 Released
https://www.python.org/downloads/release/python-3132/
> Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.2 is the latest maintenance release, containing almost 250 bugfixes, build improvements and documentation changes since 3.13.1.
It does not list precisely what bugs were fixed. Does anyone have a list?
/r/Python
https://redd.it/1ihsezp
https://www.python.org/downloads/release/python-3132/
> Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.2 is the latest maintenance release, containing almost 250 bugfixes, build improvements and documentation changes since 3.13.1.
It does not list precisely what bugs were fixed. Does anyone have a list?
/r/Python
https://redd.it/1ihsezp
Python.org
Python Release Python 3.13.2
The official home of the Python Programming Language
D What are current UNPOPULAR research topics in computer vision and language technology? 2025
No, I don't want to hear more about LLM and VLM anymore.
/r/MachineLearning
https://redd.it/1ihzy00
No, I don't want to hear more about LLM and VLM anymore.
/r/MachineLearning
https://redd.it/1ihzy00
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
How Rust is quietly taking over the Python ecosystem
Been noticing an interesting trend lately - Rust is becoming the secret sauce behind many of Python's most innovative tools. As someone who works with Python daily, it's fascinating to see how the ecosystem is evolving.
Here's what's caught my attention:
* **Ruff**: This linter is absurdly fast compared to traditional Python linters. Why? It's written in Rust. We're talking 10-100x speedups here.
* **PyOxidizer**: A solid solution for creating standalone Python applications. Again, Rust. (unfortunately not maintained anymore)
* **Polars**: This DataFrame library is giving Pandas a run for its money in terms of performance. Guess what? Rust under the hood.
* **Maturin**: Making it dead simple to create Python extensions in Rust.
My team has written a blog post diving deeper into this trend, specifically looking at PyO3 (the framework that makes Python/Rust integration possible) and showing how to build your own high-performance Python extensions with Rust. If you wish, you can read it here: [https://www.blueshoe.io/blog/python-rust-pyo3/](https://www.blueshoe.io/blog/python-rust-pyo3/)
The really interesting part is that most Python developers don't even realize they're using Rust-powered tools. It's like Rust is becoming Python's performance co-pilot without much fanfare.
What are your thoughts on this trend? Have you tried building any Python extensions with Rust?
*Full disclosure: Our team at Blueshoe wrote the
/r/Python
https://redd.it/1ii64gp
Been noticing an interesting trend lately - Rust is becoming the secret sauce behind many of Python's most innovative tools. As someone who works with Python daily, it's fascinating to see how the ecosystem is evolving.
Here's what's caught my attention:
* **Ruff**: This linter is absurdly fast compared to traditional Python linters. Why? It's written in Rust. We're talking 10-100x speedups here.
* **PyOxidizer**: A solid solution for creating standalone Python applications. Again, Rust. (unfortunately not maintained anymore)
* **Polars**: This DataFrame library is giving Pandas a run for its money in terms of performance. Guess what? Rust under the hood.
* **Maturin**: Making it dead simple to create Python extensions in Rust.
My team has written a blog post diving deeper into this trend, specifically looking at PyO3 (the framework that makes Python/Rust integration possible) and showing how to build your own high-performance Python extensions with Rust. If you wish, you can read it here: [https://www.blueshoe.io/blog/python-rust-pyo3/](https://www.blueshoe.io/blog/python-rust-pyo3/)
The really interesting part is that most Python developers don't even realize they're using Rust-powered tools. It's like Rust is becoming Python's performance co-pilot without much fanfare.
What are your thoughts on this trend? Have you tried building any Python extensions with Rust?
*Full disclosure: Our team at Blueshoe wrote the
/r/Python
https://redd.it/1ii64gp
BLUESHOE
Efficiently Extending Python: PyO3 and Rust in Action | BLUESHOE
Learn how to combine PyO3 Python and Rust to develop high-performance and flexible applications. Uniting security and performance 🚀
Flask limits with many users?
I developed a webapp in flask using jinja2 as frontend. It is now being hosted on a AWS EC2 server and the project is getting big in terms of users. Shall I start thinking about to change my backend technology or flask could still work? How many users could it support taking into consideration it is just about to do some simple query to my database?
Thank you guys
/r/flask
https://redd.it/1ii5tzy
I developed a webapp in flask using jinja2 as frontend. It is now being hosted on a AWS EC2 server and the project is getting big in terms of users. Shall I start thinking about to change my backend technology or flask could still work? How many users could it support taking into consideration it is just about to do some simple query to my database?
Thank you guys
/r/flask
https://redd.it/1ii5tzy
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
How to link to images in a subfolder of the templates folder?
I'm working on rebuilding my small blog in Flask. I currently have pages organized in year and date folders. So, all the specifics (html and images) for 2025-02-04 would be in /2025/0204/ . I'm looking to do the same in the templates folder in Flask.
How do I link to the images in the sub-sub-folder in the html? From what I know url_for() only looks in static for images.
/r/flask
https://redd.it/1ii3yej
I'm working on rebuilding my small blog in Flask. I currently have pages organized in year and date folders. So, all the specifics (html and images) for 2025-02-04 would be in /2025/0204/ . I'm looking to do the same in the templates folder in Flask.
How do I link to the images in the sub-sub-folder in the html? From what I know url_for() only looks in static for images.
/r/flask
https://redd.it/1ii3yej
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
How frequently do you use parallel processing at work?
Hi guys! I'm curious about your experiences with parallel processing. How often do you use it in your at work. I'd live to hear your insights and use cases
/r/Python
https://redd.it/1ii1i6z
Hi guys! I'm curious about your experiences with parallel processing. How often do you use it in your at work. I'd live to hear your insights and use cases
/r/Python
https://redd.it/1ii1i6z
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
fastplotlib, a new GPU-accelerated fast and interactive plotting library that leverages WGPU
What My Project Does
Fastplotlib is a next-gen plotting library that utilizes Vulkan, DX12, or Metal via WGPU, so it is very fast! We built this library for rapid prototyping and large-scale exploratory scientific visualization. This makes fastplotlib a great library for designing and developing machine learning models, especially in the realm of computer vision. Fastplotlib works in jupyterlab, Qt, and glfw, and also has optional imgui integration.
GitHub repo: https://github.com/fastplotlib/fastplotlib
Target audience:
Scientific visualization and production use.
Comparison:
Uses WGPU which is the next gen graphics stack, unlike most gpu accelerated libs that use opengl. We've tried very hard to make it easy to use for interactive plotting.
Our recent talk and examples gallery are a great way to get started!
Talk on youtube: https://www.youtube.com/watch?v=nmi-X6eU7Wo
Examples gallery: https://fastplotlib.org/ver/dev/gallery/index.html
As an aside, fastplotlib is not related to matplotlib in any way, we describe this in our FAQ: https://fastplotlib.org/ver/dev/userguide/faq.html#how-does-fastplotlib-relate-to-matplotlib
If you have any questions or would like to chat, feel free to reach out to us by posting a GitHub Issue or Discussion! We love engaging with our community!
/r/Python
https://redd.it/1iidlui
What My Project Does
Fastplotlib is a next-gen plotting library that utilizes Vulkan, DX12, or Metal via WGPU, so it is very fast! We built this library for rapid prototyping and large-scale exploratory scientific visualization. This makes fastplotlib a great library for designing and developing machine learning models, especially in the realm of computer vision. Fastplotlib works in jupyterlab, Qt, and glfw, and also has optional imgui integration.
GitHub repo: https://github.com/fastplotlib/fastplotlib
Target audience:
Scientific visualization and production use.
Comparison:
Uses WGPU which is the next gen graphics stack, unlike most gpu accelerated libs that use opengl. We've tried very hard to make it easy to use for interactive plotting.
Our recent talk and examples gallery are a great way to get started!
Talk on youtube: https://www.youtube.com/watch?v=nmi-X6eU7Wo
Examples gallery: https://fastplotlib.org/ver/dev/gallery/index.html
As an aside, fastplotlib is not related to matplotlib in any way, we describe this in our FAQ: https://fastplotlib.org/ver/dev/userguide/faq.html#how-does-fastplotlib-relate-to-matplotlib
If you have any questions or would like to chat, feel free to reach out to us by posting a GitHub Issue or Discussion! We love engaging with our community!
/r/Python
https://redd.it/1iidlui
GitHub
GitHub - fastplotlib/fastplotlib: Next-gen fast plotting library running on WGPU using the pygfx rendering engine
Next-gen fast plotting library running on WGPU using the pygfx rendering engine - fastplotlib/fastplotlib