Tagged articles
5000 articles
Page 12 of 50
Code Mala Tang
Code Mala Tang
Mar 30, 2025 · Fundamentals

Master Python’s locals() and globals(): When and How to Use Them

Learn the essential differences between Python’s locals() and globals() functions, how they reveal variable scopes, how to modify them safely, and practical use cases such as dynamic variable creation, debugging, and performance considerations, all illustrated with clear code examples.

DebuggingPythonVariable Scope
0 likes · 7 min read
Master Python’s locals() and globals(): When and How to Use Them
Python Programming Learning Circle
Python Programming Learning Circle
Mar 30, 2025 · Game Development

Tank Battle Game Tutorial Using Pygame

This article provides a step‑by‑step tutorial for building a classic tank battle game with Python's pygame library, covering the visual layout, core game loop, and detailed source code for all game elements such as tanks, bullets, obstacles, and UI screens.

Pythontank game
0 likes · 26 min read
Tank Battle Game Tutorial Using Pygame
Python Programming Learning Circle
Python Programming Learning Circle
Mar 30, 2025 · Fundamentals

Creating a Desktop Pet with Python and PyQt5: Materials, Implementation Code, and Packaging Guide

This article explains how to gather GIF assets, write a PyQt5 desktop‑pet application in Python—including directory layout, window initialization, tray integration, random positioning, mouse interaction, and context menus—and finally package the program into an executable using PyInstaller.

Desktop PetPythonpackaging
0 likes · 19 min read
Creating a Desktop Pet with Python and PyQt5: Materials, Implementation Code, and Packaging Guide
Test Development Learning Exchange
Test Development Learning Exchange
Mar 30, 2025 · Fundamentals

Using Pytest Assertions and Allure Reports for API Automation Testing

This article explains how to leverage Pytest's flexible assertion mechanisms together with Allure's rich reporting features to build a clear, efficient API automation testing framework, covering basic and custom assertions, assertion libraries, report generation, project structure, test case writing, and execution steps.

PythonTesting frameworkpytest
0 likes · 8 min read
Using Pytest Assertions and Allure Reports for API Automation Testing
Code Mala Tang
Code Mala Tang
Mar 29, 2025 · Fundamentals

Better Ways to Handle Missing Values in Python Instead of Returning None

This article explains why returning None for missing values can cause unexpected errors in Python code and presents five practical alternatives—including default values, raising exceptions, special objects, type‑hinted optional returns, and dataclasses—to handle absent data safely and cleanly.

Default ValuesPythondataclasses
0 likes · 4 min read
Better Ways to Handle Missing Values in Python Instead of Returning None
Code Mala Tang
Code Mala Tang
Mar 29, 2025 · Fundamentals

Master Python Project Setup: From Git Init to uv Automation

This guide walks you through building a Python project from scratch, covering Git initialization, virtual environment creation, version management with pyenv, dependency handling with Poetry and the all‑in‑one tool uv, plus commands for installing, adding packages, running tests, and formatting code.

PoetryPythonproject setup
0 likes · 7 min read
Master Python Project Setup: From Git Init to uv Automation
Test Development Learning Exchange
Test Development Learning Exchange
Mar 29, 2025 · Backend Development

Master Data‑Driven API Testing with Pytest’s @parametrize

This guide explains why data‑driven testing is essential for API automation, introduces Pytest’s powerful @pytest.mark.parametrize decorator, and provides step‑by‑step examples—including single‑parameter, multi‑parameter, dynamic data generation, fixture integration, and external data sources—to boost test coverage and maintainability.

API testingData‑Driven TestingPython
0 likes · 6 min read
Master Data‑Driven API Testing with Pytest’s @parametrize
Qborfy AI
Qborfy AI
Mar 29, 2025 · Artificial Intelligence

Mastering LangChain: Build LLM Apps with Chains, Agents, and Vector Stores

This tutorial walks through the limitations of simple prompt usage, introduces LangChain as a framework for building full‑featured LLM applications, explains its core concepts and components, and provides step‑by‑step code examples for installing, configuring, and running a basic LangChain demo.

AI ApplicationLLMLangChain
0 likes · 11 min read
Mastering LangChain: Build LLM Apps with Chains, Agents, and Vector Stores
AI Code to Success
AI Code to Success
Mar 28, 2025 · Artificial Intelligence

