Tagged articles
5000 articles
Page 8 of 50
Data STUDIO
Data STUDIO
Aug 26, 2025 · Artificial Intelligence

How a Rolling Random Forest Strategy Predicts Bitcoin’s Weekly Direction

This article explains a Python‑based rolling random‑forest classifier that uses a 30‑day training window and selected technical indicators to forecast whether Bitcoin’s price will rise or fall over the next seven days, detailing the methodology, code, back‑test results, and limitations.

BitcoinPythonRandom Forest
0 likes · 7 min read
How a Rolling Random Forest Strategy Predicts Bitcoin’s Weekly Direction
Data STUDIO
Data STUDIO
Aug 26, 2025 · Fundamentals

How Python Dunder Methods Make Your Code Cleaner and More Powerful

This article explains Python's dunder (double‑underscore) magic methods, showing how overriding __str__, __repr__, __add__, __eq__, __iter__, and others lets custom classes behave like built‑in types, with concrete examples such as Book, Wallet, and TransactionHistory.

Pythoncustom classesdunder methods
0 likes · 6 min read
How Python Dunder Methods Make Your Code Cleaner and More Powerful
JD Tech Talk
JD Tech Talk
Aug 25, 2025 · Artificial Intelligence

Kickstart Multi‑Agent Collaboration with OxyGent: A 20‑Line Setup Guide

This guide introduces the open‑source OxyGent multi‑agent framework, walks through a quick 20‑line installation, demonstrates environment configuration, tool integration, visualization, and advanced features such as RAG, Reflexion, and distributed deployment for AI applications.

AIFrameworkMulti-Agent
0 likes · 4 min read
Kickstart Multi‑Agent Collaboration with OxyGent: A 20‑Line Setup Guide
JD Cloud Developers
JD Cloud Developers
Aug 25, 2025 · Artificial Intelligence

Kickstart Multi-Agent Collaboration with OxyGent: 20‑Line Setup Guide

This guide introduces the open‑source OxyGent multi‑agent framework, provides step‑by‑step installation, a 20‑line hello‑world example, tool integration via SSE, MCP and FunctionHub, deployment features like data persistence and distributed setup, and outlines advanced use cases such as multimodal agents and plan‑and‑solve paradigms.

AI FrameworkDeploymentMulti-Agent
0 likes · 5 min read
Kickstart Multi-Agent Collaboration with OxyGent: 20‑Line Setup Guide
Data STUDIO
Data STUDIO
Aug 25, 2025 · Fundamentals

Why I Stopped Blindly Using Python Classes

The author reflects on years of overusing classes in Python, explains why simpler constructs like functions, dataclasses, dictionaries, and modules often yield clearer, more maintainable code, and outlines when class‑based design still makes sense.

Pythonbest practicesclasses
0 likes · 7 min read
Why I Stopped Blindly Using Python Classes
Data Party THU
Data Party THU
Aug 24, 2025 · Artificial Intelligence

How to Build a Multi‑Agent AI Research Assistant with LangGraph

This article demonstrates how to construct a multi‑agent AI research assistant using the LangGraph framework, detailing the system’s shared state design, individual agent implementations for research, fact‑checking, and report generation, workflow orchestration, advanced patterns like dynamic routing and parallel execution, and performance considerations.

AI Research AssistantLangGraphPerformance Evaluation
0 likes · 14 min read
How to Build a Multi‑Agent AI Research Assistant with LangGraph
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 23, 2025 · Fundamentals

How to Fix Python Library Installation Errors and Missing Dependencies

This guide walks you through common Python library installation issues—such as missing environment variables and absent dependencies—provides step‑by‑step screenshots, explains how to add the Python path to system variables, and shows how to use a reliable mirror with pip to install packages like netCDF4.

Pythondependency managementlibrary installation
0 likes · 4 min read
How to Fix Python Library Installation Errors and Missing Dependencies
Code Mala Tang
Code Mala Tang
Aug 23, 2025 · Fundamentals

Decoding Python’s Underscore Conventions: From Throwaway Variables to Dunder Methods

This article explains the meaning behind Python’s various underscore patterns—single underscores for throwaway variables, leading underscores for internal use, double leading underscores for name‑mangling, dunder methods for special behavior, and trailing underscores to avoid keyword conflicts—helping developers write clearer, more idiomatic code.

