Thursday, July 03, 2008

Cuando nos equivocamos....

Frecuentemente se dice: "Errar es de humanos" "Solo podemos aprender si nos equivocamos". Es una forma de ver positivamente lo que nos sucede, en parte es cierto
La biblia dice que a los que aman a Dios todas las cosas les ayudan a bien.
Frecuentemente los cristianos usamos este verso para soportar un poco cuando nos llueve un aguacero de cosas. Pero que hay de cuando lo que haces cambia el rumbo de tu vida. O cuando algo que haces cambia la relacion de alguien contigo, y sabes que esa persona no volverá a ser igual. Solo piensas "Como seria mi vida si no me hubiera equivocado de esa forma". El pensamiento en el pasado te atrapa. Te inmobiliza, entristece, te quedas solo pensando en eso. Es dificil de salir de un pensamiento asi, más aun cuando lo vives en el dia a dia. Cuando te equivocas en el trabajo y tu jefe te pone una etiqueta debido a tu error.
Tu dices dentro de ti, como hago para compensar lo que hice, y sabes que no hay forma, lo que paso, lo que te hicieron, lo que hicistes cambio tu forma de ver las cosas y la forma que te ve la gente. Tu dices dentro de ti... "Ya todo lo que hice de bien no vale para nada".... se van a apoyar en esto para despreciarme con "tal" adjetivo. Hasta tu mismo te desprecias, comienzas a pensar: "Realmente no soy como pense que era".
Por suerte, hay más refugio en la palabra de Dios: Jeremias nos habla de como las misericordias de Dios son nuevas cada mañana. Puedes decir, si aún por error me equivocara mañana de la misma forma, Dios volvería a tener misericordia. Isaias nos dice que Dios cambia nuestros pecados rojos como el carmesí a lana blanca lana. Dios hizo todas las cosas, si pudo hacer lo que se ve de lo que no se ve. Quien le dice a él que es lo que se puede hacer y que no.
Si Dios te da una segunda oportunidad en cada equivocación, ¿Quién eres tú para negartela? o ¿quién eres tú para despreciarla?.
Hay otro pasaje donde Dios envia los pecados de israel (nuestros pecados) al fondo del mar para ya nunca acordarse de ellos. Si Dios ya no se quiere acordar, tu porque te recuerdas? Eres acaso más inteligente que Dios que recuerdas lo que Dios quiere olvidar? .
Mejor soltar la carga de culpabilidad, Si ya Dios pago por todo lo malo que hemos hecho... para que vamos a estar pensando en eso?. Pensar mejor en como bendecir a Dios, a nosotros mismos y a los demas.
Mejor Pensar en dar gracias porque Dios siempre tienen algún propósito. Olvidar por un momento lo que los demas piensan .... Si Dios no piensa mal de nosotros, sino que nos perdona.... ni nosotros ni nadie tiene derecho a juzgarnos por lo que hayamos hecho. Los demás estan igual de equivocados que nosotros la mayoria de las veces.

Estamos ciegos SI, pero los demás También.

Por suerte, tenemos un Guia que nos cuida y nos va enseñando poco a poco a entender nuestro camino. Nos abre los ojos.

Las consecuencias de nuestros actos, si...habrán. Pero Dios también es más grande que ellas y nos ayudará a superarlas. Aún más, Dios hallará la forma de glorificarse en nosotros y no me preguntes como.... pero confia que será así. En el peor de los casos esas consecuencias seguro nos matarán, pero recuerda que la muerte es ganancia... la muerte es ir al Reino de Dios a encontrarse con el Hijo de Dios y ser revestido de un nuevo Cuerpo ¿Qué puede ser mejor? ...es decir que lo peor que pase es simplemente lo mejor JEJEJEJE

Saturday, April 05, 2008

Ok..... algo cambió (something changed)

El cambio siempre ocurre, es inevitable. Sometimes one's prepared sometimes not. One day you wake up, you open your eyes, the light is entering your room, the morning is warm and beautiful, you jump of the bed to begin to get to ready to do what you do usually on that day of the week. But suddenly, you remember that something changed last night, and your life is not the same and you remember why. Somebody left, you are sleeping in a different place, some relationship changed, and you stay still for a period. It can be a minute, an hour, a day or worse... for weeks. Life on earth is short to fullfill the plan we're suppose to do, so.... Open your eyes... Think no more of what happened ... Think of what you believe ... delete the lies of your mind... how? Thoughts are deleted by writing on them new thoughts. Where do you get new thoughts? the word of God is a good place to start ... Forget your fears, God is in you if you have trusted him, he never forgets about you. The sun is shining in the street, babies are being borned today, the mercy of God is all over. The waves of the sea are now hitting the shore way back at you favorite beach and you can listen to them if you pay attention. Some birds are singing in joy now, if you forget for one minute what you're thinking you will be able to enjoy what they say. Life goes on. Think of this day as unique, the first day after that change that happend in you or your life. If you have to make decisions about your future life because of what happend, you will make them of course. But don't do it today. Today is a day to enjoy to remember that God is still God with you, today is a day to count your blessings, today is a day to trust Jesus your future. Dress up, comb your hair, do everything you do to look beautiful. Prepare to go out to night, don't drink to forget, Just enjoy to be alive meet someone new today. Pay attention to how someone recover from horrible disgrace in the other part of the world. You control your mind, who else do it? fill it with thoughts of wellness, happiness, joy. Whatever you do, don't stay still, MOVE!!!. And in the days to come you will say to yourself, what I did that first day was awesome and has been one of the best days of my life.
Cheers

Friday, April 04, 2008

¿Qué hay con el nombre?

Que relación más rara tengo con mi propio nombre. Supongo que tengo un problema que otros no tienen, tengo un nombre raro para el sitio donde vivo: Friedrich Ernesto. Hasta a mi me parece extraño!!. Debe ser porque soy de habla hispana, supongo que habrá alguno que lea esto y no este de acuerdo. Pero lo normal es que nadie que sepa español sepa primero pronunciar y luego asimilar que alguien se puede llamar asi? Cada vez que conozco a alguien siempre surge la misma duda de siempre: de donde es tu nombre? que significa? supongo que a la mayoria le sonará como un tema de conversacion inédito, entender que significa el nombre raro de alguien. Para mi es como lo mismo de siempre, siempre estoy escuchando la misma pregunta. A la que contesto: Es un nombre Alemán. Me lo pusieron por Friedrich Nietzsche (ask wiki about it). A mi papa le gustaba( ya no le gusta). Incluso un día hasta me pidió perdón por ponerme ese nombre... que momento tan raro fue aquel. Tengo 28 años y todavía cuando me llaman siento una sensación rara, digo algo como ... ese soy yo? y luego reacciono y voy. A lo mejor alguien dirá: está loco, si es enrollado o simplemente: Es tan importante esto para escribirlo en un blog?. Bueno, para mi si que lo es. Me miro al espejo en las mañanas y me pregunto: Cómo te llamas? y a veces no se ni que decir. Estoy seguro que alguien va a leer esto y se va a morir de la risa.... Bueno es parte de la vida reirse de uno mismo y dejar que otros lo hagan. En la antigüedad, los nombres hablaban de las características de las personas. Aunque no lo creas no voy a entrar en que significa mi nombre letra por letra, más bien en las circunstancias en las que se me dió este nombre. Mi papá y mi mamá tenían que escoger mis nombres entre los dos. Mi papa pensó en Friedrich, por nieztche, y en Ernesto, por el Che guevara por sus tendencias, bien contradictorias por cierto. Friedrich y Ernesto hablaron de cosas muy distintas. El primero sobre filosofia muy teorica y muy rara, el segundo sobre sociologia y un poco mas práctica. No voy a entrar en el detalle de lo que cada uno dijo, y a la verdad para el tema que estoy tratando no tiene mucha relevancia. Lo que para mi significa mi nombre es combate de ideas. Siempre estoy pensando en cosas contradictorias y repensando las que ya pense. Mezclando conceptos hasta que al final me gusta lo que sale.
Se me olvidaba algo importante, mi mamá nunca dijo como queria que yo me llamase. Simplemente cedió su derecho a mi papá por lo que yo diría que hay una parte de mi que no conozco... la parte que mi mamá debía decir y nunca dijo. Esa parte, que es la otra mitad de mi, es la que más gusta. Esa parte significa por conocer, no se que es pero cada día la descubro, descubro el plan que habia para mi en esta Tierra.


