Tagged articles
5000 articles
Page 39 of 50
MaGe Linux Operations
MaGe Linux Operations
Oct 21, 2021 · Fundamentals

How to Hide Secret Messages in Photos with Python and OpenCV

This tutorial shows how to embed hidden text into an image using Python's OpenCV and PIL libraries, detailing the step‑by‑step process, complete code, customization tips, and visual results, enabling messages that appear only when the picture is enlarged.

Hidden MessageImage ProcessingOpenCV
0 likes · 4 min read
How to Hide Secret Messages in Photos with Python and OpenCV
MaGe Linux Operations
MaGe Linux Operations
Oct 19, 2021 · Artificial Intelligence

10 Exciting Python Projects to Boost Your AI and Automation Skills

Explore ten innovative Python project ideas—from voice‑controlled GUIs and AI betting bots to trading algorithms, virtual assistants, SSL auto‑renewal, facial recognition, contact‑tracing, file organization, and YouTube‑based career path generators—each designed to sharpen your programming, AI, and automation expertise.

AIPythonmachine learning
0 likes · 12 min read
10 Exciting Python Projects to Boost Your AI and Automation Skills
Python Programming Learning Circle
Python Programming Learning Circle
Oct 19, 2021 · Game Development

Python Script for Automating the 4399 Mini‑Game “Pet Link Classic 2” Using Win32 GUI, PIL, Numpy, and PyMouse

This tutorial explains how to build a Python automation script for the 4399 mini‑game “Pet Link Classic 2”, covering environment setup, window handling, screenshot processing, image comparison with Hamming distance, path‑finding algorithms, and mouse‑click simulation to clear matching icons.

Game AutomationImage ProcessingPython
0 likes · 16 min read
Python Script for Automating the 4399 Mini‑Game “Pet Link Classic 2” Using Win32 GUI, PIL, Numpy, and PyMouse
Python Programming Learning Circle
Python Programming Learning Circle
Oct 18, 2021 · Fundamentals

Top Programming Game Websites to Learn Coding Through Play

This article presents a curated list of over a dozen online coding game platforms—such as Codingame, CodeCombat, Screeps, and Human Resource Machine—detailing their features, supported languages, and URLs, offering programmers of all levels engaging ways to improve their coding skills.

Pythoneducational resourceslearn coding
0 likes · 9 min read
Top Programming Game Websites to Learn Coding Through Play
Top Architect
Top Architect
Oct 18, 2021 · Backend Development

Performance Optimization of a High-Concurrency Python Service: Architecture, Tuning, and Load Testing

This article documents a Python service performance optimization case, detailing the initial requirements, environment setup, bottleneck analysis, architectural redesign with caching and message queues, Linux TCP time-wait tuning, and load-testing results that achieved 50 k QPS with low latency and error rate.

Linux TuningPythonbackend-development
0 likes · 7 min read
Performance Optimization of a High-Concurrency Python Service: Architecture, Tuning, and Load Testing
Test Development Learning Exchange
Test Development Learning Exchange
Oct 17, 2021 · Artificial Intelligence

Using pyttsx3 for Text-to-Speech in Python

This article provides a hands‑on guide to using the pyttsx3 library for offline text‑to‑speech conversion in Python, covering installation, basic playback, voice property adjustments, multilingual support, and conditional speech examples with counters.

PythonSpeech synthesisconditional speech
0 likes · 7 min read
Using pyttsx3 for Text-to-Speech in Python
Python Programming Learning Circle
Python Programming Learning Circle
Oct 15, 2021 · Fundamentals

Improving Code Quality with SOLID Principles, Architecture Patterns, and Refactoring Techniques

This article explains how applying the five SOLID principles, choosing appropriate system architectures, using clear naming, drawing diagrams, and refactoring code—including guard clauses, responsibility‑chain patterns, and composition over inheritance—can dramatically improve Python program design and maintainability.

PythonSOLIDarchitecture
0 likes · 21 min read
Improving Code Quality with SOLID Principles, Architecture Patterns, and Refactoring Techniques
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 15, 2021 · Fundamentals

Three Simple Python Tricks to Convert Chinese Dates to YYYY/MM/DD

