Mastodon 4.0 has introduced feature-breaking change


#Mastodon v4.0+ has introduced a change to the "Favorite/Reshare this" modal which makes it currently not compatible with #Friendica . Here how it is:

1) E.g. visit an up-to-date v4.0+ instance like social.tchncs.de and go to any post/toot. Now click on Favorite/Reshare (doesn't matter which one) and you are presented with a rebuild modal where you can locally login/signup or copy the URL so you can paste it into your instance's search form.
2) Just simply do that with your Friendica's search form and you won't be able to "manually federate" it over to your instance so you can interact with it.

Previous 3.x versions allowed me to enter my web-finger @roland@f.haeder.net and redirected me to my instance after "manually" federating it to there. It worked like a charm! I'm sure the developers of Mastodon have their reasons for this change but this change made it impossible for at least Friendica instances to "manually" federate the toot/post/comment so you can comment on it.

Can we somehow make this work on our side?

cc @Friendica Developers

reshared this

in reply to Roland Häder🇩🇪

@Roland Häder no way, Mastodon would never break a working thing, they don't do things like that. 😜

It seems to work for me, I went to mstdn.social, to this post and clicked the reshare, copied the link and searched for it on my server.
This showed the local copy of the post.

But... The post was already available locally, it did not show the two times like a new received post does.

Friendica Developers reshared this.

in reply to utzer [Friendica]

@utzer ~Friendica~ Hmm, that link worked here as well, also the parent post/toot is fetched. Also copy-pasting v3.x links into the search form works. That's a bit confusing but it didn't happen always in the past. Or maybe because my/their instance is blocked? That would explain it for sure. Okay, I keep an eye out. Still I find the old way with entering your web-finger more easier than the copy-paste thing. But #Mastodon decided to change it, not optionally still provide the old way/modal as an alternative.

Friendica Developers reshared this.

My goodness, VARBINARY sucks so much!


When I wan to run some SELECT statements on some tables, I always get a SQL query like SELECT *, HEX(`column`) AS `column` FROM `table` WHERE `other` LIKE UNHEX('%foo%') in tools like #Adminer (a PHP-based web-frontend I usually use to administrate my database server). This causes it that zero records are being found and the culprit here is the wrong/excessive use of VARBINARY instead of VARCHAR (string variable character length) and a proper collation like utf8_general_ci for all tables.

I don't know why you e.g. want to have non-alpha-numerical characters in URLs or keys?! Why on good Earth that? I think a #RFC states that such characters needs to be URL-encoded with %HEX-CODE to avoid interference with not so tolerative systems. For example, I sometimes like to know how many contacts my node knows for a specific domain, so I usually choose LIKE %% and enter the domain name to look for. It worked always flawless before but since VARBINARY is in place, I can no longer find records. :-(

Very sad to see such development.

cc !Friendica Developers

CSS class' "icon" property "height" causing distance beween two lines in profile views


The said #CSS class .icon has a property height: 48px which with current HTML structure causes a distance between two lines when I view a remote profile (view: /contact/X or a post (view: /display/X):

I'm sure, removing height from the said CSS class won't fix it in the long run but maybe checking the HTML/div structure would.

cc @Friendica Support

Friendica Support reshared this.



I Do Not Want A Mastodon | Oliver Darkshire on Patreon


patreon.com/posts/i-do-not-wan…

I love this ❤

But on a serious note, I do get the fact a lot of people are not happy about #Twitter taking a hit from a nuclear missile called Elon. For a lot of people that was an important community, which is being actively destroyed. I feel for those people. And I also feel sad about the fact that one single man can destroy such a big and important platform all in one go.

It's annoying to be coming up with answers from hindsight - but hey maybe we shouldn't have large centralized platforms like Twitter that are able to be taken down by some douchebag billionaire. This is why we have decentralized platforms. They may be more complex to understand. They may not provide the same benefit for #capitalism to sell its products. But what they do well is provide resilience. No Elon can take down the #Fediverse - and that is a guarantee, not just words, because the fediverse is a collection of thousands of servers - and the number is going up by the day. Twitter is one server, which can be bought by a billionaire.

I don't want a #Mastodon either. I have my own platform, #Socialhome. But what I do want is to be a part of the Fediverse, and for social media to be more resilient to rich people going on shopping sprees for their own political agenda.


Null-safe invocation of Enum.compareTo()?


I look for an utilities class or self-implementation to invoke Enum.compareTo() in a null-safe manner.

Does anyone know such a class or how to implement it? I have a few enumerations written here and I COULD write one for each one. But I guess there might be a more intelligent and flexible way to do this.

The background here is that I have a public default constructor for the #JPA here and an other constructor that beside some other class fields sets this enumeration. Still I need to compare both instances ("empty" one and one with set values) in a null-safe manner. If I try to implement it without the null-check, it throws the all-famous #NPE at me and a unit-test fails.

PS: Is there a #Java group/forum like !java available somewhere?

#Java #Enumeration #NullPointerException #NPE



This article, published in April 2021, tears the cover off the lies told about Julian #Assange, but few can shake off the disinformation they've absorbed from major media sources.
What made a Special Rapporteur on Torture work on the Assange case and write a book on it?

“When Julian Assange was still at the embassy in December 2018, his legal team actually reached out to my office. I remember it was just before Christmas, I saw this message pop up on my screen and I swiped it away immediately. I had this intuitive reaction: what does that guy want? He’s a rapist, a narcissist, a hacker, this isn’t serious, so I just discarded it. I have around 15 requests per day, and I can do one, it’s very routine for me to decide quickly, but I remember those negative emotions I had, that I usually don’t have.

Three months later his lawyers came back to me in March 2019, and they also sent me Dr. Sondra Crosby’s medical assessment. And I knew Dr. Crosby was a big name as an independent medical expert, who was not associated with Assange activists. I read these objective assessments by Dr. Crosby, by the UN Working Group on Arbitrary Detention, I also read an article by James Goodale the Pentagon Papers man. I realised that I had strong prejudices against Assange, even though it’s my profession as a Human Rights expert to be objective. I started investigating further, scratching the surface of this case. The deeper I got into the case, the more dirt and contradictions came to the light. I also knew that I could not rely on information in the media and in the press, because that’s precisely the source that had deceived me in the first place. To be objective, I had to go visit him in prison, and, to be sure, I took not one medical doctor, but even two medical doctors with me, who are independent from each other and are not employed by the UN; they work as external experts for the International Criminal Court, the International Committee of the Red Cross and so on.

We spent 4 hours with Julian Assange, I spoke to him for one hour, and the forensic expert had one hour for a physical examination, and the psychiatrist did a two-hour psychiatric examination. Each medical examination was done separately from the other, so they wouldn’t influence each other. All three of us at the end compared our conclusions and agreed that he showed all the signs that are typical of victims of psychological torture. I must admit that I didn’t expect such a clear result.


#uk #us #sweden #hypocrisy #corruption #freepress #journalism #torture #wikileaks #julianassange

ilfattoquotidiano.it/in-edicol…

Blackbird reshared this.