Global Feed Post Login
Replying to Avatar jb55

thinking about adding a "filter" to nostrdb's query interface. basic idea is that you can provide additional filtering or reducing logic in any nostr query.

I like this better than setting a large limit and filtering after. you can just let #nostrdb do it while it scans the index.

I want to use this for ignoring thread replies, which is useful for building ai algos that try to summarize the past day or specific days, etc.

In the future we could support a jit-compiled jq-style language and use that in the callback:

{"kinds": [1], "filter": "not tag('e')[2] == 'reply'"}

#asknostr if you are a nostr dev, would you use this? what would you use it for?

73
unknown 9mo ago

nostr:nprofile1qqsr9cvzwc652r4m83d86ykplrnm9dg5gwdvzzn8ameanlvut35wy3gpz3mhxue69uhhyetvv9ujuerpd46hxtnfduq3qamnwvaz7tmwdaehgu3wwa5kuegq5rs82 quick question just came back from a hiatus and now my pro pic and banner are gone along with my profile setup, what gives?

Reply to this note

Please Login to reply.

Discussion

Avatar
jb55 9mo ago

not sure, something set your profile to unknown

73
unknown 9mo ago

🧐

Thread collapsed
Thread collapsed
Avatar
deeznuts 9mo ago

LOL. This guy!

nostr:nevent1qqsv38kcvd5a7y6nxcfxufjvu7qjzrgufnrsadxpm638ald0dd909aspzemhxw309ucnjv3wxymrst338qhrww3hxumnwkzwjh2

Thread collapsed
Avatar
Jay 9mo ago

Long time no see 🤙

Thread collapsed