Fade on Nostr: I certainly CAN do this as a bunch of if/else statements, but I thought I had done ...
I certainly CAN do this as a bunch of if/else statements, but I thought I had done something clever by pre-filling an array with the words I wanted to use for each number, and then calling them up by number in the right place by just asking for the right position in the array. It's working for the household adjective! But not here! Hm.
Published at
2024-04-25 20:38:06Event JSON
{
"id": "1afa13f97e3ab84d726cf389e6883345338967c2debe76bad1c2819510e789ae",
"pubkey": "5a55aa8185061c0319c32590af3cf07e3b0e1b99f8374cf5dd9087e02f60d52f",
"created_at": 1714077486,
"kind": 1,
"tags": [
[
"e",
"cafdad268ca05d5b23e18b3a1127401739d9d04b83d209b9303b717e200e6983",
"wss://relay.mostr.pub",
"reply"
],
[
"content-warning",
"Harvest Moon, but historically bleak with authentic mortality rates"
],
[
"proxy",
"https://zirk.us/users/fade/statuses/112333782147225902",
"activitypub"
]
],
"content": "I certainly CAN do this as a bunch of if/else statements, but I thought I had done something clever by pre-filling an array with the words I wanted to use for each number, and then calling them up by number in the right place by just asking for the right position in the array. It's working for the household adjective! But not here! Hm.",
"sig": "ee4f0a1de5a85d58ebc577f21dbd9ee5d36db2aa5f223917f1abbc077043bd3fd725a28e5b5347258553ed6fa700630fb35acf1fb69823b4e54a782068ea18c3"
}