Bitwig: Estación de producción musical para Linux!

http://bitwig.com/

Ok, aún no puedo creerlo!

Es posible que, si has leido mi blog, te darás cuenta de que tengo una banda. Soy músico y me gusta mucho componer. De hecho, tengo varios discos en:

http://jamendo.com/artist/Renich

http://jamendo.com/artist/introbella

Durante mucho tiempo, me frustré mucho por no poder producir mi música en GNU & Linux al 100%. Me ha molestado mucho tener que usar Windows para ésto. Aún existiendo tanto software increible para grabación en Linux, han sido varios los problemas que he enfrentado:

- No sirve mi interface en Linux: M-Audio Firewire-1814
- No he encontrado un software con el workflow adecuado
- No he podido conseguir sonidos sampleados adecuados o en variedad suficiente.

Ante estos problemas, he insistido un montón tanto a Propellerheads Reason, a Ableton Live y a M-Audio que empiecen a colaborar con la comunidad para hacer disponibles sus softwares y drivers para GNU & Linux! A Propellerheads les vale madre. En Ableton ni siquiera me han contestado. M-audio pareció querer colaborar (Ver ffado) pero nunca se concretó al parecer.

No todo ha estado perdido. Existen projectos como Bitwig o como Pianoteq que se están poniendo las pilas y harán mi sueño realidad de poder producir un disco; y de tocar en vivo usando 100% Linux!

Al parecer, Bitwig tiene un muy buen acercamiento. Se parece mucho el workflow a Ableton Live. Creo que, ésto, abrirá un gran nicho de mercado. Mucha gente usará este tipo de software; comprándolo! Claro! No tendrás que gastar dinero en licencias de antivirus, sistemas operativos, utilerías; teniendo más dinero para invertir en ellos! Muy inteligente y parte de mis argumentos en los emails que he mandado.

Actualmente, le mandé un correo a Bitwig; pidiéndoles que me incluyan para ayudarlos a empaquetar para Fedora su producto; aún cuando tenga que firmar un NDA o algo así. Además, me gustaría ser beta tester. Estoy seguro que varios Fedorianos se apuntarán para ayudar a debuguear el software. Ojalá y pase algo con eso.

La neta, felicito a los de Bitwig y a los de Pianoteq por sus grandes esfuerzos. Cada vez está más cerca el Home Studio o el Pro Studio para los productores acostumbrados a estos workflows; como yo ;)

Migración a NginX

Me da gusto anunciar que Woralelandia y el servidor de la comunidad han sido migrados a NginX!

Antes, usábamos Cherokee; pero, al ser olvidado por su creador, pues, no nos queda más que migrar.

Además, creo que NginX tiene varias cosas muy suaves. Me gusta su estilo de configuración. De hecho, influenciado por MVC, he hecho una serie de includes que me facilitan la vida un chingo.

Te invito a revisar su Wiki para que te des una idea.

HowTo: Identi.ca/Twitter/Laconi.ca en Fedora 18

Bueno, es muy fácil integrar identi.ca/twitter/laconi.ca en empathy/telepathy. Solo instala purple-microblog.

yum install purple-microblog

De esta manera, tendrás disponibles las tres cosas en tu “accounts” en Empathy; o cualquier cliente que use telepathy. Es lo más chido y sencillo.

La neta, esta no es una lista exhaustiva. Si te interesa ver qué onda, usa:


yum search all identi.ca
yum search all laconi.ca
yum search all twitter

HowTo: Fix Google Chrome’s slowness on Fedora

Well, if you; like me, hate Google Chrome recently; because it gets slow as a turtle, here’s a solution:

google-chrome %U --disable-accelerated-compositing

I dunno what the %U does, but the other one is self explanatory. This solved my slowness problems.

My symptoms:

  • Impossible to view flash videos (choppy most of the time)
  • Some websites were just slow (javascript maybe?)

BTW, I have kmod-catalyst installed. Maybe that is causing me to suffer. I also did some testing with OpenCL so I installed some drivers from AMD. I have an AMD v4900.

# Reference

http://peter.sh/experiments/chromium-command-line-switches/

HowTo: Regenerate tmpfiles without restarting

Ok, I’m playing around with thin and nginx now. I am into sinatra and padrino and stuff.

So, I am creating sockets for thin so nginx can read them. I need a directory in /run

I’ve decided to create a directory called thin; with 2770 permissions and owner/group would be renich/nginx (for now; when done, I’ll create the app’s own user).

There is a standard way to do this. Just create a file:


