20260202

Using a vector index

 For example, imagine you have two documents with the following contents:


"The children played joyfully in the park."

"Kids happily ran around the playground."


These two documents contain texts that are semantically related, even though different words are used. By creating vector embeddings for the text in the documents, the relation between the words in the text can be mathematically calculated.


Imagine the keywords being extracted from the document and plotted as a vector in a multidimensional space:






The distance between vectors can be calculated by measuring the cosine of the angle between two vectors, also known as the cosine similarity. In other words, the cosine similarity computes the semantic similarity between documents and a query.

By representing words and their meanings with vectors, you can extract relevant context from your data source even when your data is stored in different formats (text or image) and languages.



20260119

2026年渣打馬拉松全馬破四回憶錄:熱勝紅日光

 

破四回憶錄:熱勝紅日光

<2026年1月18日>

凌晨4:00
鬧鐘響起時,窗外溫度顯示20度——比預期高太多。心頭一沉,想起去年14度的涼爽,知道今天將是場硬仗。匆匆吞下麵包早餐,檢查裝備:五包能量膠、鹽丸、還有賽前半小時前的一條能量Bar。



清晨5:15
抵達尖沙咀,全馬半馬各組別都齊集一起,處處是人海十分熱鬧。去年被編入一組的空間已成回憶,此刻前後左右都是跑者,空氣中瀰漫著悶熱與人聲。我擠到較前位置,在開跑前十分鐘吃下第一包藍色能量膠。

6:50 鳴槍起跑
人群緩慢移動,可能是二組關係大家配速不是特猛,我感覺自己配速5:15已是快車部隊之列。我耐心調整呼吸,告訴自己:「別急,後面還長。」

20251121

Authenticator 'Your Screen Lock has changed' Loop

Here's a much simpler solution.


Open the MS Authenticator app and click on your account.

Look for a menu item that says Re-enable Phone Sign-In and click it.

On the next screen, click the link to sign in with a password. Do NOT click the Send Notification button or you will experience the loop that the OP refers to.

20250802

FWD: 上層收拾下屬的十大權術

 1、卡脖之困

領導有資源分配權,可輕易為難下屬,不給予應有的支持,為其工作設置障礙。如此略施小計,便能讓下屬的工作舉步維艱。就如同演員上台,卻發現行頭不齊、設備故障,十分尷尬。
2、揪小辮子
抓住下屬的一點小錯誤,故意放大,借題發揮,上綱上線,然后借機處罰。下屬可能為了盡快過關、翻篇,而委曲求全,檢討、認罰,即便有的指責并不合理也忍了下來。然而,下屬越是退讓,領導越會對其進行心理打擊,增加精神壓力,直至其懷疑人生。
Related Posts Plugin for WordPress, Blogger...