Dan Clark

@bruisedthumb.bsky.social

A guy from NJ who is a dad, husband, and tinkers with code. I am also on mastodon: https://mas.to/@bruisedthumb Step up or get stepped up.

I finished "The City We Became" by N. K. Jemisin. It was different than the usual books I read. The story is about a handful of New Yorkers who find out they have become something much bigger than themselves, and that a great enemy is after the city they call home. www.kobo.com/us/en/ebook/...

The City We Became ebook by N. K. Jemisin - Rakuten Kobo

Read "The City We Became A Novel" by N. K. Jemisin available from Rakuten Kobo. Three-time Hugo Award-winning and New York Times bestselling author N.K. Jemisin crafts her most incredible novel yet, a...

kobo.com

Some see role models in wealthy business magnates. In a way, so do I. I see what happens when greed corrupts in such a way that lets them see others are undeserving of basic needs. It's impossible, without sacrificing one's humanity, to be disportionately rich while there is so much insecurity.

I finished Solito. A memoir by Javier Zamora that describes his journey to America as a 9 year old. I could not put this book down at times. The book shows how resilient people can be. It also opened my eyes to how treacherous the journey to America can be and how unfair fate can be. #book #read

This is a beginner typing mistake in Python: Setting the type of function arguments to `list` when all you need is to be able to iterate over that value. That's bad because it prevents you from using tuples, or generators, or other iterables. Instead, use `Iterable`.

Diagram showing that using the type Iterable is better than hardcoding a list.

Example with the wrong type:

# ❌
def create_files(files: list[Path]) -> None:
    for file in files:
        ...

Correct syntax for Python 3.9+:

from collections.abc import Iterable

def create_files(files: Iterable[Path]) -> None: ...

Correct syntax for Python 3.8:
from typing import Iterable

def create_files(files: Iterable[Path]) -> None: ...

People with empathy are deeply impacted by harm being done to real people. We feel it in our gut-- our very souls. To feel this strongly puts a heavier requirement on us to create justice. It's called moral responsibility. Trump has called activists expressing moral responsibility terrorists.

It's clear that a significant portion of Americans were tricked into thinking that they knew better than the experts or that the experts couldn't be trusted. So instead of figuring things out through logic or sound reasoning, we are resorting to learning things the hard way, by trial and error.

The Project 2025 architect was just confirmed to lead the WH budget office. Complaining does nothing. If you hate what is going on, then do more. Calling your reps is a start, but go to your town, county, or state democratic meetings. Step up to run for office. Everything else is just lip service.

I am on baby duty today, and here are the instructions I was given 😂 12:00pm Playtime She loves crawling around with Sunny. (Don't leave unattended they both want the stupid chicken ) The stupid chicken:

Bild

With everything that is going on, it is not enough to yell through your keyboard. People have to step up and do something. It doesn't have to be perfect. For example, the DNC has some shady parts to it, and that must change if it is meant to represent the working class.