# /etc/tmpfiles.d/thin.conf
d /run/thin 2770 renich nginx -

Now, how do I make the tmpfiles regenerate without restarting? Fairly easy:


su -c 'systemd-tmpfiles --create'

# References
man 8 systemd-tmpfiles

http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html

HowTo: Cómo monto un SMB share en Fedora 18?

Bueno, hoy, en lo particular, tube un poco de problemas al querer montar mi disco duro de películas en Fedora.

No tuve problemas antes, pero, imagino, han de ser algunas ondas relacionadas con la edad de mi router TP-Link; el cual comparte mi disco duro de películas en la red.

La neta, usa GNU & Linux internamente. Lo que pasa es que tiene una versión de samba medio viejita. El caso es que necesité una opción especial, ya que me estaba dando el siguiente error:

CIFS VFS: cifs_mount failed w/return code = -5

Bueno, ya no la hago más de emoción. Así lo pude montar:

mount -t cifs //router1/volume1 hdd -o username=renich,guest,nounix,cache=none,sec=ntlmv2

La opción mágica fue la “sec=ntlmv2″. No estoy seguro pero, imagino, samba o mount.cifs utiliza un protocolo de seguridad diferente; más nuevo probablemente.

Warning: nginx 1.2.7 broke down

Ok, today, I was playing around with my zend framework.

I noticed that nginx had some updates and I applied them. It stop working after a nice systemctl restart nginx.service.

Now, here’s my setup: https://github.com/renich/fedora-configs/tree/nginx

Well, more less. I have things configured for development so nginx has “debug” as log level and php shows all errors; as well as the zendframework setup has “development” instead of “production” as it’s env variable.

Anyway, things just stopped working and the bug has been reported: https://bugzilla.redhat.com/show_bug.cgi?id=918351

autokrn: an automated kernel building system

Well, I kind of had this idea: https://plus.google.com/114257692259380959226/posts/WDgaDk46eZB

And I am working, as newbie as I am, in a ruby project that I’ve named autokrn.

What it should do

  • It should detect all your hardware and know which modules you’re currently using.
  • it should git clone the kernel version you want and it would get the Fedora patches form the repos or not if you want it vanilla. It could get Debians, Gentoo’s, Mageia’s or RHEL’s kernel as well if you like.
  • It should configure the kernel work with your hardware and give you an opportunity to choose any other features/modules you want. Needless to say, it should compile for your exact arch and it should be able to fetch data from the Internet (or not) on which flags to use in order to make it faster/stabler/secure; according to your needs and the profile you choose. You can just choose one of the default profiles or pick one from the published ones (on the repo, web service or whatever) and you could publish your own.
  • It should install your kernel and do all the grub/dracut magic you need it to.
  • When you add hardware, you should be able to compile that module and insert it with a command. Hell, it might just as well auto-detect it for ya and do it in the background.

I am still not publishing the project ’cause I’m embarrassed by my code. I will learn a bit more ruby and keep up the work. It shouldn’t be that hard to accomplish. For now, the coolest part, is that it uses the 256 color codes for the terminal, hehe.

With all due respect, all criticism is welcome. Sincerely, I don’t care for all the reasons why I shouldn’t do it; but I do for those why I should.

If you’re interested in contributing, feel free to contact me: renich at fedoraproject dot org

autokrn in action

A frist draft of autokrn

Enjoying the all new CloudSigma 2.0

For those of you who don’t know, my servers are hosted by CloudSigma. Not only my personal one and the “Servidor de la Comunidad” one; but, also, I have a sponsored one to promote Fedora Packaging in spanish.

Ok, so, the CloudSigma crew sent me an email telling me I’m one of the lucky customers to get a migration to their new cloud + a 20% discount for 6 months or something. I totally accept. Why?

Well, first off, they have this all-SSD setup which is awesome. Don’t believe me?

[renich@web1 ~]# dd if=/dev/zero of=file.img bs=128k count=8k
8192+0 records in
8192+0 records out
1073741824 bytes (1.1 GB) copied, 1.09462 s, 981 MB/s

On Fedora, with oflag=direct, it gave me around 230 MB/s but who uses directIO anyway?

The network speed is really something

