SegmentFault.php 欢迎投递~ :)
|
SunyanziFeb 20, 2014
1
|
|
humiaozuzuFeb 20, 2014
3
lz 是因为玩lol被骂小学生才选的dota2吧
|
|
skydiverFeb 20, 2014 via Android
4
请给出明确的薪酬范围。
|
|
lsylsy2Feb 20, 2014
5
miwifi……
|
|
ETiVFeb 20, 2014
6
这 $rank 得有个满分吧?
|
|
yangffFeb 20, 2014
7
return if Code.type?(Code::PHP)
|
|
durrrrFeb 20, 2014
8
我大 real force 键盘没上榜表示不服 :)
|
|
9
薪酬可以看这个帖子 http://www.v2ex.com/t/86432
|
|
weakishFeb 20, 2014
10
|
|
11
|
|
ritksmFeb 20, 2014
12
撸啊撸0分 那我就不去好了
|
|
dudong0726Feb 20, 2014
13
确定是招聘不是求男神高富帅
|
|
dudong0726Feb 20, 2014
14
还有你考虑过Dota的感受吗
|
|
0bitFeb 20, 2014
15
真心不喜欢这种不好好写招聘信息,一定要写在代码里的geek范儿。
还不如用Markdown顺眼。 |
|
jiang42Feb 20, 2014
17
mi-wifi差评-。-
vim才两分不科学 equipments一栏真心高富帅 chromebook的话除了pixel,其他倒还好 剩下的廉价货就只有Nexus,Kindle和R-Pi了 |
|
anewgFeb 20, 2014
18
$rank 是什么个情况。。。 我想算个分都不知道要定多少
|
|
moondarkFeb 20, 2014
19
原来dota还能加分。。
|
|
Fteng328Feb 20, 2014
21
才勉强70出头
|
|
zhujinliangFeb 20, 2014
22
$rank范围是多少啊?
另外指出一处代码错误: case 'lol': $score += $rank * 0; 多了个加号 |
|
zhf1978Feb 20, 2014
23
<?php
/** * SF后端开发者招聘函数 * * @param array $conditions 条件列表 * @return integer 分数 */ function wanted_developer(array $conditions) { $score = 0; foreach ($conditions as $key => $condition) { switch ($key) { case 'skills': foreach ($condition as $name => $rank) { switch ($name) { case 'linux': case 'nginx': case 'apache': $score += $rank * 1; break; case 'html': case 'php': case 'java': case 'mysql': $score += $rank * 2; break; case 'c/c++': case 'redis': case 'scala': case 'nodejs': case 'mongodb': $score += $rank * 3; break; case 'dota': case 'dota2': $score += $rank * 4; break; case 'lol': $score += $rank * 0; break; default: break; } } break; case 'networks': foreach ($condition as $name) { switch ($name) { case 'weibo': case 'qq': case 'weixin': case 'douban': $score += 1; break; case 'v2ex': case 'zhihu': case 'github': case 'gmail': case 'facebook': case 'twitter': case 'wordpress': $score += 2; break; case 'aws': case 'gae': case 'openshift': case 'linode': case 'azure': $score += 3; break; case 'cl': case 'segmentfault': case 'typecho': $score += 4; break; default: break; } } break; case 'softwares': foreach ($condition as $name) { switch ($name) { case 'linux': case 'macosx': case 'git': case 'chrome': case 'firefox': case 'opera': $score += 1; break; case 'vim': case 'emacs': case 'sublime': $score += 2; break; case 'brew': case 'vagrant': case 'shadowsocks': $score += 3; break; case 'ie': $score -= 1; break; case 'windows': $score += 0; break; default: break; } } break; case 'equipments': foreach ($condition as $name) { switch ($name) { case 'mac': case 'chromebook': case 'iphone': case 'nexus': $score += 1; break; case 'hhkb': case 'cherry': case 'filco': case 'kindle': $score += 2; break; case 'miwifi': case 'g-glass': case 'raspberry-pi': case 'leap-motion': $score += 3; break; default: break; } } break; default: break; } } return $score; } /** * SF后端开发者薪资计算 * * @param intger $yourscore 得分 * @return integer 月薪 */ function salaryband($score) { //RMB元 $salary = 0; switch ($score){ case $score >= 70 && $score <= 75: $salary = 5000; break; case $score > 75 && $score <= 80: $salary = 10000; break; case $score > 80 && $score <= 90: $salary = 15000; break; case $score > 90 && $score <= 100: $salary = 20000; break; default: break; } return $salary; } $yourscore = wanted_developer($your_conditions); $yoursalary = salaryband($yourscore); if ($yourscore > 70 && $expectedsalary = $yoursalary) { mail('[email protected]', '0day', $your_resume); } |
|
captain234Feb 20, 2014
24
equipment选项严重鄙视了穷屌丝一把
|
|
25
if ($yourscore > 70 && $expectedsalary = $yoursalary) {
mail('[email protected]', '0day', $your_resume); } 单等号是槽点么。。。 |
|
lvyeFeb 20, 2014
26
@captain234 因为 @joyqi是高富帅,他也会带你成为高富帅。
|
|
sogoodFeb 20, 2014
28
switch 不是这么用的。
有创意但有 bug。 |
|
captain234Feb 20, 2014
29
@zhujinliang 从skills选项可以目测应该是rank为10分
|
|
kojpFeb 20, 2014
30
Mark
|
|
zhf1978Feb 20, 2014
31
@zhujinliang I‘m sorry,应该是($expectedsalary == $yoursalary),(期望的薪资 == 你技能得分后的薪资级别),哈哈,我不是SF的人哈,觉着看这样的招聘简章有意思,跟着参与回复了一下下 ^_^
|
|
weakishFeb 20, 2014
32
@zhujinliang 你太狠了……
|
|
sophoFeb 20, 2014
33
@zhujinliang 首先加号用不用都一样 后面分数不够的 意思就是你玩lol不要;第二点在php中string 单引号的效率高于双引号原因自己去查。
|
|
zhujinliangFeb 20, 2014 via iPad
34
@zhf1978 其实我想吐槽的是,写出单等号,实际成了赋值操作,有点“被期望”的意味
|
|
lazybiosFeb 21, 2014
35
唉。。。不谈salary 选择性Geek
|
|
sophoFeb 21, 2014 via iPhone
36
@zhujinliang sf在dota中是影魔这个英雄的简称 sf团队应该跟dota有渊源 比较鄙视抄袭者lol
|
|
laputaprinceFeb 21, 2014
37
|
|
zhshhereFeb 21, 2014
38
帮转
|
|
cloudqqFeb 21, 2014
39
不错,最好能直接跑起来。
|
|
fuxkcsdnFeb 21, 2014
40
$rank是根据自己的熟练程度填写的吗??是的话范围??
如果是固定数值,数值是?? |
|
barberyFeb 22, 2014
41
赞一个,看起来比看文字的招聘广告舒服多了
|
|
a15819620038Feb 23, 2014
42
// 满分10分的话
define('MAX_RANK', 10); $want_to_be['nickname'] = 'happen_zhang'; $want_to_be['conditions'] = array( 'skills' => array( // 满分属于彻底了解的话(包括底层实现) 'linux' => MAX_RANK * 0.4, 'apache' => MAX_RANK * 0.3, 'html' => MAX_RANK * 0.6, 'php' => MAX_RANK * 0.6, 'java' => MAX_RANK * 0.5, 'mysql' => MAX_RANK * 0.5, 'c/c++' => MAX_RANK * 0.2, 'nodejs' => MAX_RANK * 0.3, 'mongodb' => MAX_RANK * 0.2, 'ruby' => MAX_RANK * 0.4, 'rails' => MAX_RANK * 0.4 ), 'networks' => array( 'weibo', 'qq', 'weixin', 'douban', 'v2ex', 'zhihu', 'github', 'gmail', 'segmentfault', 'aliyun' ), 'softwares' => array( 'linux' => 'ubuntu', 'git', 'firefox', 'chrome', 'sublime' ) ); var_dump(wanted_developer($want_to_be['conditions'])); 现在大三,开发语言暂时是以php为主,项目经验1年(在校)。 现在或者暑假想找个有实习的地方,不知道贵公司收不收? |
|
a15819620038Feb 23, 2014 via Android
43
$rank满分为10的话,下面数组
|
|
a15819620038Feb 23, 2014 via Android
44
@a15819620038 不好意思,equipments为空是因为确实一样也没有…
|
|
odirusFeb 25, 2014
45
看到Windows、IE。。。,不过我觉得如果应聘者是专门做IE的同鞋,那不是误伤?
|
|
xuxuFeb 26, 2014
46
不就找一破写代码的嘛
天梯至少1600才能合格对不? |
|
zhenghuiyMay 3, 2014
47
为啥不发展移动客户端?
|