This article walks through a fan's question on converting a Chinese date string like '2021年9月28日' into the standard '2021/9/28' format, presenting three practical Python solutions—including direct replacement, split‑and‑join, and datetime parsing—so you can pick the most suitable method for bulk data processing.

Date ConversionPythonString Manipulation
0 likes · 4 min read
Three Simple Python Tricks to Convert Chinese Dates to YYYY/MM/DD
21CTO
21CTO
Oct 14, 2021 · Fundamentals

Which Programming Languages Dominate 2021? IEEE Spectrum’s Ranking Revealed

The article examines IEEE Spectrum's 2021 programming language ranking, compares it with Stack Overflow and TIOBE surveys, explains the methodology using eight data sources and eleven metrics, and highlights Python's surge alongside the enduring popularity of Java, C, C++, and JavaScript.

IEEE SpectrumPythonSoftware Development
0 likes · 7 min read
Which Programming Languages Dominate 2021? IEEE Spectrum’s Ranking Revealed
Python Programming Learning Circle
Python Programming Learning Circle
Oct 13, 2021 · Fundamentals

New Features in Python 3.10: Union Types, zip strict mode, parenthesized context managers, explicit type aliases, match‑case, improved error messages and other updates

Python 3.10, released on October 4 2021, introduces concise Union type syntax, a strict mode for zip, parenthesized with‑statements, explicit TypeAlias declarations, structural pattern matching via match‑case, clearer syntax error messages, and several deprecations such as distutils, all illustrated with code examples.

3.10PythonUnion Types
0 likes · 8 min read
New Features in Python 3.10: Union Types, zip strict mode, parenthesized context managers, explicit type aliases, match‑case, improved error messages and other updates
Open Source Linux
Open Source Linux
Oct 12, 2021 · Information Security

Build a Python Wi‑Fi Password Cracker with CLI and GUI

This article walks through creating a Python script that uses the pywifi library to brute‑force Wi‑Fi passwords, shows how to improve flexibility with command‑line arguments, and demonstrates two graphical interfaces built with Tkinter for a more user‑friendly cracking tool.

Information SecurityPythonTkinter
0 likes · 16 min read
Build a Python Wi‑Fi Password Cracker with CLI and GUI
MaGe Linux Operations
MaGe Linux Operations
Oct 12, 2021 · Fundamentals

30 Python Tips and Tricks to Supercharge Your Coding

Discover a curated collection of practical Python tips—from swapping variables without a temporary placeholder and mastering list, set, and dictionary comprehensions to leveraging Counter for counting, pretty‑printing JSON, solving FizzBuzz, using inline if statements, and more—to enhance your coding efficiency and readability.

ComprehensionsPythonTips
0 likes · 10 min read
30 Python Tips and Tricks to Supercharge Your Coding
NiuNiu MaTe
NiuNiu MaTe
Oct 12, 2021 · Fundamentals

How Many Peaches Did the Monkeys Start With? A Math & Code Puzzle

This article presents a classic monkey‑and‑peach puzzle, derives the minimal initial peach count using mathematical reasoning, and then demonstrates a brute‑force Python program that searches for the solution, illustrating how loops and modular checks solve the problem.

Math PuzzlePythonalgorithm
0 likes · 7 min read
How Many Peaches Did the Monkeys Start With? A Math & Code Puzzle
MaGe Linux Operations
MaGe Linux Operations
Oct 11, 2021 · Fundamentals

Master Python’s Time and Date Modules: From time to datetime, pytz, and Arrow

This comprehensive guide walks you through Python’s time‑handling ecosystem, covering the low‑level time module, the richer datetime module, timezone utilities like pytz, advanced parsing with dateutil, and the user‑friendly Arrow library, complete with explanations, code snippets, and practical examples for formatting, conversion, and manipulation.

ArrowPythonTimezone
0 likes · 39 min read
Master Python’s Time and Date Modules: From time to datetime, pytz, and Arrow
MaGe Linux Operations
MaGe Linux Operations
Oct 10, 2021 · Fundamentals

Python Overtakes C: TIOBE October 2021 Rankings Reveal Surprising Shifts

