Tagged articles

Python

5000 articles · Page 8 of 50
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 3, 2025 · Backend Development

From Flask to FastAPI: A Complete Guide to Building High‑Performance Python Web APIs

This article walks you through building modern Python web applications, starting with Flask fundamentals, advancing to FastAPI’s async capabilities, covering RESTful API design, database integration with SQLAlchemy and Tortoise ORM, testing, deployment, and performance comparisons to help you choose the right framework.

FastAPIFlaskPython
0 likes · 22 min read
From Flask to FastAPI: A Complete Guide to Building High‑Performance Python Web APIs
BirdNest Tech Talk
BirdNest Tech Talk
Oct 2, 2025 · Artificial Intelligence

How Function Calling Empowers LLMs: A Step‑by‑Step LangChain Guide

This article explains how function (tool) calling lets large language models like GPT or Gemini invoke external APIs, walks through defining tools with LangChain, and demonstrates a complete Python example that fetches real‑time weather data and returns a natural‑language answer.

AI agentsFunction CallingLLM
0 likes · 9 min read
How Function Calling Empowers LLMs: A Step‑by‑Step LangChain Guide
Code Mala Tang
Code Mala Tang
Oct 1, 2025 · Fundamentals

Why .join() Beats + for Fast String Concatenation in Python

This article compares Python's + operator and the .join() method for concatenating strings, showing how .join() offers clearer code and up to four‑times better performance by reducing memory allocations, especially when joining many strings.

Coding TipsJOINPerformance
0 likes · 6 min read
Why .join() Beats + for Fast String Concatenation in Python
MoonWebTeam
MoonWebTeam
Oct 1, 2025 · Artificial Intelligence

Unlocking ChatGPT: A Deep Dive into Transformers, Tokenization, and Self‑Attention

This tutorial walks through the fundamentals of ChatGPT by explaining language modeling, character‑level tokenization, data preprocessing pipelines, the evolution from simple bigram models to scaled dot‑product self‑attention, multi‑head mechanisms, full Transformer blocks, and how to train and generate Shakespeare‑style text with a GPT model.

ChatGPTGPTLanguage Modeling
0 likes · 50 min read
Unlocking ChatGPT: A Deep Dive into Transformers, Tokenization, and Self‑Attention
BirdNest Tech Talk
BirdNest Tech Talk
Sep 30, 2025 · Artificial Intelligence

LLM vs. ChatModel in LangChain: Choosing the Right Interface

This article explains LangChain's two core abstractions—LLM for simple text completion and ChatModel for multi‑turn conversational AI—detailing their input/output formats, practical code examples, and why ChatModel is generally preferred for modern dialogue applications.

AIChatModelLLM
0 likes · 6 min read
LLM vs. ChatModel in LangChain: Choosing the Right Interface
Python Programming Learning Circle
Python Programming Learning Circle
Sep 30, 2025 · Fundamentals

How to Supercharge Your Python Code: Proven Performance Optimization Techniques

This comprehensive guide walks you through Python performance optimization, covering profiling, algorithmic improvements, data‑structure choices, code‑level tricks, concurrency, memory management, third‑party libraries and a practical checklist to ensure your programs run faster and more efficiently.

Memory managementPerformance optimizationProfiling
0 likes · 18 min read
How to Supercharge Your Python Code: Proven Performance Optimization Techniques
Code Mala Tang
Code Mala Tang
Sep 30, 2025 · Fundamentals

Master Python Shallow vs Deep Copy: Using copy.copy() and copy.deepcopy()

This article explains Python's assignment operator behavior, demonstrates why it creates shared references rather than true copies, and provides detailed examples of shallow and deep copying using the copy module, including code snippets, output analysis, and practical scenarios such as data processing and game development.

Pythoncopy moduledeep copy
0 likes · 11 min read
Master Python Shallow vs Deep Copy: Using copy.copy() and copy.deepcopy()
Amazon Cloud Developers
Amazon Cloud Developers
Sep 30, 2025 · Artificial Intelligence

Claude Sonnet 4.5 Arrives: Efficiently Deploy Production‑Grade Agents for Long‑Context Tasks

Claude Sonnet 4.5 is now available on Amazon Bedrock, offering upgraded agent capabilities such as tool use, memory management, and extended context handling, with new API features like smart window management, automatic tool‑record cleanup, and cross‑dialog memory, demonstrated through a Python Boto3 example that generates a detailed digital‑transformation plan.

