Skip to content

version 1.1.1 php component cli readline

I am happy to announce the release of 1.1.1 of bazzlines cli readline component for php.
Important changes are:
Since Version 1.1.1

  • fixed bug in nested arrays and dealing with closures
Since Version 1.1.0
  • removed unused DebugManager
  • moved from project namespace "Autocomplete" to "Readline"
Since Version 1.0.0
  • initial release

Whats so super cool about this component? Creating a php command line script with autocomplete was never that easy!

Translate to de es fr it pt ja

version 1.5.2 php component csv released

I am happy to announce the release of 1.5.3 of bazzlines csv component for php.
Important changes are:
Since Version 1.5.2

Since Version 1.5.1
  • updated dependency
Since Version 1.5.0
Since Version 1.4.0
  • started cli example to easy up usage
  • added "rewind" call when using reader::readAll() and reader::readMany()
Translate to de es fr it pt ja

version 1.3.0. php component csv released

I am happy to announce the release of 1.3.0 of bazzlines csv component for php.
Important changes are:
Since Version 1.3.0

  • added headline output support as keys for Reader::readMany()
  • added headline output support as keys for Reader::readOne()
    • can be disabled by Reader::disableAddHeadlineToOutput()
    • can be enabled by Reader::enableAddHeadlineToOutput()
    • is enabled by default
  • fixed broken unit test for php 5.3
  • moved complex array combine into own project
  • removed duplicated code in Reader
Since Version 1.2.0
Since Version 1.1.0
  • added link to api
  • added minimum php version requirement
  • implemented "move($path)" method into Writer
  • removed "TODO"
  • updated dependencies
Translate to de es fr it pt ja

version 1.0.0. php component csv released

I am happy to announce the release of 1.0.0 of bazzlines csv component for php.
Benefits

  • works with PHP 5.3 and above
  • __invoke() implemented to use it as function
  • unified reader and writer
  • adapter to easy up migration from EasyCsv - 0.0.1 to this component
  • reader
    • implemented iterator
    • readOne();
    • readMany();
    • readAll();
  • writer
    • truncate();
    • delete();
    • copy();
    • writeOne();
    • writeMany();
    • writeAll(); //truncates file and writes content

Translate to de es fr it pt ja

New versions of the zend framework 2 console helper family available now

I happy to announce the release of 1.1.0 of bazzlines zend framework 2 console helper (debian backport) module for php as well as the release of 1.1.0 of bazzlines zend framework 2 console helpermodule for php.
Important changes are:

  • added AbstractConsoleControllerFactory
Translate to de es fr it pt ja

Updated Zend Framework 2 Modules because of the locator generator version 2.0.0 release

I announced already, version 2.0.0 of the "locator generator" is out.
Because of that, I am also happy to announce the release of 1.4.1 from the zend framework 2 "locator generator" module.
Furthermore, the debian 6/PHP 5.3 backport got the release of version 1.3.0.
And finally, and because of the fact that zend framework 2.5.* is dropping support for PHP 5.4, the new debian 7/PHP 5.4 got the release of version 1.7.0.
Major changes in all releases is the dependency update to the new locator generator version.

You want to have a quick look and tryout without any hassle? Try the zf demo environment available in three flavors, cutting edge, debian 7/PHP 5.4 backport and debian 6/PHP 5.3 backport.

Translate to de es fr it pt ja

version 2.0.0 of php locator generator component released

I happy to announce the release of 2.0.0 of bazzlines locator generator component for php. Important changes are:

  • Generator.php now throws "InvalidArgumentException" instead of "RuntimeException
  • Generator now tries to create the provided directory if it does not exists
  • fixed issue 2
  • fixed issue 4
  • fixed issue 5
  • implement usage of phpcomponentcliarguments
  • implement usage of phpcomponentcommand
  • fixed broken entry of "bin" in composer.json
  • renamed "bin/generaltelocator" to "bin/netbazzlinegeneratelocator"
  • renamed "bin/generateLocator.php" to "bin/generatelocator"
  • renamed "example/[..]/run.php" to "example/[...]/run"
  • fixed issue 3
  • updated dependencies
Translate to de es fr it pt ja

web - Richard Stallman bezeichnet die Betriebssysteme von Micrososft und Apple als Malware

