Coding convention rewrites 2-5-2 of 2-14-2
PR request 3469 is out which contains changes towards a Friendica-wide coding-convention. As requested earlier, I have splitted my 119 (!) files large PR into several small to make it easier for the reviewers (not to review tons of changes but small chunks then).
So as you (dear users) can see, #Friendica is being rewritten in many directions. No new stuff but more clear code where I hope to have later an even more clear code (better understandable by humans, a computer can read any badly formatted code as long as it is valid).
Edit: Here is the link to the PR: github.com/friendica/friendica…
Rabuzarus likes this.
Roland Häder is now friends with Nextcloud
Roland Häder is now friends with Aaron Gibson
Why I don't like WLAN in my LAN network
Did I mention that I don't like #WLAN? Here I have an #IBM #Thinkpad #R51 which has a lot disconnects from WLAN. The #Android of my wife @Rechelle Diana Haeder is working but as you may know, it is not #GNU.
But I prefer GNU software as it is peer-reviewed and back-doors don't have a long lifetime in it. So I can easier trust NICs (cable-bound) than those WLAN stuff (the WLAN network module requires a proprietary binary blob to be loaded).
And WLAN suffers from interference of different types, mostly by neighboring networks. Now I replace it with an "old-fashioned" twisted-ait CAT5e cable ...
Oh, no. #Hannika is here ...
sdc hn i5tsssssssc123mjn qwuiF vvvvvvbfsxzx 8ik m,gtcf5tolr .uhjn jjjjmz<v ./.... kzxb hncbmnnnnngvvb xd yyyyhsaQ:>....... hhhhhhh,nu .uj,nnnn jkm,lxcv vhgxc Z79u 089sdmzxz l0-kpppmbc <<<<<`AC ZXVdhbed kl,.' ////666yh km ssssx n.
(that was she)
GTA04A5 is being delivered to me ... :-D
I can count myself lucky that I'm one of the 8 lucky receivers of a brand-new #GTA04A5 device!
You can find their main page here:
Wonder why it is so (relative) expensive compared to other main-stream phones? Because you directly invest into the very production of the device (hardware only). So you become an investor here (something like that I think) and not a regular consumer/customer.
MySQL killed by OOM
total used free shared buffers cached
Mem: 7939312 3764024 4175288 0 203592 1434224
-/+ buffers/cache: 2126208 5813104
Swap: 12485748 11742532 743216
Looks like a zombie were around? All other processes are consuming lesser memory. Now I run a
swapoff -av && swapon -av
to cleanup swap space.Roland Häder🇩🇪 likes this.

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?
Sleeping daughter on my arm
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
Friendica + WebDAV/$API = Nextcloud-Ready?
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.
New directory online, but ...
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.
Rewrites of framework almost done
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 ...
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •include/text.php
, in the start of the PR I just rebased the branch towardsupstream/develop
.Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Next rewrite chunk is up: 2-7-2 is making the round:
github.com/friendica/friendica…
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •./vendor/
directory then. Because looked globally (PHP community) most projects usingcomposer install
will ignore it because it is considered as "build" (locally recreated) directory.Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •composer install
. If that is to hard/impossible for some users, then they should download pre-built "binary" packages (including vendor).Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •