Archivo para abril, 2008

¿Cómo modificar o traducir programas de palm OS?

Como a mi, te habrá pasado encontrarte con que tus programas favoritos para palm OS, de esos que usás todo el tiempo, no tienen una versión en castellano.

Bueno, existe un truco para poder traducirlos uno mismo, e incluso poder modificar alguna que otra cosa. Un truco que yo en lo particular vengo aplicando desde mis épocas de DOS. A alguno le parecerá una obviedad, a otros los entusiasmará, el truco consiste básicamente, en tomar el archivo ejecutable del programa y abrirlo con un Editor Hexadecimal, buscar lo que deseemos modificar y cambiarlo. Puede ser desde una palabra hasta, con un poco más de conocimientos, la lógica del programa y su funcionamiento. Sólo debemos tener en cuenta un pequeño detalle al editar el archivo: que la palabra traducida debe ocupar el mismo espacio (lugar y cantidad de letras) que la original o el programa puede dejar de funcionar. Esto es así porque si el programa espera encontrar una palabra en un determinado lugar y encuentra otra cosa causará un error; lo mismo si con una palabra muy larga “pisamos” parte del código hexadecimal que sigue y que era otra cosa.

También se puede usar esto para modificar otros aspectos. Por ejemplo, se podría modificar un ícono o una imagen o como veremos a continuación, cambiar las opciones de un menú desplegable.

Existen muchos programas para hacer esto. Basta con googlear “Editor Hexadecimal” o buscar uno que te guste en softonic.com.

A modo de ejemplo, veamos el caso del programa “Gastos” que ya viene en la Palm. Es un programa bastante útil para ir anotando en qué se va la plata. Al menos en mi caso le saco provecho. Pero cuando lo usé por primera vez, comprobé que el menú desplegable de tipos de gastos no tenía por ningún lado una opción para agregar o modificar algo. Generalmente las listas desplegables en otros programas si nos permiten editar sus elementos, pero “Gastos” no. Este defecto lo hace casi inutilizable y muchos deciden reemplazarlo por otros, pero que, o vienen en inglés o son de pago.

¡Yo quería poner mis propias opciones en ese menú!

En el caso del ejemplo, el archivo a modificar se llama “Expense_esES”. Lo bajamos a la computadora y ya en Windows o Linux, abrimos el archivo con el Editor Hexadecimal. En el programa hacemos una búsqueda (de texto, no hexadecimal) y ponemos alguna palabra de la lista y nos llevará directo a ella, y podremos cambiar las palabras que están por las que queramos.
Algunas cuestiones a tener en cuenta:

  1. Hagamos las modificaciones que hagamos, debemos empezar justo donde empieza la primer palabra y terminar justo donde termina la última letra de la última palabra. Ni más ni menos, o podremos estropear el programa.
  2. Entre cada palabra hay un puntito, cuyo valor hexadecimal es el “00″. Cuando pongamos nuestras palabras, debemos separarlas también usando estos puntos de valor 00. No es obligación que las palabras tengan la misma cantidad de letras que la palabra que reemplaza, sólo el total de letras debe coincidir. Por ejemplo, podemos reemplazar .AAA.BBB. por .CC.DDDD.
  3. Debemos también respetar la cantidad de palabras que tiene la lista original, ni más ni menos. Si sobran, podemos poner espacios entre los puntitos y se mostrarán en blanco. Si ponemos más palabras, no se verán o no funcionará el programa.
  4. En el caso de “Gastos”, la lista aparece dos veces, por lo que debemos modificarla en ambos lugares y dejarlas iguales (se puede copiar y pegar)

Finalmente guardamos los cambios y subimos el archivo modificado a la palm, que sobreescribirá el original. ¡Listo!
En el caso de una traducción, las consideraciones son las mismas. Desafortunadamente, las palabras en castellano suelen ser más largas que en inglés, por lo cual no podremos reemplazar por ejemplo .Ok. por .Aceptar. o .Cancel. por .Cancelar. (a veces sobran unos espacios y sí se puede, pero en general no). Por ello, tendremos que usar mucho la imaginación o usar abreviaturas. Otra solución que encontré, es descargarme el programa que me gustaba en francés o italiano o portugués o el idioma que esté disponible (si lo hay) y modificar ese, pues las palabras en esos idiomas también suelen ser más largas que en inglés.

Espero que les sirva el truco y, si alguien quiere hacerme una consulta o mandarme un programita que hayan modificado para compartir con los demás, o pedirme alguno, (ya traduje la mayoría de los que yo uso diariamente) no teman dejar un comentario aquí abajo.

