洛威尔有些安全措施 需要用户名和密码组合
and I'm gonna go ahead and say they don't have access to the main FAS user database,
我只需要继续搞 让他们的应急数据库没有登录记录
so they have no way of detecting an intrusion.
就不会看出非法登录者了
Adams has no security, but limits the number of results to 20 a page.
亚当斯没有安全措施 但是页面结果数量被限制为20
All I need to do is break out the same script I used on Lowell and we're set.
我只需要想在洛威尔一样 终止一些脚本 重启就可以了
Quincy has no online facebook. What a sham.
昆西没有在线肖像集 真丢脸!
Nothing I can do about that.
这我就没办法了
Dunster is intense.
邓斯特比较难搞
Not only is there no public directory, but there's no directory at all.
他们不是没有公共目录 而是干脆就没有目录
You have to do searches,
你必须检索
and if your search returns more than 20 matches, nothing gets returned.
而且如果符合参数的 返回数多于20 就什么都不会返回
And once you do get results, they don't link directly to the images.
你拿到结果之后 还不会直接链接到图像上
They link to a PHP that redirects or something. Weird.
它们通过PHP脚本 重定向到什么东西上去了 真怪
This may be difficult. I'll come back later.
这大概比较难了 回头再说
Hey, Shark Week's on. What?
嘿 Mark! 干嘛?
Great white, beautiful fish. Nice.
不错啊 是条漂亮鱼
Leverett is a little better. They still make you search,
莱弗里特还算好点儿 起码他们还让你检索
but you can do an empty search and get links to pages with every student's picture.
你可以执行空检索 得到所有学生照片的链接
It's slightly obnoxious that they only let you view one picture at a time,
不过一次只能看到一张图片 这事儿可真恨人呐...
and there's no way I'm going to go to 500 pages to download pics one at a time.
我怎么可能一个一个地 打开500个页面下载照片呢
So it's definitely necessary to break out Emacs and modify that Perl script.
所以必须用EMACS编辑器 把PERL语言脚本修正一下
Here you go.
开始了。
Done.
完活儿
Hey, what's going on?
嘿 忙啥呢?
Perfect timing. Eduardo's here and he's going to have the key ingredient.
来得正好 Eduardo 他将负责关键部分
Hey, Mark. Wardo.
嘿 Mark Eduardo...
You and Erica split up.
你跟Erica分手了?
How did you know that?
你怎么知道的?
It's on your blog.
你写在博客上了啊
Yeah. Are you all right?
没错 你没事儿吧?
I need you. I'm here for you.
我需要你 我这不是来了嘛
No, I need the algorithm you use to rank chess players.
不是 我是要你那个 给象棋选手做排名的算法
Are you okay? We're ranking girls.
你没问题吧? 我们在给姑娘们做排名
You mean other students. Yeah.
你是说其他学生吧 没错
You think this is such a good idea?
你觉得这事儿靠谱吗?
I need the algorithm. Mark...
我需要算法 明白吗
I need the algorithm.
我需要算法
Give each girl a base rating of 1400.
每个女生起评分1400
At any given time Girl A has a rating Ra and Girl B has a rating Rb.
一旦"女生A"获得评分值"Ra" "女生B"获得评分值"Rb"
When any two girls are matched up, there's an expectation of which will win
则二者进行比对
based on their current rating, right?
根据当前评分值可以求得期望 从而比较结果 谁会胜出 对吧?
Yeah. And those expectations are expressed this way.
所有期望应当可以这样表达
Let's write it.
写出来