mylog14

Month: 2020-04

2020-04-01

SHC 00:22:12
@tammy079 我在這
SHC 00:22:38
原來我不是用 James
你就是小強子對撞機了 (拍桌)
daYuan 11:15:39
@shc261392 我發pr嘍~
🍻 3
SHC 11:16:10
@sddivid 有我看到了
daYuan 11:40:57

大家歡迎申請 &gt; Mozilla 在 MOSS 開源支持基金下設立了特別的 COVID-19 專案,資助與武漢病毒相關的專案,每件的金額是 50000 美金,範圍包含硬體(例如:開源的通風裝置)、軟體(例如:用以媒合 hacker space 與醫院以列印前述通風裝置的平台)與其他病毒相關專案(例如:特別針對武漢病毒假消息闢謠的瀏覽器套件) &gt; &gt; 條件是 1.三個月內可執行完畢、2.可即時部署(例:早期發展的概念案不太可能會獲得)3. 不限組織單位型態(例如非營利組織醫院、營利醫院、社群開發團隊)4. 必須使用開源授權 <https://discourse.mozilla.org/t/moss-launches-covid-19-solutions-fund/56948> <https://blog.mozilla.org/blog/2020/03/31/moss-launches-covid-19-solutions-fund/>

👍 2
bafu 15:06:40
@tobias.weisskopf.ch sorry for that I sent a meeting postpone message in a wrong channel.

Are you available to join us in zoom <tel:9142101865|914-210-1865> now?
bafu 15:16:18
Tobi sorry for that I did not send the notification to the right channel (here). Please feel free to ping me anytime if you are free to talk, then I will invite James to join us. 😀 Just take your time
Toby 王成偉 15:18:25
Sorry I am in another Zoom Call now
👍 1 🙆‍♂️ 2
SHC 15:26:16
@sddivid 開了一個 PR 請你有空的時候幫忙 review 吧
https://github.com/MyDataTaiwan/mylog14/pull/6

GitHub

Feature fix prod build by shc261392 · Pull Request #6 · MyDataTaiwan/mylog14

Description When building in production mode, the current code produces some errors when doing production-mode-only optimization and AOT compilation. This fixes all the errors emitted when building...

Tammy 15:54:50
Sorry, I was not able to host the meeting today. @bafu, let's keep all Dev related information (including the meeting information) in this channel so that it is easier to track 😀!
👍 1
bafu 15:59:47
No problem!

The main topic today is to discuss the P27 with Tobi and James together to see that if the working plan is ok for them.

https://docs.google.com/presentation/d/1Z8pltjhfrGL6lBSezkjeLe9mOn7Y-EAYj8tTuQD4czI/edit?usp=drivesdk
daYuan 17:24:46
@shc261392 我合併了,不過 Category / date 的 Hearder 消失了正常嗎?
SHC 17:29:20
@sddivid 這好像不太對 let me see see
👁️ 2
daYuan 17:29:41
莫慌,我先測一輪
daYuan 17:32:28
要快速sync一下嘛?
image.png
SHC 17:32:48
我這邊也沒
SHC 17:33:21
連我的 zoom 吧
daYuan 17:33:25
Tammy 21:09:57
@sofia 順手寫了這次參加 Hackathon 的心得 https://medium.com/%E4%B8%AD%E6%96%87%E4%BA%BA%E7%9A%84%E7%A7%91%E6%8A%80%E6%96%B0%E5%89%B5%E8%87%A5%E5%BA%95%E7%AD%86%E8%A8%98/%E7%A7%91%E6%8A%80%E7%A4%BE%E7%BE%A4%E5%8F%8A%E9%BB%91%E5%AE%A2%E6%9D%BE%E8%87%A5%E5%BA%95%E5%AF%A6%E9%8C%84-6c7c916320e6 給大家參考,謝謝所有一起在 CodVsCovid19 的朋友!

Thank everyone who work together in CodeVsCovid19!

Medium

科技社群及黑客松臥底實錄

