Friday, May 9, 2014

It isn't programming, it's parenting!

This is an awesome post by dhillipsiva I repost it here so that I can improve it on my own

Parenting is a divine art. In my opinion, there is no other art that is so sacred and pure than parenting. That is why I want to be the greatest dad in the world.
For me, coding is like raising a baby. Give birth to a tiny living thing, grow and improve her, teach her new things, teach her how to behave, caring for her so she does not crash, working so hard to make her a fine woman some day. Its not just coding, I see. It is parenting. I am the Mother, the Father and the Guardian. I give birth, I care and I protect. I watch her with joy as she grows. And she will always be a good girl. You know why? She will always listen to me and does exactly what I ask her to do.
But then agree, this is not as hard as rising an organic baby. This is as close as it can get to the divine art. I love both types of parenting. Hopefully, some day, I ll be the greatest dad in the world.

Article Source

Sunday, May 4, 2014

Endurance & Subtle thinking...

 This is an awesome speech by dhilip siva. Re-posting this so that I can read this anytime.

Endurance. Endurance. Endurance. I was having a talk with Mahesh and learnt a lot of things that day. Since from then I have been doing a lot of thinking. I have been thinking about this for some 6 or 7 days in a row now. I am constantly improving my thoughts on it. So what were we talking about? Endurance and Subtlety!

Short Version : Endurance and Subtlety are the tools that make a warrior. Without them you are just a common man.

Long Version : Let me tell a few words about "subtle thinking" first. Because in my opinion, a subtle thinking is highly coherent with Endurance. It is critical to understand some of the tiniest details to endure. Let me give you an example if you don't understand my point.

Consider a person "A" who is mentally challenged. He has no idea what he is doing, because his mind is messed-up. His appearance shows that he is not normal. He throws throws stones at everyone on road. "B" is a normal person who happens to be walking down the road.  As expected, "A" throws a stone at "B". Now, the story has two ends. (1) - "B" can UNDERSTAND that "A" is not normal person. Depending on "B"'s Character he can either step aside and go away or talk to his relatives to keep him safe. "B" endures because he understands that "A" is mentally helpless. (2) - "B" is blind enough to ignore the mental condition of "A" and he prepares himself for a fight or argument. This is where "B" is said to lost endurance due to lack of understanding. In this case, I feel pity only for "B" for being mentally helpless than "A".

Understand my point now? But it is just an obvious example! Subtle thinking involves in paying attention to tiniest details of life. It is the awesome ability to understand the most mysterious aspects of anything. If only you could pay attention to details at that level, you can endure. And endurance makes you a warrior.

The reason I am posting this today is fairly trivial. I live my life with some of the people who are unable to understand. Driven by some blind motive which is just pointless. And the motives that they have did not come out of understanding of anything. They are just motives that are embedded by some other ignorant moron. They were asked to believe without reasons. These are people who lack subtle thinking.

There was this one thing that was screwing up my head. The cast problem. It is one of the most misunderstood systems in India. So immature, so blind and so ignorant. It broke me into pieces sometimes, but it is not gonna happen ever again. Maybe I ll be writing about the cast system sometime next week. But now, I understand that these people are raised by telling lies. They believe in those lies so much blindly that they think, they will die without it. And I really really feel pity for those souls. Well the thing that confuses me is, is it appropriate to classify these people as blind or ignorant? blind is OK. But ignorant is much worse. I ll keep thinking on it.

But the point is you gotta endure to realize the truth. And you should have a subtle thinking to endure. "Truth about what?", you ask me. well the truth pretty much about everything. So what is the truth that I realized? Ok, before answering that question let me tell something, "I don't expect you to understand it, unless you have a subtle thinking". To the answer: "The truth is : Nothing is true!". If that makes sense to you, welcome to the clan. If it doesn't, you should wake-up. And it is the waking-up that requires the endurance and subtle thinking.

Article source 

Success

This is an awesome speech by Eric Thomas. Re-posting this so that I can read this whenever I feel down.