The TIOBE Index for October 2021 ranks Python as the top language at 11.27%, pushing C and Java down to second and third places, while highlighting notable movements such as R falling out of the top ten and Assembly language making a strong comeback among the top‑100 programming languages.

PythonSoftware DevelopmentTIOBE Index
0 likes · 6 min read
Python Overtakes C: TIOBE October 2021 Rankings Reveal Surprising Shifts
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 9, 2021 · Big Data

Apache Flink 1.7–1.14 Release Highlights and Feature Evolution

This article provides a comprehensive overview of Apache Flink's major releases from version 1.7 to 1.14, detailing new APIs, state management improvements, Kubernetes integration, SQL and Table API enhancements, checkpointing advances, and performance optimizations that together illustrate the platform's evolution for both streaming and batch processing workloads.

Apache FlinkBatch ProcessingCheckpoint
0 likes · 78 min read
Apache Flink 1.7–1.14 Release Highlights and Feature Evolution
Python Programming Learning Circle
Python Programming Learning Circle
Oct 8, 2021 · Fundamentals

Understanding Python’s += Operator and Mutable Tuples

This article explains the unique features of Python’s plus‑equals (+=) operator, demonstrates its usage with simple and complex examples, explores the concept of mutable elements within immutable tuples, and provides sample code illustrating how these operators work under the hood.

Mutable Data StructuresOperatorPython
0 likes · 6 min read
Understanding Python’s += Operator and Mutable Tuples
Sohu Tech Products
Sohu Tech Products
Oct 6, 2021 · Fundamentals

Python Code Optimization Techniques: Principles and Practical Tips

This article presents a comprehensive guide to speeding up Python programs by applying optimization principles, avoiding global variables and attribute look‑ups, reducing unnecessary abstractions and data copies, improving loop constructs, using built‑in functions like join, leveraging short‑circuit logic, and employing tools such as numba for JIT compilation.

Code OptimizationProfilingPython
0 likes · 18 min read
Python Code Optimization Techniques: Principles and Practical Tips
MaGe Linux Operations
MaGe Linux Operations
Oct 6, 2021 · Mobile Development

Automate WeChat Jump on Android with Python and ADB

This guide explains how to set up ADB on a Windows PC, capture screenshots from an Android device, analyze the image to locate the game piece and platform in the WeChat Jump mini‑program, and automatically perform jumps using Python code that calculates press duration and simulates swipe input.

ADBAndroidImage Processing
0 likes · 12 min read
Automate WeChat Jump on Android with Python and ADB
MaGe Linux Operations
MaGe Linux Operations
Oct 5, 2021 · Fundamentals

11 Essential PyCharm Tips to Supercharge Your Python Workflow

This guide presents eleven practical PyCharm tricks—from adjusting font sizes and customizing the UI to efficient code commenting, refactoring, package management, and debugging—helping both beginners and seasoned developers boost productivity and master the IDE’s powerful features.

IDEPyCharmPython
0 likes · 8 min read
11 Essential PyCharm Tips to Supercharge Your Python Workflow
MaGe Linux Operations
MaGe Linux Operations
Oct 4, 2021 · Artificial Intelligence

Build a Simple AI‑Powered Tetris Game with Python

This tutorial shows how to create a Tetris mini‑game with AI using a straightforward algorithm, Python 3.6, PyQt5, and detailed code that evaluates board states based on cleared lines, holes, heights, and other metrics to select optimal moves.

AIPyQt5Python
0 likes · 5 min read
Build a Simple AI‑Powered Tetris Game with Python
360 Smart Cloud
360 Smart Cloud
Sep 30, 2021 · Artificial Intelligence

Understanding Computational Graphs and Automatic Differentiation for Neural Networks

This article explains how computational graphs can represent arbitrary neural networks, describes forward and reverse propagation, details the implementation of automatic differentiation with Python and NumPy, and demonstrates building and training a multilayer fully‑connected network on the MNIST dataset using custom graph nodes and optimizers.

Computational GraphDeep LearningNeural Networks
0 likes · 29 min read
Understanding Computational Graphs and Automatic Differentiation for Neural Networks
Python Programming Learning Circle
Python Programming Learning Circle
Sep 29, 2021 · Fundamentals

