Curiocidades Matemáticas

Hablando hace unos días con mi novia sobre calculo integral, de si se enseña correctamente las matemáticas en las escuelas, si los estudiantes entienden bien los fundamentos de que es una integral, etc, etc, o si simplemente se aprende X numero de formulas, se aplican a determinados problemas y se pasa la materia, nos pusimos a discutir la teoría básica de qué es y qué representa una integral, le comenté que personalmente pienso y creo que la enseñanza del  calculo diferencial e integral en los institutos educativos debería comenzar explicando como los antiguos matemáticos calculaban el área de figuras irregulares (curvas) mediante el calculo de la suma de áreas de figuras conocidas contenidas dentro de ellas, como Newton y leibniz edificaron los principios de lo que hoy conocemos como Calculo integral y diferencial, como deducir la formula que representa determinada figura, ya sea regular o irregular serian según yo temas básicos para poder comprender y aplicar el calculo integral de una forma correcta no simplemente porque es un requisito para acreditar un curso, estuvimos hablando de cosas muy básicas hasta que llegamos al cuestionamiento que me llevó a escribir este post, y es que le pregunté porqué la formula:

Pi*(r*r)

Representa el Área de un circulo, vimos muchas respuestas, entre ellas que al integrar la formula que representa la mitad de una circunferencia se obtiene la formula del área del circulo dividida por 2 (lo cual tiene sentido), esta explicación me gustó mucho pero tiene el inconveniente de que los antiguos griegos conocían la formula del Área del circulo y esto fue mucho antes que que Newton y leibniz tocaran el planeta, estábamos en busca de una explicación mas “mecánica” por decirlo de alguna forma, y fue cuando encontramos el siguiente video, que lo disfruten:

Posted under Funny, History, Matematichs, science by admin on Monday 5 July 2010 at 1:12 am

OpenBSD Release Song 4.6 “Planet of the Users”

Welcome to the future
One very rich man
runs the Earth with
one multinational
owns your stuff
and owns your birth

Everyone is armless
Personal robots
Do it all for you
Sitting on your slug head
One channel TV
never gonna bore you

CHORUS
Does it sound like a paradise
or a way to die
while alive and a loser
I’m a man from the open past
And I’ll never last
on the Planet of the Users

Everyone is happy
No more government
No more media
Only the Company
Entertains you
while it feeds you

Soylent Green pap
Eating your friends while
shopping, buying
Stupid applications
Obsolete before you try them

CHORUS

Take me back
Take me back
Please
Take me back

Way back in my time
Open source kept
everyone choosing
People knew the insides
Of devices they were using

Hackers had a doorway
Now it’s locked and
dumbed down so much
One button coma
Stop the future truly outta touch

CHORUS

OpenBSD song

OpenBSD song

I want to listen this great song.

Posted under *BSD, Funny, OpenBSD, Operating Systems, Unix by admin on Wednesday 16 September 2009 at 3:00 pm

George’s Secret Key to the Universe by Lucy and Stephen Hawking

Hace unos días que viajé desde la ciudad de México a mi ciudad natal compre una revista de “divulgación científica” (la divulgación científica ya no es lo que solía ser hace 13-14 años), la revista traía entre otras cosas una entrevista al físico teórico Stephen Hawking junto con su hija lucy Hawking, el tema era la relación laboral que existe entre ellos dos, y es que fue así como me enteré de que Stephen Hawking escribió en colaboración con su hija una historieta cómica sobre aventuras atravez del espacio desde una perspectiva de la física.

A continuación algunos fragmentos de la entrevista que me parecieron muy interesantes/divertidos:

Lucy, cuentanos acerga de Goerge y la caza del tesoro cosmico:

Es una obra sobre aventuras y fisica. El pequeño héroe Goerge parte a un viaje por el sistema solar y mas alla. Sigue una serie de pistas en pos de un tesoro cosmico con ayuda de Cosmos, la super computadora del vecino, que constituye una puerta al Universo. La pregunta esencial del libro es “¿hay alguien ahi?”, uno de los tres grandes temas que mi padre quiere tratar en las hobras infantiles que elaboremos conjuntamente. “¿que ocurre dentro de un agujero negro?” es el tema del anterior, y “¿Que ocurrió en el big bang?” el del próximo.

El libro incluye una descripción muy graciosa de una fiesta de “vístete de tu objeto espacial favorito”. ¿Ustedes la inventaron?

