Tag

binary

1 views collected around this technical thread.

Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 3, 2025 · Databases

MySQL Trailing Space Issue: Unexpected Matching of Strings with Trailing Spaces

An investigation reveals that MySQL treats trailing spaces in VARCHAR values as insignificant during string comparison, causing queries like SELECT * WHERE name='Tom' to match rows with extra spaces, and demonstrates that using the BINARY keyword restores exact matching, highlighting a potential bug in MySQL 5.7.

MySQLbinarybug
0 likes · 4 min read
MySQL Trailing Space Issue: Unexpected Matching of Strings with Trailing Spaces
Architecture Development Notes
Architecture Development Notes
Sep 5, 2024 · Fundamentals

Convert IPv4 Addresses to Integers in Rust with Built‑In Validation

This article explains the structure of IPv4 addresses, walks through a Rust function that parses dotted‑decimal notation into a 32‑bit integer with range checks, and provides example code demonstrating usage and error handling.

Address ConversionIPv4Rust
0 likes · 5 min read
Convert IPv4 Addresses to Integers in Rust with Built‑In Validation
IT Services Circle
IT Services Circle
May 22, 2024 · Fundamentals

Understanding Binary, Logic Gates, and How CPUs Process Information

This article explains how CPUs interpret binary signals as voltage levels, describes basic logic gates such as AND, OR, NOT, shows how they combine to perform arithmetic like addition, and clarifies that hardware itself lacks understanding, relying on human-designed instruction sets and compilers to give meaning to 0s and 1s.

CPUbinarycomputer fundamentals
0 likes · 6 min read
Understanding Binary, Logic Gates, and How CPUs Process Information
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 11, 2024 · Databases

MySQL Ignoring Trailing Spaces in VARCHAR Values and How to Enforce Exact Matching

This article demonstrates how MySQL silently discards trailing spaces in VARCHAR columns during queries, shows example tables and queries where spaces are ignored, and explains how to use the BINARY keyword to enforce strict matching of trailing spaces.

MySQLSQLbinary
0 likes · 4 min read
MySQL Ignoring Trailing Spaces in VARCHAR Values and How to Enforce Exact Matching
Model Perspective
Model Perspective
Aug 29, 2023 · Fundamentals

Why Does 666 Appear Everywhere? Uncovering Its Hidden Mathematical Secrets

From its appearance as a rescue signal in a thriller film to its role as a triangular number, a sum of primes, and a culturally charged symbol, this article explores the many mathematical properties and cultural meanings of the number 666.

666binarycultural symbolism
0 likes · 5 min read
Why Does 666 Appear Everywhere? Uncovering Its Hidden Mathematical Secrets
IT Services Circle
IT Services Circle
Mar 4, 2022 · Fundamentals

Understanding Character Encoding: From GBK and UTF-8 to Unicode

This tutorial explains the origins and evolution of character encoding, covering early ASCII, Chinese GBK/GB18030, the universal Unicode standard, UTF‑8 variable‑length encoding, and practical differences between Python 2 and Python 3 with code examples.

ASCIIGBKPython
0 likes · 9 min read
Understanding Character Encoding: From GBK and UTF-8 to Unicode
php中文网 Courses
php中文网 Courses
Apr 23, 2021 · Backend Development

Converting Decimal Numbers to Binary in PHP with decbin()

This article explains how to use PHP's built‑in decbin() function to convert decimal integers into their binary string representation, covering the function syntax, parameter details, return limits, and providing a clear code example with expected output.

Decimalbinaryconversion
0 likes · 1 min read
Converting Decimal Numbers to Binary in PHP with decbin()
Architecture Digest
Architecture Digest
Apr 2, 2020 · Fundamentals

From Finger Counting to One‑Bit Adders: A Story of Learning Binary and Logic Gates

A classroom tale follows elementary students as they discover binary counting with their fingers, translate it into truth tables, explore AND, OR, and NOT gates, and progressively build one‑bit and multi‑bit adders, illustrating fundamental digital logic concepts.

binarycomputer fundamentalsdigital electronics
0 likes · 11 min read
From Finger Counting to One‑Bit Adders: A Story of Learning Binary and Logic Gates
58 Tech
58 Tech
Mar 16, 2020 · Fundamentals

Understanding Object Serialization: Principles, Frameworks, and Performance Optimizations

This article explains the concept of object serialization, compares generic formats like JSON/XML with binary approaches, discusses optimization principles, key performance metrics, and reviews major serialization frameworks such as Protobuf, Thrift, Hessian, Kryo, and Avro, while also covering TLV encoding, varint algorithms, and practical pitfalls.

FrameworksMicroservicesProtobuf
0 likes · 16 min read
Understanding Object Serialization: Principles, Frameworks, and Performance Optimizations
macrozheng
macrozheng
Feb 4, 2020 · Fundamentals

Unlocking Computer Fundamentals: From CPU Basics to Assembly Language Explained

Explore the essential building blocks of modern computing, covering CPU architecture, memory hierarchy, binary operations, compression techniques, operating system fundamentals, and assembly language, with clear explanations, diagrams, and code examples that demystify how hardware and software interact at the lowest level.

CPUMemoryOperating System
0 likes · 74 min read
Unlocking Computer Fundamentals: From CPU Basics to Assembly Language Explained
Java Captain
Java Captain
May 28, 2019 · Fundamentals

Five Classic Bitwise Operation Techniques in Java

This article introduces five classic bitwise operation examples in Java—including checking odd/even, swapping variables without a temporary, finding a unique number, fast exponentiation, and determining the greatest power of two not exceeding N—explaining the underlying binary logic, code implementations, and their efficiency advantages.

Javaalgorithmbinary
0 likes · 10 min read
Five Classic Bitwise Operation Techniques in Java