How to quickly learn a new technology _ interview

Source: Internet
Author: User
Tags mongodb
How to quickly learn a new technology to share · Seabornlee Released 5 days ago · Finally by Summer_charlie 1 days ago to reply · 2,415 Times Read

A few days ago Fork Ruby's source, facing the unfamiliar Ruby technology stack, confused.
I fork it is not just for learning, but in the shortest possible time to build my mind of the community web site. So I can't buy a book to read for half a month on every new technology.

I run Ruby in this machine, a new user, found that can not post, prompted to register more than one months before you can. So I went to find the relevant code:

  # Can you post
  def newbie?
    return False if self.verified = = True
    self.created_at > 1.week.ago End
  

It's a week, and the code doesn't lie. So the words to change, by the way a pull request.
Pull away, the code said if it is self.verified is not a novice, I first went to the management backstage looked, did not modify the interface of this field. So I had to update this field in the database. I probably know MongoDB is a database, but I don't know how to operate it. From the macroscopic point of view

When I learned a new technical term, I didn't get into the details, but I grasped it from the macro level. Learn about its background, why it appears, what problems to solve, what kind of technology there is, how we work without it. With a macroscopic understanding, I can easily relate it to the technology I am familiar with, and understand it faster.

Practice the truth.

Open the official website, found that there is a very good try it out, first spend 10 minutes to play, there is a general understanding of the game, and then to solve the actual problem.

I knew the help command from the previous try it out, so I knew show Dbs,use Ruby_china_dev through Help. Based on the experience of using SQL, I take it for granted that one of the fields to update a record should be:

Db.users.update ({"_id": 3}, {verified:true})

But I tragically discovered that the entire record was replaced, well, this is the document database. So put the dog search: How to update Specific field in MongoDB, quickly found the answer.

Db.myCollection.update ({condfield: ' Condvalue '}, {$set: {datefield:new Date (0, 1)}}, False, True); 

The need for me here is:

Db.users.update ({_id:3}, {$set: {verified:true}}, False, True)

The problem has been solved.

As the contact grows deeper, more and more problems will be encountered. I will put every solved problem in my evernote so that I can find out the answer soon. When I found out that Postach.io was able to sync with Evernote, it opened up a blog and it was easier for others to find the answers when they encountered the same problem.

When I am really interested in a technology and have enough time to study, I usually follow the following steps to learn.

Teaching is the best way to learn

After enough practice, I may feel that I have mastered the technology. But when I try to express it, I'm surprised to find that there are many other concepts that are indefinitely. So I will look up the information and improve my system. It is only when I express what I have learned in my own language and make it clear to the audience that the technology is truly mastered.

It is important to learn to share, to summarize the technical experience, to write a blog, to assemble a book, and to share practical experience with the industry meetings. So as to become recognized experts in this field. Postpone study

A colleague who reads more than 100 books a year says:

You can't read dozens of books in a year, so don't read any books, spend more time picking books.

Now that new technologies are emerging, we don't have much time to delve into every single door. For most of the technology, we just need to understand the conceptual part, from the macroscopic understanding, decide whether we want to learn it in depth. With these understanding, you can easily chat with others, but also for future technology selection to do some reserve. When it comes to real demand, or if you have enough time to make a technical reserve, go into the practice section.

Programming is a quick update of the industry, only the real enthusiasm and mastered a good learning methods of people, can go long.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.