#disfactory
2020-08-01
Vincent Cantin
15:35:30
@vincent971 has joined the channel
github
22:12:46
Bumps <https://github.com/indutny/elliptic|elliptic> from 6.5.2 to 6.5.3. Commits • <https://github.com/indutny/elliptic/commit/8647803dc3d90506aa03021737f7b061ba959ae1|`8647803`> 6.5.3 • <https://github.com/indutny/elliptic/commit/856fe4d99fe7b6200556e6400b3bf585b1721bec|`856fe4d`> signature: prevent malleability and overflows • See full diff in <https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3|compare view> <https://help.github.com/articles/configuring-automated-security-fixes|Dependabot compatibility score> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. * * * Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: • `@dependabot rebase` will rebase this PR • `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it • `@dependabot merge` will merge this PR after your CI passes on it • `@dependabot squash and merge` will squash and merge this PR after your CI passes on it • `@dependabot cancel merge` will cancel a previously requested merge and block automerging • `@dependabot reopen` will reopen this PR if it is closed • `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually • `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) • `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) • `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) • `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language • `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language • `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language • `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the <https://github.com/Disfactory/about.disfactory.tw/network/alerts|Security Alerts page>.
2020-08-02
github
01:30:46
Bumps <https://github.com/indutny/elliptic|elliptic> from 6.5.2 to 6.5.3. Commits • <https://github.com/indutny/elliptic/commit/8647803dc3d90506aa03021737f7b061ba959ae1|`8647803`> 6.5.3 • <https://github.com/indutny/elliptic/commit/856fe4d99fe7b6200556e6400b3bf585b1721bec|`856fe4d`> signature: prevent malleability and overflows • See full diff in <https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3|compare view> <https://help.github.com/articles/configuring-automated-security-fixes|Dependabot compatibility score> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. * * * Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: • `@dependabot rebase` will rebase this PR • `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it • `@dependabot merge` will merge this PR after your CI passes on it • `@dependabot squash and merge` will squash and merge this PR after your CI passes on it • `@dependabot cancel merge` will cancel a previously requested merge and block automerging • `@dependabot reopen` will reopen this PR if it is closed • `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually • `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) • `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) • `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) • `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language • `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language • `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language • `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the <https://github.com/Disfactory/license.disfactory.tw/network/alerts|Security Alerts page>.
2020-08-04
kiang
18:32:24
自由時報電子報
首次上稿 00:28更新時間 06:48政府宣示2016年5月20日後農地新增違規工廠全拆除,但首波僅拆16家,引發雷聲大雨點小爭議。今年3月《工廠管理輔導法》修法更明定農地新增工廠需拆除,經濟部經全國盤點查獲400多家未登記新增工廠,農委會「農業及農地資源盤查結果查詢圖台」7月底依經濟部資料更新圖資,揭露違規工廠位置、面積,統計顯示4年間,農地上的違規新增工廠至少317間、占用農地逾120.2公頃,依法都需拆除。![]()
kiang
2020-08-04 18:32:50
試著抓看看的結果
https://github.com/kiang/map-coa-1
https://github.com/kiang/map-coa-1
kiang
2020-08-04 23:33:16
deeper
2020-08-05 14:03:37
感謝kiang! 我們再來想想怎麼好好運用這筆資料
yukai
2020-08-05 21:48:32
清了一下 curl
```curl -k 'https://map.coa.gov.tw/portal/sharing/servers/bdfbd5edc5c243ff929d61853997d58f/rest/services/Farmland_survey/L21_%E6%96%B0%E5%A2%9E%E5%B7%A5%E5%BB%A0106Q4/MapServer/0/query?objectIds=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38&outFields=*&outSR=4326&returnGeometry=true&f=json' -H 'Content-Type: application/x-www-form-urlencoded'```
```curl -k 'https://map.coa.gov.tw/portal/sharing/servers/bdfbd5edc5c243ff929d61853997d58f/rest/services/Farmland_survey/L21_%E6%96%B0%E5%A2%9E%E5%B7%A5%E5%BB%A0106Q4/MapServer/0/query?objectIds=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38&outFields=*&outSR=4326&returnGeometry=true&f=json' -H 'Content-Type: application/x-www-form-urlencoded'```
API 被鎖起來了 QQ
之前 ronny 爬蟲的 code
https://github.com/ronnywang/disfactory-crawler
https://github.com/ronnywang/disfactory-crawler
kiang
2020-08-05 21:55:06
恩,真的欄位都消失了(嘆)
kiang
2020-08-05 22:43:07
雖然覺得會得到罐頭回應,還是先送看看吧 - https://data.gov.tw/node/128900
kiang
18:32:50
試著抓看看的結果
https://github.com/kiang/map-coa-1
https://github.com/kiang/map-coa-1
土撥鼠 Lisbeth
20:08:03
晚安,因為後天一大早有重要的事情,明天會視狀況參加會議
kiang
23:33:16
Replied to a thread: 2020-08-04 18:32:24
``` {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u5927\u6a39\u5340\u4e5d\u5927\u8def\u6cb3\u6ff12\u5df756\u4e4b46\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.42566788882837,22.65081441121993],[120.42566301754067,22.650796305050307],[120.42563685791008,22.650812744018392],[120.42562068991747,22.65081440374167],[120.42562205375889,22.650837625038154],[120.4256321988452,22.650895427878655],[120.42564621504081,22.65089554041663],[120.42568980768847,22.650895889877276],[120.42566788882837,22.65081441121993]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u5927\u793e\u5340\u548c\u5e73\u8def1\u6bb52\u4e4b6\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.36284176297438,22.750449807621173],[120.36282344470649,22.750287630298516],[120.3628030375996,22.750295606922897],[120.36236290616995,22.750281585221412],[120.36239702945039,22.75044922237652],[120.36284176297438,22.750449807621173]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u4ec1\u6b66\u5340\u5de5\u696d\u4e8c\u8def33\u5df780\u4e4b1\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.34019757135933,22.69578438079416],[120.33964383304885,22.695776784119452],[120.33964208645152,22.69589426757431],[120.34016808661545,22.695901483496353],[120.34019757135933,22.69578438079416]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u6a4b\u982d\u5340\u7532\u7530\u8def65\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.2922099961626,22.738871805427962],[120.29211883461586,22.738660519393267],[120.29174186349294,22.738767398007308],[120.29135910802047,22.738874796414972],[120.29143294630592,22.739043825268226],[120.29145517558109,22.739092084636784],[120.29160753905192,22.73904422367561],[120.2922099961626,22.738871805427962]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u6a4b\u982d\u5340\u7532\u7530\u8def65\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.29211883461586,22.738660519393267],[120.29208126341359,22.73857333821875],[120.29203974660484,22.738478735409945],[120.29128149259003,22.7386947831784],[120.29135910802047,22.738874796414972],[120.29174186349294,22.738767398007308],[120.29211883461586,22.738660519393267]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u4ec1\u6b66\u5340\u9cf3\u4ec1\u8def2\u4e4b39\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.36557701658762,22.672024679466812],[120.36549267262788,22.67188085810412],[120.36547711053147,22.671871138102116],[120.36546509174079,22.671882953237446],[120.36522355837096,22.67213513437878],[120.36525767316614,22.67221374469818],[120.3652753530327,22.67224815406149],[120.36557701658762,22.672024679466812]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u4ec1\u6b66\u5340\u9cf3\u4ec1\u8def2\u4e4b39\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.36547711053147,22.671871138102116],[120.36543086847962,22.671842295922318],[120.36518928926944,22.672024512260418],[120.36520749708092,22.672098131481548],[120.36522355837096,22.67213513437878],[120.36546509174079,22.671882953237446],[120.36547711053147,22.671871138102116]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u9ce5\u677e\u5340\u5927\u540c\u8def2\u4e4b45\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.37478970102504,22.653697567167757],[120.37452723517924,22.653607916205967],[120.37448138998643,22.653721738737058],[120.37474378024181,22.65381136329209],[120.37478970102504,22.653697567167757]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u9cf3\u5c4f\u4e8c\u8def157\u4e4b50\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.40900052896062,22.643728513922106],[120.40908454184994,22.643716426113073],[120.40909166786652,22.643498465112014],[120.40888906212128,22.64349233769155],[120.40888223107969,22.643711773592283],[120.40888102726467,22.643771639745374],[120.4089972246816,22.64372970645028],[120.40900052896062,22.643728513922106]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u5927\u5bee\u5340\u8208\u4e2d\u885796\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.38761179348434,22.628030335995454],[120.38733262913432,22.627882723725534],[120.38698066255013,22.627694740576608],[120.38694747884355,22.627763255908114],[120.38691082044022,22.62782997075766],[120.38684784018412,22.627944189000047],[120.386912446231,22.627973153854352],[120.38728824227579,22.628169719834002],[120.38746955631663,22.62826304564245],[120.38761179348434,22.628030335995454]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u5927\u5bee\u5340\u8208\u4e2d\u885796\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.38770911111747,22.627871136994212],[120.38746985218964,22.627746198268678],[120.38715399069487,22.627579442068345],[120.38707516765538,22.627534804235516],[120.38704557503003,22.627579760234212],[120.38701297929312,22.627628674687294],[120.38698066255013,22.627694740576608],[120.38733262913432,22.627882723725534],[120.38761179348434,22.628030335995454],[120.38770911111747,22.627871136994212]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u5927\u5bee\u5340\u8208\u4e2d\u885796\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.38772986766816,22.627675927129413],[120.38755336701726,22.627580986326254],[120.387179999803,22.627384088890697],[120.38707516765538,22.627534804235516],[120.38715399069487,22.627579442068345],[120.38746985218964,22.627746198268678],[120.3874977547802,22.627701061443393],[120.38766022296763,22.627785204808635],[120.38772986766816,22.627675927129413]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u5927\u5bee\u5340\u8208\u4e2d\u885796\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.38780454743191,22.62771538141291],[120.38772986766816,22.627675927129413],[120.38766022296763,22.627785204808635],[120.3874977547802,22.627701061443393],[120.38746985218964,22.627746198268678],[120.38770911111747,22.627871136994212],[120.38780454743191,22.62771538141291]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u5927\u5bee\u5340\u8208\u4e2d\u885796\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.38791096856077,22.627538506728033],[120.38729493706413,22.627218038045207],[120.387179999803,22.627384088890697],[120.38755336701726,22.627580986326254],[120.38772986766816,22.627675927129413],[120.38780454743191,22.62771538141291],[120.38788680804917,22.627580893582646],[120.38791096856077,22.627538506728033]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u5927\u5bee\u5340\u8208\u4e2d\u885796\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.38795859099145,22.62746122048121],[120.38734924802682,22.627139807620036],[120.38729493706413,22.627218038045207],[120.38791096856077,22.627538506728033],[120.38795859099145,22.62746122048121]]]}},{"type":"Feature","properties":{"addr":"\u9ad8\u96c4\u5e02\u5927\u5bee\u5340\u8208\u4e2d\u885796\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.3880545691822,22.62730511008407],[120.38746234202665,22.626995794672503],[120.38745223558826,22.62698986890715],[120.38744632901944,22.62700078354679],[120.38734924802682,22.627139807620036],[120.38795859099145,22.62746122048121],[120.3880545691822,22.62730511008407]]]}},{"type":"Feature","properties":{"addr":"\u5c4f\u6771\u7e23\u4f73\u51ac\u9109\u660c\u9686\u6751\u660c\u5357\u6bb5136\u5730\u865f"},"geometry":{"type":"Polygon","coordinates":[[[120.55427576583531,22.44665426270521],[120.55430922805688,22.446551836903264],[120.55444391551515,22.446564412526264],[120.55444973723793,22.446564971367852],[120.55451726181592,22.4461346808178],[120.5546294697801,22.445419784240233],[120.55451943098156,22.445417740316955],[120.55423230665129,22.4465446641897],[120.55419180192706,22.446673421664048],[120.55427576583531,22.44665426270521]]]}},{"type":"Feature","properties":{"addr":"\u5c4f\u6771\u7e23\u5c4f\u6771\u5e02\u6d77\u8c50\u8857119\u5df734\u4e4b3\u865f"},"geometr…
- 👍1
2020-08-05
deeper
14:03:37
感謝kiang! 我們再來想想怎麼好好運用這筆資料
ael
17:16:37
我今天會到喔,正在看積了太久的 GitHub……….. @cph @tobyliu 今天會來嗎? Toby 要本人出現一下啦,這週沒來下週要來。沒有被 tag 的人只是因為我還沒看完 QAQ
ael
17:19:33
@sonia8715 想跟你確認一下,你目前產出公文的部分會自動產出舉報文號嗎?舉報文號有寫進 DB 哪裡嗎?
Sonia
2020-08-05 17:31:35
產公文的舉報文號是之前 Darren 那邊才會做到的 我的部份沒有文號,DB 欄位好像有要確認一下
@sonia8715 但 Darren 的部份現在沒有在動了,你會接他的部分嗎?還是需要別人接?
Sonia
2020-08-05 17:38:12
對,我是可以接,但需要時間做XD 你需要我先做那部分嗎?我這週可以找時間把他的 branch cherry pick 過來併成一支
@sonia8715,@swind 可以幫忙接 Darren 的部分和整起來
Sonia
2020-08-13 20:15:42
好~ 謝謝 那我的部分我再趕快做完😰
@sonia8715 做之前記得跟 @swind 確認一下彼此的分工範圍唷
然後產生舉報公文號的部分,在這週三的小聚我們決定要做成 Django 後台的 action
swind
2020-08-14 01:42:34
@sonia8715 你好你好,我這邊已經把 darren 做的部份 cherry pick 並且整理完了,目前在 export_doc_continue 這個 branch 上面。
雖然有發了 Pull Request,但是經過星期三的討論,會等 Document 這個 model 與他的 admin view 實做完之後。
再把他放進去 document admin view 裡面(可能是一個按鈕或者是 action 之類的,然後按下去就會把現在的 Document 的資料轉成 docx 這樣的感覺 )。
目前是依照 Darren 之前的實做,放在 factory 的 action 裡面。
然後目前還有要解決的事情還有 deeper 的 mac world 無法開啟,所以我現在還在處理中 ~
雖然有發了 Pull Request,但是經過星期三的討論,會等 Document 這個 model 與他的 admin view 實做完之後。
再把他放進去 document admin view 裡面(可能是一個按鈕或者是 action 之類的,然後按下去就會把現在的 Document 的資料轉成 docx 這樣的感覺 )。
目前是依照 Darren 之前的實做,放在 factory 的 action 裡面。
然後目前還有要解決的事情還有 deeper 的 mac world 無法開啟,所以我現在還在處理中 ~
Sonia
2020-08-19 09:23:13
@swind 我可以這禮拜找個時間線上跟你 sync 一下嗎?
Sonia
17:31:35
產公文的舉報文號是之前 Darren 那邊才會做到的 我的部份沒有文號,DB 欄位好像有要確認一下
ael
17:36:32
@sonia8715 但 Darren 的部份現在沒有在動了,你會接他的部分嗎?還是需要別人接?
Sonia
17:38:12
對,我是可以接,但需要時間做XD 你需要我先做那部分嗎?我這週可以找時間把他的 branch cherry pick 過來併成一支
ael
17:56:03
好的,我很晚才整理出來今晚要幹嘛。
議題面:
@cstsai 需要請你更新一下違章工廠議題的進度(感覺多出很多),還有是不是又多出新的資料。
後端:
• @cph @yellowsoar @tobyliu 新的違章工廠的資料要怎麼併進來?要看一下 Kiang 前面丟的那份。還是爬蟲的部分 @yoyo930021 要再看一下?
• @tobyliu 我知道你上週都在準備 COSCUP,這週就小問一下 User Model
• 現在關鍵的自動產生 `舉報公文文號`處於無人認領的狀態。 @sonia8715 要做的話,自動下載公文的 template 進度就會被拖到
• 還有後面紀錄公文回報進度的 table 還沒處理確認的欄位,上次只有討論到大概的架構和解法。這放到下週再做。 @cstsai @cph @yellowsoar 我還要找人接這個部分 QAQ
• @f46284628 的工場編號 PR 需要 review
• @cstsai 上週倒資料 csv 都還順利嗎?
• 要建 staging 嗎?
• 以及一種隱然不知道怎麼讓後台維護比較容易的不安
前端:
@yoyo930021 @yukai 我有看到在重構和做元件,但是我找不到你們的分工 QQ
設計:
我覺得我今天沒有能量看,請 @cstsai @xinrooforwork @jennie97111 @jnleyan 自己延續討論喔!
進度面需要的東西是公文處理流程的確切欄位
新人 on board 就是要多了解議題和受眾
議題面:
@cstsai 需要請你更新一下違章工廠議題的進度(感覺多出很多),還有是不是又多出新的資料。
後端:
• @cph @yellowsoar @tobyliu 新的違章工廠的資料要怎麼併進來?要看一下 Kiang 前面丟的那份。還是爬蟲的部分 @yoyo930021 要再看一下?
• @tobyliu 我知道你上週都在準備 COSCUP,這週就小問一下 User Model
• 現在關鍵的自動產生 `舉報公文文號`處於無人認領的狀態。 @sonia8715 要做的話,自動下載公文的 template 進度就會被拖到
• 還有後面紀錄公文回報進度的 table 還沒處理確認的欄位,上次只有討論到大概的架構和解法。這放到下週再做。 @cstsai @cph @yellowsoar 我還要找人接這個部分 QAQ
• @f46284628 的工場編號 PR 需要 review
• @cstsai 上週倒資料 csv 都還順利嗎?
• 要建 staging 嗎?
• 以及一種隱然不知道怎麼讓後台維護比較容易的不安
前端:
@yoyo930021 @yukai 我有看到在重構和做元件,但是我找不到你們的分工 QQ
設計:
我覺得我今天沒有能量看,請 @cstsai @xinrooforwork @jennie97111 @jnleyan 自己延續討論喔!
進度面需要的東西是公文處理流程的確切欄位
新人 on board 就是要多了解議題和受眾
X Lin
2020-08-05 18:02:13
收到🙆♀️🏻
設計部分目前應該也是沒有新進度
上次討論,要整理出方便未來還有人加入時的資料,不過大家八月可能都沒有太多時間可以處理~
設計部分目前應該也是沒有新進度
上次討論,要整理出方便未來還有人加入時的資料,不過大家八月可能都沒有太多時間可以處理~
Ok. @cstsai @xinrooforwork @jennie97111 我們要今天小聚時間開會議室討論下一步跟分工 還是之後時間另外約?
X Lin
2020-08-05 19:49:07
@jennie97111 今天有空嗎~
我們今天可以先brainstorm出一個目標,8:30討論!
我們今天可以先brainstorm出一個目標,8:30討論!
RAYEN
2020-08-05 19:50:08
@jnleyan @xinrooforwork 我現在還在外面跑實習的外務,不太確定什麼時候結束。請問你們可以先討論嗎?我結束後再回覆你們
X Lin
2020-08-05 19:50:20
好哇~
X Lin
2020-08-05 20:31:47
@jnleyan 可以直接用今天的小聚連結
X Lin
2020-08-05 20:31:55
沒有其他人在線上
好 給我三分鐘
X Lin
2020-08-05 20:33:03
okk
deeper
2020-08-05 21:26:27
@jennie97111 我們今天的初步成果見網址 希望下下週三前確定research plan 9月中約一次現地調查~~
https://docs.google.com/spreadsheets/u/1/d/1Ae2oy7hn9_aNoa0-YnhbMp0nhPUpcfq3W-cy2prmuVk/edit#gid=0
https://docs.google.com/spreadsheets/u/1/d/1Ae2oy7hn9_aNoa0-YnhbMp0nhPUpcfq3W-cy2prmuVk/edit#gid=0
RAYEN
2020-08-05 22:23:06
@cstsai 我大概忙到8/24,之後時間比較彈性,可以再約現場調查,我會在田調那之前準備好需要的東西
X Lin
18:02:13
收到🙆♀️🏻
設計部分目前應該也是沒有新進度
上次討論,要整理出方便未來還有人加入時的資料,不過大家八月可能都沒有太多時間可以處理~
設計部分目前應該也是沒有新進度
上次討論,要整理出方便未來還有人加入時的資料,不過大家八月可能都沒有太多時間可以處理~
土撥鼠 Lisbeth
18:31:45
想問問辦公室附近有什麼推薦的美食,我是騎機車
deeper
2020-08-05 18:36:09
金拱門(X
deeper
2020-08-05 18:36:28
雙月、忠青商行
吉野家 麥當勞
小七
deeper
2020-08-05 18:43:36
如果是要提供非美食(但快速、衛生)的選項的話:摩斯、鬍鬚張
這真是非常困難的問題,我們是不是以後中午就先挑好叫外送的餐廳統計大家要吃什麼,順便知道誰今晚會出席(誤
X Lin
2020-08-05 18:50:59
非美食😆🤣
土撥鼠 Lisbeth
2020-08-05 19:00:03
意外發現忠青以前去過!
deeper
18:36:09
金拱門(X
deeper
18:36:28
雙月、忠青商行
IU
18:37:04
吉野家 麥當勞
cph
18:42:17
小七
deeper
18:43:36
如果是要提供非美食(但快速、衛生)的選項的話:摩斯、鬍鬚張
deeper
18:45:18
今日小聚連結:https://meet.google.com/egx-zvjk-ouv (欸其實每次都一樣啦
小聚紀錄:https://g0v.hackmd.io/@yukaii/Disfactory/%2Fk_CkRUiiSoK3cmy3kdY3Nw
小聚紀錄:https://g0v.hackmd.io/@yukaii/Disfactory/%2Fk_CkRUiiSoK3cmy3kdY3Nw
meet.google.com
Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
ael
18:50:56
這真是非常困難的問題,我們是不是以後中午就先挑好叫外送的餐廳統計大家要吃什麼,順便知道誰今晚會出席(誤
X Lin
18:50:59
非美食😆🤣
土撥鼠 Lisbeth
19:00:03
意外發現忠青以前去過!
土撥鼠 Lisbeth
19:21:09
雙月人也太多了吧
土撥鼠 Lisbeth
19:21:11
Orz
J
19:36:03
Ok. @cstsai @xinrooforwork @jennie97111 我們要今天小聚時間開會議室討論下一步跟分工 還是之後時間另外約?
X Lin
19:49:07
@jennie97111 今天有空嗎~
我們今天可以先brainstorm出一個目標,8:30討論!
我們今天可以先brainstorm出一個目標,8:30討論!
RAYEN
19:50:08
@jnleyan @xinrooforwork 我現在還在外面跑實習的外務,不太確定什麼時候結束。請問你們可以先討論嗎?我結束後再回覆你們
X Lin
19:50:20
好哇~
jsaon92
20:12:47
@jsaon92 has joined the channel
X Lin
20:31:47
@jnleyan 可以直接用今天的小聚連結
X Lin
20:31:55
沒有其他人在線上
J
20:32:17
好 給我三分鐘
X Lin
20:33:03
okk
github
20:40:25
*<https://github.com/Disfactory/frontend/compare/aaa310dba6ac^...956cc00a9318|338 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/aaa310dba6aca4106be86965651927619eac0209|`aaa310db`> - Init frontend project with vue-cli <https://github.com/Disfactory/frontend/commit/ea32988ae78665be0703f1f2e36bfb51e05af5b4|`ea32988a`> - Setup demo app of vueopenlayer <https://github.com/Disfactory/frontend/commit/12b79e6852172bacd25905b26762683a4fe453f1|`12b79e68`> - Use openlayer directly instead of vuelayer <https://github.com/Disfactory/frontend/commit/2bd96bf60f68c4084d922806d13475d0e22a6ff1|`2bd96bf6`> - Integrate nlsc emap <https://github.com/Disfactory/frontend/commit/0fbb33c167327db56300a96649bc48156a347418|`0fbb33c1`> - Add LUIMAP layer to inspect <https://github.com/Disfactory/frontend/commit/12302dda4c4f0bcba27fa7150ec470fae208a261|`12302dda`> - Add crossOrigin option to load tile correctly <https://github.com/Disfactory/frontend/commit/e3449025ce1b0c67bcc986e6c806d29ae7be1a55|`e3449025`> - Doing grayscale PoC on tile image <https://github.com/Disfactory/frontend/commit/dac4b09e5156d2a6d0c4b511873a4e48235eb352|`dac4b09e`> - Handle click event for pixel on map <https://github.com/Disfactory/frontend/commit/4c148894d8cbc165dadc3877fced08f0bdcea34b|`4c148894`> - Fix typo <https://github.com/Disfactory/frontend/commit/f798ea4733879bbe48d2e5cc0f4a5799baf30f80|`f798ea47`> - Remove jsconfig <https://github.com/Disfactory/frontend/commit/74f8d5c5df953795abf1bb5a98505be24353917f|`74f8d5c5`> - Replace tslint with eslint <https://github.com/Disfactory/frontend/commit/8303491e9ec86970d98a9213e9d0994b49b8a4bc|`8303491e`> - Install eslint-typescript plugin <https://github.com/Disfactory/frontend/commit/ae59c2c270f4e05f69523087a9b62ed5784533b7|`ae59c2c2`> - Extract createImageProcessor method <https://github.com/Disfactory/frontend/commit/f7ddc50cc9f1a14df9b97efa676548bf5e377b2b|`f7ddc50c`> - Transform argricultural land to transparent layer <https://github.com/Disfactory/frontend/commit/e00f714b694f72115c5948e14bef66adc3c42e99|`e00f714b`> - Convert to vue composition api <https://github.com/Disfactory/frontend/commit/493f786c26cab75ed38ccdd9fd4c1e680ed6ecbe|`493f786c`> - Remove default template file <https://github.com/Disfactory/frontend/commit/dda2ad94047612d33d984eb904400f54dc967a33|`dda2ad94`> - Upgrade to vue cli 4 <https://github.com/Disfactory/frontend/commit/dd385250c8487dc0df0cde88cdb0eb958eb18235|`dd385250`> - Merge pull request #29 from Disfactory/feature/upgrade-vue-cli-4 <https://github.com/Disfactory/frontend/commit/6ecd54c08a1a73b8fe2ae6a202ac055feb5e2eaf|`6ecd54c0`> - Reduce performance for image processor <https://github.com/Disfactory/frontend/commit/73a8e27f0e4638afb98c1b870f8b69c1835250a1|`73a8e27f`> - Add CircleCI for frontend <https://github.com/Disfactory/frontend/commit/62f465c4743879ccd1c2096096a7fd38e0128280|`62f465c4`> - Increase performance for image processor (#40) <https://github.com/Disfactory/frontend/commit/cba5ffd1da304298321831c21555170f6c7f8990|`cba5ffd1`> - Fix map pixel click event <https://github.com/Disfactory/frontend/commit/926b88904718ee319ceb46f3fabf833285dce58b|`926b8890`> - Try the offical draw guide <https://github.com/Disfactory/frontend/commit/9103f668772d671997624e4b218be040eccde1b4|`9103f668`> - Set non-agricultural land to black <https://github.com/Disfactory/frontend/commit/e081cbdde4267bc5d02f8cb17bc47f1f0a9fbbfb|`e081cbdd`> - Add factory markers from API <https://github.com/Disfactory/frontend/commit/6f3026b2466f4cf9f8ab823f9f48c3ecf528bcaa|`6f3026b2`> - Set id for feature <https://github.com/Disfactory/frontend/commit/1e964b46d4cc80210e2b8039ebcf6c43c2088eec|`1e964b46`> - Add factories list type <https://github.com/Disfactory/frontend/commit/372256d9fd1e3713adbc721d715d6da05e552cb1|`372256d9`> - Fix linter <https://github.com/Disfactory/frontend/commit/3c4c1984c00ad83963ce1ebf47099e05950cdde9|`3c4c1984`> - Add factory dynamically <https://github.com/Disfactory/frontend/commit/394f3c9f320e89a51dfa552da5778e5cf5b8fd5b|`394f3c9f`> - Fix type <https://github.com/Disfactory/frontend/commit/b58f56cebe6b90f24799251dc15683d958ef9e73|`b58f56ce`> - Set custom icon for feature <https://github.com/Disfactory/frontend/commit/6c8888a0ad93acfd9aa8b4359ddd6de160c94e7a|`6c8888a0`> - Fix linter <https://github.com/Disfactory/frontend/commit/6a98902a6560d788803ef202822b74bdccfabff3|`6a98902a`> - Fix ts compile error <https://github.com/Disfactory/frontend/commit/11bc938aef646b86b351d0eeb7e5d073d0adde90|`11bc938a`> - Remove map element id attribute <https://github.com/Disfactory/frontend/commit/35eccbb18267f2dcb4bce12fbf98f304de7c8b94|`35eccbb1`> - Upgrade packages and typescript version <https://github.com/Disfactory/frontend/commit/fc750a6ab7b2cf1065595faa9fea00ff6af61500|`fc750a6a`> - Merge pull request #69 from Disfactory:upgrade-packages <https://github.com/Disfactory/frontend/commit/1dc140c7fb0dd65426dacdb67a02c3a15d4681b1|`1dc140c7`> - Add base components <https://github.com/Disfactory/frontend/commit/67546a83a2e56200560a5328ce4da835200a5e28|`67546a83`> - Add base components (#70) <https://github.com/Disfactory/frontend/commit/f729e1e8be3792defbf89daa823512571cf16520|`f729e1e8`> - Extract addFactories method <https://github.com/Disfactory/frontend/commit/a04cb5fb480ddcc7b232dee230045de9f70acc4b|`a04cb5fb`> - Implement filter factory method <https://github.com/Disfactory/frontend/commit/daba0d0ef48b94deac9bd0b5a6362b52931dfb48|`daba0d0e`> - Add AppNavbar component <https://github.com/Disfactory/frontend/commit/1e5ce14b3d1199cc67ec76e45b7435402b4fb835|`1e5ce14b`> - Extract map related methods to map.ts <https://github.com/Disfactory/frontend/commit/8a020d666b080caf5fd7a9dc96586857fe791b58|`8a020d66`> - Correct pin colors base on factory status <https://github.com/Disfactory/frontend/commit/a035e94295c19f07f3f2c061c1662510d7780ee3|`a035e942`> - Fix factory filter by simply show/hide them <https://github.com/Disfactory/frontend/commit/c7118777800c09bcbafefa384dac13994569c370|`c7118777`> - Impl FilterModal <https://github.com/Disfactory/frontend/commit/7f0ae4c117672cd41e97cee958d99c76d88de48a|`7f0ae4c1`> - Complete filter feature <https://github.com/Disfactory/frontend/commit/66f41b1fe13fae27489445e269f8be44dc87f771|`66f41b1f`> - Satisfy our linter <https://github.com/Disfactory/frontend/commit/8fb8773055f7612c0e9c0fdfff66fafc18ab0412|`8fb87730`> - Filter factories (#72) <https://github.com/Disfactory/frontend/commit/51b95f998ff3ed118440a42870bf95d556fbf9d1|`51b95f99`> - Add create factory button <https://github.com/Disfactory/frontend/commit/5938785f355464ee97fc92ce6bd5009c432854ec|`5938785f`> - Remove button outline <https://github.com/Disfactory/frontend/commit/c1b1ddb28b39b381f1db2712e912773e2378bf63|`c1b1ddb2`> - Layout create form page <https://github.com/Disfactory/frontend/commit/ba7d1defc7f734a251457c7da985191c70e4fd0d|`ba7d1def`> - Update app navbar layout <https://github.com/Disfactory/frontend/commit/d6685a3ffab4a731297e7c4257a4a5b98405978c|`d6685a3f`> - Back button <https://github.com/Disfactory/frontend/commit/b05ca3f217635b5bf52dc124fc1ab0c534a676c7|`b05ca3f2`> - Bind missing close button event <https://github.com/Disfactory/frontend/commit/5bd09c6ca67906b5e43d2ddba5c44001a8a771fc|`5bd09c6c`> - Quick layout for image upload modal <https://github.com/Disfactory/frontend/commit/b61331fae6ba71a657186f09e9d661b4ba4d51fa|`b61331fa`> - Adjust app modal backdrop opacity <https://github.com/Disfactory/frontend/commit/58200996e8a394f8c095b011db6507fab3529dd1|`58200996`> - Polish styles <https://github.com/Disfactory/frontend/commit/d336addd5a85c9b980a96f395ebd4b724628011e|`d336addd`> - Install axios <https://github.com/Disfactory/frontend/commit/217e0ab02487eb58cb2ebea8b6e46657de3b8ae2|`217e0ab0`> - Impl image upload <https://github.com/Disfactory/frontend/commit/c6ab376581a64ec90ef7eae31c2d5f2fc329ec35|`c6ab3765`> - Satify our little unhapp…
ael
20:48:00
@sonia8715,@swind 可以幫忙接 Darren 的部分和整起來
github
20:50:50
*手機版* ☑︎ 導入 material design library ☐ 三步驟上傳工廠圖片 <https://github.com/Disfactory/Disfactory/issues/334|Disfactory/Disfactory#334> <https://github.com/Yukaii|@Yukaii> ☐ 顯示設定 bottom sheets (手機版) <https://github.com/Yukaii|@Yukaii> ☐ 新的地圖控制元件樣式及位置 *電腦版* ☐ 顯示設定 popover (電腦版) ☐ 桌面版 navigation bar ☐ Quick action buttons (搜尋欄下面那一排)
deeper
21:26:27
@jennie97111 我們今天的初步成果見網址 希望下下週三前確定research plan 9月中約一次現地調查~~
https://docs.google.com/spreadsheets/u/1/d/1Ae2oy7hn9_aNoa0-YnhbMp0nhPUpcfq3W-cy2prmuVk/edit#gid=0
https://docs.google.com/spreadsheets/u/1/d/1Ae2oy7hn9_aNoa0-YnhbMp0nhPUpcfq3W-cy2prmuVk/edit#gid=0
github
21:31:26
在 /swagger 與 /redoc 加入 swagger 與 redoc 的文件頁面 swagger <https://user-images.githubusercontent.com/126123/89418431-9f717080-d762-11ea-8dbd-12a2d09f0a27.png|image> redoc <https://user-images.githubusercontent.com/126123/89418633-e7909300-d762-11ea-868c-f07a925db6a0.png|image> 不過目前我沒有加入權限限制,是否需要加入可以登入後台的人才能用呢?![]()
yukai
21:48:32
清了一下 curl
```curl -k 'https://map.coa.gov.tw/portal/sharing/servers/bdfbd5edc5c243ff929d61853997d58f/rest/services/Farmland_survey/L21_%E6%96%B0%E5%A2%9E%E5%B7%A5%E5%BB%A0106Q4/MapServer/0/query?objectIds=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38&outFields=*&outSR=4326&returnGeometry=true&f=json' -H 'Content-Type: application/x-www-form-urlencoded'```
```curl -k 'https://map.coa.gov.tw/portal/sharing/servers/bdfbd5edc5c243ff929d61853997d58f/rest/services/Farmland_survey/L21_%E6%96%B0%E5%A2%9E%E5%B7%A5%E5%BB%A0106Q4/MapServer/0/query?objectIds=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38&outFields=*&outSR=4326&returnGeometry=true&f=json' -H 'Content-Type: application/x-www-form-urlencoded'```
ael
21:49:29
之前 ronny 爬蟲的 code
https://github.com/ronnywang/disfactory-crawler
https://github.com/ronnywang/disfactory-crawler
github
21:55:04
*Is your feature request related to a problem? Please describe.* 農委會八月份釋出一份經濟部調查的 2016.5.20 之後新增的疑似農地違章工廠圖資 <https://news-ltn-com-tw.cdn.ampproject.org/c/s/news.ltn.com.tw/amp/news/life/breakingnews/3248884|https://news-ltn-com-tw.cdn.ampproject.org/c/s/news.ltn.com.tw/amp/news/life/breakingnews/3248884> 希望能把這批資料匯入我們的 DB,並且之後在前端可以顯現出這批資料,也會有不同批政府資料的標示。 農委會圖台連結: <http://map.coa.gov.tw/farmland/|http://map.coa.gov.tw/farmland/> *Describe the solution you'd like* 發現了有 API,但剛剛又發現鎖起來了 *Describe alternatives you've considered* kiang 用 API 爬的 <https://github.com/kiang/map-coa-1|https://github.com/kiang/map-coa-1> 轉成 geojson 格式 <https://github.com/kiang/map-coa-1/blob/master/factories.json|https://github.com/kiang/map-coa-1/blob/master/factories.json> Ronny 之前幫我們爬的程式 <https://github.com/ronnywang/disfactory-crawler|https://github.com/ronnywang/disfactory-crawler> *Additional context* `source` : `G` `created_at`: 2020.8.3 //日期是農委會釋出日期,時間自己指定
kiang
21:55:06
恩,真的欄位都消失了(嘆)
github
22:04:22
*Is your feature request related to a problem? Please describe.* 後端變多,需要有 staging CD for stability *Describe the solution you'd like* A clear and concise description of what you want to happen. *Describe alternatives you've considered* A clear and concise description of any alternative solutions or features you've considered. *Additional context* Add any other context or screenshots about the feature request here.
ael
22:09:42
@jsaon92 之前有個 issue 想要寫測資腳本 for local DB
https://github.com/Disfactory/Disfactory/issues/365
https://github.com/Disfactory/Disfactory/issues/365
*Is your feature request related to a problem? Please describe.* local db 裡面沒有足夠的資料,django admin 顯示不出來。 *Describe the solution you'd like* 把單元測試用的測資寫成小腳本,跑 docker-compose 的時候跑起來灌進去 local db。 *Describe alternatives you've considered* 我想放一些小小兵的圖片,這樣跑得時候心情比較好。 *Additional context* 2020/07/22 小聚
RAYEN
22:23:06
@cstsai 我大概忙到8/24,之後時間比較彈性,可以再約現場調查,我會在田調那之前準備好需要的東西
ael
22:25:06
## 前端和後端專案分 repo
前端現在自己開了一個 repo,避免一起 deploy 上 production
為了方便非技術人員開 issue,issue 仍然統一開在 Disfactory/Disfactory,前後端 repo 再 refer 過去
## 下次待討論事項
- [ ] 公文回覆追蹤 table 欄位確定 @cstsai @cph @yellowsoar @swind @tobyliu @aelcenganda @sandrahtlin @jnleyan
- [ ] cross-table fields
- [ ] document tag
- [ ] Digital Ocean Team
- [ ] 跟小白討論工廠編號 @f46284628
前端現在自己開了一個 repo,避免一起 deploy 上 production
為了方便非技術人員開 issue,issue 仍然統一開在 Disfactory/Disfactory,前後端 repo 再 refer 過去
## 下次待討論事項
- [ ] 公文回覆追蹤 table 欄位確定 @cstsai @cph @yellowsoar @swind @tobyliu @aelcenganda @sandrahtlin @jnleyan
- [ ] cross-table fields
- [ ] document tag
- [ ] Digital Ocean Team
- [ ] 跟小白討論工廠編號 @f46284628
swind
22:29:38
@cph 關於 style 的部份,那我用 yapf 然後增加一個 `.style.yapf` 檔案
基於 google 預設的 style 對所有 python 檔案做一次 format。
然後有客製化的部份只有 intend_widht=4 與 column_widht=100 這樣
基於 google 預設的 style 對所有 python 檔案做一次 format。
然後有客製化的部份只有 intend_widht=4 與 column_widht=100 這樣
讚,OK
swind
22:30:19
這個改動我發一個 pull request,然後加入 README 說明喔 ~
swind
22:30:57
你覺的這樣會不會改動太大?
kiang
22:43:07
Replied to a thread: 2020-08-04 18:32:24
雖然覺得會得到罐頭回應,還是先送看看吧 - https://data.gov.tw/node/128900
2020-08-06
github
03:59:24
在 /swagger 與 /redoc 加入 swagger 與 redoc 的文件頁面 swagger <https://user-images.githubusercontent.com/126123/89418431-9f717080-d762-11ea-8dbd-12a2d09f0a27.png|image> redoc <https://user-images.githubusercontent.com/126123/89418633-e7909300-d762-11ea-868c-f07a925db6a0.png|image> 不過目前我沒有加入權限限制,是否需要加入可以登入後台的人才能用呢? P.S. formatter 有設定最多 100 字元了,可是有些還是因為太長改到了‧ 所以就還是上傳上來了 .... 不過應該比之前 80 字元還要少很多修改了![]()
ael
10:45:19
@cstsai @xinrooforwork
https://medium.com/@hizai/the-guide-to-design-chapter-1-why-design-why-now-574791742c9f
https://medium.com/@hizai/the-guide-to-design-chapter-1-why-design-why-now-574791742c9f
- 1
github
12:51:46
*<https://github.com/Disfactory/Disfactory/compare/98b11854b6a9...da5b3456e0f3|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/5d62f1785cd83a7c63a126b4a984e8f34bdeb967|`5d62f178`> - Add drf-swagger and swagger document for all api <https://github.com/Disfactory/Disfactory/commit/da5b3456e0f31a687c324c0a1db942245a585a35|`da5b3456`> - Merge pull request #374 from Disfactory/swagger_doc
github
12:53:13
*<https://github.com/Disfactory/Disfactory/compare/da5b3456e0f3...ba22d028e691|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/59db7529600d5d833c71c6f6ee19375204705562|`59db7529`> - Update backend README.md and makefile target 'run-db' <https://github.com/Disfactory/Disfactory/commit/ba22d028e691cc010a25faed87d620008069ac93|`ba22d028`> - Merge pull request #375 from Disfactory/update_backend_readme
X Lin
16:37:53
昨天有大致規劃出 Research plan 的進度~
放在google drive的設計組資料夾裡面
@cstsai @jnleyan @jennie97111 @sandrahtlin @aelcenganda
放在google drive的設計組資料夾裡面
@cstsai @jnleyan @jennie97111 @sandrahtlin @aelcenganda
reurl.cc
Access Google Drive with a free Google account (for personal use) or G Suite account (for business u...
X Lin
2020-08-06 16:38:17
@jennie97111 我先丟在設計組資料夾最外層
X Lin
16:38:17
@jennie97111 我先丟在設計組資料夾最外層
2020-08-07
swind
12:00:01
我發現 `0015_init_town_sect_name_code.py` 這隻在進行 migrate 的時候,會一直去呼叫 easymap 來取得其他資訊
然後 easymap 就把我家 IP 封掉了的樣子 ....
我怎麼連都是 404
有人有遇過類似的狀況嗎 Orz
然後 easymap 就把我家 IP 封掉了的樣子 ....
我怎麼連都是 404
有人有遇過類似的狀況嗎 Orz
@cph @yellowsoar
swind
2020-08-07 23:40:56
我看了一下應該就只是拿座標取一些地址資訊,之後來直接改 0015_init_town_sect_name_code.py 把那些資訊直接塞到 csv 裡面,不要再去 easymap 取了
yellowsoar
2020-08-08 20:52:28
`full-info.csv` 裡面的資料已經是完整的了,
yellowsoar
2020-08-08 21:49:49
full-info.csv 裡面的資料已經是完整的了,去問 easymap 是新回報的資料要取得地號和地段 landcode sectcode,所以應該沒辦法放到 full-info.csv 裡面 (因爲還沒有回報),這部份是 celery queue 在處理的。
https://github.com/Disfactory/Disfactory/blob/master/backend/api/tasks.py#L49
https://github.com/Disfactory/Disfactory/blob/master/backend/api/tasks.py#L49
swind
2020-08-08 23:58:13
了解,我懂意思了。理論上 full-info.csv 的資料 before_release 應該都要是 True,
然後在跑 0015 migrate 的時候也不應該去 query easymap,因為他已經有足夠的資料了。
所以我在自己的電腦上重建 db 的時候,會跑去 query easymap 是很奇怪的事情 Orz
然後在跑 0015 migrate 的時候也不應該去 query easymap,因為他已經有足夠的資料了。
所以我在自己的電腦上重建 db 的時候,會跑去 query easymap 是很奇怪的事情 Orz
swind
2020-08-09 00:08:10
剛剛檢查我會跑去 query easymap 的資料庫,
五萬多筆資料的 before_release 都是 False,所以導致 0015 跑去 query easymap 五萬多次。
可是刪除 db volumn 然後用 migrate 手動一個一個跑 0001 ~ 0015 卻沒有問題 Orz
五萬多筆資料的 before_release 都是 False,所以導致 0015 跑去 query easymap 五萬多次。
可是刪除 db volumn 然後用 migrate 手動一個一個跑 0001 ~ 0015 卻沒有問題 Orz
swind
2020-08-09 00:11:14
@yellowsoar 感謝,如果我還會再遇到這種情況的話,我會再檢查看看是什麼情況導致的 Orz
yellowsoar
2020-08-09 20:27:00
db 是在 container 裡面還是 local service?
swind
2020-08-10 10:39:45
db 是在 container 裡面
swind
2020-08-10 10:42:58
我一開始是先使用 make run-dev 讓他去初始化整個環境, 在 windows 的 WSL2 裡面。
後來發現 web 起不來,所以改成只起來 db,然後在 local machine 上用 python manage.py migrate 初始化資料庫
結果就遇到上面的問題,這樣看起來應該是之前在啟動三個 container 裡面的時候,db 建立到一半失敗之類的 ? 所以才會導致 before_release 變成 false ( 雖然我覺得還是怪怪的,因為我看 code 預設值是 true 才對啊 Orz )
後來發現 web 起不來,所以改成只起來 db,然後在 local machine 上用 python manage.py migrate 初始化資料庫
結果就遇到上面的問題,這樣看起來應該是之前在啟動三個 container 裡面的時候,db 建立到一半失敗之類的 ? 所以才會導致 before_release 變成 false ( 雖然我覺得還是怪怪的,因為我看 code 預設值是 true 才對啊 Orz )
yellowsoar
2020-08-11 10:01:35
`docker volume rm` in wsl ,如果
swind
2020-08-11 17:17:23
嗯嗯,我後來就是把 volume 砍掉,重來一次 migrate 發現也做不出來一樣的情況。所以才想說應該我之前 db 可能在 migrate 到一半出了什麼問題導致資料不正確
ael
22:24:58
@cph @yellowsoar
swind
23:40:56
我看了一下應該就只是拿座標取一些地址資訊,之後來直接改 0015_init_town_sect_name_code.py 把那些資訊直接塞到 csv 裡面,不要再去 easymap 取了
2020-08-08
github
07:56:49
Bumps <https://github.com/PrismJS/prism|prismjs> from 1.19.0 to 1.21.0. Release notes _Sourced from <https://github.com/PrismJS/prism/releases|prismjs's releases>._ > *v1.21.0* > > Release 1.21.0 > > *v1.20.0* > > Release 1.20.0 Changelog _Sourced from <https://github.com/PrismJS/prism/blob/master/CHANGELOG.md|prismjs's changelog>._ > *1.21.0 (2020-08-06)* > *New components* > > • *.ignore* & *.gitignore* & *.hgignore* & *.npmignore* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2481|#2481>) <https://github.com/PrismJS/prism/commit/3fcce6fe|`3fcce6fe`> > • *Agda* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2430|#2430>) <https://github.com/PrismJS/prism/commit/3a127c7d|`3a127c7d`> > • *AL* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2300|#2300>) <https://github.com/PrismJS/prism/commit/de21eb64|`de21eb64`> > • *Cypher* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2459|#2459>) <https://github.com/PrismJS/prism/commit/398e2943|`398e2943`> > • *Dhall* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2473|#2473>) <https://github.com/PrismJS/prism/commit/649e51e5|`649e51e5`> > • *EditorConfig* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2471|#2471>) <https://github.com/PrismJS/prism/commit/ed8fff91|`ed8fff91`> > • *HLSL* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2318|#2318>) <https://github.com/PrismJS/prism/commit/87a5c7ae|`87a5c7ae`> > • *JS stack trace* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2418|#2418>) <https://github.com/PrismJS/prism/commit/ae0327b3|`ae0327b3`> > • *PeopleCode* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2302|#2302>) <https://github.com/PrismJS/prism/commit/bd4d8165|`bd4d8165`> > • *PureBasic* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2369|#2369>) <https://github.com/PrismJS/prism/commit/d0c1c70d|`d0c1c70d`> > • *Racket* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2315|#2315>) <https://github.com/PrismJS/prism/commit/053016ef|`053016ef`> > • *Smali* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2419|#2419>) <https://github.com/PrismJS/prism/commit/22eb5cad|`22eb5cad`> > • *Structured Text (IEC 61131-3)* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2311|#2311>) <https://github.com/PrismJS/prism/commit/8704cdfb|`8704cdfb`> > • *UnrealScript* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2305|#2305>) <https://github.com/PrismJS/prism/commit/1093ceb3|`1093ceb3`> > • *WarpScript* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2307|#2307>) <https://github.com/PrismJS/prism/commit/cde5b0fa|`cde5b0fa`> > • *XML doc (.net)* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2340|#2340>) <https://github.com/PrismJS/prism/commit/caec5e30|`caec5e30`> > • *YANG* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2467|#2467>) <https://github.com/PrismJS/prism/commit/ed1df1e1|`ed1df1e1`> > > *Updated components* > > • Markup & JSON: Added new aliases (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2390|#2390>) <https://github.com/PrismJS/prism/commit/9782cfe6|`9782cfe6`> > • Fixed several cases of exponential backtracking (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2268|#2268>) <https://github.com/PrismJS/prism/commit/7a554b5f|`7a554b5f`> > • *APL* > • Added `⍥` (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2409|#2409>) <https://github.com/PrismJS/prism/commit/0255cb6a|`0255cb6a`> > • *AutoHotkey* > • Added missing `format` built-in (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2450|#2450>) <https://github.com/PrismJS/prism/commit/7c66cfc4|`7c66cfc4`> > • Improved comments and other improvements (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2412|#2412>) <https://github.com/PrismJS/prism/commit/ddf3cc62|`ddf3cc62`> > • Added missing definitions (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2400|#2400>) <https://github.com/PrismJS/prism/commit/4fe03676|`4fe03676`> > • *Bash* > • Added `composer` command (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2298|#2298>) <https://github.com/PrismJS/prism/commit/044dd271|`044dd271`> > • *Batch* > • Fix escaped double quote (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2485|#2485>) <https://github.com/PrismJS/prism/commit/f0f8210c|`f0f8210c`> > • *C* > • Improved macros and expressions (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2440|#2440>) <https://github.com/PrismJS/prism/commit/8a72fa6f|`8a72fa6f`> > • Improved macros (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2320|#2320>) <https://github.com/PrismJS/prism/commit/fdcf7ed2|`fdcf7ed2`> > • *C#* > • Improved pattern matching (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2411|#2411>) <https://github.com/PrismJS/prism/commit/7f341fc1|`7f341fc1`> > • Fixed adjacent string interpolations (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2402|#2402>) <https://github.com/PrismJS/prism/commit/2a2e79ed|`2a2e79ed`> > • *C++* > • Added support for default comparison operator (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2426|#2426>) <https://github.com/PrismJS/prism/commit/8e9d161c|`8e9d161c`> > • Improved class name detection (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2348|#2348>) <https://github.com/PrismJS/prism/commit/e3fe9040|`e3fe9040`> > • Fixed `enum class` class names (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2342|#2342>) <https://github.com/PrismJS/prism/commit/30b4e254|`30b4e254`> > • *Content-Security-Policy* > • Fixed directives (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2461|#2461>) <https://github.com/PrismJS/prism/commit/537a9e80|`537a9e80`> > • *CSS* > • Improved url and added keywords (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2432|#2432>) <https://github.com/PrismJS/prism/commit/964de5a1|`964de5a1`> Commits • <https://github.com/PrismJS/prism/commit/187c8a607ee70c7914682870156faa31ed01f001|`187c8a6`> 1.21.0 • <https://github.com/PrismJS/prism/commit/bf4f323391d546d4b2e1a388f05c512a27491e9c|`bf4f323`> Changelog for v1.21.0 (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2507|#2507>) • <https://github.com/PrismJS/prism/commit/8bba4880202ef6bd7a1e379fe9aebe69dd75f7be|`8bba488`> Previewers: Fixed XSS (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2506|#2506>) • <https://github.com/PrismJS/prism/commit/158caf52343e59a66c2351ff1d83648efe871e33|`158caf5`> JSON: Greedy comments (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2479|#2479>) • <https://github.com/PrismJS/prism/commit/f0f8210c1a9745c064d49bfb985544c654986b24|`f0f8210`> Batch: Fix escaped double quote (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2485|#2485>) • <https://github.com/PrismJS/prism/commit/649e51e56250a81dc0b0c4f5b3a4ea23e1c21834|`649e51e`> Added support for Dhall (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2473|#2473>) • <https://github.com/PrismJS/prism/commit/453079bf96746e0c44f90cb7cd90fcae9a5f94cc|`453079b`> Line Numbers: Fixed class name on website • <https://github.com/PrismJS/prism/commit/a0efa40bde420ac3923947be611ebe6b3f077dce|`a0efa40`> Fixed Treeview page (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2484|#2484>) • <https://github.com/PrismJS/prism/commit/78161d607fe7d493831ff19759aac951330134a1|`78161d6`> VB: Added VBA alias (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2469|#2469>) • <https://github.com/PrismJS/prism/commit/ed1df1e1208401a8b84330ecc39…
github
08:04:43
Bumps <https://github.com/PrismJS/prism|prismjs> from 1.19.0 to 1.21.0. Release notes _Sourced from <https://github.com/PrismJS/prism/releases|prismjs's releases>._ > *v1.21.0* > > Release 1.21.0 > > *v1.20.0* > > Release 1.20.0 Changelog _Sourced from <https://github.com/PrismJS/prism/blob/master/CHANGELOG.md|prismjs's changelog>._ > *1.21.0 (2020-08-06)* > *New components* > > • *.ignore* & *.gitignore* & *.hgignore* & *.npmignore* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2481|#2481>) <https://github.com/PrismJS/prism/commit/3fcce6fe|`3fcce6fe`> > • *Agda* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2430|#2430>) <https://github.com/PrismJS/prism/commit/3a127c7d|`3a127c7d`> > • *AL* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2300|#2300>) <https://github.com/PrismJS/prism/commit/de21eb64|`de21eb64`> > • *Cypher* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2459|#2459>) <https://github.com/PrismJS/prism/commit/398e2943|`398e2943`> > • *Dhall* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2473|#2473>) <https://github.com/PrismJS/prism/commit/649e51e5|`649e51e5`> > • *EditorConfig* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2471|#2471>) <https://github.com/PrismJS/prism/commit/ed8fff91|`ed8fff91`> > • *HLSL* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2318|#2318>) <https://github.com/PrismJS/prism/commit/87a5c7ae|`87a5c7ae`> > • *JS stack trace* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2418|#2418>) <https://github.com/PrismJS/prism/commit/ae0327b3|`ae0327b3`> > • *PeopleCode* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2302|#2302>) <https://github.com/PrismJS/prism/commit/bd4d8165|`bd4d8165`> > • *PureBasic* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2369|#2369>) <https://github.com/PrismJS/prism/commit/d0c1c70d|`d0c1c70d`> > • *Racket* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2315|#2315>) <https://github.com/PrismJS/prism/commit/053016ef|`053016ef`> > • *Smali* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2419|#2419>) <https://github.com/PrismJS/prism/commit/22eb5cad|`22eb5cad`> > • *Structured Text (IEC 61131-3)* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2311|#2311>) <https://github.com/PrismJS/prism/commit/8704cdfb|`8704cdfb`> > • *UnrealScript* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2305|#2305>) <https://github.com/PrismJS/prism/commit/1093ceb3|`1093ceb3`> > • *WarpScript* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2307|#2307>) <https://github.com/PrismJS/prism/commit/cde5b0fa|`cde5b0fa`> > • *XML doc (.net)* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2340|#2340>) <https://github.com/PrismJS/prism/commit/caec5e30|`caec5e30`> > • *YANG* (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2467|#2467>) <https://github.com/PrismJS/prism/commit/ed1df1e1|`ed1df1e1`> > > *Updated components* > > • Markup & JSON: Added new aliases (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2390|#2390>) <https://github.com/PrismJS/prism/commit/9782cfe6|`9782cfe6`> > • Fixed several cases of exponential backtracking (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2268|#2268>) <https://github.com/PrismJS/prism/commit/7a554b5f|`7a554b5f`> > • *APL* > • Added `⍥` (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2409|#2409>) <https://github.com/PrismJS/prism/commit/0255cb6a|`0255cb6a`> > • *AutoHotkey* > • Added missing `format` built-in (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2450|#2450>) <https://github.com/PrismJS/prism/commit/7c66cfc4|`7c66cfc4`> > • Improved comments and other improvements (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2412|#2412>) <https://github.com/PrismJS/prism/commit/ddf3cc62|`ddf3cc62`> > • Added missing definitions (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2400|#2400>) <https://github.com/PrismJS/prism/commit/4fe03676|`4fe03676`> > • *Bash* > • Added `composer` command (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2298|#2298>) <https://github.com/PrismJS/prism/commit/044dd271|`044dd271`> > • *Batch* > • Fix escaped double quote (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2485|#2485>) <https://github.com/PrismJS/prism/commit/f0f8210c|`f0f8210c`> > • *C* > • Improved macros and expressions (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2440|#2440>) <https://github.com/PrismJS/prism/commit/8a72fa6f|`8a72fa6f`> > • Improved macros (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2320|#2320>) <https://github.com/PrismJS/prism/commit/fdcf7ed2|`fdcf7ed2`> > • *C#* > • Improved pattern matching (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2411|#2411>) <https://github.com/PrismJS/prism/commit/7f341fc1|`7f341fc1`> > • Fixed adjacent string interpolations (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2402|#2402>) <https://github.com/PrismJS/prism/commit/2a2e79ed|`2a2e79ed`> > • *C++* > • Added support for default comparison operator (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2426|#2426>) <https://github.com/PrismJS/prism/commit/8e9d161c|`8e9d161c`> > • Improved class name detection (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2348|#2348>) <https://github.com/PrismJS/prism/commit/e3fe9040|`e3fe9040`> > • Fixed `enum class` class names (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2342|#2342>) <https://github.com/PrismJS/prism/commit/30b4e254|`30b4e254`> > • *Content-Security-Policy* > • Fixed directives (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2461|#2461>) <https://github.com/PrismJS/prism/commit/537a9e80|`537a9e80`> > • *CSS* > • Improved url and added keywords (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2432|#2432>) <https://github.com/PrismJS/prism/commit/964de5a1|`964de5a1`> Commits • <https://github.com/PrismJS/prism/commit/187c8a607ee70c7914682870156faa31ed01f001|`187c8a6`> 1.21.0 • <https://github.com/PrismJS/prism/commit/bf4f323391d546d4b2e1a388f05c512a27491e9c|`bf4f323`> Changelog for v1.21.0 (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2507|#2507>) • <https://github.com/PrismJS/prism/commit/8bba4880202ef6bd7a1e379fe9aebe69dd75f7be|`8bba488`> Previewers: Fixed XSS (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2506|#2506>) • <https://github.com/PrismJS/prism/commit/158caf52343e59a66c2351ff1d83648efe871e33|`158caf5`> JSON: Greedy comments (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2479|#2479>) • <https://github.com/PrismJS/prism/commit/f0f8210c1a9745c064d49bfb985544c654986b24|`f0f8210`> Batch: Fix escaped double quote (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2485|#2485>) • <https://github.com/PrismJS/prism/commit/649e51e56250a81dc0b0c4f5b3a4ea23e1c21834|`649e51e`> Added support for Dhall (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2473|#2473>) • <https://github.com/PrismJS/prism/commit/453079bf96746e0c44f90cb7cd90fcae9a5f94cc|`453079b`> Line Numbers: Fixed class name on website • <https://github.com/PrismJS/prism/commit/a0efa40bde420ac3923947be611ebe6b3f077dce|`a0efa40`> Fixed Treeview page (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2484|#2484>) • <https://github.com/PrismJS/prism/commit/78161d607fe7d493831ff19759aac951330134a1|`78161d6`> VB: Added VBA alias (<https://github-redirect.dependabot.com/PrismJS/prism/issues/2469|#2469>) • <https://github.com/PrismJS/prism/commit/ed1df1e1208401a8b84330ecc39…
yellowsoar
20:52:28
`full-info.csv` 裡面的資料已經是完整的了,
yellowsoar
21:49:49
full-info.csv 裡面的資料已經是完整的了,去問 easymap 是新回報的資料要取得地號和地段 landcode sectcode,所以應該沒辦法放到 full-info.csv 裡面 (因爲還沒有回報),這部份是 celery queue 在處理的。
https://github.com/Disfactory/Disfactory/blob/master/backend/api/tasks.py#L49
https://github.com/Disfactory/Disfactory/blob/master/backend/api/tasks.py#L49
swind
23:58:13
了解,我懂意思了。理論上 full-info.csv 的資料 before_release 應該都要是 True,
然後在跑 0015 migrate 的時候也不應該去 query easymap,因為他已經有足夠的資料了。
所以我在自己的電腦上重建 db 的時候,會跑去 query easymap 是很奇怪的事情 Orz
然後在跑 0015 migrate 的時候也不應該去 query easymap,因為他已經有足夠的資料了。
所以我在自己的電腦上重建 db 的時候,會跑去 query easymap 是很奇怪的事情 Orz
2020-08-09
swind
00:08:10
剛剛檢查我會跑去 query easymap 的資料庫,
五萬多筆資料的 before_release 都是 False,所以導致 0015 跑去 query easymap 五萬多次。
可是刪除 db volumn 然後用 migrate 手動一個一個跑 0001 ~ 0015 卻沒有問題 Orz
五萬多筆資料的 before_release 都是 False,所以導致 0015 跑去 query easymap 五萬多次。
可是刪除 db volumn 然後用 migrate 手動一個一個跑 0001 ~ 0015 卻沒有問題 Orz
swind
00:11:14
@yellowsoar 感謝,如果我還會再遇到這種情況的話,我會再檢查看看是什麼情況導致的 Orz
yellowsoar
20:27:00
db 是在 container 裡面還是 local service?
2020-08-10
swind
10:39:45
db 是在 container 裡面
swind
10:42:58
我一開始是先使用 make run-dev 讓他去初始化整個環境, 在 windows 的 WSL2 裡面。
後來發現 web 起不來,所以改成只起來 db,然後在 local machine 上用 python manage.py migrate 初始化資料庫
結果就遇到上面的問題,這樣看起來應該是之前在啟動三個 container 裡面的時候,db 建立到一半失敗之類的 ? 所以才會導致 before_release 變成 false ( 雖然我覺得還是怪怪的,因為我看 code 預設值是 true 才對啊 Orz )
後來發現 web 起不來,所以改成只起來 db,然後在 local machine 上用 python manage.py migrate 初始化資料庫
結果就遇到上面的問題,這樣看起來應該是之前在啟動三個 container 裡面的時候,db 建立到一半失敗之類的 ? 所以才會導致 before_release 變成 false ( 雖然我覺得還是怪怪的,因為我看 code 預設值是 true 才對啊 Orz )
ael
18:11:20
提醒一下大家,這週三我們預計要定出公文追蹤 table 的 fields 和 technical spec 噢
3
1
@cph @yellowsoar @cstsai @sandrahtlin @tobyliu @swind
@f46284628 @sonia8715 今天要來嗎
tobyliu
2020-08-12 12:13:27
我過敏好嚴重,可能要遠端~_~
X Lin
2020-08-12 13:16:26
我今天沒辦法到,晚點看是否線上出席🙏🏻
LittleWhiteYA
2020-08-12 13:39:04
會ㄛ
tobyliu
2020-08-12 17:18:07
嗚嗚過敏到瀕死,晚一點看能不能上線
@aelcenganda 1-10分,你多需要我今天去?
啊,不然我就是去,然後視情況我可能就在那邊做自己工作的加班喔
我覺得 4.5 左右,要看工程師最後來了幾位
deeper
2020-08-12 18:13:30
後面空間很大 歡迎使用
2020-08-11
ael
08:53:47
Hahow - 好學校
從擁有億級使用者的跨國企業,到成長強勁的新創團隊,都必須透過使用者資料分析,改善產品與商業決策的品質。因此,我們總結過去協助跨國企業進行數據分析的經驗,結合「假說思考」、「產品策略」與「數據分析技巧」,幫助你釐清與定義產品問題,辨認有策略意義的相關數據,並透過 A/B 測試、同類群組比較、漏斗分析、因子分析、個人化等不同類型的方法,提升產品決策品質並持續優化使用者體驗。![]()
@cstsai @oriyaroriyar
ael
08:54:12
@cstsai @oriyaroriyar
yellowsoar
10:01:35
`docker volume rm` in wsl ,如果
swind
17:17:23
嗯嗯,我後來就是把 volume 砍掉,重來一次 migrate 發現也做不出來一樣的情況。所以才想說應該我之前 db 可能在 migrate 到一半出了什麼問題導致資料不正確
github
17:57:33
<https://user-images.githubusercontent.com/126123/89883513-d0d2bc00-dbfa-11ea-9408-d1863d1edfe8.png|image> 延續 <https://github.com/darrenjhsu|@darrenjhsu> `export_doc branch` 的實做。 使用 python-docx 開啟在 `doc_resources` 內的 template, 之後將選中的 factory 的資訊,以及 image 下載放入 docx 檔案中(所以 export 所需要的時間,跟圖片多寡有很大的關係 ) 並且在 admin 中增加了針對 action 的測試 產生出來的文件使用 google doc 開啟的結果如下 <https://user-images.githubusercontent.com/126123/89884182-c2d16b00-dbfb-11ea-9de3-712476a3be9b.png|image>![]()
1
2020-08-12
ael
11:02:47
@cph @yellowsoar @cstsai @sandrahtlin @tobyliu @swind
ael
11:03:00
@f46284628 @sonia8715 今天要來嗎
tobyliu
12:13:27
我過敏好嚴重,可能要遠端~_~
X Lin
13:16:26
我今天沒辦法到,晚點看是否線上出席🙏🏻
LittleWhiteYA
13:39:04
會ㄛ
tobyliu
17:18:07
嗚嗚過敏到瀕死,晚一點看能不能上線
IU
18:08:34
我今天有事不能去
關於 https://github.com/Disfactory/Disfactory/issues/372 這個 issue
敢䞵可以先用爬好的資料可以匯入 我在研究怎麽爬新的圖資
關於 https://github.com/Disfactory/Disfactory/issues/372 這個 issue
敢䞵可以先用爬好的資料可以匯入 我在研究怎麽爬新的圖資
*Is your feature request related to a problem? Please describe.* 農委會八月份釋出一份經濟部調查的 2016.5.20 之後新增的疑似農地違章工廠圖資 <https://news-ltn-com-tw.cdn.ampproject.org/c/s/news.ltn.com.tw/amp/news/life/breakingnews/3248884|https://news-ltn-com-tw.cdn.ampproject.org/c/s/news.ltn.com.tw/amp/news/life/breakingnews/3248884> 希望能把這批資料匯入我們的 DB,並且之後在前端可以顯現出這批資料,也會有不同批政府資料的標示。 農委會圖台連結: <http://map.coa.gov.tw/farmland/|http://map.coa.gov.tw/farmland/> *Describe the solution you'd like* 發現了有 API,但剛剛又發現鎖起來了 *Describe alternatives you've considered* kiang 用 API 爬的 <https://github.com/kiang/map-coa-1|https://github.com/kiang/map-coa-1> 轉成 geojson 格式 <https://github.com/kiang/map-coa-1/blob/master/factories.json|https://github.com/kiang/map-coa-1/blob/master/factories.json> Ronny 之前幫我們爬的程式 <https://github.com/ronnywang/disfactory-crawler|https://github.com/ronnywang/disfactory-crawler> *Additional context* `source` : `G` `created_at`: 2020.8.3 //日期是農委會釋出日期,時間自己指定
SL
18:08:40
@aelcenganda 1-10分,你多需要我今天去?
SL
18:09:39
啊,不然我就是去,然後視情況我可能就在那邊做自己工作的加班喔
ael
18:11:00
我覺得 4.5 左右,要看工程師最後來了幾位
deeper
18:13:30
後面空間很大 歡迎使用
deeper
18:34:40
今日小聚連結:https://meet.google.com/egx-zvjk-ouv
小聚紀錄:https://g0v.hackmd.io/@yukaii/Disfactory/%2FFuC84lL7QuueNiO464Lk1w
小聚紀錄:https://g0v.hackmd.io/@yukaii/Disfactory/%2FFuC84lL7QuueNiO464Lk1w
meet.google.com
Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
yellowsoar
23:41:59
@oriyaroriyar @cstsai @aelcenganda
在 gravator 設定好圖像之後就會被 Digital Ocean 自動抓到囉
https://en.gravatar.com/
cc @swind
在 gravator 設定好圖像之後就會被 Digital Ocean 自動抓到囉
https://en.gravatar.com/
cc @swind
2020-08-13
ael
00:00:17
感謝今天大家待好晚把公文追蹤好好討論完。
我把今天的討論結果就我記得的部分寫下來,歡迎大家補充
https://g0v.hackmd.io/@yukaii/Disfactory/%2FFuC84lL7QuueNiO464Lk1w
簡單來說的話,分工是這樣:
• @f46284628 @jsaon92 會協助將 Document table 建置起來,然後再處理紀錄 display_status(給使用者看的) 的 tag 要記 timestamp 這件事。
• @swind 會幫忙 1) 讓 @cstsai 可以用他的電腦開下載的 docx, 2) 將 @yoyo930021 之前做的座標轉立委聯絡方式的 API 接上公文列印, 3) 研究 Document single page 如何做。
• @aelcenganda @cstsai 會盡量在週五以前把這些轉到 GitHub 上開 issue
我把今天的討論結果就我記得的部分寫下來,歡迎大家補充
https://g0v.hackmd.io/@yukaii/Disfactory/%2FFuC84lL7QuueNiO464Lk1w
簡單來說的話,分工是這樣:
• @f46284628 @jsaon92 會協助將 Document table 建置起來,然後再處理紀錄 display_status(給使用者看的) 的 tag 要記 timestamp 這件事。
• @swind 會幫忙 1) 讓 @cstsai 可以用他的電腦開下載的 docx, 2) 將 @yoyo930021 之前做的座標轉立委聯絡方式的 API 接上公文列印, 3) 研究 Document single page 如何做。
• @aelcenganda @cstsai 會盡量在週五以前把這些轉到 GitHub 上開 issue
Sonia
20:15:42
好~ 謝謝 那我的部分我再趕快做完😰
2020-08-14
ael
00:28:25
今天小海跟 deeper 對了一下 Disfactory 可能的 timeline。比較近的是 9 月可能會去全國的社大做推廣,還有在年底以前找時間跟大家聊後續維運的想像。跟 feature 有關的部分應該會在下週前開成 milestone 讓大家方便理解。(白版圖可能也不是很清楚)最遠的那個時間點是 2022.3.20 違章工廠沒辦法再申請合法納管的期限。
- 👍3
ael
00:44:10
@sonia8715 做之前記得跟 @swind 確認一下彼此的分工範圍唷
ael
00:44:55
然後產生舉報公文號的部分,在這週三的小聚我們決定要做成 Django 後台的 action
swind
01:42:34
@sonia8715 你好你好,我這邊已經把 darren 做的部份 cherry pick 並且整理完了,目前在 export_doc_continue 這個 branch 上面。
雖然有發了 Pull Request,但是經過星期三的討論,會等 Document 這個 model 與他的 admin view 實做完之後。
再把他放進去 document admin view 裡面(可能是一個按鈕或者是 action 之類的,然後按下去就會把現在的 Document 的資料轉成 docx 這樣的感覺 )。
目前是依照 Darren 之前的實做,放在 factory 的 action 裡面。
然後目前還有要解決的事情還有 deeper 的 mac world 無法開啟,所以我現在還在處理中 ~
雖然有發了 Pull Request,但是經過星期三的討論,會等 Document 這個 model 與他的 admin view 實做完之後。
再把他放進去 document admin view 裡面(可能是一個按鈕或者是 action 之類的,然後按下去就會把現在的 Document 的資料轉成 docx 這樣的感覺 )。
目前是依照 Darren 之前的實做,放在 factory 的 action 裡面。
然後目前還有要解決的事情還有 deeper 的 mac world 無法開啟,所以我現在還在處理中 ~
github
09:46:36
*Describe the bug* the words from user: 我是ios系統12.4.7 使用桌面新增的捷徑進入回報違章工廠網頁 一開始進去網頁的時候會詢問是否同意定位 這時候會正常 但跳出來再回去或是隔一段時間再回去定位就不會動了 關掉網頁再重進也是一樣會維持在原位不動 需要再過一段時間進入網頁才會重新詢問是否同意定位 位置才會正確 另外有時候是沒有目前所在地的小藍點 但移動的時候地圖會跟著動 <https://user-images.githubusercontent.com/60970217/90203104-5da39280-de12-11ea-9f22-06af896a91ae.png|截圖 2020-08-14 上午9 21 22> *Expected behavior* relocate function could work whenever the user enter the webpage *Desktop (please complete the following information):* • Device: Unknown • OS: iOS 12.4.7 • browser: safari (through desktop shortcut![]()
@yukai @yoyo930021
ael
15:00:15
@yukai @yoyo930021
2020-08-18
yellowsoar
13:46:17
@cph @tungen0972721905 @swind
`pipenv install --system` 修好了…
https://github.com/pypa/pipenv/releases/tag/v2020.8.13
https://github.com/pypa/pipenv/issues/4315
`pipenv install --system` 修好了…
https://github.com/pypa/pipenv/releases/tag/v2020.8.13
https://github.com/pypa/pipenv/issues/4315
- 👍3
swind
2020-08-18 18:06:39
真的是他的 bug orz
swind
18:06:39
真的是他的 bug orz
2020-08-19
ael
07:52:22
我今天重感冒,晚上不會到現場,只能線上
- 🤔1
- 😢2
tobyliu
2020-08-19 11:57:11
蛤~那我要不要也獻上
X Lin
2020-08-19 13:06:55
我八月結束前大概都沒辦法參與了😭 九月見
LittleWhiteYA
2020-08-19 14:04:35
我晚上會晚點 應該會線上
@tobyliu 不行啦,你還是要來實體給大家見一下呀,你那麼可愛~~~
tobyliu
2020-08-19 15:59:56
我下週再去~
Oriyar
2020-08-19 16:38:49
下週我跟toby一起去(誤)~~
Aaron
2020-08-19 16:41:35
我這周要回家找奶奶xd
Sonia
09:23:13
@swind 我可以這禮拜找個時間線上跟你 sync 一下嗎?
tobyliu
11:57:11
蛤~那我要不要也獻上
X Lin
13:06:55
我八月結束前大概都沒辦法參與了😭 九月見
LittleWhiteYA
14:04:35
我晚上會晚點 應該會線上
ael
15:55:12
@tobyliu 不行啦,你還是要來實體給大家見一下呀,你那麼可愛~~~
tobyliu
15:59:56
我下週再去~
Oriyar
16:38:49
下週我跟toby一起去(誤)~~
Aaron
16:41:35
我這周要回家找奶奶xd
deeper
17:55:07
484很多人要線上啊 要不今天就線上小聚?我可以離開辦公室回我溫暖的家XD
以下如果有三個人以上要來地公,我們就維持有現場~
@yoyo930021 @yellowsoar @cph @yukai @jsaon92
以下如果有三個人以上要來地公,我們就維持有現場~
@yoyo930021 @yellowsoar @cph @yukai @jsaon92
- 😆2
yukai
2020-08-19 18:22:17
可遠端 +1
deeper
2020-08-19 18:23:26
我等到18:40~ 剩下再有一個人說可線上 我們就確定線上見~~~
原來是線上 OAO
我是可以
deeper
2020-08-19 18:31:50
還是IU你想來~~~~
deeper
2020-08-19 18:31:58
想我了嗎~~~
deeper
2020-08-19 18:50:33
欸欸那就 確定線上囉!
@yellowsoar @yukai @cph
@yellowsoar @yukai @cph
deeper
2020-08-19 18:58:46
@swind
好
yellowsoar
2020-08-19 19:27:57
走到一半⋯⋯我去找浪浪好了⋯⋯
deeper
2020-08-19 19:28:08
🧎♂️
deeper
2020-08-19 19:37:50
@yellowsoar 我太晚講 欠你一罐啤酒嗚嗚嗚
swind
2020-08-19 20:11:02
我剛下課 XD
swind
2020-08-19 20:11:23
那我去找有網路的地方
LittleWhiteYA
2020-08-19 21:49:41
還在嗎?
剛到家
剛到家
deeper
2020-08-19 21:50:08
還在你心裡
LittleWhiteYA
2020-08-19 21:50:41
什麼鬼XD
deeper
2020-08-19 21:50:44
cph說再找你和jsaon吃飯兼對code
LittleWhiteYA
2020-08-19 21:51:26
喔喔好
jsaon92
17:55:56
晚上家裡有事,下週見
yukai
18:22:17
可遠端 +1
deeper
18:23:26
我等到18:40~ 剩下再有一個人說可線上 我們就確定線上見~~~
IU
18:31:15
原來是線上 OAO
IU
18:31:24
我是可以
deeper
18:31:50
還是IU你想來~~~~
deeper
18:31:58
想我了嗎~~~
deeper
18:58:46
@swind
cph
18:58:49
讚,OK
cph
19:01:39
好
github
19:09:34
*<https://github.com/Disfactory/Disfactory/compare/ba22d028e691...bddc74d5bca5|10 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/035c4e4234c58146bde56154f12a284dc4bdecc4|`035c4e42`> - Add GovAgency migration with initial data <https://github.com/Disfactory/Disfactory/commit/d996468ca059531b56f5ccb30d6a47dd3c989465|`d996468c`> - <feat.> 新增下載標籤選項 <https://github.com/Disfactory/Disfactory/commit/56b86a4845f8456f7cf79c33ab7532095609e4bd|`56b86a48`> - Added export to gov doc function <https://github.com/Disfactory/Disfactory/commit/4ea658ce60776e2ab40af264ae2014d0fac5f145|`4ea658ce`> - Add seal <https://github.com/Disfactory/Disfactory/commit/1d49a879fa767ba9ef31cfafa16af95d7e963a34|`1d49a879`> - Refactory export docx code and use docxcomposer to merge all report <https://github.com/Disfactory/Disfactory/commit/82c9738b08b2b5076a825a059ac148f5489cb47a|`82c9738b`> - Add admin actions test <https://github.com/Disfactory/Disfactory/commit/d9642e97b20c0c5ef05b249db17530375abacabd|`d9642e97`> - Remove the docx template and set the default font to the 標楷體 <https://github.com/Disfactory/Disfactory/commit/74b1aa1b2fdd663bd2e03940e82c8ec5c09f8f01|`74b1aa1b`> - Change all line spacing to 1.5 word size <https://github.com/Disfactory/Disfactory/commit/4e9498609e6109df99aef39364b6dbe940856ff1|`4e949860`> - Find taiwan legislator by location when generate docx file <https://github.com/Disfactory/Disfactory/commit/bddc74d5bca5cb12a1da76023048d8a506ffb773|`bddc74d5`> - Merge pull request #376 from Disfactory/export_doc_continue
yellowsoar
19:27:26
走到一半⋯⋯我去找浪浪好了⋯⋯
yellowsoar
19:27:57
走到一半⋯⋯我去找浪浪好了⋯⋯
deeper
19:28:08
🧎♂️
deeper
19:32:09
meet.google.com
Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
deeper
19:37:50
@yellowsoar 我太晚講 欠你一罐啤酒嗚嗚嗚
swind
20:11:02
我剛下課 XD
swind
20:11:23
那我去找有網路的地方
J
20:23:34
今天會討論設計的部分嗎?有的話我可以代表參加,不然我也下週見😆
deeper
2020-08-19 21:11:56
今天沒有~但下禮拜之前我跟 @xinrooforwork 跟你應該要來確定一下research plan?
X Lin
2020-08-19 21:14:22
我們schedule 可能要順延一下
我八月有兩個案子要教件(正職之外的😭😭
不太有時間🤦♀️🏻 我九月之後應該比較有空!
我八月有兩個案子要教件(正職之外的😭😭
不太有時間🤦♀️🏻 我九月之後應該比較有空!
RAYEN
2020-08-25 17:41:32
請問明天會討論設計的部分嗎?我剛結束前階段的工作
X Lin
2020-08-25 18:27:08
我還沒辦法 還沒忙完🙋♀️🏻
看看 @jnleyan @sandrahtlin 會不會參加~
看看 @jnleyan @sandrahtlin 會不會參加~
我明天晚上要打工 😥
我今天可以加入
github
20:56:23
*<https://github.com/Disfactory/Disfactory/compare/bddc74d5bca5...94c0e89ad1a4|3 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/458cf65d0f507ac1f8089c7b2ccf99b97bb78e68|`458cf65d`> - add field: factory_cet_reviewer <https://github.com/Disfactory/Disfactory/commit/d6ca2e342a64ef7a57ed2798aeb0fc2fcd2a4ff9|`d6ca2e34`> - revise detail_view for factories <https://github.com/Disfactory/Disfactory/commit/94c0e89ad1a4c113af93afc18423743427cc7625|`94c0e89a`> - Merge pull request #364 from Disfactory/feature/admin/alter-detail-view-1-2-1
github
21:02:54
*Describe the bug* small format flaws *Screenshots* <https://user-images.githubusercontent.com/60970217/90637774-feed7700-e25e-11ea-97d0-911498d721eb.png|截圖 2020-08-19 下午8 32 25> <https://user-images.githubusercontent.com/60970217/90638006-50960180-e25f-11ea-9026-631024b542e9.png|截圖 2020-08-19 下午9 01 33> <https://github.com/Swind|@Swind> need u!![]()
deeper
21:11:56
今天沒有~但下禮拜之前我跟 @xinrooforwork 跟你應該要來確定一下research plan?
X Lin
21:14:22
我們schedule 可能要順延一下
我八月有兩個案子要教件(正職之外的😭😭
不太有時間🤦♀️🏻 我九月之後應該比較有空!
我八月有兩個案子要教件(正職之外的😭😭
不太有時間🤦♀️🏻 我九月之後應該比較有空!
LittleWhiteYA
21:49:41
還在嗎?
剛到家
剛到家
deeper
21:50:08
還在你心裡
LittleWhiteYA
21:50:41
什麼鬼XD
deeper
21:50:44
cph說再找你和jsaon吃飯兼對code
LittleWhiteYA
21:51:26
喔喔好
2020-08-22
github
14:23:29
1. 更新 README 滿足 markdown lint 的要求, 2. 加上更新套件時,需要執行 `docker-compose -f docker-compose.dev.yml up -d --build --force-recreate` 的說明
github
14:34:34
*<https://github.com/Disfactory/Disfactory/compare/94c0e89ad1a4...34a677cd2523|3 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/cd7b0a9e4cd44632cf5ce57570cd089491973caa|`cd7b0a9e`> - fix markdown lint <https://github.com/Disfactory/Disfactory/commit/58c95172d8cc098f3f49dae51931326717ad8084|`58c95172`> - add instruction of updating packages <https://github.com/Disfactory/Disfactory/commit/34a677cd252360b9d0d63c65731cfb878980b1ee|`34a677cd`> - Merge pull request #379 from Disfactory/update-backend-readme
github
14:53:39
根據 <https://g0v.hackmd.io/@yukaii/Disfactory/%2FFuC84lL7QuueNiO464Lk1w?fbclid=IwAR0_bGPqJwuBKlcBGgAF8uicY7OFM4Ks8nD8Eg9UpyX8duGDH3je3Cqsqqs|第 44 次小聚> 先加入 `cet_staff`, `note`
github
14:59:27
*<https://github.com/Disfactory/Disfactory/compare/34a677cd2523...0c25297d343f|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/f7f8c4ad6ad3e190d065540d476e39b68414f09e|`f7f8c4ad`> - Document add cet_staff & note fields <https://github.com/Disfactory/Disfactory/commit/0c25297d343f5348f143852c5bf12ff0128279ee|`0c25297d`> - Merge pull request #380 from Disfactory/add-document-fields
github
23:32:31
*<https://github.com/Disfactory/Disfactory/compare/0c25297d343f...57246e2e0fa7|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/5b4f34c07ac385aebbd906d54eccb3d0fb17cc83|`5b4f34c0`> - feat(factory): add display number according factory.created_at <https://github.com/Disfactory/Disfactory/commit/57246e2e0fa7009c9c3b5f00f2285807ef3602d9|`57246e2e`> - Merge pull request #368 from Disfactory/add-display-number
2020-08-25
RAYEN
17:41:32
請問明天會討論設計的部分嗎?我剛結束前階段的工作
X Lin
18:27:08
我還沒辦法 還沒忙完🙋♀️🏻
看看 @jnleyan @sandrahtlin 會不會參加~
看看 @jnleyan @sandrahtlin 會不會參加~
SL
18:41:43
我明天晚上要打工 😥
2020-08-26
ael
15:12:38
那今天就有事做啦
tobyliu
15:37:30
小聚是在地公哪兒
Oriyar
2020-08-26 16:00:57
離善導寺站很近~
tobyliu
2020-08-26 18:10:10
是八點開始對吧?
@tobyliu八點正式開始,但是七點就可以來了唷,可以買晚餐先來聊天。我已經到了 XD
tobyliu
2020-08-26 19:13:09
好喔我要從板橋出發ㄌ
我譴責你
ael
15:39:37
Oriyar
16:00:57
離善導寺站很近~
github
17:09:54
暨其實不太好用的 gitpod 之後又一力作... :rolling_on_the_floor_laughing: <https://repl.it/site/blog/github|https://repl.it/site/blog/github>
我正在把前端的 issue 搬到 frontend repo,所以待會可能會大量出現 QQ
ael
17:12:40
我正在把前端的 issue 搬到 frontend repo,所以待會可能會大量出現 QQ
ael
17:42:44
我和 deeper 在整理 GitHub 上的 milestone 和 projects,今天可能要來關 issue。嗚嗚,spec 還沒開上去 QAQ
tobyliu
18:10:10
是八點開始對吧?
ael
18:15:14
@tobyliu八點正式開始,但是七點就可以來了唷,可以買晚餐先來聊天。我已經到了 XD
J
18:45:59
我今天可以加入
tobyliu
19:13:09
好喔我要從板橋出發ㄌ
ael
19:13:49
我譴責你
deeper
19:19:48
今日小聚連結:https://meet.google.com/egx-zvjk-ouv
今日小聚紀錄:https://g0v.hackmd.io/@yukaii/Disfactory/%2FK4GAkaSsQdGBMwWoCadv_g
今日小聚紀錄:https://g0v.hackmd.io/@yukaii/Disfactory/%2FK4GAkaSsQdGBMwWoCadv_g
meet.google.com
Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
今天有其他設計師/ 需要討論設計相關事項嗎?
deeper
2020-08-26 19:57:45
沒有~~~ 大概九月開始 @xinrooforwork @jennie97111 才會有空對吧?
deeper
2020-08-26 19:58:02
但,我們需要你幫我們去看 github上面的issue是否可以關掉!
@jnleyan 拜託你了🙏
有 design tag 的,Admin Page 相關的兩個我不是很清楚,這是山爪的後台部分嗎? UI: ...Upload Image 的話 UI 部分已經完成,在 Figma 找得到
github
19:35:54
*Describe the bug* the words from user: 我是ios系統12.4.7 使用桌面新增的捷徑進入回報違章工廠網頁 一開始進去網頁的時候會詢問是否同意定位 這時候會正常 但跳出來再回去或是隔一段時間再回去定位就不會動了 關掉網頁再重進也是一樣會維持在原位不動 需要再過一段時間進入網頁才會重新詢問是否同意定位 位置才會正確 另外有時候是沒有目前所在地的小藍點 但移動的時候地圖會跟著動 <https://user-images.githubusercontent.com/60970217/90203104-5da39280-de12-11ea-9f22-06af896a91ae.png|截圖 2020-08-14 上午9 21 22> *Expected behavior* relocate function could work whenever the user enter the webpage *Desktop (please complete the following information):* • Device: Unknown • OS: iOS 12.4.7 • browser: safari (through desktop shortcut![]()
J
19:56:47
今天有其他設計師/ 需要討論設計相關事項嗎?
deeper
19:57:45
沒有~~~ 大概九月開始 @xinrooforwork @jennie97111 才會有空對吧?
deeper
19:58:02
但,我們需要你幫我們去看 github上面的issue是否可以關掉!
ael
20:03:14
@jnleyan 拜託你了🙏
ael
20:04:35
@cph @f46284628 @jsaon92 今天會線上或實體嗎?如果今天不會來的話,再跟我說一下上週有沒有遇到什麼問題,以及接下來要先做什麼
LittleWhiteYA
2020-08-26 20:05:22
我要過去了~
乾乾乾我現在才發現我忘了去...
LittleWhiteYA
20:05:22
我要過去了~
ael
20:06:13
@cph 可能需要你幫忙先看一下 server management #349 , staging CD #373 , IMGUR #15。 Imgur 要在 9/18 前解決(半年要戳一次)
ael
20:07:20
@sonia8715 @swind 可能要看一下 Sonia merge 的 branch 的 conflict
swind
2020-08-26 20:14:22
好,我等等到的時候來看看
J
20:07:32
有 design tag 的,Admin Page 相關的兩個我不是很清楚,這是山爪的後台部分嗎? UI: ...Upload Image 的話 UI 部分已經完成,在 Figma 找得到
swind
20:14:22
好,我等等到的時候來看看
yellowsoar
20:23:21
@aelcenganda
https://staging.disfactory.tw/api/
https://staging.disfactory.tw/api/
tobyliu
2020-08-26 20:24:23
這個帳號密碼是多少
tobyliu
2020-08-26 20:29:06
@cph staging release 的時候貌似少下了 collectstatic,https://staging.disfactory.tw/static 找不到東西
tobyliu
20:24:23
這個帳號密碼是多少
tobyliu
20:29:06
@cph staging release 的時候貌似少下了 collectstatic,https://staging.disfactory.tw/static 找不到東西
github
20:38:02
*<https://github.com/Disfactory/frontend/compare/956cc00a9318...2f0742766d74|3 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/764845072c822c863d8131448ba1c271c054ff41|`76484507`> - Remove unit test <https://github.com/Disfactory/frontend/commit/050d33e33aa71294ba57837fee7d60539f1b5dbf|`050d33e3`> - Add github action ci <https://github.com/Disfactory/frontend/commit/2f0742766d74e4e98c59ace47f4240e01fa69daf|`2f074276`> - Merge pull request #5 from Disfactory/remove-test-and-add-ci
github
20:42:37
*<https://github.com/Disfactory/frontend/compare/2f0742766d74...58420a766ed0|2 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/46c140b287b5b1469698e3a270ead92fdf29d5a8|`46c140b2`> - Fix wrong property in ci.yml <https://github.com/Disfactory/frontend/commit/58420a766ed0f46ee3b1885e1bb55fb6fcd1187c|`58420a76`> - Merge pull request #6 from Disfactory/remove-test-and-add-ci
tobyliu
20:47:26
@cstsai Google Maps 還是有問題討論串
tobyliu
2020-08-26 20:47:57
他說這個 billing 沒有開,可能要綁信用卡但是不會收到錢
You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started
You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started
tobyliu
2020-08-26 20:48:32
現在也是可以用但是會有美麗ㄉ
tobyliu
20:47:57
他說這個 billing 沒有開,可能要綁信用卡但是不會收到錢
You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started
You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started
tobyliu
20:48:32
現在也是可以用但是會有美麗ㄉ
github
20:49:10
*<https://github.com/Disfactory/frontend/compare/58420a766ed0...62a5def2d600|2 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/c9038c55f403e697120fcbcbe9e2d0e566fe5d50|`c9038c55`> - Fix build script config in ci <https://github.com/Disfactory/frontend/commit/62a5def2d600b2673c9d4f9e784f97dd174fe9e6|`62a5def2`> - Merge pull request #7 from Disfactory/remove-test-and-add-ci
github
20:54:43
=> 自動產生 doc_id 和把 Factory 資料塞進 Document(table) => doc_id 是產生流水號,就算不小心誤按在 Document table 刪掉後,流水號繼續編下去 => <https://github.com/deeper747|@deeper747> 要給流水號規則
github
20:56:21
*實作結果* 會有一個 open api 的 endpoint 以及預計會使用 `drf-yasg` 產生 (給開發人員看)的線上 swagger 與 redoc 頁面 drf-yasg package: <https://pypi.org/project/drf-yasg/|https://pypi.org/project/drf-yasg/> swagger demo: <https://drf-yasg-demo.herokuapp.com/cached/swagger/|https://drf-yasg-demo.herokuapp.com/cached/swagger/> redoc demo: <https://drf-yasg-demo.herokuapp.com/cached/redoc/|https://drf-yasg-demo.herokuapp.com/cached/redoc/> * * * *待決定項目* • endpoint 目前給前端用的 endpoint 是: <https://api.disfactory.tw/api/|https://api.disfactory.tw/api/> 需要決定 open api 的 endpoint ,例如: <https://api.disfactory.tw/open/|https://api.disfactory.tw/open/> <https://api.disfactory.tw/openapi/|https://api.disfactory.tw/openapi/> <https://api.disfactory.tw/api-open/|https://api.disfactory.tw/api-open/> <https://api.disfactory.tw/open-api/|https://api.disfactory.tw/open-api/> • 表列: • 每個 api 與後列項目 • 各 api 要回應哪些資料? • 各 api 用什麼 http request method? • 各 api 需要什麼 query string? • 各 api 例如: • 工廠列表的 api , <https://api.disfactory.tw/open/factories|https://api.disfactory.tw/open/factories> 透過 get 訪問, 會回應 `id`, `lat`, `lng`, `landcode`, `towncode`, `townname`, .... • 隨機取得一個工廠的 api <https://api.disfactory.tw/open/random_factory|https://api.disfactory.tw/open/random_factory> • 隨機取得100個工廠的 api: <https://api.disfactory.tw/open/random_factory?amount=100|https://api.disfactory.tw/open/random_factory?amount=100> (實作上可以透過 django rest framework 的 serializer 達成) • 是否做權限控管 透過: • 帳號密碼 • token • CORS (針對 ajax)
github
21:05:06
Document (table) <https://github.com/littlewhite|@littlewhite> <https://github.com/Jsaon|@Jsaon> • !!`id` • `factory_id`(我忘了跨表格的命名方式) • `created_at`: document 產生時間 • `last_updated`: Document上任何欄位上次被修改的時間 • !`cet_staff`:公文負責人名(username) string (找 toby 要,從 Django 內建的 User 裡面的 Group 裡面撈)go through oath_user。 • `cet_report_status`: tag (many to many) 應該會有個預設的 status(deeper 要給) • `cet_next`: CET 下一步要做什麼。 tag(不太會同時有多個)default null • `cet_next_last_updated` : • `gov_response_status`: multiple tags (many to many)。可能會有針對四個地方政府單位進度不同的 tag。 • !!`display_status`:tag(不太會同時有多個,但是要保留不是線性更新進度的可能,可能會跳來跳去)。前端顯示給使用者看的,只有這個 tag 要加上 timestamp,記錄新增和刪除特定 tag 的時間 • 政府承辦人、單位、電話(這邊忘了討論怎麼存,因為會有不只一個單位的承辦人) • `note`: long paragraph. 讓志工打電話時可以紀錄進度。 • 政府公文連結: default null • 政府回函 summary: default null • `creator_id`: 誰按下產公文的 Action,來自系統的 `user_id`. 產生公文需要的其他欄位 • 縣市 (來自 factory) • 鄉鎮區(來自 factory) • lat(來自 factory) • lng(來自 factory)
github
21:24:10
• `id` • `factory_id` • `created_at`: [sort] • `last_updated`:[sort] • `cet_staff` • `cet_report_status`: [filter] • `cet_next`: [filter] • `cet_next_last_updated` [sort] • `gov_response_status`: • `display_status`:[filter] • 縣市 [filter] • 鄉鎮區 [filter] • 政府承辦人 [filter]
github
21:48:15
Fixed <https://github.com/Disfactory/Disfactory/issues/378|#378> 1. Change '正文' position 2. Remove debug message
github
21:56:33
*Is your feature request related to a problem? Please describe.* Define groups of who should be in charge of documents in each county/city. *Describe the solution you'd like* Insert groups of each county/city for docutment's cet_staffs as a part of initial data migrations.
github
22:52:48
*ael 紀錄後端公文追蹤討論結果* *1. Create document (Action) on Factory (List View) <https://github.com/littlewhite|@littlewhite> <https://github.com/Jsaon|@Jsaon>* => 自動產生 doc_id 和把 Factory 資料塞進 Document(table) => doc_id 是產生流水號,就算不小心誤按在 Document table 刪掉後,流水號繼續編下去 => <https://github.com/Deeper|@Deeper> 要給流水號規則 *2. Document (table) <https://github.com/littlewhite|@littlewhite> <https://github.com/Jsaon|@Jsaon>* • `id` • `factory_id`(我忘了跨表格的命名方式) • `created_at` • `last_updated`:公文上任何欄位上次被修改的時間 • `cet_staff`:公文負責人 • `cet_report_status`: tag (many to many) • `cet_next`: CET 下一步要做什麼。 tag(不太會同時有多個) • `cet_next_last_updated` • `gov_response_status`: multiple tags (many to many)。可能會有針對四個地方政府單位進度不同的 tag。 • `display_status`:tag(不太會同時有多個,但是要保留不是線性更新進度的可能,可能會跳來跳去)。前端顯示給使用者看的,只有這個 tag 要加上 timestamp,記錄新增和刪除特定 tag 的時間 • 縣市 • 鄉鎮區 • 政府承辦人、單位、電話(這邊忘了討論怎麼存,因為會有不只一個單位的承辦人) • `note`: long paragraph. 讓志工打電話時可以紀錄進度。 • 政府公文連結 • 政府回函 summary • lat • lng *3. Document (List View) <https://github.com/littlewhite|@littlewhite> <https://github.com/Jsaon|@Jsaon>* • `id` • `factory_id` • `created_at`: [sort] • `last_updated`:[sort] • `cet_staff` • `cet_report_status`: [filter] • `cet_next`: [filter] • `cet_next_last_updated` [sort] • `gov_response_status`: • `display_status`:[filter] • 縣市 [filter] • 鄉鎮區 [filter] • 政府承辦人 [filter] *4. Print documents (Action) on Document (List View) <https://github.com/Swind|@Swind>* • 自動產生公文下載 *5. Document (Single Page) <https://github.com/Swind|@Swind>* • doc_id • ==Factory info embedded(待補指定欄位,應該就是公文上印出來的欄位)== • factory_id • image • ... • All fields in Document table: 需要 deeper 給顯示優先順序 *6. Display_status (原本的FollowUp table)* `timestamp` `doc_id` `display_status` 新增和刪除都要記錄時間 *7. 整合縣市->立委 contact <https://github.com/Swind|@Swind>* • <https://github.com/iu|@iu> 已爬好 <https://github.com/Disfactory/findTaiwanLegislator|https://github.com/Disfactory/findTaiwanLegislator> • <https://github.com/Swind|@Swind> 接下來要整合到印公文的 process (8/18 已做完) *8. User Model <https://github.com/toby|@toby> (not urgent)* • name • email • role: staff, volunteer, tech *9. GovAgency (承辦人聯絡清單) <https://github.com/Deeper|@Deeper>* • editable • low priority • 主要是可以在 Document table 被 refer 承辦人,可以 filter 承辦人和方便打電話 *10. Review (table) => low priority* on Factory page • reviewer • image_check (null) • if_after_2016 (null) • factory_id
ael
23:14:54
先簡短列一下後端需要先優先做的,目標是 9/30 之前要能讓地公更改 display_status,顯示在前端給使用者看到已舉報、已排稽核等等。
1. 產生公文的 action,塞公文號 @f46284628
2. display_status (先寫死, 再記log )@jsaon92
3. Document Single Page @swind
第二優先是讓 deeper 可以加上 cet_report_status, gov_response_status, cet_next 等行動追蹤的欄位。
自動列印公文的優先順序在這兩件事之後。
我明天去開到 GitHub 上。跟功能無關的部份,要再請 @cph 幫忙 deploy 和開 server 權限
1. 產生公文的 action,塞公文號 @f46284628
2. display_status (先寫死, 再記log )@jsaon92
3. Document Single Page @swind
第二優先是讓 deeper 可以加上 cet_report_status, gov_response_status, cet_next 等行動追蹤的欄位。
自動列印公文的優先順序在這兩件事之後。
我明天去開到 GitHub 上。跟功能無關的部份,要再請 @cph 幫忙 deploy 和開 server 權限
- ❤️1
然後 @tobyliu 我們先需要 factory single page 加上可以勾已審查。
ael
23:16:29
然後 @tobyliu 我們先需要 factory single page 加上可以勾已審查。
2020-08-28
Oriyar
13:26:26
小聚異動ㄘ動ㄘ
下週三(9/2)因為剛好適逢我們員工旅遊 ohya~ 所以大家就線上見囉!我和 deeper 會準時20:00在阿里山開播~另外,下下週(9/9)我們跟獨立媒體報導者合作了一場講座!報名由此去,談我們之前去日本了解他們將違章工廠遷入工業區的政策。想邀請大家可以去聽(要報名要快,據說80人快報滿了),所以小聚暫停一次囉。(講座會有線上,或是....如果大家想用閱讀的,可以看我們和報導者一起出的幾篇文章)
以上報告完畢,時間接近時我會再來通知大家!
下週三(9/2)因為剛好適逢我們員工旅遊 ohya~ 所以大家就線上見囉!我和 deeper 會準時20:00在阿里山開播~另外,下下週(9/9)我們跟獨立媒體報導者合作了一場講座!報名由此去,談我們之前去日本了解他們將違章工廠遷入工業區的政策。想邀請大家可以去聽(要報名要快,據說80人快報滿了),所以小聚暫停一次囉。(講座會有線上,或是....如果大家想用閱讀的,可以看我們和報導者一起出的幾篇文章)
以上報告完畢,時間接近時我會再來通知大家!
3
tobyliu
2020-08-28 14:47:54
啊,好想去聽日本的狀況,我自己現在就住在50年前還是廢水臭河旁邊,可惜當天我還有別場演講 QQ。上次在 COSCUP 分享的 AI 性別議題要再講一次。
tobyliu
14:47:54
啊,好想去聽日本的狀況,我自己現在就住在50年前還是廢水臭河旁邊,可惜當天我還有別場演講 QQ。上次在 COSCUP 分享的 AI 性別議題要再講一次。
2020-08-30
github
17:10:57
*<https://github.com/Disfactory/Disfactory/compare/57246e2e0fa7...2c8787c108be|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/e22b7464947620609adc2fc32f8223f7ed566af8|`e22b7464`> - 1. Change '正文' position <https://github.com/Disfactory/Disfactory/commit/2c8787c108bea842b4cb853070a4c9d1d7ff6520|`2c8787c1`> - Merge pull request #387 from Disfactory/fix_origin_position
github
17:50:50
From django doc: > If updating a large number of columns in a large number of rows, the SQL generated can be very large. Avoid this by specifying a suitable batch_size.
github
17:54:45
*<https://github.com/Disfactory/Disfactory/compare/2c8787c108be...a276cca5d78b|6 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/ded2541216a2f402f90dfbd706aa49e534595f56|`ded25412`> - add description onto detail view of factory <https://github.com/Disfactory/Disfactory/commit/31901f7ab316c771cfe197d1d60c97e4a942f774|`31901f7a`> - add map widget <https://github.com/Disfactory/Disfactory/commit/56d12284b1c377cec74d7b5b35fad5dde13a87c1|`56d12284`> - Merge branch 'master' into feature/admin/alter-detail-view-1-2-1 <https://github.com/Disfactory/Disfactory/commit/39ec5ad23e4a0c9868129772d4f7e440f4732f66|`39ec5ad2`> - relock pipenv <https://github.com/Disfactory/Disfactory/commit/645ba2c08f2fb3db2a10850bb11d9fde89fbe4fb|`645ba2c0`> - remove google map api key <https://github.com/Disfactory/Disfactory/commit/a276cca5d78b867cefb07111d0491311138d502f|`a276cca5`> - Merge pull request #382 from Disfactory/feature/admin/alter-detail-view-1-2-1
cph
18:05:52
乾乾乾我現在才發現我忘了去...