Unlocking the Power of Support Vector Machines: Theory, Code, and Real‑World Uses

This comprehensive guide explores Support Vector Machines—from their historical roots and core mathematical principles to practical Python implementations, visualization techniques, and diverse applications such as image recognition, text classification, bioinformatics, and financial risk assessment—while also weighing their strengths and limitations.

PythonSupport Vector Machineclassification
0 likes · 19 min read
Unlocking the Power of Support Vector Machines: Theory, Code, and Real‑World Uses
Eric Tech Circle
Eric Tech Circle
Mar 28, 2025 · Artificial Intelligence

How to Build a High‑Performance Local Text‑to‑Image Service with Flux and Cursor IDE

Learn step‑by‑step how to set up a stable, high‑efficiency local text‑to‑image generation service using the Flux model series on Alibaba Cloud’s Baile​n platform, integrate it with Cursor IDE’s MCP tool, configure environments, manage API keys, and run the service with sample code and results.

AI model deploymentCloud ComputingCursor IDE
0 likes · 13 min read
How to Build a High‑Performance Local Text‑to‑Image Service with Flux and Cursor IDE
Code Mala Tang
Code Mala Tang
Mar 27, 2025 · Fundamentals

Why Returning None Is Bad and Better Ways to Handle Missing Values in Python

Returning None for missing data can cause unexpected crashes, so this article explains why that approach is problematic and demonstrates safer alternatives in Python, such as using default values with dict.get, raising exceptions when appropriate, and employing result objects to clearly indicate success or failure.

Error HandlingNone handlingPython
0 likes · 3 min read
Why Returning None Is Bad and Better Ways to Handle Missing Values in Python
Architect
Architect
Mar 27, 2025 · Artificial Intelligence

How to Use Anthropic’s Model Context Protocol for Seamless LLM Integration

This article explains Anthropic’s open‑source Model Context Protocol (MCP), its client‑server architecture, resource and tool definitions, sampling workflow, and provides step‑by‑step Python examples for building a PoE2 hot‑fix fetcher and a simple chatbot that leverages MCP to connect large language models with external data sources and functions.

AI toolsLLM integrationModel Context Protocol
0 likes · 14 min read
How to Use Anthropic’s Model Context Protocol for Seamless LLM Integration
Python Programming Learning Circle
Python Programming Learning Circle
Mar 27, 2025 · Information Security

Decrypting Password‑Protected Zip Files with Python

This article explains how to use Python's built‑in zipfile module and the third‑party rarfile library to brute‑force and decrypt encrypted zip archives, handle Chinese filename encoding issues, and generate password permutations efficiently with itertools for flexible password lengths.

Information SecurityPythonfile decryption
0 likes · 9 min read
Decrypting Password‑Protected Zip Files with Python
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 27, 2025 · Artificial Intelligence

Unlock Massive Data with AI: MaxFrame’s AI Function Makes LLM-Powered Analytics Easy

This article introduces MaxFrame’s AI Function on Alibaba Cloud’s MaxCompute platform, detailing how built‑in large language models like Qwen 2.5 and DeepSeek‑R1 enable seamless text classification, information extraction, summarization, and more through simple Python APIs and distributed processing.

AI FunctionData ProcessingMaxCompute
0 likes · 21 min read
Unlock Massive Data with AI: MaxFrame’s AI Function Makes LLM-Powered Analytics Easy
DataFunTalk
DataFunTalk
Mar 27, 2025 · Artificial Intelligence

OpenAI Adds MCP Support to Agents SDK, Advancing Standardized AI Workflows

OpenAI has updated its Agents SDK to support Anthropic's Model Context Protocol (MCP), enabling developers to connect AI agents with diverse data sources and tools through a standardized interface, while providing official documentation, example code, caching, and tracing features to streamline AI workflow integration.

AI workflowAgents SDKOpenAI
0 likes · 8 min read
OpenAI Adds MCP Support to Agents SDK, Advancing Standardized AI Workflows
php Courses
php Courses
Mar 27, 2025 · Fundamentals

Understanding Python List Comprehensions and Generator Expressions

This article explores Python's list comprehensions and generator expressions, detailing their syntax, performance characteristics, memory usage, multi‑level nesting, and practical tips such as dictionary/set comprehensions and integration with functional programming, helping developers choose the appropriate tool for efficient data processing.

