Tagged articles
5000 articles
Page 20 of 50
Test Development Learning Exchange
Test Development Learning Exchange
Jun 28, 2024 · Fundamentals

Common Python Built-in Functions and Their Usage

This article introduces a collection of essential Python built-in functions—such as print, len, type, range, sum, sorted, abs, round, input, any/all, zip, enumerate, filter, map, reversed, and setdefault—explaining their typical use cases and providing concise code examples for each.

Code ExamplesPythonbuilt-in functions
0 likes · 5 min read
Common Python Built-in Functions and Their Usage
JavaEdge
JavaEdge
Jun 27, 2024 · Backend Development

Build a FastAPI Chatbot with LangChain and WebSocket – Step‑by‑Step Guide

This tutorial walks through installing FastAPI and related packages, creating a basic FastAPI app, adding chat, PDF, and text endpoints, integrating LangChain tools for AI responses, implementing a WebSocket echo service, and running the server with uvicorn, all illustrated with code snippets and screenshots.

APIBackendFastAPI
0 likes · 8 min read
Build a FastAPI Chatbot with LangChain and WebSocket – Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jun 27, 2024 · Artificial Intelligence

Eight Python Libraries to Accelerate Data Science and Machine Learning Workflows

This article introduces eight Python libraries—Optuna, ITMO_FS, Shap-hypetune, PyCaret, floWeaver, Gradio, Terality, and Torch-Handle—that streamline data science tasks such as hyperparameter optimization, feature selection, model building, visualization, and rapid prototyping, helping users save coding time and improve productivity.

Data SciencePythonautomation
0 likes · 11 min read
Eight Python Libraries to Accelerate Data Science and Machine Learning Workflows
Python Programming Learning Circle
Python Programming Learning Circle
Jun 27, 2024 · Artificial Intelligence

Homemade Machine Learning – Python Implementations of Popular Algorithms with Jupyter Notebooks

This article introduces the GitHub "Homemade Machine Learning" project, which provides pure‑Python implementations of common supervised and unsupervised machine‑learning algorithms, complete with mathematical explanations, Jupyter‑Notebook demos, installation instructions, and links to datasets for hands‑on learning.

AIJupyterPython
0 likes · 6 min read
Homemade Machine Learning – Python Implementations of Popular Algorithms with Jupyter Notebooks
Test Development Learning Exchange
Test Development Learning Exchange
Jun 27, 2024 · Fundamentals

Comprehensive Guide to Python Dictionaries: Creation, Access, Modification, Traversal, Comprehensions, and Advanced Techniques

This tutorial provides a thorough overview of Python dictionaries, covering their creation, key‑value access, addition, update, deletion, iteration, comprehensions, safe retrieval with get(), merging, sorting, built‑in functions, and unpacking for function arguments, all illustrated with clear code examples.

Data StructuresPythondictionary
0 likes · 5 min read
Comprehensive Guide to Python Dictionaries: Creation, Access, Modification, Traversal, Comprehensions, and Advanced Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Jun 26, 2024 · Fundamentals

Python collections module: Counter, defaultdict, deque, namedtuple, ChainMap, custom containers, heapq, and LRU cache examples

This article introduces several useful classes from Python's collections module—including Counter, defaultdict, deque, namedtuple, ChainMap, UserList/UserDict/UserString, as well as heapq and an OrderedDict‑based LRU cache—explaining their purposes and providing ready‑to‑run code examples for each.

ChainMapCollectionsCounter
0 likes · 6 min read
Python collections module: Counter, defaultdict, deque, namedtuple, ChainMap, custom containers, heapq, and LRU cache examples
Python Programming Learning Circle
Python Programming Learning Circle
Jun 26, 2024 · Fundamentals

Effective Use of Underscores in Python: Tips and Tricks

This article explains how the underscore character in Python can be leveraged for quick console result reuse, selective tuple unpacking, protected and private attribute naming, and numeric readability, providing practical code examples that illustrate each technique for more efficient and readable code.

