Optimize Django Query Performance by combining Select Related and Prefetch Related
When building a Django application, one of the key challenges developers face is optimizing database query performance. Django provides two tools,selectrelated and prefetchrelated, that reduce the number of database queries, and increase the performance of your application. This post explores the power of these two methods and how to combine them to maximize your application’s query performance.
https://johnnymetz.com/posts/combine-select-related-prefetch-related/
When building a Django application, one of the key challenges developers face is optimizing database query performance. Django provides two tools,selectrelated and prefetchrelated, that reduce the number of database queries, and increase the performance of your application. This post explores the power of these two methods and how to combine them to maximize your application’s query performance.
https://johnnymetz.com/posts/combine-select-related-prefetch-related/
Johnny Metz
Optimize Django Query Performance by combining Select Related and Prefetch Related
Introduction
When building a Django application, one of the key challenges developers face is optimizing database query performance. Django provides two tools,select_related and prefetch_related, that reduce the number of database queries, and increase the…
When building a Django application, one of the key challenges developers face is optimizing database query performance. Django provides two tools,select_related and prefetch_related, that reduce the number of database queries, and increase the…
Datalab: A Linter for ML Datasets
Catch issues in your data/labels. This unified audit uses your ML model to automatically detect various problems in real-world datasets that can be fixed to produce a better model.
https://cleanlab.ai/blog/datalab/
Catch issues in your data/labels. This unified audit uses your ML model to automatically detect various problems in real-world datasets that can be fixed to produce a better model.
https://cleanlab.ai/blog/datalab/
Cleanlab
Datalab: A Linter for ML Datasets
Catch issues in your data/labels. This unified audit uses your ML model to automatically detect various problems in real-world datasets that can be fixed to produce a better model.
Building a Headless E-Commerce App Using OceanBase and Python
This post demonstrates how to use OceanBase in a Python project. We will create a REST API that serves as the backend of a headless e-commerce app.
https://dzone.com/articles/building-a-headless-e-commerce-app-using-oceanbase
This post demonstrates how to use OceanBase in a Python project. We will create a REST API that serves as the backend of a headless e-commerce app.
https://dzone.com/articles/building-a-headless-e-commerce-app-using-oceanbase
DZone
Building a Headless E-Commerce App Using OceanBase and Python
This blog post will demonstrate how to use OceanBase in a Python project. We will create a REST API that serves as the backend of a headless e-commerce app.
Implement DNS in a weekend
An interactive tutorial on implementing a basic DNS server using Python, guiding users through the process step-by-step with clear explanations and code examples, making it a useful resource for learning and understanding DNS server implementation.
https://implement-dns.wizardzines.com/
An interactive tutorial on implementing a basic DNS server using Python, guiding users through the process step-by-step with clear explanations and code examples, making it a useful resource for learning and understanding DNS server implementation.
https://implement-dns.wizardzines.com/
tidybot
Personalized Robot Assistance with Large Language Models.
https://github.com/jimmyyhwu/tidybot
Personalized Robot Assistance with Large Language Models.
https://github.com/jimmyyhwu/tidybot
GitHub
GitHub - jimmyyhwu/tidybot: TidyBot: Personalized Robot Assistance with Large Language Models
TidyBot: Personalized Robot Assistance with Large Language Models - jimmyyhwu/tidybot
haotian-liu / LLaVA
Large Language-and-Vision Assistant built towards multimodal GPT-4 level capabilities.
https://github.com/haotian-liu/LLaVA
Large Language-and-Vision Assistant built towards multimodal GPT-4 level capabilities.
https://github.com/haotian-liu/LLaVA
GitHub
GitHub - haotian-liu/LLaVA: [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.
[NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond. - haotian-liu/LLaVA
ruoccofabrizio / azure-open-ai-embeddings-qna
A simple web application for a OpenAI-enabled document search. This repo uses Azure OpenAI Service for creating embeddings vectors from documents. For answering the question of a user, it retrieves the most relevant document and then uses GPT-3, GPT-3.5 or GPT-4 to extract the matching answer for the question.
https://github.com/ruoccofabrizio/azure-open-ai-embeddings-qna
A simple web application for a OpenAI-enabled document search. This repo uses Azure OpenAI Service for creating embeddings vectors from documents. For answering the question of a user, it retrieves the most relevant document and then uses GPT-3, GPT-3.5 or GPT-4 to extract the matching answer for the question.
https://github.com/ruoccofabrizio/azure-open-ai-embeddings-qna
GitHub
GitHub - ruoccofabrizio/azure-open-ai-embeddings-qna: A simple web application for a OpenAI-enabled document search. This repo…
A simple web application for a OpenAI-enabled document search. This repo uses Azure OpenAI Service for creating embeddings vectors from documents. For answering the question of a user, it retrieves...
Guidance
A guidance language for controlling large language models.
https://github.com/microsoft/guidance
A guidance language for controlling large language models.
https://github.com/microsoft/guidance
GitHub
GitHub - guidance-ai/guidance: A guidance language for controlling large language models.
A guidance language for controlling large language models. - guidance-ai/guidance
Trogon
Auto-generate friendly terminal user interfaces for command line apps.
https://github.com/Textualize/trogon
Auto-generate friendly terminal user interfaces for command line apps.
https://github.com/Textualize/trogon
GitHub
GitHub - Textualize/trogon: Easily turn your Click CLI into a powerful terminal application
Easily turn your Click CLI into a powerful terminal application - Textualize/trogon
smol developer
Human-centric & Coherent Whole Program Synthesis aka your own personal junior developer
https://github.com/smol-ai/developer
Human-centric & Coherent Whole Program Synthesis aka your own personal junior developer
https://github.com/smol-ai/developer
GitHub
GitHub - smol-ai/developer: the first library to let you embed a developer agent in your own app!
the first library to let you embed a developer agent in your own app! - smol-ai/developer
5 Tips for Writing Great Code Documentation
This video shares the essential principles for creating clear, concise, and effective code documentation. From commenting to docstrings, you’ll learn how to make your code documentation shine and improve accessibility for others.
https://www.youtube.com/watch?v=L7Ry-Fiij-M
This video shares the essential principles for creating clear, concise, and effective code documentation. From commenting to docstrings, you’ll learn how to make your code documentation shine and improve accessibility for others.
https://www.youtube.com/watch?v=L7Ry-Fiij-M
YouTube
How to Document Your Code Like a Pro
👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis.
In this video, I’ll share the essential principles for creating clear, concise, and effective code documentation. From commenting to docstrings, you’ll learn how to…
In this video, I’ll share the essential principles for creating clear, concise, and effective code documentation. From commenting to docstrings, you’ll learn how to…
Sorting a Django queryset by a custom sequence of an attribute
https://rednafi.com/python/sort_by_a_custom_sequence_in_django/
https://rednafi.com/python/sort_by_a_custom_sequence_in_django/
Redowan's Reflections
Sorting a Django queryset by a custom sequence of an attribute
I needed a way to sort a Django queryset based on a custom sequence of an attribute.
Typically, Django allows sorting a queryset by any attribute on the model or related to it
in either ascending or descending order. However, what if you need to sort the…
Typically, Django allows sorting a queryset by any attribute on the model or related to it
in either ascending or descending order. However, what if you need to sort the…
Why you should still read the docs
Do you feel you're fighting your tools? Do you feel you're relying too much on autocomplete and inline documentation? Most good documentation won't show up in your IDE – rather, it is about how to use the library, and the problem the library is solving.
https://death.andgravity.com/output
Do you feel you're fighting your tools? Do you feel you're relying too much on autocomplete and inline documentation? Most good documentation won't show up in your IDE – rather, it is about how to use the library, and the problem the library is solving.
https://death.andgravity.com/output
death and gravity
Why you should still read the docs
Do you feel you're fighting your tools? Do you feel you're relying too much on autocomplete and inline documentation? tl;dr: Most good documentation won't show up in your IDE – rather, it is about how to use the library, and the problem the library is solving.