AI agentsAmazon BedrockBoto3
0 likes · 9 min read
Claude Sonnet 4.5 Arrives: Efficiently Deploy Production‑Grade Agents for Long‑Context Tasks
Alibaba Cloud Native
Alibaba Cloud Native
Sep 30, 2025 · Cloud Native

Deploy a Scalable MCP Server with Function Compute and MSE Nacos

This guide explains how to address high deployment costs, slow iteration, and poor manageability of MCP Server by using Alibaba Cloud Function Compute for serverless execution and MSE Nacos Enterprise for automatic registration, dynamic configuration, and unified service governance.

Function ComputeMCPMSE Nacos
0 likes · 13 min read
Deploy a Scalable MCP Server with Function Compute and MSE Nacos
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 30, 2025 · Fundamentals

Unlock Python’s Memory Secrets: Advanced Techniques to Boost Performance

This comprehensive guide explores Python’s memory management internals, covering allocation, reference counting, garbage collection, profiling tools, optimization strategies such as slots, generators, array usage, memory views, custom allocators, and practical case studies for big data and web applications, helping developers write faster, more memory‑efficient code.

Garbage CollectionMemory managementPython
0 likes · 24 min read
Unlock Python’s Memory Secrets: Advanced Techniques to Boost Performance
BirdNest Tech Talk
BirdNest Tech Talk
Sep 29, 2025 · Artificial Intelligence

Mastering LangChain Serialization: Save, Load, and Share Your AI Workflows

Learn how to serialize LangChain components—including prompts, chains, and agents—using JSON and YAML, enabling reproducibility, collaboration, persistence, and decoupling, with step‑by‑step code examples for dumping objects to files and loading them back into executable LLM pipelines.

AI workflowLLMLangChain
0 likes · 8 min read
Mastering LangChain Serialization: Save, Load, and Share Your AI Workflows
BirdNest Tech Talk
BirdNest Tech Talk
Sep 28, 2025 · Artificial Intelligence

Mastering LangChain Callbacks: Track LLM Execution Step‑by‑Step

LangChain’s callback system lets developers hook into every stage of an LLM chain— from chain start/end to token generation—using built‑in handlers like StdOutCallbackHandler or custom handlers derived from BaseCallbackHandler, with examples showing constructor‑level and request‑level attachment, plus a custom handler implementation.

AICallbacksLLM
0 likes · 6 min read
Mastering LangChain Callbacks: Track LLM Execution Step‑by‑Step
Python Programming Learning Circle
Python Programming Learning Circle
Sep 28, 2025 · Fundamentals

Master Python Async: From Generators and Yield to Async/Await and Real‑World Applications

This comprehensive guide walks you through Python's evolution from simple generators using yield, through two‑way communication with yield expressions and generator delegation with yield from, to modern asynchronous programming with asyncio and async/await, including practical examples, performance comparisons, best practices, and common pitfalls.

Async/AwaitPythonasynchronous programming
0 likes · 17 min read
Master Python Async: From Generators and Yield to Async/Await and Real‑World Applications
Python Programming Learning Circle
Python Programming Learning Circle
Sep 28, 2025 · Cloud Native

Which Docker Base Image Is Best for Python Apps? A Comprehensive Comparison

This article evaluates various Docker base images—including Ubuntu, CentOS, Debian, Amazon Linux 2, official Python images, and Alpine—by examining stability, security updates, dependency freshness, library richness, Python version support, image size, and build time to guide developers in selecting the optimal base for Python applications.

AlpineBase ImageDocker
0 likes · 16 min read
Which Docker Base Image Is Best for Python Apps? A Comprehensive Comparison
IT Services Circle
IT Services Circle
Sep 28, 2025 · Artificial Intelligence

How to Build a Python AI Model for Predicting User Behavior

This article walks through the complete machine‑learning workflow for predicting user actions—covering core concepts, data collection, preprocessing, feature engineering, model training, evaluation, hyper‑parameter tuning, deployment, and future directions—using Python and popular AI libraries.

Pythonfeature engineeringmodel evaluation
0 likes · 11 min read
How to Build a Python AI Model for Predicting User Behavior
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 28, 2025 · Cloud Native

How to Build Python Microservices with Zero‑Intrusion Service Discovery Using Nacos

This article introduces a Python‑centric microservice solution built on Nacos that brings non‑intrusive service registration, low‑threshold discovery, and flexible configuration to Python applications, offering code examples, CLI tools, import hooks, and middleware to achieve Java‑like ease of use in the cloud‑native era.

