#cjkv
2015-04-15
caasi
19:34:14
@caasi has joined the channel
caasi
19:34:15
@caasi set the channel purpose: about CJKV information processing
au
19:37:23
@au has joined the channel
c9s
19:37:24
@c9s has joined the channel
yapcheahshen
19:37:24
@yapcheahshen has joined the channel
mgdesigner
19:37:24
@mgdesigner has joined the channel
caasi
19:38:06
晚安,開個新頻道報告有關處理 kage 格式的進度。
caasi
19:39:34
上週試著把 kage 的格式轉成 JSON :https://github.com/caasi/sandbox/commit/6e43c273d17404157c19ab42ffaee249348a6035
caasi
19:40:20
和 @yapcheahshen 討論後,這週六的大松會把轉好的資料餵給 ethercalc 看看
yapcheahshen
20:54:17
轉成json後數據量膨脹多少?
caasi
21:06:42
u26c29 單一個檔大概十倍
yapcheahshen
22:03:54
原來的格式完整glyph wiki就數十mb了
2015-04-16
au
01:14:55
還在 RAM 可接受的範圍
caasi
01:42:21
回到家才看到上面那句 0rz
想等轉完後,若不理想再考慮別的方案。
而且同時吐 kage format 和 JSON 應該可行?
/u26c29 和 /u26c29.json 這樣 XD
想等轉完後,若不理想再考慮別的方案。
而且同時吐 kage format 和 JSON 應該可行?
/u26c29 和 /u26c29.json 這樣 XD
au
01:46:35
Sure makes sense
suensummit
15:40:20
@suensummit has joined the channel
2015-04-18
caasi
09:40:02
yapcheahshen: 早安早安?
yapcheahshen
09:59:04
我在資訊所106
caasi
10:04:54
隔壁嗎?等等過去找你
caasi
10:18:53
笨死了, 106, 107 是同一間...
yapcheahshen
10:29:28
活動式隔間
caasi
10:58:37
還以為是 101
caasi
10:58:53
json 全部共 1.5 G XD
caasi
10:59:01
等等來寫求幫手的文件好了
caasi
13:05:30
yhsiang: 也要跳坑了嗎 XD
yhsiang
13:05:39
@yhsiang has joined the channel
yhsiang
13:20:26
caasi: dump_newest_only.txt, I need this ?
caasi
13:20:39
yhsiang: wait a minute
caasi
13:21:30
dump.tar.gz 裡面。
yhsiang
13:22:00
喔 那直接寫個 request 去抓 回來用? XD
yhsiang
13:22:05
等我幾分鐘 XD
caasi
13:31:59
對啊,都好 XDD
caasi
13:32:36
把 dev 整個加到 collaborator 了,請自行 commit 到 example 或另外開 repo
caasi
13:32:55
editor 的 repo chikage 還沒開 0rz
yhsiang
13:59:24
caasi: 加兩行就可以自動化了 !
yhsiang
13:59:30
我接著來丟到 redis
caasi
13:59:40
有沒有那快!?
yhsiang
13:59:46
tarball-extract 好用啊 XD
caasi
14:11:35
yhsiang++
caasi
14:12:00
之前只碰過 unzip... 0rz
caasi
14:12:07
(npm)
transedward
14:33:01
@transedward has joined the channel
yhsiang
14:56:12
caasi, yapcheahshen: 目前 /:id -> string 或 /:id.json -> json
yhsiang
14:59:27
yhsiang
15:00:41
caasi: 詳細的 api 規格 還要跟你確認 orz
yhsiang
15:02:56
目前完成就是可以直接 download tarball -> extract -> create json file 同時塞進 redis
api server 很簡單就是本來是產生 #{id}.json 就 /:id?json -> string or json
api server 很簡單就是本來是產生 #{id}.json 就 /:id?json -> string or json
caasi
16:07:44
太迅速了, yhsiang++
caasi
16:07:58
剛上客運,來玩玩看你的 API
yhsiang
17:13:57
caasi: 沒寫什麼 XD
yhsiang
17:14:06
caasi: 因為我看不太懂 你的 api 描述 orz sorry
caasi
17:14:49
晚上(或明早 0rz )我弄弄看 express
yhsiang
17:15:29
caasi: 我是用 express XD
caasi
17:17:20
未來想試試 ?json[]=<id>&json[]=<another id> 這樣的 API ,但現在是 overengineering 0rz
caasi
17:17:36
yhsiang: 啊,耍笨,我剛只看到改過的 dump2json
yhsiang
17:17:41
XD
yhsiang
17:17:43
有兩隻
yhsiang
17:17:54
very simple
yhsiang
17:18:05
你可以自己改
caasi
17:18:34
看到了,我來整理跟丟到 heroku/dokku 。
yhsiang
17:18:45
基本上在 db 裡面就是 “id.json”: json string 跟 “id”: string
yhsiang
17:18:56
所以有達到你的要求 XD
caasi
17:18:59
客運上 ssh 一直給我 broken pipe
yhsiang
17:19:06
你要改 mosh
caasi
17:19:11
達到了,已經被你做完了 XDD
caasi
17:19:37
好,我查查 mosh
2015-04-27
yapcheahshen
21:12:49
Fire base 蠻合適做字形資料backend
2015-04-29
caasi
02:54:40
這週六希望能撥出時間繼續 0rz
2015-04-30
mgdesigner
01:18:41
hi
mgdesigner
01:19:12
原來有這個頻道了
caasi
17:30:18
hi XD