---
title: "#computerscience articles | Hashnode"
description: "Explore 2,786 articles tagged #computerscience on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/computerscience"
---

Tag

# #computerscience

2,786 posts · 3 followers

[Doogal Simpson](https://hashnode.com/@doogal) · [4d ago](https://hashnode.com/posts/why-uppercasing-a-string-can-change-its-length/6aef68b97c81683612b4e3ca)

### [Why Uppercasing a String Can Change Its Length](https://doogal.dev/why-uppercasing-a-string-can-change-its-length?utm_source=hashnode&utm_medium=feed)

Converting strings to uppercase can change their length. Learn why characters like the German ß expand to SS and how this Unicode behavior breaks assumptions.

4 min read · [doogal.dev](https://doogal.dev/why-uppercasing-a-string-can-change-its-length?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/why-uppercasing-a-string-can-change-its-length/6aef68b97c81683612b4e3ca)

[Doogal Simpson](https://hashnode.com/@doogal) · [5d ago](https://hashnode.com/posts/casting-large-floats-to-integers/6aede1bac3222cd617a09d94)

### [Float to Int Conversion: Why Large Numbers Break](https://doogal.dev/casting-large-floats-to-integers?utm_source=hashnode&utm_medium=feed)

Casting large floats to ints behaves unpredictably across languages. See how Java, JavaScript, C, and Python handle overflow—and how to cast safely.

5 min read · [doogal.dev](https://doogal.dev/casting-large-floats-to-integers?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/casting-large-floats-to-integers/6aede1bac3222cd617a09d94)

[Doogal Simpson](https://hashnode.com/@doogal) · [6d ago](https://hashnode.com/posts/why-python-rounds-2-5-to-2/6aec4d389f5d7fbe87cc5488)

### [Why Python Rounds 2.5 to 2: Banker's Rounding Explained](https://doogal.dev/why-python-rounds-2-5-to-2?utm_source=hashnode&utm_medium=feed)

Understand why Python's round(2.5) evaluates to 2, how banker's rounding eliminates statistical bias, and how to implement traditional round-half-up logic.

4 min read · [doogal.dev](https://doogal.dev/why-python-rounds-2-5-to-2?utm_source=hashnode&utm_medium=feed)

[4](https://hashnode.com/posts/why-python-rounds-2-5-to-2/6aec4d389f5d7fbe87cc5488)

[Doogal Simpson](https://hashnode.com/@doogal) · [6d ago](https://hashnode.com/posts/java-integer-overflow-milliseconds-in-a-month/6aec4a31a3814663a78aeb13)

### [Java Integer Overflow: Calculating Milliseconds in a Month](https://doogal.dev/java-integer-overflow-milliseconds-in-a-month?utm_source=hashnode&utm_medium=feed)

Understand why calculating milliseconds in a month causes integer overflow in Java, why assigning to long fails, and how to fix silent arithmetic bugs.

4 min read · [doogal.dev](https://doogal.dev/java-integer-overflow-milliseconds-in-a-month?utm_source=hashnode&utm_medium=feed)

[Doogal Simpson](https://hashnode.com/@doogal) · [Nov 3](https://hashnode.com/posts/what-happens-when-you-add-1-to-max-integer/6ae9e1cd93f76a2ab904e03b)

### [What Happens When You Add 1 to the Max Integer?](https://doogal.dev/what-happens-when-you-add-1-to-max-integer?utm_source=hashnode&utm_medium=feed)

Discover how Java, C#, Rust, C, Python, and JavaScript handle integer overflow under the hood—from silent two's complement wraps to undefined behavior.

5 min read · [doogal.dev](https://doogal.dev/what-happens-when-you-add-1-to-max-integer?utm_source=hashnode&utm_medium=feed)

[ZyVOP](https://hashnode.com/@zyvop) · [Nov 3](https://hashnode.com/posts/how-computers-work-cpu-gpu-memory-and-the-operating-system-bp2ot/6ae97b0ac1812fc9b09dcfe0)

### [How Computers Work: CPU, GPU, Memory, and the Operating System](https://blog.zyvop.com/how-computers-work-cpu-gpu-memory-and-the-operating-system-bp2ot?utm_source=hashnode&utm_medium=feed)

A practical look inside the computer: how numbers and memory work, why GPUs suit AI, what the operating system does, and how to tell if a model will fit before you load it.

22 min read · [blog.zyvop.com](https://blog.zyvop.com/how-computers-work-cpu-gpu-memory-and-the-operating-system-bp2ot?utm_source=hashnode&utm_medium=feed)

[ZyVOP](https://hashnode.com/@zyvop) · [Oct 31](https://hashnode.com/posts/data-structures-for-ai-engineers-arrays-hash-maps-trees-graphs-and-heaps-6kpk6/6ae5c7eb72eaef40c91ac127)

### [Data Structures for AI Engineers: Arrays, Hash Maps, Trees, Graphs, and Heaps](https://blog.zyvop.com/data-structures-for-ai-engineers-arrays-hash-maps-trees-graphs-and-heaps-6kpk6?utm_source=hashnode&utm_medium=feed)

A practical tour of arrays, hash maps, stacks, queues, trees, heaps, and graphs in Python, and where each one quietly shows up in AI tools, from top-k search to agent workflows.

21 min read · [blog.zyvop.com](https://blog.zyvop.com/data-structures-for-ai-engineers-arrays-hash-maps-trees-graphs-and-heaps-6kpk6?utm_source=hashnode&utm_medium=feed)

[Doogal Simpson](https://hashnode.com/@doogal) · [Oct 28](https://hashnode.com/posts/how-gps-works-why-four-satellites/6ae1daebd3133b4af0905580)

### [How GPS Works: Why Positioning Requires 4 Satellites](https://doogal.dev/how-gps-works-why-four-satellites?utm_source=hashnode&utm_medium=feed)

GPS uses trilateration to calculate position. Learn why a fourth satellite is required to correct receiver clock drift and achieve accurate positioning.

5 min read · [doogal.dev](https://doogal.dev/how-gps-works-why-four-satellites?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-gps-works-why-four-satellites/6ae1daebd3133b4af0905580)

[Doogal Simpson](https://hashnode.com/@doogal) · [Oct 25](https://hashnode.com/posts/python-string-memory-pep-393/6adde98936f2a6eace8fd993)

### [Why a Single Emoji Quadruples Python String Memory](https://doogal.dev/python-string-memory-pep-393?utm_source=hashnode&utm_medium=feed)

Discover how CPython stores strings using PEP 393. Learn why adding a single emoji quadruples memory usage to preserve O(1) character indexing.

5 min read · [doogal.dev](https://doogal.dev/python-string-memory-pep-393?utm_source=hashnode&utm_medium=feed)

[Doogal Simpson](https://hashnode.com/@doogal) · [Oct 21](https://hashnode.com/posts/why-git-stores-file-history-backwards/6ad8e34b7aded8f19a382b00)

### [Why Git Stores File History Backwards](https://doogal.dev/why-git-stores-file-history-backwards?utm_source=hashnode&utm_medium=feed)

Learn how Git uses reverse deltas and packfiles to keep modern checkouts fast while efficiently compressing historical commits.

5 min read · [doogal.dev](https://doogal.dev/why-git-stores-file-history-backwards?utm_source=hashnode&utm_medium=feed)
