Greg Smith
banner
notthatgreg.bsky.social
Greg Smith
@notthatgreg.bsky.social
Engineer, Dad @[email protected] and at the dying 🐦
Can you put sharks in it, with frikkin lasers on their heads, people need to know
January 16, 2026 at 2:48 PM
Hallowe'en Spider, felt pen
January 13, 2026 at 4:19 PM
Much easier to clean and sharpen a single blade, is my guess.
Also, even with a +, maybe the cheese would deform in the center area due to combined displacement from 2 blades
January 2, 2026 at 12:12 AM
Artillery Target Class
December 26, 2025 at 12:52 AM
Oh wait were you asking for a reason to use 'is' on immutable types like int and str? I really can't think of one, unless you're writing test code that's intended to check specific python behavior.
December 26, 2025 at 12:10 AM
... So before modifying it you can do

if arr_local is arr_in:
# avoid changing arr_in
arr_local = arr_local.copy()

This avoids doing any copy when not needed.
If you *always* need to modify arr_local, can instead just pass "copy=True" to np.asarray to force a copy.
December 26, 2025 at 12:03 AM
A function which needs to work with numpy array of float32: it could start with

arr_local=np.asarray(arr_in, 'float32').

If arr_in is already float32, this just returns the same array.

Now, sometimes it needs to modify elements in arr_local, but we don't want to change the contents of arr_in...
December 25, 2025 at 11:58 PM
Using 'is' to compare two lists will tell you if the lists are really the same object, so that modifying one var will modify the other, which can be very important to know.
Likewise for dicts and class instances.
For immutable types like int and str, it would be very unusual to want 'is' vs '=='.
December 25, 2025 at 9:27 PM
And I'm pretty sure both would be true if it was run from a .py file (rather than interactively), since the 'compile' operation detects duplicate literals, and only uses one instance of each distinct value.
'Safer' (?) example would use something like :

a=1000
b=abs(-a)
December 25, 2025 at 9:20 PM
"Hey, could we generate, like, a million docs using AI to flood the zone with BS and make it impossible to even talk about anything real? Someone get a timetable for that"
December 25, 2025 at 12:58 AM
Sure, I'm asking about the design, as opposed to the animation. Elsewhere on the thread I think I read that it rotated geosynchronously, at geosynchronous altitude, which would appear to be in conflict with "not rotating".
December 21, 2025 at 9:07 PM
You're saying the structure we see is not rotating, but there is mass inside the tubes zooming around to keep it up?
December 21, 2025 at 8:42 PM
What if six turned out to be nine?

I don't mind.
December 17, 2025 at 3:54 PM
Physics of the crash seem very plausible. But yeah, the pointy curb corners? Unless it's a place to make a U-turn (that the driver may have suddenly thought would work), but to definitely not allow the opposite U-turn.
December 17, 2025 at 3:43 PM
Remembering when I took my daughter, about 5, to the Ontario Science Center, there was an exhibit with 'normal' and 'very pregnant' sagittal section models. I held her up and said, "this is what happened to Mom's organs when you were in her. Look, it's all squished up".

She laughed out loud.
December 17, 2025 at 3:29 PM
She's also incompetent at formatting text.
December 9, 2025 at 9:17 PM
"And if you'll step this way, there's another Bathroom Gallery on the other side of the Gourmet Kitchen..."
December 1, 2025 at 11:04 PM
Bedroom 2 needs more closets.
December 1, 2025 at 11:00 PM
It's a new thing, a Klotzki puzzle gateway.
December 1, 2025 at 10:58 PM
"According to who, in particular?"
December 1, 2025 at 7:14 PM