[Jack] prodigal son to help you improve problem-solving skills

Today we are happy to talk about the topic :)


We all know that no matter what the industry, learning ability is the most important development, with the potential for the can.


But what learning is actually very true, how companies pay wages to your ability to learn. I think we can use to measure problem-solving skills


We started our conversation from a few shots


A screenshot:


600


Screenshot II:


600


Screenshot three:


600


Make good use of the Internet search tool

        As a novice is inevitably encounter problems on various technical group to go ask, this is normal, so my experience is over. But generally they have jobs, who can provide timely help, basically impossible. Therefore I have to rely on ourselves, that we are the first shots, according Tip: no input file specified. Our words as keywords, as search criteria. Take a look at a few screenshots search engine


600

600



600


600






        Through the above a few shots, we should see the results of it, in fact, 95% of the problems we encountered, 6 billion people must be someone encountered before.


        Through a search engine to find the answer, mainly to find Keywords, keywords are usually error , the error directly to the search box will come out a lot of Tire basic answer. For example screenshot three keywords should be a vagrant vm boot_timeout


        You must develop this habit, because people tell you the answer, your answer is difficult, and only after their own costs will learn to cherish the time to find. Of course, if Barbara did not find searched through again I ask, is there such growth. In short, try to ask people to search their own.


The correct understanding of the application error


       Because when we appreciate the benefits of search, you might not see a direct copy sprinkle put a search box to search inside, often overlooked application itself an error reminder. For example, the second shot has been suggested (you might say that they will not do in English, but you can use translation software ah), follow the prompts should be your ip is already bound , this should be regarded as an error very clear, then to check where was occupied.


        再来一张截图,简单说明下,这个是Yii框架的错误提示,提示Response对象没有Cookie属性,这个简单推断应该就是代码写错了。


600


工欲善其事必先利其器


        一定要选个好用的编辑器,不要和我扯,用什么文本编辑器是为了记住语法,你用个有提示的编辑器 就无法记住函数了,自己懒,不要为自己找借口。但是自己一定要知道有什么函数,不用说全部都知道,至少常用的80%都要知道。


        经过有同学遇到这样的问题,感觉自己没写错,但是php一直提示编译错误,你这时候你要相信php肯定没错呀,肯定是你的错了,你说你都是一个字母字母的敲的。。。。。


推荐一下几个软件:

        PhpStorm:PHP研发一定要用用

        PyCharm:Python开发编辑器

        IntelliJ IDEA : Java 编辑器


600


软件日志


        日志真的是我们排除问题的好朋友,他是我们解决问题,找问题根源的依据,所以你有什么理由不去看日志了。


        当我们遇到各种错误的时候一般日志都会有体现,例如可以查看WebServer的 error.log,php或者fpm的错误日志,应用记录的错误日志( 我的课程: Yii 2.0 从微信端到后台全栈开发图书商城 中就有错误日志处理,为什么要处理,就是为了在排除错误的时候有用了)


        以下截图是Nginx error日志,是不是可以看到是哪个文件哪里错了,并且可以看到提示 是 cookies字段太短啦

        

        是不是很有用,哈哈,这就是日志的好处,正常情况下没什么用,已到错误时候就有用啦


600

    




这次没有广告,上次加了一个转账二维码,我的女人说你这是强制要钱,就不放了(上篇文章有同学转账,已经在个人网站赞助已经更新,谢谢您的支持),真要赞助你一定可以找到的,哈哈


最后关于爱因斯坦这张吐舌头的图片我要强调一下:


A person holding the Earth's energy equation could have a naughty side, so those of us ordinary workers have to work mischievous positive energy wow


Let's laugh together on the life and work of Bug ~~ :)


600






I am here to put some projects here piecemeal aggregation into a demonstration system, are welcome to take a look


URL demonstration system: Demo System


demo


Original Address: [Jack] prodigal son to help you improve problem-solving skills
Tags: Chicken Soup for    the error log    search engine   

Intelligent Recommendation

Reproduced in: https: //my.oschina.net/54php/blog/974070

Guess you like

Origin blog.csdn.net/weixin_34236869/article/details/91634625