Naming ConventionPythoncode style
0 likes · 6 min read
Decoding Python’s Underscore Conventions: From Throwaway Variables to Dunder Methods
Fun with Large Models
Fun with Large Models
Aug 22, 2025 · Artificial Intelligence

Step‑by‑Step Guide: Building a PDF‑Based RAG Knowledge Base with LangChain, Streamlit, DashScope & DeepSeek

This tutorial shows how to create a lightweight Retrieval‑Augmented Generation (RAG) system that indexes multiple PDF files, stores their embeddings in a FAISS vector database, and answers user queries through a LangChain agent powered by DashScope embeddings and the DeepSeek‑Chat model, all wrapped in a Streamlit UI.

DashscopeDeepSeekFAISS
0 likes · 13 min read
Step‑by‑Step Guide: Building a PDF‑Based RAG Knowledge Base with LangChain, Streamlit, DashScope & DeepSeek
Data STUDIO
Data STUDIO
Aug 21, 2025 · Industry Insights

Predicting Stock Market Movements with a Markov‑Chain State‑Transition Model

This article explains how to model short‑term stock market dynamics using a Markov‑chain framework, covering the theory of memoryless state transitions, construction of a transition matrix, multi‑step probability forecasts, steady‑state analysis, a full Python implementation, and a real‑world case study with its limitations.

Markov chainPythonTime Series
0 likes · 18 min read
Predicting Stock Market Movements with a Markov‑Chain State‑Transition Model
Data Party THU
Data Party THU
Aug 19, 2025 · Fundamentals

5 Hidden Python Features That Can Supercharge Your Code

This article uncovers five lesser‑known Python features—contextlib.suppress, sys.setrecursionlimit, typing.Literal, the __missing__ magic method, and __subclasshook—explaining when to use them, showing concise code examples, and highlighting the practical benefits they bring to everyday programming.

Advanced FeaturesCode OptimizationPython
0 likes · 7 min read
5 Hidden Python Features That Can Supercharge Your Code
Data STUDIO
Data STUDIO
Aug 19, 2025 · Artificial Intelligence

Building a Multi‑Agent Collaborative AI System with LangGraph

The article demonstrates how to construct an AI research assistant using LangGraph’s multi‑agent framework, detailing system architecture, specialized agents for research, fact‑checking and report writing, workflow orchestration, dynamic routing, parallel processing, debugging, and performance evaluation, showing a 40‑60% efficiency gain over single‑model approaches.

AI Research AssistantAgent CollaborationLangGraph
0 likes · 13 min read
Building a Multi‑Agent Collaborative AI System with LangGraph
MaGe Linux Operations
MaGe Linux Operations
Aug 18, 2025 · Operations

Redis Cache Pitfalls: Penetration, Avalanche, Breakdown – Solutions & Real Cases

This article examines the three classic Redis caching problems—cache penetration, cache avalanche, and cache breakdown—illustrates real‑world incidents that caused system outages, and provides comprehensive mitigation techniques such as Bloom filters, null‑value caching, random expiration, multi‑level caches, logical expiration, and distributed locks, along with monitoring and disaster‑recovery practices.

CachePythonperformance
0 likes · 25 min read
Redis Cache Pitfalls: Penetration, Avalanche, Breakdown – Solutions & Real Cases
Alibaba Cloud Native
Alibaba Cloud Native
Aug 17, 2025 · Artificial Intelligence

Building an AI-Powered College Application Assistant with Vue3 and Python

This guide outlines a step‑by‑step process to create a natural‑language‑driven AI system that helps high‑school students fill out college application forms, recommends majors using the Tongyi Qianwen model, and stores data in Supabase, covering frontend design with Vue3, backend services with Python, and integration details.

AICollege ApplicationNatural Language Interaction
0 likes · 8 min read
Building an AI-Powered College Application Assistant with Vue3 and Python
Baobao Algorithm Notes
Baobao Algorithm Notes
Aug 17, 2025 · Artificial Intelligence

Boost 7B LLM Math Reasoning Beyond GPT‑4o with a Simple Pass@k Reward

By replacing the traditional Pass@1 reward with a Pass@k formulation and a lightweight advantage computation, a 7B language model can dramatically improve its performance on math reasoning benchmarks, surpassing GPT‑4o while adding only a few lines of code and minimal training overhead.

