Posted in wisdom

Question(s) Regarding Vision of Life

We all hear very often that one ought to have a vision in life and move towards achieving it. However, there is one problem with it. It does not pop up just like that. The most important key to opening the mind to different possibilities is – to ask a question and find an answer for it. To the best of my understanding, no other means will open up or broaden our minds.

Coming back to vision – in order to have a vision, what questions can be asked? One guy has a question:

what do I want to see grow?

The answer to this question, according to him, gives you the vision of life. Which makes sense to me.

Posted in software

Cpp Token Pasting Operator

I was struggling to put multiple tokens together in a macro and paste them as a single token in the result. That’s when I stumbled on this link, it said, in very plain english:

The token pasting (##) operator simply eliminates any white space around it and concatenates (joins together) the non-whitespace characters together.

In the very beginning it mentions that this is the least understood operator. Right it was. Just by looking at the above definition, I got my job done. 🙂

Posted in learning, musings

Notes on iPhone Upgrade

I have upgraded from iPhone 5.1 to 5.1.1 (jail broken). One big relief for me is that it is an untethered jail break. So, if the iPhone dies because of low battery, then plug it in to a socket and switch it on. No need to carry redsn0w (and the laptop) everywhere we go.

When I was upgrading, I found one strange thing. Whenever we build custom IPSW, it asks whether we have old or new bootrom. Based on the serial information, mine is an old boot rom, but apparently it is not so. redsn0w showed it as new BR. However, I still went ahead and built the IPSW with old BR. When I upgraded iPhone with that IPSW, I found that the iPhone did not come up properly. In fact, it was getting into DFU mode everytime we switch it off. Since I was on tethered boot anyway, it made things a bit simpler for me. I could boot faster with redsn0w. 🙂 Then I built the IPSW with new BR and things worked like a charm. Now I have a iPhone 5.1.1.

One other important thing for me is find out is why my iphone is draining battery like crazy. I have not been good at maintaining an optimum battery recharge cycle because of the tethered boot requirement – whenever I go out of station, I get pessimistic and recharge. Now that I am on untethered boot, I will have to stick to a better/effective battery recharge cycle. Will have to do some research on that front. Also, will post

For a while, I have been stumbling into “Dont give up” principle successfully. This upgrade, cracking the password of one of the laptops (it was forgotten), learning some things etc. brings home the same lesson – “DONT GIVE UP”.

One other important lesson that comes home, besides the one above, is “Dont fear for failure”. The more we try and more we fail, the more we are close to success. If we dont try and fail, we are more close to failure than success. 🙂