小新創資源有限,疫情期間公開活動受限,但生產力可不能這樣白白浪費,反正疫情哪裡都不能去,乾脆把公司創新的服務跟技術都投入病毒戰役,推不了產品,就跟社群一起來做點對社會有意義的事,於是… 我一屆中文人又誤打誤撞地有機會探索科技社群,臥底黑客松了 XD。

3 3 👍 1

2020-04-02

kahou 13:29:21
@kahou has joined the channel
Sherry Chung 14:33:50
@bafu @shc261392  @sddivid @tobias.weisskopf.ch please join Zoom 284-173-319 (password: 000000) for the tech sync-up at 2:30 PM (8:30 AM in Zurich) (edited)
Toby 王成偉 14:33:59
@tammy079
Screenshot 2020-04-02 at 08.33.31.png
SHC 14:34:03
我們在 284-173-319
Tammy 16:32:13
你們可以幫忙我看一下嗎,連不上去對吧?
SHC 16:32:47
404
Tammy 16:34:19
嗯... https://devnet.thetangle.org/ 就掛了
@bafu 那我們可以相信 IOTA 嗎 XD
😈 1
bafu 16:44:31
我去 IOTA Discord 發問了,看會不會有人回...
bafu 16:49:39
iota-devnet-issue.png
如果沒有人回我就要把 crypto 出清,可能代表世界正在崩壞的時候去中心化的系統還沒準備好 XD
bafu 16:49:45
let's see ...
Tammy 16:50:22
Mylog14 v2.0.0.pdf
Tammy 16:50:40
Wireframe v2.0.0!!!
4 🎉 3 🎊 3
Tammy 16:52:38
@bafu some feedback~ if we search for `tag` instead of a specific transaction hash, it can be a bit slow (10-20s for one search)
2
bafu 16:55:57
可能是因為 `tag` 會搜尋整個 tangle,我也來研究看看
Tammy 16:56:44
status report:

can search by tag (just slow)
can get the transaction message
1
TS 16:58:02
@sylviashih2010 has joined the channel
Tammy 17:03:43
@shc261392 @bafu one question to discuss with you, can we start the call today a bit earlier? say... 17:45? so that I have time to quickly go through the question I ran into with you.
🙆‍♂️ 1
SHC 17:04:11
@tammy079 ok
Tammy 17:04:39
I am working on the backend db schema, but I am not sure how to start with yet because I am not sure how the App will send data, also, I think the leger record process is still also a bit vague...
bafu 17:06:03
@tammy079 We will not create a database, and use Django model instead. @shc261392 can share more with you
Tammy 17:06:57
I think Django model still requires a sort of schema, am I right?
Tammy 17:07:23
It's totally ok if I don't need to do this task 😆
SHC 17:09:47
@tammy079 we can start with
```{
"timestamp": <>,
"latitude": <>,
"longitude": <>,
"accuracy": <>,
"bodyTemperature": <>,
"bodyTemperatureUnit": <>,
"conditions": {
"coughing": <>,
"headache": <>,
"runnyNose": <>,
"soreThroat": <>
},
}```
This is what the App records now
Tammy 17:29:21
@shc261392 @bafu I thought of it a bit deeper and it looked like we have missed the verification part. My main question is, if the data is currently saved in the Ionic store, how can we make sure the integrity is good? If you don't have the answer yet, maybe we can start the discussion earlier as the discussion may take some time. Let me know when you are free to chat 😀
bafu 17:30:44
np I'm free to chat now.
bafu 17:31:46
Originally I thought that MyLog14 will store data in the same way as Mediant (every capture will have a dir, and the raw data will be stored inside).
bafu 17:32:18
Let's discuss the details in the call
SHC 17:33:08
Free now
Tammy 17:33:13
I think the key is to use tech to ensure the integrity is good, untouched, so that it can really help. Any tech which achieves the goal is good.
Tammy 17:33:22
Use <tel:9855356941|985-535-6941>?
🙆‍♂️ 1
Tammy 17:34:14
@bafu @shc261392
Tammy 18:30:25
@sddivid we are in ^
😨 1
daYuan 18:51:38
@tammy079 我剛剛睡著惹😫
Tammy 18:53:06
@sddivid ok der, 明天傍晚見 XD,白天就你自個兒找 James sync app 那邊的狀況囉
daYuan 18:53:28
😂OK
SHC 19:08:47
@bafu Here's the JSON
mylog14-data-v0.2.0.json
1 1
SHC 19:09:48
其實我也很久沒睡了,等下可能隨機睡著
🛌 3
daYuan 19:41:49
目前先修了UI
location-detail.page
add-record
image.png
daYuan 19:42:08
等等來處理溫體的頁面
daYuan 19:43:29
修完體溫後我再發新的PR
Tammy 20:30:17
`溫體` 的頁面聽起來有點微妙 XD
Lily Kung 22:01:04
@b06106055 has joined the channel
Tammy 22:50:57
Hello @b06106055 🎉
🎉 1