Coding TipsPythondata handling
0 likes · 3 min read
Effective Use of Underscores in Python: Tips and Tricks
DataFunTalk
DataFunTalk
Jun 26, 2024 · Big Data

Evolution of the Big Data + AI Development Paradigm and Alibaba Cloud’s Integrated Architecture

This article examines how the big‑data AI development paradigm has shifted from model‑centric to data‑centric workflows, outlines the challenges of integrating data and AI teams, and details Alibaba Cloud’s end‑to‑end, serverless big‑data platform—including MaxCompute, Hologres, MaxFrame, Object Table, and vector search—designed to accelerate large‑scale AI applications.

AI integrationBig DataData Platform
0 likes · 20 min read
Evolution of the Big Data + AI Development Paradigm and Alibaba Cloud’s Integrated Architecture
Model Perspective
Model Perspective
Jun 26, 2024 · Artificial Intelligence

Unlocking Fraud Detection: Build a Hidden Markov Model with Python

This article explains the fundamentals and mathematics of Hidden Markov Models, illustrates their core components and basic problems, and walks through a complete Python implementation for credit‑card fraud detection, including data preparation, model training, and evaluation.

Hidden Markov ModelPythonTime Series
0 likes · 10 min read
Unlocking Fraud Detection: Build a Hidden Markov Model with Python
Test Development Learning Exchange
Test Development Learning Exchange
Jun 26, 2024 · Fundamentals

Overview of Common Python Standard Library Modules

This article provides practical code examples for using key Python standard library modules—including os, sys, json, datetime, re, math, collections, urllib, random, and logging—to perform common tasks such as file operations, system info, data parsing, date handling, pattern matching, calculations, data structures, web requests, random generation, and logging.

JSONPythonStandard Library
0 likes · 4 min read
Overview of Common Python Standard Library Modules
JavaEdge
JavaEdge
Jun 26, 2024 · Artificial Intelligence

Add Memory to LangChain Agents for Context‑Aware Multi‑Turn Conversations

This guide walks through adding ConversationBufferMemory to a LangChain agent, covering tool creation, memory setup, agent initialization with OpenAI function calling, prompt inspection, configuration tweaks using agent_kwargs, and best‑practice considerations for maintaining context in multi‑turn AI conversations.

Agent MemoryConversationBufferMemoryLangChain
0 likes · 8 min read
Add Memory to LangChain Agents for Context‑Aware Multi‑Turn Conversations
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2024 · Fundamentals

Python List Comprehensions and Linear Algebra: From Simple Loops to Matrix Operations

This article demonstrates how Python’s expressive syntax—especially list comprehensions, dictionary and tuple comprehensions, and conditional expressions—can be used to implement fundamental linear‑algebra operations such as vector scaling, dot products, matrix transposition, projection, distance calculation, and even a one‑line linear solver, all illustrated with clear code examples.

Code ExamplesPythoneducational
0 likes · 15 min read
Python List Comprehensions and Linear Algebra: From Simple Loops to Matrix Operations
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2024 · Backend Development

Technical Overview of Ticket‑Grabbing: Selenium Automation and API Reverse Engineering

This article explains the ticket‑purchasing workflow, identifies critical timing points for successful ticket grabbing, and presents two common technical approaches—browser automation with Selenium and reverse‑engineering ticket‑booking APIs—to automate the process, while warning about limitations and legal considerations.

PythonSeleniumreverse engineering
0 likes · 6 min read
Technical Overview of Ticket‑Grabbing: Selenium Automation and API Reverse Engineering
JavaEdge
JavaEdge
Jun 23, 2024 · Artificial Intelligence

Build a Cultural Name‑Generator with LangChain, Custom Prompts, and Output Parsers

This tutorial walks through installing LangChain, creating an LLM (via own GPU resources or third‑party APIs), designing parameterized prompt templates, implementing a custom output parser for structured results, and running a complete Python example that generates culturally specific names.

