Email or username:

Password:

Forgot your password?
572 posts total
Gregory

Everyone's posting their Spotify wrapped, while Spotify has somehow lost my account without warning in the process of leaving Russia last year ¯\_(ツ)_/¯

Distante

@grishka Why did you leave Russia? Did something happen? Is there anything we can do to help you from Ukraine?

Gregory

That feeling when Idea (and Android Studio) drive you nuts so much you end up writing a plugin that pokes into private fields.

The problem: the ranking of autocomplete options in IntelliJ IDEs is non-deterministic regardless of your settings. It keeps some statistics on how much you use which symbols and ranks your completions based on that. This means that the same sequence of keystrokes, in the same context, sometimes produces different results.

I've had real bugs because of this shit.

Gregory

If anyone is interested in such a plugin, I may add a proper settings UI and publish it.

There's another CompletionContributor in it that removes the units suggestions in Android XML layouts (like when you type `123` in an attribute, it would "helpfully" pop up with `123dp`, `123px`, `123mm`, etc).

Tagir Valeev

@grishka have you tried reporting the problem to JetBrains issue tracker? This is probably more robust way than hacking into the private fields, which may suddenly stop working or crash the completion completely because IntelliJ authors decide to rename or repurpose the fields.

Gregory

Wrote a tutorial article in Russian on building a bare minimum #ActivityPub server from scratch:
habr.com/ru/articles/702724/

Evv1L :blobcatlaptop:

@grishka
> Что должен уметь сервер для участия в федивёрсе?

8. БЛОБКАТЫ!

/j

BiFiK

Почитал статью от @grishka , крайне всё понятно расписал. Не думал, что именно так обмениваются ноды между собой.

Есть что использовать для своих проектов, как рабочих, так и личных. Очень было полезно, спасибо больше.

Gregory

#Smithereen 0.6 is out! 🎉

And with it, the complete federation feature parity with Mastodon. New features include:
- Direct messages
- Privacy settings
- Followers-only posts (from other servers)

#mastodev #activitypub

Gregory

Overall, how satisfied are you with these random popups in various Google products asking you how satisfied you are?

Kornel

@grishka Google Chat (the clunky slow slack clone themed like an iMessage rip-off) doesn't even dare to show these.

Evv1L :blobcatlaptop:

@grishka о, я даже знаю где это)

Edit: *заметил табличку*
А, ну да..

Gregory

English is so strange. Take the word "vegetable". The -able suffix means something that can be "vegeted", right? But what does it mean to veget something?

Gregory

Are there any ActivityPub servers that implement and federate presence statuses for actors (online/offline)?

#ActivityPub #mastodev

Gregory

I'm missing out on what? Not being annoyed by these update reminders?

Ilya :twittercheck:

@grishka упускаешь возможность получать еще больше уведомлений о необходимости обновиться

Gregory

You know your rebrand is stupid when even those who did decide to embrace it still feel the need to clarify that it was "formerly known as Twitter" because the readers would otherwise be confused.

Gregory

Working on private messages in #Smithereen and I'm wondering how much sense CWs make for them. From Mastodon's PoV, "private messages" are just posts. They thus share all the same properties. In my implementation, however, messages are distinct from posts, both in the UI and in the database. In my UI I don't have anywhere to display that content warning as a spoiler without it being super awkward. I can use it as a subject line however 🤔

Any thoughts?

#activitypub #mastodev

Mike Macgirvin
Be advised there may or may not be anything deserving of a warning in the summary field. It's purely a Mastodon convention.

The de facto usage definition comes from the early work on RSS by news organisations in the mid 90s. What they wanted was

title
summary (brief description)
body

Most syndication/federation protocols were built around that model. ActivityStreams maps these to name, summary, and content. Content warnings really belong elsewhere, but this wasn't offered in the AS spec. This might be a good subject for an FEP, so that there's something well-defined to use instead of summary. I for one would adopt it in a heartbeat to get our summary field back.  

My advice to @Gregory would be to ignore summary completely on DMs if they don't fit your UX design, but hide images if sensitive is set. People can lose their jobs (or got to jail) over "indecent" images popping up without warning.
Be advised there may or may not be anything deserving of a warning in the summary field. It's purely a Mastodon convention.

The de facto usage definition comes from the early work on RSS by news organisations in the mid 90s. What they wanted was
Gregory

Are there any #ActivityPub servers that implement read receipts for direct messages, or is this something I'll have to do myself?

:PUA: Shlee fucked around and

@grishka “DMs don’t exist in the ecosystem” so I think you’d need to do it yourself. Talk with Dansup maybe?

silverpill

@grishka The Read activity is defined in ActivityStreams vocabulary: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-read. I don't know if anyone uses it but a similar View activity is used by PeerTube: https://docs.joinpeertube.org/api/activitypub#view

Gregory

The idea behind this query is to find out how many friends' friends with a certain domain there are, for the purpose of enforcing privacy settings when you only know the domain of the server that is making a request for something.

Go Up