Backend DevelopmentMicroservicesNacos
0 likes · 11 min read
How to Build Python Microservices with Zero‑Intrusion Service Discovery Using Nacos
Python Programming Learning Circle
Python Programming Learning Circle
Sep 27, 2025 · Fundamentals

What’s New in Python 3.14 RC3? Key Features, Release Timeline, and Upgrade Tips

Python 3.14.0rc3, the final release candidate of the upcoming 3.14 series, arrives with major updates—including PEP 779’s GIL‑free support, delayed annotation evaluation, new t‑strings, multi‑interpreter stdlib, Zstandard compression, enhanced UUID generation, and build changes—while urging developers to prepare for the October 7 final release.

PEPPythonVersion 3.14
0 likes · 6 min read
What’s New in Python 3.14 RC3? Key Features, Release Timeline, and Upgrade Tips
Python Programming Learning Circle
Python Programming Learning Circle
Sep 26, 2025 · Fundamentals

Top 10 Python Visualization Libraries You Should Know

This article introduces ten Python data‑visualization libraries—ranging from the classic Matplotlib to newer tools like Gleam and Leather—detailing their main features, typical use cases, and where to find more information, helping readers choose the right tool for their projects.

BokehData VisualizationMatplotlib
0 likes · 10 min read
Top 10 Python Visualization Libraries You Should Know
Python Programming Learning Circle
Python Programming Learning Circle
Sep 26, 2025 · Game Development

How to Build a Python Missile‑Tracking Demo with Pygame – Step‑by‑Step Guide

This article explains a simple Python missile‑tracking algorithm using Pygame, covering the mathematical basis of time‑sliced vector calculations, triangle geometry for direction and distance, and detailed code that handles movement, rotation, and image offset to keep the missile tip aligned with the target.

Game DevelopmentMissile TrackingPygame
0 likes · 10 min read
How to Build a Python Missile‑Tracking Demo with Pygame – Step‑by‑Step Guide
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Sep 26, 2025 · Databases

Master MongoDB: From Basics to Advanced Practices

This comprehensive MongoDB tutorial covers its core concepts, suitable scenarios, basic CRUD operations, document structure, query syntax, indexing, aggregation framework, advanced features like MapReduce and transactions, Python integration, real‑world case studies, and provides command summaries with practice exercises for beginners to intermediate users.

AggregationDatabaseMongoDB
0 likes · 5 min read
Master MongoDB: From Basics to Advanced Practices
360 Smart Cloud
360 Smart Cloud
Sep 26, 2025 · Artificial Intelligence

How to Turn OpenAPI Specs into AI Agent Tools with MCP: A Multi‑Language Guide

This article explains how the Model Context Protocol (MCP) bridges large language models and external services by converting OpenAPI specifications into callable tools, covering generation with openapi‑generator, mapping rules, three runtime modes (stdio, streamable, SSE), and implementation details in Java, Python, and Go.

AI agentsGoJava
0 likes · 23 min read
How to Turn OpenAPI Specs into AI Agent Tools with MCP: A Multi‑Language Guide
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 26, 2025 · Fundamentals

Why Python Type Annotations Are Your Code’s Safety Net (And How to Use Them)

This comprehensive guide explains why Python type annotations act like a safety net for your code, covering their benefits, basic and advanced syntax, static analysis with mypy, IDE integration, best‑practice strategies, and how to adopt them in existing projects for improved reliability and collaboration.

Best PracticesIDE integrationPython
0 likes · 15 min read
Why Python Type Annotations Are Your Code’s Safety Net (And How to Use Them)
DevOps Coach
DevOps Coach
Sep 25, 2025 · Fundamentals

Unlock Python Speed: 12 Little‑Known Tricks to Turbocharge Your Code

Python is praised for its clarity but often deemed slow; this article reveals twelve overlooked, sometimes unconventional techniques—from using enumerate instead of range loops to leveraging Numba, Polars, and mypyc—that can dramatically accelerate data pipelines, APIs, and scientific workloads without rewriting code in another language.

OptimizationPolarsProfiling
0 likes · 9 min read
Unlock Python Speed: 12 Little‑Known Tricks to Turbocharge Your Code
21CTO
21CTO
Sep 25, 2025 · Fundamentals

Master Python Coding Standards: 50 Essential Best Practices for Clean, Maintainable Code