AILLMLangChain
0 likes · 7 min read
Build a Cultural Name‑Generator with LangChain, Custom Prompts, and Output Parsers
JavaEdge
JavaEdge
Jun 23, 2024 · Artificial Intelligence

What Is LangChain? Features, Pros, Cons, and Setup Guide

This article introduces LangChain, an open‑source framework for building LLM‑powered applications, outlines its key components such as prompts, chains, agents, and retrieval‑augmented generation, compares its advantages and drawbacks, and provides step‑by‑step instructions for setting up a Python development environment.

AIFrameworkLLM
0 likes · 7 min read
What Is LangChain? Features, Pros, Cons, and Setup Guide
Model Perspective
Model Perspective
Jun 23, 2024 · Artificial Intelligence

Mastering Multi-Objective Optimization with NSGA-II: Theory and Python Example

This article introduces the fundamentals of multi‑objective optimization, explains the NSGA‑II algorithm’s non‑dominated sorting, crowding distance, and selection mechanisms, and demonstrates its application to a production‑line case study with a complete Python implementation and visualized Pareto front.

Evolutionary AlgorithmsNSGA-IIPareto Front
0 likes · 10 min read
Mastering Multi-Objective Optimization with NSGA-II: Theory and Python Example
21CTO
21CTO
Jun 21, 2024 · Fundamentals

Why Python Won’t Get a 4.0: The Calendar Versioning Plan Explained

Python’s core team proposes a calendar‑based versioning scheme (PEP 2026) that replaces semantic versioning, assigning versions as 3.YY.micro to make release dates and end‑of‑life clearer, with each release supported for five years and future releases mapped out through 2030.

CalendarVersioningPEP2026Python
0 likes · 5 min read
Why Python Won’t Get a 4.0: The Calendar Versioning Plan Explained
Test Development Learning Exchange
Test Development Learning Exchange
Jun 20, 2024 · Fundamentals

10 Practical Python Automation Scripts to Boost Productivity

Discover ten useful Python automation scripts—including batch file renaming, web scraping, scheduled email alerts, data backup, social media monitoring, PDF merging, spreadsheet processing, image compression, network checks, and system resource monitoring—that simplify everyday tasks and enhance efficiency.

DataProcessingProductivityPython
0 likes · 8 min read
10 Practical Python Automation Scripts to Boost Productivity
Test Development Learning Exchange
Test Development Learning Exchange
Jun 20, 2024 · Fundamentals

Master Python’s sorted() Function: 10+ Real-World Examples & Advanced Tips

Explore the versatile sorted() built‑in in Python through over ten practical examples, covering basic list and string sorting, custom key functions, reverse ordering, composite criteria, and real‑world use cases like sorting dictionaries and word‑frequency analysis, empowering you to write cleaner, more efficient code.

Pythondata sortingexamples
0 likes · 6 min read
Master Python’s sorted() Function: 10+ Real-World Examples & Advanced Tips
Test Development Learning Exchange
Test Development Learning Exchange
Jun 18, 2024 · Fundamentals

Comprehensive Overview of Python Built‑in Functions, Modules, and Advanced Concepts

This article presents a concise yet thorough guide to essential Python built‑in functions such as map, filter, reduce, sorted, enumerate, zip, any/all, as well as advanced features including lambda expressions, comprehensions, itertools, context managers, partial functions, garbage collection, asyncio, decorators, generators, metaclasses, pathlib, type annotations, and enumerations, each illustrated with clear code examples.

IteratorsModulesPython
0 likes · 14 min read
Comprehensive Overview of Python Built‑in Functions, Modules, and Advanced Concepts
JavaEdge
JavaEdge
Jun 17, 2024 · Artificial Intelligence

Build Simple LLM Agents with LangChain: A Hands‑On Tutorial

This guide explains what AI agents are, how they combine large language models with planning, memory, and tool use, and provides a step‑by‑step LangChain implementation—including environment setup, tool integration, and a runnable example that solves math and performs web searches.

