Deprecate confusing APIs like “os.path.commonprefix()”
The article argues that confusing APIs like Python’s os.path.commonprefix() should be deprecated because their misleading naming and placement cause developers to misuse them and introduce security vulnerabilities. It shows how decades of confusion around this function led to real path-traversal bugs and concludes that unsafe or misleading APIs should be replaced by clearer alternatives ...
https://sethmlarson.dev/deprecate-confusing-apis-like-os-path-commonprefix
The article argues that confusing APIs like Python’s os.path.commonprefix() should be deprecated because their misleading naming and placement cause developers to misuse them and introduce security vulnerabilities. It shows how decades of confusion around this function led to real path-traversal bugs and concludes that unsafe or misleading APIs should be replaced by clearer alternatives ...
https://sethmlarson.dev/deprecate-confusing-apis-like-os-path-commonprefix
sethmlarson.dev
Deprecate confusing APIs like “os.path.commonprefix()”
The os.path.commonprefix() function has been an API in the Python
standard library for at least 35 years (since February 1991)
and in that time has been confusing users and creating security
issues...
standard library for at least 35 years (since February 1991)
and in that time has been confusing users and creating security
issues...
❤1
code-graph-rag
Code-Graph-RAG builds knowledge graphs from multi-language codebases and enables AI-powered querying and editing. It uses Tree-sitter to parse ASTs across 11 languages, stores structural data in Memgraph, and translates natural language questions into Cypher graph queries. Unlike vector-based RAG, it preserves exact code relationships: call chains, inheritance hierarchies, and module dep...
https://github.com/vitali87/code-graph-rag
Code-Graph-RAG builds knowledge graphs from multi-language codebases and enables AI-powered querying and editing. It uses Tree-sitter to parse ASTs across 11 languages, stores structural data in Memgraph, and translates natural language questions into Cypher graph queries. Unlike vector-based RAG, it preserves exact code relationships: call chains, inheritance hierarchies, and module dep...
https://github.com/vitali87/code-graph-rag
GitHub
GitHub - vitali87/code-graph-rag: The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with…
The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs - vitali87/code-graph-rag
❤1
Pytest parameter functions
The post shows how to make complex pytest.mark.parametrize data more readable and maintainable by wrapping each test case in small helper functions instead of raw tuples. It also demonstrates using pytest.param with custom IDs inside those helpers so long, messy parameter values become clear, concise test names that are easier to work with.
https://nedbatchelder.com/blog/202602/pytest_parameter_functions
The post shows how to make complex pytest.mark.parametrize data more readable and maintainable by wrapping each test case in small helper functions instead of raw tuples. It also demonstrates using pytest.param with custom IDs inside those helpers so long, messy parameter values become clear, concise test names that are easier to work with.
https://nedbatchelder.com/blog/202602/pytest_parameter_functions
Nedbatchelder
Pytest parameter functions
Pytest’s parametrize can be made even more powerful with your own helper functions to build test cases.
❤1
Invent your own comprehensions in Python
Python doesn't have tuple, frozenset, or Counter comprehensions, but you can invent your own by passing a generator expression to any iterable-accepting callable.
https://www.pythonmorsels.com/custom-comprehensions/
Python doesn't have tuple, frozenset, or Counter comprehensions, but you can invent your own by passing a generator expression to any iterable-accepting callable.
https://www.pythonmorsels.com/custom-comprehensions/
Pythonmorsels
Invent your own comprehensions in Python
Python doesn't have tuple, frozenset, or Counter comprehensions, but you can invent your own by passing a generator expression to any iterable-accepting callable.
GraphZero
High-Performance, Zero-Copy Graph Engine for Massive Datasets on Consumer Hardware.
https://github.com/KrishSingaria/graphzero
High-Performance, Zero-Copy Graph Engine for Massive Datasets on Consumer Hardware.
https://github.com/KrishSingaria/graphzero
GitHub
GitHub - KrishSingaria/graphzero: graphzero: High performance C++ backed python library for graphs
graphzero: High performance C++ backed python library for graphs - KrishSingaria/graphzero
D-MemFS
In-process virtual filesystem with hard quota for Python.
https://github.com/nightmarewalker/D-MemFS
In-process virtual filesystem with hard quota for Python.
https://github.com/nightmarewalker/D-MemFS
GitHub
GitHub - nightmarewalker/D-MemFS: In-process virtual filesystem with hard quota for Python
In-process virtual filesystem with hard quota for Python - nightmarewalker/D-MemFS
AutoResearchClaw
Fully autonomous & self-evolving research from idea to paper. Chat an Idea. Get a Paper.
https://github.com/aiming-lab/AutoResearchClaw
Fully autonomous & self-evolving research from idea to paper. Chat an Idea. Get a Paper.
https://github.com/aiming-lab/AutoResearchClaw
GitHub
GitHub - aiming-lab/AutoResearchClaw: Fully autonomous & self-evolving research from idea to paper. Chat an Idea. Get a Paper. 🦞
Fully autonomous & self-evolving research from idea to paper. Chat an Idea. Get a Paper. 🦞 - aiming-lab/AutoResearchClaw
ClawTeam
One Command Line: Full Automation - agents spawn swarms, delegate tasks, and deliver results.
https://github.com/HKUDS/ClawTeam
One Command Line: Full Automation - agents spawn swarms, delegate tasks, and deliver results.
https://github.com/HKUDS/ClawTeam
GitHub
GitHub - HKUDS/ClawTeam: "ClawTeam: Agent Swarm Intelligence" (One Command → Full Automation)
"ClawTeam: Agent Swarm Intelligence" (One Command → Full Automation) - HKUDS/ClawTeam
Avoiding empty strings in non-nullable Django string-based model fields
Django allows empty strings ('') even on non-nullable string fields, so you must explicitly enforce non-empty values using validation or database constraints rather than relying on null=False. The post argues for treating empty strings as invalid at the model or DB level (e.g., validators or CHECK constraints) to ensure true “required” semantics for string fields.
https://peateasea.de/avoiding-empty-strings-in-non-nullable-django-string-based-model-fields/
Django allows empty strings ('') even on non-nullable string fields, so you must explicitly enforce non-empty values using validation or database constraints rather than relying on null=False. The post argues for treating empty strings as invalid at the model or DB level (e.g., validators or CHECK constraints) to ensure true “required” semantics for string fields.
https://peateasea.de/avoiding-empty-strings-in-non-nullable-django-string-based-model-fields/
P.T.C.
Avoiding empty strings in non-nullable Django string-based model fields
Trying to save a null value to a non-nullable field in Django will raise an IntegrityError, right? Well, not always. It turns out that Django saves string-based model fields as the empty string into the database instead. Usually, this is ok. For those…
The Slow Collapse of MkDocs
How personality clashes, an absent founder, and a controversial redesign fractured one of Python's most popular projects.
https://fpgmaas.com/blog/collapse-of-mkdocs/
How personality clashes, an absent founder, and a controversial redesign fractured one of Python's most popular projects.
https://fpgmaas.com/blog/collapse-of-mkdocs/
Fpgmaas
The Slow Collapse of MkDocs
How personality clashes, an absent founder, and a controversial redesign fractured one of Python's most popular projects.
Building an Invisible Daemon
Many developer tools need a long-running local process — an LSP server, a file watcher, an indexing service. The challenge isn't just building the daemon. It's making it invisible.
https://cocoindex.io/blogs/building-an-invisible-daemon
Many developer tools need a long-running local process — an LSP server, a file watcher, an indexing service. The challenge isn't just building the daemon. It's making it invisible.
https://cocoindex.io/blogs/building-an-invisible-daemon
cocoindex.io
Building an Invisible Daemon: Architecture Patterns for Local Developer Tools | CocoIndex
Patterns for building local daemons that start on first use, upgrade transparently, and shut down cleanly — learned from building cocoindex-code's semantic search daemon.
openclaw / skills
All versions of all skills that are on clawhub.com archived
https://github.com/openclaw/skills
All versions of all skills that are on clawhub.com archived
https://github.com/openclaw/skills
GitHub
GitHub - openclaw/skills: All versions of all skills that are on clawhub.com archived
All versions of all skills that are on clawhub.com archived - openclaw/skills
Stop Passing Primitives Everywhere (Use Value Objects)
By replacing primitives with immutable Value Objects, you can centralize validation and eliminate domain ambiguity for types like prices and percentages. This pattern ensures that invalid states are impossible to represent, creating a self-documenting and more reliable codebase without the overhead of heavy frameworks.
https://www.youtube.com/watch?v=CWYwz3iV1g0
By replacing primitives with immutable Value Objects, you can centralize validation and eliminate domain ambiguity for types like prices and percentages. This pattern ensures that invalid states are impossible to represent, creating a self-documenting and more reliable codebase without the overhead of heavy frameworks.
https://www.youtube.com/watch?v=CWYwz3iV1g0
YouTube
Stop Passing Primitives Everywhere (Use Value Objects)
🧱 Build software that lasts. Join the Software Design Mastery waiting list → https://arjan.codes/mastery.
In this video, I show how to use the Value Object pattern in Python to model prices, percentages, and email addresses properly. I’ll enforce invariants…
In this video, I show how to use the Value Object pattern in Python to model prices, percentages, and email addresses properly. I’ll enforce invariants…
Reducing Pydantic's memory footprint using bitsets
In this post, we are going to see how the original issue was investigated and how we can leverage bitsets to greatly reduce the memory usage of Pydantic model instances.
https://pydantic.dev/articles/pydantic-bitset-performance
In this post, we are going to see how the original issue was investigated and how we can leverage bitsets to greatly reduce the memory usage of Pydantic model instances.
https://pydantic.dev/articles/pydantic-bitset-performance
pydantic.dev
Reducing Pydantic's Memory Footprint by 55% Using Bitsets | Pydantic Validation
Learn how Pydantic replaced Python sets with Rust-powered bitsets to cut model instance memory usage by 55% and speed up validation. A deep dive into PEP 412, memory profiling with Memray, and the bitset implementation.
Modern Terminal User Interfaces in Python
In this video, we take a quick look at how to easily develop Terminal User Interfaces (TUIs) in Python using a package called blessed.
https://www.youtube.com/watch?v=RJ-ZFzaEvzM
In this video, we take a quick look at how to easily develop Terminal User Interfaces (TUIs) in Python using a package called blessed.
https://www.youtube.com/watch?v=RJ-ZFzaEvzM
YouTube
Modern Terminal User Interfaces in Python
In this video, we take a quick look at how to easily develop Terminal User Interfaces (TUIs) in Python using a package called blessed.
Code: https://github.com/NeuralNine/youtube-tutorials/tree/main/Modern%20TUI%20Applications
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming…
Code: https://github.com/NeuralNine/youtube-tutorials/tree/main/Modern%20TUI%20Applications
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming…
Build a smart financial assistant with LlamaParse and Gemini 3.1
Learn how to extract high-quality data from complex, unstructured PDFs using LlamaParse powered by Gemini 3.1 Pro. This guide demonstrates an event-driven workflow to automate the parsing of dense financial tables and generate intelligent summaries with Gemini 3.1 Flash. Perfect for developers building scalable document-parsing pipelines and AI personal finance assistants.
https://developers.googleblog.com/build-a-smart-financial-assistant-with-llamaparse-and-gemini-31/
Learn how to extract high-quality data from complex, unstructured PDFs using LlamaParse powered by Gemini 3.1 Pro. This guide demonstrates an event-driven workflow to automate the parsing of dense financial tables and generate intelligent summaries with Gemini 3.1 Flash. Perfect for developers building scalable document-parsing pipelines and AI personal finance assistants.
https://developers.googleblog.com/build-a-smart-financial-assistant-with-llamaparse-and-gemini-31/
Googleblog
Google for Developers Blog - News about Web, Mobile, AI and Cloud
Learn how to extract high-quality data from complex, unstructured PDFs using LlamaParse powered by Gemini 3.1 Pro. This guide demonstrates an event-driven workflow to automate the parsing of dense financial tables and generate intelligent summaries with Gemini…
mvanhorn / last30days-skill
AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
https://github.com/mvanhorn/last30days-skill
AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
https://github.com/mvanhorn/last30days-skill
GitHub
GitHub - mvanhorn/last30days-skill: AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the…
AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary - mvanhorn/last30days-skill
parameter-golf
Train the smallest LM you can that fits in 16MB. Best model wins!
https://github.com/openai/parameter-golf
Train the smallest LM you can that fits in 16MB. Best model wins!
https://github.com/openai/parameter-golf
GitHub
GitHub - openai/parameter-golf: Train the smallest LM you can that fits in 16MB. Best model wins!
Train the smallest LM you can that fits in 16MB. Best model wins! - openai/parameter-golf