Data ProcessingMemory OptimizationPython
0 likes · 6 min read
Understanding Python List Comprehensions and Generator Expressions
DevOps
DevOps
Mar 26, 2025 · Artificial Intelligence

Introducing Model Context Protocol (MCP): An Open Standard for LLM Integration with Data Sources and Tools

The article explains Anthropic's open Model Context Protocol (MCP), detailing its client‑server architecture, resource and prompt definitions, tool discovery and execution, sampling workflow, security features, and provides a complete Python example that demonstrates building, running, and testing an MCP server and client for real‑time data retrieval.

AI IntegrationLLMPython
0 likes · 12 min read
Introducing Model Context Protocol (MCP): An Open Standard for LLM Integration with Data Sources and Tools
Sohu Tech Products
Sohu Tech Products
Mar 26, 2025 · Artificial Intelligence

How SpatialLM Turns 3D Point Clouds into Structured Scene Understanding

SpatialLM is a large language model designed for 3D spatial understanding that converts point‑cloud data from videos, RGB‑D images or LiDAR into structured scene descriptions, and this guide explains its architecture, model versions, repository links, and step‑by‑step deployment on Ubuntu with PyTorch.

3D point cloudLarge Language ModelPyTorch
0 likes · 7 min read
How SpatialLM Turns 3D Point Clouds into Structured Scene Understanding
php Courses
php Courses
Mar 26, 2025 · Fundamentals

Comprehensive Guide to Python String Operations and Techniques

This comprehensive tutorial covers Python string fundamentals, including creation, indexing, slicing, common methods, formatting, encoding, regular expressions, performance optimizations, and real‑world examples, providing practical code snippets to enhance text processing efficiency for developers.

Performance OptimizationPythonprogramming fundamentals
0 likes · 8 min read
Comprehensive Guide to Python String Operations and Techniques
Tencent Cloud Developer
Tencent Cloud Developer
Mar 26, 2025 · Artificial Intelligence

Introduction to Anthropic's Model Context Protocol (MCP) with Example Implementations

The article presents Anthropic’s open‑source Model Context Protocol (MCP) – a client‑server framework that standardizes how large language models securely access resources, prompts, and tools (the “HTTP of AI”) – and demonstrates its use through a hot‑fix scraper and a dynamic chatbot that discovers and invokes tools via JSON‑formatted calls.

AI protocolsLLM integrationModel Context Protocol
0 likes · 15 min read
Introduction to Anthropic's Model Context Protocol (MCP) with Example Implementations
Code Mala Tang
Code Mala Tang
Mar 25, 2025 · Fundamentals

Master Python Classes: From Basics to Advanced OOP Techniques

This comprehensive guide explains what Python classes are, why to create custom ones, and covers class design aspects such as methods, attributes, inheritance, data validation, static and class methods, read‑only properties, and practical code examples for each concept.

OOPPythonTutorial
0 likes · 17 min read
Master Python Classes: From Basics to Advanced OOP Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Mar 25, 2025 · Backend Development

Comprehensive Python Guide to Download Files from the Web, S3, and Other Sources

This tutorial walks through multiple Python techniques for downloading regular files, web pages, Amazon S3 objects, and other resources, covering basic requests, wget, handling redirects, chunked large‑file downloads, parallel downloads, progress bars, urllib, urllib3, proxy usage, boto3 for S3, and asynchronous downloads with asyncio.

Boto3File DownloadPython
0 likes · 8 min read
Comprehensive Python Guide to Download Files from the Web, S3, and Other Sources
Qborfy AI
Qborfy AI
Mar 25, 2025 · Artificial Intelligence

How to Start Learning AI: A Structured Roadmap for Beginners

This guide explains why programmers should embrace AI, outlines a four‑stage learning roadmap covering model fundamentals, practical development skills, advanced project work, and continuous community engagement, and lists mainstream large models, frameworks, and API platforms to get started.

AI learningAPIPython
0 likes · 7 min read
How to Start Learning AI: A Structured Roadmap for Beginners
AI Algorithm Path
AI Algorithm Path
Mar 24, 2025 · Artificial Intelligence

How to Use Pydantic for Structured LLM Output

The article explains why LLM responses can be inconsistent, introduces Pydantic as a way to define custom output schemas, and walks through concrete examples—both with OpenAI and Ollama models—showing how to build a LangChain pipeline that parses responses into structured data.

