Ned Batchelder
Do a pile of work better
22 August
A few days ago I wrote about doing a pile of work with concurrent.futures. Since then, I discovered a problem with the code: exceptions raised by the work function were silently ignored. » more..
Do a pile of work
19 August
I had a large pile of data to feed through an expensive function. The concurrent.futures module in the Python standard library has always worked well for me as a simple way to farm out work across threads or processes. » more..
You should include your tests in coverage
11 August
This seems to be a recurring debate: should you measure the coverage of your tests? In my opinion, definitely yes. » more..
Dark mode, continued
19 July
I’ve continued to work on the dark mode for this site. After playing around with different approaches, and learning more about Sass, I have something I like. » more..
More blog ··
art ·
audio ·
autism ·
boston ·
css ·
coding ·
coverage ·
debugging ·
dev-mindset ·
development ·
education ·
friends-&-family ·
hacks ·
help ·
history ·
juggling ·
jupyter ·
math ·
obituaries ·
online ·
open-source ·
parenting ·
photos ·
puzzles ·
pycon ·
python ·
testing ·
typography ·
2020 ·
19 ·
18 ·
17 ·
16 ·
15 ·
14 ·
13 ·
12 ·
11 ·
10 ·
09 ·
08 ·
07 ·
06 ·
05 ·
04 ·
03 ·
02 ·
» more topics..
Code
software I made
- Aptus ·· a Mandelbrot set explorer
- coverage.py ·· for measuring Python code coverage
- hyphenate ·· for hyphenating words with the Liang/Knuth algorithm
Text
words I wrote
- Python Names and Values ·· how assignment works
- Kindling projects ·· small projects for new programmers
- Pragmatic Unicode ·· how to stop the pain