2020-04-03

daYuan 00:31:00
左邊頁面如何變成右邊?
image.png
@sddivid 點擊右上角的分享鍵
daYuan 04:44:14
我覺得需要討論一下此頁面功能XD

~我們好像沒做登入&好友功能~
image.png
@sddivid 這個名字的來源是使用者在分享時可以選擇是否輸入分享給誰的備註 如果有輸入就會顯示是誰(很像權限控管的感覺 )但這個部分目前還沒有很完整 還會再去把它想得完善一點
UI這邊目前還缺少初始設定還有初次使用的教學~ 會盡快補上
daYuan 04:53:24
進度
location-detail BT-detail symptom-detail 完成選擇功能與介面
state & data 需要再依照資料調整,目前缺少資料串接與分享功能
還沒發PR github掛了
image.png
daYuan 04:54:00
Screenshot_20200403-045314.png
Screenshot_20200403-045343.png
daYuan 09:20:12
@shc261392
https://github.com/MyDataTaiwan/mylog14/pull/8
https://github.com/MyDataTaiwan/mylog14/pull/9
開了 PR 請有空的時候 review

GitHub

Dev add category ui by CS6 · Pull Request #8 · MyDataTaiwan/mylog14

添加素材圖.svg

GitHub

Dev fix date ui (目前最新ui) by CS6 · Pull Request #9 · MyDataTaiwan/mylog14

基本上只差分享&相機的畫面都有了 缺少 整合資料 相機 (我不確定你要調用原生還是客製化) 分享 (不確定) 圖表 (這部分我有空可以先做) 動畫控制器(獎盃&TW) 預計留到週五晚上在做 ------- Issues ------ iframe Google map 有點小問題要些(動態src:url) date-detail 頁面的 資料格式待定?

😀 4
Tammy 11:34:18
@sddivid @shc261392 你們要不要來 MyData project sync,Lily 在裡面可以跟她直接討論
daYuan 14:08:07
@shc261392 抱歉剛剛的會議我沒有參與到,想請問一下我目前該先動哪部分比較好?
SHC 14:11:28
@sddivid 建議可以先處理圖表或是獎盃,或其他比較小區塊裡面的部分,因為我正在改 project structure & 拆 components ,預計還要再花一個小時左右才會推上去,所以如果你要改跨 page 或 component 行為可能會不好 merge
daYuan 14:12:51
了解! 我會先處理 `圖表` 再處理 `獎杯` ,等你發 PR 後我再推
3
SHC 14:14:37
待會大概會改成這樣
```app
- core
- services
- tabs
- tabs-data
- tabs-taiwan
- daily
- daily-overview
- daily-detail
- daily-detail-symptoms
- daily-detail-photos
- category
- category-overview
- category-bt
- category-symptoms
- category-location
- category-pending```
1
daYuan 14:19:48
如果有發現缺少畫面記得提醒我XD
不過我剛剛以為 `categorize-data` 是 `category-pending` 所以就做在上面惹😱
Tammy 14:31:25
Hello~ please <tel:5859964376|585-996-4376> for tech sync
daYuan 14:42:15
@shc261392 我打算用 chartjs 或是你有推薦的套件嗎?
SHC 14:42:56
@sddivid pending 是放未分類那頁
不過整頁內容移過去應該還好
🙇‍♂️ 1
SHC 14:43:30
@sddivid chartjs sounds good
其實做圖表我不熟,所以用你順手的就好
1
daYuan 14:44:07
了解
Tammy 14:48:58
@sddivid lifebox 有圖表,是不是有些可以 leverage
daYuan 14:49:43
@tammy079 我看一下會不會比較快
SHC 14:55:03
lifebox 是用 d3
Tammy 15:09:55
@sddivid 我記得那時候 survey 是 d3 ecosystem 比較大,而且像是有些圖表可以由 data scientist 來畫 XD,比較多人可以協助
Tammy 15:10:29
所以如果可以維持用 d3 且沒有太多額外的 efforts 是還不錯,但如果有其他考量也 ok
bafu 15:14:03
@tobias.weisskopf.ch (chat) I have two questions for you 😁

