James A Rosen
jamesarosen.com
James A Rosen
@jamesarosen.com
Dad to 👧👧🐈🐈‍⬛🐈‍⬛. Software engineer looking for the next career move. Napa, CA Bicycle & Pedestrian Commissioner. Francophone (+/-).
This is my deactivated (but not deleted) Facebook account, last updated in 2018

Whatever the police found isn't my account
August 10, 2025 at 3:11 PM
My #NoKings protest sign

Chicken TACO
June 15, 2025 at 12:42 AM
My father gave me a cool bird feeder with a webcam for my birthday. We had our first visitor today! A California Towhee, I’m pretty sure
April 23, 2025 at 10:03 PM
So many happy bees on the borage in our garden today 😀🐝❤️
April 6, 2025 at 9:25 PM
“Melt ICE, not icebergs”
#indivisible #habdsoff
April 5, 2025 at 7:45 PM
I tweaked it to lower the delay and return a random number.
Five invocations at stale result in 10 network waterfall entries. Five are "fetch" and "disk cache". The sixth is text/plain, 291B. The remainder are text/plain, 0B. All the "fetch" responses have the same random number.
February 21, 2025 at 6:35 AM
The five responses all come back together. One of them has bytes. The other four are empty because Chrome used one to fulfill the others.
February 21, 2025 at 6:25 AM
Both ComponentType and FC are generic on Props, with default `{}` (empty object). You need to specify a props type, but the only type that will for for all possible entries in MAP is `ComponentType<any>`.

That works and allows TS to discriminate the union via `[variant]`. Great suggestion!
February 20, 2025 at 5:12 AM
I like the MAP approach because it's very extensible. The ComponentPropsMap is redundant and can be computed. Code in alt text.
February 20, 2025 at 5:03 AM
I just did my seasonal maintenance:
February 3, 2025 at 1:38 AM
Mass protests are planned for February 5th. Every state capital at noon local.

www.reddit.com/r/50501/

#uspol #50501
February 2, 2025 at 4:55 AM
Seen in Napa:
Abolish PG&E

No argument from me. I hope the 21st Century sees a massive decentralization of power (literally and figuratively).
January 22, 2025 at 1:51 AM
This is such a nice UI element. @aljazeera.com has an "In case you're just joining us" element at the top of (some) stories. As a reader, it so easy to decide whether to read that or skip it. The information is important context for the story.

I'm going to use this pattern.
December 7, 2024 at 10:21 PM