搜尋

搜尋結果

Swarm mode 上線 6 - 2| 升級陷阱
科技新知
MacauYeah・2025-04-14

上一期筆者就介紹寺過swarm的相容性,可以任意地刪除其中node、加入新的node,系統會自動同步各機狀態。今日,我們就來討論一下加減的流程吧。 實戰輪調流程 假設我們有5個 node,都為manager,各個 docker 版本都為28.0.4 ,我們將要關掉node 5 ubuntu 22,並加入node 6 ubuntu24,輪調流程如下 如果node5有vvip,login node 5,關掉vvip systemctl stop keepalived login node1, 把node5降為drain模式,變為worker,並從群集中刪除 docker node update availability drain node5 docker node demote node5 若然node5不是直接關機、刪除,只想好好地離開群集,可以 login node5, 在node5上預先執行 docker swarm leave docker node rm force node5 如果之前node5有好好地離開群集,而且狀態已經轉為down,那麼就不用quot;forcequot;了,用最保守的刪除指令就可以 docker node rm node5 login node1, 取得manager token docker swarm jointoken manager node5關機,新增node6,使用相容的ip段,或者使用node5的ip login node6, 加入群集,設定vvip docker swarm join token xxxx XX_IPXX_PORT systemctl stop keepalived 這陷阱這陷阱 偏我遇上 上述的操作,有一些可能的陷阱,筆者就剛好踩過,未來不知道會不會有官方保證 docker的版本需要相同,不同版本可能不能加入群集,例如 docker 28.0.4 不能加到 docker 27.5.1。 docker 27.2.x 不能加到 docker 27.5.1。 docker swarm,官方雖然宣稱支援不同版本共存,但這指的是已加入的node,在不解綁的情況下原機升級。 在swarm已有多版本共存的情況下,有一個node選擇完全脫離,它想再加入,也是會失敗的。可能這不是docker自身的限制,而是底層library的相容性問題。筆者在實測不同版本時,就得到這樣的error。docker credentials cannot check peer missing selected ALPN property

澳門路牌澳門歷史的佐證
宗教玄學
熊神進・2024-10-04

Some toponiacute;micas ao papel pictures and texts are peeling off, and citizens are worried that this will affect Macau's feng shui. After the handover, Macau retained Portuguese characteristics, such as Calccedil;ada Portuguesa, cesto de lixo, cabin telefoacute;nica, candeeiro de rua, Farol da Guia, placas toponiacute;micas a azulejo, etc. These are the focus of attracting tourists from all over the world to visit Macau. Having inspected some places recently, I.A.M. personnel discovered that a batch of newly replaced placas toponiacute;micas a azulejo had quality problems. The personnel spotted the noncompliance with the required manufacturing process and suspected fraud, and the case was reported for investigation. As for placas toponiacute;micas a azulejo suspected of cutting corners, law enforcement agencies have launched relevant investigations and taken temporary remedial measures for placas toponiacute;micas a azulejo that have peeled off to ensure the function of placas toponiacute;micas a azulejo as directional signages. The problematic placas toponiacute;micas a azulejo will be replaced as soon as possible and the work will be completed within the fourth quarter of this year. The placas toponiacute;micas a azulejo in Macau, rooted in the art of azulejos, reflect the city's cultural diversity. Their distinctive blue and white color scheme, adorned with placas toponiacute;micas in both Chinese and Portuguese, has become an integral part of Macau's identity. During the Portuguese reign, the placas toponiacute;micas a azulejo was a testament to the city's multicultural fabric, with the Portuguese language dominating threequarters of the plate surface area and the Chinese language occupying the remaining quarter. Mickey Hung went to Rua dos Eucaliptos, Parque Industrial Luen San, Coloane last week and saw o placas toponiacute;micas a azulejo. The placas toponiacute;micas were initially supposed to be made of fired ceramics. Now, they are suspected of having papels on the surface of the white tiles, and they are surrounded by an edge pattern that is yellowing and falling off. According to the provisions of the projectrelated documents, placas toponiacute;micas a azulejo must be manufactured using the quot;sob esmaltequot; technique, and the procedure specifications to be followed by the quot;sob esmaltequot; method are clearly stated. However, during the inspection, I.A.M. personnel discovered that the placas toponiacute;micas were not fired with quot;sob esmaltequot; according to the procedure specifications, and there was a suspicion of cutting corners. O placas toponiacute;micas a azulejo is the quintessence of Portugal and a mirror of Feng Shui, which can reflect the core values of a city. The people's culture of a city is reflected in the mirror, and the Road name sign is a history textbook that prints Macao citizens' past living habits and Macao's historical origin. It's like the early Paacute;tio da Indigecirc;ncia and the people here lived relatively poor lives in the past. Later, the street name was changed to Travessa de S. Paulo on August 19, 1969. There are many ways to name streets in Macau. One common practice is naming them after street landmarks and buildings. However, as time passes, the buildings have been moved away from the streets or disappeared entirely, making the street names somewhat inconsistent. The Chinese street names may change to a new one based on the reality. Like Calccedil;ada de Tronco Velho, the place used to be a prison. After the prison was moved, the original Portuguese street name remained unchanged. This shows that placas toponiacute;micas a azulejo is a witness to the history and civilization of Macau. O placas toponiacute;micas a azulejo must not only have appealing outlook, but also have connotation. If it is just a placas toponiacute;micas a azulejo, it will not play a role in feng shui. When O placas toponiacute;micas a azulejo records a piece of history, it is alive and spiritual. There is a story; this is what Feng Shui experts call quot;spirituality,quot; which is Feng Shui.