Comprehensive List of Python Libraries and Tools

This article presents an extensive curated collection of Python libraries and tools covering environments, package management, web frameworks, databases, testing, data analysis, machine learning, DevOps, and many other domains, providing developers with a comprehensive reference to enhance productivity and build robust applications.

DevelopmentPythonResources
0 likes · 46 min read
Comprehensive List of Python Libraries and Tools
MaGe Linux Operations
MaGe Linux Operations
Sep 28, 2021 · Operations

Automate Your Desktop with Python: A Complete PyAutoGUI Guide

This article introduces PyAutoGUI, a cross‑platform Python library for controlling mouse, keyboard, dialogs and screenshots, shows how to install it, explains its coordinate system, outlines core functions, and provides practical code examples for drawing and image‑based automation.

Code ExamplesDesktop AutomationPython
0 likes · 5 min read
Automate Your Desktop with Python: A Complete PyAutoGUI Guide
Python Programming Learning Circle
Python Programming Learning Circle
Sep 27, 2021 · Artificial Intelligence

Training Reinforcement Learning Agents on Street Fighter III Using a MAME Wrapper Python Library

This tutorial explains how to install and use a Python library that wraps the MAME emulator to train reinforcement‑learning agents on arcade games such as Street Fighter III, covering system requirements, installation, environment configuration, debugging, step‑wise simulation, and a simple ConvNet agent example.

AIMAMEPython
0 likes · 4 min read
Training Reinforcement Learning Agents on Street Fighter III Using a MAME Wrapper Python Library
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 27, 2021 · Fundamentals

Master Pandas Text Manipulation: From Basics to Advanced String Operations

This guide walks you through handling textual data with pandas, covering basic and new string dtypes, essential string methods for formatting, alignment, counting, encoding, and advanced operations such as splitting, replacing, concatenating, matching, and extracting patterns, all illustrated with clear code examples.

PythonString Methodsdata analysis
0 likes · 13 min read
Master Pandas Text Manipulation: From Basics to Advanced String Operations
Python Programming Learning Circle
Python Programming Learning Circle
Sep 26, 2021 · Game Development

Creating an Arkanoid Clone with Python and PygameZero

This tutorial walks through building a simple Arkanoid‑style game using Python and PygameZero, covering installation, window setup, drawing paddles and bricks, handling input, implementing ball physics, collision detection, and adding scoring logic, with complete code snippets and explanations.

ArkanoidGame DevelopmentPyGameZero
0 likes · 12 min read
Creating an Arkanoid Clone with Python and PygameZero
Python Programming Learning Circle
Python Programming Learning Circle
Sep 24, 2021 · Backend Development

Python Fundamentals, Concurrency, and Django Backend Development Essentials

This article provides a comprehensive overview of core Python concepts—including garbage collection, tuple versus list differences, process/thread/coroutine models, shallow and deep copying, the Global Interpreter Lock, sorting algorithms, closures, decorators, iterators, generators, and essential Django backend components such as WSGI, request lifecycle, middleware, ORM methods, caching, and REST framework.

BackendORMPython
0 likes · 18 min read
Python Fundamentals, Concurrency, and Django Backend Development Essentials
Python Programming Learning Circle
Python Programming Learning Circle
Sep 24, 2021 · Fundamentals

Four Common Mistakes When Using Python Lambda Functions and How to Avoid Them

This article outlines four typical pitfalls when employing Python's lambda (anonymous) functions—such as returning values, overlooking better alternatives, assigning to variables, and ignoring list comprehensions—and provides practical guidelines and code examples to help developers use lambdas correctly and more readably.

LambdaPythonbest practices
0 likes · 8 min read
Four Common Mistakes When Using Python Lambda Functions and How to Avoid Them
Python Programming Learning Circle
Python Programming Learning Circle
Sep 23, 2021 · Fundamentals

Understanding Python Closure Late Binding and How to Fix It

This article explains Python's closure late-binding behavior that causes unexpected lambda results, demonstrates the issue with a sample interview question, and presents four practical solutions—including default‑argument binding, functools.partial, generator expressions, and yield‑based lazy evaluation—to achieve the intended outputs.

