physics 補邊個好?(陷阱二)

物理私補的好處是,那是一對一的物理補習。但是,如果那位所謂老師,其實不太懂物理,又或者懂物理但不懂教的話,即使物理補習一對一,也根本沒有任何好處。

之前有學生反映,找了很久才找到我,他聽得明白的老師。那就代表,你可能要花多個星期,聽過不同老師的講課,才找到適合你的,物理教學風格。亦即是話,要兩三個月的時間。如果是高中初期還好。如果臨近公開試的話,就十分大鑊了。

.

逆地而處你就會明白,一般情況下,有料到的物理老師,並沒有可能,全職以私人補習為生。

最基本的原因是,每天賺(例如)500元的話,月薪最多只可能有一萬多元,連「衣食住行」中的「住」,也負擔不起。

其次,大部分學生,甚至家長,沒有合約精神,不會守時。

他們不明白,「相約」中的「約」,是指雙方都不會更改,不會所謂的「情況有變,臨時有事,所以取消」。

「約」,就是在時間表中,鎖死一格時間予對方。如果某甲要求我,預留(例如)星期四的下午四至六時給他的話,我就必須排除那格時間的其他可能工作。「那格時間」不只是指「四至六時」,而是還包括「四時前」和「六時後」的時段,因為還有來回的交通。所以,如果對方臨時取消約會的話,我就立刻損失,當日的收入。(如果從來沒有約,那反而不是問題,因為,我自然會一早安排;當日的那格時間,自然會有其他的補習,或其他的工作。)

第三,有部分學生,在表面上沒有原因下,鐵定不肯做功課。

— Me@2024-07-31 12:07:46 PM

.

.

2024.08.07 Wednesday (c) All rights reserved by ACHK

Euler problem 21.1

(defmacro sum (lst)
  `(reduce #'+ ,lst))

(defun proper-divisors (n)
  (when (> n 1)  
    (let ((divisors '())
          (limit (floor (sqrt n))))  
      (loop :for i :from 1 :to limit
            :when (zerop (mod n i))  
              :do (progn
                    (push i divisors)  
                    (when (/= n (floor n i))  
                      (push (floor n i)
                            divisors))))  
      (remove-duplicates (sort divisors #'<)
                         :test
                         #'equal))))

(defmacro sum-proper-divisors (n)
  `(sum (proper-divisors ,n)))

(defun amicable-numbers (limit)
  (let ((amicable-pairs '()))
    (loop :for a :from 2 :below limit
          :do (let* ((b (sum-proper-divisors a))
                     (c (sum-proper-divisors b)))
                (when (and (or (< b a)
                               (>= b limit))
                           (= a c))                      
                  (push a amicable-pairs)                 
                  (when (< b limit)
                    (push b amicable-pairs)))))
    (remove-duplicates amicable-pairs
                       :test
                       #'equal)))

(sum (amicable-numbers 10000))

 
CL-USER> (sum (amicable-numbers 10000))
31626
CL-USER> 

— Me@2024-08-06 03:47:01 PM

.

.

2024.08.06 Tuesday (c) All rights reserved by ACHK

1.9 Abstraction of Path Functions, 3.1

Structure and Interpretation of Classical Mechanics

.

(define ((F->C F) local)
  (->local (time local)
           (F local)
           (+ (((partial 0) F) local)
              (* (((partial 1) F) local)
                 (velocity local)))))

The goal of this post is to explain why the code above can be replaced by the following code:

(define (F->C F)
  (define (f-bar q-prime)
    (define q
      (compose F (Gamma q-prime)))
    (Gamma q))
  (Gamma-bar f-bar))

.

While the input of \displaystyle{f} is a tuple \displaystyle{(t, q, v, \cdots)}, the input of \displaystyle{\bar f} is an abstract path \displaystyle{q}.

\displaystyle{\begin{aligned} \Gamma [q] &= (t, q, v, \cdots) \\ \bar f &= f \circ \Gamma \\ \end{aligned}}

.

Let us define \bar \Gamma as

\displaystyle{\begin{aligned}  f &= \bar \Gamma (\bar f) \\  \end{aligned}}

The difference between \displaystyle{\begin{aligned} \Gamma \end{aligned}} and \displaystyle{\begin{aligned} \bar \Gamma \end{aligned}} is that, in an abstract sense, \Gamma transforms f to \bar f, while \bar \Gamma does the opposite.

The explicit form of \bar \Gamma is provided by

\displaystyle{\begin{aligned}  f (t, q(t), v(t), \cdots, q^{(n)}(t))     &= f(\Gamma[q])(t) \\     \bar \Gamma (\bar f) (t, q(t), v(t), \cdots, q^{(n)}(t))     &= \bar f [q](t) \\     \end{aligned}}

(define ((Gamma-bar f-bar) path-q-local-tuple)
  (let* ((tqva path-q-local-tuple)
         (t (time tqva))         
         (O-tqva (osculating-path tqva)))   
    ((f-bar O-tqva) t)))

Note that \bar f is not defined yet because it can be any path-dependent function.

.

What is \displaystyle{F}?

Equation (1.68):

\displaystyle{\begin{aligned}   L' \circ \Gamma[q'] &= L \circ \Gamma [q] \\   \Gamma[q] &= C \circ \Gamma[q'] \\   L' &= L \circ C \\   \end{aligned}}

While F is a coordinate transformation, C is the corresponding local-tuple transformation.

Equation (1.74):

\displaystyle{\begin{aligned}   \Gamma[q] &= C \circ \Gamma[q'] \\   (t, x, v, \cdots) &= (t, F(t,x'), \partial_0 F(t, x') + \partial_1 F(t, x') v', \cdots) \\    \end{aligned}}

Note that:

1. The input of F is a tuple of a path q'. And the output is a coordinate x (aka q(t)).

2. The symbol q represents not the coordinate of a path, but the path itself. The coordinate of the path q is represented by the symbol q(t).

— Me@2024-08-05 10:09:25 PM

.

.

2024.08.05 Monday (c) All rights reserved by ACHK

Chrono Break

Chrono Trigger 4

.

“Chrono Break” is an action-adventure role-playing game that serves as an unofficial sequel to the beloved classic “Chrono Trigger”. Set in a richly detailed world filled with time travel, it follows a group of characters as they navigate through various timelines to prevent a cataclysmic event that threatens their existence.

The story begins in the year 2300, where a mysterious phenomenon called the “Time Rift” begins to disrupt the flow of time. This anomaly causes historical events to intertwine and creates chaos across different eras. The protagonist, a young hero named Riku, is drawn into this temporal chaos when he discovers a strange artifact that allows him to manipulate time. With the help of allies from different periods, including the brave warrior Alysia from the Middle Ages and the brilliant scientist Kaito from the future, Riku embarks on a quest to uncover the origins of the Time Rift.

As Riku and his friends travel through time, they encounter familiar locations and characters from “Chrono Trigger”, as well as new faces who add depth to the narrative. Each era presents unique challenges, from battling fearsome monsters to solving intricate puzzles that affect the timeline. The group learns that the Time Rift is a result of a powerful entity known as the “Chrono Warden”, who seeks to rewrite history for its own gain.

— AI

.

.

2024.08.05 Monday ACHK

physics 補邊個好?(陷阱一)

前回講到,如果你問我 DSE 物理補習推介,特別是物理補習天王的話,我會說:

補 physics,補 Ken Chan

但是他已退休。所以,上回則提到,如何分辨一位物理老師,是否有料到。簡言之,最好的情況是,你班上有同學因為,補了某位物理老師,而成績(例如)在一個月內,由 40 分躍升至 90 分。那樣,你跟著補該位老師便行。萬一,你沒有那種同學,就唯有用我文中的篩選方法。

但是要留意,你仍然可能遇到,以下的各種困難。

.

大型補習社的風格及氣氛,即風氣,有時令我十分不舒服。當年帶我弟弟去報讀課程時,櫃枱職員推介硬銷,企圖要他一同報讀,其他科目的各個課程。如果沒有大人陪同,中學生自己未必招架得住,職員的洗腦攻勢。

另外,表面上,學費貌似便宜過,一對一的私補。但是,如果你考慮師生比例的話,其實可以視之為昂貴。例如 500 元四堂,師生比例可以是 1:40。而更大鑊的是,所謂的老師,有時只是播錄影帶,沒有真人出現。

在那傳說中的上古時期,即是上世紀的九十年代中,我還是中五時,我會逢星期六,早上八時半去補 Ken Chan。那時,他是真人出現的。

中六時,本想繼續補他,但是沒有。原因是,我在放榜後的暑期見到他時,他好像答了其他同學,沒有開高考課程。還有,僱用他的補習社,被揭發有些分校無牌經營,包括不符合消房條例,導致負責人史sir 被捕。所以,我不敢回該補習社去追問,Ken Chan 究竟有沒有開,高考物理班。

到中七前的那個暑假,在同學的推介下,我開始補了 MC Chan 的物理。(傳聞他是 Ken Chan 的兄長。)初時,雖然課室裡人很多,十分擠擁,但仍是真人任教的。但是後來,卻改為「半真人」,即是有兩個課室,一個有 MC Chan 出現,另一個則直播。每人一個星期去真人課室,下一星期則去直播課室。

到中古時期,即本世紀初,我弟弟去補 Ken Chan 時,課程已不再是,真人任教了。

— Me@2024-07-29 04:14:48 PM

.

.

2024.07.29 Monday (c) All rights reserved by ACHK

反情感勒索 2.4

這段改編自 2021 年 12 月 16 日的對話。

.

你想道德綁架我嗎?

幸好,我沒有什麼道德,可以給你綁架。

我的道德少到,連自己日常生活,也不太夠用。

對於可以避開的人,我廢話小說。對於暫時不可避開的人,我廢話小說。

拒絕人時,一定要絕,因為,拖泥帶水,反而害人害己。

辭職,是不會講真正主要原因的。辭職時所講的原因,通常也只會是禮節式原因,例如 私人原因、升學進修、新發展 等。

別離沒有對錯 要走也解釋不多

— 現代愛情故事

如果辭職可以講原因,一開始就不會辭職,通常;因為那個辭職誘因,一早就可以化解了。

同理,情侶分手如果可以講原因,一早就不會分手。而不同的地方在於,辭職有手續,分手無通知。

不再見,已經是分手。不回應,已經是回應。

— Me@2023-07-26 05:25:08 PM

.

.

2024.08.04 Sunday (c) All rights reserved by ACHK

Zsh, 3

1. Assuming you have already installed the Nix package manager on Ubuntu 22.04 or later, type the following command into the terminal:

nix-env -iA nixpkgs.zsh-autocomplete  

2. Open the Zsh configuration file:

~/.zshrc

Add the following lines to it:

source ~/.nix-profile/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
 
bindkey -M menuselect '\e' undo

— Me@2024-01-23 08:52:05 AM

.

.

2024.08.01 Thursday (c) All rights reserved by ACHK