LLMLangChainPython
0 likes · 6 min read
Build Simple LLM Agents with LangChain: A Hands‑On Tutorial
Ops Development & AI Practice
Ops Development & AI Practice
Jun 16, 2024 · Backend Development

Mastering Protocol Buffers 3: From Installation to Real-World Usage

This guide walks you through what Protocol Buffers are, how to install the protoc compiler on macOS, Windows, and Python, explains the proto3 syntax—including messages, fields, enums—and demonstrates compiling .proto files and using the generated code in Python, while highlighting Protobuf's efficiency, extensibility, and multi‑language support.

ProtobufProtocol BuffersPython
0 likes · 7 min read
Mastering Protocol Buffers 3: From Installation to Real-World Usage
Test Development Learning Exchange
Test Development Learning Exchange
Jun 16, 2024 · Fundamentals

Python Basics: Common Questions, Syntax, Data Types, Control Structures, Functions, Modules, and Error Handling

This article provides a comprehensive overview of Python fundamentals for beginners, covering the language’s purpose, basic syntax, data types, control structures, functions, modules, exception handling, input/output, common built‑in functions, advanced concepts like list comprehensions and generators, and typical runtime errors with troubleshooting tips.

Control structuresError HandlingPython
0 likes · 8 min read
Python Basics: Common Questions, Syntax, Data Types, Control Structures, Functions, Modules, and Error Handling
Python Programming Learning Circle
Python Programming Learning Circle
Jun 15, 2024 · Fundamentals

Python CLI Tricks: Using -m Modules, Port Testing, Simple Web Server, JSON Formatting, Text Editor, Executable Packaging, Encoding/Decoding, System Info, and File Compression

This article demonstrates practical Python command‑line techniques—including the -m option for running modules, testing network ports, launching a quick HTTP server, formatting JSON, creating a minimal text editor, building executable packages, encoding/decoding data, retrieving system configuration, and compressing files—all without writing additional code.

CLIPythonScripting
0 likes · 9 min read
Python CLI Tricks: Using -m Modules, Port Testing, Simple Web Server, JSON Formatting, Text Editor, Executable Packaging, Encoding/Decoding, System Info, and File Compression
Python Programming Learning Circle
Python Programming Learning Circle
Jun 15, 2024 · Fundamentals

Six Practical Python Tips to Improve Coding Efficiency

This article presents six practical Python techniques—including exception handling, list comprehensions, regular expressions, web scraping with BeautifulSoup, lambda functions, and simple data visualizations using matplotlib—to help developers write cleaner, more efficient code and enhance their programming workflow.

Data visualizationException HandlingPython
0 likes · 6 min read
Six Practical Python Tips to Improve Coding Efficiency
21CTO
21CTO
Jun 14, 2024 · Fundamentals

2024 Programming Language Rankings: What SlashData’s Survey Reveals

SlashData’s 26th Developer Nation survey, covering over 10,000 developers from 135 countries, shows JavaScript remains the most popular language, Python overtakes Java for second place, and emerging languages like Rust and Go experience rapid growth, while new developers face distinct adoption challenges.

2024 trendsGoJavaScript
0 likes · 6 min read
2024 Programming Language Rankings: What SlashData’s Survey Reveals
Test Development Learning Exchange
Test Development Learning Exchange
Jun 13, 2024 · Backend Development

Six Ways to Parameterize API Test Data in Python

This article presents six practical techniques—hard‑coding, using loops, reading from Excel/CSV, loading YAML/JSON files, leveraging pytest parameterization, and querying databases—to manage and reuse API test parameters in Python, each illustrated with clear code examples.

API testingPythonparameterization
0 likes · 4 min read
Six Ways to Parameterize API Test Data in Python
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 13, 2024 · Fundamentals

How to Build a Python FIFO Checker for Excel Inventory with Tkinter

This article walks through a Python solution for validating FIFO inventory rules in Excel files, using pandas and Tkinter to create a GUI tool that reads multiple sheets, checks operation and stock dates, highlights violations, and saves the results, while also addressing common import errors and offering troubleshooting tips.