排版之於文字創作者的重要性
手機‧電玩
MacauYeah・2024-09-05

筆者已經很少再買遊戲相關的書藉,一來因為筆者已漸漸遠離遊戲新作,二來發現某些紙媒的資訊瑕疵越來越多,所以就沒有再看。但因為家裏土地資源問題,筆者需要再斷捨離一些收藏,所以就再拿起舊的遊戲雜誌來重新審閱。 說實在,在過去、現在,很多傳媒的資訊都無法確認正確性,其資訊價值難似證明,但某些紙媒一直存在至今,一定是有些地方,很受市場歡迎。那些地方,大家也不妨去借鑑一下,或者對自己的作品會有幫助。 之前某一期,筆者也表明過,UCG的攻略有著抄襲問題,所以筆者已不再購買他們的新攻略。但重翻他們家的百期特輯,內容的確不錯。 主題的選擇 作為百期特輯,他們會選擇一些回顧的主題。而這些回顧也的確實表現出時間的演變。 排版 現時網絡資訊,品質好的,會配以圖文表示。但因為結構單一,所以新鮮感不足。最差的什至會滿頁廣告,閱讀感很差。但以百期特輯的雜誌式的排序,每頁配圖位置稍有不一,亦有主題轉變,風格相似又不盡相同,真的耐看。 匯整 雖然資訊不能保證百分百正確。但以匯整的角度來說,有一讀的價值。好比ChatGPT,它的資訊也不是完全正確,但它可以省略你在搜尋引擎中四處查看、逐一對比的過程。 對於各位文字創作者,有條件,當然可以嘗試以圖文方式豐富視覺內容。那怕沒有時間挑圖,也可以試試定制不同章節的排版風格,來讓故事文章變得比較有過程的變化或是段落感。 不過,說到尾,筆者並不是對抄襲問題作出認同,我們應對原創有更多的支持,抄襲只會讓原創更難生存。但某些二次整理,也有它的價值。就像筆者的知識分享一樣,重複以不同的方式,更易理解的角度,去重述一些議題,倒是不會嫌多。

Steam Deck 也可以作為文字創作
科技新知
MacauYeah・2024-01-23

之前筆者就介紹了,如何使用Steam Deck作為程式開發機使用。這可能對於一般讀者來講不太常用,更常用的是做一些文書處理。筆者最近也拿著Steam Deck,也一步步地補充文書處理所缺少的軟件,正式踏入Steam Deck日常之路。 如果你沒有對系統做過任何更改,在桌面模式中,只要打開「Discover」,輸入後逐的軟件的唯一package name,就可以找到相關軟件。 但如果你像筆者之前一樣,加了homebrew等第三方系統,可能所有軟件都需要在terminal中,經過指令sudo flatpak install PACKAGE_NAME。 Chrome 唯一碼 com.google.Chrome 系統預設瀏覽器只有Firefox,不習慣的話可以另外下載Chrome。有了Chrome,至少所有的雲端文書軟件都可以用,想用Google Doc也沒有問題。 中文輸入法:Fcitx5 Rime 唯一碼:org.fcitx.Fcitx5 唯一碼:org.fcitx.Fcitx5.Addon.Rime Steam Deck原本有自帶的輸入法,但只適用於螢幕虛擬鍵盤使用(即使用Steam key X,打開虛擬鍵盤),而實體鍵盤就無法轉輸入法了。這時就需要Linux上的Fcitx5和Rime了。安裝很簡單,之後還要設定一下。 首次安裝後,在啟動器(桌面左下角)搜㝷及啟動 fcitx5,然後在右下角就會見到有個新的鍵盤圖示出現。 按鍵盤圖示,滑鼠右鍵,點選configure,把Rime 加入Fcitx裏面,然後Apply rarr; Close 然後按鍵盤圖示,滑鼠左鍵,應該就會切會成中文輸入法了。這時原本的鍵盤圖示會變成中文輸入法的圖示(或者你經CtrlSpace也可以) 最後對著中文輸入法圖示,再滑鼠右鍵,可以選擇不同的中文輸入法,例如拼音、注意、倉頡等。 有了輸入法,有了瀏覽器,世界已經都是你的了。 下載器 JDownloader 唯一碼:org.jdownloader.JDownloader 它可以用來下載大部份隱藏文件,例如YouTube video audio 。但需要注要,首次下載JDownloader 後,還要經過軟件內部更新,否則不能使用。(就像很多手遊,下了主程式後還要下更新檔) 其他 如果你不是長期有網絡,還需要真離線版文書處理器,還可以看看LibreOffice,WPS Office。但這些都不能保證跟windows office 百分百轉換,可能還是使用雲版的Microsoft office 365還要實際。