PythonRLHFreward engineering
0 likes · 7 min read
Boost 7B LLM Math Reasoning Beyond GPT‑4o with a Simple Pass@k Reward
Data Party THU
Data Party THU
Aug 5, 2025 · Artificial Intelligence

20 Advanced Statistical Techniques Every Data Scientist Must Master

This comprehensive guide introduces twenty essential advanced statistical methods—from Bayesian inference and maximum likelihood estimation to copulas and generalized additive models—explaining their concepts, real‑world use cases, and providing concise Python code examples so data scientists can confidently apply them to complex analytical problems.

AnalysisPythonstatistical methods
0 likes · 24 min read
20 Advanced Statistical Techniques Every Data Scientist Must Master
Data Party THU
Data Party THU
Aug 3, 2025 · Fundamentals

Master Quantile Regression with Adaptive Lasso in Python using asgl

This article introduces quantile regression, explains its advantages over ordinary least squares, demonstrates its usefulness for high‑dimensional data, and provides a step‑by‑step Python tutorial using the asgl package with adaptive‑lasso penalization, complete code snippets, and practical tips.

Pythonadaptive lassoasgl
0 likes · 8 min read
Master Quantile Regression with Adaptive Lasso in Python using asgl
Fun with Large Models
Fun with Large Models
Aug 2, 2025 · Artificial Intelligence

Quickly Build a LangChain Agent Using the Agent API (Part 6)

This tutorial walks through using LangChain's Agent API to create AI agents with tool calling, demonstrating a weather‑assistant example, parallel and sequential tool calls, and integration of the Tavily search tool, all with concise Python code and step‑by‑step explanations.

AI AgentAgent APILangChain
0 likes · 13 min read
Quickly Build a LangChain Agent Using the Agent API (Part 6)
ITPUB
ITPUB
Aug 2, 2025 · Backend Development

Which Language Survives a 1GB Memory Limit? Go, Rust, Node, Python, Java Tested

By imposing a strict 1 GB memory cap on identical workloads across Go, Rust, Node.js, Python (Flask/Gunicorn), and Java Spring Boot, this study reveals how each language’s runtime handles memory pressure, detailing survival times, performance quirks, and ultimate failure modes.

GoNode.jsPython
0 likes · 8 min read
Which Language Survives a 1GB Memory Limit? Go, Rust, Node, Python, Java Tested
Fun with Large Models
Fun with Large Models
Jul 30, 2025 · Artificial Intelligence

LangChain Tool Integration: Step‑by‑Step Guide to Built‑in and Custom Functions

This article walks through how to integrate LangChain's built‑in tools and user‑defined functions into AI agents, covering environment setup, installing dependencies, using the Python code interpreter tool, binding tools to a model, parsing tool calls with JsonOutputKeyToolsParser, and demonstrating both a data‑analysis example and a weather‑lookup function.

AI agentsFunction CallingLangChain
0 likes · 13 min read
LangChain Tool Integration: Step‑by‑Step Guide to Built‑in and Custom Functions
JD Tech Talk
JD Tech Talk
Jul 29, 2025 · Artificial Intelligence

Unlock JD’s Open‑Source JoyAgent: Build, Deploy, and Customize AI Agents

This article introduces JD's open‑source JoyAgent‑JDGenie, a lightweight multi‑agent framework, explains its architecture and performance, and provides step‑by‑step instructions for local Docker deployment, configuration, and usage for creating AI‑driven applications.

AI AgentDockerPython
0 likes · 8 min read
Unlock JD’s Open‑Source JoyAgent: Build, Deploy, and Customize AI Agents
Ops Development & AI Practice
Ops Development & AI Practice
Jul 29, 2025 · Artificial Intelligence

How Ray Transforms Distributed Training for Large Language Models

In the era of data‑driven AI, Ray offers an open‑source unified compute framework that abstracts distributed system complexity, enabling developers to seamlessly scale Python code from a laptop to large GPU clusters, and provides the Ray AI Runtime (AIR) with libraries such as Ray Data, Train, Tune, and Serve to accelerate LLM training, hyper‑parameter tuning, and model serving.

AI RuntimeLLM trainingPython
0 likes · 10 min read
How Ray Transforms Distributed Training for Large Language Models
Model Perspective
Model Perspective
Jul 25, 2025 · Databases