Pythonclosurefunction
0 likes · 4 min read
Understanding Python Closure Late Binding and How to Fix It
Python Programming Learning Circle
Python Programming Learning Circle
Sep 22, 2021 · Game Development

Rabbit Eats Mooncake Game Tutorial Using Python Pygame

This article walks through creating a simple Python pygame game where a rabbit moves with WSAD or arrow keys to eat stationary mooncakes, gaining weight, with collision detection, dynamic mooncake spawning, and a game‑over condition when the rabbit’s weight exceeds a threshold, including full source code.

Game DevelopmentPythonTutorial
0 likes · 9 min read
Rabbit Eats Mooncake Game Tutorial Using Python Pygame
Python Programming Learning Circle
Python Programming Learning Circle
Sep 19, 2021 · Frontend Development

Introduction to Playwright-Python: Installation, Usage, and Automation Examples

This article introduces Microsoft’s open‑source Playwright‑Python library, explains how to install it, demonstrates recording and code generation, provides synchronous and asynchronous usage examples—including mobile device emulation—and discusses its advantages and current limitations for web automation testing.

Browser AutomationPlaywrightPython
0 likes · 10 min read
Introduction to Playwright-Python: Installation, Usage, and Automation Examples
Python Programming Learning Circle
Python Programming Learning Circle
Sep 19, 2021 · Big Data

Visualizing Historical National Games Medal Rankings with Python

This tutorial demonstrates how to collect, clean, and visualize historical Chinese National Games medal data using Python, covering data extraction with regular expressions, organization into pandas DataFrames, and creating both static line charts with Matplotlib and interactive charts with PyEcharts, complete with code snippets and practical tips.

Data visualizationJupyter NotebookMatplotlib
0 likes · 6 min read
Visualizing Historical National Games Medal Rankings with Python
Laravel Tech Community
Laravel Tech Community
Sep 17, 2021 · Information Security

Python Scripts for WiFi Password Brute‑Force Cracking – Command‑Line and Tkinter GUI Implementations

This article demonstrates how to build a Python‑based WiFi password brute‑force tool, first using a command‑line script that reads passwords from a dictionary and attempts connections, then enhancing it with scanning, flexible dictionary selection, and finally providing both a simple and an upgraded Tkinter graphical user interface for interactive cracking.

CLIGUIPython
0 likes · 19 min read
Python Scripts for WiFi Password Brute‑Force Cracking – Command‑Line and Tkinter GUI Implementations
MaGe Linux Operations
MaGe Linux Operations
Sep 16, 2021 · Backend Development

How to Retrieve Real-Time Minute-Level Stock Data with Python

This guide explains how to use Python, pandas, and requests to fetch minute‑by‑minute K‑line data for Chinese stocks from Eastmoney's API, generate the required secid, handle different market codes, and continuously save the data until market close.

APIPythonStock Data
0 likes · 9 min read
How to Retrieve Real-Time Minute-Level Stock Data with Python
Python Programming Learning Circle
Python Programming Learning Circle
Sep 14, 2021 · Fundamentals

Python Code Snippets: Function Chaining, Default Argument Pitfalls, CSV I/O, List Operations, and More

This article presents a collection of Python programming examples covering function chaining, default‑argument traps, CSV file reading and writing, number‑base conversion, list flattening and merging, dictionary utilities, and common algorithmic patterns such as permutations and combinations.

AlgorithmsData StructuresPython
0 likes · 6 min read
Python Code Snippets: Function Chaining, Default Argument Pitfalls, CSV I/O, List Operations, and More
Python Programming Learning Circle
Python Programming Learning Circle
Sep 14, 2021 · Fundamentals

A–Z of Useful Python Tricks

This article presents a curated A‑Z list of practical Python tricks—including built‑in functions, standard library modules, code snippets, and tips such as using collections, type hints, virtual environments, and command‑line utilities—to help developers write cleaner, more efficient code.

Pythonbest practicescode snippets
0 likes · 15 min read
A–Z of Useful Python Tricks
Python Programming Learning Circle
Python Programming Learning Circle
Sep 11, 2021 · Fundamentals

A Comparative Overview of Python and JavaScript Coroutines