FF16 - 心得分享
手機‧電玩
MacauYeah・2023-07-14

絕對一讚的唯美 雖然FF16這代大大改變以往的遊戲方法,但作為老牌遊戲,它的角色建模、CG過程始終都保持領先地位。這些元素,大家可以在試玩版中體驗到。試玩版的序章一開始進入遊戲,就馬上可以看到第一場召喚獸大戰,畫面精彩、夠震撼、令人興奮。序章部份還有教學及實戰,控制主角打哥布林及BOSS。其中回避、攻擊模式做得不錯,雖然只是哥布林,但BOSS表現也很有壓場感,讚、很好。 探索部份有點失落 餘下的,就要聊聊機制的部份。雖然劇情很好,也有看大片的感覺,但畢竟是遊戲,要長期遊玩還是要好好考慮難度和探索設計的問題。 在一開始遊玩時,筆者還會不停探索地圖,檢道具,清野怪以及小BOSS。但越玩就越發現,這些都並不必要,什麼覺得有點多餘。 因為隨著遊戲進程,需要買裝備或升級裝備的時候,對材料的消耗量並不多,主線中原本就會得到足夠的材料以及金錢,解支線的剛性需求不大。而且初期很快就會得到兩件紫色防具,而這兩件防具足夠用到中後期。另一方面,武器跟隨主線就可以到武器店建造,不能強化。而後期,單單做武器商的支線以及打某幾隻危險怪就可以制造最高級防具以及武器,跟本用不著到處探索找材料。 支線部分,大部分支線都十分無聊,對劇情沒什麼關係,而且獎勵雞肋,所以並沒有特別的吸引力。除了增加道具使用數量以及裝備圖紙等,其他支線做與不做真是無分別。 所以即使地圖再大再多,筆者也無任何探索欲望。 而技能方面,遊戲合共可以選擇3個召喚獸技能以及6個分支技能。每個召喚獸分支技能升到最高級可以放在不同召喚獸上使用,而且可以隨時重置。這部分就可以自行選擇自已喜愛的技能,設計尚算宜人。 總結 總括來講,今集劇情畫面一流,對得起3A大作的稱號,但其他部分遊戲吸引力就很普通,難以讓玩家流年忘返。 劇情4分、遊戲性2分、畫面5分 對比FF7重制系列的可玩性,此作不推薦。但若然為傳統劇情老玩家,或完全未玩過系列作,想以入門試水溫但怕痛苦的,反而就值得一試。

【澳門美食】感受秋天的氣息,澳門四季酒店精緻花園派對
生活在我城
Lifemagfoodie・2022-10-18

又到了秋高氣爽,最適合野餐的季節!澳門四季酒店推出了華麗的花園派對套餐,最適合一大班家人或朋友去歡樂相聚, 而這次的派對菜單由主廚精心設計, 以法式氛圍及美食為概念,在草地上優雅地享受精緻美食,絕對可以留下難忘回憶,想知道有什麼主打菜式推介,就趕快往下看吧! 花園派對以 10 人起,14 人為上限,而且每日只會舉辦一場,下午 5 時至晚上 9 時,大家可以盡情享受空間感十足的私人派對! 主打菜式推介 輕煎鴨肝批:細嫩飽滿的鴨肝香氣十足,入口即化,是配搭香檳的最佳之選! 香蒜芝士栗子蓉焗帶子:鮮味的帶子鋪上厚厚的蒜香及芝士,細膩的栗子蓉與帶子完美融合,令味道層次提升! 經典法式甜點 甜品方面一定不能錯過這個玉桂朱古力榛子泡芙,帶有濃郁的堅果及朱古力香氣,令人一試愛上!抹茶瑪德琳蛋糕口感香醇而鬆軟,微甜清新。 CTM尊壹會會員福利 即日起至 12 月 30 日,CTM尊壹會會員凡預訂四季酒店花園派對免費尊享價值MOP 860香檳一支,大家不要錯過了! 澳門四季酒店花園派對 10 人派對:平日價格$5,280,週末及公眾假期價格 $5,880(12 歲或以下小童可免費參與) 每場人數上限為 14 人,額外收費每人$588 以上價格需另加 10% 服務費 預訂電話: 8112 8334