Skip to content

"Taler", das Open Source und Free as in Freedom Online-Bezahlsystem wird entwickelt

Unter dem Schirm von GNU wird an einem freien Online-Bezahlsystem mit dem Namen Taler entwickelt.
Der Unterschied zu Bitcoin ist, dass man nur die Menge an Geld, aber nicht die Ware sehen kann, um Steuern zu berechnen. Darüber hinaus ist der Geldaustausch von Sender zu Empfänger anonym. Das Protokoll ist offen, somit kann jeder seine eigene Implementierung schreiben. Es ist REST-basiert und nutzt damit die Stärken des HTTP-Protokolls. Es ist nicht als neue Währung ausgelegt, sondern entspricht immer der aktuell gewählten Währung (und Umtauschkurse).

Taler ist ein neues elektronisches Zahlungssystem, welches bei Inria entwickelt wird. Zum heutigen Tag zeigt diese Seite die Vorteile unseres Systems auf. Im Laufe des Jahres 2015 sollen mehr Code sowie zusätzliche Dokumentation öffentlich gemacht werden. Voraussichtlicher Startpunkt des Zahlungssystems für den allgemeinen Gebrauch ist das Jahr 2016.

Quelle
Entwickelt wird es von Institut national de recherche en informatique et en automatique (hier der Link zur deutschen Wikipedia).
Gute Nachrichten ... nach dem ganzen Ölkrieg der die Flüchtlingswelle ausgelößt hat und ein freies und demokratisches Land in den Ruhin gestoßen hat ... endlich wieder gute Nachrichtne.

Kein Copyright auf "Happy Birthday"!

Entgegen der lange vertretenen Auffassung von "Warner/Chappell" hält dieses Patentkollektiv doch nicht die Verwertungsrechte an "Happy Birthday" - so hat zumindest ein Richter aus Los Angeles" entschieden.

So kann man in Zukunft wenigst die alten Lieder wiederverwenden ... alles, was neu ist, wird wohl so harte Richtlinien haben, dass man schon in den Knast kommt, wenn man ausversehen einen Ton summt.

Martin Shkreli is showing how the finance world is ticking

Ever thought about how far away finance people are from the normal folks? Take a look to "Martin Shkreli" and see how they are ticking.
Instead of solving world problems to the earth a better place, he increased the price of "Daraprim" from 13.05 to 750 US $ .

[...]
Daraprim is used to treat toxoplasmosis, a condition caused by a parasite that exists in nearly a quarter of the U.S. population over age 12, but which can prove deadly for the unborn children of pregnant women and for immunocompromised individuals like AIDS patients. These vulnerable populations will now have to pay over 5,000 percent more for their treatment.
[...]

source
Of course, politicians are telling you that they can not do anything ... they could, but they don't want to.
But before throwing stones to Mr. Shkreli, think about that he is "just one of them all". There are even more finance people around their how are doing things like that. Instead of doing it the "full force" violence way, we as society need to discuss how we want to go on with our life and the way we are living. I am not writing about shifting to socialism, "just" about putting some more humanism into the way we are acting. Is your new super car really worth the effort of having blood from many peoples on your wheels?

howto - add type hinting to phpstorms generated setter method

A colleague of me forwarded me this super cool solution/template to remove one of the little annoying corners of the great PHPStorm IDE (beside the sad fact, that it is closed source software of course).
The template is fixing the problem with the generated setter methods and the missing type hinting.

Open PhpStorm's Preferences and "File and Code Templates" menu, under the "Code" tab there's an option called "PHP Setter Method". Modify it to look like this:
#set($typeHintText = "$TYPE_HINT ")
## First we check against a blacklist of primitive and other common types used in documentation.
#set($nonTypeHintableTypes = ["", "string", "int", "mixed", "number", "void", "object", "real", "double", "float", "resource", "null", "bool", "boolean"])
#foreach($nonTypeHintableType in $nonTypeHintableTypes)
    #if ($nonTypeHintableType == $TYPE_HINT)
        #set($typeHintText = "")
    #end
#end
## Make sure the type hint actually looks like a legal php class name(permitting namespaces too) for future proofing reasons.
## This is important because PSR-5 is coming soon, and will allow documentation of types with syntax like SplStack
#if (!$TYPE_HINT.matches('^((\\)?[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]+)+$'))
    #set($typeHintText = "")
#end
## Next, we check if this is using the array syntax like "MyClass[]", and type hint it as a plain array
#if ($TYPE_HINT.endsWith("[]"))
    #set($typeHintText = "array ")
#end

/**
 * @param ${TYPE_HINT} $${PARAM_NAME}
 */
public ${STATIC} function set${NAME}($typeHintText$${PARAM_NAME})
{
#if (${STATIC} == "static")
    self::$${FIELD_NAME} = $${PARAM_NAME};
#else
    $this->${FIELD_NAME} = $${PARAM_NAME};
#end
}

source
File Template Variables