Email or username:

Password:

Forgot your password?
482 posts total
Gregory

After countless hours of debugging, #Smithereen now finally supports linked data signatures!

#ActivityPub #mastodev

Gregory

I'm surprised the macOS dictionary actually knows what RDF is!

Gregory

Done with the non-trivial parts... I HOPE

Gregory

I made my first unit tests today. I'll have to support the parts of JSON-LD spec I thought I didn't need because, well, I might end up needing them to verify LD-signatures.

#smithereen #activitypub #mastodev

Gregory

I did it!

The JSON-LD algorithm spec was clearly written with something dynamically typed like JavaScript in mind. Implementing that in Java is pain in the ass and takes extreme amounts of instanceof statements to get right.

But at least I now support those "reverse" properties no one's ever gonna use...

#smithereen

Gregory

Replying to something now adds a mention of both the author of the original post and of the reply you're replying to – so both those people get notifications. If you're replying to a reply, that second mention is actually visible.

(side note: there are two kinds of mentions in AP, the one you put into the "tag" field which triggers notifications on Mastodon, and the one you put into the post content as a link that users can click on.)

#Smithereen #mastodev #activitypub

Gregory

Seems like Mastodon only notifies you about a reply if the reply contains a mention. Addressing (to/cc) doesn't matter here AT ALL. So I guess I have to support mentions, no way around that ¯\_(ツ)_/¯

#smithereen #activitypub #mastodev

Gregory

Now, there's a good question whether the mention has to actually be there in the post content or putting one in "tags" is going to be enough.

Sushubh

@grishka I actually like this. I can leave a comment or a hashtag for later reference to sort of bookmark without pinging the people in thread.

Gregory

@judeswae this doesn't open for me for some reason, and the console shows a 403 while it's calling its API. Tried both with and without a VPN, from different browsers too. I surely can't be the only one?

Gregory

@Gargron this is most certainly Greek even tough кафе is a valid Russian word that means cafe

Gregory

@tjhorner @grishka I haven't implemented replies there yet :D

Gregory

@lightone I'll copy as much as makes sense, except there will never be the ability to post as a community.

Also recently learned that the way friend requests work in VK is confusing to those who never used it... Or I'm just bad at explaining things.

Gregory

@lightone @strypey also Smithereen which I'm making. VKontakte-like social network written in Java (probably the first ever #ActivityPub implementation in Java) with friends and walls and photos and groups... Of which currently only friends and walls are implemented. Not quite ready enough and so not published anywhere yet, but I'm looking forward to it.

Gregory

@Gargron Super Mario Odyssey is beyond amazing.

Gregory

@garfiald @jojo jokes on them, I'll publish my ActivityPub implementation under The Unlicense. Can't acquire "intellectual rights" to something that's public domain.

Gregory

@acka47 as far as I've seen in related github issues, this wasn't quite a "test suite". Rather, it was more of a form that you fill in about your AP implementation.

Gregory

Today on "American companies keep trying to eradicate sex from the internet".

Gregory

What happens if I link another toot in my toot? Will it display nicely?

https://mastodon.social/@Gargron/103036010098751428

Go Up