How to Model and Deploy Knowledge Graphs with Neo4j and Python

This article explains the fundamentals of knowledge graph representation, including entities, concepts, relationships, and triple structures, and provides step‑by‑step instructions for installing Neo4j, configuring Python with py2neo, and importing CSV‑based triples into a graph database for querying and reasoning.

Graph DatabaseNeo4jPython
0 likes · 12 min read
How to Model and Deploy Knowledge Graphs with Neo4j and Python
Code Mala Tang
Code Mala Tang
Jul 24, 2025 · Backend Development

FastAPI Async Pitfalls: When to Use BackgroundTasks, run_in_executor, or Celery

FastAPI’s async model excels with I/O‑bound tasks but can be crippled by CPU‑heavy or blocking code; this guide explains why, compares built‑in BackgroundTasks and run_in_executor, and shows when to offload work to dedicated queues like Celery or Dramatiq for reliable, scalable processing.

BackgroundTasksFastAPIPython
0 likes · 8 min read
FastAPI Async Pitfalls: When to Use BackgroundTasks, run_in_executor, or Celery
Python Programming Learning Circle
Python Programming Learning Circle
Jul 24, 2025 · Game Development

Explore 13 Classic Python Mini‑Games with Full Source Code and How‑to Guide

This article presents a collection of thirteen classic Python mini‑games—ranging from coin‑catching and ping‑pong to Tetris, Snake, and 24‑point puzzles—each accompanied by complete, ready‑to‑run source code and step‑by‑step explanations, offering a practical way to learn programming through game development.

Game DevelopmentPygamePython
0 likes · 37 min read
Explore 13 Classic Python Mini‑Games with Full Source Code and How‑to Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jul 24, 2025 · Backend Development

Boost Your Python Productivity: 8 Must‑Use Libraries for Faster Development

Discover eight essential Python libraries—Rich, Typer, Pendulum, Pydantic, Faker, tqdm, Requests‑HTML, and Loguru—that transform logging, CLI creation, date handling, data validation, mock data generation, progress tracking, web scraping, and logging, showing how leveraging existing tools can dramatically increase development efficiency.

PythonWeb Scrapingdata validation
0 likes · 8 min read
Boost Your Python Productivity: 8 Must‑Use Libraries for Faster Development
Java Tech Enthusiast
Java Tech Enthusiast
Jul 24, 2025 · Fundamentals

Why Classic Languages Still Dominate the TIOBE Top 10 in 2025

The July 2025 TIOBE Index reveals that Python, C, C++, Java, C#, JavaScript and Go hold the top seven spots for the third year, while legacy languages such as Visual Basic, SQL, Fortran, Ada, Perl and Delphi fiercely contest the 8‑12 positions, highlighting the resilience of established languages despite newer alternatives.

PythonSoftware DevelopmentTIOBE Ranking
0 likes · 6 min read
Why Classic Languages Still Dominate the TIOBE Top 10 in 2025
Sohu Tech Products
Sohu Tech Products
Jul 23, 2025 · Artificial Intelligence

Unlock AI Power with Model Context Protocol: A Hands‑On Sentry Integration Guide

This article introduces the Model Context Protocol (MCP) as an open standard for connecting large language models to external data and tools, outlines its core advantages, showcases a wide range of ready‑made services, and provides a detailed Python implementation that integrates Sentry bug‑tracking and APM data into AI assistants for real‑time analysis and reporting.

AIIntegrationMCP
0 likes · 19 min read
Unlock AI Power with Model Context Protocol: A Hands‑On Sentry Integration Guide
Code Mala Tang
Code Mala Tang
Jul 22, 2025 · Artificial Intelligence

Convert Any PDF to Clean Markdown with a Local LLM (Gemma 3)

Learn how to transform any PDF—including scanned documents—into well‑structured Markdown using a local LLM (Gemma 3 via Ollama), Python, PyMuPDF and Pillow, without cloud APIs or API keys, by converting pages to images, prompting the model, and saving the output.

GemmaLLMOllama
0 likes · 12 min read
Convert Any PDF to Clean Markdown with a Local LLM (Gemma 3)
AI Algorithm Path
AI Algorithm Path
Jul 20, 2025 · Artificial Intelligence

How to Build an Open‑Set Object Detection Workflow: A Comprehensive Guide