This article compares the evolution, concepts, and practical implementations of coroutines in Python and JavaScript, explaining their histories, core mechanisms such as async/await, event loops, and providing side‑by‑side code examples to help newcomers understand asynchronous programming in both languages.

AsyncPythonawait
0 likes · 15 min read
A Comparative Overview of Python and JavaScript Coroutines
MaGe Linux Operations
MaGe Linux Operations
Sep 9, 2021 · Information Security

Can You Crack WiFi Passwords with Python? A Step‑by‑Step Guide

This tutorial walks through building both command‑line and Tkinter‑based Python tools that scan nearby Wi‑Fi networks, read password dictionaries, and perform brute‑force attacks using the pywifi library, while also showing how to package the script as an executable and discussing potential multithreading improvements.

PythonTkinterWiFi
0 likes · 14 min read
Can You Crack WiFi Passwords with Python? A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Sep 8, 2021 · Fundamentals

How to Avoid Circular Imports in Python Code

This article explains why circular imports occur in Python, demonstrates the resulting ImportError with example modules, and provides three practical solutions—including importing modules directly, using lazy imports, and redesigning code structure—to prevent such issues.

BackendCircular ImportImport
0 likes · 4 min read
How to Avoid Circular Imports in Python Code
Architecture Digest
Architecture Digest
Sep 7, 2021 · Backend Development

Design and Implementation of a High‑Performance Python Microservice Framework Based on Sanic

This article introduces a high‑performance Python microservice framework built on Sanic, detailing its architecture, asynchronous design principles, integration of uvloop, asyncpg, aiohttp, Peewee ORM, OpenTracing, Swagger API documentation, middleware, testing, and deployment considerations for scalable backend services.

BackendMicroservicesPython
0 likes · 15 min read
Design and Implementation of a High‑Performance Python Microservice Framework Based on Sanic
MaGe Linux Operations
MaGe Linux Operations
Sep 2, 2021 · Backend Development

Build a Python Baidu Baike Crawler: Step-by-Step Guide

This article demonstrates how to create a Python web crawler that fetches Baidu Baike entries, covering the main program structure, URL manager, page downloader, HTML parser using BeautifulSoup, and output generator, with complete code snippets and sample results.

PythonWeb Crawlerbaidu-baike
0 likes · 8 min read
Build a Python Baidu Baike Crawler: Step-by-Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Sep 2, 2021 · Fundamentals

Five Beginner Python Projects: Rock‑Paper‑Scissors Game, Random Password Generator, Dice Simulator, Automatic Email Sender, and Alarm Clock

This article presents five beginner-friendly Python projects— a command‑line Rock‑Paper‑Scissors game, a random password generator, a dice‑rolling simulator, an automatic email sender, and an alarm clock—each with clear objectives, implementation tips, and complete source code examples.

BeginnerProjectsPython
0 likes · 7 min read
Five Beginner Python Projects: Rock‑Paper‑Scissors Game, Random Password Generator, Dice Simulator, Automatic Email Sender, and Alarm Clock
Byte Quality Assurance Team
Byte Quality Assurance Team
Sep 1, 2021 · Backend Development

Using Polling Instead of Sleep in Python for Asynchronous Tasks

The article explains why fixed sleep calls are inefficient for asynchronous operations, introduces polling as a flexible alternative, provides Python code examples with the polling library, discusses advantages and disadvantages, and presents decorator and generic‑function abstractions for reusable polling logic.

AsynchronousDecoratorPolling
0 likes · 7 min read
Using Polling Instead of Sleep in Python for Asynchronous Tasks
Python Programming Learning Circle
Python Programming Learning Circle
Aug 31, 2021 · Backend Development

Python Web Crawler for Downloading Drama Links from cn163.net

This article describes how to build a Python web crawler that automatically generates numeric URLs, checks their validity, extracts download links for TV dramas from cn163.net, saves them to text files, and discusses practical challenges such as regex parsing, filename restrictions, and multithreading performance.

Pythoncrawlingfile-handling
0 likes · 7 min read
Python Web Crawler for Downloading Drama Links from cn163.net
360 Smart Cloud
360 Smart Cloud
Aug 31, 2021 · Artificial Intelligence

