weez17 has quit [Remote host closed the connection]
weez17 has joined #ipfs
tg has joined #ipfs
reit has joined #ipfs
jpaaop has joined #ipfs
jpaaop has quit [Client Quit]
jared4dataroads has quit [Ping timeout: 240 seconds]
Ecran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
chjk6x has quit [Ping timeout: 264 seconds]
infinity0_ has joined #ipfs
infinity0_ has quit [Changing host]
infinity0 has joined #ipfs
infinity0 has quit [Killed (orwell.freenode.net (Nickname regained by services))]
jared4dataroads has joined #ipfs
chowie has joined #ipfs
Steverman has joined #ipfs
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
gptrn[m] has joined #ipfs
ribasushi has quit [Quit: So long and thankful is the fish...]
ars0n has joined #ipfs
espadrine has quit [Ping timeout: 256 seconds]
sim590 has joined #ipfs
alexgr has quit [Ping timeout: 264 seconds]
edulix has quit [Ping timeout: 260 seconds]
Mateon1 has quit [Ping timeout: 260 seconds]
ars0n has quit [Quit: ars0n]
_whitelogger has joined #ipfs
Steverman has quit [Ping timeout: 256 seconds]
Alexeev has quit [Ping timeout: 240 seconds]
brianvanderschaa has joined #ipfs
Mateon2 has joined #ipfs
brianvanderschaa is now known as bvanderschaaf
anewuser has joined #ipfs
neosloth has quit [Remote host closed the connection]
lord| has quit [Ping timeout: 256 seconds]
bvanderschaaf is now known as dappricot
phritz has joined #ipfs
dappricot has quit []
lord| has joined #ipfs
phritz has quit [Remote host closed the connection]
phritz has joined #ipfs
phritz has quit [Remote host closed the connection]
lord| has quit [Ping timeout: 260 seconds]
shizy has joined #ipfs
bwn has quit [Ping timeout: 246 seconds]
lord| has joined #ipfs
bwn has joined #ipfs
risciii has quit [Ping timeout: 260 seconds]
ryjen has quit [Quit: ryjen]
ryjen has joined #ipfs
user51 has joined #ipfs
user_51 has quit [Ping timeout: 240 seconds]
ryjen__ has joined #ipfs
anewuser has quit [Ping timeout: 240 seconds]
ryjen__ has quit [Quit: ryjen__]
captain_morgan has quit [Quit: Ex-Chat]
captain_morgan has joined #ipfs
shizy has quit [Ping timeout: 240 seconds]
risciii has joined #ipfs
risciii has left #ipfs [#ipfs]
nicu has joined #ipfs
_whitelogger has joined #ipfs
ryjen has quit [Quit: ryjen]
ryjen_ has quit [Quit: ryjen_]
ryjen has joined #ipfs
cxl000 has quit [Quit: Leaving]
colatkinson has joined #ipfs
Vaelatern has joined #ipfs
<zeta0134>
I'm trying to write a script to hit the IPFS api and determine the health of a particular file, assuming that's possible. But I've noticed an odd discrepency
<zeta0134>
If I ask the CLI for the providers of a particular hash, this hash as a test case: QmQTBpg3F4n6PBqxpzsatZvGLw9d2pxrbitzy4RHf7Tmia
<zeta0134>
I get just the one result like I'm expecting; that file is hosted on my machine upstairs, and I don't think should be anywhere else on the network
<zeta0134>
But if I query the API for it, I get quite a wall of text that I'm not sure how to decipher
<zeta0134>
In this case, the API call I'm making is a GET request:
<zeta0134>
I feel like it should be possible to parse the output of the HTTP call and make some sense of it, such that I could get the same logical result as the CLI, but I'm not sure what I'm looking at honestly; the key names "Extra", "Response", and "Type" don't make any sense without some context. Is this documented somewhere that I'm missing?
<whyrusleeping>
zeta0134: ah, yeah. Its probably giving you the full verbose info on resolving that dht query
<zeta0134>
Looks that way, if I pass in the -v flag at the CLI, I get what appears to be similar output, though it cuts off with a timeout
<zeta0134>
Okay, that makes a bit more sense! If I'm reading that correctly, I should be able to scan for anything with a QueryEventType of Provider (int == 4)... let me try that
<zeta0134>
Though it also seems the verbose flag is ignored; I tried a bunch of variations on it
<whyrusleeping>
Yeah, i think the verbose flag is only used to control CLI output
<whyrusleeping>
not api
<whyrusleeping>
kinda like how the -o option on `ipfs get` doesnt do anything via the api
metric_ has quit [Quit: No Ping reply in 180 seconds.]
metric has joined #ipfs
metric is now known as Guest39215
colatkinson has quit [Quit: colatkinson]
Adbray has quit [Remote host closed the connection]
Adbray has joined #ipfs
Adbray has quit [Max SendQ exceeded]
Adbray has joined #ipfs
Adbray has quit [Max SendQ exceeded]
aananev has quit [Ping timeout: 264 seconds]
Obscurity[m] has quit [Ping timeout: 255 seconds]
CrAzYPiLoT has quit [Quit: See you in hell.]
erikj` has quit [Ping timeout: 252 seconds]
i5heu has quit [Ping timeout: 255 seconds]
aer[m] has quit [Ping timeout: 255 seconds]
cam[m]1 has quit [Ping timeout: 252 seconds]
aananev has joined #ipfs
projectmayhem[m] has quit [Ping timeout: 255 seconds]
ygrek has joined #ipfs
M1trace[m] has quit [Ping timeout: 255 seconds]
aer[m] has joined #ipfs
svartfogel[m] has quit [Ping timeout: 255 seconds]
Obscurity[m] has joined #ipfs
XD[m]1 has quit [Ping timeout: 252 seconds]
XD[m]1 has joined #ipfs
projectmayhem[m] has joined #ipfs
M1trace[m] has joined #ipfs
_whitelogger has quit [K-Lined]
_whitelogger has joined #ipfs
svartfogel[m] has joined #ipfs
i5heu has joined #ipfs
Matthew[m] has quit [Read error: Connection timed out]
CrAzYPiLoT has joined #ipfs
CrAzYPiLoT has joined #ipfs
CrAzYPiLoT has quit [Changing host]
Matthew[m] has joined #ipfs
elevated has quit [Quit: bye]
erikj` has joined #ipfs
keks[m] has quit [Read error: Connection timed out]
keks[m] has joined #ipfs
newhouse has quit [Ping timeout: 240 seconds]
yuhl_ has joined #ipfs
alexgr has joined #ipfs
elevated has joined #ipfs
elevated has quit [Client Quit]
elevated has joined #ipfs
Steverman has joined #ipfs
equalunique[m] has quit [Ping timeout: 255 seconds]
equalunique[m] has joined #ipfs
herzmeister[m] has quit [Read error: Connection timed out]
herzmeister[m] has joined #ipfs
djdv has joined #ipfs
ONI_Ghost has quit [Read error: Connection reset by peer]
ONI_Ghost has joined #ipfs
Caterpillar has quit [Read error: Connection reset by peer]
Caterpillar has joined #ipfs
Steverman has quit [Ping timeout: 248 seconds]
lanlink has joined #ipfs
mildred has joined #ipfs
mildred has quit [Quit: mildred]
Alexeev has joined #ipfs
clemo has joined #ipfs
tsglove2 has quit [Quit: Leaving]
tenchooo has quit [Read error: Connection reset by peer]
tenchooo has joined #ipfs
perguth has quit [Remote host closed the connection]
pguth64 has quit [Remote host closed the connection]
tsglove has joined #ipfs
gts has joined #ipfs
lord| has quit [Quit: WeeChat 2.0.1]
Alexeev has quit [Ping timeout: 246 seconds]
ONI_Ghost has quit [Ping timeout: 240 seconds]
ONI_Ghost has joined #ipfs
ONI_Ghost has quit [Read error: Connection reset by peer]
trqx has quit [Remote host closed the connection]
trqx has joined #ipfs
eentrottel[m] has joined #ipfs
Alexeev has joined #ipfs
ansuz_ is now known as ansuz
cypher_ is now known as cypher
cypher has quit [Changing host]
cypher has joined #ipfs
wildfox has joined #ipfs
gts has quit []
Ishtv4n has joined #ipfs
lord| has joined #ipfs
r3c0d3x has quit [Ping timeout: 246 seconds]
r3c0d3x has joined #ipfs
<JohnyTheSmith>
Which parts of a file do actualy play into the hash? Is Metadata such as date of creation of the file relevant? In other words, if my node fails but i have a backup of the files, could i simply add them again once i replaced it?
<voker57>
JohnyTheSmith: only actual file content
<JohnyTheSmith>
thanks voker57
<voker57>
if you add a directory, file names are also included but I think unixfs does not store anything else
pedrovian1 has joined #ipfs
<JohnyTheSmith>
Well, i will save my ipfs add and ipfs pin commands to a shell so i dont actualy have to type and wait for all of it again in such a case then.
pedrovian_ has quit [Ping timeout: 264 seconds]
Alexeev has quit [Ping timeout: 265 seconds]
rngkll has quit [Ping timeout: 264 seconds]
rngkll has joined #ipfs
<cyberwolf[m]1>
what to keep in ipfs?
<cyberwolf[m]1>
what do you store in ipfs?
<doubleorseven[m]>
> what do you store in ipfs?
<doubleorseven[m]>
we store jsons
toxync01 has quit [Ping timeout: 240 seconds]
rngkll_ has joined #ipfs
<voker57>
data
toxync01 has joined #ipfs
<JCaesar>
voker57: Saying that only file content is relevant for the hash is a bit… There's also whether you added with raw-leaves and your chunking algorithm…
<voker57>
JCaesar: yeah, but they asked about parts of a file
fireglow has joined #ipfs
maxzor_ has joined #ipfs
maxzor has quit [Read error: Connection reset by peer]
toxync01- has joined #ipfs
toxync01- is now known as toxync01_
toxync01 has quit [Ping timeout: 256 seconds]
toxync01_ is now known as toxync01
toxync01- has joined #ipfs
toxync01- is now known as toxync01_
<Kubuxu>
cyberwolf[m]1: we use it for all of our websites, for dependency management of go-ipfs and a lot other things
toxync01 has quit [Ping timeout: 264 seconds]
toxync01_ is now known as toxync01
<Kubuxu>
some work on creating Ethereum over IPFS nodes.
<JohnyTheSmith>
speaking of, whatever us up with filecoin? I can find pricing information, filecoin.io only lets you apply to an early miner program, why the appearent exclusivity?
<voker57>
JohnyTheSmith: it's probably better to ask in #filecoin
<Fessus>
JohnyTheSmith, because they wanted to make lots of money but now the FTC is probably investigating them so no new updates
<JohnyTheSmith>
The FTC? So fraudsters then?
<Fessus>
they ran an ICO at a time when ICOs were not a good idea to run in the US
<JohnyTheSmith>
i see.
<Fessus>
not necessarily a fraud, just a dumb move
<r0kk3rz>
which is funny because i remember they limited it to accredited investors anyway
Fessus has quit [Quit: Leaving]
jesse22 has joined #ipfs
dgrisham has quit [Ping timeout: 252 seconds]
ralphtheninja has left #ipfs [#ipfs]
jesse22_ has joined #ipfs
jesse22 has quit [Ping timeout: 260 seconds]
dgrisham has joined #ipfs
purewater[m] has joined #ipfs
<limbo_>
ICOs hadn't been ruled on back then though.
Neomex has joined #ipfs
Neomex has quit [Remote host closed the connection]
<jared4dataroads>
M-flyingzumwalt: is it ok to be a "fly on the wall" during that Decentralized Data Stewardship call? I know library and museum data specialists who may have second-hand interest.
<M-flyingzumwalt>
yep. it's an open call.
<M-flyingzumwalt>
we should record it too, if we remember!
<jared4dataroads>
Cool. Also to restate my last comments on the All-Hands, the last 10 min sounded like "How are we going to show these tutorials to newcomers?" My idea of a new call is "Hey newcomers, what do you think of these tutorials?"
fredthomsen has quit [Quit: Leaving.]
fredthomsen has joined #ipfs
rodolf0 has joined #ipfs
ygrek has quit [Remote host closed the connection]
Ishtv4n has joined #ipfs
espadrine has joined #ipfs
<jamiew>
I have an external disk mounted to /mnt/disk on an ubuntu system. `ipfs add` fails for any file, saying "Error: lstat random-empty-file: no such file or directory" – has anyone run into this before?
<jamiew>
works just fine on the internal disk, just not this external disk
<jamiew>
If I copy empty-random-file to my home directory, `ipfs add` works just fine
<redfish>
jamiew: you could 'strace -f -e trace=file ipfs add .... 2>/tmp/log 1>&2' to see what's the exact error from the syscall
<redfish>
i ran into a counter-intuitive error once. it was because of file/dir permissions.
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
Ishtv4n has quit [Remote host closed the connection]
Ishtv4n has joined #ipfs
vasco-santos has quit [Ping timeout: 260 seconds]
webdev007 has joined #ipfs
rendar has quit []
xaphan666[m] has joined #ipfs
Alexeev has joined #ipfs
Ishtv4n has quit [Quit: Ishtv4n]
vflyson has quit [Ping timeout: 256 seconds]
<JohnyTheSmith>
you cant set how long you want something pinned, can you?
Ecran has joined #ipfs
vflyson has joined #ipfs
ruby32 has joined #ipfs
Guest39215 is now known as metric
Ecran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ipfs
dvim has quit [Quit: WeeChat 2.0.1]
JayCarpenter has quit [Quit: Page closed]
Alexeev has quit [Ping timeout: 240 seconds]
kyledrake_ is now known as kyledrake
Crazywolf111 has joined #ipfs
<Crazywolf111>
Sup guys.
<Crazywolf111>
Hey can i help out as one of the operaters?
<zeta0134>
JohnyTheSmith: If I understand this correctly, pinning something is indefinite, and the daemon doesn't unpin the content until you tell it to explicitly. You could theoretically schedule this with an external program if you wanted to add a timer, but I don't think IPFS has this built in.
<JohnyTheSmith>
yes,im sure you could. Im kinda new there. I did develop PHP (with obvious interaction with MySQL), i think i might need something else to make my pi do stuff. Not to big of a problem, the basic principles among coding languages is the same...
Neomex has quit [Remote host closed the connection]
rngkll_ has quit [Remote host closed the connection]
<jamiew>
redfish: thanks... looks like system really just thinks it's missing. ENOENT... [pid 27272] lstat("random-empty-file", 0xc4202c81d8) = -1 ENOENT (No such file or directory)
<jamiew>
imagine it's something funky with how I'm mounting the disk, not sure
<jamiew>
it's a weird one because I have no issues with any other apps, and it works fine on the internal disks
Alexeev has quit [Ping timeout: 252 seconds]
rngkll_ has joined #ipfs
<redfish>
jamiew: looks like it's looking for the file via a relative path. the working directory must be wrong.
<redfish>
s/wrong/not what you think it is/
<redfish>
check whether the process is trying to change the working directory (cwd() iirc) and perhaps failing, and check which dir is it initially invoked from
coldsauce[m] has joined #ipfs
Alexeev has joined #ipfs
fazo96 has joined #ipfs
<Ellenor>
oh, the retard's here too
<Ellenor>
i'm out.
Ellenor has left #ipfs ["get a grip, redfish"]
<lgierth>
iirc i already banned Ellenor from cjdns/fc00 channels years ago
Alexeev has quit [Ping timeout: 264 seconds]
Alexeev has joined #ipfs
koosha has quit [Ping timeout: 246 seconds]
<whyrusleeping>
lol
<whyrusleeping>
I can't imagine the type of person that legitimately gets banned on irc
<whyrusleeping>
like, spammers, sure
koosha has joined #ipfs
<lgierth>
some people are properly offended by any criticism of their manners
<whyrusleeping>
lgierth: that is the nicest way i've ever heard anyone say "Some people don't like being told they are assholes"
<ansuz>
some people don't
<whyrusleeping>
ansuz
<ansuz>
I'm used to it at this point
<lgierth>
:) hai
<ansuz>
HI
Alexeev has quit [Ping timeout: 256 seconds]
shizy has joined #ipfs
shizy has quit [Ping timeout: 248 seconds]
rodolf0 has quit [Ping timeout: 255 seconds]
lord| has joined #ipfs
mortn has joined #ipfs
chiui has quit [Ping timeout: 248 seconds]
yhwh has quit [Remote host closed the connection]
yhwh has joined #ipfs
Adbray has joined #ipfs
tec__ has quit [Ping timeout: 246 seconds]
rngkll_ has quit [Remote host closed the connection]
tec__ has joined #ipfs
jkrone has joined #ipfs
clemo has quit [Ping timeout: 240 seconds]
mortn has quit [Remote host closed the connection]
rodolf0 has joined #ipfs
pcardune has quit [Remote host closed the connection]
rodolf0 has quit [Client Quit]
redfish has quit [Ping timeout: 260 seconds]
colatkinson has joined #ipfs
redfish has joined #ipfs
<pjz>
HI
<pjz>
whyrusleeping: how goes?
<pjz>
whyrusleeping: any ideas where title of a paste should go?
<whyrusleeping>
pjz: not sure, i just think it would make the 'recent pastes' page a bit more pleasant to read through :)
maxzor_ has quit [Quit: Leaving]
TheAssassin has quit [Ping timeout: 256 seconds]
rngkll_ has joined #ipfs
CompletelyMechan is now known as Elon_Sayori[m]
<Kubuxu>
lgierth, ansuz: this reminds me of hyberboria IRC times.
Alexeev has joined #ipfs
koosha has quit [Quit: Leaving.]
nikivi has quit [Remote host closed the connection]