洛威爾有些安全措施 需要用戶名和密碼組合
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.
寫出來