/tmp/bucket

experiments, poems, art, and stray thoughts

0%

「我發現我對於精練之事著迷,例如程式與詩。」

Pseudocode:

1
精煉のことが好きのきついした、プログラミングとか詩とか

如果要保留你原本的語氣,可以改成:

1
精練なものに惹かれる。プログラミングや詩など。

如果想完整表達「我發現自己對精煉的事物著迷,例如程式和詩」這種敘述,可以說:

1
精練なものに惹かれる自分に気づいた。プログラミングや詩など。

「とか〜とか」的正確用法是列舉兩個以上的例子,表現「像~啦~啦這些」的感覺,口語、稍微隨性。
如果想用「プログラミングとか詩とか」這個格式,正確的句子可以像這樣:

1
プログラミングとか詩とか、精練なものに惹かれる

words

惹かれる:ひかれる(hikareru)

📚 小補充:

這是「惹く(ひく)」的被動形。意思是「被吸引、被打動」。

例句:

1
2
彼の言葉に惹かれた。
(被他的話打動了。)

精練:せいれん(seiren)

詩:し(shi)

📖 例句:

1
2
彼の詩は、言葉を精練して生み出された芸術だ。
(他的詩,是經過精煉詞語所誕生的藝術。)

📝 小解析:

  • 「言葉を精練する」= 把用詞打磨得又簡潔又有力。
  • 「生み出す」= 創造、誕生。

整句很有N2考題喜歡的「抽象描述+具體例子」感覺。

除草,單純想在這裡 dump 一些想法。

#1

安排班夫行程。火車臥鋪肖貴。還在觀望機票和行程,希望不要售罄

#2

這週處理 3 個任務

Batch convert studiolib data

  • 寫了測試棒棒,之後改動更安心
  • 之後思考有沒有更好的方法,能跟 Maya 解耦
  • integrate with G-drive or other storages

Convert global translation to other controller

  • replace root-hip with global-main
    做功能時,之前寫的測試有幫助到找到忘記一起改的錯誤

Fixed 2 bugs

  • file format reading
  • API response updated
    覺得之前設計的架構讓我很好 debug,修改起來很快

#3

思緒上有點喘不過氣,聽說是職業倦怠的徵兆…
なんか、頭をリセットする方法ないかな。

What is a tier?

both logical and physical separation of components

Single-tier App

All components are located in the same machine. e.g. Maya, Photoshop…

Pros

  • no network latency
  • privacy data safe since no need to upload users’ data

Cons

  • efficiency bounds on the machine where the app lives on
  • app publisher has no control over the app (users decide whether update the app or not)
  • be vulnerable to being tweaked and reversed engineered

Two-tier App

client-server architecture

Three-tier App

client-backend-database. e.g. blog

N-tier App

What are these components?

  • cache
  • load balancer
  • database
  • queue (for asynchronous behavior)
  • search engine
  • customized business logic services

It is an implementation of the single-responsibility principle

decoupled. it’s easier to maintain. so, for example, we should not store business logic in the database. Also, it is easier to be scaled.

Layer & Tier

layers represent the conceptual/logical organization of the code (code level)

tiers represent the physical separation of components.