Kubuxu changed the topic of #ipfs to: go-ipfs 0.4.14 is out! Try out all the new features: https://dist.ipfs.io/go-ipfs/v0.4.14 | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS, the InterPlanetary FileSystem: https://github.com/ipfs/ipfs | Logs: https://botbot.me/freenode/ipfs/ | Forums: https://discuss.ipfs.io | Code of Conduct: https://git.io/vVBS0"
weez17 has quit [Remote host closed the connection]
weez17 has joined #ipfs
coil[m] has joined #ipfs
Lymkwi has quit [Quit: No Ping reply in 180 seconds.]
Adbray has quit [Disconnected by services]
Adbray_ has joined #ipfs
kivutar has quit [Ping timeout: 264 seconds]
Lymkwi has joined #ipfs
kivutar has joined #ipfs
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #ipfs
infinity0_ has joined #ipfs
infinity0 is now known as Guest70702
infinity0_ has joined #ipfs
Guest70702 has quit [Killed (card.freenode.net (Nickname regained by services))]
infinity0_ has quit [Changing host]
infinity0_ is now known as infinity0
smuten_ has quit [Ping timeout: 264 seconds]
aramnhammer[m] has joined #ipfs
colatkinson has quit [Quit: colatkinson]
colatkinson has joined #ipfs
rngkll has joined #ipfs
shizy has joined #ipfs
kivutar has quit [Ping timeout: 264 seconds]
MilkManzJourDadd has quit [Disconnected by services]
MilkManzJourDadd has joined #ipfs
djdv has joined #ipfs
kivutar has joined #ipfs
chowie has joined #ipfs
pcardune has joined #ipfs
goiko_ has joined #ipfs
goiko has quit [Ping timeout: 265 seconds]
pcardune has quit [Ping timeout: 264 seconds]
rngkll has quit [Remote host closed the connection]
Fessus has quit [Quit: Leaving]
fiatjaf has joined #ipfs
dimitarvp has quit [Quit: Bye]
Fessus has joined #ipfs
lord| has quit [Ping timeout: 260 seconds]
kivutar has quit [Ping timeout: 240 seconds]
ericxtang has joined #ipfs
user51 has joined #ipfs
colatkinson has quit [Ping timeout: 264 seconds]
kivutar has joined #ipfs
user_51 has quit [Ping timeout: 268 seconds]
lord| has joined #ipfs
domanic has joined #ipfs
domanic has quit [Ping timeout: 245 seconds]
domanic has joined #ipfs
domanic has quit [Ping timeout: 265 seconds]
wolven has joined #ipfs
pcardune has joined #ipfs
kivutar has quit [Ping timeout: 240 seconds]
pcardune has quit [Ping timeout: 265 seconds]
petrvegan[m] has joined #ipfs
kivutar has joined #ipfs
hph^ has quit []
Sigma has quit [Quit: ZNC - http://znc.in]
Sigma has joined #ipfs
jj has joined #ipfs
<jj> hello
<jj> is anyone here?
<jj> I have a few questions regarding ifps pubsub if anyone wants to take a shot at it?
jj has quit [Client Quit]
jj has joined #ipfs
jj has quit [Client Quit]
jj_ has joined #ipfs
jj has joined #ipfs
jj_ has quit [Client Quit]
jj has quit [Client Quit]
warner has quit [Read error: Connection reset by peer]
warner has joined #ipfs
jj_ has joined #ipfs
jj has joined #ipfs
shizy has quit [Ping timeout: 268 seconds]
jj_ has quit [Client Quit]
jj has quit [Client Quit]
jj has joined #ipfs
<jj> hello
<jj> is anybody here?
<jj> I'd like to ask a few questions about ipfs pubsub
kivutar has quit [Ping timeout: 264 seconds]
<jj> how does one get it's output into a variable?
<TUSF> If you're calling it through the command, you can run "ipfs pubsub sub <topic> --enc json"
<TUSF> This will return the output as a JSON object that you can then parse as needed.
<jj> omg!! thanks soo much! im going to try it out right now. literarly i got up this morning to tackle this problem. 12 hours later....
<jj> kept trying to find how to suprocess.check_output() subprocess.Popen() etc,...
<TUSF> It even tells you who sent the message and all
<TUSF> Wait, I think "--enc json" should be before the <topic>, hah
<jj> it works
<TUSF> Gotcha
<jj> but I guess my question would be how to get the output into a variable? when I call the command ipfs pubsub sub it never finishes the process
<TUSF> Well, from where are you calling it?
<jj> im using Python's ipfsapi to write a script that listens to a node publish
<jj> so I've been tyring to do stuff liek this all day: proc = subprocess.Popen(["ipfs", "pubsub", "sub", "<topic>"], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
<jj> I never get any output
<TUSF> Well, I don't know too much about python, but if you're piping stdout, is there a way to read from a pipe until a certain character?
<TUSF> For example, at a new line?
kivutar has joined #ipfs
<jj> ....I dont know much aobut the subprocess modules, that's what Ive been tryignto research all day lol...stressed
<jj> im sure there is an easy fix, I just haven't figured it out yet
<jj> I didnt know that "--enc json" though, thanks for that, it will definlty come usefull
lord| has quit [Quit: WeeChat 2.1]
lord| has joined #ipfs
<TUSF> Maybe try using open() on Popen.stdout? Should return a file object you can read from?
<jj> im trying process = subprocess.Popen(["ipfs", "pubsub", "sub", "GofkZ9GO", "--enc json"], shell=True, stdout=subprocess.PIPE,
<jj> oops, how to copy code here?
<TUSF> Probably better to link it on something
lord| has quit [Client Quit]
lord| has joined #ipfs
<jj> that's somwthign I was trying. but it's still not working. The topic is just a random 8 digit code
<TUSF> So what happens when you run it?
<jj> i ran that. and this is the result
<TUSF> Hrm... Yeah, I don't know enough about Python to be any good here, haha
<jj> what about terminal commands?
<jj> that could help too
<TUSF> For this case, dunno how to help.
<jj> ok, thanks anyways
fahrradflucht has joined #ipfs
vimclippy_ has quit [Quit: ZNC - http://znc.in]
vimclippy has joined #ipfs
vimclippy has quit [Remote host closed the connection]
vimclippy has joined #ipfs
pcardune has joined #ipfs
dvim has joined #ipfs
ericxtang has quit [Ping timeout: 276 seconds]
pcardune has quit [Ping timeout: 268 seconds]
ericxtang has joined #ipfs
kivutar has quit [Ping timeout: 260 seconds]
kivutar has joined #ipfs
zz has joined #ipfs
Mateon3 has joined #ipfs
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
toxync01- has joined #ipfs
toxync01- is now known as _toxync01-
_toxync01- is now known as toxync01_
toxync01_ is now known as _toxync01_
<jj> does anyone know how to read from a process while it's active through shell commands?
ilyaigpetrov has joined #ipfs
_toxync01_ is now known as toxync01_
toxync01 has quit [Ping timeout: 264 seconds]
toxync01_ is now known as toxync01
<jj> does anyone know how to catpure output of:$ipfs pubsub sub <topic>
<JCaesar> jj: what do you mean, capture?
zz has quit []
<JCaesar> You can pipe things…
<jj> yeah, I need help piping output using python preferably
<jj> if not i can pass shell commands to python
<jj> Im tyring this command: process = subprocess.Popen(command, stdout=subprocess.PIPE)
<jj> command being: ["ipfs", "pubsub", "sub", "foo"]
<jj> it hangs on it. I never get any output to store in a variable
<jj> it seems:$ipfs pubsub sub <topic> never ends the process
Sokol has joined #ipfs
ericxtang has quit [Remote host closed the connection]
pcardune has joined #ipfs
wolven has quit [Quit: Page closed]
ericxtang has joined #ipfs
<JCaesar> Oooh. This is a python problem. There is no shell involved.
<jj> well, then woudl you happen to know how I could achieve that through shell commands?
<JCaesar> I'm not sure you mean by "shell comands" what I understand as "shell commands".
pcardune has quit [Ping timeout: 255 seconds]
<jj> well, what Im trying to say is: when I run the command:$ipfs pubsub sub <topic> It will just hang there running the process if there is no subscription
<JCaesar> That sounds either like a bug or like you don't understand what ipfs pubsub sub will do.
<JCaesar> It is supposed to "hang".
<jj> I'd like to store the output of $ipfs pubus sub <topic> somehow, but the process never ends for me to be able to "store" or get the result output
<JCaesar> Well, that's the nature of a stream.
<JCaesar> A stream never ends.
ericxtang has quit [Ping timeout: 265 seconds]
<jj> yeah would you happend to know how to read the stream?
<JCaesar> You can go ipfs pubsub sub $FOO >>pubsublog , for example.
<JCaesar> What you have to ask yourself is: read it and then do what?
<jj> ok! yeah ipfs pubsub sub $FOO >> pubsublog works!
<jj> exactly what I needed. now I can read that pubsublog
<jj> and parse it
<jj> thanks
<jj> well, read it and then idk. Im trying to make a folder syncing script with pubsub and ipfs
<jj> my project is still in it's infancy. im learning all about IPFS as I go along, and just for the fun of it
<jj> i still dont even know how to use pubsub to make it work into a file syncing program of sorts, still doing my research
<jj> ill probably be on this chat node more often now
<JCaesar> I mean, you can use pubsub to publish ipfs hashes. But if you want more than one entity to write to your synced folders, you're up for some fun with the CAP theorem and conflict resolution.
kaotisk has quit [Read error: Connection reset by peer]
kaotisk has joined #ipfs
<jj> I'll just have it to have once central folder that publishes changes to all other nodes synching that folder
<jj> i guess ill use pubsub to "git pull" the changes to the central folder
ralphtheninja2 has joined #ipfs
ynyounuo has joined #ipfs
ynyounuo has joined #ipfs
ynyounuo has quit [Changing host]
rendar has joined #ipfs
s4y has quit [Ping timeout: 264 seconds]
s4y has joined #ipfs
goiko_ has quit [Quit: ﴾͡๏̯͡๏﴿ O'RLY? Bye!]
pat36 has joined #ipfs
goiko has joined #ipfs
goiko has joined #ipfs
goiko has quit [Changing host]
SunflowerSociety has joined #ipfs
SunflowerSociety has quit [Changing host]
SunflowerSociety has joined #ipfs
fahrradflucht has quit [Quit: Connection closed for inactivity]
zautomata has quit [Ping timeout: 265 seconds]
lnostdal has joined #ipfs
clemo has joined #ipfs
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
trqx has quit [Remote host closed the connection]
trqx has joined #ipfs
mtodor has joined #ipfs
mtodor_ has joined #ipfs
mtodor_ has quit [Read error: Connection reset by peer]
mtodor has quit [Ping timeout: 265 seconds]
jj has quit [Remote host closed the connection]
mtodor has joined #ipfs
mtodor has quit [Remote host closed the connection]
mtodor has joined #ipfs
mtodor has quit [Ping timeout: 260 seconds]
ericxtang has joined #ipfs
scde_ has joined #ipfs
scde_ has quit [Remote host closed the connection]
chowie has quit [Ping timeout: 264 seconds]
ericxtang has quit [Ping timeout: 245 seconds]
lnostdal has quit [Ping timeout: 276 seconds]
zautomata has joined #ipfs
kivutar has quit [Ping timeout: 260 seconds]
kivutar has joined #ipfs
tpircs has joined #ipfs
espadrine_ has quit [Ping timeout: 260 seconds]
zautomata has quit [Ping timeout: 264 seconds]
joocain2 has quit [Ping timeout: 268 seconds]
joocain2 has joined #ipfs
lnostdal has joined #ipfs
kivutar has quit [Ping timeout: 264 seconds]
ejsf_ has quit [Quit: leaving]
ejsf has joined #ipfs
raynold has joined #ipfs
kivutar has joined #ipfs
zautomata has joined #ipfs
tpircs has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zautomata has quit [Changing host]
zautomata has joined #ipfs
<mkg20001> I made a (currently still broken and unfinished) web terminal with the IPFS CLI! https://ipfs-cli.mkg20001.io/ Could be useful for docs
dimitarvp has joined #ipfs
chriscool1 has quit [Quit: Leaving.]
Louiqa_ has joined #ipfs
zautomata has quit [Quit: WeeChat 1.9.1]
zautomata has joined #ipfs
seizo has joined #ipfs
smuten_ has joined #ipfs
plexigras has quit [Ping timeout: 256 seconds]
brabo has quit [Ping timeout: 255 seconds]
brabo has joined #ipfs
lnostdal has quit [Ping timeout: 256 seconds]
plexigras has joined #ipfs
kivutar has quit [Ping timeout: 240 seconds]
Kyung has joined #ipfs
Kyung has left #ipfs [#ipfs]
kivutar has joined #ipfs
<JCaesar> mkg20001: Is that made with shellinabox?
<JCaesar> Also, the newlines don't render correctly for me…
Louiqa_ has left #ipfs [#ipfs]
<JCaesar> "render". The line feed works, but the return carriage doesn't.
<mkg20001> No. It's using xterm.js for the terminal emulation. Yes, I already know about the newlines bug. Just don't know how to fix it.
tpircs has joined #ipfs
<mkg20001> shellinabox seems to require a server. This thing runs completly in the browser
adgtl_ has joined #ipfs
Kyung has joined #ipfs
adgtl_ is now known as adgtl
ralphtheninja2 has left #ipfs [#ipfs]
adgtl has left #ipfs [#ipfs]
zautomata1 has joined #ipfs
zautomata has quit [Ping timeout: 245 seconds]
ericxtang has joined #ipfs
ericxtang has quit [Ping timeout: 264 seconds]
chriscool1 has joined #ipfs
xzha has joined #ipfs
xzha has quit [Ping timeout: 256 seconds]
xzha has joined #ipfs
kivutar has quit [Ping timeout: 265 seconds]
chriscool1 has quit [Quit: Leaving.]
brabo has quit [Ping timeout: 240 seconds]
kivutar has joined #ipfs
brabo has joined #ipfs
shoogz has quit [Ping timeout: 268 seconds]
brabo has quit [Ping timeout: 240 seconds]
brabo has joined #ipfs
joocain2 has quit [Ping timeout: 268 seconds]
joocain2 has joined #ipfs
shoogz has joined #ipfs
smuten_ has quit [Ping timeout: 264 seconds]
anewuser has joined #ipfs
TUSF has quit [Ping timeout: 260 seconds]
xzha has quit [Ping timeout: 255 seconds]
kivutar has quit [Ping timeout: 264 seconds]
kivutar has joined #ipfs
hph^ has joined #ipfs
raynold has quit [Quit: Connection closed for inactivity]
reit has joined #ipfs
}ls{ has joined #ipfs
Kyung has quit [Remote host closed the connection]
SamLord[m] has joined #ipfs
kivutar has quit [Ping timeout: 240 seconds]
Steverman has joined #ipfs
scde has quit [Ping timeout: 276 seconds]
kivutar has joined #ipfs
Guest4662 has joined #ipfs
scde has joined #ipfs
lnostdal has joined #ipfs
shizy has joined #ipfs
Kyung has joined #ipfs
lassulus has quit [Ping timeout: 256 seconds]
newhouse has joined #ipfs
visualkev[m] has joined #ipfs
kivutar has quit [Ping timeout: 256 seconds]
Steverman has quit [Quit: WeeChat 2.1]
chriscool1 has joined #ipfs
joocain2 has quit [Ping timeout: 268 seconds]
kivutar has joined #ipfs
joocain2 has joined #ipfs
scde__ has joined #ipfs
lassulus has joined #ipfs
tpircs has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
scde__ has quit [Quit: Leaving]
shizy has quit [Ping timeout: 240 seconds]
lnostdal has quit [Ping timeout: 260 seconds]
shizy has joined #ipfs
lnostdal_ has joined #ipfs
shizy has quit [Ping timeout: 260 seconds]
lnostdal_ has quit [Ping timeout: 264 seconds]
newhouse has quit [Read error: Connection reset by peer]
kivutar has quit [Ping timeout: 264 seconds]
newhouse has joined #ipfs
kivutar has joined #ipfs
vandemar has quit [Remote host closed the connection]
bomb-on is now known as cryptojesus
dolphy has joined #ipfs
Caterpillar2 has joined #ipfs
Encrypt has joined #ipfs
tombusby has quit [Remote host closed the connection]
tombusby has joined #ipfs
tombusby has quit [Remote host closed the connection]
tombusby has joined #ipfs
detectiveaoi has joined #ipfs
ericxtang has joined #ipfs
rngkll has joined #ipfs
newhouse has quit [Read error: Connection reset by peer]
djdv has quit [Read error: Connection reset by peer]
newhouse has joined #ipfs
djdv has joined #ipfs
newhouse has quit [Read error: Connection reset by peer]
vandemar has joined #ipfs
kivutar has quit [Ping timeout: 255 seconds]
scde has quit [Quit: Leaving]
scde has joined #ipfs
kivutar has joined #ipfs
JasonLiu has joined #ipfs
ericxtang has quit [Remote host closed the connection]
Magik6k has joined #ipfs
smuten_ has joined #ipfs
ericxtang has joined #ipfs
smuten_ has quit [Ping timeout: 265 seconds]
ericxtang has quit [Ping timeout: 265 seconds]
smuten_ has joined #ipfs
lemonpepper24 has quit [Ping timeout: 260 seconds]
ygrek has joined #ipfs
Encrypt has quit [Quit: Quit]
moet has joined #ipfs
lemonpepper24 has joined #ipfs
espadrine_ has joined #ipfs
TUSF has joined #ipfs
scde has quit [Quit: Leaving]
shizy has joined #ipfs
jokoon has joined #ipfs
jokoon has quit [Client Quit]
Caterpillar2 has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
anewuser has quit [Ping timeout: 276 seconds]
kivutar has quit [Ping timeout: 240 seconds]
captain_morgan has quit [Quit: Ex-Chat]
captain_morgan has joined #ipfs
cryptojesus is now known as bomb-on
detectiveaoi has quit [Remote host closed the connection]
detectiveaoi has joined #ipfs
kivutar has joined #ipfs
detectiveaoi has quit [Remote host closed the connection]
detectiveaoi has joined #ipfs
domanic has joined #ipfs
detectiveaoi has quit [Remote host closed the connection]
Ecran has joined #ipfs
ygrek has quit [Ping timeout: 260 seconds]
userawn[m] has joined #ipfs
fahrradflucht has joined #ipfs
rendar has quit []
rngkll has quit []
lnostdal has joined #ipfs
mildred has joined #ipfs
Encrypt has joined #ipfs
shizy has quit [Ping timeout: 260 seconds]
domanic has quit [Ping timeout: 260 seconds]
shizy has joined #ipfs
smuten_ has quit [Ping timeout: 260 seconds]
kivutar has quit [Ping timeout: 256 seconds]
mildred has quit [Quit: mildred]
kivutar has joined #ipfs
JasonLiu has quit [Quit: Connection closed for inactivity]
pat36 has quit []
raynold has joined #ipfs
sppqd[m] has joined #ipfs
ericxtang has joined #ipfs
lemonpepper24 has quit [Ping timeout: 256 seconds]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
kivutar has quit [Ping timeout: 240 seconds]
Trieste has quit [Quit: Be well!]
Trieste has joined #ipfs
<ToxicFrog> Newlines busted here too --- I'm guessing the shell is sending \n but the tty is in raw mode and wants \r\n
<ToxicFrog> What are you using for the tty, xterm.js?
lnostdal has quit [Ping timeout: 260 seconds]
kivutar has joined #ipfs
jj has joined #ipfs
ericxtang has quit [Remote host closed the connection]
tsglove has quit [Ping timeout: 260 seconds]
<jj> hi
<jj> is this IPFS?
<jj> am i in ght right channel?
<jj> :9
<jj> does the IPFS community have somehting similar to this chat but using the IPFS network?
tsglove has joined #ipfs
cxl000 has quit [Ping timeout: 248 seconds]
zautomata1 has quit [Ping timeout: 255 seconds]
zautomata3 has joined #ipfs
lnostdal has joined #ipfs
JimmieD has quit [Quit: Leaving]
Kyung has quit [Remote host closed the connection]
cxl000 has joined #ipfs
<voker57> yes; no
shizy has quit [Ping timeout: 260 seconds]
SunflowerSociety has quit [Remote host closed the connection]
ONI_Ghost has joined #ipfs
lord| has quit [Ping timeout: 265 seconds]
chriscool1 has quit [Quit: Leaving.]
lord| has joined #ipfs
Fessus has quit [Quit: Leaving]
Fessus has joined #ipfs
kivutar has quit [Ping timeout: 255 seconds]
MrSaprkle is now known as MrSparkle
moet has quit [Quit: leaving]
Encrypt has quit [Quit: Quit]
kivutar has joined #ipfs
shizy has joined #ipfs
fahrradflucht has quit [Quit: Connection closed for inactivity]
chowie has joined #ipfs
cxl000 has quit [Quit: Leaving]
movaex_ has joined #ipfs
dolphy has quit [Ping timeout: 256 seconds]
_zezu has joined #ipfs
Xiti has quit [Ping timeout: 256 seconds]
shizy has quit [Ping timeout: 265 seconds]
movaex_ has quit [Ping timeout: 256 seconds]
Xiti has joined #ipfs
Taoki has joined #ipfs
trqx has quit [Ping timeout: 268 seconds]
underikar has joined #ipfs
kivutar has quit [Ping timeout: 260 seconds]
trqx has joined #ipfs
kivutar has joined #ipfs
Ecran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
trqx has quit [Ping timeout: 268 seconds]
trqxx has joined #ipfs
_zezu has quit [Ping timeout: 276 seconds]
trqxx has quit [Ping timeout: 268 seconds]
trqx has joined #ipfs
smuten_ has joined #ipfs
domanic has joined #ipfs
domanic has quit [Ping timeout: 264 seconds]
kivutar has quit [Ping timeout: 260 seconds]
kivutar has joined #ipfs
DJ-AN0N has joined #ipfs
DJ-AN0N has quit [Client Quit]
DJ-AN0N has joined #ipfs
pawalls has joined #ipfs
pawalls has quit [Remote host closed the connection]