Westworld權限問題 - 歐美
By Elma
at 2016-11-27T11:50
at 2016-11-27T11:50
Table of Contents
※ 引述《p40403 (石頭)》之銘言:
: 我有注意看,在Ford操作面板時都要驗證指紋
: 為什麼權限這兩個字到屠夫那裡就消失了
: 讓host可以控制其他host,這個權限操作至少要主管以上吧,因為是直接修改核心了
: 怎麼看屠夫在操作儀器完全不用指紋驗證
: -----
: Sent from JPTT on my Samsung SM-N930F.
整個Maeve線兩個屠夫對於修改程式這段
只要有點概念或是已經在上班的人都會覺得根本是胡扯
以一般用Git來說 工程師從改code 到能實際施行大概會有下列步驟
Local -> Local commit -> Feature branch -> Local repo -> Production repo
其實還可以繼續細分下去 不過整體上概念大概是這樣
然後中間每一段都可以實施權限管制
比方說也許每個工程師都可以把code拉到自己電腦 但是會計業務之類的就沒辦法
然後Commit的時候檢查是不是真的是該工程師在負責這個Task等等
越往上當然能許可的人越少
所以想要直接從Local -> Production 這種事通常沒幾人有這種權限
以劇中的話大概就是Ford或是Berny有這種能力
像是Revery就是Ford直接繞過 一直到Production才被人發現有這項更新
(俗稱Ninja fix或是ninja coding)
會弄得這麼繁複當然是有很多原因的
記錄是誰哪個時間點做了什麼
Version control
還有一個很重要的原因就是 不希望會出錯的Code太容易進到Production
寫過程式就知道 隨便一個小修改出問題的機率簡直比姚明還高
在Feature Branch之前發現問題 影響可能只有你個人
在Local repo 可能就會影響到整個Team
到Production才發現問題 影響的就會是整間公司
這種情況的成本很高 當然對公司是要能避免就避免
能越早期治療就越好
回過頭來看Felix 其實從他玩小鳥(?)就已經開始不合理了
假設那隻小鳥是內部開發測試用的 不是實際在公園內的鳥
那大概只要能達到Local commit的階段就可以把改的code讓他執行
可是屠夫看起來就只是打雜打掃的 給他們權限拉到原始碼到底是為了什麼?
光這樣想就已經怪怪的 更不用說Felix是屠夫中的新手新手新新手
光上面的問題就會覺得劇中Maeve線根本對軟體開發沒有概念
不過其實還有一個更大的問題
在現實生活中 假設今天所有更新都已經在Production了 經過測試也都沒有問題
那就可以直接送給客戶或是安裝在客戶端了嗎?
當然不會 在游泳池測試能游5公里 不代表丟到海裡還能游5公里
在實際客戶環境中各種想都沒想過的問題都會發生
所以在實際讓客戶使用之前 還會有一個額外的步驟叫Staging
其實就是在客戶的環境中的測試版
Staging看起來會跟客戶用的沒有兩樣 但是實際上客戶還沒有真的使用
等於是做最終測試 有發現什麼問題在客戶感覺到之前先做修正
當然這時候出的問題成本就更高了 而且修正只能靠Hot patch
以劇中季初的最一開始介紹Revery的時候就很像是這情形
更新放到Clementine 這時他就像是Staging host 沒讓他接觸真實Guest
然後工程師觀察他有沒有出什麼問題
基本上Staging跟最上面的開發流程不同 這程序是沒辦法繞過的
一直到通過Staging之後才算是真正的完成更新
所以Felix到底做了什麼事?
他繞過所有上述步驟 直接更新在一個有在工作跟Guest互動的Host
這完全是超Ford趕Bernard
Ford雖然自己私下做了很多Host 可是他還沒直接丟進公園裡跟Guest互動勒
(還沒啦......)
當然是可以體會Maeve線想表達的概念 還有對劇情的重要性
只是手段實在是很粗糙
如果今天Felix發生在其他2流科幻劇也就算了
偏偏Westworld想主打現實 而且其他劇情線又都很精緻
(除了Maeve線都是精英...)
這中間轉換讓我很難調適
更慘的是Maeve線每次都佔大半時間
Felix九成時間都是呆滯流口水的表情
不想抱怨一下真的很難
--
: 我有注意看,在Ford操作面板時都要驗證指紋
: 為什麼權限這兩個字到屠夫那裡就消失了
: 讓host可以控制其他host,這個權限操作至少要主管以上吧,因為是直接修改核心了
: 怎麼看屠夫在操作儀器完全不用指紋驗證
: -----
: Sent from JPTT on my Samsung SM-N930F.
整個Maeve線兩個屠夫對於修改程式這段
只要有點概念或是已經在上班的人都會覺得根本是胡扯
以一般用Git來說 工程師從改code 到能實際施行大概會有下列步驟
Local -> Local commit -> Feature branch -> Local repo -> Production repo
其實還可以繼續細分下去 不過整體上概念大概是這樣
然後中間每一段都可以實施權限管制
比方說也許每個工程師都可以把code拉到自己電腦 但是會計業務之類的就沒辦法
然後Commit的時候檢查是不是真的是該工程師在負責這個Task等等
越往上當然能許可的人越少
所以想要直接從Local -> Production 這種事通常沒幾人有這種權限
以劇中的話大概就是Ford或是Berny有這種能力
像是Revery就是Ford直接繞過 一直到Production才被人發現有這項更新
(俗稱Ninja fix或是ninja coding)
會弄得這麼繁複當然是有很多原因的
記錄是誰哪個時間點做了什麼
Version control
還有一個很重要的原因就是 不希望會出錯的Code太容易進到Production
寫過程式就知道 隨便一個小修改出問題的機率簡直比姚明還高
在Feature Branch之前發現問題 影響可能只有你個人
在Local repo 可能就會影響到整個Team
到Production才發現問題 影響的就會是整間公司
這種情況的成本很高 當然對公司是要能避免就避免
能越早期治療就越好
回過頭來看Felix 其實從他玩小鳥(?)就已經開始不合理了
假設那隻小鳥是內部開發測試用的 不是實際在公園內的鳥
那大概只要能達到Local commit的階段就可以把改的code讓他執行
可是屠夫看起來就只是打雜打掃的 給他們權限拉到原始碼到底是為了什麼?
光這樣想就已經怪怪的 更不用說Felix是屠夫中的新手新手新新手
光上面的問題就會覺得劇中Maeve線根本對軟體開發沒有概念
不過其實還有一個更大的問題
在現實生活中 假設今天所有更新都已經在Production了 經過測試也都沒有問題
那就可以直接送給客戶或是安裝在客戶端了嗎?
當然不會 在游泳池測試能游5公里 不代表丟到海裡還能游5公里
在實際客戶環境中各種想都沒想過的問題都會發生
所以在實際讓客戶使用之前 還會有一個額外的步驟叫Staging
其實就是在客戶的環境中的測試版
Staging看起來會跟客戶用的沒有兩樣 但是實際上客戶還沒有真的使用
等於是做最終測試 有發現什麼問題在客戶感覺到之前先做修正
當然這時候出的問題成本就更高了 而且修正只能靠Hot patch
以劇中季初的最一開始介紹Revery的時候就很像是這情形
更新放到Clementine 這時他就像是Staging host 沒讓他接觸真實Guest
然後工程師觀察他有沒有出什麼問題
基本上Staging跟最上面的開發流程不同 這程序是沒辦法繞過的
一直到通過Staging之後才算是真正的完成更新
所以Felix到底做了什麼事?
他繞過所有上述步驟 直接更新在一個有在工作跟Guest互動的Host
這完全是超Ford趕Bernard
Ford雖然自己私下做了很多Host 可是他還沒直接丟進公園裡跟Guest互動勒
(還沒啦......)
當然是可以體會Maeve線想表達的概念 還有對劇情的重要性
只是手段實在是很粗糙
如果今天Felix發生在其他2流科幻劇也就算了
偏偏Westworld想主打現實 而且其他劇情線又都很精緻
(除了Maeve線都是精英...)
這中間轉換讓我很難調適
更慘的是Maeve線每次都佔大半時間
Felix九成時間都是呆滯流口水的表情
不想抱怨一下真的很難
--
Tags:
歐美
All Comments
By Megan
at 2016-11-28T05:54
at 2016-11-28T05:54
By Caroline
at 2016-12-02T18:13
at 2016-12-02T18:13
By Franklin
at 2016-12-03T23:24
at 2016-12-03T23:24
By Oscar
at 2016-12-04T07:43
at 2016-12-04T07:43
By Sierra Rose
at 2016-12-08T23:56
at 2016-12-08T23:56
By Margaret
at 2016-12-10T23:28
at 2016-12-10T23:28
By Doris
at 2016-12-15T20:06
at 2016-12-15T20:06
By Odelette
at 2016-12-20T08:01
at 2016-12-20T08:01
By Callum
at 2016-12-25T03:34
at 2016-12-25T03:34
By Madame
at 2016-12-28T09:16
at 2016-12-28T09:16
By Linda
at 2016-12-28T20:42
at 2016-12-28T20:42
By Yedda
at 2016-12-30T05:04
at 2016-12-30T05:04
By Xanthe
at 2017-01-01T08:24
at 2017-01-01T08:24
By Mary
at 2017-01-06T01:59
at 2017-01-06T01:59
By Rachel
at 2017-01-09T00:03
at 2017-01-09T00:03
By Daniel
at 2017-01-09T06:31
at 2017-01-09T06:31
By Quintina
at 2017-01-09T21:42
at 2017-01-09T21:42
By Bethany
at 2017-01-10T14:58
at 2017-01-10T14:58
By Dora
at 2017-01-15T09:55
at 2017-01-15T09:55
By Dora
at 2017-01-18T18:40
at 2017-01-18T18:40
By William
at 2017-01-18T20:09
at 2017-01-18T20:09
By Lily
at 2017-01-18T23:37
at 2017-01-18T23:37
By Genevieve
at 2017-01-22T17:49
at 2017-01-22T17:49
By Anthony
at 2017-01-27T09:56
at 2017-01-27T09:56
By Wallis
at 2017-01-29T07:30
at 2017-01-29T07:30
By Ingrid
at 2017-01-30T09:28
at 2017-01-30T09:28
By Victoria
at 2017-01-31T16:04
at 2017-01-31T16:04
By Mary
at 2017-02-03T07:27
at 2017-02-03T07:27
By Jessica
at 2017-02-03T19:40
at 2017-02-03T19:40
By Dorothy
at 2017-02-06T10:57
at 2017-02-06T10:57
By Barb Cronin
at 2017-02-09T19:02
at 2017-02-09T19:02
By Ida
at 2017-02-13T03:19
at 2017-02-13T03:19
By Frederica
at 2017-02-17T11:52
at 2017-02-17T11:52
By Agnes
at 2017-02-20T01:37
at 2017-02-20T01:37
By Andrew
at 2017-02-23T07:57
at 2017-02-23T07:57
By Odelette
at 2017-02-25T05:18
at 2017-02-25T05:18
By Necoo
at 2017-02-28T00:27
at 2017-02-28T00:27
By Blanche
at 2017-03-04T20:58
at 2017-03-04T20:58
By Faithe
at 2017-03-05T05:12
at 2017-03-05T05:12
By Lucy
at 2017-03-06T11:49
at 2017-03-06T11:49
By Bethany
at 2017-03-10T13:19
at 2017-03-10T13:19
By Elizabeth
at 2017-03-10T19:13
at 2017-03-10T19:13
By Una
at 2017-03-15T12:40
at 2017-03-15T12:40
By Rae
at 2017-03-17T02:18
at 2017-03-17T02:18
By Ursula
at 2017-03-19T19:39
at 2017-03-19T19:39
By Dinah
at 2017-03-20T20:02
at 2017-03-20T20:02
By Vanessa
at 2017-03-24T02:34
at 2017-03-24T02:34
By Agatha
at 2017-03-27T22:19
at 2017-03-27T22:19
By Edwina
at 2017-03-29T21:23
at 2017-03-29T21:23
By Charlotte
at 2017-04-03T10:55
at 2017-04-03T10:55
By Lily
at 2017-04-06T03:07
at 2017-04-06T03:07
By Edith
at 2017-04-07T11:05
at 2017-04-07T11:05
By James
at 2017-04-12T03:07
at 2017-04-12T03:07
By Edwina
at 2017-04-16T06:27
at 2017-04-16T06:27
By Kelly
at 2017-04-21T05:41
at 2017-04-21T05:41
By Joe
at 2017-04-23T10:36
at 2017-04-23T10:36
By Donna
at 2017-04-25T11:52
at 2017-04-25T11:52
By Sandy
at 2017-04-25T17:47
at 2017-04-25T17:47
By Lydia
at 2017-04-26T11:32
at 2017-04-26T11:32
By Kumar
at 2017-04-27T05:35
at 2017-04-27T05:35
By Sandy
at 2017-05-01T22:16
at 2017-05-01T22:16
By Jacob
at 2017-05-03T22:28
at 2017-05-03T22:28
By Susan
at 2017-05-04T03:10
at 2017-05-04T03:10
By Freda
at 2017-05-05T21:54
at 2017-05-05T21:54
By Carol
at 2017-05-08T02:44
at 2017-05-08T02:44
By Vanessa
at 2017-05-11T22:11
at 2017-05-11T22:11
By Victoria
at 2017-05-13T08:11
at 2017-05-13T08:11
By Elvira
at 2017-05-17T01:43
at 2017-05-17T01:43
By Bennie
at 2017-05-18T08:58
at 2017-05-18T08:58
By Yedda
at 2017-05-18T19:24
at 2017-05-18T19:24
By Lily
at 2017-05-20T01:49
at 2017-05-20T01:49
By Jacob
at 2017-05-22T10:42
at 2017-05-22T10:42
By Delia
at 2017-05-24T16:27
at 2017-05-24T16:27
By Hazel
at 2017-05-25T02:32
at 2017-05-25T02:32
By Puput
at 2017-05-25T03:40
at 2017-05-25T03:40
By Quintina
at 2017-05-27T04:53
at 2017-05-27T04:53
By Noah
at 2017-05-30T16:03
at 2017-05-30T16:03
By Genevieve
at 2017-06-02T02:14
at 2017-06-02T02:14
By Jack
at 2017-06-02T14:47
at 2017-06-02T14:47
By Rachel
at 2017-06-04T22:04
at 2017-06-04T22:04
By William
at 2017-06-07T01:03
at 2017-06-07T01:03
By Victoria
at 2017-06-08T11:10
at 2017-06-08T11:10
By Victoria
at 2017-06-12T00:59
at 2017-06-12T00:59
By Sandy
at 2017-06-15T22:06
at 2017-06-15T22:06
By Regina
at 2017-06-17T02:53
at 2017-06-17T02:53
By George
at 2017-06-18T12:36
at 2017-06-18T12:36
By Michael
at 2017-06-21T01:53
at 2017-06-21T01:53
By Emma
at 2017-06-21T13:08
at 2017-06-21T13:08
By Frederica
at 2017-06-22T05:13
at 2017-06-22T05:13
By Oscar
at 2017-06-22T10:18
at 2017-06-22T10:18
By Genevieve
at 2017-06-24T13:45
at 2017-06-24T13:45
By Leila
at 2017-06-26T03:26
at 2017-06-26T03:26
By Charlotte
at 2017-06-27T11:26
at 2017-06-27T11:26
By Tracy
at 2017-07-01T14:46
at 2017-07-01T14:46
By Hedy
at 2017-07-02T16:36
at 2017-07-02T16:36
By Heather
at 2017-07-05T11:53
at 2017-07-05T11:53
By Jessica
at 2017-07-08T16:11
at 2017-07-08T16:11
By Heather
at 2017-07-12T06:42
at 2017-07-12T06:42
By Anthony
at 2017-07-13T00:22
at 2017-07-13T00:22
By Yuri
at 2017-07-17T15:41
at 2017-07-17T15:41
By Leila
at 2017-07-21T08:11
at 2017-07-21T08:11
By Olivia
at 2017-07-24T01:47
at 2017-07-24T01:47
By Iris
at 2017-07-28T00:24
at 2017-07-28T00:24
By Jacky
at 2017-07-28T18:01
at 2017-07-28T18:01
By Elizabeth
at 2017-07-29T11:43
at 2017-07-29T11:43
By Tristan Cohan
at 2017-08-01T20:31
at 2017-08-01T20:31
By Hardy
at 2017-08-05T12:05
at 2017-08-05T12:05
By Elizabeth
at 2017-08-06T05:00
at 2017-08-06T05:00
By Edward Lewis
at 2017-08-06T20:23
at 2017-08-06T20:23
By Andrew
at 2017-08-07T18:27
at 2017-08-07T18:27
By Puput
at 2017-08-09T00:13
at 2017-08-09T00:13
By Quintina
at 2017-08-13T15:30
at 2017-08-13T15:30
By Charlie
at 2017-08-14T12:16
at 2017-08-14T12:16
By Linda
at 2017-08-18T14:01
at 2017-08-18T14:01
By Zanna
at 2017-08-22T14:37
at 2017-08-22T14:37
By Olive
at 2017-08-22T22:56
at 2017-08-22T22:56
By Leila
at 2017-08-27T12:26
at 2017-08-27T12:26
By Steve
at 2017-08-28T15:05
at 2017-08-28T15:05
By Frederic
at 2017-08-28T20:20
at 2017-08-28T20:20
By Charlie
at 2017-08-31T23:38
at 2017-08-31T23:38
Related Posts
古巴強人卡斯楚過世
By Emma
at 2016-11-26T15:57
at 2016-11-26T15:57
幫馬份QQ
By Dinah
at 2016-11-26T11:01
at 2016-11-26T11:01
有人曾追penny dreadful低俗怪談的嗎?
By Joe
at 2016-11-26T05:49
at 2016-11-26T05:49
This is us S01E08 (雷)
By Blanche
at 2016-11-26T03:44
at 2016-11-26T03:44
Westworld S01E09 預告
By Jessica
at 2016-11-26T01:02
at 2016-11-26T01:02