Monday, October 28, 2013

Malviajes

Pues sí, malviajes.

De esas veces en las que hay ciertas acciones que hacen pensar que va a pasar algo, pero tu lado racional te demuestra con mucha más evidencia que te equivocas. En realidad me encanta mi lado racional, por ser precisamente racional. Siempre pienso todo muy bien y creo que la mayoría de las veces tomo una decisión acertada gracias a este pensar racional.

Entonces por qué ignoro a mi lado racional? No lo debo de hacer, racional rules. Estoy consciente de que mi lado racional tiene la razón y debo seguirlo y hacerle caso. Ah, pero no... mi mente de manera estúpida logra hacer a un lado a mi lado racional y pasan cosas que no deberían ser.

Y de ahí vienen los malviajes, ese pensar estúpido que trata de auto-engañarme. Por qué hacemos eso? No creo ser el único. Por qué tratar de auto-engañarnos cuando ya sabemos la verdad?

En fin, solo pasaba por aquí para decirle a Vlad que si sigue así es probable que las cosas no salgan bien por no hacerme caso. Acaso no ves la evidencia? Te lo advertí Vlad, yo tenía la razón y la seguiré teniendo. Y en el remoto caso de que las cosas salgan bien, pues qué esperabas? Soy paranoico y estoy cubriendo todas las posibilidades.

Date una vuelta por aquí en los siguientes meses para que me cuentes cómo te fue. Aunque yo ya sé la respuesta, DUH!

Wednesday, August 07, 2013

Rich VS Poor

Acabo de ver el siguiente video:


En realidad creo que se nos olvidan cosas como estas, que en el mundo existe la pobreza extrema y hay gente que no tiene acceso a cosas tan "comunes" como agua limpia.

Sunday, August 04, 2013

Draft

Me acabo de dar cuenta que tengo un post en borrador desde el 2008! :O

En realidad no sé por qué no se publicó, es un post que estaba resumiendo todo lo que había representado para mi el año 2008. En general ese año yo lo llegué a considerar muy bueno, por lo que leo.

Siempre he estado en contra de medir el tiempo, no me gusta. Si tuviera que resumir los últimos años podría decir:
2008: Bueno
2009: Bueno
2010: Malo pero terminó bien
2011: Muy mal año, se realizaron muy pocas cosas y lleno de enfermedades
2012: Bueno
2013: Bueno? No lo sé, se está pareciendo a 2011

Si planeo hacer esto creo que debería llevar un registro de logros para cada año ya que el ranking anterior lo estoy haciendo únicamente en eventos sobresalientes (buenos o malos) que me hacen recordar dicho año.

En fin, ahí está el post en borrador y no creo que lo vaya a publicar.

Take for granted

"Take for granted", es una frase que se usa mucho en USA y que se podriá traducir vagamente como "dar por hecho" o "tomar por hecho" o algo así.

La idea básica de ese concepto es que muchas veces no apreciamos ciertas cosas porque siempre las hemos tenido. Por decir algo, habrá gente que en realidad nunca aprecia la energía eléctrica simplemente porque en nuestra actualidad tener energía eléctrica es prácticamente un hecho. Entonces cuando hay algún apagón o por alguna razón no contamos con dicha energía es cuando en realidad nos damos cuenta de la mucha falta que nos hace.

Algo que vemos tan normal como el hecho de poder caminar podría resultarnos algo tan sencillo que nunca nos hemos puesto a analizarlo. Creo que una de las cosas que más damos por hecho es nuestra salud. En general estamos acostumbrados a llevar nuestras vidas tranquilamente sin preocuparnos mucho acerca de nuestro cuerpo.

Pero qué pasa cuando nos enfermamos? Entonces ahí es cuando en realidad nos damos cuenta de la falta que nos hace nuestro mismo cuerpo y todos nuestros sentidos!

En español existe la frase de que "no sabemos lo que tenemos hasta que lo perdemos", y creo que va relacionada con este tema.

Para el récord esto no tiene nada que ver con nadie y es enteramente relacionado a nuestra salud, así que por favor detengan su paranoia antes de que comience a darles ideas.

Sunday, July 21, 2013

Monday, July 08, 2013

Rational vs rationalization

Creo que ya había escrito alguna vez sobre las diferencias entre que algo fuera "racional" o convertirlo en racional a través de la "racionalización", pero creo que es un buen momento de retomar este tema.

Inicialmente este tema lo escuché en un episodio de House, honestamente no recuerdo en cuál fue... ni siquiera en qué temporada. Lo interesante es que se me quedó muy grabada la diferencia entre estos dos conceptos. Trataré de resumirlos desde mi perspectiva:

Racional: es aquél hecho que tiene sentido, que es lógico. Como seres humanos, el único animal racional, se supondría que los actos racionales son aquellos que se pensaron y no están basados en las emociones (mi entendimiento muy simplificado, siéntanse libres de corregirme en los comentarios).

Racionalización: esta acción la aplicamos cuando se desea justificar un acto que no es racional. Por ejemplo si golpeas a alguien en la calle podrías tratarlo de explicar con algún tipo de lógica o pensamiento para explicarlo.

Estos conceptos son muy raros, si se supone que somos animales racionales, por qué habríamos de cometer actos no racionales y por ende necesitar de la racionalización?

La realidad es que no somos tan racionales como nos lo han dicho o nos gustaría serlo, desde mi punto de vista nunca dejaremos de ser influenciados por nuestra parte no racional. Es ahí donde entra el auto-control, disciplina y fuerza de voluntad. Pero de nuevo, por qué habríamos de necesitar dicho auto-control si siempre hemos sido racionales? Creo que nunca lo entenderé. Sin embargo ahí es donde se puede observar cuando una persona es muy racional, cuando todas las acciones que comete están fundadas en pensamientos lógicos y fueron evaluadas considerablemente.