This comprehensive guide presents 50 practical Python coding best‑practice rules covering naming, function design, object‑oriented principles, exception handling, code style, and project structure, showing how to write self‑explanatory, reusable, and robust code that stands the test of time and team collaboration.

Pythonclean codecoding standards
0 likes · 25 min read
Master Python Coding Standards: 50 Essential Best Practices for Clean, Maintainable Code
Data Party THU
Data Party THU
Sep 25, 2025 · Artificial Intelligence

Mastering Triplet Loss in Sentence‑Transformers: A Step‑by‑Step Guide

This article explains the concept of triplet loss, its mathematical formulation, the different batch‑wise implementations in the sentence_transformers library, their advantages and drawbacks, and provides a complete Python example for training a text‑embedding model with Triplet Loss.

EmbeddingPyTorchPython
0 likes · 12 min read
Mastering Triplet Loss in Sentence‑Transformers: A Step‑by‑Step Guide
Tech Freedom Circle
Tech Freedom Circle
Sep 25, 2025 · Operations

RAGFlow Link Tracing: GPS‑Style Observability for LLM‑Powered Applications

The article explains why RAGFlow needs end‑to‑end link tracing, introduces OpenTelemetry’s core concepts, shows how custom tracing utilities are implemented in Python, describes the layered architecture, provides concrete Docker and YAML configurations, and offers best‑practice guidelines for performance monitoring and fault diagnosis.

LLMObservabilityOpenTelemetry
0 likes · 24 min read
RAGFlow Link Tracing: GPS‑Style Observability for LLM‑Powered Applications
Tech Freedom Circle
Tech Freedom Circle
Sep 25, 2025 · Artificial Intelligence

How RAGFlow’s Agent Engine Turns Retrieval into a Problem‑Solving AI

This article explains how RAGFlow upgrades a traditional RAG system from a passive question‑answer engine to an active problem‑solving agent by integrating the ReAct reasoning‑action‑observation loop, a visual canvas workflow, and a modular component‑tool ecosystem, with concrete Python implementations and code examples.

AI agentsPythonReAct
0 likes · 16 min read
How RAGFlow’s Agent Engine Turns Retrieval into a Problem‑Solving AI
BirdNest Tech Talk
BirdNest Tech Talk
Sep 25, 2025 · Artificial Intelligence

How to Install and Configure LangChain for LLM Development

This guide walks you through installing the LangChain library, adding model‑specific packages, verifying the setup with a Python script, configuring API keys via environment variables or a .env file, and preparing to use OpenAI‑compatible models such as DeepSeek or Qwen.

API keysInstallationLLM
0 likes · 8 min read
How to Install and Configure LangChain for LLM Development
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 25, 2025 · Fundamentals

Mastering Python Async: From Generators to Async/Await and Real-World Use Cases

Explore the evolution of Python asynchronous programming—from basic generators and yield expressions to advanced async/await syntax, including practical examples like network requests, file I/O, producer-consumer patterns, performance comparisons, error handling, and best-practice recommendations for efficient, scalable code.

Async/AwaitPerformancePython
0 likes · 16 min read
Mastering Python Async: From Generators to Async/Await and Real-World Use Cases
Python Programming Learning Circle
Python Programming Learning Circle
Sep 24, 2025 · Fundamentals

Master Python Virtual Environments: Prevent Dependency Conflicts

Learn why Python virtual environments are essential for isolating project dependencies, compare the three main tools—venv, virtualenv, and conda—and follow step‑by‑step commands to create, activate, manage packages, export requirements, and integrate environments into real‑world development workflows.

Pythondependency managementdevelopment workflow
0 likes · 8 min read
Master Python Virtual Environments: Prevent Dependency Conflicts
Python Programming Learning Circle
Python Programming Learning Circle
Sep 23, 2025 · Fundamentals

Master Python Shallow vs Deep Copy: Avoid Hidden Bugs and Boost Your Code

This article explains the difference between shallow and deep copying in Python, shows why simple copies can unintentionally modify original data, provides visual memory diagrams, demonstrates multiple copying methods with code examples, compares performance, and offers practical guidelines for choosing the right copy technique in real projects.

Memory managementPerformancePython
0 likes · 10 min read
Master Python Shallow vs Deep Copy: Avoid Hidden Bugs and Boost Your Code
Python Programming Learning Circle
Python Programming Learning Circle
Sep 23, 2025 · Fundamentals