este artículo todavía no ha sido compartido. puedes ser tu quien lo haga. enviar a meneame. fresqui. del.icio.us.
este artículo es libre. puedes copiarlo, modificarlo, usarlo. pero debes citar la fuente y mantener estas libertades.

Top Ten Engineers of All Time

Fuente: Top Ten Engineers of All Time

Engineers are the people who have built our world. Everything we use today was at one point nothing but an idea in someone’s head, that was successfully designed and built. So who are the best engineers throughout history?

10. Nicolaus Otto

Nicolaus Otto developed the four-stroke or Otto-cycle engine and the first internal combustion engine, where fuel is burned directly in the piston chamber. The Otto-cycle is still used in the internal combustion engines that run all of our cars today. Despite developing the engine, it was Otto’s peers such as Gottlieb Daimler and Karl Benz who first apply it to locomotion, forever changing how people move around the world.

9. Alan Turing

Alan Turing developed the binary architecture now used in all computers, as well as much of the theory behind computers. He is regarded as the father of computer science. The computer you’re currently using would not exist without his contributions to the field. He also broke the German Enigma code during WWII, without which victory would have been far more difficult, if not impossible. After the war he made many other contributions to code making and breaking. While he never really built anything physical, his enormous influence in computer science earned him a place in the top ten.

8. Mikhail Kalashnikov

While much of Kalashnikov’s AK-47 was borrowed from other guns, his simplification of their designs to make a nearly flawlessly functioning rifle was his genius. The gun is cheap to manufacture, easy to use, and hard to break. It’s hard to argue with success, after 57 years the AK-47 is still in production, and there are dozens of different varieties from shotguns to sniper rifles and the familiar assault rifle. It is arguably one of the best guns in history, and definitely one of the most influential. After all, what other gun has African children named for it?

7. Archimedes of Syracuse

With Archimedes it’s difficult to separate the legend from the man. The engineering feats he is rumored to have accomplished include a mirror death-ray and a crane capable of lifting and smashing Roman ships, although they probably never existed. He did improve the catapult, develop levers and pulleys, and invent the Archimedean Screw, a device used to raise water for irrigation or mining. He also calculated pi and developed many mathematical insights without which modern engineering would be impossible.

6. Wilbur and Orville Wright

A clear indication of engineering brilliance is when you essentially invent your field. Other pioneers of flight came before them whose work was invaluable, but it was the Wrights who truly created aeronautical engineering. In a time when people thought of the mechanics of flight as ground locomotion in the air, the Wright brothers saw it as something wholly new. Their development of the three axis control system was necessary to fly controllably. They were also the first to really look at propeller design and aerodynamics. Their work profoundly changed the world.

5. Hero of Alexandria

This man could have started the Industrial Revolution in 50 AD with the invention of the Aeolipile, a form of steam or jet engine where jets of steam spin a ball. However, he failed to realize what the device could do, and thought of it as nothing but a toy. Some have speculated that the abundance of slave labor negated any need for a labor-saving device, so no one applied his device in the manner of the Industrial Revolution. Hero also wrote many works on subjects ranging from pneumatics to mathematics to physics.

4. James Watt

James Watt’s incarnation of the steam engine ushered in the Industrial Revolution. His centrifugal governor kept the engine running at the desired rate, and is a modification so simple and elegant that it may be one of the best ideas of all time. The governor was only one of his countless modifications to one of the most influential devices of all time. Watt’s perfection of one of the most important devices in history easily puts him in the top ten engineers.

3. Thomas Edison

Edison is the most prolific inventor in history, holding a record 1,097 patents. He developed the phonograph, incandescent light bulb, stock ticker, motion picture camera and projector, and hundreds more. He also created the first electrical plant and distribution infrastructure. Without these inventions, modern life is almost inconceivable.

2. Nikola Tesla

Nikola Tesla is perhaps the greatest electrical engineer of all time. His inventions include fluorescent lighting, the Tesla coil, the induction motor, and 3-phase electricity. He developed the AC-current generation system comprised of a motor and a transformer. Some have said that he “invented the 20th century.” Unfortunately, he became something of a mad scientist in his later years, and died in obscurity, but his invaluable contributions are remembered today.

1. Leonardo da Vinci

Perhaps the most visionary man of all time, Leonardo foresaw everything from the helicopter to the tank to the submarine. Modern engineers have proven that many of his designs, including bridges, hang-gliders, transmissions, parachutes, and more would have worked had they been built. There have been few individuals in the history of engineering who have designed so many revolutionary devices that actually worked. Leonardo is, by far, the greatest engineer of all time.

Honorable Mentions:
Eli Whitney – Cotton Gin and Interchangeable Parts
Rudolf Diesel – Diesel Engine
Wernher Von Braun – Rocketry
Enrico Fermi and Leó Szilárd – First Nuclear Reactor