No, no del todo! Tomé la idea de una fiesta de nochevieja que celebró mi padre hace algunos años, tengo una foto estupenda de él vestido de alienigena, con un traje de fieltro verde. Pidió que le programaran una voz especial en su dispositivo de voz y se paseo por la fiesta diciendo: “Llevenme ante su líder”. Además tal y como contamos en el libro, hubo un científico que iba de rojo y se ponía junto a la gente, y se apartaba antes de pedirles que averiguaran lo que era. Se había vestido del desplazamiento hacia el rojo, el efecto por el cual la radiación electromagnética de los objetos lejanos se desplaza hacia el extremo rojo del espectro como resultado del movimiento que los aparta de la tierra.

¿En su casa hablaban de agujeros negros durante la cena?

Sí, mucho. Yo me crié en Cambridge y en casa siempre había físicos que venían a cenar y a hablar de su trabajo. En la fiesta de cumpleaños de mi padre de este año, un físico intentaba construir un agujero negro con un globo y unas medias.

Parece como si esa colaboración hubiese cambiado su relación.

Si, nunca se me ocurrió que trabajaríamos juntos. Muchas veces hiba a su casa y le leía fragmentos del texto durante la cena. Un dia mientras le leia los primeros capitulos del libro, le dio un ataque de risa que dos personas tuvieron que levantarlo porque se cayó de la silla, creo que jamás le habia visto reírse así. Ha sido una delicia trabajar con él por su claridad de pensamiento y su capacidad de expresar las cosas con sencilles. Por supuesto, el escribirlo todo con ayuda de su comunicador especial le ha resultado una tarea bastante costosa.

Lucy and Stephen Hawking

Lucy and Stephen Hawking

La verdad que despues de leer toda la entrevista no puedo dejar de imaginar que tan Interesante/divertido seria poder convivir con cientificos de este calibre, en fin para los que quieran saber mas sobre esta obra de Stephen Hawking pueden consultar la siguiente direccion de internet:

http://www.georgessecretkey.com/

Para los que esten interesados en comprar el libro aquí estan los datos del mismo:

Titulo Original:George’s Cosmic Treasure Hunt.
EAN: 9780385611909
Format: Hardback
Published: 2 Apr 2009

Para los que quieran leer la entrevista completa la pueden encontrar en la revista Quo N°114 Agosto del 2009.

Creo que este libro es de esos que no podré dejar pasar ……. :D

George's cosmic treasure hunt

George's cosmic treasure hunt

PD: El efecto del desplazamiento hacia el rojo del que se  habla en la entrevista se llama efecto dopler,  si, el mismo efecto dopler del sonido tambien afecta a la luz, pues la luz es una onda, cuando los objetos se alejan a velocidades muy grandes la amplitud de las ondas se agranda como si fuera un resorte que se estira, las ondas de luz de amplitud grande se ven de color rojo, las ondas con amplitudes pequeñas se ven de color azul y es asi como en la astronomia se sabe si un objeto se acerca o se aleja.

Posted under Books, Funny, My boring life, My life, Phisic, Universe, science by Espartano on Saturday 5 September 2009 at 6:20 pm

My relatives love me so much -_-

Daemon Lover !!!: :-O jack que haces ?

Roberto…: haciendo pruebas de mi sistemita..:D

Daemon Lover !!!: Con FreeBSD ?

Daemon Lover !!!: solamente tu te diviertes jack xP

Roberto…: jajajajaj.. con freebsd.. java.. y circuitos embebidos..:D.. para k te de envidia..:P

Roberto…: tengo un problema… le mando un mensaje a un dispositivo y me contestan todos…:S

Daemon Lover !!!: :@

Daemon Lover !!!: lero lero, me da un chingo de gusto

Daemon Lover !!!: xD

Roberto…: ya lo valide con numero de dispositivo.. ya lo cheque con el servidor… k solo lo envie a ese dispositivo.. y no jala..: :p

Roberto…: jajajjajaja:P

Roberto…: te da envidia..:P

Posted under FreeBSD, Funny, My boring life, My life by admin on Wednesday 1 July 2009 at 11:00 pm

My favorite movies

The last week a friend asked me if I could suggest him some movies because he was boring, At that time I didn’t know what to answer him but I suddenly thought “He is an engineer sistem, He could enjoy some of my favorites movies about computers”, well here is my list of my favorites movies about computers, if you can get it I sure that you will enjoy it :)

