<vtomole>
What kinds of things can I do with a mounted file system that I can't normally do?
pfrazee has quit [Ping timeout: 240 seconds]
<lgierth>
you can use standard unix file tools to work with things
<lgierth>
but the `ipfs files` commands also give you standard-tool-like interfaces
ylp has quit [Quit: Leaving.]
danemacmillan has quit [Ping timeout: 245 seconds]
sametsisartenep has quit [Quit: zZz]
fleeky__ has joined #ipfs
evil_filip has joined #ipfs
fleeky_ has quit [Ping timeout: 240 seconds]
zbyte64 has joined #ipfs
evil_filip has quit [Remote host closed the connection]
zbyte64 has quit [Ping timeout: 250 seconds]
tmg has quit [Ping timeout: 256 seconds]
<kpcyrd>
vtomole: do you have fuse installed?
<kpcyrd>
also, which distro
danemacmillan has joined #ipfs
<vtomole>
ubuntu 16.04
Pent has quit [Quit: Leaving]
<kpcyrd>
vtomole: I'm not on a debian system right now and I keep confusing the flags, try running either `dpkg -l | grep fuse`
<kpcyrd>
could be -L, but I think it's -l
<kpcyrd>
in case "fuse" is not in the output, try running `apt install fuse`
<vtomole>
I think i got it to mount, I cant do anything in my /ipfs directory though I get this "Error creating directory: Operation not permitted"
<kpcyrd>
I think the fuse package creates the group for you, you should be able to verify the group exists with `getent groups fuse`
<kpcyrd>
in case you need to add your user to the group, `usermod -aG fuse youruser` is the way to go, keep in mind that you have to re-login to your user because active sessions aren't updated automatically
<vtomole>
It worked, i just can't put any files in my /ipfs directory now
<kpcyrd>
who's the owner of /ipfs ?
<vtomole>
Admin I think.. how do i check?
<kpcyrd>
stat /ipfs
tmg has joined #ipfs
zbyte64 has joined #ipfs
<kpcyrd>
I didn't use the fuse module for a really long time, I think /ipfs isn't really accessible, try using /ipns instead :) I think /ipfs was the global folder and /ipns your personal folder
<vtomole>
ahh
<vtomole>
I cant do anything there either "permission denied"
<kpcyrd>
ls -la /ipfs causes "permission denied", if I recall correctly
<kpcyrd>
ls -la /ipns should work
<kpcyrd>
also, keep in mind "personal" might mean something different than you expect, it's bound to your node ID and you can dynamically update it, but it isn't a private folder, so don't put sensitive data into ipfs :)
zbyte64 has quit [Ping timeout: 268 seconds]
<vtomole>
No one can access your sensitive data unless they know that hash of it though right?
<vtomole>
*the
<kpcyrd>
vtomole: I've never done that personally, but as far as I know it's possible to learn hashes from the network and then request them. I think some people in here did that.
<vtomole>
I'm getting this now:vtomole@vtomole:/ipns$ mkdir hello-world mkdir: cannot create directory ‘hello-world’: Operation not permitted
<kpcyrd>
can you please run: ls -la /ipns
<vtomole>
vtomole@vtomole:/ipns$ ls -la /ipns total 0 lr-xr-xr-x 1 root root 0 Nov 12 18:24 local -> QmTrLmZNKpAxdAxc4C5fAQgDWWin5R7gJ1MAQDQ6RjME9P dr-xr-xr-x 1 vtomole vtomole 0 Nov 12 18:24 QmTrLmZNKpAxdAxc4C5fAQgDWWin5R7gJ1MAQDQ6RjME9P
<kpcyrd>
try adding files to /ipns/local/
<richardlitt>
morning
<kpcyrd>
hey
pfrazee has joined #ipfs
<vtomole>
No that i have a file in /ipns/local, can i access it on ipfs.io/ipfs?
<vtomole>
*Now
<richardlitt>
if your daemon is on, yes, you should be able to
<vtomole>
The file does not have a hash that I can use. It's just a hello-world.txt that's sitting it /ipns/local/
stjacobs[m] has joined #ipfs
taaem has quit [Ping timeout: 256 seconds]
stjacobs[m] has left #ipfs ["User left"]
DiCE1904 has quit [Ping timeout: 246 seconds]
Palestrina has joined #ipfs
dignifiedquire has quit [Quit: Connection closed for inactivity]
Kane` has joined #ipfs
DiCE1904 has joined #ipfs
leeola has quit [Quit: Connection closed for inactivity]
wallacoloo_ has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
<rodarmor>
Do IPFS nodes exchange have/want blocks as lists or as bloom filters? (Or something else?)
mguentner has quit [Ping timeout: 244 seconds]
mguentner has joined #ipfs
reit has quit [Quit: Leaving]
reit has joined #ipfs
kvda has joined #ipfs
captain_morgan has joined #ipfs
Akaibu has quit [Ping timeout: 260 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<daviddias>
richardlitt: to check how many gateways are there, you can simply use DNS to see how many IPs ipfs.io is pointing to. Do `dig +short ipfs.io | wc -l`
<richardlitt>
cool
<richardlitt>
hmm
<richardlitt>
That's just on ipfs.io. I mean other domains.
<richardlitt>
I think those are just the planets, right?
<richardlitt>
(Sorry for asking so many questions!)
<richardlitt>
(Don't want to be annoying. Hacking in a conference.)
<daviddias>
other domains?
<richardlitt>
Yeah. For instance, can't I host a gateway on my own website, if I wanted?
<daviddias>
like, know everyone in the world that is running a gateway node?
<richardlitt>
Yeah
<daviddias>
you can host a gateway node behind your own domain
<victorbjelkholm[>
chovy: problem is that js-ipfs doesn't support the :hash/:file syntax yet
<daviddias>
victorbjelkholm[: I vote for the 478 D
<daviddias>
:D
<victorbjelkholm[>
haha, me too!
<victorbjelkholm[>
gogogo!
<chovy>
victorbjelkholm[: so i can't use this?
<chovy>
i just installed and tried the example
<chovy>
why is the ticket close?
<victorbjelkholm[>
chovy: because we already have two issues open about the same thing. You can use it depending on what you want to do, .cat subfiles in the CLI does not work right now
<victorbjelkholm[>
but you can .cat file directly if you're using the hash for example
<chovy>
victorbjelkholm[: i have no idea whawt i'm doing. i just came across this project. i remember i read about it a year or two ago and it looked cool but no dev had started yet
<chovy>
i'm wondering if i can use it for an app i want to build that uses a distributed database.
<victorbjelkholm[>
"Error: Cannot find module 'bs58'" I haven't seen and I'm in a too bad location to look at npm module problems. daviddias care to take a look if it's missing?
<chovy>
also wondering if the data can be encrypted so only my app can decrypt it
<victorbjelkholm[>
chovy: might be a bit early to be using js-ipfs for production applications, go-ipfs is more mature and stable for that. Regarding encryption, you would simply encrypt the data before adding to IPFS then decrypt when you get it back
<chovy>
is that possible?
<chovy>
oh its just a side project. i don't mind if its still alpha as long as its moving forward
<chovy>
victorbjelkholm[: i assume there is no ACL
<chovy>
if you put data unencrypted into ipfs anyone can access it?
<victorbjelkholm[>
you assume that correctly :)
<chovy>
what are people using it for?
<daviddias>
victorbjelkholm[: where is that error? have you fresh npm install?
<victorbjelkholm[>
daviddias: error comes from chovy
<chovy>
daviddias: which one? i found 2
<daviddias>
ah, saw above
<chovy>
daviddias: yeah. i mentioend 2
<daviddias>
which npm are you using?
<chovy>
one with node 6 and one with node 4
<chovy>
depends on the errror
<daviddias>
with node 4 you have to update to npm 3
<chovy>
oh
<daviddias>
with node 6, what is the error?
<chovy>
why?
<daviddias>
npm 2 and 3 are different in the way they install deps
<chovy>
right
<chovy>
i know that but why do you require i use an unsupported version of npm with node 4?
<daviddias>
right now it is in Alpha state, but a lot of groups treat it like Beta
<daviddias>
the more people using the faster it becomes more stable
<daviddias>
feedback, error reports and PR are really welcome
whythat has joined #ipfs
whythat has quit [Client Quit]
Ronsor has quit [Ping timeout: 256 seconds]
<chovy>
thanks
Ronsor has joined #ipfs
perit has joined #ipfs
espadrine has joined #ipfs
Oatmeal has joined #ipfs
maxlath has joined #ipfs
dignifiedquire has quit [Quit: Connection closed for inactivity]
ianopolous has joined #ipfs
Encrypt has joined #ipfs
ianopolous has quit [Ping timeout: 256 seconds]
PseudoNoob has quit [Remote host closed the connection]
Encrypt has quit [Quit: Quit]
PseudoNoob has joined #ipfs
ianopolous has joined #ipfs
slothbag has left #ipfs [#ipfs]
Tristitia has quit [Remote host closed the connection]
erde74 has joined #ipfs
pfrazee has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
pfrazee has quit [Remote host closed the connection]
maxlath has quit [Ping timeout: 245 seconds]
Smilex has joined #ipfs
maxlath has joined #ipfs
reit has joined #ipfs
Encrypt has joined #ipfs
<Smilex>
I'm reading a little on IPFS and wondering. Does it make sense to write client applications that send small packages to peers, ontop of IPFS? IPFS seems to be more for sharing files
<A124>
Smilex No, it does not. On top of libp2p, if you have an application that does not fit the mold.
<A124>
You can also just store objects and stuff.
<Smilex>
Ok. I was thinking about chat and video games
<Smilex>
Thanks for the reply
<Mateon1>
vtomole: Regarding your ipns/ipfs confusion, /ipns/local represents your IPNS hash, visible when you do ls /ipns - it seems to be /ipns/QmTrLmZNKpAxdAxc4C5fAQgDWWin5R7gJ1MAQDQ6RjME9P (and /ipns/local is just a symlink to that directory
<Mateon1>
vtomole: If your node is on, anybody should be able to access ipfs.io/ipns/QmTrLmZNKpAxdAxc4C5fAQgDWWin5R7gJ1MAQDQ6RjME9P and see the files in there
<Mateon1>
Dropped a parenthesis: )
palkeo has joined #ipfs
palkeo has joined #ipfs
palkeo has quit [Changing host]
maxlath has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 246 seconds]
reit has quit [Ping timeout: 258 seconds]
chris613 has joined #ipfs
lkcl has joined #ipfs
ianopolous has quit [Ping timeout: 260 seconds]
<victorbjelkholm>
Mateon1: regarding what I wrote about dns/ipns before: in the midst of updating, ipns can resolve to different values (which, thinking about it, is unavoidable unless there is caching in the client), leading to not being optimal for updating websites with
<victorbjelkholm>
dns at least is being cached after being resolved, so you can be sure the entire website works if it resolves correctly
<Mateon1>
victorbjelkholm: But, wouldn't you swap the hash for the IPNS entry just once?
<Mateon1>
If you have a website, you probably do `ipfs add ./dist` and then `ipfs name publish <hash>` on the resulting hash from add
<Mateon1>
And if a person resolved a hash to the new website hash once, wouldn't it keep resolving to the same hash until changed again?
lkcl has quit [Ping timeout: 245 seconds]
Encrypt has quit [Quit: Quit]
<victorbjelkholm>
Mateon1: ideally, it would. But currently it doesn't. Let say A resolves to 1 the first time. Second time it resolves to 2 and third time to 1 (because not all nodes got the update yet I'm guessing)
<victorbjelkholm>
actually not sure why, just something I discovered while pushing an update
<Mateon1>
I kinda wish we could pin IPNS entries, to republish them when TTL dies but the lifetime is still okay.
<Mateon1>
Not quite sure how it would work technically
<Mateon1>
Damn, the default lifetime of a name entry is just 24h?
<appa>
I'm still trying to wrap my head around how ipfs works, are there and intro docs for non devs?
<victorbjelkholm>
yeah, lifetime is just 24 hours and no automatic pinning yet
<victorbjelkholm>
appa: guess ipfs.io would be your best bet for non-devs
maxlath has joined #ipfs
<Mateon1>
appa: You might want to watch some talks about IPFS, I learned most of how IPFS works from them initially
<Codebird>
Automatic pinning is only a partial solution - what happens when the pinning node is abandoned?
<victorbjelkholm>
Mateon1: no, due to the distributed nature, it will probably always be able to resolve to different values at different times...
<Codebird>
Needing periodic republishing is a problem.
<appa>
Mateon1: thanks I've watched one of those, it was sorta long and rambling but I'm still in the "learning what questions to ask" phase.
<Mateon1>
appa: I think you should get a basic understanding of the inner workings of IPFS, how does the merkledag structure work, and get a basic understanding of ipns
Mizzu has joined #ipfs
<appa>
So far I understand static content is hashed into a key but managing those keys seems problematic
<appa>
I presume nodes that pin a hash duplicate the content and somehow a
<appa>
The system knows there is another provider
tmg has quit [Ping timeout: 258 seconds]
<appa>
Not sure how the system knows there is the first provider
<Mateon1>
appa: Using a DHT, just like in BitTorrent. You can find all people who have a hash using `ipfs dht findprovs <hash>`
<appa>
So does pinned stuff extend the "blockchain"
<appa>
Will ipfs suffer from the same block chain bloat that prevents people from running nodes?
<Mateon1>
No, there is no blockchain
<Mateon1>
And the DHT isn't really that big
<Mateon1>
Everything in IPFS is designed to scale to billions of nodes
<Mateon1>
Well, at least in the whitepaper/spec, we certainly have to optimize a bit to be truly ready for things in the petabytes of data range
Qwertie has quit [Ping timeout: 250 seconds]
Qwertie has joined #ipfs
sundial has joined #ipfs
rgrinberg has joined #ipfs
slypath has joined #ipfs
maxlath has quit [Remote host closed the connection]