Archive for August, 2007

Linux: Como copiar un archivo a multiples ubicaciones con un solo comando

Wednesday, August 29th, 2007

Aprovecho la ocasion para ilustrar un poco el poder del bash a los amigos que recien se unen al mundo de linux. Muchas veces tienes que hacer operaciones en las cuales tienes que tocar multiples archivos, por ejemplo, remplazar un archivo en varios lugares.

Yendo a un ejemplo concreto, El splash screen de FrostWire vive en varios lugares:

find . | grep splash | grep -v svn
./lib/themes/pinstripes/default_splash.png
./lib/themes/pinstripes/splash.png
./gui/com/limegroup/gnutella/gui/images/splash.png
./gui/com/limegroup/gnutella/gui/images/default_splash.png
./gui/com/limegroup/gnutella/gui/images/splashpro.png
./gui/com/limegroup/gnutella/gui/images/default_splash_pro.png

Todos esos archivos son un mismo archivo con diferente nombre. Hoy tengo que actualizar el splash screen para que aparezca un nuevo numero de version, y es un fastidio hacer cp manualmente para cada uno de ellos… que hacemos? un for

Mi archivo nuevo se llama splash_4.13.3.png y quiero pegarlo automaticamente sin que se me olvide ninguna URL en todas esas ubicaciones, con esos nombres.

Lo que hacemos es que volvemos a hacer ese grep, y lo metemos en una lista, y luego recorremos esa lista y para cada elemento de la lista hacemos cp splash_4.13.3.png $elemento

Veamos:


for elemento in `find . | grep splash | grep -v svn`; do cp splash_4.13.3.png $elemento; done;

Para los amigos nuevos con bash, el uso de las comillas simples hacia atras ejecuta el string. Luego el for se ejecuta en cada uno de los elementos de esa lista generada por el find | grep.

Espero que les sea de utilidad.

Venezuela directly finances Latin America’s Economy (with more $ than the US)

Tuesday, August 28th, 2007

I just read this after following a link on the homepage of CEPR:

“Bolstered by windfall oil profits, Chavez’s government is now offering more direct state funding to Latin America and the Caribbean than the United States. A tally by the Associated Press shows Venezuela has pledged more than $8.8 billion in aid, financing and energy funding so far this year.

While the most recent figures available from Washington show $3 billion in U.S. grants and loans reached the region in 2005, it isn’t known how much of the Venezuelan money has actually been delivered. And Chavez’s spending abroad doesn’t come close to the overall volume of U.S. private investment and trade in Latin America.”

So in short, Venezuela has done DIRECT funding worth 3 times as much as that of the United States, the richest and most powerful nation on earth.

I guess this sounds good, but WHY THE HELL IS THERE SO MUCH POVERTY, INSECURITY, AND HIGH UNEMPLOYEMENT RATES IN VENEZUELA TODAY?

My mind cannot grasp this, its like a 4th dimensional something my brain can’t even conceive.

Another question I leave to the readers is… what’s going to be the cost of all this help for all those countries, there’s nothing free in life, is this beginning of a new Soviet Union but in South America?

Via Chron.com

FrostWire (Fw) listed on the Periodic Table

Thursday, August 23rd, 2007

FrostWire on the periodic table of the internet

On the Periodic Table of the internet that is. Great honor for FrostWire.com

First Unlocked iPhone?

Tuesday, August 21st, 2007

You tell me…


MyBloop.com – Upload unlimited files for free

Episodio 0065 – DAME PA MATALA

Sunday, August 19th, 2007

Agrega a iTunes Agreganos a tu iTunes | Download en mp3 | Suscribete a este podcast


Free unlimited music storage at MyBloop.com

Esta edicion del podcast es una ocasión sumamente especial, La Tati y Gubatron tuvieron el privilegio de producir el primer podcast que haya entrevistado a la futura leyenda musical venezolana Dame Pa Matala

Tuvimos una conversacion muy amena con cuatro integrantes de la banda, y no escatimamos en tiempo para utilizar este espacio para documentar lo que se siente conversar con esta banda que esta cargada de energia positiva y optimismo.