LLMLangChainOllama
0 likes · 7 min read
How to Use Pydantic for Structured LLM Output
DevOps Cloud Academy
DevOps Cloud Academy
Mar 24, 2025 · Information Security

Protecting Sensitive Configuration Files: .gitignore, Environment Variables, Secret Management, and AES Encryption with Python

This article explains how to safeguard sensitive configuration data such as database credentials and API keys by using .gitignore, environment variables, secret management tools, and AES encryption with a Python script, and describes how to integrate these practices into CI/CD pipelines.

AES encryptionConfiguration ManagementDevOps
0 likes · 7 min read
Protecting Sensitive Configuration Files: .gitignore, Environment Variables, Secret Management, and AES Encryption with Python
Ma Wei Says
Ma Wei Says
Mar 24, 2025 · Artificial Intelligence

Master BGE Multilingual Embeddings: Models, Installation, and Quick Usage

Explore the BGE (BAAI General Embedding) family—including v1, v1.5, M3, Multilingual Gemma2, and EN‑ICL—detailing their multilingual capabilities, model variants, token limits, optimal use cases, and step‑by‑step installation and Python usage instructions with code examples for embedding generation and similarity scoring.

EmbeddingLLMPython
0 likes · 8 min read
Master BGE Multilingual Embeddings: Models, Installation, and Quick Usage
Infra Learning Club
Infra Learning Club
Mar 23, 2025 · Artificial Intelligence

Getting Started with cuda‑python and an Introduction to cuTicle

This article explains the cuda‑python ecosystem—including its core packages, installation via pip or conda, the experimental cuda.core API, a full Python‑to‑CUDA workflow with NVRTC compilation, performance comparison to C++, the covered APIs, and an overview of NVIDIA's new cuTicle programming model.

CUDAGPUNVIDIA
0 likes · 11 min read
Getting Started with cuda‑python and an Introduction to cuTicle
Code Mala Tang
Code Mala Tang
Mar 22, 2025 · Backend Development

Pydantic & FastAPI: Optional Fields, Nested Models, and Advanced Validation

Learn how to leverage Pydantic in FastAPI to handle optional fields, validate nested data structures, enforce complex business rules with model validators, forbid extra fields, work with polymorphic models, and validate query and path parameters, all illustrated with clear Python code examples.

Backend DevelopmentFastAPIPydantic
0 likes · 10 min read
Pydantic & FastAPI: Optional Fields, Nested Models, and Advanced Validation
Infra Learning Club
Infra Learning Club
Mar 22, 2025 · Artificial Intelligence

How to Write CUDA Kernels in Python – Insights from Nvidia GTC 2025

The article reviews Nvidia GTC 2025’s session on writing CUDA kernels with Python, compares tools such as Numba, CuPy, PyTorch extensions and cuda‑python, demonstrates a segmented reduction example with C++ and Python code, explains the underlying CUDA concepts, and shows how to install and use cuda‑python to simplify kernel development.

CUDACuPyGPU
0 likes · 10 min read
How to Write CUDA Kernels in Python – Insights from Nvidia GTC 2025
Python Programming Learning Circle
Python Programming Learning Circle
Mar 22, 2025 · Fundamentals

Python Scripts for Changing Windows Wallpaper, Locking the Screen, and Creating Infinite Pop‑up Windows

This tutorial demonstrates how to use Python with win32api, ctypes, and os modules on Windows 10 to programmatically modify the desktop wallpaper via the registry, lock the workstation in an infinite loop, and spawn endless command‑prompt windows, including full code examples and packaging instructions.

PythonRegistryScripting
0 likes · 4 min read
Python Scripts for Changing Windows Wallpaper, Locking the Screen, and Creating Infinite Pop‑up Windows
Deepin Linux
Deepin Linux
Mar 22, 2025 · Backend Development

Understanding IO Models: Blocking, Non‑blocking, Multiplexing and Asynchronous

This article explains the fundamental concepts of I/O models—including blocking, non‑blocking, multiplexing and asynchronous approaches—detailing their mechanisms, advantages, drawbacks, code examples in Python, and practical optimization strategies for high‑concurrency backend systems.

IO modelsLinuxMultiplexing
0 likes · 31 min read
Understanding IO Models: Blocking, Non‑blocking, Multiplexing and Asynchronous
Code Mala Tang
Code Mala Tang
Mar 21, 2025 · Fundamentals

