mleku on Nostr: an example of the retardation of #nostr kinds, instead of using industry standard ...
an example of the retardation of #nostr kinds, instead of using industry standard #mimetypes
i'm writing a full text index, and i've made a decent filter that ignores symbols and URLs and suchlike
so, actually, which event kinds even have content fields that you even want to search? textnote kind 1 and articles? there will be more, thanks to the awesome folk at
GitCitadel (npub1s3h…75wz) so i will have to update the kind whitelist in the future to cover their cases, but just imagine... what if i could just filter on a mimetype prefix of "text"
omg! what a revolution!
to not have to constantly scan through hundreds of bullshits and their format definitions to figure out if they might contain relevant content to your search engine's hunger for actual fucking text
nah, what a stupid idea. only been in use for 20 years it's surely not stable at this point
*cough*
Published at
2025-05-12 19:30:54Event JSON
{
"id": "368e120636e78e69c562939858ed0f27acb46034c56a11c893e9f71ff94c336c",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1747078254,
"kind": 1,
"tags": [
[
"t",
"nostr"
],
[
"t",
"mimetypes"
],
[
"p",
"846ebf79a0a8813274ec9727490621ad423f16a3e474d7fd66e6a98bfe4e39a4"
]
],
"content": "an example of the retardation of #nostr kinds, instead of using industry standard #mimetypes\n\ni'm writing a full text index, and i've made a decent filter that ignores symbols and URLs and suchlike\n\nso, actually, which event kinds even have content fields that you even want to search? textnote kind 1 and articles? there will be more, thanks to the awesome folk at nostr:npub1s3ht77dq4zqnya8vjun5jp3p44pr794ru36d0ltxu65chljw8xjqd975wz so i will have to update the kind whitelist in the future to cover their cases, but just imagine... what if i could just filter on a mimetype prefix of \"text\"\n\nomg! what a revolution!\n\nto not have to constantly scan through hundreds of bullshits and their format definitions to figure out if they might contain relevant content to your search engine's hunger for actual fucking text\n\nnah, what a stupid idea. only been in use for 20 years it's surely not stable at this point\n\n*cough*",
"sig": "962df114067b1f93423e6ec86987a1df4d6ad8ffd0c5bf5d76a9d17b35c4c123be33d34ada03cfb1572bef3b8a24fd7d4f42c6f85085e8bd5a93b7c2378f512a"
}