Unlock Python Power: Master Decorators in Minutes

This article explains Python decorators—from basic analogies and the underlying concepts of higher‑order functions and closures to practical examples like timing and logging decorators—showing how to enhance functions dynamically without altering their source code while preserving metadata with functools.wraps.

DecoratorHigher-order functionPython
0 likes · 8 min read
Unlock Python Power: Master Decorators in Minutes
Data STUDIO
Data STUDIO
Sep 23, 2025 · Backend Development

Three Ways to Convert a Python Script into an .exe File

This article explains why turning a Python script into a standalone .exe can simplify distribution, improve usability, protect source code, and enhance portability, and it provides step‑by‑step guides for three popular tools—PyInstaller, auto‑py‑to‑exe (py2exe), and cx_Freeze—along with a concise feature comparison.

Pythonauto-py-to-execx_freeze
0 likes · 10 min read
Three Ways to Convert a Python Script into an .exe File
Fun with Large Models
Fun with Large Models
Sep 22, 2025 · Artificial Intelligence

Building Conditional Branch and Loop Graphs with LangGraph AI Agents

This tutorial demonstrates how to use LangGraph's low‑level API to create stateful conditional‑branch, loop, and combined graphs for AI agents, showing step‑by‑step definitions of Pydantic state models, node logic, edge configuration, compilation, and test execution with concrete code examples.

AI agentsLangGraphPydantic
0 likes · 12 min read
Building Conditional Branch and Loop Graphs with LangGraph AI Agents
21CTO
21CTO
Sep 22, 2025 · Fundamentals

What’s Driving Python’s 2025 Surge? Survey Reveals AI, Web, and Rust Trends

Based on a survey of over 30,000 Python developers, the 2025 report shows half are newcomers, AI‑assisted coding is exploding, FastAPI leads web frameworks, most still run legacy versions, Rust‑based tools gain traction, and PostgreSQL remains the dominant database, shaping Python’s future direction.

AIDeveloper SurveyFastAPI
0 likes · 11 min read
What’s Driving Python’s 2025 Surge? Survey Reveals AI, Web, and Rust Trends
Data STUDIO
Data STUDIO
Sep 22, 2025 · Frontend Development

Is Pynecone the Full‑Stack Python Web Framework You’ve Been Waiting For?

This article introduces Pynecone, a Python‑only full‑stack web framework, explains its advantages over Flask/Django, walks through installation, project setup, and building a simple multiply/divide app with code examples, and highlights its suitability for data‑science dashboards and rapid prototyping.

Data Science AppsFull‑Stack Web FrameworkPynecone
0 likes · 13 min read
Is Pynecone the Full‑Stack Python Web Framework You’ve Been Waiting For?

Getting Started with Tree-sitter: High‑Performance Code Parsing and Multi‑Language SQL Extraction

Tree-sitter is a high‑performance incremental parsing library that supports over 50 languages; the article explains its core features, typical use cases such as editor syntax highlighting and static analysis, and walks through a concrete multi‑language SQL extraction implementation in Java, Python, and XML.

JavaPythonSQL extraction
0 likes · 6 min read
Getting Started with Tree-sitter: High‑Performance Code Parsing and Multi‑Language SQL Extraction
AI Algorithm Path
AI Algorithm Path
Sep 21, 2025 · Fundamentals

Mastering Python Virtual Environments: A Step‑by‑Step Guide

This article explains why Python virtual environments are essential for avoiding dependency conflicts, walks through creating and activating a venv, demonstrates installing, listing, and removing packages with pip, and shows how to manage requirements with a requirements.txt file.

Pythondependency managementpip
0 likes · 8 min read
Mastering Python Virtual Environments: A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Sep 19, 2025 · Fundamentals

Compare Python Project Scaffolding: Cookiecutter, PyScaffold, PyBuilder, Poetry

This article reviews four popular Python project scaffolding and build tools—Cookiecutter, PyScaffold, PyBuilder, and Poetry—detailing their installation, generated directory structures, and typical make or tox commands, helping developers choose the most suitable workflow for organizing and packaging Python code.

Build ToolsCookiecutterPoetry
0 likes · 11 min read
Compare Python Project Scaffolding: Cookiecutter, PyScaffold, PyBuilder, Poetry
Python Programming Learning Circle
Python Programming Learning Circle
Sep 19, 2025 · Operations

Which Docker Base Image Is Best for Python Apps? A Practical Comparison

