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).

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.

#AVM bug (x) AVM (x) problem (x) c4 (x) softphone (x)



EuGH kippt die Vorratsdatenspeicherung -

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!

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)

No performance improvement by memcache or redis?


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.

Why is Linux not using more RAM for caching?


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

So there is a 1 GB RAM (not much, I know) left but #Linux is not using it for caching which would greatly improve performance (it really does). vm.swappiness is 20 here.

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

Which do I need to change (except adding more RAM but that costs me monthly more).