Skip to main content

Marek Bachmann reshared this.


A thought about the #Fediverse and the origin of #Internet


I think that the #Fediverse has the potential to bring (social) #Web back closer to its original vision of its most important inventor, Tim #Berners-Lee:

"There is the idea that society can run without a hierarchical bureaucratic government being involved at every step, if only we can hit on the right set of rules for peer-peer interaction. So where design of the Internet and the Web is a search for set of rules which will allow computers to work together in harmony, so our spiritual and social quest is for a set of rules which allow people to work together in harmony." (source)

And from my point of view, the term "hierarchical bureaucratic government" also holds for "#centralized #commercial #social #networks".
Well- from where i'm typing right now. The Fediverse solves a ton of problems. it really does 'Just Work'.


Friendica Support reshared this.


Appeareance of images attached to a post


Hello @Friendica Developers @Friendica Support @https://friendica-dev.mbbit.de/profile/friendicadev Hello dear community, I would like to discuss with you about the appearance of posts with multiple images on #Friedica. Here is my opinion:
The current way multiple #images are displayed is awful:



Yeah, you saw it by my embedded examples your self. What bothers me most is:

  • It just looks messy (especially when there is a mix of landscape and portrait format)
  • Besides the aesthetics, multiple images take a lot of room (when you do not use an add-on like show more)



My suggestion on which I would love to hear your opinion is to use a grid format like on #mastodon:


I would pitch a suggestion by adding a PR for a (from my point of view) "better" appearance based to this
tutorial. I do not like to use JS in general and would leave it out by determine the suited amount of columns in the backend.

But before I invest time on that, I want to hear your feedback. Thank You!
This entry was edited (1 day ago)

Friendica Support reshared this.

@Marek Bachmann Standard Mastodon crops the images (in the grid, but even if there is one) and I wouldn't like that; that should at least be configurable. But I do agree that the Mastodon, Pleroma, Twitter, Tumblr way of showing multiple images looks better than Friendica.

You can achieve a better look when you post multiple images by putting an empty line between the tags of the photos. The preview will help getting a better look.

If implementing a Mastodon like thing, especially if some form of cropping could occur, can I then also note that Mastodon's 'focal point' feature is really useful. It prevents photos from being cropped in embarrassing ways.

Friendica Support reshared this.

What is also important for me to do better / in another way than mastodon:
I do not like to have a limit of four images in the grid without any notification that more images are attached, like currently on mastodon.

Friendica Developers reshared this.

Friendica Support reshared this.

I can see the value of this and generally like it. However, given that Friendica lends itself to larger posts than Mastodon, including posts that might use multiple images interspersed within the body of the text, I am wary of any solution that compiles all the images in a post and displays them as "attachments" at the end.

There are times when I want to use images in the middle of a post, and they'd become much less meaningful in a compiled cluster at the end of the post, even if they were in a much prettier grid.

Friendica Developers reshared this.

Friendica Support reshared this.

Very reasonable argument to consider. Thank you for this valuable feedback!

Friendica Developers reshared this.

Friendica Support reshared this.

A solution could be to distinguish between "inline" images and attached. BTW: Speaking of inserting images in a post at a certain position, I wanted to complain that this currently does not respect the cursor position, so that whenever I insert an image using the little image icon the bbcode apears at the very end of the input filed.

Friendica Developers reshared this.

Friendica Support reshared this.

@Spencer @Marek Bachmann :friendica: Friendica detects images at the end and groups them in "attachments" as Mastodon does. However, we don't touch images interspersed between paragraphs.

Marek's feature could handle the attachment pictures without touching the post illustrations.

Friendica Developers reshared this.

Friendica Support reshared this.

Yeah, here we go, it is so cool that there are already so many reasonable functions "hidden" in the code that sometimes are just not used / connected together. And your answer might also relate to:
https://friendica.mbbit.de/display/b25b9f4f-8963-893c-d882-8d2666919569

Friendica Developers reshared this.

Friendica Support reshared this.

Dear @Hypolite Petovan might you be so kind and point me to the place in the code where I could best start to look around for rendering posts? Even though inspecting different usage locations of promising function names is a good opportunity to learn more about the code structure, it is also quite time-consuming and thus inefficient :-D

Friendica Developers reshared this.

Friendica Support reshared this.

@Marek Bachmann :friendica: The rendering of conversations is a little complex, but I can easily point you to the main template:
- templates/wall_thread.tpl
- theme/frio/templates/wall_thread.tpl
- theme/vier/templates/wall_thread.tpl

Where the attachments are prepared is in Model\Item: https://github.com/friendica/friendica/blob/e32654381b5715157f0302acd168837ddcf18eb4/src/Model/Item.php#L3043-L3054

Friendica Support reshared this.

@Hypolite Petovan thank you very much. Now I have everything to get started making myself familiar tomorrow. German time-zone recommends some sleep beforehand. :-)

Friendica Developers reshared this.

Friendica Support reshared this.

@Marek Bachmann :friendica: I've seen you up and active at very odd hours, better sleep!

Friendica Developers reshared this.

Friendica Support reshared this.

Bad habit from my times as an PhD student. :-/ Thx :-)

Friendica Developers reshared this.


Friendica Developers reshared this.


Inconsistent usage for image upload limit values 0 and -1


Hello @Friendica Developers I like to ask you about your opinion regarding the issue:

Currently, I am reworking the upload size limits description and usage for images on the Admin site. I encountered IMHO an inconsistency in the semantic of providing '0' and '-1' as a limit value:



  • For the maximum size 0 means unlimited, but this is yet not interpreted that way in the code (there it is only compared if the image size is grater than the limit, which in case of 0 just rejects any file)
  • For the maximum length -1 mean unlimited



Question: Which values should we use, and how should they be interpreted in the code base? For me, it would make sens to use "-1" in general for no limit and "0" for deactivated. But what would "0" then mean in the case of "image length"?

Any thoughts?

Friendica Developers reshared this.

I am not prioritizing nor advertising such a feature, neither. This option, only came to my awareness while digging through the code. I think this option won't do any harm either, since there might be situations where admins might favor to do not allow image upload, e.g. for legal reasons.
My focus is more on consistency regarding the meaning of the numbers for the limits. :-)

Friendica Developers reshared this.

@Marek Bachmann :friendica: The feature might be useful, but it needs to be clearly advertised to users, which may be the hardest part of this feature.



Marek Bachmann :friendica: reshared this.


Japanese Artist, Tatsuya Tanaka, Creates Miniature Dioramas Every Day for 10 Years :

https://miniature-calendar.com/
Figurines in a train station (the trains are lighters)
Figurines in a field (fields are represented by PCB cards)
Model of space shuttles (smoke is represented by cauliflower)
Figurines in a swimming pool (which is a mask)

2 people reshared this


Marek Bachmann :friendica: reshared this.


Warum wird alles immer komplizierter, je mehr ich recherchiere? 😭
Sagt mein Mann auch immer, wenn ich ihm zu erklären versuche, welche Cousine das Kind von welchem Onkel und dessen zweiter Frau, der Nichte des Großvaters seiner Tante zur linken ist, die früher eine Liäson mit dem Bürgermeister einer Kleinstadt im Sauerländischen hatte, der sich nach verlorener Wahl zu erhängen versuchte, aber mangels Seil die Ehe mit der besten Freundin .... usw...
@BLangnickel ah ja, die verflochtenen Kleinstadt-Stammbäume. 😄
Es gibt irgendwo bestimmt einen Artikel, in dem erklärt wird, warum das so sein muss.

Und möglicherweise stammt der von Ihnen. 😀

Friendica Support reshared this.


Could not acces .well-known/host-meta


Hello @Friendica Support after pulling from dev at 27th November, I receive this message on the admin page, complaining about the system has no access to .well-known/host-meta which indicates a severe misconfiguration. What has changed? :-)

