Skip to content
md
~/writing
~/writing
~/writing
About
Experience
Projects
Publications
Writing
Guide
Services
Contact
Resume
tr
en
A
Ask the assistant
Writing
14
Technical notes, things I've learned and experiences.
2026-11-20
Account Pre-Hijacking: Why My First Fix Fell Short
How someone who signs up first with your address can take over the account: the hole I found in Seans, the first fix that fell short and the real one.
Read →
2026-11-18
Python subprocess Pitfalls: Running ffmpeg Safely Without Hanging
The risk of shell=True, an unread pipe that freezes the program, pipes left open: what I learned running ffmpeg from Python in my video converter.
Read →
2026-11-16
Check Then Write: Race Conditions Between Concurrent Requests
Never selling one seat twice, recording a double-clicked approval once: fixing race conditions with a partial UNIQUE index and PostgreSQL's xmin.
Read →
2026-11-13
Don't Store Money in a Float: Cents, decimal and Rounding Rules
Why 0.1 + 0.2 is not 0.3, and how that becomes an invoice bug. How I stored money as cents, decimal and Decimal across four projects.
Read →
2026-11-11
The Birthday Paradox: Why Random Codes Collide Sooner Than Expected
Six-character codes with 887 million values hit a 50% chance of a collision at 35 thousand codes. How the birthday paradox hit my booking codes and a test.
Read →
2026-11-09
The Real Client IP Behind a Proxy: X-Forwarded-For and a Rate Limit That Didn't Work
Two rate limits behind Render and Cloudflare failed in production: one never filled up, one fell to a fake header. Which X-Forwarded-For value to trust.
Read →
2026-11-06
The Turkish I Problem: How Case Conversion Broke in Five of My Projects
In Turkish, lower-case I is ı and upper-case i is İ. The bugs this caused in five of my projects in Java, JavaScript, Python and C#, and how I fixed them.
Read →
2026-11-04
One Split Can Lie: Honest Model Evaluation with Cross-Validation
The same model scored R² 0.35 to 0.78 across 1,000 splits. On cross-validation, the unshuffled k-fold trap and the one-standard-error rule.
Read →
2026-11-02
Working Safely with Third-Party APIs in a Serverless Web App
How I chose services, validated third-party API responses and fenced the browser with a CSP in a weather app that has no server of its own.
Read →
2026-10-30
Keeping a Secret Role on the Server in a Real-Time SignalR Game
How I kept the spy's identity out of every browser in Casus by sending each player their own view over SignalR, and tested it over real connections.
Read →
2026-10-28
Enforcing the Clean Architecture Dependency Rule with NetArchTest
I turned the Clean Architecture layer rule into NetArchTest tests, then broke it on purpose to check they catch what the compiler lets through.
Read →
2026-10-26
Preventing Data Leaks in a Multi-Tenant App with EF Core Global Query Filters
How I stopped one business from seeing another business's data in a multi-tenant app with EF Core global query filters, and how I tested it on real PostgreSQL.
Read →
2026-04-18
The Mechanics of P2P Communication: Deep Dive into NAT Traversal and WebRTC
How we got two devices talking without a middleman in Cipher, our graduation project: the NAT barrier and how STUN, TURN and WebRTC get around it.
Read →
2026-02-23
Hello World: Welcome to My Digital Desk!
On this blog I share how each of my projects works, the technical decisions behind them and how I fixed the bugs I ran into, in Turkish and English.
Read →