aschmahmann changed the topic of #ipfs to: Heads Up: To talk, you need to register your nick! Announcements: go-ipfs 0.7.0 and js-ipfs 0.52.3 are out! Get them from dist.ipfs.io and npm respectively! | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS: https://github.com/ipfs/ipfs | Logs: https://view.matrix.org/room/!yhqiEdqNjyPbxtUjzm:matrix.org/ | Forums: https://discuss.ipfs.io | Code of Conduct: https://git.io/vVBS0
williamstlr[m] has joined #ipfs
mowcat has quit [Remote host closed the connection]
Caterpillar has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
Newami has quit [Quit: Leaving]
jesse22 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
naive has joined #ipfs
naive has quit [K-Lined]
GvP has joined #ipfs
<fiveseven[m]>
<swedneck "however the data is different de"> the data itself as a whole is never different though, and that full file hash IMO should be something ipfs is intimately aware of for all files when that doesn't seem to be the case. I've even been told it has no idea where a is even supposed to begin and end, the chunks just better all match up and never get corrupted or anything
GvP has quit [Remote host closed the connection]
<fiveseven[m]>
> <@swedneck:feneas.org> however the data is different depending on how it's chunked/hashed, which is necessary for basically everything to work
<fiveseven[m]>
* the data itself as a whole is never different though, and that full file hash IMO should be something ipfs is intimately aware of for all files when that doesn't seem to be the case. I've even been told it has no idea where a file is even supposed to begin and end, the chunks just better all match up and never get corrupted or anything
<fiveseven[m]>
<swedneck "that *is* how it works"> but being able to ask for a file from the network by its full file checksum does not exist, but I think it should
GvP has joined #ipfs
<imthatsteve[m]>
Oh okay i think i see what your saying, so its almost like a torrent swarm but without distinct torrents.
<imthatsteve[m]>
Like you could have an album in its own torrent or as a part of a larger collection but as far as the network is concerned there is no difference between the part on its own and the part as a part of something larger?
GvP has quit [Client Quit]
<fiveseven[m]>
yes and torrent v2 does have something like this
<fiveseven[m]>
e.g. it can find pieces of files that belong to other torrents
<fiveseven[m]>
while downloading from a different one
<fiveseven[m]>
* while downloading a different one
<fiveseven[m]>
that is my understanding at least
GvP has joined #ipfs
<imthatsteve[m]>
Thats really cool
kn0rki has quit [Quit: Leaving]
pecastro has quit [Ping timeout: 240 seconds]
mindCrime has quit [Ping timeout: 264 seconds]
LEGITtimeTRAVELE has joined #ipfs
arcatech has quit [Quit: Be back later.]
Ringtailed-Fox has quit [Read error: Connection reset by peer]
<fiveseven[m]>
I'm fine with there being chunks, I just think the hash of the entire file should be tracked and resolveable easily along with that.
MeiraAngeMeizon[ has left #ipfs ["User left"]
<aschmahmann>
the problem is that (aside from the solutions referenced in https://github.com/protocol/beyond-bitswap/pull/29 -- it's a bit long) I can ask the DHT "who has the file with hash X", but there's no reliable way for me to download it from them without being subjected to some attack.
<aschmahmann>
If you read through that issue people basically spell the whole thing out
Ringtailed_Fox has joined #ipfs
<aschmahmann>
Asking for a file by a merkle root that points to the chunks that are all less than some maximum size (e.g. 1MiB) allows for a verifiable way to download the data without being trivially attacked.
<aschmahmann>
I'm not saying what you're asking for wouldn't be nice, just that it's not trivial to do.
baojg has joined #ipfs
Ringtailed-Fox has quit [Ping timeout: 265 seconds]
abgty011[m] has joined #ipfs
angrymonk[m] has joined #ipfs
Elaina[m] has joined #ipfs
<fiveseven[m]>
why not have the "who has the file with hash X" return a valid merkle root that points to the chunks of that same data
<fiveseven[m]>
again I don't care how the file is split up, just that anyone has it in some form
williamstlr[m] has left #ipfs ["User left"]
<aschmahmann>
fiveseven: again it's in that discuss issue.
<aschmahmann>
You ask the DHT "who has file X" it says I do. You ask me for the data -> I give you the CID of a totally different merkle tree -> you download 100EiB of data before realizing I lied to you.
<aschmahmann>
For bonus points, I could actually give you a CID of a graph I don't even have so I use you to attack someone else
<fiveseven[m]>
meanwhile I can't even get `ipfs get <foo>` to work on a chmod 777 directory (still gives permission denied)
<fiveseven[m]>
/tableflip
<aschmahmann>
are you using snap?
<fiveseven[m]>
ye
<swedneck>
as in, you're trying to download to that directory?
<fiveseven[m]>
yes
<fiveseven[m]>
it only seems to work when my CWD is $HOME
<aschmahmann>
or at least upgrading? idk not a snap master
<fiveseven[m]>
I just tried and it wiped it out
<aschmahmann>
I guess it only saves across upgrades and reverts then
<fiveseven[m]>
so now what
<fiveseven[m]>
since `--classic` doesn't work
<fiveseven[m]>
also tried `--devmode` and that didn't work either
<aschmahmann>
doing some looking around (just googling, not a snap expert 🙂), I'm think that you can configure snap manually to modify confinement for a given package
<swedneck>
honestly i just install ipfs manually then use ipfs-update to keep it up to date
jrt is now known as Guest27602
Guest27602 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
jrt has joined #ipfs
wisestab[m] has joined #ipfs
wisestab[m] is now known as wiseStab[m]
<aschmahmann>
`snap connect ipfs:removable-media` may help.
<aschmahmann>
removable-media allows read/write access to mounted removable storage in /media, /run/media and /mnt.
jcea has quit [Read error: Connection reset by peer]
jcea has joined #ipfs
lucafperozzo[m] has joined #ipfs
<fiveseven[m]>
doesn't appear to work
<fiveseven[m]>
the storage isn't mounted there
<aschmahmann>
then it might be that other snap plugs are required that aren't there (maybe `system-files`?).
<fiveseven[m]>
I also can't seem to find a non-deprecated way to list possible plugs
<aschmahmann>
is `snap connections ipfs` deprecated?
<fiveseven[m]>
aschmahmann: no but it only shows current connections
<fiveseven[m]>
and `--all` doesn't work
<fiveseven[m]>
only `snap interfaces` shows everything but it says deprecated
<fiveseven[m]>
* and `--all` doesn't work (no change in output)
lucafperozzo[m] has left #ipfs ["User left"]
<aschmahmann>
I'm not sure it's possible to add connections that aren't asked for in the snap's config.yaml and all we ask for is `home, network, network-bind, removable-media`
<fiveseven[m]>
man the fun never ends with this
<aschmahmann>
might be we need to add more (or switch to confinement: classic).
<aschmahmann>
IIRC the snap publishing is fairly new and bound to run into some bumps. But as other folks have mentioned there are plenty of options available and snap issues aren't confined to ipfs (e.g. https://forum.snapcraft.io/t/jq-cant-read-some-files/17835)
<aschmahmann>
You can also download go-ipfs from https://dist.ipfs.io/, and update using ipfs-update (also available on that page).
<fiveseven[m]>
using a bind mount seems to work for now, but not a symlink
<fiveseven[m]>
<Alin2093 "it is not illegal file sharing, "> hahahahahahaha
Bushman[m] has left #ipfs ["User left"]
nerdyman[m] has joined #ipfs
Moses[m] has joined #ipfs
<fiveseven[m]>
how can I see who is (both currently & in the past) downloading files from my ipfs repo, and which ones?
bqv has quit [Quit: WeeChat 3.0]
koo5 has quit [Ping timeout: 246 seconds]
Moses[m] is now known as d3v110535[m]
Alin2093 has quit [Ping timeout: 272 seconds]
bqv has joined #ipfs
buffyanam[m] has joined #ipfs
<RubenKelevra[m]>
<fiveseven[m] "how can I see who is (both curre"> there's no way to do this, except looking at the DHT who is providing your CIDs too. But this don't really mean they downloaded it from you, but just hold the same content.
Ringtailed-Fox has quit [Read error: Connection reset by peer]
Ringtailed-Fox has joined #ipfs
Newami has quit [Quit: Leaving]
Encrypt has joined #ipfs
Ringtailed-Fox has quit [Read error: Connection reset by peer]
Ringtailed-Fox has joined #ipfs
MDude has joined #ipfs
ET[m] has quit [Quit: Idle for 30+ days]
gnost[m] has quit [Quit: Idle for 30+ days]
privatecookie0x1 has quit [Quit: Idle for 30+ days]
krakua[m] has quit [Quit: Idle for 30+ days]
tobson[m] has quit [Quit: Idle for 30+ days]
geoah[m] has quit [Quit: Idle for 30+ days]
dukedook[m] has joined #ipfs
ZarTek has joined #ipfs
LEGITtimeTRAVELE has quit [Quit: Connection closed for inactivity]
palindromi[m] has joined #ipfs
Ringtailed-Fox has quit [Read error: Connection reset by peer]
ZarTek_ has joined #ipfs
Ringtailed-Fox has joined #ipfs
ZarTek has quit [Ping timeout: 256 seconds]
jamj[m] has joined #ipfs
neos80[m] has joined #ipfs
ZarTek has joined #ipfs
ZarTek_ has quit [Ping timeout: 256 seconds]
Nact has quit [Quit: Konversation terminated!]
LiftLeft has quit [Ping timeout: 264 seconds]
gumbojumbo[m] has joined #ipfs
gumbojumbo[m] has left #ipfs ["User left"]
LiftLeft has joined #ipfs
worc3131 has joined #ipfs
charlemDick has joined #ipfs
Acacia has quit [Ping timeout: 272 seconds]
Alex[m]8 has joined #ipfs
Acacia has joined #ipfs
rockdust[m] has joined #ipfs
charlemDick has quit [Quit: leaving]
arcatech has joined #ipfs
worc3131 has quit [Ping timeout: 258 seconds]
lassulus_ has joined #ipfs
lassulus has quit [Ping timeout: 260 seconds]
lassulus_ is now known as lassulus
koo5 has joined #ipfs
sim590 has quit [Ping timeout: 272 seconds]
arcatech has quit [Quit: Be back later.]
drathir_tor has quit [Remote host closed the connection]
drathir_tor has joined #ipfs
lassulus_ has joined #ipfs
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
Ringtailed_Fox has joined #ipfs
Ringtailed-Fox has quit [Read error: Connection reset by peer]
mbo[m] has joined #ipfs
Encrypt has quit [Quit: Quit]
ZarTek_ has joined #ipfs
arcatech has joined #ipfs
ZarTek has quit [Ping timeout: 256 seconds]
worc3131 has joined #ipfs
willi has joined #ipfs
willi is now known as Guest71962
arcatech has quit [Quit: Be back later.]
Guest71962 has quit [Quit: Connection closed]
Willi2020 has joined #ipfs
arcatech has joined #ipfs
drvwill[m] has joined #ipfs
arcatech has quit [Client Quit]
worc3131 has quit [Ping timeout: 272 seconds]
jesse22 has joined #ipfs
<Willi2020>
schreibt hier jemand auch deutsch ?
rockdust[m] has left #ipfs ["User left"]
<dukedook[m]>
nein
<Willi2020>
:D
jesse22 has quit [Ping timeout: 260 seconds]
<Willi2020>
ehm ich bräuchte mal ein admin
<Willi2020>
kann mir da jemand helfen bitte
jesse22 has joined #ipfs
cxl000__ has quit [Ping timeout: 240 seconds]
cxl000__ has joined #ipfs
clueful has joined #ipfs
<stebalien>
Yes. See my DM.
<clueful>
I have a pretty silly question. How would one make a doubly-linked list like data structure with ipfs...like for example you create a message that is stored, and then you later add a new message that is stored that both links back to the first one (easy), and then the first one links to the new one (how?) so that one could start at the original
<clueful>
message and walk the thread forwards
Willi2020 has quit [Quit: Connection closed]
mindCrime has joined #ipfs
yesmaybenookay[m has joined #ipfs
<davidsong[m]>
That sounds tricky. You'd be building it on top of a log structure, so you'd need to have the index separate from the data
ZarTek_ has left #ipfs [#ipfs]
mfi_ has joined #ipfs
<davidsong[m]>
It probably doesn't make sense to think of it like a doubly-linked list, really. You've basically got an append-only array as your on-disk format. You can unpack that to be whatever you like, but it might be worth framing your problem so it fits the tools you have to solve it
jokoon has joined #ipfs
__jrjsmrtn__ has quit [Quit: Bye !]
__jrjsmrtn__ has joined #ipfs
sebfried[m] has joined #ipfs
abrossimow[m] has joined #ipfs
brandyo[m] has joined #ipfs
Ringtailed_Fox has quit [Read error: Connection reset by peer]