atlas news
    
Ned Batchelder
29  septembre     10h47
Changelog automation
Ned Batchelder    I have two main approaches for producing changelogs, but both are based on the same principles: make it convenient for the author to create them, then make it possible to use the information automatically to benefit the readers.The first way is with a tool such as scriv, which I wrote, but which...
28  septembre     18h33
Changelog philosophy
Ned Batchelder    I playfully quipped about changelogs, and Sumana Harihareswara thoughtfully responded with Changelogs and Release Notes. I agree with her on some things, and disagree on others.My point with the meme was that people should put effort into a hand crafted description of what has changed in each...
21  septembre     12h40
Cleaning up a messy branch
Ned Batchelder    Let’s say you have a long lived git branch. Most of the changes should be merged back to main, but some of the changes were already cherry picked from main, and some of the changes shouldn’t be put onto main at all. How do you review the branch and merge it Here’s a diagram of a simple example. ...
14  septembre     15h27
Cogged GitHub profile
Ned Batchelder    Cog is my tool for using bits of Python to generate content inside an otherwise static file. I used it in extreme ways to generate my GitHub profile page.If you haven’t seen it before, you can customize your GitHub profile by creating a README.md in a repo named the same as your username. So my...
26  août     13h18
Coverage branches instead of arcs
Ned Batchelder    As I mentioned in a few recent posts, I’ve been working on some significant work in coverage.py to take advantage of new capabilities in Python.Mark Shannon has been improving the sys.monitoring API so that branch coverage can be done with low overhead. I want to take advantage of that in coverage...
11  août     15h43
Cherish this time
Ned Batchelder    I’m been talking lately with a friend with a four month old baby. He mentioned the well worn dynamic that older parents tell new parents to cherish their early days with their newborn, that they will grow up faster than you expect.I agree with the general sentiment, but I don’t think it’s a good...
31  juillet     21h32
Pushing back on sys.monitoring
Ned Batchelder    I’ve been continuing to work on adapting coverage.py to the new sys.monitoring facility. Getting efficient branch coverage has been difficult even with the new API. The latest idea was to compile the code under measurement to insert phantom lines that could trigger line monitoring events that...
16  juillet     19h21
Anthropic
Ned Batchelder    I am starting a new job soon at Anthropic, the makers of the Claude large language model.It will be an interesting change for me, for a few reasons. First, I know essentially nothing about how LLMs work and are built. Second, it’s my first new job in almost years. Third, I’ve been between...
21  juin     12h14
Coverage at a crossroads
Ned Batchelder    This is an interesting time for coverage.py: I’m trying to make use of new facilities in Python to drastically reduce the execution time overhead, but it’s raising tricky questions about how coverage should work.The current situation is a bit involved. I’ll try to explain, but this will get long,...
16  juin     10h00
Math factoid of the day: 62
Ned Batchelder    There are two Archimedean solids with faces: rhomb icosi dodeca hedron truncated icosi dodeca hedron They both have faces because of their roots in the dodecahedron and icosahedron. They have a face for each of the faces, vertices, and edges of either of those polyhedra: ...