How Python 3.12 Simplifies Generics with New PEP‑695 Syntax

Python 3.12 introduces PEP‑695, a new generic syntax that streamlines type annotations by allowing direct use of type parameters without extra imports, enabling clearer, more concise code for functions and classes, and aligning Python’s typing capabilities with modern programming languages.

GenericsPEP-695Python
0 likes · 6 min read
How Python 3.12 Simplifies Generics with New PEP‑695 Syntax
Python Programming Learning Circle
Python Programming Learning Circle
Mar 21, 2025 · Fundamentals

Comprehensive Overview of Essential Python Libraries

This article presents a curated overview of over twenty categories of essential Python libraries, ranging from environment and package management to web frameworks, databases, networking, and productivity tools, offering developers a broad reference to enhance their Python projects.

DevelopmentEcosystemPython
0 likes · 18 min read
Comprehensive Overview of Essential Python Libraries
php Courses
php Courses
Mar 21, 2025 · Fundamentals

Understanding Python Functions: Definition, Syntax, and Usage

This article explains what Python functions are, how to define them with the def keyword, demonstrates calling functions, returning values, and covers various parameter types with clear code examples to help readers write clean and reusable code.

FunctionsProgramming BasicsPython
0 likes · 5 min read
Understanding Python Functions: Definition, Syntax, and Usage
Code Mala Tang
Code Mala Tang
Mar 21, 2025 · Backend Development

How to Implement Rate Limiting in FastAPI with SlowAPI

This tutorial explains how to add request rate limiting to a FastAPI application using the SlowAPI library, covering both IP‑based limits and custom token‑based strategies, with installation steps, code examples, and best‑practice recommendations.

BackendFastAPIPython
0 likes · 5 min read
How to Implement Rate Limiting in FastAPI with SlowAPI
Code Mala Tang
Code Mala Tang
Mar 20, 2025 · Backend Development

How to Design Scalable FastAPI Project Structures: File‑Based vs Module‑Based

This article compares two primary FastAPI project structure strategies—file‑type based and module‑function based—explaining why a well‑organized architecture improves scalability, maintainability, and team collaboration, and provides concrete directory layouts and best‑practice guidelines for building robust backend applications.

Backend DevelopmentFastAPIProject Structure
0 likes · 9 min read
How to Design Scalable FastAPI Project Structures: File‑Based vs Module‑Based
Python Programming Learning Circle
Python Programming Learning Circle
Mar 20, 2025 · Fundamentals

10 Cool Python Projects: YouTube Downloader, WhatsApp Automation, Google Search, Instagram Scraper, Audio Extractor, URL Shortener, Image‑to‑PDF, Plagiarism Detector, Translator, QR Code Generator

This article showcases ten practical Python projects—ranging from a YouTube video downloader to a QR‑code generator—each with a brief description, installation command, and ready‑to‑run code snippet, demonstrating how Python's extensive libraries enable quick automation of everyday tasks.

PythonScripting
0 likes · 10 min read
10 Cool Python Projects: YouTube Downloader, WhatsApp Automation, Google Search, Instagram Scraper, Audio Extractor, URL Shortener, Image‑to‑PDF, Plagiarism Detector, Translator, QR Code Generator
Fun with Large Models
Fun with Large Models
Mar 20, 2025 · Artificial Intelligence

Fine‑Tune DeepSeek‑R1 with Just a Few Lines of Code Using Unsloth

This guide walks through setting up an Anaconda environment, installing Unsloth, downloading the DeepSeek‑R1‑Distill‑Llama‑8B model, preparing a medical CoT dataset, configuring LoRA parameters, running a short fine‑tuning job, and evaluating the customized model with structured prompts.

DeepSeekLoRAPython
0 likes · 18 min read
Fine‑Tune DeepSeek‑R1 with Just a Few Lines of Code Using Unsloth
Sohu Tech Products
Sohu Tech Products
Mar 19, 2025 · Artificial Intelligence

How to Recreate a Translation Agent with LangGraph and LLMs

This guide demonstrates building a steerable LLM‑based translation workflow using LangGraph, covering the initial translation, model‑generated reflection suggestions, and final improvement steps with full Python code examples and a complete execution result.

AILLMLangGraph
0 likes · 34 min read
How to Recreate a Translation Agent with LangGraph and LLMs
Test Development Learning Exchange
Test Development Learning Exchange
Mar 19, 2025 · Backend Development