There was a young man that wanted to make a lot of money, right? So he went to this guru and told him, “I want to be on the same level that you’re on.”

The guru told him, “If you want to be on the same level I’m on, I’ll meet you tomorrow at the beach.”
So the young man got there at 4 A.M, all ready to rock and roll, got on a suit when he shoulda wore shorts. The old man grabs his hand and says, “How bad do you want to be successful?”
He said, “Real bad”
The old man says, “Walk on out into the water.”
So he walks on out into the water, waist deep. So, to himself, he’s like, “This guy is crazy”
He’s thinkin’, “I wanna make money, he’s got me out here swimming. I don’t want to be a life guard, I want to make money.”
The old man says, “Come out a little further.”
He walked out a little further, out to his shoulder area. He’s thinking, “This old man is crazy, he’s makin’ money but he’s crazy.”
The old man says, “Come out a little further.”
He came out a little further, it’s right at his mouth and he’s thinking, “I’m about to go right back, this guys out of his mind.”
So the old man said, “I thought you wanted to be successful?”
He said, “I do!”
The old man said, “Walk a little further.”
He did, he walked a little further. The old man grabbed his head, under water, held him down, the guy was kickin’ and scratchin’, still holding him down, he had him held down and just before he was about to pass out the old man raised him up.
“When you want to succeed as bad as you want to breath, then you’ll be successful.”
I don’t know how many of you have asthema, you have a asthema attack, you’re short of breath, you’re weezin’, the only thing you’re trying to do is get some air. You don’t care about no basketball games, you don’t care what’s on TV, you don’t care about a party. The only thing you care about when you’re trying to breathe is to get some fresh air, that’s it. And when you get to the point of when you want to be successful as bad as you want to breathe, then you’ll be successful.
And I’m here to tell you, number one, that most of you say want to be successful but you don’t want it bad, you just kind of want it. You don’t want it badder than you want to party, you don’t want it as much as you want to be cool, most of you don’t want success as much as you want to sleep! Some of you love sleep more than you love success. And I’m here to tell you that if you’re going to be successful you’ve got to be willing to give up sleep.
You got to be willing to work off of three hours, two hours, of sleep. If you really want to be successful somedays you’re going to have to stay up for three days in a row! Because if you go to sleep you might miss the opportunity to be successful. That’s how bad you have to want it. You’ve got to want it so bad that somedays you forget to eat.
Beyonce said once, on set, that three days had gone by and she was just doing her thing, she had forgotten to eat! Because she was engaged with her work.
When 50 Cent was doing his movie, did a little research, that when he wasn’t doing his movie, he was doing his soundtrack. And they said, “When do you sleep 50!?”
“Sleep?!”, he said, “Sleep?! Sleep is for those people who are broke. I don’t sleep. I got an opportunity to make a dream a reality.”
Don’t try to quit. You’re already in pain, you’re already hurt. Get a reward from it! Don’t go to sleep until you succeed.
You won’t be successful until you say, pointing to self, “I don’t need that money, because I got it in here.

Saturday, April 26, 2014

The Four Building Blocks of Any Programming Language : Learn Programmin

Learning programming isn't as hard as some college graduates and experts make out. In fact, it is easy to become a reasonably proficient hobby programmer, within a short space of time, given the right mindset and grounding.
That mindset includes being able to break down and solve problems, something that can be taught, as well as a disposition towards experimenting. Trial end error plays a huge part in the learning process, as does a good understanding of the basics.
All programming languages share some elementary concepts. Once these are understood, learning the actual language becomes much easier, and as they are also transferable in many cases, understanding them will help learn almost any programming language.
Remembering that a computer program is just a bunch of instructions that tells a computer what to do, the four basic programming concepts are:
  • variables - places to store information
  • decisions - ways to interpret information
  • loops - doing the same thing over and over
  • subroutines - named chunks of instructions
