A new #BigBone snapshot is out. I have re-ordered some method parameters in certain calls to improve #Java friendliness. If you get compilation errors, just quickly check the method signature and modify accordingly. Should be no big thing. Also, I got a report about a kotlin-stdlib version issue that should now be fixed.
Details here: https://github.com/andregasser/bigbone/releases/tag/v2.0.0-20230902.213631
#bigbone #java #mastodon #kotlin #library
@tokyo_0 @bocops great news 👍🏻😊 Hey no rush, it is done when it is done. I've stopped counting how man times I've planned to implement something for #BigBone and in the end I was just too tired. My two kids started school and kindergarten, so I was running around the last two weeks 😂 There will be better times! 😊👍🏻
#BigBone is getting support for the markers API, which allows developers to retrieve and update the "last read status" on the home timeline and in the notifications section.
https://github.com/andregasser/bigbone/pull/250
Next snapshot coming soon.
#bigbone #java #kotlin #mastodon #library
@tokyo_0 I didn't have your tool in mind when implementing this - it would in fact be problematic when moving many posts at once, if those posts have duplicate content.
Workarounds would be to use a previous #BigBone snapshot, or post duplicate posts spread apart by more than one hour - both not really practical.
If your tools needs it, this idempotency key could be made optional.
@tokyo_0 I'm afraid this is something I might have caused with one of my latest PRs to #BigBone: https://github.com/andregasser/bigbone/pull/233
Posting a status now sends an idempotency key as described here: https://docs.joinmastodon.org/methods/statuses/#create
This idempotency key is generated by hashing the whole parameter list, which means that trying to post the same status a second time will fail and instead return the first status.
Tonight, when the kids are gone to bed, I'll build a new #BigBone snapshot and start implementing the Markers API.
@andypiper Thanks for adding #BigBone to the list of Java/Kotlin client libraries. Highly appreciated. Noticed it just recently. 😀
The conversations API and the directories API are coming to our Java/Kotlin client library for Mastodon. One PR to be reviewed, then I'll create a new snapshot.
https://github.com/andregasser/bigbone/pull/235
#bigbone #java #kotlin #mastodon
...an SSL certificate of its own, adding to cost and complexity. Under time constraints and given the scale of the task, I set it to one side.
But more instances seem to be fine with low-volume news bots now. And the #BigBone library exists now, too, and I'm familiar with it through my work on #MastodonContentMover. It seems relatively trivial now to write code to post things.
So I'm toying with this again. It's very much on the backburner still, but seeing how people seem to be abandoning...
#mastodoncontentmover #bigbone
@tokyo_0 @pilhuhn @bocops Yes, noticed this too. There is just sooo many things to consider when picking a name. And take it for granted, EVERY time you have a new candidate, there's for sure something you did not consider. Aargh. But Yuki is gone, as the .social domain is already taken. Will add "Check Mastodon hashtag" to my list of things to check for my next candidate
😄
I'll stay with #BigBone until I have a better name at hand.
Also added to the list: "Crowd-checking with Mastodon users"
The new code that splits posts according to the character limit on a target instance works with the latest update of the #BigBone / #Yuki Java library on which #MastodonContentMover depends (thank you @andregasser and @bocops) and is pulling the instance limits correctly from the instance. That was the last major test this update had to pass.
I'll keep testing this version with real data for the next day or two then hopefully release it before the weekend.
#mastodoncontentmover #yuki #bigbone
The new code that splits posts according to the character limit on a target instance works with the latest update of the #BigBone/#Yuki Java library on which #MastodonContentMover depends (thank you @andregasser and @bocops!) and is pulling the instance limits correctly from the instance. That was the last major test this update had to pass.
I'll keep testing this version with real data for the next day or two then hopefully release it before the weekend.
#mastodoncontentmover #bigbone
I seems @bocops and I have found a new name for the current #BigBone project: It's "yuki", that's it. It's Japanese and means "snow". I like the name because it is short, easy to remember. Furthermore, our library originates from the #mastodon4j project, whose author is also japanese.
So far I have not found any negative interpretation of this word.
#bigbone #mastodon4j #yuki #mastodon #java #kotlin
@tokyo_0 That is correct. 422 generally refers to any "unprocessable entity", which might mean different things depending what API endpoint you're posting to. In the context of media attachments, it seems to mean just that, though.
For what it's worth, the #BigBone method has the mime type as an explicit parameter, while the web interface must get that from somewhere else. Any chance that mf.getMimeType() does not return the correct thing in this specific case?
Also, thanks to a new #BigBone snapshot, it is now possible to temporarily filter a hashtag, which will remove all posts containing it from the home timeline for a week.
This could be especially useful for event-style #hashtags that one might want to avoid while the event takes place, like the recent Eurovision Song Contest - or it could be a specific topic that a followed news account likes to post about.