Email or username:

Password:

Forgot your password?
572 posts total
Gregory

Pokedex but for exceptions. Gotta catch 'em all!

marius

@grishka @activitypub

I've started formalizing what I'm using for filtering on #fedbox into a FEP[1].

> I’d like to discuss an easy way to query a collection, for example, using a well-defined query parameter or an HTTP header. You’d send a request to the collection ID URL, specifying the ID of the object you’re checking for.

In my implementation you use iri={url} of the item you're searching. If it's there you receive a collection with just it as an element.

[1] git.sr.ht/~mariusor/Fediverse-

@grishka @activitypub

I've started formalizing what I'm using for filtering on #fedbox into a FEP[1].

> I’d like to discuss an easy way to query a collection, for example, using a well-defined query parameter or an HTTP header. You’d send a request to the collection ID URL, specifying the ID of the object you’re checking for.

Gregory

It should be illegal to hardcode public keys, domains and IP addresses into devices.

Gregory

Another internal #Smithereen update. I hacked my web framework to have the ability to stream my responses as they're rendered — this results in a slight performance improvement, especially for HTML as rendering templates isn't exactly instant.

#activitypub #mastodev

Gregory

Tweaking the way comments are displayed in the feed and in profiles in #Smithereen. 3 last top-level comments are shown, you can click the bar above them to load more, and you can load individual threads. There are also these subtle dots on hover to help you determine the depth of each comment.

(not fully done yet)
(and all these changes only affect the desktop layout)

#activitypub #mastodev

Gregory

I'm getting better at making CSS cascade the exact way I need. Also I've finally gotten PostCSS to optimize my styles exactly like I want.

Still, as someone who has mostly made mobile UIs (Android) up until starting this project, desktop ones have an overwhelming amount of detail! Screens are larger, layouts are denser, and there's often MUCH more information and controls displayed at once. Oh and mice are capable of hovering over things.

Gregory

An internal #Smithereen update: I replaced the org.json JSON library with gson. It allows for somewhat cleaner code with its JsonElement base class for everything, supports serializing/deserializing Java objects directly (will come in especially handy for when I'll be making the API!), and preserves a sane order of keys in objects. Yes, that last part is very important because it hurt to read the mess that came out of org.json.

#activitypub #mastodev

Gregory

Oh and I also made a pull request to gson: github.com/google/gson/pull/19

Everyone was asking for this feature. Since 2008. SINCE 2008!!! But it was never added.

marius

@grishka does it allow for the jsonld ActivityPub idiosyncrasies? As in same property can be at times an object, a URL, a list of URLs or maybe even a list of objects. :D

Gregory

The first iMac had two headphone jacks, so modern iPhones having none are merely compensating for that.

Gregory

And now I think I'm done and I can say that these features are enough for the first beta release. Everyone is welcome to host their own #Smithereen 0.1 instance, try it out, and report any issues.

Get it here: github.com/grishka/Smithereen

#activitypub #mastodev

Show previous comments
FoilCandy

@grishka
Bravo! This looks like the beginning of something amazing.

LPS

@grishka
Is there any possibility this could be packaged as a yunohost app? That would make it accessible to a lot more people. yunohost.org/en/packaging_apps

Gregory

#Smithereen update: Mastodon's "PropertyValue" custom profile fields are now displayed in profiles.

#activitypub #mastodev

Gregory

Today's #Smithereen updates:

- Account bans. Very simple feature. An admin or a moderator can ban any local account and set a message that will be displayed to the user.

- The JS and CSS files are now generated as part of the main maven build so I no longer have to commit a bunch of minified CSS every time I add a style.

#activitypub #mastodev

Gregory

#Smithereen update.

There's now an "about this instance" page like the one Mastodon has.

There's also new fields in the admin panel, for a short description and for policy/rules.

#activitypub

Gregory

And another one. Implemented /api/v1/instance and /api/v1/instance/peers endpoints that fediverse crawlers use.

(to be clear: there's currently no client API in Smithereen, and when there'll be one, it won't be compatible with Mastodon clients)

Gregory

The only kind of platforms this world might need more of is the ones at which trains arrive.

Gregory

But what do you do if you want a map with more than 10 elements 🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔

Gregory

The interesting thing about copying old VK layout is that there are some parts available as actual HTML+CSS you can poke into with devtools, like web.archive.org/web/2011112807, but the most interesting pages are only accessible with an account. So I have to rely on screenshots for those. Sometimes on very compressed (jpug af? is this a word?) screenshots.

Anyway, here's a mostly pixel-perfect copy. I need to check the layout inside posts still, and the form is certainly incorrect.

The interesting thing about copying old VK layout is that there are some parts available as actual HTML+CSS you can poke into with devtools, like web.archive.org/web/2011112807, but the most interesting pages are only accessible with an account. So I have to rely on screenshots for those. Sometimes on very compressed (jpug af? is this a word?) screenshots.

Gregory

The form. I don't remember what it was like in the before-microblog era, but after-microblog it was right below that block header, like this. There was also an intermediate form where it said "X posts" next to "Wall" in the header itself.

And it's also supposed to be collapsible. This is a neat feature.

Blue

@grishka@mastodon.social maaan! That really looks alike now! Do you think #smithereen is already ready for some daily fediverse activities?

Gregory

Meanwhile Twitter's Bluesky is still obsessed with impractical P2P protocols and end-to-end encryption. It's as if they're trying to reinvent the wheel, but the result turns out square, and they assume it'd somehow be better. Imagine them spending all this time implementing #ActivityPub into Twitter instead.

@activitypub

Show previous comments
peergos

@grishka @activitypub And to be clear, we've been working on this since 2013, long before bluesky (or activity pub!) was a thing. It takes a long time to get privacy and security right, especially in a P2P setting.

Go Up