@dominik@nona.social
@dominik@nona.social avatar

dominik

@dominik@nona.social

I get my kicks above the waistline, sunshine.

You might want to follow https://lostfocus.de/author/dominik/ as well - I'm slowly moving my social media activities to there

This profile is from a federated server and may be incomplete. Browse more on the original instance.

liztai, to Malaysia
@liztai@hachyderm.io avatar

I used to complain when city council cuts down trees but now I kinda get it lol

https://www.thestar.com.my/news/nation/2024/05/07/tree-falls-in-kl-city-with-cars-trapped-under-it

dominik,
@dominik@nona.social avatar

@liztai oh wow, that's a big one

voxpelli, to random
@voxpelli@mastodon.social avatar

Seems like every larger open source project will have its moment of small-core vs big-core discussions.

Should the core only contain the bare minimum of essential parts and leave the rest to the ecosystem or should the core be plug and play?

One solution I prefer as a solution to both is by creating distributions that bundle the small core with a default set of modules from the ecosystem. Then one can decide to start of with a distribution or with the small core itself.

dominik,
@dominik@nona.social avatar

@voxpelli yeah, I quite like how is doing that. They have a pretty minimal default installation and a "webapp" bundle that adds basically all the bells and whistles (sometimes a bit too many, but it's not hard to remove the unneeded stuff)

pfefferle, (edited ) to fediverse German
@pfefferle@notiz.blog avatar

It’s a Thing!

Das Fediverse tut sich schwer, das volle Potential der verschiedenen Activity-Objects auszunutzen, hauptsächlich aus Angst, sie falsch oder schlecht darzustellen und deshalb teilen die meisten großen Netzwerke leider nur Notes.

Dabei könnte es so einfach sein!

@deadsuperhero schreibt auf seinem Blog, dass er eigentlich gerne Articles veröffentlichen will, aber (hauptsächlich) durch Mastodon zu Note gezwungen wird, wenn er sicher gehen will, dass der Text vollständig dargestellt wird.

Here’s the problem, though: the biggest player in the space, Mastodon, does a poor job of supporting Article. Instead, every post Mastodon uses is instead a Note. From a semantic point of view, it might not seem like there’s a lot of difference between the two: both are effectively texts posts that can contain some formatting markup, both can hold an arbitrary amount of characters, and both can effectively be used to represent a full article.

A Content-Fallback Mechanism for the Fediverse

Ironischerweise zeigt Mastodon eine föderierte Note vollständig an, auch wenn der Text weit über die eigentlich erlaubten 500 Zeichen hinaus geht, bei einem Article wird statt dessen aber nur die kurze summary benutzt.

Seine Idee: Ein Content-Fallback Mechanismus!

Das heißt jede Aktivität, egal von welchem Typ, liefert zusätzlich zu dem spezifischen Objekt, eine standardisierte Note (content-fallback):

<span><code class="hljs language-json">{  <span class="hljs-attr">"@context"</span>:[    <span class="hljs-string">"https://www.w3.org/ns/activitystreams"</span>,    {      <span class="hljs-attr">"Hashtag"</span>:<span class="hljs-string">"as:Hashtag"</span>    }  ],  <span class="hljs-attr">"id"</span>:<span class="hljs-string">"https://wedistribute.org/2024/04/iftas-dsa-guide/"</span>,  <span class="hljs-attr">"type"</span>:<span class="hljs-string">"Article"</span>,  <span class="hljs-attr">"content-fallback"</span>: {    <span class="hljs-attr">"content"</span>:<span class="hljs-string">"IFTAS, the dedicated Trust & Safety organization ..."</span>,    <span class="hljs-attr">"mediaType"</span>:<span class="hljs-string">"text/plain"</span>,    <span class="hljs-attr">"summary"</span>:<span class="hljs-string">""</span>,    <span class="hljs-attr">"tag"</span>:[{      <span class="hljs-attr">"href"</span>:<span class="hljs-string">"https://wedistribute.org/tags/fediverse"</span>,      <span class="hljs-attr">"name"</span>:<span class="hljs-string">"#fediverse"</span>,      <span class="hljs-attr">"type"</span>:<span class="hljs-string">"Hashtag"</span>    }],    <span class="hljs-attr">"type"</span>:<span class="hljs-string">"Note"</span>,    <span class="hljs-attr">"updated"</span>:<span class="hljs-string">"2024-04-11T20:55:29Z"</span>  }}</code></span><small class="shcb-language" id="shcb-language-1"><span class="shcb-language__label">Code-Sprache:</span> <span class="shcb-language__name">JSON / JSON mit Kommentaren</span> <span class="shcb-language__paren">(</span><span class="shcb-language__slug">json</span><span class="shcb-language__paren">)</span></small>

Ich verstehe das Problem und finde die Idee generell nicht schlecht, aber eigentlich bietet ActivityPub alles Nötige schon von Haus aus! ActivityPub oder besser ActivityStreams ist so aufgebaut, dass alle Objekte von einem Art Base-Object abgeleitet werden. Das heißt Article, Note, Event oder Place, haben ein gleiches Minimal-Set an Attributen:

  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attachment">attachment</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attributedto">attributedTo</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-audience">audience</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content">content</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-context">context</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name">name</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-icon">icon</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-image">image</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto">inReplyTo</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-published">published</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-replies">replies</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary">summary</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag">tag</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-updated">updated</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-url">url</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-to">to</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-bto">bto</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-cc">cc</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-bcc">bcc</a>
  • <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mediatype">mediaType</a>
  • …und mehr

Und auch wenn beispielsweise Place oder Event einige spezifische Eigenschaften haben, die nicht jede Plattform „kennt“ und „versteht“, sollte es immer möglich sein, die Beschreibung (content oder summary) und den Titel (name) anzuzeigen.

Das Prinzip ist ähnlich wie, wenn nicht sogar inspiriert durch, schema.org/Thing. Auch hier basieren alle Objekte letztendlich auf einem Thing und trotz der wesentlich größeren Anzahl1 an Objekten und Attributen, können Suchmaschinen sich immer sicher sein, dass es zumindest einen name, eine description und eine url zum Anzeigen gibt.

Bevor wir über also über ein content-fallback nachdenken, sollten wir (meiner Meinung nach) erst einmal dafür sorgen, dass die vorhanden Möglichkeiten richtig genutzt werden.

  1. The vocabulary currently consists of 806 Types, 1474 Properties 14 Datatypes, 90 Enumerations and 480 Enumeration members. – https://schema.org/docs/schemas.html ↩︎
dominik,
@dominik@nona.social avatar

@pfefferle auch spannend: ich bekomme alle deine Antworten in den Stream gespült, aber nicht, worauf du antwortest.

hotdogsladies, (edited ) to random
@hotdogsladies@mastodon.social avatar

James Burke (1977)

Incredible.

https://www.youtube.com/watch?v=cCJh5D0FCZk

dominik,
@dominik@nona.social avatar

@hotdogsladies this one looked fine on my end. But the whole "Before you continue to YouTube" preview shenanigans on some links are really a sight to behold.

hotdogsladies, to random
@hotdogsladies@mastodon.social avatar

I have a very strong thought about Survivor.

If you don’t know how to swim and haven’t MASTERED making a fire, you should not be on Survivor.

This has been a very strong thought I have about Survivor.

dominik,
@dominik@nona.social avatar

@hotdogsladies @TSindelar you did! I re-listened to it the other day and it was as funny as I remembered

https://overcast.fm/+s1fCbL50E

lime360, to php Russian
@lime360@mstdn.social avatar

deleted_by_author

  • Loading...
  • dominik,
    @dominik@nona.social avatar

    @lime360 have you seen this? https://gitlab.com/edent/activitypub-single-php-file It's a good starting place to see how things work

    Edent, to wordpress
    @Edent@mastodon.social avatar

    #WordPress nerds - I've a tricky problem that I can't find the answer to.

    I want to patch a single PHP file inside a 3rd party plugin.
    I can overwrite the file, and my new code works.
    But when the plugin is updated, the original file replaces my patched version.

    I've tried changing the permissions of the file to read-only, but that doesn't work.

    Is there any sensible way to make my changes permanent?

    dominik,
    @dominik@nona.social avatar

    @Edent if there is, I didn't find it, yet. I've tried with automatic patching before, that went about as well as expected. So far the best way I found was to upstream the patch and hope that the maintainer accepts it.

    Edent, to random
    @Edent@mastodon.social avatar

    Once again doing battle with http signatures.

    They work when I POST, but fail to be validated when I GET.

    I'm sure there's a simple explanation...

    dominik,
    @dominik@nona.social avatar

    @Edent webfinger has to be application/jrd+json and all the other json replies have to be application/activity+json

    jpmens, to random German
    @jpmens@mastodon.social avatar

    deleted_by_author

  • Loading...
  • dominik,
    @dominik@nona.social avatar

    @jpmens bist du nicht ein kleines bisschen neugierig, ob das vielleicht doch ganz gut schmeckt? 😄

    liztai, to random
    @liztai@hachyderm.io avatar

    Literally lost my shit today at work cos postgres and AWS wasn't cooperating and I have only 3 more days to migrate four instances, and when I raised a ticket, support just sent me a bloody FAQ page which I had already scrutinised. AAAAND despite repeated exhortations to them to, I don't know, give me SUPPORT, they have ignored me for 2 days.

    Yeah I'm glad I didn't become a software engineer.

    dominik,
    @dominik@nona.social avatar

    @liztai I'm glad that I'm at a point in my life where I can delegate this stuff to other people. It's so terrible, especially those big cloud providers like AWS, Google and Microsoft.

    dominik, to Germany
    @dominik@nona.social avatar

    If you wonder why travel is so expensive in Germany this summer: there are people who kick around some balls and apparently that's going to be a big thing.

    dominik, to random German
    @dominik@nona.social avatar

    @pfefferle ich weiß nicht, ob es einen Bug-Report wert ist (ich konnte es auch nicht nachstellen) oder ob es vielleicht "einfach" ein seltsamer Nebeneffekt eines anderes Plugins war, aber zu dem Post hier: https://lostfocus.de/2024/02/14/232382/ hat das Plugin keinen create rausgeschickt sondern nur ein update

    dominik, to Pixelfed
    @dominik@nona.social avatar

    Does anyone know what kind of headers one might need to send when requesting a url to get the data? I know I'm doing something wrong but no matter what, I'm always getting HTML.

    dominik,
    @dominik@nona.social avatar

    @voxpelli yeah, it's a bit weird. Same accept headers with curl and a REST Firefox plugin get different results. I guess it somehow listens to something else in the request. Just curl works fine.

    dominik,
    @dominik@nona.social avatar

    @voxpelli interesting - I don't see that in the HTML of my photo here: https://pixelfed.social/i/web/post/607151273451229256

    jpmens, to random
    @jpmens@mastodon.social avatar

    deleted_by_author

  • Loading...
  • dominik,
    @dominik@nona.social avatar

    @jpmens @freyfogle did you count the fingers?

    jpmens, to random
    @jpmens@mastodon.social avatar

    deleted_by_author

  • Loading...
  • dominik,
    @dominik@nona.social avatar

    @jpmens it was the peak of everything

    Edent, to foss
    @Edent@mastodon.social avatar

    Is there a version of FourSquare / Swarm for the Fediverse?

    I want to check in to a specific location and share that online. Not looking for badges and mayors etc.

    Just a geotagged post saying "I am here".

    dominik,
    @dominik@nona.social avatar

    @Edent is the location format some kind of standard?

    dominik,
    @dominik@nona.social avatar

    @Edent thanks!

    liztai, to random
    @liztai@hachyderm.io avatar

    Sorry guys just tired because the Substack Platformer drama made me pretty mad for reasons. 😑 I know China has problems, but imagine if each time someone talks about American shows or just mentions America, someone comes by and tells you that America is bad and that it's citizens are brainwashed. I am sure you won't like it either. Just fed up lah and want these folks with a grudge against China and Chinese folks for reasons to leave me alone 🤣

    dominik,
    @dominik@nona.social avatar

    @liztai let's be honest, America and it's citizens sometimes seem like that from the outside, though, lol

    dominik,
    @dominik@nona.social avatar

    @liztai yeah, I was being overly silly 😂

    liztai, (edited ) to tech
    @liztai@hachyderm.io avatar

    How to scare anyone in

    dominik,
    @dominik@nona.social avatar

    @liztai how dare you 😂

    liztai, to random
    @liztai@hachyderm.io avatar

    Uh. I may have spent close to RM800 on clothes. ☠️ Oh well, I only do this once a year. Tries to feel less guilty

    dominik,
    @dominik@nona.social avatar

    @liztai if the stuff will last for a while, this is all good. No need to feel guilty.

    dominik, to random
    @dominik@nona.social avatar

    git reset --hard HEAD

    😣

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • everett
  • magazineikmin
  • Durango
  • thenastyranch
  • Youngstown
  • slotface
  • hgfsjryuu7
  • osvaldo12
  • rosin
  • kavyap
  • mdbf
  • PowerRangers
  • DreamBathrooms
  • modclub
  • khanakhh
  • InstantRegret
  • tacticalgear
  • vwfavf
  • ethstaker
  • ngwrru68w68
  • normalnudes
  • tester
  • GTA5RPClips
  • cubers
  • cisconetworking
  • Leos
  • provamag3
  • All magazines