<clownpriest>
am I not supposed to use inet.Stream as an io.Reader? whenever i do buf.ReadFrom(s) or ioutil.ReadAll(s) it just blocks forever
pfrazee_ has joined #ipfs
pfrazee has quit [Read error: Connection reset by peer]
palkeo has quit [Quit: Konversation terminated!]
MikeFair has joined #ipfs
pfrazee_ has quit [Read error: Connection reset by peer]
pfrazee has joined #ipfs
pfrazee_ has joined #ipfs
pfrazee has quit [Read error: Connection reset by peer]
fleeky__ has joined #ipfs
fleeky_ has quit [Ping timeout: 276 seconds]
muvlon_ has quit [Ping timeout: 245 seconds]
tabrath has quit [Ping timeout: 252 seconds]
iczero is now known as wlp1s1
JayCarpenter has joined #ipfs
se3000 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
matoro has quit [Ping timeout: 240 seconds]
tilgovi has joined #ipfs
<panicbit-M>
clownpriest: Because it l reads everything until the stream is closwd
<clownpriest>
panicbit-M: there's no EOF when I write on the stream?
<panicbit-M>
You should probably use the read method (or whatever else there is, I haven't dobe Go in a long time)
<panicbit-M>
clownpriest: nope
<clownpriest>
ugh....thanks
<panicbit-M>
EOF is when the stream is closed
muvlon_ has joined #ipfs
matoro has joined #ipfs
<clownpriest>
can't believe how much time I just wasted on this
aeternity has quit [Ping timeout: 276 seconds]
aeternity has joined #ipfs
shizy has joined #ipfs
<whyrusleeping>
clownpriest: its a pipe
<whyrusleeping>
if you close the other side you'll get an EOF
<clownpriest>
but then I can't read a response sent back through that same stream, right?
wrouesnel has quit [Remote host closed the connection]
wrouesnel has joined #ipfs
antonizoon has joined #ipfs
Muis has joined #ipfs
tilgovi has quit [Ping timeout: 255 seconds]
edubai__ has joined #ipfs
omnigoat has joined #ipfs
jkilpatr has quit [Ping timeout: 255 seconds]
cemerick has joined #ipfs
arpu has quit [Remote host closed the connection]
infinity0_ has joined #ipfs
infinity0_ has joined #ipfs
infinity0 is now known as Guest74054
infinity0_ has quit [Changing host]
infinity0_ is now known as infinity0
Guest74054 has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
<whyrusleeping>
clownpriest: no, you cant
<whyrusleeping>
its the same as a tcp socket
infinity0 has quit [Remote host closed the connection]
<clownpriest>
how do people handle sending dynamically sized messages? so i don't have to write into a fixed sized bytes buffer on the reading end. or is that not good practice?
<clownpriest>
(without closing the outbound stream)
infinity0_ has joined #ipfs
infinity0_ has quit [Changing host]
infinity0 has joined #ipfs
infinity0 has quit [Remote host closed the connection]
chased1k has quit [Remote host closed the connection]
infinity0 has joined #ipfs
infinity0 has quit [Remote host closed the connection]
<whyrusleeping>
length prefixing is a common approach
<kythyria[m]>
You still need to check if the message is too big (for whatever value of too big makes sense for the thing you're writing) and reject it if it's too big.
<clownpriest>
i see
omnigoat has quit [Ping timeout: 240 seconds]
infinity0 has joined #ipfs
infinity0 has quit [Remote host closed the connection]
wrouesnel has quit [Remote host closed the connection]
wrouesnel has joined #ipfs
infinity0 has joined #ipfs
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ipfs
wrouesnel has quit [Remote host closed the connection]
wrouesnel has joined #ipfs
wrouesnel has quit [Remote host closed the connection]
wrouesnel has joined #ipfs
wrouesnel has quit [Remote host closed the connection]
wrouesnel has joined #ipfs
wrouesnel has quit [Remote host closed the connection]
wrouesnel has joined #ipfs
chaosdav has quit [Ping timeout: 258 seconds]
stevenroose has quit [Ping timeout: 248 seconds]
DiCE1904 has quit [Remote host closed the connection]
DiCE1904 has joined #ipfs
shizy has quit [Quit: WeeChat 1.7]
tmg has quit [Ping timeout: 264 seconds]
stevenroose has joined #ipfs
chaosdav has joined #ipfs
dignifiedquire has quit [Quit: Connection closed for inactivity]
chriscool has quit [Read error: Connection reset by peer]
chriscool has joined #ipfs
espadrine has quit [Ping timeout: 255 seconds]
chriscool has quit [Read error: Connection reset by peer]
tabrath has quit [Ping timeout: 248 seconds]
espadrine has joined #ipfs
aquentson has joined #ipfs
ZaZ has quit [Read error: Connection reset by peer]
maxlath has quit [Ping timeout: 248 seconds]
jkilpatr has joined #ipfs
robattila256 has joined #ipfs
wmoh has joined #ipfs
dbri1 has quit [Remote host closed the connection]
dbri has joined #ipfs
Akaibu has quit [Quit: Connection closed for inactivity]
mildred3 has joined #ipfs
mildred4 has joined #ipfs
mildred2 has quit [Ping timeout: 240 seconds]
mildred1 has quit [Ping timeout: 255 seconds]
Akaibu has joined #ipfs
wmoh has quit [Ping timeout: 240 seconds]
shamb0t has joined #ipfs
atrapado_ has quit [Ping timeout: 256 seconds]
john2 has joined #ipfs
maciej_ has quit [Ping timeout: 240 seconds]
bastianilso has joined #ipfs
mildred3 has quit [Ping timeout: 258 seconds]
<keks>
cmds rewrite progresses. still getting a lot of test errors but ipfs version and ipfs command work ;) legacy glue code is messy sometimes, i hope I'll be able to clean some of that up...
bastianilso has quit [Read error: Connection reset by peer]
bastianilso has joined #ipfs
palkeo has joined #ipfs
palkeo has joined #ipfs
palkeo has quit [Changing host]
se3000 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ulrichard has quit [Remote host closed the connection]
rendar has joined #ipfs
rendar has quit [Changing host]
rendar has joined #ipfs
shamb0t has quit [Remote host closed the connection]
shamb0t has joined #ipfs
shamb0t has quit [Ping timeout: 255 seconds]
clownpriest has joined #ipfs
shizy has quit [Ping timeout: 240 seconds]
Akaibu has joined #ipfs
pfrazee has joined #ipfs
tabrath has quit [Ping timeout: 240 seconds]
se3000 has joined #ipfs
bastianilso has quit [Quit: bastianilso]
leeola has joined #ipfs
atrapado_ has quit [Quit: Leaving]
john2 has quit [Ping timeout: 240 seconds]
dryajov has joined #ipfs
Baffy[m] has left #ipfs ["User left"]
ashark has quit [Ping timeout: 240 seconds]
galois_d_ has joined #ipfs
galois_dmz has quit [Ping timeout: 256 seconds]
cemerick has quit [Ping timeout: 248 seconds]
cemerick has joined #ipfs
jkilpatr_ has quit [Ping timeout: 248 seconds]
<noffle>
dignifiedquire: thanks for weighing on re web udp. I really like the idea of taking what's already there in webrtc and just exposing something a bit lower down the stack
<noffle>
s/on/in on
<dignifiedquire>
hey noffle
<dignifiedquire>
it's funny, cause I've been reading the webrtc datachannel rfcs the last days
<noffle>
ha
<noffle>
the api being low level is really important to me; the aggressive high levelness of webrtc is what I think contributed to a lot of the difficulties p2p devs are facing
<dignifiedquire>
and in theory they are supposed to expose a reliable/unreliable switch on a per message base, which would enable regular datagram ops on it
<dignifiedquire>
what exactly are you looking for when you say low level?
<noffle>
plain unadorned udp sockets
<dignifiedquire>
but to do what
tmg has joined #ipfs
<dignifiedquire>
what do you want to be able to do, that webrctd can't do
<noffle>
I think it'll also make it easier to have good node support, which webrtc does not yet have
<noffle>
because, I believe, of the protocol complexity
<noffle>
having a simple low level layer, folks can layer non-browser-specific modules on top
<noffle>
also means less heavy dependency on browser vendors for support, dev, features, etc
<noffle>
the community can develop out what it wants
<dignifiedquire>
I might be working on improving that node support, but no promises yet
<noffle>
this is so powerful
<dignifiedquire>
but I do understand, the overhead is quite high
<dignifiedquire>
I just doubt that browser vendors will go for sth like raw udp
aeternity has joined #ipfs
<dignifiedquire>
especially with the current focus on enforcing encryption everywhere
<dignifiedquire>
so you probably need at least an encryption story for a proposal
Encrypt has joined #ipfs
<noffle>
userland can layer encryption on top
<dignifiedquire>
pretty sure that's not going to fly with browser vendors
<noffle>
if we lock ourselves into an encryption spec from the gate, it'll be very hard to change and update, since it'll be locked to vendors and native installs
<dignifiedquire>
you can't even open unencrypted websockets from https sites
wallacoloo____ has joined #ipfs
tilgovi has joined #ipfs
<dignifiedquire>
I understand, I'm just saying there is a strong movement for making all connections encrypted, so I doubt that you would have success with a new connection type that does not has any encryption story
<noffle>
dignifiedquire: best to cross that bridge when/if it is reached, but I'll keep it mind
galois_d_ has quit []
tilgovi_ has joined #ipfs
Encrypt has quit [Quit: Quit]
jkilpatr has joined #ipfs
<noffle>
dignifiedquire: if you have thoughts on the encryption aspect, it'd be awesome if you filed an issue on it
<noffle>
it'd be good to keep that in mind if that's something vendors do push back on
tilgovi has quit [Ping timeout: 255 seconds]
ashark has joined #ipfs
galois_dmz has joined #ipfs
ambientsound has left #ipfs ["WeeChat 1.4"]
wak-work has quit [Quit: Leaving]
clownpriest has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wak-work has joined #ipfs
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
maciejh has joined #ipfs
<dignifiedquire>
sure
tilgovi has joined #ipfs
aquentson1 has joined #ipfs
tilgovi_ has quit [Ping timeout: 255 seconds]
mildred1 has joined #ipfs
mildred has joined #ipfs
aquentson has quit [Ping timeout: 240 seconds]
mildred3 has quit [Ping timeout: 255 seconds]
mildred4 has quit [Ping timeout: 276 seconds]
<kythyria[m]>
Does anything actually implement SCTP's reliable/unreliable switch?
G-Ray has joined #ipfs
dryajov1 has joined #ipfs
tilgovi_ has joined #ipfs
dryajov1 has quit [Client Quit]
cemerick has quit [Ping timeout: 248 seconds]
tilgovi has quit [Ping timeout: 252 seconds]
tilgovi_ has quit [Remote host closed the connection]
muvlon has quit [Quit: Leaving]
Akaibu has quit [Quit: Connection closed for inactivity]
aedigix has quit [Remote host closed the connection]
aedigix has joined #ipfs
mildred2 has joined #ipfs
mildred3 has joined #ipfs
<dignifiedquire>
kythyria[m]: usrsctp does as far as I know
mildred4 has joined #ipfs
<kythyria[m]>
Ah
<dignifiedquire>
I haven't found any details on what the browsers actually implement/expose yet
mildred1 has quit [Ping timeout: 240 seconds]
<dignifiedquire>
the codebase of webrtcnative (the shared project between chrome & firefox) is not very easy to navigate or documented
mildred has quit [Ping timeout: 255 seconds]
mildred3 has quit [Ping timeout: 240 seconds]
G-Ray has quit [Quit: G-Ray]
sprint-helper has quit [Remote host closed the connection]
sprint-helper has joined #ipfs
maxlath has joined #ipfs
galois_dmz has quit [Remote host closed the connection]
galois_dmz has joined #ipfs
matoro has quit [Ping timeout: 256 seconds]
MikeFair has joined #ipfs
<whyrusleeping>
when we implement packet switching it will go over udp
<whyrusleeping>
so having web udp will be great
sprint-helper has quit [Remote host closed the connection]
sprint-helper has joined #ipfs
maxlath has quit [Ping timeout: 240 seconds]
tmg has quit [Ping timeout: 256 seconds]
<Kubuxu>
whyrusleeping: login into chanserv
<whyrusleeping>
make me
* whyrusleeping
doesnt feel adminy today
<Kubuxu>
whyrusleeping: you are still not logged in
<whyrusleeping>
i didnt log in
<whyrusleeping>
i'm blending in
<Kubuxu>
using IPv6, fancy
<Kubuxu>
:p
<whyrusleeping>
:D
mildred3 has joined #ipfs
<whyrusleeping>
its very weird that it shows me as having an ipv6 actually
Caterpillar has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
<whyrusleeping>
that is one of the ips assigned to my ramnode box
tmg has joined #ipfs
mildred2 has quit [Ping timeout: 276 seconds]
<yangwao>
whyrusleeping: yay, just want say hi, since 33c3. :)
<yangwao>
and lately, I've had time to get back to my ipfs home node on aarch64.. and looks like it works and it's available! )
<whyrusleeping>
yangwao: hey!
<yangwao>
(if you remmeber issue w/ nat traversal and so on)
<whyrusleeping>
Yeah, i remember vaguely. Though i don't remember what we tried for fixing it
<yangwao>
me either, but it works now, looks like, that's more than good that I can transfer now files back to home
<whyrusleeping>
thats great!
<yangwao>
but I found, that ipfs on arm is still problem, at least when I try pin more files >1000 or 10-20M folder
<whyrusleeping>
probably a ram issue?
<whyrusleeping>
i'm assuming doing large operations like that will use more ram than some arm devices have
<whyrusleeping>
we have a lot of optimizing to do there
<yangwao>
there should be 2G ram
<yangwao>
it's Odroid-C2 from Korea, yay.
<yangwao>
I can help if so, run some tests
<whyrusleeping>
oooh, hrm...
<whyrusleeping>
what happens when you try to do those pins?
<yangwao>
but for continuing my job for ipfs-hypercube, it's my aim to run ipfs on aarch64 flawlessly
<Kubuxu>
yangwao: how is C2 working for you? I am considering buying few of them.