This article presents a step‑by‑step agentic object detection pipeline that combines open‑vocabulary detectors such as Grounding‑DINO with visual language models (GPT‑4o, o1) for concept extraction, critique, refinement, and validation, complete with code snippets, design rationale, and real‑world examples.

Grounding DINOPipelinePython
0 likes · 33 min read
How to Build an Open‑Set Object Detection Workflow: A Comprehensive Guide
Code Mala Tang
Code Mala Tang
Jul 20, 2025 · Fundamentals

Master Python locals() and globals(): Dynamic Variable Tricks Explained

This article explores how Python's locals() and globals() functions reveal variable scopes, demonstrates why locals() cannot modify local variables, shows how globals() can dynamically alter global state, and combines them with exec() for powerful runtime variable creation and updates.

Pythondebuggingdynamic-variables
0 likes · 6 min read
Master Python locals() and globals(): Dynamic Variable Tricks Explained
IT Services Circle
IT Services Circle
Jul 20, 2025 · Fundamentals

Why __init__.py Is the Secret Backbone of Your Python Packages

This article explains the purpose and evolution of the __init__.py file, shows how it marks a directory as a Python package, demonstrates core functions like package initialization, API control, lazy importing, version management, and provides best‑practice guidelines with real‑world examples.

InitializationLazy ImportPackage
0 likes · 9 min read
Why __init__.py Is the Secret Backbone of Your Python Packages
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 19, 2025 · Fundamentals

Why Python Multiprocessing Requires target=func Without Parentheses

This article explains a Python multiprocessing issue raised in a community chat, shows discussion and execution screenshots, presents a solution highlighting that the target argument must be a function name without parentheses, and clarifies the difference between passing a function object versus its return value.

PythonTutorialmultiprocessing
0 likes · 3 min read
Why Python Multiprocessing Requires target=func Without Parentheses
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 17, 2025 · Artificial Intelligence

How to Build a House Price Prediction Model with Python: A Step‑by‑Step Guide

This tutorial walks developers through the complete workflow of building a house‑price regression model—from problem definition, data collection and preprocessing, feature engineering, and model selection, to training, hyper‑parameter tuning, evaluation, optimization, deployment as a Flask service, and ongoing monitoring—using Python, pandas, scikit‑learn, and visualisation libraries.

Model DeploymentPythonfeature engineering
0 likes · 29 min read
How to Build a House Price Prediction Model with Python: A Step‑by‑Step Guide
Fun with Large Models
Fun with Large Models
Jul 17, 2025 · Artificial Intelligence

How to Integrate Large Models with LangChain: A Step‑by‑Step Tutorial

This tutorial explains LangChain's core modules and three‑layer architecture, shows how to set up a Python environment, and provides concrete code examples for connecting SiliconFlow Qwen3‑8B and DeepSeek models via the init_chat_model API, including result inspection and references to official documentation.

DeepSeekLangChainPython
0 likes · 9 min read
How to Integrate Large Models with LangChain: A Step‑by‑Step Tutorial
Code Mala Tang
Code Mala Tang
Jul 15, 2025 · Fundamentals

Master Python Tuples: Immutable Sequences, Creation, Operations & Best Practices

This guide explains Python tuples—immutable ordered collections—covering their definition, creation methods (including packing, unpacking, and single-element tuples), element access, common operations like concatenation, repetition, slicing, membership testing, length retrieval, nesting, and built‑in methods such as count, index, and conversion from lists.

Data StructuresImmutablePython
0 likes · 11 min read
Master Python Tuples: Immutable Sequences, Creation, Operations & Best Practices
Code Mala Tang
Code Mala Tang
Jul 12, 2025 · Fundamentals

Mastering Python’s eval(): How It Works, When to Use It, and How to Stay Safe

Python’s eval() function acts as a double‑edged sword, enabling dynamic code execution by parsing, compiling, and running string‑based expressions, but it introduces security and performance risks; this article explains its inner workings, common use cases, potential dangers, and safe practices or alternatives.

Pythonbest-practicesdynamic execution
0 likes · 9 min read
Mastering Python’s eval(): How It Works, When to Use It, and How to Stay Safe
Test Development Learning Exchange
Test Development Learning Exchange
Jul 11, 2025 · Backend Development

Build a Reusable Python API Test Framework with Assertions, DB Checks, and Pytest

