No, please ask. The answer is that it's possible, but only using advanced mode. Try this:

```

["union",["author","97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"],["tag","#t","dungeonsynth"]]

```

Obviously substitute my pubkey for the pubkeys you want to filter by.

Reply to this note

Please Login to reply.

Discussion

what is the logic of the # prefixes on tags exactly i still don't get the point and my code just strips them and considers them equal, am i doing this wrong?

It's just in imitation of `filters`. I should probably not have used them, but it sort of doesn't matter

yeah, that's why i wrote code to just strip them off, it seemed obvious to me that this was some kind of lunacy

Strip them off from what?

hash plus one letter = one letter, ignore the hash

also yes, filters are funny because they don't have a negation

Just as a non-coder I found it slightly confusing if I was adding ANOTHER filter (of global) or if it was applying a filter to the first filtering. I'm not sure if I'm explaining this well, hope you sort of get what I meam.

But yeah without advanced mode in my example I was having posts from two npubs which posted with the hashtag, when what I wanted was posts from two npubs and separately also the hashtag from whoever used it.

But all good now. Thanks again

Yeah, another way we could do it would be to combine filters with "and" or "or" but it's inherently a confusing problem. Hopefully as people build cool algorithms other non-technical people can just bookmark and use them without having to DIY

ah, that is an interesting idea using logic operators on multiple filters but it's a lot more data intensive than for example allowing a `!` meaning "exclude"

The feeds spec already supports set operators, it's just not built into the ui

well i would expect as a reasonable database dev you get the problem of no negations but maybe you should have been more vocal?

Oh, I do. The `difference` operator is very wasteful. But I think it's worth having the expressivity if some bulky service wants to implement it. Other implementations can either churn through resources or choose to show an error instead

Yes, I think feed wizardry is sort of like AI prompt writing. Hopefully will be some cool stuff happening in feeds as it grows. Feeds almost needs a proper dedicated page of it's own with recommendations, ability to like (and zap) them.

I was wondering if I'm you've checked out the Bluesky feeds management section. I know Bluesky is a dirty word here lol, but their feeds section is very good and worth stealing from (imo).

I hadn't, but it looks very similar to what I'm building under "manage feeds":

I'm planning to add the ability for people to bookmark feeds, and then I'll show rank by web of trust and show people who have bookmarked a given feed.

nice!

I've not actually worked out how to add someone else's feed to my menu. 🤔 🫣

It can't be done yet, coming soon hopefully

I was hesitant to say in case I was being thick again lol

Oh wow, yes this works now:)

Magical🥰. I'm definitely too thick to be doing this lolol