This article evaluates several Docker base images—Ubuntu, CentOS, Debian, Amazon Linux 2, official Python images, and Alpine—by examining stability, security updates, dependency freshness, library richness, Python version, image size, LTS support, and build time to help developers choose the optimal foundation for Python applications.

AlpineBase ImageDocker
0 likes · 17 min read
Which Docker Base Image Is Best for Python Apps? A Practical Comparison
Data STUDIO
Data STUDIO
Sep 18, 2025 · Artificial Intelligence

Build a RAG App from Scratch: Master Text Chunking, Vector Retrieval, and Coreference Resolution

This tutorial walks through building a Retrieval‑Augmented Generation (RAG) system from the ground up, covering document parsing, text chunking strategies, vector store creation with ChromaDB, semantic search, prompt engineering for LLMs, conversation memory, coreference handling, and practical optimization tips, all illustrated with complete Python code.

ChromaDBPythonRAG
0 likes · 19 min read
Build a RAG App from Scratch: Master Text Chunking, Vector Retrieval, and Coreference Resolution
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 18, 2025 · Fundamentals

Master Python’s With Statement: Build Elegant Context Managers for Safer Code

This tutorial explains why traditional try‑finally resource handling is cumbersome, introduces Python’s with statement and the underlying __enter__/__exit__ magic methods, provides practical examples such as timers, database connections, temporary directories, and shows how to simplify custom managers with contextlib while covering best practices and performance considerations.

PythonResource Managementcontext manager
0 likes · 10 min read
Master Python’s With Statement: Build Elegant Context Managers for Safer Code
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 17, 2025 · Fundamentals

Unlock Massive Memory Savings in Python with __slots__: A Complete Guide

This article explains how Python's default class memory overhead can be dramatically reduced using the __slots__ magic attribute, providing detailed code examples, memory and speed benchmarks, practical use cases, limitations, and best‑practice recommendations for developers who need high‑performance, memory‑efficient objects.

Best PracticesMemory optimizationPerformance
0 likes · 12 min read
Unlock Massive Memory Savings in Python with __slots__: A Complete Guide
Fun with Large Models
Fun with Large Models
Sep 16, 2025 · Artificial Intelligence

LangGraph Data Analysis Assistant Agent: Step‑by‑Step Project Guide (Part 5)

This tutorial walks you through building a LangGraph-powered data analysis assistant that converts natural language into SQL, executes queries via NL2SQL and NL2Python tools, visualizes results with a Python interpreter, and deploys the agent using LangGraph CLI and Agent Chat UI for end‑to‑end interaction.

AI agentAgent Chat UILangGraph
0 likes · 21 min read
LangGraph Data Analysis Assistant Agent: Step‑by‑Step Project Guide (Part 5)
Data STUDIO
Data STUDIO
Sep 15, 2025 · Artificial Intelligence

Build a Music Genre Classifier with KNN and MFCC from Scratch

This tutorial walks through building a music‑genre classification system using the GTZAN dataset, extracting MFCC features, implementing a K‑Nearest Neighbors classifier in Python, and achieving roughly 70% accuracy on test data.

Audio ProcessingMFCCMachine Learning
0 likes · 14 min read
Build a Music Genre Classifier with KNN and MFCC from Scratch
Data STUDIO
Data STUDIO
Sep 15, 2025 · Artificial Intelligence

Understanding Linear and Logistic Regression: From MSE to Cross‑Entropy

The article explains linear regression and logistic regression fundamentals, covering loss functions such as mean‑squared error and cross‑entropy, analytic solutions, feature expansion for non‑linear separability, and provides Python code examples to illustrate the concepts.

Machine LearningPythonScikit-learn
0 likes · 7 min read
Understanding Linear and Logistic Regression: From MSE to Cross‑Entropy
Python Programming Learning Circle
Python Programming Learning Circle
Sep 13, 2025 · Fundamentals

30 Essential Python Tricks Every Developer Should Know

This article compiles thirty practical Python tips and best‑practice snippets—ranging from version checks, IPython shortcuts, list comprehensions, memory profiling, data classes, swapping variables, dictionary merging, string manipulation, emoji handling, image display, map usage, set operations, counters, chained comparisons, terminal colors, date parsing, integer division nuances, to character‑set detection—each illustrated with clear code examples for immediate use.