ExcelFIFOPython
0 likes · 12 min read
How to Build a Python FIFO Checker for Excel Inventory with Tkinter
MaGe Linux Operations
MaGe Linux Operations
Jun 12, 2024 · Fundamentals

Boost Python Performance: Master Thread Pools vs Process Pools

This guide explains Python's multithreading and multiprocessing concepts, compares thread pools and process pools, provides practical code examples for task execution and file downloading, and offers best‑practice advice for efficient concurrent programming.

ProcessPoolExecutorPythonThreadPoolExecutor
0 likes · 14 min read
Boost Python Performance: Master Thread Pools vs Process Pools
Test Development Learning Exchange
Test Development Learning Exchange
Jun 12, 2024 · Fundamentals

Understanding the Role of __init__.py in Python Packages

The article explains how the __init__.py file marks a directory as a Python package, enables package initialization, controls namespace exposure, defines package‑level variables and metadata, supports dynamic loading, performance optimizations, and can serve as an entry point, while noting changes introduced in Python 3.3 and PEP 420.

ModulesPackagePython
0 likes · 5 min read
Understanding the Role of __init__.py in Python Packages
DataFunTalk
DataFunTalk
Jun 11, 2024 · Artificial Intelligence

Guide to Fine‑Tuning OpenAI Models for Improved Performance

This guide explains how to fine‑tune OpenAI’s pre‑trained models, covering data preparation, environment setup, API usage, code examples, hyper‑parameter tuning, monitoring, and best practices to achieve better performance with less data and compute resources.

AI modelsAPIOpenAI
0 likes · 16 min read
Guide to Fine‑Tuning OpenAI Models for Improved Performance
21CTO
21CTO
Jun 8, 2024 · Fundamentals

Which Programming Languages Will Dominate 2025? A Guide to the Top 10 Picks

This article reviews the ten most promising programming languages for 2025 and beyond, explaining their strengths, typical use cases, and why they are valuable choices for developers seeking to stay ahead in web, mobile, game, and system development.

2025 trendsJavaScriptPython
0 likes · 9 min read
Which Programming Languages Will Dominate 2025? A Guide to the Top 10 Picks
Test Development Learning Exchange
Test Development Learning Exchange
Jun 7, 2024 · Fundamentals

Understanding argparse in Python

argparse is a standard Python library for creating user-friendly command-line interfaces, allowing you to define parameters and options, generate help messages, and parse input with error handling.

PythonTutorialargparse
0 likes · 5 min read
Understanding argparse in Python
JD Tech
JD Tech
Jun 7, 2024 · Artificial Intelligence

Automated Test Case Generation Using LangChain, Vector Databases, and Large Language Models

This article presents a practical approach to automatically generate software test cases by leveraging LangChain, PDF parsing, vector‑database retrieval, and large language models, comparing it with existing tools, detailing implementation steps, code examples, experimental results, and future improvement directions.

LLMLangChainPDF parsing
0 likes · 14 min read
Automated Test Case Generation Using LangChain, Vector Databases, and Large Language Models
Test Development Learning Exchange
Test Development Learning Exchange
Jun 6, 2024 · Backend Development

Applying Python Metaclasses for Dynamic API Enhancements

This article demonstrates how Python metaclasses can be leveraged to automatically add authentication headers, manage configuration, log requests, handle exceptions, generate test cases, switch environments, validate parameters, control API versioning, register response validators, and inject dependencies, streamlining backend development.

APIBackendDesign Patterns
0 likes · 10 min read
Applying Python Metaclasses for Dynamic API Enhancements
Sohu Tech Products
Sohu Tech Products
Jun 5, 2024 · Artificial Intelligence

How Treelite Supercharges Tree Model Inference by Up to 6×

This article introduces Treelite, an open‑source library that compiles XGBoost, LightGBM, and scikit‑learn tree models into optimized shared libraries, explains its branch‑prediction and comparison‑simplification techniques, and provides step‑by‑step Python examples showing significant inference speed gains across different batch sizes.

