pttai

Month: 2019-03

2019-03-11

lilian0330 10:43:22
@lilian0330 has joined the channel
lilian0330 10:43:23
@lilian0330 set the channel purpose: for a better world with the decentralized community, PTT.ai
wildsky 10:43:23
@wildsky has joined the channel
chhsiao90 10:43:23
@chhsiao90 has joined the channel
sammui 10:43:23
@sammui1223 has joined the channel
poga 10:43:23
@poga has joined the channel
Danny Wu 10:51:56
@danny.wu.1986813 has joined the channel
lilian0330 10:53:07
嗨嗨大家,歡迎大家來到 #pttai 一起抓蟲、打屁
Github上有安裝介紹
聊聊如果你有了去中心化的通訊軟體,會想拿來做什麼呢?
😎 https://github.com/ailabstw/go-pttai
技術版介紹(中文)https://docs.google.com/presentation/d/1X6fGAElPtvsMK8Fys8VwSj9UPfNRkRRHDE0lQcUyK4Y/edit#slide=id.g4544472359_2_53
技術版介紹(英文)
https://docs.google.com/presentation/d/1q44LYz0i-iMxXMD9zfV9kqwah9UJGFOaQZxs0GvM5E4/edit#slide=id.p
🌊應用版介紹(中文)
https://drive.google.com/open?id=1p84VUW7dsWIvf_QBrmCVOYS_SQ6F0tkt5zG0vuMYnUA
hisa_x 16:28:32
@hisa_x has joined the channel
企鵝f 17:13:07
@q1o2o3zxc18 has joined the channel
chhsiao1981 17:45:32
@chhsiao1981 has joined the channel

2019-03-12

lilian0330 11:55:25
有人裝PTTai玩了嗎?
lilian0330 11:56:11
有沒有遇到任何問題哈哈,像是想做什麼、有沒有成功跟其他人加朋友?
mac 安裝完了之後, 執行 `gptt`, 瀏覽器開啟 http://localhost:9774/ 出現
> 404 page not found
lilian0330 2019-03-13 16:07:24
出現 404!呼叫 @chhsiao1981 回答這題哈哈哈
chhsiao1981 2019-03-13 16:40:35
hihi @linekin

不知是否是透過 git pull 的方式安裝的?~
如果是的話~
有可能是你的電腦上 port 9774 已經被其他 process 使用了~

不知可否提供 terminal 上的 log?~
或是你可以在 go-pttai 的 dir 下:

./scripts/gptt-testnet2.sh

然後使用 browser 連到 http://localhost:9775 測試?~


如果不是透過 git pull 安裝的~
不知可否提供更詳細的安裝方式?~


如果你對於以上的 reply 不知道要如何繼續下去的話~
當然很歡迎再詢問的 :smile:
我改用 docker 執行有成功囉, 一時還沒有朋友 😢
chhsiao1981 2019-03-13 17:09:56
😄
chhsiao1981 2019-03-13 17:11:16
<pnode://a464ee09837ac48c223feddc224cbd027a5e4dcccc8c1def8e51d252fb1cd73270de31b2583d74e458878597dc6db7706660ed33d675e90909ec5635286ae956/joinfriend?c=8cP6WtdbLECQhadHxqZk457Xu9Zcvp2brD2KQV4ns7JQqjz5YCjUaVC&h=R%2BuiXdDzSTHUb0lE5qY663BMgtQ%3D&k=l%2FBm3hipe2YeLfzWY8w%2Fbca%2FuLpog3p3zj2nzIPR7ZQ%3D&n=6ICB6JWt&t=1552543446>
chhsiao1981 2019-03-13 17:11:30
這個是我在 linode 上的 node~
chhsiao1981 2019-03-13 17:12:09
由於每個人的網路情形不太一樣的關係~
所以目前不 guarantee 可以連到 XD.
chhsiao1981 2019-03-13 17:12:56
可以 follow 以下 issue 來看 p2p 對於 VPN 相關的 update~

https://github.com/ailabstw/go-pttai/issues/97
this is some amazing stuff you guys are building. I guess I should just tag myself in a ticket to get started?
lilian0330 2019-03-14 14:59:00
@willyyang604 here is the GitHub for PTT.ai.
Following the steps, you can install it here. :sunglasses:https://github.com/ailabstw/go-pttai
謝謝
mitsunchieh 14:46:48
@mitsunchieh has joined the channel

2019-03-13

yukai 10:44:43
@yukai has joined the channel
gugod 14:59:51
@gugod has joined the channel
linekin 15:27:21
@linekin has joined the channel
willz 22:46:21
@willyyang604 has joined the channel

2019-03-14

lilian0330 14:59:00
@willyyang604 here is the GitHub for PTT.ai.
Following the steps, you can install it here. :sunglasses:https://github.com/ailabstw/go-pttai

GitHub

ailabstw/go-pttai

Go implementation of the <http://ptt.ai|ptt.ai> framework. Contribute to ailabstw/go-pttai development by creating an account on GitHub.

poga 15:46:57
@chhsiao1981 Any chance of migrating `go-pttai` to go module? So we can avoid all these `GOPATH` shenanigans 😛
chhsiao1981 15:48:17
@poga Do you mean the following: https://github.com/golang/go/wiki/Modules

GitHub

golang/go

The Go programming language. Contribute to golang/go development by creating an account on GitHub.