Tron

tron

Tron is a cience fiction Disney’s movie from 1982 about a programer’s story that was “eaten” by a computer, The programer wake up into his machine immersed in his own video games in a fantastic world then he try to hack the main frame from his company to get evidence about an injustice.

WarGames

wargames

WarGames is a film from 1987 about a kid who obtain access to a pentagon’s computer (The kid doesn’t know where the computer is), that computer controls all nuclear weapons of USA but the kid believe that is only a video game, when the kid dicovers that he start to find out who had programed the computer to save the world.

pirates of silicon valley

pirates_of_sillicon_valley

Pirates of Sillicon Valley is a movie from 1999 based in a true history about how Bill Gates (Microsft) and Steve jobs (Apple) made revolutionary changes in the software and hardware industry, sometimes using lies to get his objetives.

Takedown

takedown

Takedown is the history (based in real facts) about the pursuit and capture of Kevin Mitnick who hacked a lot of companys getting its industrial secrets (according to the film), that was an incredible history of the ages when the internet started to be comercial net.

Antitrust

antitrust

Antitrus is a film about a young idealist and smart programmer called Milo Hoffman who make incredible softwares, he works in free way with his friends over a software that a big company wants and it will do anything to obtain the software.

The Matrix

the_matrix

I think that I don’t need to said anything about this film ;)

Sneakers

sneakersReally I can’t said anything about this film, it is a suggest from a friend to me but unfortunately I couldn’t get the film yet here in Mexico :( .

Haven’t you had enough? Ok these are some of my favorite films/documentals about computers:

The Code (codigo linux)

Part 2.

Part 3.

Part 4.

Part 5.

RevolutionOS

Part 2.

Part 3.

Part 4.

Part 5.

Part 6.

Part 7.

Part 8.

Part 9.

Piratas Informaticos

That is my favorite documental because it takes the history of Steve Wosniak, Captain Cruch, Kevin Mitnick and more…

Part 2.

Part 3.

Part 4.

Part 5.

Part 6.

There is another interesting documental but at this time I can’t remember the name of it but you be sure that when I remember it I will post it :) , I hope that if you are a computer lover you will enjoy all that films/documentals like me.

Posted under Documentals, Funny, History, Movies, Movies/films, Operating Systems, Programs, science by Espartano on Monday 8 June 2009 at 12:43 am

Steak is diferent than Stick

Some days ago at the morning I went to my english class with my teacher angie, angie’s english is very good and she was teaching me some things about sense verbs (smell, taste, feel, hear…), suddenly in our chat I said something like this “My steak doesn’t taste enough good”, but I had a little trouble when pronounce the word “steak” it rang like “stick”, suddenly angi ran laughing a lot toward her friend veronica and she told her it, then they start to laugh a lot, all that I could to do was get blush and laugh also xD

Steak

Steak

Posted under Funny, My boring life, My life by Espartano on Thursday 4 June 2009 at 11:10 pm

Lazy people works hard

Keep in mind that this is my first post in english, please if you see something written bad, let me know leaving a comment. well here we go.

some days ago I was very bored and tired at my job enough to do nothing that day, however I remembered that I would had to do one task, I needed to compare two databases to know what tables there was into the first one but not in the other one (each database had lots of tables), I’m a very very lazy person when I have to do humdrum tasks and that was definitely. I wouldn’t had wanted to acomplish that task reviewing table by table. I started to think how to do my task in a diferent way, suddenly an idea through across my mind, I would be able to list the name of all tables from each database then I could put all those names into a table containing only the names and making a SQL statement to group the names I would get group’s name, groups having only one element would be the result that I had been searching, but it all still was lot of work for my laziness, therefore I had to find out another way to solve my problem otherwise I would end doing it by hand and thought to myself “never mind, I never going to do that by hand”. It was the time when I remembered that Unix systems has lots of tools to manage text files maybe I could use something tools. Suddenly I remembered a command line tool called diff, the diff command compare two text files (actually it can be binary files) and show their differences, unfortunatly diff doesn’t do the work exactly as easy as I would like, by example having two files called db_one.txt and db_two.txt whit the name of the tables:

db_one.txt

table1
table2
table3
table4
table7
table9
table10

db_two.txt

table1
table2
table3
table4
table5
table6
table7
table8

Using diff command we would obtain this result:

