Redis y el fork “obligado” al cambiar la licencia

Esto es lo que me gusta el movimiento Open Source, si el desarrollador se va por un camino que es diferente al de la comunidad entonces la comunidad tiene el derecho de hacer un fork y continuar sin tener que estar a expensas del desarrollador.

Redis Labs obviamente ha puesto mucho empeño en el éxito de su motor de base de datos en memoria: Redis, así como de otros componentes, pero también consideremos que por mucho empeño que le pongan, no seria tan exitoso si no fuera por la comunidad. Es decir, no le quito ningún mérito a cualquiera de las dos partes.

Esto ya ha sucedido en el pasado, se me vienen a la mente dos proyectos que pasaron por lo mismo:

MySQL

La empresa que se encargaba de desarrollar MySQL eventualmente fue adquirida por Sun Microsystems quien le dió mucho empuje al desarrollo de software Open Source, MySQL en manos de Sun tuvo mucho auge entre la comunidad FLOSS, sin embargo, cuando Sun fue adquirida por Oracle el desarrollo de MySQL se vio menos intenso, vaya, Oracle ya tenia un motor de base de datos era obvio que MySQL no tuviera tanta atención.

Que fue lo que sucedió?. La comunidad hizo multiples forks de MySQL de los cuales están vigentes MariaDB (mi favorita) y Percona. Al ser forks de MySQL sirven cómo remplazo total del motor que ahora es propiedad de Oracle, para algunos incluso, preferible usar estos forks que el motor “original”.

OpenOffice

Open Office tiene una historia muy larga dentro de la comunidad, originalmente como StarOffice, la suite ofimática de Sun Microsystems, luego en su forma Open Source como OpenOffice y que gracias a que Oracle compró a Sun, pues cayó en desarrollo, al grado que se hizo un fork llamado LibreOffice. Eventualmente OpenOffice fue concedido a la Apache Foundation para que la comunidad continuara con su desarrollo pero poco ha crecido, siendo LibreOffice quien tiene mas actividad.

Aunque no todo ha sido miel sobre hojuelas para los forks…

Solaris

Sun Microsystems (otra vez) tenia este sistema operativo (Unix) para sus servidores Sparc, eventualmente lanzaron una versión open source de Solaris, tal como Red Hat hizo con Fedora o SuSE con OpenSuSE, esta versión de solaris se llamó “Open Solaris” que iba bien, hasta que  poco a poco fue cesando su desarrollo, tuvo varios forks (ej. Open Indiana), pero ahora son relativamente pocos los que la ocupan.

Qué sucederá con Redis, pues si la comunidad se aplica espero que suceda lo que vemos vimos con MySQL y Libre office, pero en caso contrario tendremos otro Open Solaris.

Que fork se me esta pasando?,  Escribe en los comentarios.

Redis put some of the program’s code under the anti-open-source Common Clause license. Now, developers are counterattacking by forking the code.

Source: ​Redis Labs and Common Clause attacked where it hurts: With open-source code | ZDNet

Loading

AF_UNIX comes to Windows – Windows Command Line Tools For Developers

Short story… Microsoft have this NEED to support Linux because of the “cloud” infrastructure it have. A big chunk of azure instances run Linux instead of Windows and they are porting Linux/Unix tools to Windows (eg. Bash for Windows, etc.) to keep Windows relevant in this field.

So, Microsoft Developers are having a pain in the ass doing this ports because Windows doesn’t support AF_UNIX sockets, BSD and Linux have long time supporting them; and even when Microsoft have something kind of similar called “pipes” there are differences that make really hard to do such ports.

Remember fellas, is not that Microsoft is Loving Linux, they are embracing, you know what’s next.

Of course they are in the right to do such thing… but is your call to use Windows, a closed source operating system, or just keep using your favorite Linux distribution.

 

Source: AF_UNIX comes to Windows – Windows Command Line Tools For Developers

Loading

Want some “almost free” books? : Humble Book Bundle: Unix presented by O’Reilly (pay what you want and help charity)

screen-shot-2016-12-02-at-5-00-42-pm

Give it a try, for $1 dollar you get 5 books, for $8 dollars you get 7 books more, and for $15 dollars you get 16 books in PDF, mobi or ebook. They can also email them to your kindle ;-). Did I mentioned they are DRM free? ?

Get a bundle of Unix ebooks and support charity!

Source: Humble Book Bundle: Unix presented by O’Reilly (pay what you want and help charity)

Loading

How to move some files but preserve the directory tree?

So, I have a bunch of ogg files that I moved to mp3 (I don’t want to start a format/encoder war, I just did it), I wanted to move the old ogg files, I didn’t delete them because probably I need them in the future. To move the files apart the easiest way could be using find and xargs:

find . -iname "*ogg" -print0 |xargs -0 -I {} mv {} /dest/folder/

The problem with this is that all those ogg files would be in /dest/folder/ all together, and I want to have them each in the corresponding subfolder, I was looking and found that some uses “cp –parents” unfortunately it seems that the cp in OS X does not include that.

What I ended up doing.

If you create a package file (.tar for example), the directories are preserved, so, for me the trick was using tar for that purpose.

find . -name "*ogg" -print0 | xargs -0 tar cvf - |(cd /dest/folder/ ; tar xfp -)

You’ll see all those ogg files in the screen as they are “copied” to the destination folder. later you can remove the files with find again.

find . -iname "*ogg" -delete

 

I assume there is a way to remove the files as soon as they have been added to the tar file.

Loading