Topic
Everything filed under Python, newest first.
RSS · JSON · All topics
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.
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.
5 min · 1,081 words