LightGBMModel DeploymentPython
0 likes · 6 min read
How Treelite Supercharges Tree Model Inference by Up to 6×
JavaEdge
JavaEdge
Jun 5, 2024 · Artificial Intelligence

Step‑by‑Step Guide to Building a Name‑Generator with LangChain and OpenAI

This tutorial walks through installing LangChain, creating an LLM with either self‑hosted or third‑party models, designing custom prompt templates, configuring output parsers for structured results, and running a complete Python example that generates culturally specific names using OpenAI's API.

LLMLangChainOpenAI
0 likes · 8 min read
Step‑by‑Step Guide to Building a Name‑Generator with LangChain and OpenAI
JD Retail Technology
JD Retail Technology
Jun 4, 2024 · Databases

How to Deploy and Query JD’s Open‑Source Vearch Vector Database for LLM Retrieval

This article walks through the practical use of JD’s self‑developed Vearch vector database—covering cluster creation, space setup, data insertion, and both text and vector search—illustrating how it integrates with LangChain and OpenAI embeddings to enable retrieval‑augmented generation for large language models.

EmbeddingLLM RetrievalLangChain
0 likes · 16 min read
How to Deploy and Query JD’s Open‑Source Vearch Vector Database for LLM Retrieval
Test Development Learning Exchange
Test Development Learning Exchange
Jun 4, 2024 · Operations

HR Process Automation Scripts: Resume Parsing, Interview Emails, Pay‑Slip Generation, and Data Analysis

This article presents a collection of Python scripts that automate key HR tasks—including resume parsing, interview invitation emailing, pay‑slip creation, hiring‑channel analysis, turnover calculation, satisfaction survey reporting, salary competitiveness comparison, employee data updates, Word document generation, and leave‑request handling—complete with ready‑to‑run code examples.

EmailHRPython
0 likes · 10 min read
HR Process Automation Scripts: Resume Parsing, Interview Emails, Pay‑Slip Generation, and Data Analysis
Baidu Geek Talk
Baidu Geek Talk
Jun 3, 2024 · Artificial Intelligence

How an AI Code Assistant Cut Medical Imaging Data Processing Time by 9×

A graduate student and his lab used Baidu Comate, an AI‑powered coding assistant, to automate repetitive Python scripts for converting 150 GB of DICOM images to PNG, reducing a week‑long, three‑person effort to two days for a single developer and boosting overall team efficiency.

AIAI code assistantBaidu Comate
0 likes · 8 min read
How an AI Code Assistant Cut Medical Imaging Data Processing Time by 9×
Python Programming Learning Circle
Python Programming Learning Circle
Jun 3, 2024 · Operations

Using Python for Operations Automation: Remote Execution, Log Parsing, Monitoring, Deployment, and Backup

This article demonstrates how Python can automate common operations tasks such as remote command execution, log file parsing, system monitoring with alerts, batch software deployment, and file backup and recovery, providing code examples using libraries like paramiko, regex, psutil, fabric, and shutil.

DevOpsOperationsPython
0 likes · 5 min read
Using Python for Operations Automation: Remote Execution, Log Parsing, Monitoring, Deployment, and Backup
Test Development Learning Exchange
Test Development Learning Exchange
Jun 3, 2024 · Fundamentals

Using Argument Unpacking in Python for API Testing and Automation

This article explains Python's argument unpacking feature and demonstrates ten practical examples—including batch API calls, request handling, test data validation, configuration management, user creation, parameterized tests, logging, database updates, dynamic query building, and environment switching—to streamline automation testing.

APIAutomation testingPython
0 likes · 6 min read
Using Argument Unpacking in Python for API Testing and Automation
Python Programming Learning Circle
Python Programming Learning Circle
Jun 1, 2024 · Fundamentals

Comprehensive List of Essential Python Libraries Across Various Domains

This article presents an extensive, categorized catalog of Python libraries covering environments, package management, web frameworks, databases, data processing, machine learning, testing, DevOps, and many other domains, offering developers a convenient reference to discover and adopt the most popular tools for their projects.

