Tagged articles
7 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Feb 25, 2024 · Fundamentals

Unveiling Liu Qian’s Final Magic Trick: The Hidden Josephus Puzzle

The article explains Liu Qian’s last magic performance by modeling the card shuffling as a periodic ABCD pattern, interpreting it through group theory, and ultimately solving the underlying Josephus problem with a binary‑based formula that predicts the surviving card.

Josephus problembinary representationcombinatorics
0 likes · 10 min read
Unveiling Liu Qian’s Final Magic Trick: The Hidden Josephus Puzzle
Liangxu Linux
Liangxu Linux
Jun 14, 2023 · Fundamentals

Why Do Modern CPUs Use an 8‑Bit Byte? Historical and Technical Reasons Explained

This article explores why the x86 architecture adopted an 8‑bit byte, examining historical decisions, character‑encoding needs, binary‑coded decimal compatibility, power‑of‑two advantages, and legacy compatibility, while clarifying the distinction between bytes and words in computer design.

binary representationbyte sizehardware design
0 likes · 14 min read
Why Do Modern CPUs Use an 8‑Bit Byte? Historical and Technical Reasons Explained
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 25, 2020 · Fundamentals

Understanding Bitwise Operations in Java: Uses, Representations, and the Seven Operators

This article explains the purpose and practical benefits of bitwise operations in Java, describes signed number representations (sign‑magnitude, ones' complement, two's complement), shows how bits can optimize time and space, and details the seven common bitwise operators with examples and a reference table.

algorithm fundamentalsbinary representationbitwise operations
0 likes · 13 min read
Understanding Bitwise Operations in Java: Uses, Representations, and the Seven Operators
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 21, 2019 · Fundamentals

Fundamentals of Computers: History, Integrated Circuits, Digital Logic, and Binary Systems

This article provides a comprehensive overview of computer fundamentals, covering the evolution from first‑generation vacuum‑tube machines to modern large‑scale integrated‑circuit computers, explaining digital circuits, logic gates, binary representation, and introducing emerging photon and quantum computing concepts.

Quantum Computingbinary representationcomputer fundamentals
0 likes · 9 min read
Fundamentals of Computers: History, Integrated Circuits, Digital Logic, and Binary Systems
Youzan Coder
Youzan Coder
Oct 19, 2018 · Fundamentals

Understanding NaN in JavaScript: Representation and Comparison

JavaScript’s NaN represents undefined numeric results, appears when operations like Math.sqrt(-1) occur, has multiple binary forms, and is distinguished as Quiet or Signaling; because NaN !== NaN, comparisons rely on special checks such as isnan, with implementations varying across environments like V8 and Apple’s C library.

C libraryJavaScriptNaN
0 likes · 8 min read
Understanding NaN in JavaScript: Representation and Comparison