Authentication with Friendica Jabber account?
I have tried to connect to my XMPP account I have with this #Friendica instance, it is the same as my web-finger, as I understand it. But what is the current password so I can connect? It is not the one I used to login.
NetBeans 8.2 adds Oracle copyright header to ant-deploy.xml
I have updated my NetBeans IDE to 8.2. I have found out that ant-deploy.xml has been changed. When I checked it (with diff view) a copyright header by Oracle has been added.
I don't like this much what companys writing free software slams their (huge!) copyright notices somewhere "hidden" and with the next version update in.
I have now manually prevent them from entering my projects. But for the future, I hope Oracle is not repeating this and removes such stuff.
Roland Häder changed Interests to “Programming PHP/Java SE/EE, playing computer games”
- Visit Roland Häder's public profile
More coding convention stuff is coming
@Friendica Developers I have more stuff in the pipline regarding coding-convention: github.com/friendica/friendica… Hope you don't mind to review some much ...
Many thanks to @Michael Vogel und @Hypolite on Friendica and one other I don't know here on #Friendica for their continued patience of reviewing such changes.
Most of these changes includes added spaces, converted intending (space -> tab), added curly spaces and usage of dbm::is_result() which is a wrapper for checking if a valid result has been returned from q().
Rabuzarus likes this.
"Infinite" scroll need overworking
When the small "addon" is enabled, more content is being loaded when users scroll down. So far so good. But if they scroll more down, more is being added to the DOM document which results in a growing browser procress and a slow-down due to the device has to handle more content.
I would prefer that the content in opposite scroll direction is being removed to allow smooth usage of the device (desktop PCs with low RAM will suffer greatly). If the user changes scroll direction, again content on the opposite direction is being removed.
Roland Häder🇩🇪 likes this.
Yesterday I had a look at the jquery plugins you mentioned. github.com/pixelcog/parallax.j… is not about infinite scrolling. It is about to have a prallax effect. And github.com/fredwu/jquery-endle… doesn't do that much more than our implementation already do (OK it can load previous pages).
The problem isn't to load next or previous pages through ajax. That would be very simple.
The problems we would have to deal with are:
- which posts belong e.g. to page 1 (which should be removed from the screen when we scroll e.g from page 2 to page 3)
- how do we deal with the situation when new posts arrive (e.g. the user would be on page 3 - a new post does arrive, and he/she scrolls to page 4 - I guess in this situation the first post of page 4 would be missing)
- how do we deal with comments on posts (wich would move the post on top of the first place
The whole topic is very complex. I think this is not something which is easy to implement. I don't want to say that it is unsolvable, I just want to highlight that this "extended" infinite scrolling is more than just adding and removing content
Just using a request parameter, like "page" is not helpful, then you will may see duplicate posts as "page=2" will change when new posts are being added. #GNUSocial uses here something like "lastPostId" which is the id number of the last post that has been loaded and so displayed.
Maybe I better make an example on how I think how it can be done:
1) Load page and embed "last post id" directly into page
2) Send request out: "POST /ajax/network/?lastPostId=12345&page=current"
3) This returns the posts (lastPostId - postsPerPage) that just be displayed right away including a new lastPostId
4) The user scrolls up, send another request out: "POST /ajax/network/?lastPostId=12335&page=up" (I assumed 10 posts per page and again a new lastPostId is included)
5) On any of those requests, check that more can be loaded, if not, the new lastPostId should be empty, indicating that no more can beloaded
6) Similar when the user scrolls down, then &page=down is given
Maybe not perfect but newly added posts can be found out the same way:
"POST /ajax/network/?lastPostId=12345&page=up (as newer posts are added on top)
The JavaScript then needs to handle empty lastPostId (when < postsPerPage has been found) and removing/adding content.
Design changed to vier
I changed the design here on this #Friendica node to #Vier which looks like lesser complicated and more modern. I also have surpressed language meta informations to keep the WUI as simple as possible but still powerful (see #bbcode support).
Currently, only my wife @dianalace and me are here. I have not opened registration due to #spam accounts (which have signed up only #GNUSocial instance a lot until I closed registration there, too).
Roland Häder is now friends with Paul Gehrke
New SSL CSR doesn't want to validate with local CA file
I have created a new certificate for another sub domain. But now it got stuck with a typcial error message:
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'DE'
stateOrProvinceName :ASN.1 12:'Northrhine-Westphalia'
organizationName :ASN.1 12:'Roland Haeder'
organizationalUnitName:ASN.1 12:'private'
commonName :ASN.1 12:'some.bla.domain'
emailAddress :IA5STRING:'webmaster@shipsimu.de'
The stateOrProvinceName field needed to be the same in the
CA certificate (Northrhine-Westphalia) and the request (Northrhine-Westphalia)
Well, it looks like the same, right? But it is not, use
openssl asn1parse </etc/ssl/your/certs/ca.pem
to examine your CA file. Then do the same with the CSR file. And you might see the difference: UTF8STRING and PRINTABLESTRING was here the case.Well, here you have it. Now go to your openssl-ca.cnf file and fix string_mask to utf8only (or otherwise your certificate's configuration file). I'm currently testing UTF-8 in SSL certificates with my server.
Fritz!Fon C4 stays white or flickers
I have here a Fritz!Fon C4 (a softphone) with updated firmware. If I know insert batteries, the screen sometimes turn white or flickers but the phone seems to start and connect but remains unusable.
Any ideas besides removing battery and re-inserting it? I already filled a ticker with #AVM.
So far not much progress. Also their suggestions on how to fix it did not work, the display remain ~99.9% white and only one time after a reset, I saw the blue start screen which became mixed up again after some seconds.
So I decided to wrote a complain to them.
Pre-christmas gift: Goldelico has received test GTA04A5s!
I'm the owner of an #OpenMoko #FreeRunner which I have sent to #Goldelico some weeks ago. Now I received an email from gta04-owner that Mr. Schaller was able to run some tests on the first prototype boards.
You can watch the video here on #Youtube:
youtube.com/watch?v=JrLN8zHmux…
I'm happy to see that there is progress.
Ausweise ich höre euch trapsen

Roland Häder has joined Friendica Hackathon
Ein #Anschlag und die Sicherheitsfanatiker schreien wieder nach #VDS, wie es in #Frankreich bzw. #Paris der Fall war. Die haben dort die VDS seit 2006, übrigens ... Aber das interessiert ja niemanden, wenn ein #LKW in #Berlin in einen #Weihnachsmarkt rast. Die Hauptsache, man kann wieder vom #Terrorismus reden und das ganz laut und ganz oft in den #Mainstream-Medien rausposaunen.
Ich könnte kotzen, aber ich kann so viel nicht essen! Dafür zahle ich 17,50 pro Monat!
Im letzten Satz "Das" mit #Facebook austauschen ...
SQL-Injektionen sind immer noch ein Problem ...
#SQLInjection ist was feines. #XKCD
Verkaufe robusten Kinderwagen M-530
Ich verkaufe meinen #Kinderwagen #M-530 (Mini-Star). Dies ist ein Kombiwagen und kann auch in einen Buggy mit wenigen Handgriffen umgebaut werden.
Hier der Originaltext aus #Ebay-Kleinanzeigen.de:
Der Kinderwagen ist gebraucht und befindet sich im guten bis sehr guten Zustand, keine kaputten Axen, oder Gurte. Tragetasche (fuer's Kind) und Tasche fuer Einkaeufe und Regenschutz inbegriffen. Die Tragetasche hatte oben ein kleines Loch am Sticker, was liebevoll mit einem Sticker uebergenaeht wurde.Die Rueckenlehne ist verstellbar (in Buggy umwandelbar) und auch Guckrichtung des Kindes.
Keine Reservierung; keine Garantie, da Privatverkauf!
Mehr Bilder:
Preis: 40,- (nur Abholung, bitte vorher auf Verfuegbarkeit anfragen)
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •https://soc.beardyunixer.com/profile/beardyunixer
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •