Tagged articles
8 articles
Page 1 of 1
php Courses
php Courses
Jan 9, 2024 · Backend Development

Common Random Number Generation Functions in PHP: rand(), mt_rand(), and uniqid()

This article explains PHP's built‑in random number functions—rand(), mt_rand(), and uniqid()—including their signatures, optional parameters, usage examples, and when to choose each function for generating verification codes, passwords, or unique identifiers in web development.

backend-developmentmt_randrand
0 likes · 4 min read
Common Random Number Generation Functions in PHP: rand(), mt_rand(), and uniqid()
php Courses
php Courses
Aug 16, 2023 · Backend Development

Understanding PHP's mt_rand() Function: Syntax, Parameters, Return Value, and Practical Examples

This article explains PHP's mt_rand() pseudo‑random number generator, covering its syntax, optional min and max parameters, return value, and provides three practical code examples for generating random integers, unique integer sets, and random strings, followed by a brief summary and learning resources.

Backend DevelopmentCode ExamplesPHP
0 likes · 5 min read
Understanding PHP's mt_rand() Function: Syntax, Parameters, Return Value, and Practical Examples
Kuaishou Tech
Kuaishou Tech
Oct 25, 2021 · Fundamentals

Noise Techniques for Short Video Effects and Their Generation Algorithms

This article explores how various noise algorithms—including value, gradient, simplex, cellular, and FBM—are applied to short video visual effects, compares random number generators for GPU rendering, and provides GLSL code examples to illustrate implementation and performance trade‑offs.

GPUGraphicsnoise
0 likes · 17 min read
Noise Techniques for Short Video Effects and Their Generation Algorithms
dbaplus Community
dbaplus Community
Oct 18, 2020 · Databases

Why MongoDB mongos Proxies Crash Under Load and How to Fix It

A high‑traffic Java service using MongoDB experienced intermittent latency spikes and a full‑scale outage caused by excessive connection churn, kernel‑level random‑number generation bottlenecks, and mis‑configured client timeouts, which were diagnosed through log analysis, packet captures, and performance testing, leading to concrete mitigation steps.

Database OptimizationLinux kernelMongoDB
0 likes · 25 min read
Why MongoDB mongos Proxies Crash Under Load and How to Fix It
Programmer DD
Programmer DD
Dec 3, 2019 · Operations

Why SSH Login Stalls on New UCloud Hosts: Entropy Delays and Kernel Bugs

A user reported extremely slow first SSH login on a UCloud “High‑Kernel Ubuntu 18.04” instance, which was traced to slow entropy‑pool initialization in the Linux kernel, a libssl 1.1.1 bug, and a kernel configuration issue, leading to a fix involving disabling MOTD or enabling CONFIG_RANDOM_TRUST_CPU.

Linux kernelSSHcloud hosting
0 likes · 11 min read
Why SSH Login Stalls on New UCloud Hosts: Entropy Delays and Kernel Bugs
MaGe Linux Operations
MaGe Linux Operations
Oct 11, 2018 · Fundamentals

7 Exciting Python Projects to Boost Your Coding Skills

This article presents seven practical Python projects—including a Zhihu image scraper, dual chatbot conversation, AI poetry author classifier, 35‑choose‑7 lottery generator, automatic apology letter writer, screen‑capture tool, and GIF creator—complete with ready‑to‑run code snippets and step‑by‑step explanations for developers eager to expand their programming repertoire.

AIChatbotPython
0 likes · 9 min read
7 Exciting Python Projects to Boost Your Coding Skills