How a WebSocket frame is built and sent
Every WebSocket message travels in frames. Follow one frame byte by byte, with C# code you can test.
10 minute read
I write about software architecture, .NET, real-time systems and encryption.
Every WebSocket message travels in frames. Follow one frame byte by byte, with C# code you can test.
10 minute read
A passkey sign in is two steps on the server. This post builds both in PHP and in C#, protects the add step, and tests the refusals that matter most.
15 minute read
A jump, a few obstacles and a best score are enough for a game. This post shows how I built one for this site in plain JavaScript, with the numbers behind it.
9 minute read
Authenticator apps use a small standard, TOTP. A few lines of PHP can make and check the codes, and the RFC test values show that they are right.
6 minute read
PHP's DateTime knows only the Gregorian calendar. This post shows what the intl extension can do for Shamsi dates, a small converter that agrees with it on 73,414 days, and a free package that does the work.
8 minute read