The first of the building blocks, a variable, is just a named box into which information can be put. It can also be taken out, modified, and put back in again (hence the name 'variable': the contents can vary.)
Variables can also be tested against conditions, which allow the programmer to build a bit of decision making power (or logic) into a program. The programmer can tell the program to execute a specific instruction if a variable meets certain criteria. Humans do this all the time: "If it is sunny, then I'll go to the beach, otherwise I'll go to the mall."
On occasion, this is a decision that will have to be taken over and over again. Staying in the mall until the weather improves enough to warrant a trip to the beach, for example. Or, lying on the beach until the surf's up, checking periodically.
These are examples of loops, repetitive behaviour that can be built into the program. A human might build up a set of instructions:
  1. Lie on the beach
  2. If you get warm, check the surf
  3. If the surf's up, go surfing
  4. Go back to lying on the beach
Now, each of the instructions entails a whole booklet of other things that the surfer has to do; and these are the equivalent of a program's subroutines. For example, to "check the surf", there will be more instructions that let the surfer look at the waves, evaluate them, and decide whether the surf is up or not.
In programming, we can give these subroutines meaningful names, and use them in code as a kind of shorthand, assuming that the steps that the computer needs to go through to actually achieve something are written (defined, in programmer-speak) somewhere.
Programming languages all have a certain syntax and structure that allow the programmer to build up these sets of instructions, and they're all different. But, these four concepts are common to almost every language, and are vital to being able to create even simple programs.
It is important to appreciate that these are merely building blocks with which it is possible to construct all manner of more advanced features. Some of these include objects, modules, libraries and various other ways to encapsulate behaviour such that it can be used to build complex systems.
However, much can be achieved with only these four concepts, in almost any language. Many aspiring programmers probably don't even realise that they have the means to start programming right away, without investing in software or following a college course.
All that is really required is a will to get started, and some help and guidance from someone who has trodden the same path. A book or two will also help, but they're not required for you to learn programming, now!

How to use google effectively?


Google is a full-text search engine.
It gets the image and video results of its "alt" and "title" tags.
It use the computerized "SPIDERS" to find the search terms(keyword which given to search).
It searches only title and meta tags.

1. Google is Case Sensitive?
     Ans : No.
    "Informations" or "informationS" or "INFORMATIONS" will get the same results.

2.Singular is different from plural?
   Ans : Yes.
   "Informations" different form "Information".

3. Order of words is important?
   Ans : Yes.
   "Information Technology" different from "Technology Information".

4. Google care for connection words?
   Ans : No.
   Ignores "I", "and", "not", "for" etc.,

5. Google limit the keywords?
   Ans : Yes.
   Search term limit is "32" words.


Search Terms :
  AllinTitle :
      allintitle:"information Technology".
      Get results which term appears in the title tag.

  AllinText :
       allintext:"information technology".
       Get results which term appears in the headings(h1,h2...h6) and body text.

  Allinanchor :
      allinanchor:"information technology".
      Get results which term appears in the URL's.

Special Syntax filter :
  Domain extensions based :
       information technology :.edu - Filter .edu extension domains only.
       Get the results which keyword contains in title tag and the domain extension should be .edu

  File extensions based :
      information technology :.pdf - Filter .pdf extension files only.
      Get the results which keyword contains in title tag and the file extension should be .pdf

  Find definitions :
      define:software.
      A simple definition for software.

Thursday, April 24, 2014

How to analyse your google web history ?

1)Download the google web history in csv format.

Note:you can download only 1000 logs at a time so you may choose to use the following tool to achieve bulk download.

2)Download the tool called R and try it with yourself you may find you browsing habits etc..

the output will come as Graphs of various kinds.

FYI:
The tool R is made by staticians for staticians

References:
http://ragrawal.wordpress.com/2012/05/10/google-web-history/
http://ragrawal.wordpress.com/2012/05/14/google-web-history-a-gold-mine-of-personal-information-part-ii/

iOS app deployment and distribution critical network requirement



The following urls should be accessible on device and these shouldn't get blocked any time
 
site:

purpose:
The device obtains the current file-size limit for downloading apps over the cellular network. If this site it not reachable, installation may fail

site:

prupose:
The device contacts this site to check the status of the distribution certificate used to sign the provisioning profile