Y entonces, eres una persona racional o alguien que continúa aplicando la racionalización constantemente? Peor aún podría ser aquellos que ni siquiera tienen la sutileza de intentar la racionalización y son controlados totalmente por su lado no racional.

Vlad

Thursday, May 16, 2013

Hacking Candy Crush 2: No need for tickets


Hi everyone,

As you may have noticed, you need a few tickets in order to access to a new world in Candy Crush. That can be very annoying if there's nobody online to give you tickets and you want to keep playing and of course you don't want to pay for them. In this post I will show you how to avoid getting asked for tickets.

If you have not seen my previous post you should take a look at it first since the initial steps are described there: hacking Candy Crush in 10 minutes.

Once you have access to your device file system, open this file for edition:
candycrushsaga.app/res/worlds.xml, it should look similar to the following image:

  1. For this example let's assume you are stuck in level 230 and you need 3 tickets to get to level 231. Open the previous file and find the following text:
    <world imagepath="tex/menu/level_completed_train.png" 
    startswithlevel="231
    ticketpath="tex/menu/world/ticket_train_icon.png"></world>
  2. Modify the previous text to:
    <world imagepath="tex/menu/level_completed_train.png" 
    startswithlevel="230
    ticketpath="tex/menu/world/ticket_train_icon.png"></world>
  3. Terminate the Candy Crush application and open it again. If you try to play at this point you won't be able to select any level, but don't be scared as this can be fixed. Go back to edit the worlds.xml file and restore it to it's original value, like this:
    <world imagepath="tex/menu/level_completed_train.png" 
    startswithlevel="231
    ticketpath="tex/menu/world/ticket_train_icon.png"></world>
  4. Save the file, terminate the application and open it again. Voila! The game will not ask for tickets and you will advance to the next world, just like that!

This technique can be used to move from any world to the next one by modifying the "startsWithLevel" value. Good crushing!

Notes:
1) Again, this is not a complete assessment of the application's security. I just keep digging as I get stuck and keep finding useful things.
2) The communications from the device have not been analyzed at this point, I can imagine lots of fun stuff can be found there as well.

Monday, April 15, 2013

Hacking Candy Crush In 10 Minutes


I became addicted to this Candy Crush game a few weeks ago and I was doing great, I was able to almost reach level 200 until I was stuck. I was stuck there for about two weeks. I almost uninstalled the damn game... but there was something else I could try! I had nothing to lose so I gave it a try; and guess what? I was successful n.n

I will show you how you can modify each and every level you like on Candy Crush, you can get all the time and moves you like and more! Of course this is for educational purposes only, obviously.

So here's what you'll need:

  1. A jailbroken iDevice (I used an iPod touch 4G on iOS 6.1.3, but any iDevice will do)
  2. A computer in the same wireless network as your iDevice (optional)
  3. WiFi network, of course

If your device is not already jailbroken you can refer to jailbreaknation.com

Alright, so let's get started. I will not cover the steps needed to connect to a jailbroken device as that has been covered many times by a bunch of people:


  1. Enable SSH access on your device.
  2. Access to your device over SFTP, you can use any client such as Cyberduck or WinSCP on windows.
  3. Locate the candy crush application folder and navigate to it.
  4. Access to the following directory $CandyCrush.app/res/levels/
  5. Voila! The following files will be displayed:

As you can imagine, each one of those files represents a level in the game. Each file contains the needed configuration to load a game, they are the settings of the game if you will. What settings? Well, let's take a look at one file. Let's edit episode3level7.txt, open it and you will see the contents of the file as follows:


{"gameModeName":"Classic","scoreTargets":[40000,60000,100000],"timeLimit":60,"numberOfColours":5,"randomSeed":0,"protocolVersion":"0.1","tileMap":[[112,18,18,18,18,18,18,18,112],[96,2,2,2,2,2,2,2,96],[96,2,2,2,2,2,2,2,96],[96,2,2,2,2,2,2,2,96],[96,2,2,2,2,2,2,2,96],[96,2,2,2,2,2,2,2,96],[96,2,2,2,2,2,2,2,96],[96,2,2,2,2,2,2,2,96],[96,96,96,96,96,96,96,96,96]],"portals":[]}



There's lot of info there, but let's focus on the highlighted text. Some properties are very self-explanatory. Let's say that you want to have more time on the level... that's simple, just increase 60 to 120 in the line after timeLimit. These values represent the number of seconds you have in the level.

Are you having issues making color combinations? No problem, you can set the numberOfColours to 3 instead of 5 and as you can imagine you will have only 3 colors to match instead of 5.

So you can get and idea of what this does, here's the game level (level 27) before and after modifying the configuration file:

Before:



After:

 

There you go! 377 thousand points in 6 seconds! So that's it, this didn't take more than 10 minutes and now I was able to modify any level at will.

Enjoy!

Notes:
-After modifying a file you have to terminate the application in your device and open it again so the configuration files are re-loaded.
-There are tons of more properties that can be modified, the two shown above are just examples.
-There could be more useful information in the file system, I am guessing they also store your current level, boosters and more. I did not go that far as I quickly found what I needed.
-A computer is not really needed to edit the files, that could be done locally with an app such as iEdit. However, that's really annoying. Using a computer for edition is really easy.


I never blog

Yeah, as you may have noticed I rarely blog about something... I am not a blogger as you can see but from time to time I'd like posting something.

So, enjoy