Thursday, April 03, 2008

I am back!!


Luego de darle vueltas y vueltas a la idea de irme de Venezuela, lo hice al fin estoy en España. Las circunstancias fueron super adecuadas. Mi vida ha cambiado un monton pero para bien, tengo un monton de ideas de que pensar.
Monton de proyectos que continuar... en fin seguramente volveré a escribir. La necesidad de descargar todos esos pensamientos que vienen y van y aveces algunos se concretan y otros no. Luego pensaré en algo preciso que dejaros. Les dejo mi foto de mi visita a Segovia.
Chao!

Monday, October 08, 2007

Cuanto es suficiente?


Hace algún tiempo use este blog para poner cosas que a mi solo me interesan, o otros también no se. Creo que no habia tenido tiempo para escribir, han pasado muchas cosas muy rapidamente.
Me fui de mi trabajo a otro mejor, y ahora me movi de ese trabajo a uno nuevo.
Creo que es la vida del computista, la de cambiarse de trabajo cada vez. Las empresas lo aceptan de mala gana, aunque les conviene porque contratan siempre a alguien para que gane menos y haga lo mismo que tu, aunque si estabas sobre utilizado lo mas probable es que contraten 6 pasantes para que hagan lo que tu hacias en ese trabajo, de todas maneras asi es mas estable, los 6 nuevos chicos tienen trabajo y la empresa tiene mas estabilidad. Mas estabilidad? si porque es menos probable que se vayan 6 chicos de un tiro, aunque por el ambiente de computación de venezuela, y el mundo quizas, es muy probable que 6 chicos programadores se cambien de trabajo para ganar el doble si el empresario no les aumenta.

En resumen, Bueno para mi porque gano mas y bueno para ellos porque consiguen a alguien para pagarle menos. En fin la movilidad laboral es buena, es bueno ser arriesgado para que las empresas valoren mas a sus empleados, que sepan que hay chicos que estan dispuestos a aprender cosas nuevas siempre, si es necesario.

No obstante ya tengo 27 años, casado y sin hijos, pero creo que ya toca esa etapa de estabilizarse. Bueno eso dice mi esposa , y estoy de acuerdo. Yo se que llegará el día que tendré que ser diferente, aguantare las ganas de ganar mas y le dare mas importancia a otras cosas.

Llega el punto, y yo estoy casi en el, donde sin muchas ambiciones tienes todo cubierto, casa, comida, todo cubierto. Todas las necesidades básicas. Hasta te das lujos de viajar a conocer paises. Y te preguntas cual es el límite. Cual es el limite de los lujos que deberia un ser humano tener? primero tienes un carro compactico enano, luego uno de cuatro puertas 2.0, Luego ves apra comprarte una camioneta, luego un mercedes o un bmw, luego una Hummer. Y cual es el sentido de todo esto, cual es el afan por tanto lujo, que al final solo sirve para enriquecer a un número reducido de accionistas de esas compañias. Al final tu solo puedes transportarte en un solo carro.

Todo esto sin mirar a los lados a ver a los que no tienen las necesidades básicas cubiertas, la llamada empatia. Yo he curado, en parte, este sentimiento pensando a veces que si se esforzaran un poquito, estarian un poquito mejor. Pero que hay de los que no nacieron agraciados, nacieron enfermos, o nacieron en la mas crítica pobreza. Alguno me dira, "yo he visto gente de esos lugares que ha salido de esos lugares a vidas mejores", refiriendose a mejoras económicas y yo le responderé "Pero te garantizo que la mayoria muere sin esas mejoras". Sin contar que yo creo que las mejoras económicas no cubren el vacío del corazon humano.

La Biblia dice algo asi como "de que sirve que le digas a alguien que vino a preguntarte por Dios "Ve en paz y ora" si no le das nada que comer". Es como si dijera de que sirve hablar de bienestar espiritual si no ayudas en forma ecónomica. Debemos ayudar económicamente a las personas.

Yo no concibo ayudar a otras personas mejor, que dando mi ejemplo de esfuerzo. Pero volviendo a mi titulo, Una vez que logras cierto nivel de vida, cuanto es suficiente para dar ejemplo y donde debo limitar mi codicia.... No lo se. Mientras tanto seguire acumulando, cuando descubra que es mucho mas de lo que necesito, lo regalo a quien yo sepa que no puede conseguirlo con sus propios medios.