[renich@web1 ~]# wget ftp://mirrors.kernel.org/fedora-enchilada/linux/releases/18/Fedora/x86_64/iso/Fedora-18-x86_64-netinst.iso
--2013-02-11 14:09:52-- ftp://mirrors.kernel.org/fedora-enchilada/linux/releases/18/Fedora/x86_64/iso/Fedora-18-x86_64-netinst.iso
=> ‘Fedora-18-x86_64-netinst.iso’
Resolving mirrors.kernel.org (mirrors.kernel.org)... 149.20.4.71, 149.20.20.135
Connecting to mirrors.kernel.org (mirrors.kernel.org)|149.20.4.71|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /fedora-enchilada/linux/releases/18/Fedora/x86_64/iso ... done.
==> SIZE Fedora-18-x86_64-netinst.iso ... 308281344
==> PASV ... done. ==> RETR Fedora-18-x86_64-netinst.iso ... done.
Length: 308281344 (294M) (unauthoritative)

100%[======================================================>] 308,281,344 37.0MB/s in 9.0s

I’ve seen speeds of up to 80 MB/s but have no proof of that right now.

Also, their new infrastructure is really good. They have 10Gbit interconnections and 1Gbit Internet access; new hardware, new switches, new everything! Man it’s nice to be on new; top of the line equipment.

Besides that, they offer to interconnect VLANs without needing VPNs and stuff. And, as they say in their email:

  • cool private patching that extends your cloud VLANs into your own infrastructure without needing VPNs
  • run up to eight private networks per server
  • additional advanced CPU options such as NUMA topology boosting CPU performance especially for Windows environments

I also know some other things, like:

  • they support qcow and qed right now (not sure about qed though).
  • you can download/upload your Fedora-made images via FTP to your account. Nothing to it (not like AMIs; which are a mega-pain to build).
  • if you have special needs, just let them know. They’re flexible!
  • you can talk in bitcoin to them; if you contact them and this is not official AFAIK.
  • the guys that work there rock. I’ve been in contact with them and I know this.

The prices are incredible. Not only they offer SSD at the price of magnetic drives. Here’s a little discount table I got from them:

Subscription disscounts (valid until march 1st):
6 months: 30%
1 year: 45%
2 years: 55%
3 years: 65%

Or, you can always pay-as-you-go; just pay for the resources you use.

Another reason is that the UI is really cool… not that the old one wasn’t ;)

Now, this email would seem like if they paid me to publish. It is not but you’re free to think what you want.

I just know their service is the best I’ve came across so far + their commitment to FOSS is obvious. They use KVM/Qemu and Fedora and Ubuntu internally (AFAIK). They sponsor a few FOSS projects and have announced to my LUG that they would host any FOSS project that benefits Virtualization in any way.

I just felt like publishing this in my own words. I like the idea of supporting companies that are Community-Friendly and give it their best.

Give CloudSigma a try. You will be very pleased to have done so… No, you don’t need to thank me. ;)

# Website

http://cloudsigma.com/

HowTo: Como reinstalar grub2-efi @ Fedora 18

Hoy hice una actualización de EFI; antes BIOS, y se cargó a la chingada mi booteo en Fedora. Porqué? Bueno, con eso del UEFI, ahora, en Fedora (y varias otras distros), el booteo es manejado por el EFI. Hay que registrar tu booteador en el EFI.

En todo caso, batallé bastante porque, para variar, el pendejo de Yo creía que solo había que hacer un grub2-install en /dev/sda y no fue así.

Estuve buscando un rato y la que me funcionó es esta. Por favor, comenta si no te funciona o si quieres sugerir otro método.

Ahí va la receta:


# Insertas el DVD de Fedora 18 (o el rescue cd)

# Bootéalo en modo UEFI. Mi tarjeta madre ofrece bootear el cd-rom en standard y UEFI. Ésto es muy importante.

# Una vez en Grub2, antes de seleccionar Fedora 18 del menú de inicio, tienes que editar la entrada. Presiona 'e' para editarla.

# En la línea que dice efilinux, agrega la palabra "rescue" al final de la línea.

# El sistema te ofrecerá montar el sistema que encontró. Móntalo y ve a /mnt/sysimage
cd /mnt/sysimage

# Una vez ahí, haz un chroot al sistema
chroot .
su -

# Primero que nada, lee bien el comando. Si no instalaste Fedora en /dev/sda y/o cambiaste la partición EFI (diferente a /boot/efi, entonces cambia los valores presentados
# Ahora, hay que agregar la entrada con el grub2 install
grub2-install --target=x86_64-efi --root-directory=/boot/efi --boot-directory=/boot/efi/EFI --bootloader-id=Fedora --no-floppy

# Regenerar el grub2-efi.cfg
grub2-mkconfig -o /boot/efi/EFI/Fedora/grub.cfg

# reinicia

# Referencias

https://vennard.org.uk/blog/post/35

https://fedoraproject.org/wiki/GRUB_2