1. Did you ever join any startup? Because I feel that you have a startup mindset! (e.g., move and change quickly)
2. Do you want me to communicate with you in Mandarin? / 你會希望我用中文跟你溝通嗎 XD
Toby 王成偉 2020-04-03 17:33:30
1.) Thank You! Thats very important to me. Keep learning all the time. But I never joined a startup, I am actually working in a big4 ^^
2.) 我的中文不太好,所以說英語更好. I throw in a few sentences every so often. I am currently preparing for 華語文測驗 from Taiwan.
Toby 王成偉 2020-04-03 17:33:49
@bafu
@tobias.weisskopf.ch let me know if you need any help on the test, I was a Mandarin teacher in Taiwan before 😂
Tammy 15:34:18
[Tech discussion 4/3]

The biggest question is: how can we let government officials, such as CDC members, to easily know which person the data is associated to without collecting user ID and real name?

Some possible solution

1. Generate one-time URL and leverage external messenger chats. For example, CDC officer can receive the URL from user so that the officer would know which person this data belongs to.
Pros - one click to open, simple
Cons - difficult to switch between data from different users

2. Generate a common URL, and the dashboard will show a drop-down menu of users whose data is still valid (within 72 hours after uploading), and user can share their key or unique software ID (not the real ID) with CDC members via LINE messenger
Pros - can easily switch between data from different users
Cons - need to compare an ID which is not so easy to be recognized (something like `ZLGVEQ9JUZZWCZXLWVNTHBDX9G9KZTJP9VEERIIFHY` )

3. Allow user to input Real ID and Real Name when they share the data, encrypt the data so that server cannot see it, then decrypt it by frontend so that only the gov officials can see, then follow #2 to create a drop-down menu.
Pros - maybe is the ideal solution, because it is easy-to-read and easy-to-manage
Cons - no idea how to achieve it yet technically

Maybe we can use #2 and generate a relatively easy-to-read alias for every user so that they can share it with the government officials, such as `2020.04.03.945` => mean the 945th person who share the data on 2020.04.03 (cc @bafu @tobias.weisskopf.ch)
@tobias.weisskopf.ch quick feedback from two MyData members who have closer contact with government officials.

#3 is the best, support #3 is it is not too complicated in technology

Otherwise, #1 is more preferred than #2
Tammy 16:23:20
MyLog14 data structure v0.1 (cc @shc261392 @bafu, this is based on our discussion yesterday)

This will be used for Alpha versions, let me know if you have any comment/suggestion.
Still missing - data structure on backend

yellow: one-time data, most of them are optional, only user_key is mandatary.

blue: will be saved at every record, snapcapture and symptom survey will use the same JSON structure

purple: data saved on Ledger

For field starts with `virtual` , it means there is no such data exist, it is created for the building connections of table in diagram only.
mylog14_data_structure.jpg
Tammy 16:28:10
如果我們想用國網中心 https://www.facebook.com/1383694918554214/posts/2614453168811710/

facebook.com

陳良基的創新筆記

