«Producir y nutrir,
producir y no poseer,
obrar y no retener,
acrecentar y no regir,
son el misterio de la vida.»
How after an upgrade my /etc/sysconfig/docker-storage got me mad
I have a running docker service in a Fedora 21 system for a while. Recently I got some disgusting erros preventing restart docker:
device-mapper: table: 253:7: thin: Couldn't open thin internal device
I am a docker newbie so I lost a lot of time thinking if my thin device got corrupt or whatever. Indeed I openened an issue (#16341) to the docker project to report it. But now I conclude is not an upstream error but a Fedora's packaging one.
The problem was caused in this regular update:
-0:docker-io-1.6.2-3.gitc3ca5bb.fc21.x86_64 +0:docker-io-1.8.1-2.git32b8b25.fc21.x86_64 -0:docker-storage-setup-0.0.3-1.fc21.noarchwhich did this:
-DOCKER_STORAGE_OPTIONS= +DOCKER_STORAGE_OPTIONS=--storage-driver devicemapper --storage-opt -dm.fs=xfs --storage-opt dm.thinpooldev=/dev/mapper/vg_patxuko-docker--pool
And after the next system reboot the docker service was unable to restart. Removing the DOCKER_STORAGE_OPTIONS value returned system to service.
More details at this comment.
Hope it helps
.Compiling node.js for Android Lollipop
While participating in the Nordic IoT Hackathon 2015 our team Hello North (wrongly tagged as «HackLab team») wanted to explore the potential of running node.js applications running native in Android.
Happily this was solved by Yaron Y. Goland and described in a post. Using his method I've compiled node.js against android-ndk-r10d running the example on a 4.2.2 rooted device.
The next step was to try in a unrooted one, but only got at first a 5.0 Lollipop one. Execution failed with a error: only position independent executables (PIE) are supported. error message. Some investigation got me to a solved bug report. The magic trick seems to be just this patch.
It took me some time to understand how to add this to the node.js building configuration system but seems got fixed just like this:
--- /home/olea/node/android-configure~ 2015-04-11 02:46:04.063966802 +0200 +++ /home/olea/node/android-configure 2015-04-11 01:56:34.470154253 +0200 @@ -6,14 +6,16 @@ --toolchain=arm-linux-androideabi-4.8 \ --arch=arm \ --install-dir=$TOOLCHAIN \ - --platform=android-9 + --platform=android-16 export PATH=$TOOLCHAIN/bin:$PATH export AR=arm-linux-androideabi-ar export CC=arm-linux-androideabi-gcc export CXX=arm-linux-androideabi-g++ export LINK=arm-linux-androideabi-g++ +export CPPFLAGS="-fPIE" +export LDFLAGS="-fPIE -pie -L$PREFIX/lib"
And this is the test:
¡Yepa!
PS: Just checked the same build using android-16 platform runs in 4.2.2. ¡Double Yepa!
Qué es el procomún
El siguiente texto lo he preparado a la sazón del programa
de actividades complementarias del Almería
Creative Commons Film Festival, el primer festival, y casi la primera actividad, en Almería exclusivamente
dedicado a este mundo. Me ha gustado tanto que he querido
publicarlo en mi propio blog. Aquí queda:
¿QUÉ ES EL PROCOMÚN?
El DRAE lo define como
procomún. ( De pro, provecho, y común). 1. m. Utilidad pública.
pero el filósofo Antonio Lafuente va mucho más allá:
«lo que es de todos y de nadie al mismo tiempo»
Para Antonio la expresión procomún es la traducción al español más acertada para el término inglés commons. Pero ¿tiene que ver el procomún con nuestra vida diaria? Absolutamente: el aire, el futuro, los sentimientos, el ADN, todos son procomunes cotidianos, casi personales. Otros son más distantes pero igualmente indispensables: las pesquerías, parques naturales… la lista es ¿infinita?. Y tenemos otros procomunes que están floreciendo avivados por el galopante desarrollo tecnológico: el software libre, la Wikipedia, Internet y la Web dentro de ella. El mismo HackLab Almería es un modesto procomún que nos empeñamos en construir para ponerlo a vuestra disposición.