Articles on current page (11-20 of 21)

July 2016

python code

☑ The State of Python Coroutines: Python 3.5

I recently spotted that Python 3.5 has added yet more features to make coroutines more straightforward to implement and use. Since I’m well behind the curve I thought I’d bring myself back up to date over a series of blog posts, each going over some functionality added in successive Python versions — this one covers additional syntax that was added in Python 3.5.

This is part 4 of the “State of Python Coroutines” series which started with The State of Python Coroutines: yield from. The previous article in the series was The State of Python Coroutines: asyncio - Callbacks vs. Coroutines.

Read article →

13 Jul 2016 at 7:00PM in Software
 |   | 
Photo by Andy Pearce
 | 
python code

☑ The State of Python Coroutines: asyncio - Callbacks vs. Coroutines

I recently spotted that Python 3.5 has added yet more features to make coroutines more straightforward to implement and use. Since I’m well behind the curve I thought I’d bring myself back up to date over a series of blog posts, each going over some functionality added in successive Python versions — this one covers more of the asyncio module that was added in Python 3.4.

This is part 3 of the “State of Python Coroutines” series which started with The State of Python Coroutines: yield from. The previous article in the series was The State of Python Coroutines: Introducing asyncio.

Read article →

5 Jul 2016 at 7:45AM in Software
 |   | 
Photo by Andy Pearce
 | 

June 2016

python code

☑ The State of Python Coroutines: Introducing asyncio

I recently spotted that Python 3.5 has added yet more features to make coroutines more straightforward to implement and use. Since I’m well behind the curve I thought I’d bring myself back up to date over a series of blog posts, each going over some functionality added in successive Python versions — this one covers parts of the asyncio module that was added in Python 3.4.

This is part 2 of the “State of Python Coroutines” series which started with The State of Python Coroutines: yield from.

Read article →

16 Jun 2016 at 8:29AM in Software
 |   | 
Photo by Andy Pearce
 | 
python code

☑ The State of Python Coroutines: yield from

I recently spotted that Python 3.5 has added yet more features to make coroutines more straightforward to implement and use. Since I’m well behind the curve I thought I’d bring myself back up to date over a series of blog posts, each going over some functionality added in successive Python versions — this one covers the facilities up to and including the yield from syntax added in Python 3.3.

This is part 1 of the “State of Python Coroutines” series.

Read article →

10 Jun 2016 at 7:58AM in Software
 |   | 
Photo by Andy Pearce
 | 

July 2015

broken watches

☑ Time zones and cron

Time zones can be tricky beasts, particularly where daylight savings time is concerned. This post discusses issues around apply them to something like the ubiquitous Unix cron daemon.

Read article →

21 Jul 2015 at 7:09AM in Software
 |   |   | 

July 2013

chains padlock

☑ Passwords: You’re doing it wrong

There are few technical topics about which there’s more FUD than picking a strong password.

Read article →

11 Jul 2013 at 3:55PM in Software
 |   |   | 

June 2013

beach karate

☑ Jinja Ninja

I recently had to do a few not-quite-trivial things with the Jinja2 templating engine, and the more I use it the more I like it.

Read article →

1 Jun 2013 at 6:25PM in Software
 |   |   | 

May 2013

github usb

☑ Hooked on Github

Github’s web hooks make it surprisingly easy to write commit triggers.

Read article →

16 May 2013 at 11:52AM in Software
 |   | 
Photo by Brina Blum on Unsplash
 | 

April 2013

green python

☑ Python destructor drawbacks

Python’s behaviour with regards to destructors can be a little surprising in some cases.

Read article →

23 Apr 2013 at 10:48AM in Software
 |   |   | 
closed sign

☑ When is a closure not a closure?

Python’s simple scoping rules occasionally hide some surprising behaviour.

Read article →

10 Apr 2013 at 3:41PM in Software
 |   |   | 

← Page 1   |   Page 2 of 3   |   Page 3 →