( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.10214094392require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10274123384include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10274123384get_header( $name = ???, $args = ??? ).../single.php:10
60.10274123600locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10274123696load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10274124240require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10294131648wp_head( ).../header.php:18
100.10294131648do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10294131864WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10294131864WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10304135280wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10304135280do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10304135496WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10304135496WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10324137384twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10334138904wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.10334138904WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.10334138904WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.10334138904_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.10344144856wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.10344264392trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.10214094392require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10274123384include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10274123384get_header( $name = ???, $args = ??? ).../single.php:10
60.10274123600locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10274123696load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10274124240require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10294131648wp_head( ).../header.php:18
100.10294131648do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10294131864WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10294131864WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10304135280wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10304135280do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10304135496WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10304135496WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10324137384twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.13024265496wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.13024265496WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.13024265496WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.13024265496_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.13024265816wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.13024266040trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

你在业余时间都开发过什么?

这多年来,我面试过很多程序员。最近,我在思考一个事情,究竟通过一个什么样的问题能够最大的获取一个人对于编程的能力和热忱的信息。

我总结出来,只有这个问题具有最强的钻透力:

你在业余时间都开发过什么?

我喜欢这个问题,因为它一次触及到了很多方面。业余时间是一种很宝贵的资源,你通常会把它用到你最感兴趣的事情上。如果把这种资源用于开发,这是一个 很强的信号,说明你热心于此。另一方面,如果得到的回复是“啊?”或“在业余时间?”,这也许能很好的提示你,他可能不是你要找的人。

而他们所做的是些什么事情,也是一个有趣的指示器。他们是否对开源项目捐赠过代码?是否有过把一种工具移植到一种新语言上?利用一些新科技开发出一些很酷的工具?根据他们开发的东西以及开发的原因,你能真正的洞悉他们的思想动机和挑战精神。

这个问题同样能让你了解到他们保持技术更新和自学的能力。如此多的新技术和新思想不断的产生,要想不落伍需要付出努力。你几乎不可能在“工作时间”做这种事情。

这就是我为什么喜欢这个问题、所有面试都要提出这个问题的原因。

你最喜欢的问题是什么?

更新:

非常感谢你们对这个特殊的话题的各种反应和观点。我完全没有想通过这么一个问题就简单的对应聘者进行分类的意思,这只是在我依据个人经验得出的一个小 小的观点。我主要想表达的是,我想弄清一个人究竟对什么感兴趣。如果有人说“一天的工作后,为什么我还要在家工作呢?”,我完全赞同!但这种事情不应该被 看成是“工作”。

也许,或者你应该偶然在家做的事情。我平均每周会用2-3小时在家去实现我的一些想法,或测试某些新技术,或只是读一本好书。这很难说无法做到。

而且,我认为,随着时间的积累,这越发显得重要。当你在某个领域积累了很深的知识和经验,这会成为你观察问题的多棱镜。扩展知识面会让你在新项目上产生有创意(甚至令人惊讶)的想法,对过去棘手的问题产生新思路,或带来很多个人乐趣。

关键就是对编程的一种渴望,如果不敲键盘,手会痒痒。

原文:Matan Amir
译文:外刊IT评论

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.