# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 34
# self = https://watcher.sour.is/conv/e6ah5mq
Hey @laz, here I'm testing my hypothesis I had on IRC that mentions in yarnd operate on just the nick, but not the URL.
@laz @lyse Pretty sure they match on URI 😁
@laz @lyse Pretty sure they match on URI 😁
@prologic @lyse Your (lyse) message shows up in Timeline (as I'm following you) but not in Mentions. prologic and eldersnake @'s do show in Mentions.
@laz Hmmm. How about a real mention with both nick and URL matching?
@prologic @laz And now with HTTPS rather than HTTP.
@lyse Nope again. Not showing in Mentions. Do my twts show in your Mentions?
@lyse @prologic Oh yes! This one is showing :)
@prologic @laz Alright, great. The protocol was the issue then. So my theory was wrong, very nice. :-)
Awwesome πŸ‘ŒπŸ˜
Awwesome πŸ‘ŒπŸ˜
@lyse @prologic I think a possibility is that when I had thought my problem was solved (pod name), some 'followed' me while the BASE_URL was still http and now that it's https I am still being followed by a user but I am not being recognised for Mentions. Which lyse has now resolved on his end
@lyse @laz Yup πŸ‘Œ
@lyse @laz Yup πŸ‘Œ
So I don't seem to have anything in Mentions. Is there something I need to be doing?
@jlj Don’t think so but I almost never use it myself πŸ€¦β€β™‚οΈ
@jlj Don’t think so but I almost never use it myself πŸ€¦β€β™‚οΈ
@jlj Does this twt show up in your Mentions? I understand anything you are tagged/mentioned in should show there.\n\nAlso check your list of 'Following' and see if my user is pointing to http or https.\nIt should be https://tt.vltra.plus/user/laz/twtxt.txt
Yeah @laz is right, I _wonder_ whether some of the "Following" data has gotten messed up. But I also _think_ @lyse is perhaps right in that we should consider "refreshing" the data every now and again. The trouble is I'm just not sure how often we should nuke the "Following" list per user on a pod? πŸ€” -- Actually as i type this I realize this doesn't make a lot of sense πŸ€¦β€β™‚οΈ The "Mentions" simply parses your Timeline for anything that contains your "identity" which for me is anything that has <prologic https://twtxt.net/user/prologic/twtxt.txt>
Yeah @laz is right, I _wonder_ whether some of the "Following" data has gotten messed up. But I also _think_ @lyse is perhaps right in that we should consider "refreshing" the data every now and again. The trouble is I'm just not sure how often we should nuke the "Following" list per user on a pod? πŸ€” -- Actually as i type this I realize this doesn't make a lot of sense πŸ€¦β€β™‚οΈ The "Mentions" simply parses your Timeline for anything that contains your "identity" which for me is anything that has <prologic https://twtxt.net/user/prologic/twtxt.txt>
@lyse @laz @prologic Hmmmm so I just inspected the code-path for this. internal/handlers.go in the MentionsHandler() which then calls out to the cache.GetMentions() in internal/cache.go. The code looks pretty robust AFAICT but I'd be very curious to see if you guys discover a bug! πŸ€”
@lyse @laz @prologic Hmmmm so I just inspected the code-path for this. internal/handlers.go in the MentionsHandler() which then calls out to the cache.GetMentions() in internal/cache.go. The code looks pretty robust AFAICT but I'd be very curious to see if you guys discover a bug! πŸ€”
@laz Nah, no dice. But, yeah, I confirmed that I'm following both of your accounts properly.
@prologic @laz @lyse Interesting. So, I wonder what my raw timeline looks like then, that that logic isn't matching mentions correctly in my case. πŸ€”
@jlj Ah, that's a shame. Your reply shows up in my Mentions though :)\n\n@https://twtxt.net/user/prologic/twtxt.txt> I'm probably not up to the task of looking at your code, but if it's up to each user having the correct identity recorded in a cache, then it would be nice to have a way to check for any broken links and refresh this.
@laz @lyse @jlj Wonder no more! πŸ€—


* 78751d2 2021-09-27 | Add --json flag to yarnc timeline command for seeing and processing the raw JSON from the API (HEAD -> master, origin/master) [James Mills]
@laz @lyse @jlj Wonder no more! πŸ€—


* 78751d2 2021-09-27 | Add --json flag to yarnc timeline command for seeing and processing the raw JSON from the API (HEAD -> master, origin/master) [James Mills]
@laz @lyse @jlj Wonder no more! πŸ€—\n\n
\n* 78751d2 2021-09-27 | Add --json flag to yarnc timeline command for seeing and processing the raw JSON from the API (HEAD -> master, origin/master) [James Mills]\n
@jlj @laz I agree but first have to understand the problem ☺️ I’m not even sure what’s going on yet πŸ˜₯
@jlj @laz I agree but first have to understand the problem ☺️ I’m not even sure what’s going on yet πŸ˜₯
@jlj @laz Mentions are also working for me hmm πŸ€”
@jlj @laz Mentions are also working for me hmm πŸ€”
@prologic @laz @lyse Ah, nice. OK, I'll grab that update tonight. I don't really use it, but I know @search_social does, or would do, assuming it works for other pod members. So I want to make sure it does! :-)
@prologic @laz @jlj Okay, I had a look at the mentioned source code and it looks absolutely fine to me.