The badge script printed the right name for the person who wrote it and the wrong name for everybody else. Slicing counts characters, and a name is words.
ArticlesOctober 6, 2026
When You Pick a Framework Just to Look Different
The last time you chose a new framework or library, was it because your problem needed that tool, or because it sounded cool and few people around you were using it? That question is uncomfortable. Technology decisions are often made for reasons that never appear in any technical document.
Latest articles
See all →Collections and StringsPython Strings: the Badge That Only Worked for One Name
Collections and StringsPython Tuples: Why All Three Points Are the Same Point
Three points walk into a loop and come out identical. The list was never copied three times; the name was. A tuple makes that bug impossible.
Collections and StringsPython Sets: the Duplicate That Keeps Coming Back
A de-duplication loop that works on clean data leaves four tags where there should be two. The bug is case, and the fix is a set.
Collections and StringsPython Dictionaries: the Key That Isn't There
A word counter dies the first time it meets a word twice. The fix is one line; what takes longer is knowing which of a dict's three lookups to reach for.
Iklan