PythonResourceslibraries
0 likes · 47 min read
Comprehensive List of Essential Python Libraries Across Various Domains
JD Tech
JD Tech
May 31, 2024 · Artificial Intelligence

Understanding Large Language Models, Retrieval‑Augmented Generation, and AI Agents: Concepts, Engineering Practices, and Applications

This article explains the fundamentals and engineering practices of large language models (LLM), retrieval‑augmented generation (RAG) and AI agents, compares small and large embedding models, provides Python code for vector‑database RAG with Chroma, and discusses integration, use cases, and future challenges in AI development.

AI EngineeringAI agentsLLM
0 likes · 41 min read
Understanding Large Language Models, Retrieval‑Augmented Generation, and AI Agents: Concepts, Engineering Practices, and Applications
Python Programming Learning Circle
Python Programming Learning Circle
May 30, 2024 · Fundamentals

A Collection of Python Automation Scripts for Media Downloading, Email Alerts, Face Recognition, and More

The article showcases a variety of Python scripts that automate tasks such as subtitle and video downloading, IMDb data extraction, email notifications, PNR status checks, WhatsApp avatar monitoring, face recognition for photo sorting, and a custom DC++ sharing tool, providing code examples and usage details for each utility.

Email NotificationFile DownloaderPython
0 likes · 20 min read
A Collection of Python Automation Scripts for Media Downloading, Email Alerts, Face Recognition, and More
Python Programming Learning Circle
Python Programming Learning Circle
May 29, 2024 · Game Development

Python Implementation of the Zha Jin Hua Card Game

This article demonstrates how to create a Python program that simulates the Chinese card game Zha Jin Hua, covering deck preparation, player handling, card dealing, hand evaluation, scoring rules, and statistical analysis of game outcomes, with complete source code and example results.

PythonZha Jin Huaalgorithm
0 likes · 12 min read
Python Implementation of the Zha Jin Hua Card Game
Model Perspective
Model Perspective
May 29, 2024 · Artificial Intelligence

How to Build Word Vectors from Scratch: A Step‑by‑Step Guide

This article explains the fundamentals of word vectors in NLP, walks through constructing them via co‑occurrence matrices and dimensionality reduction, demonstrates the process with a concrete example and Python code, and evaluates the resulting embeddings using cosine similarity.

NLPPythonSVD
0 likes · 7 min read
How to Build Word Vectors from Scratch: A Step‑by‑Step Guide
DevOps Engineer
DevOps Engineer
May 29, 2024 · Cloud Computing

Overview of the Python Software Foundation (PSF) Infrastructure

The article provides a comprehensive overview of the Python Software Foundation's infrastructure, detailing its team, cloud providers, data centers, and the hosting arrangements for numerous services such as PyPI, docs, bug trackers, and the main Python website.

Cloud ServicesInfrastructureOperations
0 likes · 9 min read
Overview of the Python Software Foundation (PSF) Infrastructure
JD Retail Technology
JD Retail Technology
May 27, 2024 · Artificial Intelligence

Automating Test Case Generation with Large Language Models and LangChain

This article describes how large language models and the LangChain framework can be combined with PDF parsing, text chunking, memory management, and a vector database to automatically generate software test cases, achieving significant efficiency gains while outlining implementation details, results, and future challenges.

AILangChainPython
0 likes · 10 min read
Automating Test Case Generation with Large Language Models and LangChain
Test Development Learning Exchange
Test Development Learning Exchange
May 25, 2024 · Fundamentals

Understanding Python Decorators: Concepts and Practical Examples

Python decorators are powerful constructs that let you augment functions without altering their definitions, and this guide explains their underlying principle, provides a basic template, and demonstrates ten practical decorator implementations—including timing, logging, access control, caching, singleton, retry, async, and property restrictions.

Pythonprogramming
0 likes · 8 min read
Understanding Python Decorators: Concepts and Practical Examples