Topic

Python

Everything filed under Python, newest first.

Showing 21–22 of 22 articles

  • Making Hybrid Images

    Jeremy Kun explains hybrid images, pictures that read differently up close and from afar, using Fourier analysis: an intuitive tour of the discrete Fourier transform, low- and high-pass Gaussian filtering, and Python code that blends Marilyn Monroe and Albert Einstein into one image, with ideas for further experiments.

    Tutorial · Mathematics · Python · Graphics · Algorithms

    10 min · 2,292 words

  • What happens if you write a TCP stack in Python?

    Julia Evans recounts writing a tiny TCP stack in Python with Scapy during Hacker School: doing a handshake with Google, then discovering that the Linux kernel kept resetting her connections and that her Python code was too slow to keep up, and what that taught her about how TCP works.

    Blog post · networking · python · tcp

    5 min · 1,081 words