Unter Malware versteht Stallman Software, die ihre Anwender bevormundet, ausspäht und ihnen Fesseln anlegt. Dazu gehören Maßnahmen wie Hintertüren, Restriktionen wie Digital Rights Management (DRM) und Zensur. Diese Maßnahmen seien zwar vielfach in den End User Licence Agreements (EULA) festgeschrieben und somit legal nicht angreifbar. Das mache sie jedoch nicht weniger unethisch.

Stallman schaut zurück in die 80er Jahre, als er die Bewegung für freie Software initiierte. Damals sei Software wie Unix zwar proprietär geworden, die Entwickler haben aber trotzdem im Sinne des Anwenders gearbeitet und nicht gegen ihn, wie heute vielfach zu beobachten. Damals sei Malware so selten gewesen, dass sie Aufsehen erregte. Heute dagegen sei sie so verbreitet, dass jede Software erst einmal verdächtig sei.
[...]

Quelle

Sehr schöner und kurzer Artikel. Stallman hat recht. Ich kann dazu auch das Buch "Freie Software" empfehlen (worüber ich schon seit langem ein Artikel schreiben wollte, weil das Buch wirklich toll ist).

Translate to de es fr it pt ja

Programming Language Rust 1.0 released

Today we are very proud to announce the 1.0 release of Rust, a new programming language aiming to make it easier to build reliable, efficient systems. Rust combines low-level control over performance with high-level convenience and safety guarantees. Better yet, it achieves these goals without requiring a garbage collector or runtime, making it possible to use Rust libraries as a “drop-in replacement” for C. If you’d like to experiment with Rust, the “Getting Started” section of the Rust book is your best bet (if you prefer to use an e-reader, Pascal Hertleif maintains unofficial e-book versions as well).
[...]

source

Congratulation, I like the idea of rust and it is some fun to play around with it. Fingeres crossed for a bright future :-).

Translate to de es fr it pt ja

howto fix bootup error message "Failed to start Create Volatile Files and Directories." from "systemd-tmpfiles-setup.service"

Give is, that you get an error message while booting up your system from "systemd-tmpfiles-setup.service" with the description "Failed to start Create Volatile Files and Directories.".
By using systemctl with systemctl status systemd-tmpfiles-setup.service, you get the same description.
A quick look into the archlinux wiki offers you the solution named enable acl in your file system.
If you are running zfs as your root, you have to execute zfs set acltype=posixacl #your_pool_name. To validate if it is working, execute zfs get acltype before and after the set.

If you want to know more, you can read the following links:

Translate to de es fr it pt ja

version 1.1.0 of php component requirement released

I happy to announce the release of 1.1.0 of bazzlines requirement component for php. Important changes are:

  • added example WithDisabledCondition
  • added example WithDisabledItem
  • added getConditions() method to RequirementInterface - this easies up disabling single conditions or single items (by using condition->getItems())
  • added migration howto
  • added version eye and scrutinizer coverage
  • covered AbstractItem and AbstractCondition with unit test
  • created AbstractItem that implements ItemInterface
  • created IsDisabledInterface
  • created ItemInterface
  • created TestCase that is extended by all phpunit tests
  • implemented IsDisabledInterface to AbstractCondition
  • implemented IsDisabledInterface to Requirement
  • refactored ConditionInterface, addItem now only accepts ItemInterface instead of IsMetInterface
  • refactored Condition::getItems() - now returns plain php array
  • renamed ConditionAbstract to AbstractCondition
  • renamed and updated previous WithShutdown example to WithDisabledRequirement
  • updated dependencies
Translate to de es fr it pt ja

howto copy or move thunderbird profile to pc and back from different location to default location