Wednesday, May 10, 2006

Nuevo trabajo



Hola... aqui estoy en mi nuevo trabajo.... :D

Tuesday, July 12, 2005

Tiempo sin escribir.

Aqui esta para hacer conexiones a una base de datos en Oracle:

Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@ip_database:1521:contextdb","username","password");

Y si la conexion es desde un recurso de tomcat es asi:

Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup("java:/comp/env");
DataSource ds = (DataSource)envContext.lookup("jdbc/myoracle");
Connection conn = ds.getConnection();

el resto es asi:
PreparedStatement ps = conn.prepareStatement("select * from dual");
ResultSet rs = ps.executeQuery();
while (rs.next()){
out.println(rs.getString(1));
}

Saludos, por cierto... ya me case.. ahora pongo las fotos con mi bella esposa

Tuesday, March 01, 2005

Unexpected Signal 11 (Ocurre mucho con java)


OpenNMS will stop working after a period of time - this varies with the number of threads configured for the various daemons.

Intermittent servlet errors are encountered in the Web GUI - this seems to vary with the amount of concurrent usage of the GUI.

This has so far been reported with:

* Debian Woody/Sid, RedHat? 8.0/(7.x?), SuSe? 8.1
* OpenNMS 1.0.1
* Sun JDK 1.4.0, 1.4.1, 1.4.1_01
* Tomcat 4.0.3-0


Check for file like hs_err_pid9499.log in the directory that OpenNMS or Tomcat was launched.

It contains:

Unexpected Signal : 11 occurred at PC=0x404D4324
Function=size_given_klass__7oopDescP5Klass+0x44
Library=/usr/java/j2sdk1.4.1_01/jre/lib/i386/server/libjvm.so

Looking at the bottom of the dump file shows this:

#
# HotSpot? Virtual Machine Error : 11
# Error ID : 4F530E43505002E6
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.1_01-b01 mixed mode)

Doing a Google search on the error ID shows that it appears with other apps as well.

Here is an excerpt from one article:

I have seen this problem come up with a variety of applications, most notably JBoss 3.X. The way I got around it was specify the -Xrs and -Xint options to the VM before running any application.


Doing a "man java" gives:

-Xint Operates in interpreted-only mode. Compilation to
native code is disabled, and all bytecodes are exe-
cuted by the interpreter. The performance benefits
offered by the Java HotSpot VMs’ adaptive compiler
will not be present in this mode.


-Xrs Reduce usage of operating-system signals by Java
virtual machine (JVM).

Sun’s JVM catches signals to implement shutdown
hooks for abnormal JVM termination. The JVM uses
SIGHUP, SIGINT, and SIGTERM to initiate the running
of shutdown hooks. The JVM uses SIGQUIT to perform
thread dumps.

Applications that embed the JVM frequently need to
trap signals like SIGINT or SIGTERM, and in such
cases there is the possibility of interference
between the applications’ signal handlers and the
JVM shutdown-hooks facility.

To avoid such interference, the -Xrs option can be
used to turn off the JVM shutdown-hooks feature.
When -Xrs is used, the signal masks for SIGINT,
SIGTERM, SIGHUP, and SIGQUIT are not changed by the
JVM, and signal handlers for these signals are not
installed.


Note that -X options are non-standard and may change in the future.

Running with "-Xint -Xrs" results in stable operation.

In /opt/OpenNMS/bin/opennms.sh, find "HOTSPOT" and add the "X" flags like this:

if [ -n "$HOTSPOT" -a "$HOTSPOT" = true ] ; then
JAVA_CMD="$JAVA_CMD -server -Xint -Xrs"
fi


Also in /etc/tomcat4/conf/tomcat4.conf change the CATALINA_OPTS line like:

export CATALINA_OPTS="-Xint -Xrs -DTOMCATLAUNCH=true...

thats it...

Wednesday, February 02, 2005

Tu X ocupa mucha memoria en el TOP?

SI es asi, entonces estas bien

lee esto
http://info-x.co.uk/docview.asp?id=117