This entry was edited (6 days ago)

Friendica Support reshared this.

Here is the error from log corresponding to this message:


2022-11-30T17:30:14Z index [ERROR]: Uncaught Exception Error: "Class 'phpseclib3\Crypt\RSA' not found" at /home/friendica/live/src/Protocol/Salmon.php line 248 {"exception":"Error: Class 'phpseclib3\\Crypt\\RSA' not found in /home/friendica/live/src/Protocol/Salmon.php:248
Stack trace:
#0 /home/friendica/live/src/Module/WellKnown/HostMeta.php(96): Friendica\\Protocol\\Salmon::salmonKey()
#1 /home/friendica/live/src/BaseModule.php(238): Friendica\\Module\\WellKnown\\HostMeta->rawContent()\n#2 /home/friendica/live/src/App.php(739): Friendica\\BaseModule->run()
#3 /home/friendica/live/index.php(44): Friendica\\App->runFrontend()
#4 {main}"} - {"file":null,"line":null,"function":null,"uid":"14c663","process_id":568081}

Friendica Support reshared this.

@Marek Bachmann :friendica: Ah, you need to run bin/composer install --no-dev whenever the composer.lock file changes.

Friendica Support reshared this.

Thx, that fixed it. Nice! Was pulling the last times without worrying about that ;-)

Marek Bachmann :friendica: reshared this.


Die Elon Musks dieser Welt werden mich nicht daran hindern, weiter von einem freien, offenen Internet für alle zu träumen. Eher im Gegenteil. Mein Kommentar für die Frankfurter Rundschau 👇
Screenshot Kommentar zu Twitter mit dem Titel "Den Vogel abgeschossen"
ein erster Schritt dazu wäre die technische Infrastruktur dazu (Netz & ausreichend viele Server) durch den Staat zur Verfügung zu stellen - so wie öffentliche Straßen
Möchte an dieser Stelke nur kurz auf die durchaus bekannten Möglichkeiten des Gemeinwohl-washings und der Fehlinterpretation und Instrumentalisierung der Dezentralisierung hinweisen. Beides sind ausgesprochen fruchtbare Geschäftsbereiche geworden, die auf *moralisch propagierte* Ausbeutung und Machtakkumulation hinauslaufen, nur eben unter "alternativer" Flagge.

Friendica Support reshared this.


Question aboout ids and classes in smarty templates


@Friendica Developers @Friendica Support
Currently, I am working on the issue that the size limit for images to be uploaded is not shown in the upload dialogue. To display this information, I want to extend the photos_upload.tpl smarty template. I guess the best way is just to insert a new <div>...</div> beneath the submit button. But I see that any <div>...><div> has a unique id and class attribute.

What's the deal with these two attributes, what do I need to consider? Are they mandatory or optional?
And for this very specific case: When I insert <div>...><div> for the image size limit, which values should I use for id and class attributes?

Friendica Support reshared this.

@Marek Bachmann :friendica: The base principle is an HTML elements can have only one id and it should be unique in a page, while they can have multiple classes separated by spaces in the class attribute and elements can share classes.

Form fields are mostly generated through the field_*.tpl templates.

Friendica Developers reshared this.


Friendica Support reshared this.


How to deal with / Update Smarty Templates


@Friendica Developers @Friendica Support I am sure someone can solve my problem / ignorance on the following issue within a second after I fought on it for hours:

I changed a smarty template but what ever I do these changes are not reflected on the frontend. I read that Friendica "precompiles" those templates, but I have no clue when and how this is being done?

Anyone? :-)

Friendica Support reshared this.

Ah! ... This might be THE hint <3

Friendica Developers reshared this.

Friendica Support reshared this.

Yeah, that was the problem, I only changed the template in templates/view. Thank you very much. But now I wonder: Since I assume that the frontend always uses on of the themes, where are the templates in templates/view actually used?
This entry was edited (1 week ago)

Friendica Developers reshared this.

Friendica Support reshared this.