Best PracticesPythonTips
0 likes · 19 min read
30 Essential Python Tricks Every Developer Should Know
Python Programming Learning Circle
Python Programming Learning Circle
Sep 13, 2025 · Fundamentals

Master Python String Manipulation: 11 Essential Techniques

This guide walks you through eleven practical Python string operations—including case conversion, whitespace trimming, numeric checks, character replacement, splitting, prefix/suffix testing, formatting, encoding, joining, and binary conversion—each illustrated with clear code examples you can run instantly.

Programming BasicsPython
0 likes · 6 min read
Master Python String Manipulation: 11 Essential Techniques
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 12, 2025 · Fundamentals

When Should You Use Threads, Processes, or Asyncio in Python? A Practical Guide

This article explains the difference between concurrency and parallelism, the impact of Python's GIL, and provides a detailed comparison of threading, multiprocessing, and asyncio with code examples, performance tests, decision flowcharts, best‑practice tips, and a summary table to help you choose the right concurrency model for your tasks.

Pythonthreading
0 likes · 14 min read
When Should You Use Threads, Processes, or Asyncio in Python? A Practical Guide
Architects Research Society
Architects Research Society
Sep 11, 2025 · Artificial Intelligence

15 Must‑Know Python Libraries Every Data Scientist Should Use

Discover the top 15 Python libraries that every data scientist should master, ranging from workflow frameworks like Kedro and low‑code tools such as PyCaret to powerful optimization and monitoring packages, each with brief descriptions and links to explore their capabilities.

AI toolsPythonlibraries
0 likes · 3 min read
15 Must‑Know Python Libraries Every Data Scientist Should Use
Dunmao Tech Hub
Dunmao Tech Hub
Sep 11, 2025 · Databases

Master LMDB with lmcmd: A Powerful Command-Line Client

lmcmd is a Python‑based command‑line client for the Lightning Memory‑Mapped Database (LMDB) that offers efficient key‑value operations, import/export, searching, and database management, with easy installation via pip and a Redis‑style interface for rapid debugging and data handling.

CLI toolLMDBPython
0 likes · 5 min read
Master LMDB with lmcmd: A Powerful Command-Line Client
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Sep 11, 2025 · Artificial Intelligence

8 Powerful Open‑Source AI Agent Frameworks to Master Agent Development

Building robust AI agents involves complex task decomposition, tool use, multi‑agent collaboration and memory, but this article surveys eight open‑source frameworks—Autogen, crewAI, agno, eliza, Mastra, Trigger.dev, Motia, and agents—detailing their capabilities, language support, star counts and key use‑cases to help developers get started.

AI agentsOpen sourcePython
0 likes · 6 min read
8 Powerful Open‑Source AI Agent Frameworks to Master Agent Development
21CTO
21CTO
Sep 10, 2025 · Fundamentals

What’s New in Calibre 8.10? Key Features and Fixes for Ebook Management

Calibre 8.10, the latest open‑source ebook management tool built with Python, introduces tooltip template customization, improved MTP driver support, enhanced keyboard preferences, and several bug fixes including Kindle APNX handling, Read Aloud restoration, and Markdown output recovery across Windows, macOS, and Linux.

CalibrePythonSoftware Update
0 likes · 3 min read
What’s New in Calibre 8.10? Key Features and Fixes for Ebook Management
IT Services Circle
IT Services Circle
Sep 10, 2025 · Fundamentals

How to Solve LeetCode 757: Minimum Set Intersection of Size Two with a Greedy Approach

The article first discusses common interview pitfalls before presenting a detailed greedy solution for LeetCode problem 757—finding the smallest set that intersects each interval in at least two points—complete with problem description, algorithmic reasoning, complexity analysis, and implementations in Java, C++, Python, and TypeScript.

C++JavaLeetCode 757
0 likes · 11 min read
How to Solve LeetCode 757: Minimum Set Intersection of Size Two with a Greedy Approach
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 10, 2025 · Fundamentals

Master Python Decorators: Boost Your Functions in Minutes

This article explains Python decorators with clear analogies, walks through the underlying concepts of higher‑order functions and closures, provides practical code examples such as timing and logging decorators, discusses common pitfalls like lost metadata, and shows how to preserve it using functools.wraps.

Best practiceHigher-order functionPython
0 likes · 10 min read
Master Python Decorators: Boost Your Functions in Minutes
Eric Tech Circle
Eric Tech Circle
Sep 10, 2025 · Artificial Intelligence

