Archive for the ‘Uncategorized’ Category

HowTo install Google’s go in Fedora 13

Wednesday, June 16th, 2010

First of all, Google’s go sounds cool. It’s expermental but on production within google. It seems really cool and th paradigm change is awesome!

Please, visit: http://golang.org/

Note: we will have to rebuild the current src RPM)

1. Get the source RPM
wget http://konradm.fedorapeople.org/fedora/SRPMS/go-0-0.20100609.fc12.src.rpm

2. Setup your rpm building environ (more info at: http://fedoraproject.org/wiki/PackageMaintainers/CreatingPackageHowTo)
rpmdev-setuptree

3. Install the src RPM
rpm -i go-0-0.20100609.fc12.src.rpm

4. Find the spec file and build it
rpmbuild -bb ~/rpmbuild/SPECS/go.spec

5. Find the rpm and install it
su -c 'yum localinstall ~/rpmbuild/RPMS/x86_64/go-0-0.20100609.fc13.x86_64.rpm'

There you go. You can install, optionally, the go-vim or go-emacs package (in that same dir).

If you think you know a better way of building it, please, suggest and/or comment here. I’m no package builder…

Planeando tu viaje en México

Monday, June 14th, 2010

Hey!

Estoy impactado! El gobierno mexicano hace cosas chidas también!
http://aplicaciones4.sct.gob.mx/sibuac_internet/ControllerUI?action=cmdEscogeRuta

Es un planeador de rutas. Te dice por dónde te vayas, cuánto será de tu caseta, cuánto de gasolina y la ruta en un mapa!

Está bien chido! Por favor, escríbanle al admin sugiriéndole cosas chidas! Yo le sugerí:

- Trabaja más cerca de google maps, map quest y demás.
- Provee maneras de accesar los datos (JSON, RSS, ATOM, noSQL, CSV, etc)
- Hazlo FOSS
- Que sea colaborativo
- Que haya APIs

Ahora, es muy fácil criticar. Vamos a proponer!

# Correo del Admin
agonzgo (aroba) sct PUNTO gob PUNTO mx

Good advice

Sunday, May 30th, 2010

I’ve been thinking,

I want to set up a website with good advice. One that attracts people that think things like: “I don’t want to live”, “I feel lost” or “what should I do with my life?”

I’m sure people google this from time to time… I have…

So, here’s a good idea:

Let’s set up a website and ask the search engines for help. The website should contain good advice: religion agnostic, well fundamented and written texts. With the necessary colors to make you feel comforted and, maybe, some music.

The website should be a first result and take you, immediately, to it (kinda like the “I’m feeling lucky” feature by Google). It should include no propaganda, google adds nor any “read more” links. Just plain “get you up” texts; devised by specialists in the matter.

Maybe the UN or some international organization would lend a hand. The texts should be translated in all languages. Possibly, it could have links, in the texts, foreseeing possible reactions, for example, a reader, in the middle of it, could think “but I don’t believe what you said” and, the link would elaborate, in a special way, so, the reader, could get more interested or convinced.

The cases that should be firstly developed should be suicide cases or similar desperation cases.

So, for example, let’s say I’m thinking of killing myself and I google “I want to kill myself”. This good advice website should appear and let me read a bit… maybe watch a video and some nice music.

Another case, let’s say Susan looks for “I feel lonely…” the website would present her with a relevant text/video whatever…

Anyway, just an idea that I think it’s worth exploring.

Como configurar tu PHP sin derechos de root

Friday, May 28th, 2010

Mira! ya no se usa php_value en un .htaccess! Ahora usas .user.ini para configurar tu PHP en userspace!!

http://mx.php.net/configuration.file.per-user
http://mx.php.net/configuration

Al parecer solo sirve con fcgi, o sea, para usuarios que así configuren su apache o, también, para usuarios de cherokee! ;)

Así, solo pones ésto en un archivo .user.ini; en el directorio que lo necesitas… o debajo de él:
date.timezone = “America/Mexico_City”

Y php escoge la timezone para este proyecto.

Ésto no lo sabía y lo acabo de descubrir!

Open Letter: Audio development unification proposal

Sunday, May 23rd, 2010

I’ve tried, in numerous times, to contact different audio companies and get them to develop their products for GNU & Linux. These companies are: M-Audio (Avid), Propellerheads Software, Ableton and Digidesign (Avid).

The petition, usually, was that they should count us in… and, that, didn’t work.

Ok, here’s a new approach. What if we, all, collaborate on a charity project to produce Free and Open Source audio software?

You could centralize in a non-profit organization with the following commitments:

Develop Free and Open Source Software for those who can’t afford your products

Look at this as a charity project. You could try and develop, alongside with your fellow competitors, a piece of software that would let people with low resources, to be creative and produce high-quality music.

Join forces with the competition and learn from each other

Ok, so you compete… right. What if you let your developers work together? I’m sure you could learn a lot from each other and gain ideas for new products.

Provide ground for testing and experimental design

You know your devs have millions of great ideas! Why not let them implement them on their free time; on a pice of software that would have tons of people providing feedback and working along with all of you to make round up these new features? Come on, you could get great code!

Besides, you have the possibility of learning from new technologies like Lv2, jack and others. I’m sure you would expand your horizons as a company and would have happy developers; working for a better world!.. a more musical one at least ;)

Give back, the Community, and let them give you

This spells benefit for all sides; all the time. People with look at you as better companies and, the Community, takes care of their companies! We support them and we develop with them; we stay with them when software fails and help them repair it; we rejoice and make parties when victorious! We rule!