「鍵盤救國」,科技部同步開放超級電腦的運算力,徵求各路軟體高手、AI忍者,一起用你的鍵盤來拚戰病毒! 「科技抗疫專案」徵件開跑 台灣AI雲、資料集平台免費開放 <https://news.ltn.com.tw/news/life/breakingnews/3121159> 或是: <https://www.nchc.org.tw/Page?itemid=28&amp;mid=43>

SHC 16:29:08
@tammy079 I think we can have some nested data in the json_data (like the json example)
SHC 16:29:20

<@U1D6J6UL8> Here's the JSON

Tammy 16:29:53
@shc261392 ok, will update soon~
Tammy 16:30:07
(sorry, missed the sample data you sent yesterday)
Tammy 17:57:18
@shc261392 @sddivid @bafu 待會也用我的號碼吧(限制 40 分鐘一定要結束 😆 ) <tel:5859964376|585-996-4376>
🙆‍♂️ 1
daYuan 17:57:39
OK
bafu 18:01:34
another iota explorer (for both mainnet & devnet)
daYuan 18:46:03
我要先去煮晚餐,有人在喊肚子餓惹
❤️ 1
SHC 18:48:46
@sddivid https://github.com/MyDataTaiwan/mylog14/pull/10

GitHub

Feature refactor structure by shc261392 · Pull Request #10 · MyDataTaiwan/mylog14

Description Change the project structure base on the suggestion of Angular Style Guide. The new structure: app - core - components - interfaces - pages - services - category - category-ov...

SHC 18:49:02
我家冰箱壞了沒得煮
daYuan 18:50:31
@shc261392 你不是都不出門嗎XD 冰箱壞了怎麼辦
SHC 18:51:59
出門頻率增加 300%
😂 4
Tammy 18:56:50
4/3 dev status report

Main function of the App from users' point of view

A. Add data
B. View data
C. Share data
D. Community engagement
E. Settings

`Alpha2 release` (4/3) will include
*A. Add data*
• Can snapcapture a photo
• Can record symptoms
• Location and time will be automatically captured
*B. View data*
• Can review captured photos (but cannot verify its location and time yet)
• Can see the recorded symptoms from a temporary button, and can verify location and time
*C. Share data*
No
*D. Community engagement*
No
*E. Settings*
No

`Alpha3 release` (4/7) will include
*A. Add data*
• Can snapcapture a photo
• Can record symptoms
• Location and time will be automatically captured
• Data hashes will be automatically registered to ledger
*B. View data*
• Can review captured photos
• Can see watermark on the captured photos to prove the integrity is preserved
• Can see location and time of the captured photo
• Can see the recorded symptoms the list and can verify its time and location
*C. Share data*
No
*D. Community engagement*
• When a new record is created and if the user is at home, a new drop will be created
• User can press the button manually to detect if they are currently at home. If yes, a new drop will be created
*E. Settings*
• User needs to agree EULA in order to use the App
• User can set-up home location suring on-boarding process
SHC 19:38:39
我看我先去吃飯
👍 3
daYuan 21:10:12
@shc261392 剛剛開了 PR 有空時看一下,主要是做完的表單合併進去( 需要 npm i )
https://github.com/MyDataTaiwan/mylog14/pull/11

GitHub

Merge chart to dev by CS6 · Pull Request #11 · MyDataTaiwan/mylog14

修改動態圖表

👍 3
daYuan 21:25:03
@b06106055 我們下午時RD討論到,希望可以讓 user 知道這張照片的資訊,概念如下方紅匡,你覺得可以如何調整版面?
(CC @tammy079)
image.png
@sddivid 想問RD是希望使用者可以在平時就知道關於照片的資訊嗎?還是只有刪除時才會需要看到呢?
@tammy079 你怎麼看?
@b06106055 因為每張照片都會被收集地點與時間,如果 `平時` 可以有個類似 `i` icon,點進去會看到這些資訊,覺得滿有用的。