Nos acompanaron desde San Felipe (Yaracuy), Venezuela y nos cuentan quienes son, su historia, su mensaje, su musica, sus planes.

Pudimos entrevistar en esta ocasión a:

  • Jesus “El Chucho” Rojas – Flautista Virtuoso
  • Pedro Luis “Cacayara” Blanco – MC
  • Harry Ramos – Percusionista
  • William Alvarado – El Cuatro y Voces
  • Lisandro Galup – El “Panager”

El Prof. Juan Carlos Marin no pudo acompanarnos en esta ocasión, quien esta tambien en los instrumentos de percusión.

Esta entrevista tiene la finalidad de mostrar al mundo una extraordinaria union de talentos, musicos que han creado un disco con identidad propia, estoy seguro que una vez que los conozcan donde sea que los escuchen sabran que eso que suena es Dame Pa Matala, pues no imitan a nadie son demasiado autenticos.

Contacta a Dame Pa Matala
Aun su pagina web esta en construcción pero pueden entrar en contacto con ellos por su pagina en MySpace -> http://www.myspace.com/damepamatalayaracuy

Videos

Grabando Fucking Reggaeton


MyBloop.com – Upload unlimited files for free

En Favor de la Paz


MyBloop.com – Upload unlimited files for free

Palabras de Gubatron
Este podcast lo recomiendo de todo corazon, aqui en wedoit4you.com se nos erizaron los pelos escuchando el podcast y escuchando su musica, es indiscutiblemente que tienen el exito garantizado, solo quedará de parte de ellos en ser perseverantes, responsables, y tambien hago un llamado a la blogosfera y podcastosfera venezolana en redistribuir este material, para que se escuche el mensaje de Dame Pa Matala en lo mas recondito del planeta.

Apoya a Dame Pa Matala, Distribuye su mensaje en Internet
Para esto, recomiendo poner este podcast, o el playlist de dame pa matala en sus podcasts o blogs, demostremosle a esta banda el poder de internet para hacerlos conocer por medio de la red.

Coloca un playlist con canciones de Dame Pa Matala en tu blog/myspace

Coloca este podcast en tu blog (Copia el codigo que aparece en “Embed Playlist on MySpace/Blog”)

Patrocinantes de este Episodio

Si deseas patrocinar el proximo episodio de wedoit4you.com escribe a podcast@wedoit4you.com

(Estaremos actualizando este post si tenemos nueva informacion de Dame Pa Matala)

Why NYC Geeks have a hard time making ‘Sillicon Alley’ boom?

Thursday, August 16th, 2007

View of Manhattan from Manhattan Ave. in Greenpoint, Brooklyn, NY - Taken by Gubatron, Aug 2007

There’s been a discussion this week on the New York Tech Meetup mailing list, and this guy’s answer (Allan Benamer) has to be documented somewhere. Check this out.

“…find it difficult to understand why a Stanford can achieve such great town-and-gown synergies that brought the world Yahoo!, Cisco, Sun Microsystems, Google, Silicon Graphics, etc., and a Columbia or a Rutgers or a Cornell or a SUNY cannot.”

I’m from the West Coast and got to see the dotcom boom up close. I think it’s not just Stanford but my alma mater, Berkeley, and a host of other great schools on the West Coast like UCLA and Cal-Tech that are also helping out. The truth of the matter is that much of NY Metro’s inherent “nerd power” is sucked up by financial services firms. An engineer being paid upwards of $100k a year to do crappy Oracle SQL calls for some financial services Intranet app is pretty much the average around here. There’s no incentive to innovate as a result. Plus, there’s a cultural problem. If you go on BART, you’ll see people reading programming books all the time. Here, it’s just multiple copies of Kite Runner on the subway, (not that there’s anything wrong with that, that’s why I moved out here.)

The nerd infrastructure is just not supported well either — nerds need Fry’s and great tech book stores like they do in the Bay Area. Here, all we’ve got is J&R, a host of cheesy grey market electronics retailers and Barnes and Noble. It’s hard out here for a nerd. ;)

That said, I would more than welcome whatever energies are poured into a Silicon Alley. I just hope that the infrastructure gets better as a result.