Here is all you need to know:

void main()
{
  for(i = 0 knowledge; i < infinite knowledge; i++)
    while(you don't know how something works) 
    {
      Read(Your Brain, i);
      Experiment(Your Brain, i);
      Learn(Your Brain, i);
    }
}

It is all a mindset.