Categories News

Making 100 million requests with Python aiohttp

June 12, 2017 [Performance, Programming, Python, Tech] Series: asyncio basics, large numbers in parallel, parallel HTTP requests, adding to stdlib Update: slides of a talk I gave at the London Python Meetup on this: Talk slides: Making 100 million HTTP requests with Python aiohttp. Update: see how Cristian…

Read More
Categories News

"git what" is "git status" on steroids

For when git status is not enough, I wrote git what: If you often have a few branches on the go, it could be useful. PakarPBN A Private Blog Network (PBN) is a collection of websites that are controlled by a single individual or organization and used primarily…

Read More
Categories News

Adding a concurrency limit to Python’s asyncio.as_completed

June 27, 2017 [Performance, Programming, Programming Languages, Python] Series: asyncio basics, large numbers in parallel, parallel HTTP requests, adding to stdlib In the previous post I demonstrated how the limited_as_completed method allows us to run a very large number of tasks using concurrency, but limiting the number of…

Read More
Categories News

Running a virtualenv with a custom-built Python

June 27, 2017 [Programming, Python, Tech] For my attempt to improve the asyncio.as_completed Python standard library function I needed to build a local copy of cpython (the Python interpreter). To test it, I needed the aiohttp module, which is not part of the standard library, so the easiest…

Read More
Categories News

Adding balls to our JezzBall clone

Last time we started a JezzBall clone by allowing you to move a cursor around the screen and draw lines across the playing area. This time, we add balls bouncing around. Will we get far enough for them to collide with the walls? The code is at Follow…

Read More
Categories News

Blog aggregator/planet in WordPress using FeedWordPress

September 12, 2017 [ACCU] I used to run Planet Code using Venus but that started breaking recently with 500 errors for SNI-enabled sites, and it looks very unmaintained. I considered some other static aggregators, but on shared hosting it’s hard to get the right Ruby version and gems…

Read More