Python PDF Manipulation Guide: Merging, Splitting, Encrypting, Decrypting, Text Extraction, Adding Text, Watermarking, Page Removal, Rotation, and HTML‑to‑PDF Conversion

This tutorial demonstrates how to use Python libraries such as PyPDF2, ReportLab, and WeasyPrint to merge, split, encrypt, decrypt, extract text from, add text to, watermark, delete, rotate PDF pages, and convert HTML files into PDFs, providing complete code examples for each operation.

PDF manipulationPyPDF2Python
0 likes · 8 min read
Python PDF Manipulation Guide: Merging, Splitting, Encrypting, Decrypting, Text Extraction, Adding Text, Watermarking, Page Removal, Rotation, and HTML‑to‑PDF Conversion
php Courses
php Courses
Mar 19, 2025 · Fundamentals

Understanding Python Operators and Expressions

This article provides a comprehensive overview of Python operators and expressions, covering arithmetic, comparison, logical, assignment, membership, and identity operators, their syntax, examples, and precedence rules, helping readers master how to construct and evaluate expressions for various programming tasks.

Pythonexpressionsoperators
0 likes · 6 min read
Understanding Python Operators and Expressions
Code Mala Tang
Code Mala Tang
Mar 19, 2025 · Backend Development

Applying SOLID Principles and Design Patterns in FastAPI for Clean Architecture

This article explains how to apply SOLID principles and common design patterns such as DAO, service layer, and dependency inversion to FastAPI, demonstrating code examples that separate responsibilities, improve testability, and create a clean, maintainable backend architecture.

Backend DevelopmentDesign PatternsFastAPI
0 likes · 13 min read
Applying SOLID Principles and Design Patterns in FastAPI for Clean Architecture
Python Programming Learning Circle
Python Programming Learning Circle
Mar 18, 2025 · Fundamentals

Python Multiprocessing: Using the multiprocessing Module for Parallel Execution

Python's multiprocessing module enables parallel execution across multiple CPU cores, offering a more efficient alternative to multithreading for CPU-bound tasks, with examples demonstrating process creation, the Pool class, and common patterns such as map, imap_unordered, and considerations for inter-process communication.

Pythonparallel processingpython-code
0 likes · 7 min read
Python Multiprocessing: Using the multiprocessing Module for Parallel Execution
php Courses
php Courses
Mar 18, 2025 · Fundamentals

Understanding Variables and Data Types in Python

This article introduces Python variables as containers for data, explains naming rules, demonstrates variable assignment with examples, outlines common data types such as numbers, strings, booleans, lists, tuples, sets, and dictionaries, and describes type conversion functions for effective data handling.

Data TypesPythonType Conversion
0 likes · 4 min read
Understanding Variables and Data Types in Python
DevOps
DevOps
Mar 17, 2025 · Artificial Intelligence

Building an MCP Server and Client in Python: From 0 to 1 with Stdio and SSE Transports

This tutorial explains how to create a Model Context Protocol (MCP) server and client in Python, covering environment setup, unified tool integration, Stdio and SSE transport implementations, and step‑by‑step code examples for building, configuring, and running both local and cloud‑based MCP services.

AIPythonSSE
0 likes · 18 min read
Building an MCP Server and Client in Python: From 0 to 1 with Stdio and SSE Transports
JD Tech
JD Tech
Mar 17, 2025 · Fundamentals

Fundamentals of Map Trajectory Technology and GIS Applications

This article provides a comprehensive overview of map trajectory technology, covering geographic coordinate systems, map projections, GIS software basics, data formats, GPS data processing, real‑time and historical trajectory analysis, and recent advances such as AI‑driven services and cross‑domain integrations.

Data ProcessingGISGPS
0 likes · 21 min read
Fundamentals of Map Trajectory Technology and GIS Applications
JD Tech Talk
JD Tech Talk
Mar 17, 2025 · Fundamentals

Map Trajectory Technology: Fundamentals, Data Formats, GIS Operations, and Path Planning

This article provides a comprehensive overview of map trajectory technology, covering GIS fundamentals, coordinate systems, data formats, import/export methods, GPS processing, spatial analysis, path‑planning algorithms, real‑time and historical tracking, and recent advances such as AI‑driven services and high‑precision mapping.

