stebalien changed the topic of #ipfs to: Heads Up: To talk, you need to register your nick! Announcements: go-ipfs 0.4.19 and js-ipfs 0.34 are out! Get them from dist.ipfs.io and npm respectively! | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS, the InterPlanetary FileSystem: https://github.com/ipfs/ipfs | Logs: https://view.matrix.org/room/!yhqiEdqNjyPbxtUjzm:matrix.org/ | Forums: https://discuss.ipfs.io | Code of
seba- has quit [Ping timeout: 246 seconds]
seba- has joined #ipfs
<lordcirth_>
Although apparently that's off by default, so probably not your problem
matth has joined #ipfs
JonOsterman has quit [Remote host closed the connection]
goblinslayerz[m] is now known as goblinslayer[m]
Guest36596 has quit [Ping timeout: 246 seconds]
JonOsterman has joined #ipfs
JonOsterman has quit [Read error: Connection reset by peer]
JonOsterman has joined #ipfs
<postables[m]1>
eirikur: this might be an issue with how you're uploading/downloading said binary.Do you have an example that we can try out? might also want to make sure you're on the latest version of go-ipfs
kapil____ has quit [Quit: Connection closed for inactivity]
JonOsterman has quit [Remote host closed the connection]
JonOsterman has joined #ipfs
JonOsterman has quit [Remote host closed the connection]
kakra has joined #ipfs
MDude has joined #ipfs
mowcat has quit [Remote host closed the connection]
<eirikur[m]>
What's interesting, now that I'm using the object/get is that I'm getting JSON. I'm hoping that I can pull the base64 data out of the JSON. But, we get a few binary bytes before the { that starts the JSON.
piti has quit [Ping timeout: 252 seconds]
<eirikur[m]>
file just sees the files I'm getting as data. The tar option didn't give me files that my tar (Linux Mint 19.1 AKA Ubuntu 18.04) could read.
<eirikur[m]>
You can try that hash above. The go code will get you an image of me :-) I'd love to see a curl command that would get the same binary data. I'm hoping to use one ipfs daemon and be able to ask for files via HTTP from multiple other containers.
<eirikur[m]>
I built go-ipfs from master a few days ago.
<postables[m]1>
you just want to download the image i take it?
<eirikur[m]>
Yes, I want to download arbitrary binary files that I've stored.
<eirikur[m]>
The go API works perfectly for me. I really don't understand the docs for the /api/v0/get.
<eirikur[m]>
api/v0/get doesn't seem to take a hash as the input, among other things. I tried it and it didn't give me an error (via curl) but I'm really not sure if it should work.,
<eirikur[m]>
Oh! Light dawns. api/v0/get is telling the daemon where on the filesystem to write the output to.
<eirikur[m]>
So, it's not the solution that I was looking for, where I get the data and write to a file or, in my actual use case write it to Amazon S3.
sz0 has quit [Quit: Connection closed for inactivity]
neurocis[m] is now known as neurocis|Piggyco
Jesin has quit [Quit: Leaving]
Jesin has joined #ipfs
arthuredelstein has quit [Ping timeout: 245 seconds]
arthuredelstein has joined #ipfs
Xenguy has quit [Ping timeout: 246 seconds]
Xenguy has joined #ipfs
Guest99552 has left #ipfs ["User left"]
xcm has quit [Remote host closed the connection]
Orbixx has joined #ipfs
xcm has joined #ipfs
xcm has quit [Remote host closed the connection]
xcm has joined #ipfs
mowcat has quit [Remote host closed the connection]
arthur has quit [Ping timeout: 272 seconds]
clemo has quit [Ping timeout: 272 seconds]
v3ry3arly has joined #ipfs
Xenguy has quit [Ping timeout: 246 seconds]
Xenguy has joined #ipfs
karlchen has joined #ipfs
daMaestro has joined #ipfs
daMaestro has quit [Client Quit]
arthur has joined #ipfs
ygrek has joined #ipfs
Xenguy has quit [Ping timeout: 252 seconds]
Xenguy has joined #ipfs
kakra has quit [Ping timeout: 246 seconds]
hurikhan77 has joined #ipfs
Belkaar has quit [Ping timeout: 252 seconds]
Belkaar has joined #ipfs
Belkaar has joined #ipfs
v3ry3arly has quit [Ping timeout: 245 seconds]
renich has quit [Remote host closed the connection]
<postables[m]1>
eirikur: then you'll want to use `cat`
zane has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eirikur[m]>
I'm using the shell cat function in my go program. That works well. The reason I'm asking about HTTP is that I'd like to run an ipfs daemon in a container and make requests from other containers.
mischat_ has quit [Read error: Connection reset by peer]
mischat_ has joined #ipfs
mischat has quit [Ping timeout: 244 seconds]
ylp has joined #ipfs
ylp has quit [Remote host closed the connection]
mischat has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
aerth has quit [Remote host closed the connection]
mischat_ has quit [Ping timeout: 240 seconds]
purisame has joined #ipfs
aerth has joined #ipfs
mischat has quit [Ping timeout: 272 seconds]
The_8472 has joined #ipfs
purisame has quit [Quit: WeeChat 2.4]
purisame has joined #ipfs
mischat has joined #ipfs
xlalala has joined #ipfs
Jesin has quit [Quit: Leaving]
Elon_Satoshi is now known as Copenhagen_Bram
Jesin has joined #ipfs
arthur has quit [Ping timeout: 272 seconds]
arthur has joined #ipfs
purisame has quit [Quit: WeeChat 2.4]
xcm has quit [Read error: Connection reset by peer]
xcm has joined #ipfs
nighty- has quit [Quit: Disappears in a puff of smoke]
<MrBubbles[m]>
Alright, I'll be the one to ask here. And feel free to tell me to toss off or take it to PMs if this is too far off-scope. But why are they bothering with JSON if they're sending data with a known structure? Maybe I just don't know enough to know what I don't know here (likely)... still very, very new to coding and learning as I go,
<AphelionZ>
MrBubbles[m]: why are _who_ sending JSON?
<MrBubbles[m]>
... sorry about that, I just had 63 messages load. Not sure what happened there. Was referring to yesterday's conversation about CBOR/ESA sattelite telemetry
<MrBubbles[m]>
AphelionZ: (okay, looks like I just figured out tagging too. Hah. ) ^
<AphelionZ>
ah gotcha. Yeah I think JSON is required to utilize CBOR
<MrBubbles[m]>
...and I just saw the CBOR link that was posted a while back. I think this is answering my question. Today I get the use the excuse of chat lag. Still getting used to Riot/Matrix
<MrBubbles[m]>
Haha yup
<AphelionZ>
haha it's all good
<MrBubbles[m]>
Looks like the old workflow (open laptop, Discord updates immediately, reply to latest) will need a bit of patience moving foward to everything to sync
<AphelionZ>
and honestly `{ time: "1234567890", "value": 1 }` is maybe only a few signiifcant characters away from a csv or tsv format anyway
<MrBubbles[m]>
But yes, I'll update in here with how the simulation/Systems Eng. project goes
<AphelionZ>
what you're working on sounds super cool
<MrBubbles[m]>
Just undergrad stuff! Really leaning on the magical GI Bill while I figure out how to engineer and dev. Hah. figure I might as well get back out there and focus on real applications
<MrBubbles[m]>
I'll be opensourcing what little we get done, no worries
parqua has joined #ipfs
<AphelionZ>
alanshaw[m]: am I crazy in my issue that that _used_ to work??
mischat_ has joined #ipfs
ygrek has joined #ipfs
mischat has quit [Ping timeout: 268 seconds]
zane has joined #ipfs
kapil____ has joined #ipfs
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
trooper_jesse has joined #ipfs
mcgriff has quit [Read error: Connection reset by peer]
p30n has quit [Remote host closed the connection]
Ll1i1lL has quit [Quit: Leaving]
Ll1i1lL has joined #ipfs
<dragonrider-e[m]>
someone trying to simulate earth-mars latency, lol... matrix.org already does that, just chat here, it's a galactic experience
trooper_jesse has quit [Read error: Connection reset by peer]
trooper_jesse has quit [Read error: Connection reset by peer]
Fessus has quit [Ping timeout: 252 seconds]
trooper_jesse has joined #ipfs
trooper_jesse has quit [Read error: Connection reset by peer]
trooper_jesse has joined #ipfs
purisame has joined #ipfs
kopfkind is now known as kopfkind_
se7en has joined #ipfs
mowcat has joined #ipfs
mischat has quit [Remote host closed the connection]
Jesin has quit [Quit: Leaving]
mischat has joined #ipfs
MDude has quit [Ping timeout: 255 seconds]
placer14 has quit [Quit: placer14]
Jesin has joined #ipfs
mischat has quit [Ping timeout: 250 seconds]
placer14 has joined #ipfs
vyzo has quit [Ping timeout: 255 seconds]
spinza has joined #ipfs
brianhoffman has quit [Quit: brianhoffman]
brianhoffman has joined #ipfs
brianhoffman has quit [Client Quit]
brianhoffman has joined #ipfs
shizy has quit [Quit: WeeChat 2.4]
thomasan_ has joined #ipfs
rektide has joined #ipfs
mowcat has quit [Remote host closed the connection]
thomasan_ has quit [Remote host closed the connection]
Copenhagen_Bram has quit [Read error: Connection reset by peer]
shizy has joined #ipfs
shakalaka has quit [Ping timeout: 240 seconds]
Copenhagen_Bram has joined #ipfs
linear has quit [Ping timeout: 240 seconds]
rozie has quit [Ping timeout: 240 seconds]
rozie has joined #ipfs
linear has joined #ipfs
zeden has quit [Quit: WeeChat 2.4]
zeden has joined #ipfs
kapil____ has quit [Quit: Connection closed for inactivity]
<swedneck[m]>
how long does the ipfs.io gateway cache stuff?
cris has quit [Read error: Connection reset by peer]
<srkk>
it doesnt cache, it only passes through.
cris has joined #ipfs
dobrosketchkun[m has joined #ipfs
yal_ has joined #ipfs
matt_ has joined #ipfs
matt_ is now known as Guest73333
matth has quit [Ping timeout: 255 seconds]
fazo has quit [Quit: fazo]
xcm has quit [Remote host closed the connection]
cyberwolf has quit [Quit: leaving]
xcm has joined #ipfs
pecastro has joined #ipfs
lnostdal has quit [Ping timeout: 245 seconds]
<swedneck[m]>
are you sure? I'd've thought it would keep data at least an hour or so just so it doesn't have to fetch it immediately again
lnostdal has joined #ipfs
<edin[m]>
<swedneck[m] "are you sure? I'd've thought it "> it keeps data for 24 hours
xcm has quit [Read error: Connection reset by peer]
xcm has joined #ipfs
zeden has quit [Quit: WeeChat 2.4]
<swedneck[m]>
that sounds more reasonable
v3ry3arly_ has joined #ipfs
v3ry3arly has quit [Ping timeout: 252 seconds]
v3ry3arly_ has quit [Ping timeout: 246 seconds]
v3ry3arly has joined #ipfs
xcm has quit [Read error: Connection reset by peer]
xcm has joined #ipfs
<eirikur[m]>
Cool stuff @cloudhead!
xcm has quit [Remote host closed the connection]
<eirikur[m]>
Mr. Bubbles: Self-describing data is always good, and standard internet formats are always good. CBOR looks like the solution to get compact binary data with self-description. I heard of it right here yesterday. It's an RFC now. https://cbor.io/
xcm has joined #ipfs
<eirikur[m]>
The answer to my problem with wanting to get a binary file back from IPFS using a daemon, but using HTTP from another computer just seems to be to have the daemon listen on a non-localhost address so that daemon-host:8080/ipfs/<hash> just works. It works like a charm.
Ai9zO5AP has quit [Quit: WeeChat 2.4]
v3ry3arly has quit [Ping timeout: 252 seconds]
The_8472 has quit [Ping timeout: 252 seconds]
The_8472 has joined #ipfs
pawalls has joined #ipfs
spinza has quit [Quit: Coyote finally caught up with me...]
pawalls has quit [Remote host closed the connection]
<MrBubbles[m]>
thanks for the clarification and link, eirikur . Checking it out now 🦄
Michi[m] has joined #ipfs
seba-- has joined #ipfs
seba- has quit [Ping timeout: 252 seconds]
ygrek has quit [Ping timeout: 252 seconds]
<postables[m]1>
eirikur: you'll want to be very careful about opening up access to the API port (5001 by default) to non-localhost
spinza has joined #ipfs
Fessus has joined #ipfs
Fessus has quit [Remote host closed the connection]
Fessus has joined #ipfs
<lgierth>
srkk: edin[m]: swedneck[m]: the gateway caches stuff for an undefined amount of time :) generally until the specific ipfs instance needs to reclaim disk space and runs GC. there are many instances backing the gateway (maybe a dozen or so). so your next request might even hit an instance that doesn't have the data cached yet although the previous one did
<edin[m]>
i see
rmisio has joined #ipfs
<edin[m]>
i remember reading somewhere that it caches for about 24 hours
<edin[m]>
not sure if i can find a source though
rmisio has quit [Client Quit]
<lgierth>
it totally depends on how much traffic it gets, how big the files are, how diverse, etc. GC runs every few hours and does go and delete stuff if the used disk space is above a certain threshold
<lgierth>
if your stuff should be available, you need to have it pinned somewhere
mowcat has joined #ipfs
Fessus has quit [Remote host closed the connection]