DEV Community

#code

For sharing and discussing code snippets.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How an iOS Update Broke Chinese Text in War Robots (And How We Fixed It)

How an iOS Update Broke Chinese Text in War Robots (And How We Fixed It)

1
Comments 2
5 min read
How to Test Whether Audio Conversion Preserves Leading and Trailing Silence

How to Test Whether Audio Conversion Preserves Leading and Trailing Silence

Comments
4 min read
A Dictionary Check Does Not Validate the Type of Its Text Field

A Dictionary Check Does Not Validate the Type of Its Text Field

Comments
3 min read
Introducing Sonar

Introducing Sonar

2
Comments
5 min read
How to Add a Pre-Commit Quality Gate to Your Docs

How to Add a Pre-Commit Quality Gate to Your Docs

Comments 2
4 min read
Why does slowing one HaxeFlixel attack also slow idle or leave playback paused?

Why does slowing one HaxeFlixel attack also slow idle or leave playback paused?

Comments
3 min read
Static Member Functions in C++: Why Call a Function Without Creating an Object?

Static Member Functions in C++: Why Call a Function Without Creating an Object?

Comments 3
11 min read
How do I migrate SDL_QueryTexture-based sprite slicing to SDL3 float size queries?

How do I migrate SDL_QueryTexture-based sprite slicing to SDL3 float size queries?

Comments
3 min read
djb2 Hashing is Wrong

djb2 Hashing is Wrong

Comments
3 min read
RPS ai

RPS ai

1
Comments
2 min read
From Code to Context: How OpenViking's Self-Evolving Memory and 'rea's Reverse Engineering are Redefining the AI Agent Lifecycle

From Code to Context: How OpenViking's Self-Evolving Memory and 'rea's Reverse Engineering are Redefining the AI Agent Lifecycle

Comments
4 min read
Undo für Würfelzüge: Warum die inverse Folge rückwärts gelesen wird

Undo für Würfelzüge: Warum die inverse Folge rückwärts gelesen wird

Comments
3 min read
Why AI Coding Agents Lose Context After the PR, and How to Keep It

Why AI Coding Agents Lose Context After the PR, and How to Keep It

5
Comments
9 min read
How I Used a Graph Database to Rebuild Lost Source Code with AI

How I Used a Graph Database to Rebuild Lost Source Code with AI

Comments
3 min read
PDF.js Deep Dive 2: getDocument & getPage

PDF.js Deep Dive 2: getDocument & getPage

1
Comments
14 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.