Event JSON
{
"id": "ebaead75aef6bc8fc08d4e3984e94a3b907aae6e789a72ec8f33473be7943be4",
"pubkey": "ed68cd348f9ce562aac004bec8f84c0f833711ab3689b75e77bc2419774bc775",
"created_at": 1742835312,
"kind": 1,
"tags": [
[
"p",
"3f5bfae82545ae0ea5e031a7219bcad625866157d86cd5c809545fcf22491948",
"wss://relay.mostr.pub"
],
[
"p",
"da2ffb9942d327b65ee66f152d69a427f114a4a42f69a4d9b88ab9cab96339b9",
"wss://relay.mostr.pub"
],
[
"e",
"6cefec62e44c94bf79dce0e695c9dea5ab3989c1637d5be9e32448be5843fc7b",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://functional.cafe/users/hungryjoe/statuses/114218455046876419",
"activitypub"
]
],
"content": "nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq8adl46p9gkhqaf0qxxnjrx726cjcvc2hmpkdtjqf230u7gjfr9yqjfsu6u I ran into this while working on this thing:\nhttps://github.com/joe-warren/opencascade-hs\n\nMy experience, is either you use Foreign.ForeignPtr in your FFI code, which means you miss out on the SomeArguments -\u003e Ptr CDouble -\u003e IO () type function:\nhttps://hackage.haskell.org/package/base-4.20.0.1/docs/Foreign-ForeignPtr.html\n\nOr, you pass Foreign.Ptr in your FFI code, you get the \"low level function in terms of IO\", but you have to do the dirty work of writing a pure abstraction using unsafePerformIO and System.Mem.Weak (addFinalizer)\n\nI did the latter, but I'm not sure I'd recommend it",
"sig": "e6e917beb5eec3f60359b27324bb005bce46ded796a7597e3b464e4a773d122677de4dee24c72ba19f4c24c8f7e0cd05098ba5e4d1a2b31034130d10eb1adf49"
}