GISGPSPython
0 likes · 30 min read
Map Trajectory Technology: Fundamentals, Data Formats, GIS Operations, and Path Planning
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Mar 17, 2025 · Big Data

How MaxFrame Enables Scalable Python AI Workloads on MaxCompute

This article introduces MaxFrame, a cloud‑native distributed Python compute service built on MaxCompute, detailing its architecture, seamless integration with the Python ecosystem, and real‑world use cases ranging from large‑scale data analysis and machine learning to offline LLM inference and custom image deployments.

Big DataData WarehouseDistributed computing
0 likes · 18 min read
How MaxFrame Enables Scalable Python AI Workloads on MaxCompute
Code Mala Tang
Code Mala Tang
Mar 17, 2025 · Backend Development

How to Efficiently Map Dictionaries to Python Classes: From Namedtuple to Pydantic

Mapping external data such as MongoDB query results or API responses to Python class attributes can be done manually, but this article explores several automated approaches—including namedtuple, setattr, a custom ModelBase/Type mapper, and Pydantic—detailing implementation, error handling, and performance benchmarks to guide developers in choosing the optimal solution.

Data MappingNamedtuplePerformance Benchmark
0 likes · 12 min read
How to Efficiently Map Dictionaries to Python Classes: From Namedtuple to Pydantic
JavaEdge
JavaEdge
Mar 16, 2025 · Artificial Intelligence

Boost NLP Data Quality with Multi‑Stage Back‑Translation Augmentation

This article explains the core principles, implementation steps, and practical challenges of using multi‑language back‑translation to enrich text data, provides Python code for a configurable augmentation pipeline, showcases e‑commerce and financial use cases, and presents evaluation metrics that demonstrate significant gains in semantic fidelity and model performance.

NLPPythonText Generation
0 likes · 9 min read
Boost NLP Data Quality with Multi‑Stage Back‑Translation Augmentation
Ops Development & AI Practice
Ops Development & AI Practice
Mar 16, 2025 · Artificial Intelligence

How Function Calling Helps LLMs Overcome Hallucinations

This article explains how LLM function calling works, from defining external functions to processing API responses, and demonstrates a Python example using OpenAI's ChatGPT‑4o to fetch real‑time weather, showing how the technique mitigates hallucinations and expands practical AI applications.

AIFunction CallingHallucination Mitigation
0 likes · 8 min read
How Function Calling Helps LLMs Overcome Hallucinations
Architecture Development Notes
Architecture Development Notes
Mar 16, 2025 · Backend Development

Choosing the Right Concurrency Model: Go vs Python vs Rust

This article compares Go, Python, and Rust concurrency implementations—covering CSP‑based goroutines, GIL constraints, and ownership‑driven thread safety—to help developers select the most suitable model for high‑throughput, CPU‑bound, or safety‑critical applications.

AsyncConcurrencyGo
0 likes · 9 min read
Choosing the Right Concurrency Model: Go vs Python vs Rust
Test Development Learning Exchange
Test Development Learning Exchange
Mar 16, 2025 · Backend Development

Comprehensive Python Ecosystem Overview: Web Frameworks, HTTP Clients, Databases, Data Analysis, Machine Learning, Image Processing, NLP, CLI, Concurrency, Testing, and Logging

This guide introduces a wide range of Python libraries and tools—including Flask, Django, FastAPI, Requests, HTTPX, SQLAlchemy, Pandas, NumPy, Scikit‑learn, TensorFlow, PyTorch, Pillow, OpenCV, spaCy, Click, asyncio, pytest, and logging—providing concise descriptions and ready‑to‑run code examples for each domain.

Pythondata-sciencemachine-learning
0 likes · 7 min read
Comprehensive Python Ecosystem Overview: Web Frameworks, HTTP Clients, Databases, Data Analysis, Machine Learning, Image Processing, NLP, CLI, Concurrency, Testing, and Logging
Code Mala Tang
Code Mala Tang
Mar 15, 2025 · Fundamentals

Why Use Python’s ‘not not x’ Trick? Converting Values to True/False

This article explains the Python idiom “not not x”, showing how double negation converts any value to a strict Boolean, why it can be preferable to bool(x), and presents practical scenarios such as strict type requirements, avoiding is‑comparison pitfalls, data normalization, and clearer conditional statements.

