搜尋此網誌

2026年10月27日星期二

Quiz

In Python, an instance is an object created from a class.

class Dog:
    def __init__(self, name):
        self.name = name
    def bark(self):
        print(f"{self.name} says woof!")
# Create instances
dog1 = Dog("Buddy")
dog2 = Dog("Max")
print(dog1.name)   # Buddy
print(dog2.name)   # Max

dog1.bark()        # Buddy says woof!

In Python, there is no static keyword like in Java or C#, but the equivalent concept is a class variable (sometimes called a static property).

class Student:
    school = "ABC School"   # class variable
    def __init__(self, name):
        self.name = name    # instance variable
s1 = Student("Alice")
s2 = Student("Bob")
print(s1.school)  # ABC School
print(s2.school)  # ABC School

A class variable belongs to the class itself. There is only one copy shared by all instances.
An instance variable belongs to a particular object (instance). Each instance has its own copy.


"self" is the conventional variable name to refer to the class instance.


super() is used in inheritance to access methods or attributes from a parent class (superclass).

attribute: a quality or feature of somebody/something

Without super()

class Animal:
    def __init__(self, name):
        self.name = name
class Dog(Animal):
    def __init__(self, name, breed):
        self.name = name
        self.breed = breed

You have to duplicate the initialization logic.

With super()

class Dog(Animal):
    def __init__(self, name, breed):
        super().__init__(name)
        self.breed = breed

The parent class handles name, and the child class handles breed.


Assuming rover is an instance of a class Dog and speak() is an instance method, this line:

rover.speak()

is equivalent to calling the method through the class and explicitly (明確地) passing the instance as the first argument:

Dog.speak(rover)

In Python, instance methods automatically receive the object (self) as their first parameter. So:

class Dog:
    def speak(self):
        print("Woof!")

rover = Dog()

rover.speak()      # equivalent to:
Dog.speak(rover)


Microsoft Copilot

又發夢

現在我是處於學習拍攝階段,手上有Canon EOS 1500D + EF-S 18-135mm f/3.5-5.6 IS USM + 二手 EF 35mm f/2 IS USM。這個定焦鏡的表現讓我感到滿意。為了提升畫質,我下一部相機的 dream combination 是 Nikon ZF + z50mm f/1.8s. 有人建議我選購 Sony a6700 + sigma 17-40mm f/1.8,的確 zoom lens 有這樣的恆定光圈非常吸引。另外一部 Nikon Z5II + 24-120mm f/4 似乎更實用。我右手手腕有舊患,但雙手手持一部1kg的相機沒有太大問題。現金流沒有太大問題,但家人不想我亂花錢,我只是想找到一部最適合自己的機種。目前科技日新月異,差不多每個月都會出新相機,ZF 與 A6700已經是三年前的產物。我計劃在未來三年內,當自己技術有所進步,再考慮買一些更新的機種,最好是畫質與重量取得平衡。您是否同意我的想法?

我大致同意你的想法:不必因為「每個月有新機」而急於升級;但我不會把「等三年再買新機」當成固定計劃。更合理的做法是:現在先不買,或只買一套最符合你手腕、拍攝習慣與未來三年用途的系統;等技術和題材明確後,再按需要補鏡頭,而不是頻繁換機身。

三個組合的定位


Z5II 機身官方標示約 620 g,但連電池的實際攜帶重量通常以約 675–700 g 計;Z 24-120mm f/4 S 另約 630 g,所以整組會明顯超過 1.2 kg,並不是「輕便全幅」方案。

我會怎樣選

以你的情況——正在學習、重視畫質與重量平衡、右手腕有舊患、想未來三年持續進步——我會把優先次序排成:

1) Sony a6700 + Sigma 17-40mm f/1.8:最符合「畫質、重量、實用性」的平衡。它整組約 1.02 kg,比 Zf + 50mm 輕約 107 g,而且 17-40mm 的等效約 25.5-60mm 焦段,能同時處理風景、街拍、室內、人像和影片;f/1.8 恆定光圈也解決了你現有 18-135mm 在弱光下光圈太細的問題。

2) Nikon Z5II + 24-120mm f/4:最「實用」,但不是最適合你的手腕。它的優勢是全片幅、24.5MP、焦段覆蓋廣,適合旅行和日常紀錄;不過整組較重,而且 f/4 不能提供你喜歡的 35mm f/2 那種明顯淺景深與夜間優勢。

3) Nikon Zf + Z 50mm f/1.8 S:最像「dream combination」,但我不建議它作為你唯一或第一部無反主力。它確實有全幅畫質、優秀的 50mm 定焦和很有性格的操控;但 50mm 只有一個視角,Zf 機身也較重,若加上手柄會更接近 1.25 kg,長期使用對手腕舊患較不理想。