Understanding Convolution, Convolutional Neural Networks, and Their Implementation in Image Processing

This article explains the mathematical concept of 2‑D convolution, demonstrates its use for image filtering with examples such as blurring and Sobel edge detection, introduces artificial neural networks and back‑propagation, and details the design, training, and performance of convolutional neural networks for tasks like Sobel filter learning and MNIST digit recognition, including full Python code examples.

CNNConvolutionDeep Learning
0 likes · 25 min read
Understanding Convolution, Convolutional Neural Networks, and Their Implementation in Image Processing
Liangxu Linux
Liangxu Linux
Aug 29, 2021 · Operations

Boosting a Python Service to 50k QPS: My Step‑by‑Step Performance Tuning

Through a detailed case study, the author documents the process of optimizing a Python‑based web module—identifying bottlenecks, redesigning architecture with Redis queues, tuning MySQL, adjusting Linux TCP settings, and iteratively load‑testing until achieving 50,000 QPS with sub‑70 ms latency and zero errors.

BackendOperationsPython
0 likes · 9 min read
Boosting a Python Service to 50k QPS: My Step‑by‑Step Performance Tuning
MaGe Linux Operations
MaGe Linux Operations
Aug 29, 2021 · Backend Development

How Python’s singledispatch Simplifies Custom JSON Serialization

This article explores Python’s underused singledispatch feature from PEP 443 as a clean, extensible way to serialize arbitrary objects to JSON, comparing it with traditional json module approaches and showing how it avoids cumbersome if‑elif‑else logic while keeping classes untouched.

BackendPythonfunctools
0 likes · 6 min read
How Python’s singledispatch Simplifies Custom JSON Serialization
dbaplus Community
dbaplus Community
Aug 28, 2021 · Artificial Intelligence

Is AI Really Intelligent? Exploring Machine Learning, Neural Networks & Deep Learning

The article demystifies AI by explaining that current artificial intelligence is merely automated computation, then walks through fundamental machine‑learning concepts such as exhaustive search, linear regression, neural‑network neurons, activation functions, network structures, training calculations, and concludes with a Python implementation of a three‑layer neural network.

AIDeep LearningNeural Networks
0 likes · 15 min read
Is AI Really Intelligent? Exploring Machine Learning, Neural Networks & Deep Learning
FunTester
FunTester
Aug 27, 2021 · Fundamentals

Customizing Allure Test Reports with Pytest – A Step‑by‑Step Tutorial

This tutorial explains how to install Allure‑pytest, create a simple Dianping search test case, generate the default report, and progressively enhance it with custom titles, detailed steps, fixture‑based setup/teardown, hierarchical features, severity levels, and rich HTML descriptions, all using Python code snippets.

AllureAllure CustomizationPython
0 likes · 9 min read
Customizing Allure Test Reports with Pytest – A Step‑by‑Step Tutorial
Sohu Tech Products
Sohu Tech Products
Aug 25, 2021 · Backend Development

Scrapy Tutorial: Installation, Project Structure, Basic Usage, and Real‑World Example

This article provides a comprehensive, step‑by‑step guide to the Scrapy web‑crawling framework, covering its core components, installation methods, project layout, spider creation, data extraction techniques, pagination handling, pipeline configuration, and how to run the crawler to collect and store data.

CrawlerData ExtractionPython
0 likes · 13 min read
Scrapy Tutorial: Installation, Project Structure, Basic Usage, and Real‑World Example
Tencent Cloud Developer
Tencent Cloud Developer
Aug 24, 2021 · Artificial Intelligence

Design and Implementation of a High‑Scoring Tetris AI for the Tencent Geek Challenge

Zheng Lin‑kai’s record‑breaking Tetris AI for the Tencent Geek Challenge combines a two‑layer breadth‑first search—stage‑level pruning in Python and fast round‑level BFS in C++—with a heuristic that rewards high score, low occupied cells, and smooth board transitions, enabling a 1,413,876‑point performance.

C++Monte Carlo Tree SearchPython
0 likes · 10 min read
Design and Implementation of a High‑Scoring Tetris AI for the Tencent Geek Challenge