Conclusions

I’m sure and, if your leaders read this, they will see the great benefit in working together with your fellow competitors. The Community can give back a lot of man power to you and you could expand the knowledge and horizons. The benefit goes back to your products, the community and the users!

Please, consider on making a non-profit organization where multiple audio companies can work together. I’m sure you can see benefit in the near future.

Error: Jungando con Fedora DS (ldap)… a lo wey!

Sunday, May 23rd, 2010

Hoy estuve jugando con Fedora DS. El servicio es increible y me encanta pero, cometí un grave error.

Primero, configuré un servidor virtual con 389-ds y, luego, agregué a un usuario de prueba. Después, configuré el host, o sea, mi PC, para autenticarse con este servicio.

Funcionó a la perfección. Pero…

Cuando configuras a una pc para autenticarse por medio de LDAP, si el servidor falta, no hay un fallback a local (por lo menos en como yo la configuré)…

Reinicié y, al día siguiente, no pude hacer login!! AAAAHHH!!

Esto pasó porque no tenía prendida la máquina virtual y, por lo tanto, ya no pude autenticar!

Analicé la situación y reinicié Fedora en single user mode (le agregas un 1 a la línea de kernel; en grub) y pude cambiar, manualmente, la manera de autenticación de fedora usando el comando authconfig-tui. Ahí, desactivé la autenticación por LDAP y todo sirivió!

Documento esta estupidez para que no la cometas y, si la cometiste, veas como salir de ella.

Hoy murió Brillolino

Tuesday, May 18th, 2010

Acabo de llegar del choque.

Hoy viví un día de estos en los que vivo en el mundo en el que no me gusta vivir. Tras haber tenido la culpa, el taxista, y haber desmadrado mi carro: Brillolino, terminaron las cosas en que debo pagar el 50% de los gastos de reparación del taxi, gruas y demás. Los daños del taxi son estimados en $15,000 y, de la grúa, unos $1,200. Además, lo de mi carro; unos $8,000.

Tras haber aceptado, en privado, el taxista que tuvo la culpa, dejó ir su responsabilidad y me ha costado mi carro.

Que tristeza que la gente viva así; evadiendo su responsabilidad… que tristeza…

R.I.P. Brillolino…

Encima de todo, estaba el ajustador queriendo convencerme de que le deje el carro en garantía de pago y los papeles… no se canzan de joderse en la gente?

No tengo dinero para pagar el carro… lo tendré que dejar en el corralón hasta el fin de los tiempos… qué lástima… y ni siquiera sé que me depara el destino como deudor del taxista y del corralón… pero, ni modo… que se joda el sistema… yo no participo…

Git: cómo hacer un repositorio en un servidor http?

Tuesday, May 11th, 2010

Bueno, aquí está como:

1. Si tienes un proyecto, ve a él; si no, crea uno y, luego, le agregas git

cd /path/a/mi/proyecto && git init

2. Agrega todos los archivos a git y haz un commit

git add . && git commit -a

3. Ahora, ve un nivel más abajo en el directorio

cd ..

4. Clona, usando –bare, tu proyecto a otro directorio

git clone --bare ./proyecto proyecto.git

5. Entra a ./proyecto/hooks/ y edita copia post-update.sample a post-update

cd ./proyecto/hooks/ && cp post-update.sample post-update

6. Edítalo para que quede así:

exec git update-server-info

7. Cambia el permiso para que sea ejecutable

chmod +x post-update

8. Sube tu “repositorio” a un servidor web

scp -r /paty/a/mi/proyecto.git yo@miservidor.com:~/mi/docroot/publico/

9. Ve al directorio y correo el siguiente comando git update-server-info

ssh yo@miservidor.com "cd mi/docroot/publico/proyecto.git/ && git update-server-info"

10. Cálalo intentando clonar desde tu server

git clone http://miservidor.com/proyecto.git

Si no jala, intenta ver el directorio; se deben ver los archivos de git ahí. Si no, la estás cafeteando en algo.

The future of P2P on the cloud

Tuesday, May 11th, 2010

Last night, before sleep, I thought of this:

The new sharing system should be something as simple as a distributed, syncronized filesystem.

This new filesync should sync the files on a certain directory; for all it’s nodes (users). It should use rsync or something similar so it could send the changes only and calculate hashes to compare the files.

It should hold the list of nodes or, users, in the same dir; so everybody has the list.

There would be one master source and, when validated, the other nodes could become masters (multiple masters). Also, a node could “fork” the dir and add/change the files.

Everytime the master updates the share, you would have to authorize the changes.

This would let us share files easier and let us stop looking, eternally, for the updated torrent file or the rapidshare links to episodes of house! ;)

If done right, this could serve as a very cool replicated filesystem over Internet. Not only let us share files but, for example, share a whole server (google style; small spec nodes but millions of them!) in our machines. You could decide to “sync” some cool website you like and help them with the hosting.

Besides, we could add really cool features like encryption and stuff. Cool idea, huh?

BleachBit: La aspiradora de tu PC

Tuesday, May 11th, 2010

Hoy me topé con una gran aplicación. Ésta hace lo que a todos nos da weba: limpiar las porquerías que dejamos por ahí.

Hay muchas tonterías que nos ocupan mucho espacio; tales como: cache, temporales, idiomas que no usamos, etc.

Bueno, ya encontré la solución a todos nuestros problemas! Y, además, está en los repos de Fedora!

# BleachBit
http://bleachbit.sourceforge.net/