When there is no corresponding template in the theme folder, then the default one is used.

Friendica Support reshared this.

@Marek Bachmann they are used, if the theme does not provide its own smarty template.

Friendica Support reshared this.

Thank you both for clarification. :-)

Friendica Developers reshared this.

Friendica Support reshared this.

One more question: When I add change a template for a specific theme, shouldn't I also do it for the other themes?
And if yes, how would I best check their appearance, especially for the default templates?

Friendica Developers reshared this.

Friendica Support reshared this.

@Marek Bachmann you only need to check the themes vier and frio, as the others are not supported anymore. The default templates basically compose the duepuntozero theme.

Just switch the used theme in the user settings and reload the page.

Marek Bachmann :friendica: reshared this.


Sonnenuntergänge gar nicht so geil, wenn sie kurz nach der Mittagspause kommen
Du arbeitest?
Und man sie wegen Wolken und Regen sowieso nicht sieht...

Marek Bachmann :friendica: reshared this.


Urteil - Corona-Ausgangssperre in Bayern von 2020 war unverhältnismäßig

Die während der ersten Welle der Corona-Pandemie in Bayern verhängte Ausgangssperre ist unverhältnismäßig gewesen.

https://www.deutschlandfunk.de/corona-ausgangssperre-in-bayern-von-2020-war-unverhaeltnismaessig-108.html

Marek Bachmann :friendica: reshared this.


es gibt nichts mysteriöseres als bei Terminen auf „Vielleicht“ zu klicken, vielleicht komme ich zum Meeting, vielleicht komme ich nicht, vielleicht komme ich nach 30min dazu, vielleicht stehe ich auch gerade hinter dir, Sicherheit ist eine Illusion
schlimmer finde ich die, die gar nicht antworten... 😡
"interessiert"

Marek Bachmann :friendica: reshared this.


Disturbed by reports of Black Mastodon users—Black women in particular—having negative experiences on this app, including being randomly banned for discussions of racism. Some of these users will not come back. All will share their experiences. The answer is not to condescendingly lecture them on “how the fediverse works,” as if their experiences are inevitable, nor to swear to do better next time. (There may not be one.) It’s to do better now lest the reputation of this app be cemented.

Marek Bachmann :friendica: reshared this.


Tumblr verkündet mehr oder weniger offiziell, dass sie ActivityPub implementieren werden. Das ist ein sehr großer Deal.

Tumblr/Automattic (Wordpress) wird damit einer der größten Player in diesem Ökosystem vorerst werden.

Das wird auch eine Verifizierung für andere Unternehmen sein, ebenfalls reinzukommen. Und natürlich ein sehr einfacher Weg für neue Nutzer:innen, Teil dieser Welt zu werden.

Das ist ein wirklich, wirklich großer Deal.

https://mastodon.social/@tchambers@indieweb.social/109382312618559869

2 people reshared this



Marek Bachmann :friendica: reshared this.



Marek Bachmann :friendica: reshared this.


All die Journalist*innen, die sich jetzt mit der Frage auseinandersetzen, ob Mastodon das soziale Netzwerk der Zukunft ist, haben ein gravierendes Problem: Sie können nicht hellsehen.

2 people reshared this

Für den drölfzigsten Clickbait-Artikel ist das aber nicht so relevant, die Leser:innen vergessen das ja wieder.
… was aber sicher niemanden abhält, zu spekulieren … 🤷‍♀️

Marek Bachmann :friendica: reshared this.


Nach der Twitter-Übernahme von Elon Musk gibt es eine starke User*innen-Wanderung zu Mastodon. Gehört dem Social-Media-Dienst die Zukunft? http://www.taz.de/!5893407/

2 people reshared this

Durch euren Artikel habe ich mich heute hier angemeldet, obwohl ich keine Ahnung von sozialen Netzwerken habe und bisher auch nicht wollte wegen der riesen Ansammlung von Idioten.
@OpaUnke Schön :)

@ alle Idioten, OpaUnke bitte in Ruhe lassen!