This guide demonstrates how to create a reusable Python testing framework that encapsulates generic API response assertions, database query utilities, supports chainable calls, logging, exception handling, and integrates seamlessly with pytest or unittest, including installation steps, project structure, core code examples, and execution instructions.

Pythonapi-testingassertions
0 likes · 7 min read
Build a Reusable Python API Test Framework with Assertions, DB Checks, and Pytest
Qborfy AI
Qborfy AI
Jul 11, 2025 · Artificial Intelligence

Building a Dynamic Agent Workflow with LangGraph: A Step‑by‑Step Guide

This tutorial walks through creating a full‑featured LLM Agent workflow using LangGraph, covering goal definition, task decomposition, execution nodes, state updates, re‑planning logic, and user feedback, while comparing ReAct and Reflexion approaches and providing complete Python code examples.

LLMLangChainLangGraph
0 likes · 11 min read
Building a Dynamic Agent Workflow with LangGraph: A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jul 9, 2025 · Fundamentals

What’s New in Python 3.14? 7 Features That Will Transform Your Code

Python 3.14 entered the testing phase and brings seven core enhancements—including t‑strings, intelligent error suggestions, guarded pattern matching, per‑interpreter GIL control, ReadOnly/TypeIs type hints, native Zstandard compression, and a zero‑overhead debugger—that will impact web development, data pipelines, and high‑performance computing.

3.14GILNew Features
0 likes · 19 min read
What’s New in Python 3.14? 7 Features That Will Transform Your Code
Python Programming Learning Circle
Python Programming Learning Circle
Jul 8, 2025 · Artificial Intelligence

Create a Dancing Word Cloud from Bilibili Videos with Python – Full Step‑by‑Step Guide

This tutorial walks you through building a Python project that downloads a Bilibili video, extracts its frames, applies Baidu AI human segmentation, scrapes danmu comments, generates a stylized word‑cloud animation, and finally composes a video with background music, showcasing video processing, AI, and data visualization techniques.

AI segmentationBilibiliOpenCV
0 likes · 11 min read
Create a Dancing Word Cloud from Bilibili Videos with Python – Full Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jul 8, 2025 · Artificial Intelligence

10 One‑Line Python Tricks to Jump‑Start Your Machine Learning Projects

This article presents ten concise, practical one‑line Python code snippets—ranging from loading CSV data with Pandas to building sophisticated Scikit‑learn pipelines—that streamline common machine‑learning tasks such as data cleaning, encoding, splitting, scaling, model training, evaluation, cross‑validation, and prediction.

PipelinePythondata preprocessing
0 likes · 10 min read
10 One‑Line Python Tricks to Jump‑Start Your Machine Learning Projects
Code Mala Tang
Code Mala Tang
Jul 7, 2025 · Fundamentals

Simplify Python Conditionals with the Dictionary Dispatch Pattern

This article introduces the dictionary dispatch pattern in Python, showing how to replace verbose if‑elif‑else chains with clean, efficient dictionary‑based function mapping, includes step‑by‑step examples, a calculator case study, and guidance on when to use or avoid the technique.

Code RefactoringPythondictionary dispatch
0 likes · 6 min read
Simplify Python Conditionals with the Dictionary Dispatch Pattern
Alibaba Cloud Native
Alibaba Cloud Native
Jul 7, 2025 · Fundamentals

What Drives Python’s 16‑Year Evolution? From Legacy Syntax to AI‑Ready Performance

This article traces Python’s sixteen‑year journey from the release of Python 3.0 in 2008 to the upcoming 3.14, highlighting modernized syntax, type‑hint maturation, standard‑library pruning, massive third‑party growth, performance breakthroughs such as Faster CPython and experimental JIT, free‑threading, and the AI and cloud forces shaping its future.

AsyncFree ThreadingJIT
0 likes · 25 min read
What Drives Python’s 16‑Year Evolution? From Legacy Syntax to AI‑Ready Performance
Code Mala Tang
Code Mala Tang
Jul 7, 2025 · Backend Development

Secure FastAPI APIs with JWT: Step‑by‑Step Guide & Best Practices

This tutorial explains the fundamentals of JSON Web Tokens, their structure, how to encode them with base64Url, and provides a complete FastAPI implementation—including installation, token generation, verification, protected routes, and practical security recommendations—for building robust authentication in distributed systems.

