Month: June 2017

  • Women Who Code workshop on “Write your own programming language”

    On Wednesday 28th June 2017 a group of people from OpenMarket went to the Fora office space in Clerkenwell, London to run a workshop with the Women Who Code group, who work to help women achieve their career goals. OpenMarket provided the workshop “Wri…

  • Tell, don’t ask

    More than twelve years ago Tim Joyce passed on some programming wisdom: With programs tell don’t ask, vice versa for people. This was a bit abstract for me at the time but last night it came back to me as what is wrong with the code I am currently …

  • Tell, don’t ask

    More than twelve years ago Tim Joyce passed on some programming wisdom: With programs tell don’t ask, vice versa for people. This was a bit abstract for me at the time but last night it came back to me as what is wrong with the code I am currently …

  • Running a virtualenv with a custom-built Python

    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 w…

  • Adding a concurrency limit to Python’s asyncio.as_completed

    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…

  • “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.

  • Pride Vibes 2017: Coventry Pride

    Laura Tapp performs on Saturday evening at Coventry PridePride Vibes: As a photographer for Gay Pride Pics, I see lots of Prides across the UK every year. Each Pride has a different feel. This series will describe what each Pride was like and what the …

  • Making 100 million requests with Python aiohttp

    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…

  • Python – printing UTC dates in ISO8601 format with time zone

    By default, when you make a UTC date from a Unix timestamp in Python and print it in ISO format, it has no time zone: $ python3 >>> from datetime import datetime >>> datetime.utcfromtimestamp(1496998804).isoformat() ‘2017-06-09T09:00:…

  • Pride Vibes 2017: Birmingham Pride

    Marching in Birmingham’s ParadePride Vibes: As a photographer for Gay Pride Pics, I see lots of Prides across the UK every year. Each Pride has a different feel. This series will describe what each Pride was like and what the vibe of the pride was like…

  • Berkhamsted to Tring Walk

    Went for a walk from Berkhamsted to Tring, see GPS data and some pictures: here, here and here.

  • Berkhamsted to Tring Walk

    Went for a walk from Berkhamsted to Tring, see GPS data and some pictures: here, here and here.

  • Galloway Camping Holiday

    Been to Galloway for a few days of (wild) camping (around Loch Dee, Loch Trool, Merrick, Loch Finlas, Loch Doon). Also stopped in Carlisle before returning back to London. See my digital photo album for a few pictures.

  • Galloway Camping Holiday

    Been to Galloway for a few days of (wild) camping (around Loch Dee, Loch Trool, Merrick, Loch Finlas, Loch Doon). Also stopped in Carlisle before returning back to London. See my digital photo album for a few pictures.