SQL-Injektionen sind immer noch ein Problem ...
#SQLInjection ist was feines. #XKCD
#SQLInjection ist was feines. #XKCD
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 has joined Friendica Developers
So ein Mist. #ceta
I have now tried both, #memcache and #redis, to set single keys in cache. It seems both perform very poor compared to #in-progress caching.
So really no improvement if they are being used? And pipelining in redis won't help here much as I really have to "atomically" set/test/get key-value pairs.
So my in-progress cache as following seems to be the fastest:
function someCachedFooValue ($someValue) {
if (!isset($cache[__FUNCTION__][$someValue])) {
$cache[__FUNCTION__][$someValue] = doSomethingFooExpensive($someValue);
}
return $cache[__FUNCTION__][$someValue];
}
Here I want to cache the value from the expensive (long-taking) function doSomethingFooExpensive() if it is is not here.
This way seems to be the fastest way, sadly.
Roland Häder has joined Friendica Support
I have this on my server:
___________total used free shared buffers cached
Mem: 7939312 6490588 1448724 0 66760 192064
-/+ buffers/cache: 6231764 1707548
Swap: 12485748 189256 12296492
Here are all cache settings:
# sysctl -a|grep cache
kernel.sched_domain.cpu0.domain0.cache_nice_tries = 1
kernel.sched_domain.cpu1.domain0.cache_nice_tries = 1
kernel.sched_domain.cpu2.domain0.cache_nice_tries = 1
kernel.sched_domain.cpu3.domain0.cache_nice_tries = 1
vm.drop_caches = 0
vm.vfs_cache_pressure = 100
fs.quota.cache_hits = 0
net.ipv4.rt_cache_rebuild_count = 4
fscache.object_max_active = 4
fscache.operation_max_active = 2
Na, war zu erwarten. #Foreigner-Bashing sollte wirklich mal aufhoeren, denn wir sind schliesslich alles Menschen.
Da haben die #Krefeld #Pinguine mal ihre Homepage neu gemacht und sogar mit gezwungenem #SSL und was sieht man? Kein #RSS mehr moeglich.
Wieso? Wollen die nicht, dass sich deren Nachrichten einfach im Internet verteilen oder sollen die nur ueber einen zentralisierten Kanal erreichbar sein?
Und oh, #ssllabs gibt denen eine B-Note: TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (0x9f) DH 1024 bits FS WEAK z.B. gibt es. Das sollten die mal ueberarbeiten.
Roland Häder🇩🇪 likes this.
I wonder if the poller is really needed or if somehow the cron jobs can be executed without it? I had setup as it should be:
*/10 * * * * cd ${HOME}/friendica/htdocs/ && /usr/bin/php include/poller.php
If I let it runs, multiple php processes are forked eating up my CPU and slowing down the server. Currently it seems to work without it (and much faster).
Roland Häder🇩🇪 likes this.
I currently try to setup the XMPP plugin (jappixmini is not enabled). I have so far changed my ejabberd.cfg and made http-bind working (Apache2 config entry, really easy to setup).
Now I hang around with BOSH host (which address:port to enter?) and that the XMPP chat is not showing up. Any other things I need to change?
Ich glaube, der Poster im Forum hat recht: nur Panikmache bei Heise.de. Ich habe mal fix die besagte Dabei geprüft und root besitzt sie:
-rw-r----- 1 root root 4602 Jul 26 00:37 my.cnf
Also alles ruhig bleiben und nur kurz prüfen ...
I'm currently rescuing files from a partly broken hard drive where the very early sectors are unreadable. It is a USB hard-drive ("mobile") from a DJ. So I will find it "easy" to search for #MP3 files (he doesn't use OGG).
First I tried to normally mount it, which fails due to the broken sectors 0-9 (which holds the required data). Also a fsck.vfat didn't work. So I had to install #myresuce and and #magicrescue.
I did it better in screens so I can leave them unattended:
screen -dmS myrescue myrescue /dev/sdb1 sdb1.bin
I had to wait ~ 10 minutes to start the next one:
screen -dmS magicrescue magicrescue -d sdb1/ -r mp3-id3v2 sdb1.bin
/dev/sdb1 is the USB drive and of course I needed to create ~/sdb1/ to have found files being written there.
Now there are a lot MP3 files but all 40 MB large. I will forward them to the DJ so he has to cut them to the right size.
I just thought you might be interested in before going to a "professional" #disk #rescue company.
I currently face a #bug in #Payara that doesn't allow TABLE_PER_CLASS and I cannot change the database layout (as then the main program needs to be changed which involves a lot risky work).
I have filled out a bug report ...
github.com/payara/Payara/issue…
... But they don't want to handle it. I guess I'm not alone with this bug. I don't like such "payment model" where paying customers are priotized. I for my projects provide unpriotized support for any one, unpayed and in my free time:
My View - Mailer-Project Bug-Tracker
What do you think about such payment models? Good or bad?
2nd submit: better preview before test.
I currently get this when I try to deploy my project:
org.eclipse.persistence.exceptions.ValidationException Exception Description: The type [class java.time.DayOfWeek] for the attribute [endDay] on the entity class [class org.mxchange.jcontactsbusiness.opening_times.BusinessOpeningTimes] is not a valid type for an enumerated mapping. The attribute must be defined as a Java enum.. Please see server.log for more details.
I'm trying to fix this by writing a AttributeConverter<DayOfWeek, String>.
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •