Hashing, Encryption and Encoding: My Security+ Notes With Python ExamplesWhen I studied for CompTIA Security+, one idea took me longer than it should have to really own: the difference between hashing, encryption and encoding. All three turn readable data into something th5 min read·tonycantave.hashnode.dev1d ago
How I Sort Report Data in Python With sorted, key and itemgetterMost of the small scripts I write end the same way: I have a list of records, and I need to show them in an order that makes sense to a person. Busiest first. Oldest first. Grouped by area, then by ti5 min read·tonycantave.hashnode.dev2d ago
How I Use Python Generators to Process Big Files Without Running Out of MemoryWhen I started writing Python scripts for real work, I did what most beginners do: I read the whole file into memory, turned it into a list, and then looped over the list. That works fine for a 200 ro5 min read·tonycantave.hashnode.dev6d ago
How I Turn Gut Feelings About AI Output Into a Scoring RubricPart of my work as a freelance AI evaluator is scoring model output: images, video, audio and user interface designs, each judged against a rubric. The hardest lesson I learned early is that my first5 min read·tonycantave.hashnode.devNov 18
How I Use Python's sqlite3 Module to Keep Small Script Data OrganizedMany of my scripts start by writing results to a CSV file. That works until I need to answer a question like "which runs failed this week" or stop a script from processing the same record twice. At th5 min read·tonycantave.hashnode.devNov 15