Tagged articles
4 articles
Page 1 of 1
Satori Komeiji's Programming Classroom
Satori Komeiji's Programming Classroom
Dec 2, 2024 · Fundamentals

Master Python Generators (And the Odd Feud Behind It)

This article walks through Python generators in depth—covering basic yield behavior, the __next__, send, throw, and close methods, pre‑activation states, delegation with yield from, generator expressions pitfalls, and their role in coroutine implementation—while briefly recounting a personal conflict that sparked the write‑up.

CoroutinesGeneratorsPython
0 likes · 28 min read
Master Python Generators (And the Odd Feud Behind It)
ITPUB
ITPUB
Apr 11, 2023 · Databases

What Happens on the MySQL Server When the Client Disconnects Abruptly?

This article explains how MySQL 8.0.32 (InnoDB) handles a situation where the client sends a DML/DDL statement, the server executes it, and the client silently drops the connection before the server can detect the disconnect, detailing transaction commit, rollback, and send() behavior.

InnoDBSendclient disconnect
0 likes · 8 min read
What Happens on the MySQL Server When the Client Disconnects Abruptly?