mleku @mleku - 12h
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 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" 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*
mleku @mleku - 11h
nope, nostr isn't gonna move into the nineties and add mimetype tags that's why it's fortunate that i am an esteemed data architecture expert for the best nostr project and fortunate that they are all old school people who understand that what works for WWW should be valid and prevail on a much newer protocol
yeah, my recommendation is an M tag that uses standard mimetypes for now, textnote and article are pretty much plaintext and markdown for now, but they should have always had a mimetype tag attached to them having to write code that analyses content fields to divine their type is the epitome of retarded protocol architecture
Silberengel @Silberengel - 18m
WHY NOT JUST USE M TAGS?!!? WARUM IMMER EXTRA WURST? Es ist zum kotzen.
Silberengel @Silberengel - 17m
We are. MIME types in the `m` tags and Nostr-specific classification in the `M` tags.
Silberengel @Silberengel - 14m
For indexing.
Silberengel @Silberengel - 13m
You learn a heck of a lot about Nostr, if you hang out with backend devs.
Silberengel @Silberengel - 10m
Examples: https://njump.me/naddr1qvzqqqr4tqpzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqydhwumn8ghj7argv43kjarpv3jkctnwdaehgu339e3k7mgprpmhxue69uhhyetvv9ujumn0wdmksetjv5hxxmmdqq4xzetndac8xttxv93xcetn946x2um5ve5kcefdvfujmsuxwdhhqttk946x2um5v3shgcgm3ujq5 https://njump.me/naddr1qpzkzetndac8xttxv93xcetn946x2um5ve5kcefdw35x2tthdakxvtt5w4exuety94eksetsdpjhyepdxgkky7fdcwr8xmms94mz6ar9wd6xgct5vyq3kamnwvaz7tm5dpjkx6t5v9jx2mpwdehhxarjxyhxxmmdqgs06gywary09qmcp2249ztwfq3ue8wxhl2yyp3c39thzp55plvj0sgrqsqqqa2e5puf3m
Silberengel @Silberengel - 7m
I'm using `m` for MIME types and `M` for usage/category