另外,刪除的時候如果像 @sddivid 的圖示那樣會顯示地點跟時間,也可以提醒用戶不要誤刪了一些具有重要時間地點的資訊。舉例來說,我可能看到一張莫名的圖覺得這是啥我想刪掉,打開了以後,透過時間地點資訊發現: 喔! 原來我當時是紀錄聚餐餐廳的外面,這時候這張照片就變得有意義,而且我會因為防疫需要而不想刪除了
SHC 21:48:06
快好了,給我十分鐘測一下安卓實機
daYuan 21:48:28
好的,我在弄動畫頁面中
SHC 22:17:27
@sddivid 好了抱歉有點晚
https://github.com/MyDataTaiwan/mylog14/pull/12
PR 描述裡面有兩個飯粒,一個是用 async pipe 拿 photos 顯示出來,一個是拿 metadata
後者應該屬於這個 release 的 optional feature ,所以如果你有空再找地方加個測試用 alert 之類的,來不及或 UI 不好放就算了

GitHub

Feature camera by shc261392 · Pull Request #12 · MyDataTaiwan/mylog14

Description Implement the camera/snapCapture functionality See here for examples on how to add photos to a gallery I also provide an example to get photo metadata (timestamp &amp; locationstamps) h...

🍚 4 🍙 4 3
daYuan 22:23:02
OK 我來看看怎麼弄
daYuan 22:32:35
@shc261392 目前ios 是可以run的嗎?
SHC 22:35:22
@sddivid 我沒試過
daYuan 22:35:47
我這是run不起來,不過不急就是惹
daYuan 22:36:02
我先調 android
SHC 22:38:17
@sddivid 你 npm i 的話 run in web 也能照相,不過並不能存照片就是了
daYuan 22:39:24
對了,你 commit 裡提到的兩個here 都是空的喔

GitHub

MyDataTaiwan/mylog14

Contribute to MyDataTaiwan/mylog14 development by creating an account on GitHub.

daYuan 22:39:50
我可以參考哪個檔案
SHC 22:40:56
啊我應該貼 feature branch 上的 link
SHC 22:42:11
因為我貼 PR file changed 的 link 所以 merge 完就蒸發了
SHC 22:43:22
@sddivid
顯示:https://github.com/MyDataTaiwan/mylog14/blob/develop/src/app/category/category-pending/category-pending.page.html#L21

metadata:https://github.com/MyDataTaiwan/mylog14/blob/develop/src/app/category/category-pending/category-pending.page.ts#L40

GitHub

MyDataTaiwan/mylog14

Contribute to MyDataTaiwan/mylog14 development by creating an account on GitHub.

GitHub

MyDataTaiwan/mylog14

Contribute to MyDataTaiwan/mylog14 development by creating an account on GitHub.

daYuan 22:44:34
感謝👍
Toby 王成偉 22:46:55
SHC 22:47:39
iOS 看起來像是卡在 geolocation
因為現在一樣沒對 location 做任何 timeout/fallback 行為,所以無論是拍照還是加紀錄都可能因為取不到 location 卡住
daYuan 22:49:36
所以可以進到畫面嗎OAO
daYuan 22:50:11
ios error
image.png
SHC 22:51:24
@sddivid 忘了說要 npm i
daYuan 22:57:43
~可是我android 可以跑 應該是快取問題 下週再處理~
daYuan 22:58:55
果然,雙清後可以跑了
daYuan 23:35:10
我先推了重新排列照片ui
daYuan 23:35:24
至於 ion-modal 需要新增一個 page
我直接用 ionic generate page 建在 category-pending 裡?裡?
還是用 categorize-finish ?
daYuan 23:37:43
這兩個model
image.png
SHC 23:40:39
@sddivid 直接建或用 categorize-finish 改都可以(反正那頁也是要大改)
daYuan 23:40:45
OK
daYuan 23:41:08
image.png
daYuan 23:41:18
這版要先停在這裡嗎?
daYuan 23:41:38
還是做完 modal
daYuan 23:43:04
@shc261392
SHC 23:43:27
@sddivid 覺得先這樣應該就好
daYuan 23:43:36
那我就打包樓
3
SHC 23:54:34
@sddivid 你遇到的 iframe 問題是這個嗎 `Uncaught (in promise): Error: unsafe value used in a resource URL context`
daYuan 23:55:14
沒記錯的話

2020-04-04