ptt

Month: 2021-01

2021-01-01

ifanchu675 02:54:37
interesting, ok, I then tried with postman, and now I got
```{
"Msg": "illegal base64 data at input byte 4"
}```
sorry to have so many questions, I just want to setup a local env to get some testing files for https://github.com/PichuChen/go-bbs/issues/16

#16 解析 PTT BBS 檔案

這個 ISSUE 紀錄需要被解析的檔案以及解析的進度 ☐ 使用者記錄檔 (PASSWDS) • 進行中 <https://github.com/PichuChen/go-bbs/issues/1|#1> • 目前基本功能解析和轉換回二進位檔的部分已經完成,棋院相關的功能還沒做。 ☑︎ 看板列表 (.BRD) ☑︎ 看板內文章列表 (.DIR) ☑︎ 最近登入紀錄 (logins_recent) ☐ .polling ☐ .post ☐ 登入失敗紀錄 (logins.bad) ☐ reg.wait ☐ register.log ☐ usies ☑︎ 我的最愛列表 (.fav) • 於 <https://github.com/PichuChen/go-bbs/issues/21|#21> 進行中 • 二進位轉換成 golang struct 的部分好了,以及 go struct 轉換回二進位的部分也好了 ☐ 聊天室紀錄檔 ☐ 使用者名片檔 ☐ 使用者簽名檔

chhsiao1981 08:31:45
hi @ifanchu675
image.png
chhsiao1981 08:34:05
https://github.com/Ptt-official-app/go-pttbbs/blob/main/api/register.go#L16

nickname / realname / career / address 在我的版本改成純 big5 []byte 的 input/output 囉~
(在 api 的呈現上是 []byte 做 base64 以後的情形~)

api/register.go:16

``` Nickname []byte `json:"nickname,omitempty"` //sending utf8-bytes from middleware. ```

chhsiao1981 08:34:35
原因是因為發現到 ptt 是用 big5-uao~ 並不是 golang 內建的 big5-utf8~
chhsiao1981 08:35:03
(其實應該是說並不是 golang 內建的 big5-unicode~)
chhsiao1981 08:36:23
然後還有本文的 big5 -> utf8 的轉換~
覺得這是個大量浪費資源的過程~
所以就把這件事情移到 middleware 去了~
chhsiao1981 08:36:51
如果要測 go-pttbbs 的話~
建議是把這幾個欄位先留 “” 跳過~
ifanchu675 08:36:59
got it, thanks

2021-01-02

pichuchen 01:54:45
bad login 的success檢查好像有問題
pichuchen 01:55:36
bad login 會有success的狀況嗎?

2021-01-08

gslin 21:43:52
@gslin has joined the channel

2021-01-09

rick7661 14:07:50
@rick7661 has joined the channel

2021-01-11

andytsa 11:02:06
@andytsa has joined the channel

2021-01-12

rick7661 10:18:08
大家午安,期待 Offical PTT App 的誕生!我是iOS 工程師,主要經歷多屬 finance apps。這是我的履歷 http://linkedin.com/in/rick-wu-4593a264

若仍需人手,樂意盡綿薄之力協助 iOS App 的開發。未爬文冒昧請問:GitHub 上似乎尚未有 iOS Repo,請問如何取得iOS 試用版呢?
Hi 可以私訊給我,你的 Telegram ID,再幫你加入相關群組和測試版~
👀 1
Alex Asahis 14:00:55
@alexasahis has joined the channel

2021-01-17

Johnny 09:39:09
https://www.ptt.cc/bbs/PttBug/M.1610839358.A.CEC.html
websocket 憑證好像過期了

2021-01-19

sylviauk0315 14:08:34
@sylviauk0315 has joined the channel
Kevin C 14:35:08
@kvn.0218 has joined the channel
zanna.weizhu.wang 23:33:50
@zanna.weizhu.wang has joined the channel

2021-01-20

李至曜 01:16:41
@dd360870 has joined the channel

2021-01-21

Alan Lu 16:56:33
@alan0098 has joined the channel
mkfsn 20:23:18
@p408865 has joined the channel
vicky 23:00:03
@lch82327 has joined the channel

2021-01-22

Tobby 14:32:15
@tobby112 has joined the channel
餅乾 22:41:17
@dh10050160 has joined the channel

2021-01-23

Kay 10:18:45
@kay682 has joined the channel
阿賓 11:10:41
@steven2000516 has joined the channel
Sean 12:27:02
@sean1128_web has joined the channel
yucheng 13:43:47
@yucheng has joined the channel

2021-01-25

Te-Yu Chang 01:41:18
@dale.teyuchang has joined the channel

2021-01-26

Trie 09:57:57
@trie55432 has joined the channel
kevinchang 14:17:42
@kevin0748 has joined the channel
saker 16:19:15
@saker.lin has joined the channel

2021-01-27

hsnu126502 02:05:26
@hsnu126502 has joined the channel
Gary 03:12:00
@ggary9424 has joined the channel
c510w995 16:43:27
@c510w995 has joined the channel
dylan.huang65 16:43:51
@j75689 has joined the channel
tofus 18:12:47
@terry.f.wang has joined the channel
kateh0511 23:52:44
@kateh0511 has joined the channel

2021-01-28

arbit 02:57:38
@itsarbit has joined the channel
Julian Chu 07:09:06
@yulang.chu has joined the channel
Lester 15:19:09
@jhengjhe has joined the channel
paulpengtw 21:05:49
@paulpengtw has joined the channel

2021-01-29

yqtang1222 12:33:47
@yqtang1222 has joined the channel
陳小寶 13:57:36
@tomo0502 has joined the channel
dendrobium0093 14:21:56
@dendrobium0093 has joined the channel

2021-01-30

Ryan Pan 22:02:13
@ryanchen34057 has joined the channel
Ryan Pan 22:03:06
大家好,剛剛才在Soft_Job版上看到徵Go後端的資訊,請問現在還缺人手嗎?
chhsiao1981 22:07:02
@ryanchen34057

非常歡迎加入!

go 還是很缺人手~

我們在 telegram 上有“Ptt 官方 app 籌備小組“和”Ptt BBS 後台小組“~

很歡迎找 @okcool.chang, @teemocogs, @denkenie 申請~
chhsiao1981 22:07:25
@chhsiao1981 set the channel topic: https://hackmd.io/@twbbs/Root
chhsiao1981 22:08:20
image.png
Ryan Pan 22:09:46
好的,感謝回覆! 我再去跟他們申請

2021-01-31

Zixsa 22:00:39
@dbdf0369 has joined the channel
gogog22510 23:49:01
@gogog22510 has joined the channel