Ramsey Nasser on Nostr: getting murdered over here by lua's 1-based indexing wtf do you mean to correctly ...
getting murdered over here by lua's 1-based indexing wtf do you mean to correctly index into a table with modulo i need to do table[((n - 1) % #table) + 1] ??? self inflicted wounds
Published at
2026-01-17 23:47:47 UTCEvent JSON
{
"id": "77f20c8d97acd758f2c9f2759212402058318182a32b2aa8a5ce9b7eca3d93cf",
"pubkey": "f392639a0fd7e3ec19370ddd7521304e49c50c9146d30202b4ced90ba4d76a96",
"created_at": 1768693667,
"kind": 1,
"tags": [
[
"t",
"table"
],
[
"proxy",
"https://merveilles.town/@nasser/115913108176585140",
"web"
],
[
"content-warning",
"lua complain"
],
[
"proxy",
"https://merveilles.town/users/nasser/statuses/115913108176585140",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://merveilles.town/users/nasser/statuses/115913108176585140",
"pink.momostr"
],
[
"-"
]
],
"content": "getting murdered over here by lua's 1-based indexing wtf do you mean to correctly index into a table with modulo i need to do table[((n - 1) % #table) + 1] ??? self inflicted wounds",
"sig": "bbe94f334e8e08f370da9c10a40a5d4ec55674a99c2147bb00c1016d2ab5fdbed2b5318e12439145b08962735a0c34a4693527b3988ce4627f917575ff33a22c"
}