. Overview of memory management
Traditional Unix tools like 'top' often report a surprisingly small amount of free memory after a system has been running for a while. For instance, after about 3 hours of uptime, the machine I'm writing this on reports under 60 MB of free memory, even though I have 512 MB of RAM on the system. Where does it all go?

The biggest place it's being used is in the disk cache, which is currently over 290 MB. This is reported by top as "cached". Cached memory is essentially free, in that it can be replaced quickly if a running (or newly starting) program needs the memory.

The reason Linux uses so much memory for disk cache is because the RAM is wasted if it isn't used. Keeping the cache means that if something needs the same data again, there's a good chance it will still be in the cache in memory. Fetching the information from there is around 1,000 times quicker than getting it from the hard disk. If it's not found in the cache, the hard disk needs to be read anyway, but in that case nothing has been lost in time.

To see a better estimation of how much memory is really free for applications to use, run the command:
Code:
free -m
The -m option stands for megabytes, and the output will look something like this:
Code:
total used free shared buffers cached
Mem: 503 451 52 0 14 293
-/+ buffers/cache: 143 360
Swap: 1027 0 1027

The -/+ buffers/cache line shows how much memory is used and free from the perspective of the applications. Generally speaking, if little swap is being used, memory usage isn't impacting performance at all.

Notice that I have 512 MB of memory in my machine, but only 503 is listed as available by free. This is mainly because the kernel can't be swapped out, so the memory it occupies could never be freed. There may also be regions of memory reserved for/by the hardware for other purposes as well, depending on the system architecture.

