Roland Häder is now friends with Sandro
Roland Häder is now friends with Sandro
Den Film #SchmutzigeSchokolade habe ich nur in 360p auf #Youtube gefunden. Aber ist wirklich Verlass auf #Fairtrade?
My 9 months old daughter has fallen asleep on my arm while I was showing #Pingus to her. Maybe the music pingus-8.it was so nice and smooth that she felt easily asleep? Wow, really adorable and nice feeling ... #daddy
Btw, here is the music:
cloud.mxchange.org/index.php/s…
You need, e.g. #modplug, #opencubicplayer or any other #MOD player to play them.
Roland Häder has joined Psytrance Forum
Roland Häder is now friends with Steffen K9
What do you think?, especially those @Friendica Developers ? Is it possible to rewrite #Friendica to have some "wrapper class" for storing pictures/movies locally (default) or remotely on a #WebDAV share like with Nextcloud?
Or does #Nextcloud have an other API for file storage/retrieval than WebDAV? Would be cool to not have pictures stored on so many places. Sure you need then a "WebDAV browser" where you can easily select your files you want to link here (including music files and videos, of course).
like this
Abstracting storing files, like:
- LocaStorage (stores files on local directory
- WebDavStorage (stores files on any WebDAV, let's make a simple WUI here for NextCloud/OwnCloud configuration to encourage people using it)
- SftpStorage (stores files over an SFTP link)
- FooStorage (stores files the foo-way)
And many more. So how to procede?
If one has a path for storage, you can let the OS figure out what it is.
eg, Friendica looks in a directory called /storage
This can literally be a directory called /storage...or you can add an fstab entry to add an arbitrary type of remote file system mounted at /storage.
I have just finished setting up a new directory for #Friendica: dir.haeder.net/
It pulls from dir.friendica.com/ and dir.friendi.ca/ and it is secured with #LetsEncrypt
E_NOTICE
in initial page and then those nasty CHMOD rights. I have already forked it and will fix it now.
Today I have almost finished rewriting my #object-oriented #PHP #framework (not to be confused with yet-another PHP web framework, no) towards #namespace. It took me 77 commits (as I commit not in big chunks anymore) to add namespaces and "import" classes/interfaces + expanding configuration entries with proper namespaces.
My next work will be rewrites in reducing include files in folder "inc", they come from old times where I was "encapsulating" stuff in include files, now I do it with classes and methods.
Still ongoing (or temporary postponed is the rewrite towards a "wrapper" (not following naming convention here!) class around sockets and the bootstrap.
BTW: You can find it here:
And pushed, tomorrow morning, around for an hour there will be no electricity here, they work on the cables outside and our house number is affected. So I shutdown my computer now (which will ruin the uptime again).
$ uptime
23:18:08 up 36 days, 3:21, 4 users, load average: 0.35, 0.55, 0.59
$
Good bye and until tomorrow!
Roland Häder is now friends with Scout
Internet of #insecurity and lost of #privacy ...
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.
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
@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.
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:
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.
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •