HackMD
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions Transfer ownership Delete this note
Export
Google Drive Export to Google Drive Gist
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: cofacts, meeting note GA: UA-98468513-3 --- 20240916 會議記錄 ===== :::info - [所有會議記錄](https://g0v.hackmd.io/@mrorz/cofacts-meeting-notes/) - 線上出席:orz, bil, Conrad, nonumpa - https://gather.town/app/z3x18KQFgZCX8MeZ/cofacts ::: ## :potable_water: Release pipeline ### :rocket: Staging #### :robot_face: rumors-line-bot - https://github.com/cofacts/rumors-line-bot/pull/397 - https://github.com/cofacts/rumors-line-bot/pull/398 ##### Testing checklist https://lin.ee/1QUzEX4nI - [x] A 回報一組圖文 - [x] A 在網站上回覆其中一個 article - [x] B 把同一組圖文 + 一個多的文字,回報成新的 cooccurrence - [x] 觀察現有 article 的 reply request count - 三人回報搭配 + reply request,符合預期 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_461a442adc44a8942b19571f6f3a0033.png) ##### ⛔️ Release Blockers - nonumpa 傳的 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_a01fb89a30051dabde6c3ba3935af9de.png) - https://dev.cofacts.tw/article/1RG8-pEBUOXjqM1A4xO9 應該要跟別人 group 但好像沒 Group 到 - bil 沒傳這張,但有傳這張旁邊的 cooccurrence https://dev.cofacts.tw/article/EynRB4kBFLWd9xY2Ohxi - 有傳 https://dev.cofacts.tw/article/265pyrpr2lix6 與其他搭配,但 cooccurrence 沒增加 :::success 調查後發現有誤會,實際上沒有送出任何搭配圖文 ::: ---- Debugging Google Cloud Logs Explorer query ``` (resource.type="cloud_run_revision" AND resource.labels.service_name="dev-line-bot") OR (resource.labels.instance_id="rumors-api-staging" AND jsonPayload.message: "Apollo#requestDidStart") ``` ###### nonumpa 的 grouping issue 一起傳但沒 group 到: - https://dev.cofacts.tw/article/1RG8-pEBUOXjqM1A4xO9 沒 group 到 - https://dev.cofacts.tw/article/1BG8-pEBUOXjqM1A4RMD 沒 group 到 - https://dev.cofacts.tw/article/yRGx-pEBUOXjqM1ArxO7 與 https://dev.cofacts.tw/article/2BHJ-pEBUOXjqM1AkhMW 有 group 到 Log: - 2024-09-16 20:08:27.480 LINE bot 收到 4 則訊息,詢問是否一起 - 2024-09-16 20:09:16.986 詢問是否送進資料庫 - 2024-09-16 20:09:26.485 收到答覆 - 呼叫 2 次 SubmitMediaArticleUnderConsent、CreateAIReply - 呼叫 4 次 ListArticlesInProcessMedia - 呼叫 4 次 AddReplyRequestForUnrepliedArticle - 呼叫 1 次 SetCooccurrences,建立下面 cooccurrence ```js { "articleIds": [ "A8A_vAfgP9gEID_8P_w9AP_5P_g_AAAA__8AAAAAAAA", // 錯的,奇妙的疫苗文 "EynRB4kBFLWd9xY2Ohxi", // 奇妙的台灣人窮了 "yRGx-pEBUOXjqM1ArxO7", // 晚上攤販 "yhGx-pEBUOXjqM1AsxP0" // 開源祭 ], "createdAt": "2024-09-16T12:09:37.565Z", "updatedAt": "2024-09-16T12:09:37.565Z" } ``` - 2024-09-16 20:09:37.661 完成送進資料庫,提供文章列表: - https://dev.cofacts.tw/article/yRGx-pEBUOXjqM1ArxO7 (v) - https://dev.cofacts.tw/article/yhGx-pEBUOXjqM1AsxP0 (100% 像,Match by 逐字稿內的字: 科技征, 無硝煙的自由戰, 開源運動在臺灣, OCF, 十週年特展, 槎地公民基金會) - https://dev.cofacts.tw/article/1RG8-pEBUOXjqM1A4xO9 (v, 沒 group 到) - https://dev.cofacts.tw/article/1BG8-pEBUOXjqM1A4RMD (v, 沒 group 到) - https://dev.cofacts.tw/article/EynRB4kBFLWd9xY2Ohxi (77% 像,逐字稿的字但明明無關 - 台灣大罪了, 民進黨飽了, 飽暖思淫毯嗎) - https://dev.cofacts.tw/article/AAFD6W_6L_EP8A_wD_APcA_wDPAP8I_wD_AH8Af3AD8 (76% 像,但明明無關) - https://dev.cofacts.tw/article/A8A_vAfgP9gEID_8P_w9AP_5P_g_AAAA__8AAAAAAAA (67% 像,逐字稿內的字但明明無關 - 同樣, 連勝文, 臺灣人接, 疫苗, 你們有沒, 仲介, Otto, 灣人民力量, 哪位, 發國難財⋯⋯) 分析: - 關鍵應是「4 次 ListArticlesInProcessMedia」是否有找到對的文章 - 當時建立的 `SetCooccurrences` 顯示,4 次 `ListArticlesInProcessMedia` 就是沒有找到剛建立的兩篇 article,導致不夠像的訊息跑進去。 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_dac9d6a75988c2ff51da21cf8ed47b9a.png) 預計解法 - rumors-api 在 insert article 後應該要 refresh index,這樣 search 才會找得到東西 - rumors-line-bot 可以考慮把「不在資料庫裡的 message」插入資料庫後,直接從 `Create(Media)Article` API 的結果拿值。優點是就算不 refresh index 也能正確使用,但有幾個缺點: - 邏輯複雜。目前無論是 `setMostSimilarArticlesAsCooccurrence` 還是 `createCooccurredSearchResultsCarouselContents` 等都需要帶有 similarity 的 search result,如果要吃 create article 的結果,需要改介面。 - 如果新送的訊息其實有逐字稿跟現有很像的,採取原本重新搜尋的作法時,使用者可以選得到(會排在 carousel 的比較後面的地方),但新做法下就不會有這個東西。 - 因此不採取這個作法。 :::success Fix in PR:https://github.com/cofacts/rumors-api/pull/347 ::: ##### 未竟項目 ### :eye: Under review - https://github.com/cofacts/rumors-line-bot/pull/397 - https://github.com/cofacts/rumors-line-bot/pull/398 ## CCPRIP ### [Infra] Logging & Observabilty > CCPRIP doc > https://g0v.hackmd.io/BRsJOevWSbyUMBSZEVVWrA#Logging-and-monitoring Logging pricing ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_f87c88290415e7c2fb3d0addbc8f38c4.png) - Before: only rumors-api log is sent to Google Cloud; cloud run services are already in Google Cloud. - After 2024/09/15 change: All services (nginx, api, site, line-bot-tw) are sent to Google Cloud. - 每個月月中的時候超過 free quota 50GB 後開始算錢 > Ref: https://www.finout.io/blog/reducing-gcp-logging-costs - 6 月可能被 DDoS 所以特別多? - 太貴的話考慮設定 log retention 與 GCS log sink > Ref: https://mile.cloud/zh/resources/blog/cloud-logging-pricing_701 > Ref2: https://www.finout.io/blog/reducing-gcp-logging-costs ## 開源祭 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_c8b504fbbc94cf77892ae8e45522e7b0.png) ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_74176193601291a39b7171fa2de7ba08.png) - 擺攤的東西可以放在固定的紙袋,比較容易出門 [name=bil] - 感謝 OCF 調整場地,十二點的時候雨還很大,不確定如何處理 [name=bil] - 大活動人力吃緊 [name=bil] ## Open165 - 還在做 detail 頁面 https://github.com/cofacts/open165/pull/26 - HTML content of 165 reported sites; HTML similarity ## 交流 波蘭 有 https://demagog.org.pl/en/lets-introduce-ourselves/ 參與 投影片:https://docs.google.com/presentation/d/1MHVuA80ZC-9-vlWAwBw-xnBzPo-hxwlH42BNyzVnXoI/edit?usp=drive_web&ouid=100298319366825427383 ## Conrad 翻譯了橘色海報跟恐龍塗鴉牆

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

Sign in via GitHub

New to HackMD? Sign up

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions

Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.