So, I tried to be smarter as smart and I moved the default thunderbird location from "$HOME/.thunderbird" to "$HOME/somewhere/else/thunderbird". I will call the second path " from now one. "" is the reference to "$HOME".
First of all, copy the data (super smart hint, use scp or sshfs for the copy process.


cp -r --preserve=timestamp,mode /.thunderbird /

Afterwards you have to adapt some files since the old path is stored there as references.


cd /.thunderbird
grep -lr 'path\/to\/thunderbird' *

for each files

vim %s/path\/to\/thunderbird/.thunderbird/g

Now start your thunderbird for the first time and everything should be fine.

Translate to de es fr it pt ja

php - zfcampus/zf-rest how to | tutorial

Assuming you are using the Zend Framework 2 and want to implement a REST endpoint in a quick and fully functional way.
ZF-Rest is, more or less, the official rest module for zf2. But, the documentation is not available - nor planned right now. Thats why I this blog entry will boost your knowledge and speed up the time until you have finished your first zf2 rest endpoint.

Installation and Setup

add the following line to you composer.json

"zfcampus/zf-rest": "1.0.3"

You need to add the following entries in your to "config/autload/application.config".


<?php

return array( 'modules' => array( //your modules 'ZF\ApiProblem', 'ZF\ContentNegotiation', 'ZF\Hal', 'ZF\MvcAuth', 'ZF\OAuth2', 'ZF\Rest' );

Minimal Configuration (module.config.php)

array key "zf-rest"


//MyRestController is a virtual Controller 
'My\Module\Namespace\MyRestController' => array(
    //mandatory - available are GET, POST, PUT, PATCH, DELETE
    'collectionhttpmethods'       => array(
        'GET'
    ),
    //mandatory - available are GET, POST, PUT, PATCH, DELETE
    'entityhttpmethods'           => array(
        'GET'
    ),
    //virtual name - its the name the collection entries are getting in the HAL-repesentation
    'collectionname'               => 'items',
    'routename'                    => 'myrestroutename',
    'routeidentifiername'         => 'id',
    //this is the only file you really need to code/implement
    'listener'                      => 'My\Module\Namespace\MyListener'
),

array key "router/routes"


'myrestroutename' => array(
    'type' => 'Zend\Mvc\Router\Http\Segment',
    'options' => array(
        'route' => '/my/rest/endpoint/[/:id]',
        'defaults' => array(
            //MyRestController is a virtual Controller
            //The name is needed to map the module configuration to the endpoint
            'controller' => 'My\Module\Namespace\MyRestController'
        )
    ),

Optional Configuration Values

Based on the source code from RestControllerFactory.php, following configuration keys are optional (mention as mandatory in the current README.md).

  • resourceidentifiers
  • identifier
  • controllerclass
  • entityclass
  • collectionclass
Translate to de es fr it pt ja

web - AMD überführt Mantel-Code nach Vulkan

[...]
Nach einem ziemlichen Hauen & Stechen darüber, ob die Vulkan-API nun von Mantle stammt oder nicht, gibt es hierzu sowohl von AMD als auch von Khronos selber klare Bestätigungen. AMD scheint faktisch der Khronos Group das gesamte Mantle-Material zur Verfügung gestellt zu haben – was wohl überhaupt erst die Möglichkeit dazu bildete, Vulkan so schnell aus der Taufe zu heben. Dies hat sogar den netten Seiteneffekt, daß nun auch nVidia (als Mitglied der Khronos Group) mit im Boot ist – ein Vorgang, welchen man zu AMDs Mantle einfach wegen der harten Konkurrenz beider Unternehmen untereinander schlicht vergessen konnte. Gewonnen hat hier in erster Linie die OpenGL-Gemeinde, welche mit OpenGL seit Jahren hinterherkrebste und sich mit Abwärtskompatibilität bis zum Sanktnimmerleinstag sowie Hersteller-spezifischen Extensions abmühen musste. Vulkan eröffnet einen neuen Ansatz, welcher ohne all diese alten Zöpfe auskommt, trotzdem aber die bekannte Plattform- und Hersteller-Unabhängigkeit von OpenGL bewahrt.
[...]

Quelle

Danke AMD! Ganz ehrlich, man muss schon ein großes und faires Ego haben um einzugestehen, dass man eine Software selbst nicht mehr viel weiter bringen kann und das es der Gemeinheit mehr bringt, wenn man den Quelltext der Gemeinschaft übergibt.

Translate to de es fr it pt ja

web - UEFI Firmware-Updates unter Linux werden einfacher

Eine neue Version der UEFI-Spezifikation soll Firmware-Updates deutlich vereinfachen, auch unter Linux. Red Hat und Gnome arbeiten bereits an einer Umsetzung und stellen detaillierte Pläne vor.
[...]

Quelle

Nativer Gummiboot-Support wäre mir lieber, aber besser als nix. Mal schauen ob man vorhandene Hardware updaten kann, oder ob das nur mit noch nicht produzierter Hardware funktioniert.

Translate to de es fr it pt ja

Lenovo Thinkpad Yoga S1 12 (2015) - disable keyboad beep

So, nearly all of the code shown below is from the official arch linux wiki or the official arch linux forum.
I've no idea how this book is doing under windows since I have a strict no-closed-source-operation-system-policy. Under arch linux, it is working. The "FN"-Keys are not working so far. The touchpad is working, the trackpad-key's (the feature of the 2015 edition) as well as the Touchscreen. What really grinds my nuts (beside this doomed intel secure boot/guard shit) was the "keeboard beep" everywhere.
Search for "disable pc speaker" and be happy - or follow the code below or the updated one behind link.

verify device version

dmidecode -t system | grep Version

#

disable pc speaker / keyboard beep

#

@see

https://wiki.archlinux.org/index.php/DisablePCSpeaker_Beep

#

per session

rmmod pcspkr

general

echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf

So far, what do i like?
It is fast, quite and feels really good. The keyboard layout differs from my old thinkpad keyboard, so especially for the left hand, I'm always one key to far. I really can't get the point to not have an led for the "caps lock" key - this sucks.
Touchscreen rotation is currently not working and since it is also not working for older devices (2014), I don't assume it will work ever. Full HD is great of course. My old HP Elitebook was native 12 inche and this Yoga is a monster in size compared to the hp. 12.5 inch? - in your dreams mister advertisment!
Really bad is the current backlight situation. I clearly can see bright areas on the top right as well as on the bottom left. Thats why I shift it with an other one. Take care of the prices! You can't get one without this sucking windows, but you pay less for a windows 8 instead of a windows 8.1.
It is really sad that the marked is not producing a 12 inch pointstick notebook with a full hd display (and 16 GB of memory). Fuck this ultrabook-sickness, I don't care it it is a bit wider if I can exchange parts and run it with 16 GB of memory.

Translate to de es fr it pt ja

version 1.0.1 of process pipeline component for php released

I happy to announce the release of 1.0.1 of bazzlines process pipeline component for php. Important changes are:

  • removed dependecy to apigen
  • add "StopExecutionException"
Translate to de es fr it pt ja

web - Positionspapier des Bündnisses Freie Bildung

Das Bündnis Freie Bildung hat ein Positionspapier veröffentlicht, in dem die konsequente Veröffentlichung von Bildungsmaterialien unter freien Lizenzen gefordert wird.
[...]

Quelle

Wer wenig Zeit hat, sollte sich den Link hinter "Quelle" durchlesen. Wer etwas mehr Zeit hat, kann sich das Positionspapier dem Bündnisses Freie Bildung annehmen. Open Source bevorzugt natürlich im Sinne von "Free as in Freedom", sprich Free Software.

Translate to de es fr it pt ja

version 1.0.2 of zend framework 2 console helper (debian 6 backport) released

I happy to announce the release of 1.0.2 of bazzlines zend framework 2 console helper (debian backport) module for php. Important changes are:

  • removed dependency to apigen
  • updated dependencies
Translate to de es fr it pt ja

version 1.3.3 of zend framework 2 locator generator released

I happy to announce the release of 1.3.3 of bazzlines zend framework 2 locator generator module for php. Important changes are:

  • updated dependencies
  • removed apigen dependency
  • fixed dependency issue
  • added factory for controller creation
  • updated to locator generator 1.4.0
  • added documentation @todo - add link
  • added migration
  • added link to debian 6 / zend framework 2.2 backport
  • prefixed console commands with "net_bazzline" to not pollute the available command environment
Translate to de es fr it pt ja

version 1.0.3 of zend framework 2 console helper released

I happy to announce the release of 1.0.3 of bazzlines zend framework 2 console helper module for php. Important changes are:

  • removed apigen dependency
  • added use statement into example
  • added link to demo environment
  • added link to debian 6 / zend framework 2.2 backport
  • added minimum version of zend framework 2 to 2.3.* since AbstractConsoleController is mandatory
  • updated dependencies
Translate to de es fr it pt ja

version 1.2.2 of zend framework 2 locator generator (debian 6 backport) released

I happy to announce the release of 1.2.2 of bazzlines zend framework 2 locator generator module for php. Important changes are:

  • added factory for controller creation
  • added migration
  • update dependencies
  • removed dependency from apigen
Translate to de es fr it pt ja