poga 15:48:43
yea
chhsiao1981 15:51:39
https://github.com/ailabstw/go-pttai/issues/220

GitHub

Migrate to Go modules · Issue #220 · ailabstw/go-pttai

Version information: Gptt Version: 0.1.4 Git Commit: dd42923 Architecture: amd64 Go Version: go1.11.1 Type: Enhancement Description: Referencing to ethereum, currently we are using govender for mai...

poga 15:53:08
oh we're using govender?
chhsiao1981 15:53:27
yes~ there is “vendor” dir in the repo~
👍 1
poga 15:59:41
btw did you receive my friend request? I had sent multiple friend request to your node on linode.
chhsiao1981 16:00:00
hmm~ not yet~ Orz~
chhsiao1981 16:01:32
Pasted image at 2019-03-14, 4:01 PM
chhsiao1981 16:01:49
Pasted image at 2019-03-14, 4:01 PM
chhsiao1981 16:02:11
Pasted image at 2019-03-14, 4:02 PM
chhsiao1981 16:02:48
From UI~ You can check that whether there is a peer for now~
chhsiao1981 16:03:14
looks like something happened in libp2p though~
poga 16:03:18
It's empty 😕
chhsiao1981 16:05:05
libp2p is one huge dark magic in this project~
chhsiao1981 16:06:16
As long as we are able to connect to the peers, and everything works fine~
But it seems like it’s not guaranteed to connect to the peers successfully in the libp2p settings~
poga 16:07:44
Yeah I just saw the issue https://github.com/libp2p/go-libp2p/pull/490 It doesn't support UDP hole-punching

GitHub

[WIP] UDP-based NAT hole-punching by cannium · Pull Request #490 · libp2p/go-libp2p

This patch utilizes relayed connection as signaling channel, and run /libp2p/punching/1.0.0 protocol on it. If both nodes are behind NAT gateways, they send self-observed QUIC addresses to each oth...

chhsiao1981 16:11:52
@poga Do you know any other p2p-peer go-lib. I am thinking maybe we can switch to other kind of p2p-lib that has no problem with the networking issue~
(webrtc in go?~ or bittorrent in go?~)
poga 16:20:53
IMO they're all kinda flaky. also they have different trade-off... so no strictly "better"
chhsiao1981 16:25:21
I think I’ll try to integrate with https://github.com/anacrolix/torrent and see how it goes~

GitHub

anacrolix/torrent

Full-featured BitTorrent client package and utilities - anacrolix/torrent

chhsiao1981 16:30:53
@poga btw~

if you just want to do some preliminarily testing, then the following scripts may help you:

./scripts/gptt-testnet.sh
./scripts/gptt-testnet2.sh
chhsiao1981 16:32:20
(then you should be able to see the 2 UIs in http://localhost:9774 and http://localhost:9775)
poga 16:33:19
ok I will try them later today
😄 1
chhsiao1981 16:33:55
Pasted image at 2019-03-14, 4:33 PM
poga 20:36:33
I tried. They can connect to each other but not to your linode node lol
chhsiao1981 20:39:14
@poga connecting to each other is a good start~
I think we can skip the p2p-connection and focus more on the core-flow for now~
I’ll try anacrolix/torrent soon and see if the p2p-connection is better on the torrent setup~
chhsiao1981 21:13:30
@chhsiao1981 set the channel topic: https://github.com/ailabstw/go-pttai

2019-03-17

poga 07:51:49
要不要弄個 ptt.ai vs 其他比較有名的 decentralized network project 的比較表?像是 https://about.riot.im/https://matrix.org/blog/home/ 、 mastodon、IPFS 等等

about.riot.im

Liberate your communication | Riot

Communicate the way you want with Riot - a universal secure chat app entirely under your control.

matrix.org

Home | Matrix.org

lilian0330 2019-03-18 10:53:27
建個比較表感覺很不錯耶,可以知道技術跟特色在哪
poga 07:53:47
比較一下社群架構、加密、P2P 系統設計等等的

2019-03-18

poga 05:19:54
最接近的應該是基於 ssb 的 https://www.manyver.se/ ...?

manyverse-site

Manyverse – a social network off the grid

A social network off the grid – mobile and available on Android

lilian0330 10:53:27
建個比較表感覺很不錯耶,可以知道技術跟特色在哪
3
Hughes 12:54:41
@hughes has joined the channel
chhsiao1981 17:34:53
@poga 我們最接近的應該就會是 ssb 了~
chhsiao1981 23:04:05
https://docs.google.com/spreadsheets/d/1eP1HqmPm_PU8WwqwpAcNQMJPZT4TzploEXzA7725lxY/edit#gid=0

這個是我目前“自己覺得“的表~
很歡迎大家幫忙指點 / 修正 / improve~
lilian0330 2019-03-19 10:45:30
加了一些 github link~

2019-03-19

lilian0330 10:45:30
加了一些 github link~

2019-03-22

chhsiao1981 09:37:26
https://github.com/libp2p/go-libp2p/issues/188

GitHub

Support for WebRTC transport · Issue #188 · libp2p/go-libp2p

So the Duo team (working on OpenBazaar) was all excited that we can now have truly peer-to-peer communications between js-ipfs and go-ipfs using WebSockets. It turns out that, in practice, WebSocke...

chhsiao1981 09:37:49
looks like libp2p is integrating with pions-webrtc~