y lee esto-.....
3. The difference among VIRT, RES, and SHR in top output
VIRT stands for the virtual size of a process, which is the sum of memory it is actually using, memory it has mapped into itself (for instance the video card's RAM for the X server), files on disk that have been mapped into it (most notably shared libraries), and memory shared with other processes. VIRT represents how much memory the program is able to access at the present moment.

RES stands for the resident size, which is an accurate representation of how much actual physical memory a process is consuming. (This also corresponds directly to the %MEM column.) This will virtually always be less than the VIRT size, since most programs depend on the C library.

SHR indicates how much of the VIRT size is actually sharable (memory or libraries). In the case of libraries, it does not necessarily mean that the entire library is resident. For example, if a program only uses a few functions in a library, the whole library is mapped and will be counted in VIRT and SHR, but only the parts of the library file containing the functions being used will actually be loaded in and be counted under RES.




Sunday, January 30, 2005


volmar y yo en margarita Posted by Hello

Monday, January 17, 2005

Fedora

I found this useful information about fedora that i didnt know
perhaps is something very known but i didnt know it.

enjoy ...

Fedora Linux Installation: "
/boot: the kernel boot files
/etc: configuration files
/dev: device files
/lib: basic dynamic libaries ('.so'), the kernel modules
/proc: process information
/bin: system programs
/sbin: system programs which don't use dynamic libraries
/tmp: world writeable for temporary files
/usr: the bulk of the software
/usr/local: additional software not installed through packages /var: apache web server, user mail, ...
/home: user accounts
/root: the home directory for root

Whenever a command in prefixed by $, it is meant to be executed by a non-root user, when prefixed by a # it is meant to be executed by root.

startx -- :1 (start your X manager on DISPLAY window 1)

Also, to run kdm and not gdm one have to change
vi /etc/sysconfig/desktop
DISPLAYMANAGER="KDE"

i found out reading the code in
vi /etc/X11/prefdm

and to make it work, the system must be rebooted
well maybe it can be simpler than that but i dont know
what to do (i even did init 1 init 5 and it didnt change),
theres so many things to learn in unix
i am just a kid in all this

Happy Hacking




Friday, January 14, 2005

Slashdot | Gates Elaborates on IP Communists

Great quote!!!
Slashdot | Gates Elaborates on IP Communists: "War is like love, it always finds a way. -- Bertolt Brecht, 'Mother Courage'"

1 John 4:20,21

If anyone says, “I love God,” yet hates his brother, he is a liar. For anyone who does not love his brother, whom he has seen, cannot love God, whom he has not seen.

21And he has given us this command: Whoever loves God must also love his brother.

Excellent thought... i want to give the look of my desktop



do you like it?

Thursday, January 13, 2005

Slashdot | Backing Up is Hard to Do?

Un script interesante para hacer backups.

href="http://linux.slashdot.org/linux/05/01/13/1745226.shtml?tid=198&tid=106">Slashdot | Backing Up is Hard to Do?: " if [ `df |grep /media/BACKUP |wc -l` == '0' ]
then
echo Backup drive not mounted, skipping procedure
exit 2
fi
cd /media/BACKUP
nice -n 10 rsync -va --exclude-from=/root/exclude $1 $2 $3 $4 $5 / .

where /root/exclude contains:

/mnt
/proc
/tmp
/udev
/sys
/media "

Great site for suse rpm packages

Despues de buscar y buscar encontre el mejor sitio para paquetes de suse linux.

enjoy....

PackMan.Links2Linux.org: "Development

Finance

Games/Amusements

Graphics

Internet

Kernel

Libraries

Update! Multimedia

Update! Network

Other

Security

System"

Tuesday, January 11, 2005

setear JAVA_HOME en linux

Esto me ayudo mucho :D:D:D:D

ABIERTOS.ORG: "Hola,

Tienes que tener la ruta absoluta del j2sdk en la variable de ambiente PATH.

ej.:
[CAMBIA A ROOT]
en /etc/profile, antes de los export, anade esto:

JAVA_HOME=/ruta/hacia/mi/j2sdk y luego;
PATH=$PATH:$JAVA_HOME/bin y luego;
export JAVA_HOME y luego;
source /etc/profile [ESTE PASO COMO USUARIO NO-ROOT]

Si no te funciona, verifica que tu ruta sea la correcta. Entonces ya estaras preparado para escribir java[ TECLA TAB] y se desplega todas las concidencias a java, significando que esta bien.

Si es muy engorroso, prueba con:
export PATH=$PATH:/ruta/hacia/j2sdk/incluyendo/directorio_bin

El problema es que con esta sola linea cuandos apagues tu pc tendras que hacerlo nuevamente."


SMB HOWTO

Excelente howto para cuando se necesite usar samba.

saludos
SMB HOWTO: "SMB HOWTO
David Wood, dwood@plugged.net.au
v1.3, 20 April 2000

This is the SMB HOWTO. This document describes how to use the Server Message Block (SMB) protocol, also called the Session Message Block, NetBIOS or LanManager protocol, with Linux using Samba.

1. License

2. Introduction

3. Further Information

4. Installation

5. Running The Daemons"

....

GOOOOODDD

Para conectarse remotamente a DB2 desde linux sin problemas usando java

para windows y linux:

1. instalar db2 en el servidor o en el gateway si te conectas al gateway.
2. tomar el db2java.zip del directorio de java de sqqlib en el servidor y ponerlo en un directorio que este en el classpath (no puede ser otro)
3. el servidor debe estar corriendo el jdbc driver server en el puerto 6789 (facil de recordar) (esto si se usa el driver net)
4. hacer la conexion usando COM.ibm.db2.jdbc.net.DB2Driver
5. usar el formato siguiente para el string jdbc:db2://host:6789/db
6. listo (se debe estar pendiente de las rutas de conexion si el servidor esta en otra subred)

Esta pregunta me parece interesante por eso la copie ;):

I've got some problem with db2-jdbc:
I've got UDB Personal on Win 2000 and I can't connect to my server /UDB on Linux/, from java.
I've done it with the following driver/dburl:
COM.ibm.db2.jdbc.app.DB2Driver
jdbc:db2:DATABASE
But, if I set the URL on the following way:
ConnectionURL=jdbc:db2://hostname:523/DBName
I've got thefollowing error meassage:
"Error opening socket. SQLSTATE=08S01"
I've tried it with COM.ibm.db2.jdbc.net.DB2Driver too, but it didn't work.

IBM UDB: db2 - jdbc problem: "
Port number 523 is used for db2 admin server.

For jdbc connection, try the default port 6789
or the port number specified when you start
the demon.

Make sure the java demon (db2jd) is running.
('ps -ef | grep db2jd' to check the process)

If not, start it using 'db2jstrt' [default to port 6789]
or 'db2jstrt port_number'.
('netstat -na' can be used to check the port number)
"

necesitamos una foto aqui:

eso esta mejor...