Deploy High‑Performance Local LLMs with vLLM: A Step‑by‑Step Guide

This article walks through installing and configuring vLLM for local large language model inference, compares it with Ollama and LM Studio, details environment setup, model download, testing scripts, and shows how to expose an OpenAI‑compatible API for production use.

Inference OptimizationLarge Language ModelModelScope
0 likes · 11 min read
Deploy High‑Performance Local LLMs with vLLM: A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Sep 8, 2025 · Big Data

Unlocking E‑Commerce Insights: How Python & SQL Reveal User Behavior and Boost Sales

This article analyzes a JD e‑commerce dataset using Python and MySQL to calculate key metrics such as PV, UV, conversion rates, attrition, daily activity, hourly trends, user‑behavior funnels, purchase intervals, retention rates, product sales, and RFM segmentation, and then offers data‑driven recommendations to improve traffic, conversion, and user loyalty.

PythonRFMSQL
0 likes · 37 min read
Unlocking E‑Commerce Insights: How Python & SQL Reveal User Behavior and Boost Sales
IT Services Circle
IT Services Circle
Sep 8, 2025 · Fundamentals

How to Count Subarrays with Sum K Using Prefix Sum and HashMap

This article first highlights Ctrip's employee benefits, then presents the LeetCode 560 subarray sum problem with detailed explanations and multi-language implementations using prefix sum and hash map, including Java, C++, Python, and TypeScript solutions, and discusses time and space complexities.

C++JavaLeetCode
0 likes · 6 min read
How to Count Subarrays with Sum K Using Prefix Sum and HashMap
php Courses
php Courses
Sep 8, 2025 · Backend Development

Which Web Language Will Dominate by 2025? PHP, Python, or Node.js

This article evaluates PHP, Python, and Node.js across performance, ecosystem, trend adaptability, and community support, forecasting how each technology may evolve by 2025 and which scenarios could make one the preferred choice for developers.

2025 ForecastNode.jsPython
0 likes · 6 min read
Which Web Language Will Dominate by 2025? PHP, Python, or Node.js
Data STUDIO
Data STUDIO
Sep 8, 2025 · Artificial Intelligence

CuPy vs NumPy: Achieving Over 10× Speedup with GPU Acceleration

The article explains how replacing NumPy with the GPU‑compatible CuPy library can dramatically accelerate array computations, walks through installation prerequisites, demonstrates benchmark scripts showing up to ten‑fold speed improvements, discusses data type effects, custom kernels, and hybrid CPU‑GPU workflows for large‑scale data processing.

BenchmarkCUDACuPy
0 likes · 21 min read
CuPy vs NumPy: Achieving Over 10× Speedup with GPU Acceleration
Python Programming Learning Circle
Python Programming Learning Circle
Sep 6, 2025 · Fundamentals

Stop Reinventing the Wheel: Use Python’s Built‑In Queue for Fast, Thread‑Safe Tasks

Python developers often create simple queues with lists using append and pop(0), but this approach has O(n) complexity and thread‑safety issues; the article explains how the built‑in queue module provides efficient, thread‑safe FIFO, LIFO, and priority queues, with code examples for single‑thread and multithreaded task processing.

Producer ConsumerPythonQueue
0 likes · 5 min read
Stop Reinventing the Wheel: Use Python’s Built‑In Queue for Fast, Thread‑Safe Tasks
Python Programming Learning Circle
Python Programming Learning Circle
Sep 5, 2025 · Fundamentals

10 Hidden Python Tricks to Supercharge Performance

This article reveals ten often‑overlooked Python performance techniques—from using enumerate and array structures to leveraging Numba, Polars, and generators—showing how careful coding, profiling, and modern libraries can turn sluggish scripts into lightning‑fast production workloads.

OptimizationPerformancePolars
0 likes · 9 min read
10 Hidden Python Tricks to Supercharge Performance
xkx's Tech General Store
xkx's Tech General Store
Sep 4, 2025 · Artificial Intelligence

First Hands‑On Exploration of OpenManus: Installation, Architecture, and Real‑World Tests

This article walks through installing OpenManus, explains its ReAct‑based architecture, and demonstrates two practical test cases—retrieving GitHub statistics and generating an animated HTML physics lesson—while highlighting strengths and current limitations of the agent framework.

Agent ArchitectureLLM AgentsOpenManus
0 likes · 7 min read
First Hands‑On Exploration of OpenManus: Installation, Architecture, and Real‑World Tests