AuthenticationFastAPIJWT
0 likes · 10 min read
Secure FastAPI APIs with JWT: Step‑by‑Step Guide & Best Practices
Code Mala Tang
Code Mala Tang
Jul 6, 2025 · Backend Development

Splitting Dependency Injection Containers to Eliminate Bottlenecks

This article explains how to refactor a monolithic dependency‑injection container into separate repository, service, and application containers, aligning with the Single Responsibility Principle, improving maintainability, testability, and limiting change ripple effects within clear architectural boundaries, with full Python/FastAPI code examples.

Backend ArchitectureFastAPIPython
0 likes · 6 min read
Splitting Dependency Injection Containers to Eliminate Bottlenecks
Python Programming Learning Circle
Python Programming Learning Circle
Jul 5, 2025 · Fundamentals

Unlock Hidden Python Gems: Master difflib, sched, binascii, tty, and weakref

Explore lesser-known Python standard-library modules—including difflib, sched, binascii, tty, and weakref—through clear explanations and practical code snippets that demonstrate how to compare strings, schedule events, encode data, manage terminal I/O, and work with weak references, empowering you to expand your programming toolkit.

PythonStandard LibraryTTY
0 likes · 9 min read
Unlock Hidden Python Gems: Master difflib, sched, binascii, tty, and weakref
Code Mala Tang
Code Mala Tang
Jul 5, 2025 · Fundamentals

Master Python Code Style: Practical PEP8 Guidelines and Tools

This guide explains Python's evolving code‑style conventions, emphasizing readability, consistent indentation, line length, spacing, import ordering, and provides an overview of popular linting and formatting tools such as Pylint, Flake8, Isort, Autopep8, Yapf, and Black.

Pythonbest practicescode style
0 likes · 14 min read
Master Python Code Style: Practical PEP8 Guidelines and Tools
Instant Consumer Technology Team
Instant Consumer Technology Team
Jul 4, 2025 · Artificial Intelligence

How AI Agents Boost Development: Inside the ReAct Framework & Prompt Engineering

This article explains how AI agents, using the ReAct framework, enable a human‑machine pair‑programming workflow, details the reasoning‑acting‑observation loop, showcases practical Python examples with smolagents and DeepSeek, and provides prompt‑engineering guidelines for effective tool‑calling.

AI AgentLLMPrompt Engineering
0 likes · 19 min read
How AI Agents Boost Development: Inside the ReAct Framework & Prompt Engineering
Code Mala Tang
Code Mala Tang
Jul 3, 2025 · Databases

Master Peewee ORM: From Basic CRUD to Advanced Queries Compared with SQLAlchemy

This tutorial walks through Peewee’s lightweight ORM features—from creating, bulk inserting, updating, and deleting records to complex aggregations, window functions, CTEs, and PostgreSQL RETURNING clauses—while comparing its learning curve and performance to SQLAlchemy using real‑world Leapcell examples.

Advanced QueriesCRUDORM
0 likes · 17 min read
Master Peewee ORM: From Basic CRUD to Advanced Queries Compared with SQLAlchemy
Java Architect Essentials
Java Architect Essentials
Jul 2, 2025 · Information Security

How to Bulletproof JWTs: Prevent Token Theft, None Attacks, and Brute‑Force

This article examines common JWT vulnerabilities—including token exposure via localStorage, algorithm‑tampering “none” attacks, weak signing keys, and lack of revocation—and presents a robust solution using HTTPS transmission, HttpOnly Secure cookies, SM9 cryptographic signatures, and a Redis‑based blacklist to achieve dramatically improved security.

FlaskJWTPython
0 likes · 12 min read
How to Bulletproof JWTs: Prevent Token Theft, None Attacks, and Brute‑Force
AI Large Model Application Practice
AI Large Model Application Practice
Jul 2, 2025 · Artificial Intelligence

Build a PPT‑Powered RAG Engine with Visual Models and MCP Server

This article explains how to construct a Retrieval‑Augmented Generation (RAG) pipeline for multi‑page PPT documents by converting slides to images, extracting content with a vision model, indexing with LlamaIndex and Chroma, and exposing the functionality through an MCP Server with tools for adding, querying, and managing PPTs.

LlamaIndexMCP ServerPPT
0 likes · 13 min read
Build a PPT‑Powered RAG Engine with Visual Models and MCP Server