搜尋此網誌

2026年5月6日星期三

White Balance

Auto (White Priority): best for indoor fluorescent or mixed light

Shade: adds warmth to counter bluish tones

Cloudy: warmer balance, good for HK’s cloudy spring weather

Tungsten Light: best for indoor with incandescent bulbs

White Fluorescent Light: best for offices, malls in HK

Microsoft Copilot

Personal Computer

Albuquerque: city (the state's most populous) in central New Mexico population 545,852

makeshift: used temporarily for a particular purpose because the real thing is not available

plywood: board made by sticking thin layers of wood on top of each other

The Altair 8800, introduced by MITS in January 1975, is widely recognized as the first commercially successful personal computer, igniting the microcomputer revolution.

laundromat: ​​a place where you can wash and dry your clothes in machines that you pay to use

massage parlor: a place where you can pay to have a massage

shell out: ​(informal) to pay a lot of money for something

novelty: the quality of being new, different and interesting

splurge: an act of spending a lot of money on something that you do not really need

gadget: a small tool or device that does something useful

tinker: tinker (with something) to make small changes to something in order to repair or improve it, especially in a way that may not be helpful

Menlo Park: city in western California southeast of San Francisco population 32,026

swap: to give something to somebody and receive something in exchange

glimpse: a sight of somebody/something for a very short time, when you do not see the person or thing completely

toggle: to press a key or set of keys on a computer keyboard in order to turn a feature on or off, or to move from one program, etc. to another

staccato: (music, from Italian) with each note played separately in order to produce short, sharp sounds

rendition: the performance of something, especially a song or piece of music; the particular way in which it is performed

2001: A Space Odyssey is a seminal 1968 science fiction film directed by Stanley Kubrick and co-written with Arthur C. Clarke.

home brew: beer that somebody makes at home

stoke something (up) to make something increase or develop more quickly

whistle-stop: visiting a lot of different places in a very short time

counterculture: a way of life and set of ideas that are opposed to those accepted by most of society; a group of people who share such a way of life and such ideas

hippie: a person who rejects the way that most people live in Western society, often having long hair, wearing brightly colored clothes and taking illegal drugs. The hippie movement was most popular in the 1960s.

zeitgeist: the general mood or quality of a particular period of history, as shown by the ideas, beliefs, etc. common at the time

monolithic: ​(often disapproving) used to describe single, very large organizations that are very slow to change and not interested in individual people

Lockheed Martin (NYSE: LMT) is the world's largest defense and aerospace corporation

inaugural: IPA[ɪˈnɔːgjʊrəl]


Bill Gates "Source Code"

Online Dictionaries Used:

hk.dictionary.search.yahoo.com

www.oxfordlearnersdictionaries.com

www.merriam-webster.com

Google AI Overview

2026年4月29日星期三

Testing New Al Alloy Tripod


Mode: Manual
ISO 400, 35mm(APS-C), f/5.6, 1/40s
Flash: compulsory; Tripod Used, Image Stabilization of Lens Off 
Flash Exposure Compensation is lowered.
Two-second Self-Timer set

    When using a tripod with the Canon EOS 1500D and EF-S 18-135mm f/3.5-5.6 IS USM lens, I have the advantage of stability, which allows me to use slower shutter speed to capture more ambient light while using the flash to fill in the subject.

    Since I don't have bounce flash, I use direct flash. This is more powerful but can create harsh shadows and "flat" lighting. Since I have a tripod, I can use it to manage the quality of image while dealing with the harsh direct light.

    Flash Exposure Compensation (FEC): Direct flash often looks "too bright" or creates unnatural highlights. Go into the camera's flash menu and lower the FEC to -1 or -2. This softens the effect, making the flash look like a subtle "fill" light rather than a harsh strobe.

    Balance with ambient light: Since I have a tripod, I don't have to rely on the flash only. Use a slower shutter speed (e.g. 1/30 or 1/40s) to allow room light to contribute to the exposure.

    Recommended Setting

Mode: Manual
Allows me to keep settings consistent.

Shutter Speed: 1/40s - 1/60s
Slow enough to pull in background light.

Aperture: f/4 - f/5.6
Keeps a good balance between light intake and sharpness.

ISO: ISO 400-800
Keeps the image clean while ensuring the flash doesn't have to work at full power.

Flash Power: -1 or -2 FEC
Prevents the subject from looking "blown out" or too harsh.

    Image stabilization is often turned off on a tripod because the stabilizer is designed to look for movement and correct it; when the camera is already perfectly still, some systems can "hunt" or make tiny corrections that create blur instead of reducing it.

Information from Perplexity.ai and edited

善用曝光補償

例子︰夜景

相機測光認為是太暗,用光圈先決的話,相機會自動調光一些。這個時候,曝光補償的設定取決於拍攝意圖。

例子︰雪景

相機測光認為是太亮,用光圈先決的話,相機會自動調暗一些。這個時候要將曝光補償設定成 +1~1.5EV。

2026年4月27日星期一

Python Quiz

In Python, int(9.9) returns 9.

Here’s why:

The int() function truncates the decimal part of a floating-point number.

It does not round — it simply drops everything after the decimal point.

So 9.9 becomes 9.

In Python, any nonzero number (whether int, float, or complex) evaluates to True when converted to bool.

In Python, int and Decimal are both numeric types, but they serve very different purposes: int is for whole numbers, while Decimal is for precise decimal arithmetic, often used in finance or scientific contexts.

When you run bytes(4) in Python, it creates a bytes object of length 4, filled with zeros.

b = bytes(4)

print(b)   # b'\x00\x00\x00\x00'

bytes(n) → produces a sequence of n bytes.

Each byte is initialized to 0 (\x00 in hexadecimal).

The result is immutable, meaning you cannot change its contents after creation.

b = bytes(5)

print(b)   # b'\x00\x00\x00\x00\x00'

In Python, writing with triple quotes (''' ... ''' or """ ... """) creates a multi‑line string.

Microsoft Copilot

微距拍攝

    在微距拍攝中通常不需要使用大光圈,因為即使在中小光圈下,景深已經非常淺。在 1:1 放大倍率下,即使使用 f/8–f/11,景深也只有幾毫米。若用大光圈 (f/2.8–f/4),景深可能縮到不到 1 毫米,導致昆蟲的眼睛清晰但觸角完全模糊。大光圈下焦點範圍極窄,任何微小晃動或主體移動都會失焦。若使用小光圈 (如 f/16),光線較少,需要額外補光或使用閃燈。這也是為什麼常見的工作光圈範圍在 f/8–f/11。

    標準鏡頭即使靠近拍攝,放大倍率通常不足 1:1,景深相對較深,因此不需要像微距那樣擔心「極淺景深」。在標準鏡頭特寫中,使用大光圈 (f/1.8–f/2.8) 仍能創造淺景深效果,讓背景柔和模糊。但因為放大倍率不高,景深不會像微距那樣縮到幾乎不可用,焦點範圍仍有一定寬度。

Microsoft Copilot

2026年4月23日星期四

Practice in Python

In Python, the expression int(hexNum, 16) means “convert a hexadecimal string into a decimal integer.”

Curly brackets: dictionaries

In Python, def is the keyword used to define a function.

In Python, a for loop is used to repeat a block of code for each item in a sequence (like a list, tuple, string, or range).

for variable in sequence:

    # code block

variable → takes each value from the sequence one by one.

sequence → the collection you want to loop through.

The code block runs once for each item.

In Python, char isn’t a separate data type like in some other languages (for example, C or Java).

def check_number(n):

    if n > 0:

        return "Positive"

    elif n == 0:

        return "Zero"

    else:

        return "Negative"

print(check_number(5))   # Positive

print(check_number(0))   # Zero

print(check_number(-3))  # Negative

In Python, == is the equality operator. It’s used to check whether two values are equal.

print(2 ** 3)   # 8   (2 raised to the power of 3)
print(5 ** 2)   # 25  (5 squared)
print(10 ** 0)  # 1   (any number to the power of 0 is 1)