@h Huh, I guess that would work. Is that better than having it just separate out the host data and add it to each actor? It sounds like it would be complex and failure prone, and computationally expensive too. I have to make sure it doesn't match glitch.social when looking at dev.glitch.social, for example. :/
Notices by ☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party), page 16
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 23:46:53 EDT ☭⚑ Comrade Angles ⚑☭
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 23:42:31 EDT ☭⚑ Comrade Angles ⚑☭
@h Yeah but first I need to add the hostname attribute to my data. Right now it only has ActivityPub specified attributes, like preferredName, id, and url. id and url both contain the necessary host information, but it needs to be parsed out of them.
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 23:35:32 EDT ☭⚑ Comrade Angles ⚑☭
@h I'm currently writing the code to pull that data and add it to each actor, but apparently I can't use the URL() class in this context, which is a pain. :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 23:32:07 EDT ☭⚑ Comrade Angles ⚑☭
@h Oh, and yeah, it's using MongoDB. :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 23:31:54 EDT ☭⚑ Comrade Angles ⚑☭
@h Well, I could, except that the collection doesn't have the data for domain at the moment. It has the data for id and url, which contain domain data, but I'd have to process it in order to find that, which is the kind of thing I don't want to have run every time anybody mentions anybody else. :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 23:16:19 EDT ☭⚑ Comrade Angles ⚑☭
@h Well, it's for fediverse accounts. So I have handle and domain. I could just add a domain field to the actor objects, but that would bloat my database a bit more and I'm not sure it's the right way to go about things? :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 23:10:35 EDT ☭⚑ Comrade Angles ⚑☭
@porsupah Precisely. -_-
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 23:07:05 EDT ☭⚑ Comrade Angles ⚑☭
My timeline is covered in jokes about dates and fucking, and I know exactly who to blame. -_-
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 23:04:23 EDT ☭⚑ Comrade Angles ⚑☭
@loki @dr1ft You degenerate. We're decent folk round here! >:[
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 22:57:28 EDT ☭⚑ Comrade Angles ⚑☭
Working on fediverse mentions for Agora, of course. :X
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 22:57:04 EDT ☭⚑ Comrade Angles ⚑☭
Aaargh. I want to check to see if I already have the data for a foreign actor in my database when working off a mention. But I don't store an actors host separately from their id. I guess I can chaqnge my database to include that information? Or is there a better way? :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 22:47:25 EDT ☭⚑ Comrade Angles ⚑☭
@rburns Argh! Yeah, that's the one. Dunno why Github didn't want to show it to me. I even found your gist author page and it wasn't there. :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 18:37:13 EDT ☭⚑ Comrade Angles ⚑☭
@rburns Hey I'm looking for that webfinger test gist you had. Or I think it was you? I can't find it, so I might have the wrong person. :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 18:04:25 EDT ☭⚑ Comrade Angles ⚑☭
@cameronh1403
Ah, gotcha! I'll try all that. XD -
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 18:01:59 EDT ☭⚑ Comrade Angles ⚑☭
@cameronh1403
Samsung Galaxy s5 -
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 17:24:25 EDT ☭⚑ Comrade Angles ⚑☭
Or is that just not possible? :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 17:24:10 EDT ☭⚑ Comrade Angles ⚑☭
Huh, anyone know how to get my phone camera to take pictures of receipts without making them too blurry to read? :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 17:06:08 EDT ☭⚑ Comrade Angles ⚑☭
@pounce Haha whoops, yeah I guess this is kinda lewd. Oh well. XD
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 17:00:06 EDT ☭⚑ Comrade Angles ⚑☭
#nowplaying Black Lily, by Ken Ashcorp
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Tuesday, 24-Jul-2018 15:51:12 EDT ☭⚑ Comrade Angles ⚑☭
@infinity Eh, I actually don't mind my version which is aggressive about parsing collided tags. If @user@instance.com@user gets parsed into two mentions, I think that's alright. :/