Dinner
Related
More from Ned Batchelder's blog
My son Nat is autistic, which makes him quiet and passive. He depends on routines and can be anxious when they vary. We try to prepare him for changes and explain what will happen. He usually watches the world around him seriously.Because of all that, when he does show us a genuine smile, it is like sunshine bursting through an overcast sky.I...
I posted a Python tidbit about checking if a string consists entirely of zeros and ones:I got a bunch of replies suggesting other ways. I wanted to post those, but I also wanted to check if they were right. A classic testing structure would have required putting them all in functions, etc, which I didn’t want to bother with.So I cobbled together...
I am a liberal. I believe in helping people. But these days I see cruelty masquerading as righteousness and selfishness labelled as freedom. I see politicians lifting up the powerful and stepping on the already downtrodden.Hubert Humphrey laid out a rubric I think we are doing poorly at:The ultimate moral test of any government is the way it...
I posted a Python tidbit about how for loops can assign to other things than simple variables, and many people were surprised or even concerned:params = { "query": QUERY, "page_size": 100, } # Get page=0, page=1, page=2, ... for params["page"] in itertools.count(): data = requests.get(SEARCH_URL, params).json()...
I was on episode 4 of the On The Board podcast: Taking on New Challenges. I’m never quite sure what parts of my experience people will be able to relate to, but it was a good chat with Jason and Michael about becoming a newb late in my career.