[espartano@ ~/pruebas/diff]$ diff db_one.txt db_two.txt
4a5,6
table5
table6
6,7c8
table9
table10
---
table8
[espartano@ ~/pruebas/diff]$

but it doesn’t enough good for me, I would have liked a command more straightforward than diff (maybe with patch but I not remembered it in those times), well I had to continue searching a command that just make my work in a easy way, then was when I found the blessed command comm, yes, comm going to solve all my problem because as man page says:

utility comm reads file1 and file2, which should be sorted lexically, and produces three text columns as output: lines only in file1; lines only in file2; and lines in both files.


having the same two files from the last time:

[espartano@ ~/pruebas/diff]$ comm db_one.txt db_two.txt
                table1
                table2
                table3
                table4
        table5
        table6
                table7
        table8
 
table9
table10
 
[espartano@ ~/pruebas/diff]$

voiala this is the result that I was finding. At those point I wasn’t tired nor bored :) because I learned a couple new things, but I think that I worked more than what was do it by hand.

Only if you insist, this is the way which I would have done with SQL:

[espartano@ ~/pruebas/diff]$ cat db_two.txt >> db_one.txt
 
[espartano@ ~/pruebas/diff]$ cat db_one.txt
table1
table2
table3
table4
table7
table9
table10
 
table1
table2
table3
table4
table5
table6
table7
table8
 
[espartano@ ~/pruebas/diff]$ cat db_one.txt | sed -e s/^/"insert into tablas (nombre) values ('"/g > insert.sql
 
