Python
Posts with this tag
Posts
-
Elliptic Curves from Scratch: Group Law, Double-and-Add and a Toy ECDH
Building elliptic-curve cryptography up from the chord-and-tangent rule to scalar multiplication and a working Diffie–Hellman exchange on a 103-point curve, then showing exactly why that curve is worthless.
-
Amdahl, Gustafson and a Real Scaling Curve: Fitting the Serial Fraction of a Python Pool
Strong and weak scaling of a Python multiprocessing integration on an eight-core laptop, a fit of Amdahl's law, why a weak-scaling speed-up needs its baseline, and where the overhead comes from.
-
Reliable Background Jobs with Nothing but PostgreSQL
A job queue built on FOR UPDATE SKIP LOCKED, visibility timeouts, retries with jittered backoff and idempotent handlers, with the SQL and a Python worker.