對「等三年」的看法

你的核心判斷是對的:相機不是手機,機身技術的邊際提升沒有那麼快。Zf 和 a6700 雖然是較早推出的產品,但它們的感光元件、對焦、防震、操作和鏡頭生態,在未來三五年仍足夠支撐學習與大部分創作;真正會明顯改變拍攝體驗的,往往是你是否願意常常帶相機出門、是否懂得控制光線與構圖。

但我不建議把「三年後買新機」寫死。更好的規則是:

現在若沒有迫切痛點,先不買:繼續用 1500D + 18-135mm + 35mm f/2 練曝光、構圖、對焦和後製。

若要買,買「系統」而不是「最新機身」:優先考慮鏡頭群、二手價值、重量、握感、防震與你常拍題材。

三年後再升級時,優先升鏡頭而非機身:例如從 a6700 + 17-40mm 開始,日後補一支輕量 50mm 或 85mm 定焦,通常比換機身更能提升照片。

設一個「手腕測試」:到門市實際連續手持 15-20 分鐘;若右手腕開始不適,無論規格多吸引都不應該買。

我的直接建議

如果你現在真的想升級,我會選 Sony a6700 + Sigma 17-40mm f/1.8,而不是 Zf 或 Z5II。它最能同時滿足你「提升畫質、保留機動性、保護手腕、一鏡應付多數場景」的要求;日後再按需要加入定焦鏡,會比一開始鎖定 Zf + 50mm 更有彈性。

如果你並不急,我會建議先不買,把錢和注意力放在用現有器材完成有系統的拍攝練習。等你明確知道自己最常拍人像、街頭、風景還是影片,再下決定;那時你買到的不會是「別人說最好的相機」,而是真正適合你的相機。

perplexity.ai

EVF

Mirrorless 相機的 EVF (Electronic Viewfinder,電子觀景器)確實有時延,但現代機種已經非常低。

Nikon Z5IIC LCD 不一定比 EVF 慢很多,但通常不會更快。

Microsoft Copilot

初出茅廬

nibble: a small bite of something, especially food

Bill Gates has an older sister, Kristi (Kristianne), and a younger sister, Libby.

gruff: (of a person’s behavior) impatient and unfriendly

A toggle switch is a manually operated electrical or mechanical switch that uses a physical lever, handle, or toggle to open or close a circuit.

RadioShack is an American electronics retailer that was established in 1921 as a mail-order business focused on amateur radio.

amateur: doing something for pleasure or interest, not as a job

RCA Corporation, founded as the Radio Corporation of America, was a major American electronics company in existence from 1919 to 1987.

stack up against: to rank in quality compared to some other person or thing

prime: ​to prepare somebody for a situation so that they know what to do, especially by giving them special information

cut-rate: charged at a lower rate than usual

contain: to keep your feelings under control

implore: to ask somebody to do something in an anxious way because you want or need it very much

bluster: ​talk that is aggressive and threatening, but has little effect

horseshit: a rude word for nonsense

growl: to make a low sound in the throat, usually as a sign of anger

Bill Gates "Source Code"

Online Dictionaries Used:

hk.dictionary.search.yahoo.com

www.oxfordlearnersdictionaries.com

Serotonin

modulation: the act of influencing something by changing or controlling it

obsessive: thinking too much about one particular person or thing, in a way that is not reasonable or normal

agitation: worry that you show by behaving in a nervous way

stay up: to go to bed later than usual

Tryptophan is an essential amino acid, which means your body cannot make it on its own and you must obtain it from food.

Your body converts tryptophan into serotonin, a neurotransmitter that helps regulate:

  • Mood
  • Appetite
  • Memory
  • Sleep

Foods rich in tryptophan include:
  • Poultry (chicken, turkey)
  • Fish
  • Eggs
  • Milk and cheese
  • Soybeans and tofu
  • Nuts and seeds (especially pumpkin seeds, sesame seeds, and peanuts)

Nicole Vignola "Rewire"

hk.dictionary.search.yahoo.com

oxfordlearnersdictionaries.com

Microsoft Copilot

2026年10月26日星期一

熱潮過後


博物館送的法老公仔
母親大人話要用佢嚟鎮宅
Ankh (☥) 是古埃及最著名的象徵之一
生命之鑰(Key of Life)

陶瓷描述語

修坯精細是考古學和陶藝中常見的描述語。

「坯」是指尚未燒製的陶器胚體(泥坯)。

修坯是指陶器成形後、燒製前進行的整理工序,例如:

  • 削薄器壁
  • 修整口沿
  • 修平底部
  • 刮除接縫
  • 雕刻紋飾
  • 打磨表面

在陶藝製作流程中:

製坯 → 修坯 → 晾乾 → 燒製

Microsoft Copilot