Code ExamplesData ProcessingPython
0 likes · 6 min read
Why Use Python’s ‘not not x’ Trick? Converting Values to True/False
JavaEdge
JavaEdge
Mar 15, 2025 · Artificial Intelligence

Boost NLP Model Performance with n-gram Feature Engineering

This article explains why feature engineering is crucial for NLP tasks, introduces n‑gram enhancements, provides Python implementations for generating bi‑gram and higher‑order features, demonstrates dynamic padding for text length standardization, and offers practical deployment tips such as feature dimension control and monitoring.

Deep LearningFeature EngineeringN-gram
0 likes · 7 min read
Boost NLP Model Performance with n-gram Feature Engineering
Python Crawling & Data Mining
Python Crawling & Data Mining
Mar 15, 2025 · Fundamentals

5 Ways to Count Consecutive Elements in a Python List

This article walks through a Python list problem where you need to compute the length of consecutive identical elements, presenting five distinct code solutions with explanations, sample inputs, and output visualizations to help readers understand and apply the techniques.

Code ExamplesListPython
0 likes · 6 min read
5 Ways to Count Consecutive Elements in a Python List
Nightwalker Tech
Nightwalker Tech
Mar 15, 2025 · Artificial Intelligence

Guide to Accessing International AI Large Models via Aggregation Tools, APIs, and Python Code

This article introduces major international and domestic AI large models, recommends desktop aggregation tools and APIs such as POE, Monica, and OpenRouter, and provides complete Python code examples for synchronous and streaming text and multimodal conversations, along with additional API and compute‑rental resources.

AIAPIOpenRouter
0 likes · 11 min read
Guide to Accessing International AI Large Models via Aggregation Tools, APIs, and Python Code
AI Algorithm Path
AI Algorithm Path
Mar 14, 2025 · Artificial Intelligence

Understanding Different Types of AI Agents: From Simple Reflex to Multi‑Agent Systems

This article introduces the main categories of AI agents—including simple reflex, model‑based, goal‑based, utility‑based, learning, hierarchical, and multi‑agent systems—explaining their operating principles, typical use cases, advantages, limitations, and providing concrete Python code examples for each.

AI AgentsAgent TypesPython
0 likes · 19 min read
Understanding Different Types of AI Agents: From Simple Reflex to Multi‑Agent Systems
Test Development Learning Exchange
Test Development Learning Exchange
Mar 14, 2025 · Fundamentals

Introduction to Common Python Standard Library Modules

This article introduces several essential Python standard library modules—including os, sys, datetime, math, random, json, re, sqlite3, argparse, logging, and collections—providing brief descriptions and example code snippets that demonstrate their basic usage for file handling, system information, date-time operations, mathematics, randomness, data serialization, regular expressions, database interaction, command-line parsing, logging, and advanced data structures.

PythonStandard Librarymodules
0 likes · 3 min read
Introduction to Common Python Standard Library Modules
php Courses
php Courses
Mar 14, 2025 · Fundamentals

Top 10 Application Areas of Python with Sample Code

This article introduces ten major fields where Python excels—including web development, data science, automation, web crawling, game development, desktop applications, DevOps, IoT, blockchain, and education—provides brief overviews, lists common tools or libraries, and supplies concise code examples for each use case.

BlockchainGame DevelopmentIoT
0 likes · 9 min read
Top 10 Application Areas of Python with Sample Code
php Courses
php Courses
Mar 13, 2025 · Fundamentals

History, Features, and Applications of Python

This article outlines Python's origin in 1989, its evolution through major versions, highlights its simple syntax, powerful libraries, cross‑platform nature, and showcases its widespread use in web development, data analysis, AI, automation, web crawling, and game development.

ApplicationsData AnalysisProgramming Language
0 likes · 4 min read
History, Features, and Applications of Python
Code Mala Tang
Code Mala Tang
Mar 13, 2025 · Fundamentals

Unlock Python’s Power: 10 Advanced Features Every Developer Should Master

This article explores ten advanced Python features—including context managers, metaclasses, coroutines, abstract base classes, descriptors, threading, duck typing, data classes, list comprehensions, and custom iterators—explaining their purpose, core syntax, and practical code examples to help developers write cleaner, more efficient code.

Advanced FeaturesData ClassesPython
0 likes · 9 min read
Unlock Python’s Power: 10 Advanced Features Every Developer Should Master