[espartano@ ~/pruebas/diff]$ cat insert.sql
insert into tablas (nombre) values ('table1
insert into tablas (nombre) values ('table2
insert into tablas (nombre) values ('table3
insert into tablas (nombre) values ('table4
insert into tablas (nombre) values ('table7
insert into tablas (nombre) values ('table9
insert into tablas (nombre) values ('table10
insert into tablas (nombre) values ('
insert into tablas (nombre) values ('table1
insert into tablas (nombre) values ('table2
insert into tablas (nombre) values ('table3
insert into tablas (nombre) values ('table4
insert into tablas (nombre) values ('table5
insert into tablas (nombre) values ('table6
insert into tablas (nombre) values ('table7
insert into tablas (nombre) values ('table8
insert into tablas (nombre) values ('
 
[espartano@ ~/pruebas/diff]$ cat insert.sql | sed -e s/$/"');"/g > completed_inserts.sql
 
[espartano@ ~/pruebas/diff]$ cat completed_inserts.sql
insert into tablas (nombre) values ('table1');
insert into tablas (nombre) values ('table2');
insert into tablas (nombre) values ('table3');
insert into tablas (nombre) values ('table4');
insert into tablas (nombre) values ('table7');
insert into tablas (nombre) values ('table9');
insert into tablas (nombre) values ('table10');
insert into tablas (nombre) values ('');
insert into tablas (nombre) values ('table1');
insert into tablas (nombre) values ('table2');
insert into tablas (nombre) values ('table3');
insert into tablas (nombre) values ('table4');
insert into tablas (nombre) values ('table5');
insert into tablas (nombre) values ('table6');
insert into tablas (nombre) values ('table7');
insert into tablas (nombre) values ('table8');
insert into tablas (nombre) values ('');
mysql>; CREATE DATABASE prueba;
Query OK, 1 row affected (0.13 sec)
 
mysql> USE prueba;
DATABASE changed
 
mysql> CREATE TABLE tablas (nombre varchar(50));
Query OK, 0 rows affected (0.42 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table1');
Query OK, 1 row affected (0.11 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table2');
Query OK, 1 row affected (0.03 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table3');
Query OK, 1 row affected (0.03 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table4');
Query OK, 1 row affected (0.03 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table7');
Query OK, 1 row affected (0.02 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table9');
Query OK, 1 row affected (0.01 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table10')
Query OK, 1 row affected (0.03 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('');
Query OK, 1 row affected (0.03 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table1');
Query OK, 1 row affected (0.06 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table2');
Query OK, 1 row affected (0.02 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table3');
Query OK, 1 row affected (0.02 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table4');
Query OK, 1 row affected (0.01 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table5');
Query OK, 1 row affected (0.03 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table6');
Query OK, 1 row affected (0.01 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table7');
Query OK, 1 row affected (0.01 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('table8');
Query OK, 1 row affected (0.02 sec)
 
mysql> INSERT INTO tablas (nombre) VALUES ('');
Query OK, 1 row affected (0.03 sec)

then

mysql> SELECT nombre FROM tablas GROUP BY nombre HAVING count(nombre) = 1;
+---------+
| nombre  |
+---------+
| table10 |
| table5  |
| table6  |
| table8  |
| table9  |
+---------+
5 rows IN SET (0.02 sec)
Posted under DataBases, Funny, Influenza, My life, Operating Systems by Espartano on Sunday 31 May 2009 at 9:06 pm

¿Cuando has pasado mucho tiempo en Internet?

Iba pasando por la sala de la casa y mis progenitores (léase mis padres) estaban viendo una película que particularmente a mi me gusta mucho (El señor de la guerra), me quedé un momento “baboseando” la pantalla del televisor y caminé rumbo a la recámara para poderla ver con toda comodidad, mientras caminaba recordé que no sabia cual era el número de canal por donde la estaban transmitiendo y sin pensarlo dos veces pregunté “¿en que pagina está?”

-_-

Posted under Funny, Movies, My boring life, My life by Espartano on Thursday 28 May 2009 at 11:00 pm

¿Cambiar o no cambiar?

Pues así esta la cuestión, resulta que hace aproximadamente 15 días regresé a mi viejo vicio de hacer ejercicio en modalidad gym+pesas, en ese “corto” lapso de tiempo logre bajar una talla, lo noté porque los pantalones que uso a diario ya no me quedan y tuve que ajustar una trabilla menos al cinturón que uso, todo iba perfectamente bien, la grasa abdominal estaba comenzando a desaparecer pero me di cuenta de que de primera instancia había eliminado toda esa grasa abdominal que era posible con el simple hecho de hacer ejercicio y que para seguirla eliminando necesitaría ayuda profesional, así es que decidí ir al nutriologo, consulté a una nutriologa muy muy buena y profesional hermana de uno de mis mejores amigos, la cual me midió, me pesó, y me pregunto sobre mis habitos alimenticios entre otras cosas que necesitaba saber para diseñarme una dieta a la medida, todo iba perfectamente hasta que le mencione el hecho de que estaba haciendo ejercicio con pesas y le comente un curioso hecho sobre ello, resulta que sí, he bajado una talla pero he aumentado de  peso, se me quedo mirando y me dijo “tienes que dejar las pesas, hay dos tipos de cuerpos de las personas, hay quienes tienen mas densos los huesos que los musculos y hay quienes tienen mas densos los musculos, tu eres de los últimos, lo que tienes que hacer es trotar por 30 o 40 minutos diarios pero no hacer pesas”, actualmente peso aproximadamente 86kg. y mido 1.70 mts, mi nutriologa quiere que pese 79kg. y he aquí la gran disyuntiva, por un lado me gusta muchisimo hacer pesas, sentir como los musculos se estiran y comienza a producirse ácido lactico, como este ultimo comienza a producir un pequeño ardor en los musculos que se están trabajando y se convierte rápidamente en un dolor casi insoportable (insoportable para cosas no vitales), cuando terminas el entrenamiento la mente esta muy relajada y el cuerpo algo cansado, todo perfecto para dormir y descansar placenteramente, esa sensacion me agrada muchisimo en todo su conjunto, por otro lado trotar o correr es algo que  sencillamente me castra, no me gusta para nada, además de que no tengo resistencia para eso, la poca que tenia la perdí al entrar a la preparatoria y nunca la volví a recuperar ni me ha interesado demasiado hacerlo, si corro 100 mts estoy casi muriendome por la espiración agitada y no puedo darme ese lujo debido a un problema neuronal que ya casi desaparece pero prefiero no experimentar, así es que tendré que tomar una decision, tal vez lo mejor sea combinar las dos cosas, poco peso + muchas repeticiones en vez de mucho peso + pocas repeticiones, aunque no se que pueda pasar con la dieta de 1700 calorías que me diseñó, en fin el lunes tendré que tomar la decision.

Posted under Funny, My boring life, My life by Espartano on Sunday 24 May 2009 at 1:02 am

Tom Lane’s Funny T-Shirt

Tom Lane T-Shirt

Tom Lane T-Shirt

Yes, The man who appears in the picture is Tom Lane xD

Posted under DataBases, Funny, PostgreSQL, Programs by admin on Friday 22 May 2009 at 11:05 pm

Next Page »