Blogs / Personal blogs

Ned Batchelder

nedbatchelder.com

Ned Batchelder's personal web site, blog, writings, software, math, parenting, autism

Popular posts
17
Total points
3,430
HN comments
1,375
Rank
#397 personal

Visit nedbatchelder.com → RSS feedOn Hacker News Aug 2009 – Sep 2025

Software Engineering 10Life, Learning & Writing 3Web & Frontend 2Math & Algorithms 2Tools & Productivity 1Society, Policy & Culture 1

12

I fixed a bug in Python

About a month ago, I found a bad-behavior bug in the tokenize standard library module, and with help from Aron Griffis, submitted a patch to fix it. Yesterday was a Python bug day, and Ezio Melotti merged my change, so I have officially contributed to CPython!

13

Python iteration

This is a presentation I gave at PyCon 2013. You can read the slides and text on this page, or open the actual presentation in your browser (use right and left arrows to advance the slides), or watch the video:

15

Two-part Rubik's algorithms

When Rubik’s Cube first appeared decades ago, I jumped on it. I bought one, and spent an entire summer fiddling with it. Over that summer, I developed a solving technique that has stuck with me. My technique is not the fastest; that was never the goal. My algorithms make sense to me because they are constructed, and…

16

Http-https transitions and relative URLs

When building a web site with HTTPS pages, one of the annoying tasks is to ensure that those pages make no references to HTTP resources. If they do, then Internet Explorer will pop up alarming messages about mixing secure and insecure content, and do you want to display the insecure content.