Tom Leidy
banner
tomleidy.bsky.social
Tom Leidy
@tomleidy.bsky.social
interests: facets of creation; language, art, emotion, thoughts, systems, science, and technology. communication and community.

longing for the San Francisco that exists in my mind and heart (from before the pandemic).
Tired of fumbling through which is which, I made these tables to understand expansion (for my primary use case) better. Hopefully I’ll remember I left this here. #shell #scripting #shellscripting #bash #expansion
August 28, 2025 at 5:26 PM
OK, learning C. Again.

The 1st time I thought pointers were easy.

The 2nd, "I remember this!"

The 3rd, "did I ever understand these at all?"

I listened to and read explanations and got more confused.

Turned out explanation was too much.

Concise syntax reminders? Got it. #cheatsheet #C
July 31, 2025 at 8:05 PM
I did a coding challenge for an interview pre-screen yesterday, and I couldn’t remember the JS RegExp syntax. I used string methods, but… I figured it out after. This morning, I compared the performance of regex to string methods for parsing JSON.

Anyway, yay regex!
May 6, 2025 at 5:15 PM
A friend was working on parsing strings for D&D / dice rolling where she was doing her own string parsing. It was a little challenging to read that way, and she definitely optimized it.

I needed to satisfy my curiosity about how to do it with regular expressions, and this is what I came up with.
March 17, 2025 at 2:46 PM