galois_d_ has quit [Remote host closed the connection]
galois_dmz has joined #ipfs
ppham has joined #ipfs
matoro has quit [Ping timeout: 240 seconds]
gmcquillan has quit [Quit: gmcquillan]
ppham has quit [Ping timeout: 244 seconds]
shizy has joined #ipfs
wavis has joined #ipfs
matoro has joined #ipfs
ppham has joined #ipfs
shizy has quit [Ping timeout: 265 seconds]
neersighted has joined #ipfs
ppham has quit [Ping timeout: 260 seconds]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
clownpriest has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kpcyrd>
hm. gave up on reimplementing a minimal `ipfs add -n` in rust and can't compile go-ipfs on openbsd either. guess I'm postponing this project for now
ckwaldon has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
apiarian has quit [Ping timeout: 250 seconds]
apiarian has joined #ipfs
ckwaldon1 has joined #ipfs
ckwaldon has quit [Ping timeout: 250 seconds]
ckwaldon1 has quit [Ping timeout: 244 seconds]
JesseW has joined #ipfs
kvda has joined #ipfs
LegalResale has joined #ipfs
ppham has joined #ipfs
<LegalResale>
hey, new to ipfs, and im trying to use the cli, and it doesn't appear that the ls command is working quite right, even though when I use the browser, it seems to work quite quickly. http://paste.ubuntu.com/23144108
<LegalResale>
i have confirmed the daemon is running and I ran ipfs init
[1]bussiere has joined #ipfs
<JesseW>
LegalResale: that directory has 433 files in it, which may take quite a while to display
<LegalResale>
the browser shows it fine, though
bussiere has quit [Ping timeout: 250 seconds]
[1]bussiere is now known as bussiere
<LegalResale>
first time on a fresh box, it was pretty quick
<JesseW>
well, it's not you -- I get the same problem
danielrf has joined #ipfs
<LegalResale>
just tried it for 1m6s, does it have to download all the files in order to simply list them?
espadrine_ has joined #ipfs
computerfreak has quit [Quit: Leaving.]
ygrek has quit [Ping timeout: 240 seconds]
jadedctrl has quit [Ping timeout: 265 seconds]
<LegalResale>
is there any way i can access the API that the binary uses when the browser try to access resources on port 8080
PrinceOfPeeves has quit [Quit: Leaving]
byteflame has quit [Ping timeout: 240 seconds]
pfrazee has joined #ipfs
<JesseW>
LegalResale: if you use ipfs object get /ipfs/QmVbCbGE39kSpgwX33j3s5XiidgFaY8SdE23VBqtbf8rgc -- that returns quickly, and lists the files (albeit in JSON)
<JesseW>
I'm not sure why `ipfs ls` is taking so long. Presumably it is trying to get the files, but that seems silly
<LegalResale>
works like a charm, returns in .1s
<LegalResale>
the strange thing is, i was monitoring the size of ~/.ipfs and it didn't seem to be getting bigger
<LegalResale>
unless it was getting stalled on files that are unseeded
pfrazee has quit [Remote host closed the connection]
ansuz has quit [Remote host closed the connection]
apiarian has quit [Ping timeout: 240 seconds]
apiarian has joined #ipfs
rgrinberg has quit [Ping timeout: 250 seconds]
M-Juriska has left #ipfs ["User left"]
cads has joined #ipfs
Peeves has quit [Read error: Connection reset by peer]
herzmeister has quit [Ping timeout: 240 seconds]
herzmeister has joined #ipfs
reit has quit [Quit: Leaving]
mildred has joined #ipfs
JesseW has quit [Ping timeout: 264 seconds]
cjd has quit [Ping timeout: 264 seconds]
rendar has joined #ipfs
Tv` has quit [Quit: Connection closed for inactivity]
cjd has joined #ipfs
rsync has quit [Ping timeout: 255 seconds]
rsync has joined #ipfs
ylp has joined #ipfs
ppham has quit [Remote host closed the connection]
ppham has joined #ipfs
ppham has quit [Ping timeout: 250 seconds]
ppham has joined #ipfs
wavis has quit [Quit: Connection closed for inactivity]
ygrek has joined #ipfs
cjd has quit [Ping timeout: 264 seconds]
m0ns00n has joined #ipfs
cjd has joined #ipfs
<cads>
Hey guys, quick question - I'm looking for leads on distributed relational databases that exist in a swarm. Like DHTs, but able to do more traditional RDBMS operations like query, deduplication via database normalization, database reports, and joins
Stskeeps has joined #ipfs
<cads>
The idea is to provide a swarm that serves up a commonly used and useful database with little or no hosting cost
<cads>
the database is small - 50mb in uncompressed ascii form, 6mb in compressed form
<cads>
it would be easy enough to distribute a full copy to each user via a torrent-like network, but I am wondering about a method where storage and queries are both done in a distributed fashion
<cads>
and without requiring any software installation
cjd has quit [Ping timeout: 260 seconds]
<cads>
the usecase I have in mind is this: a user goes it a page and downloads a small javascript bootstrapping code from a centralized server via their browser. That lets the user contact the swarm and request the database management software, as well as a few chunks of the database. But then responding to queries from the rest of the network, the user's node is certified with the right to ask its own queries on the network. After the user is
<cads>
done querying the network they may destroy their instance of the DBMS code and the database fragments they have cached, or it may be saved via a persistent store in the browser.
rsync has quit [Quit: Leaving]
HostFat has joined #ipfs
anonymuse has joined #ipfs
cads has left #ipfs ["Leaving"]
ianopolous has quit [Ping timeout: 276 seconds]
cads has joined #ipfs
Boomerang has joined #ipfs
infinity0_ has joined #ipfs
infinity0_ has quit [Changing host]
infinity0_ has joined #ipfs
<M-3630>
To me it sounds like ipfs could help solve that problem, but I'm no expert
infinity0 has quit [Ping timeout: 276 seconds]
SNC has joined #ipfs
SNC is now known as Guest29300
espadrine_ has quit [Ping timeout: 240 seconds]
ygrek_ has joined #ipfs
infinity0_ has quit [Remote host closed the connection]
Guest29300 has quit [Client Quit]
infinity0 has joined #ipfs
bussiere has quit [Ping timeout: 265 seconds]
ygrek has quit [Ping timeout: 250 seconds]
structuralist has joined #ipfs
cjd has joined #ipfs
infinity0 has quit [Remote host closed the connection]
<geoah>
-- at least this is the classic way people do distributed dbs these days -- and they are based on append-only logs -- which ipfs seems willing to do
<geoah>
-- I'm not aware if there is a different/better way to skin this cat but if you come up with something please do let me know :)
espadrine_ has joined #ipfs
Foxcool has quit [Ping timeout: 240 seconds]
davidar_ has joined #ipfs
<geoah>
cads my reason for getting into ipfs is a bit similar so I'd be interested in chatting a bit more about this if you'd like
espadrine has joined #ipfs
espadrine_ has quit [Ping timeout: 265 seconds]
Foxcool has joined #ipfs
kvda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ansuz has joined #ipfs
ansuz has quit [Client Quit]
ansuz has joined #ipfs
danielrf1 has joined #ipfs
danielrf has quit [Ping timeout: 250 seconds]
wuch has joined #ipfs
wuch has quit [Client Quit]
Encrypt has joined #ipfs
PseudoNoob has joined #ipfs
structuralist has quit [Remote host closed the connection]
<cads>
thanks for reaching out to me geoah, I'd love to chat
<cads>
I'll read up on the hyperlog - which my initial application doesn't need data updates (the USDA-SR28 database is static), writing the database as a log playback process could be useful for another project I have in mind - a distributed real time weather tracking database, which /will/ need heftier tools
<whyrusleeping>
cjd: remind me again how you managed to convince some poor company to let you be their 'lead scientist' or some other similar nonsense
<cjd>
Finances Research Projects
<cjd>
*Financed
<cjd>
The state is the best customer you can have
<cjd>
They never go broke and they always pay their bills
chevdor has joined #ipfs
<chevdor>
Hello IPFS :)
<dignifiedquire>
hello chevdor
<chevdor>
Going thru the doc and trying to find the way to update files after a “ipfs add -r .” if you change files locally. I figured out that adding again is not what I want :)
<chevdor>
ion: I mean that I have a local folder that is already added (ipfs add -r .). I am changing a local file and I would like to update what is in ipfs accordingly
jedahan has joined #ipfs
jedahan has quit [Client Quit]
rgrinberg has quit [Ping timeout: 260 seconds]
ashark has joined #ipfs
<mmuller>
chevdor: You probably want to use a mounted IPNS tree and then just change the files within it.
computerfreak has quit [Remote host closed the connection]
<chevdor>
mmuller: that is what I wanted to test next yes, just wondering how to do this update from the command line
<ion>
No content in the IPFS database is mutated, you only add new objects and garbage-collect old ones.
<mmuller>
you probably could, but I think it would be a multi-step process and I'm not sure all of the steps are available :-)
<chevdor>
ion: oh ok, that explains. So I would need a link and update the link to point to the new version if I get it right. Thanks!
<mmuller>
so basically, you could add _just_ the changed file, then manually reconstruct the directory that it's in from the existing directory and the new file hash, and continue recursively to the top of the tree.
<chevdor>
yes, sounds easier to readd all, and update the link to the root, then call the GC…
<ion>
chevdor: IPNS gives you mutable names, you could make an IPNS name link to the new version.
<chevdor>
ion: thats what I had in mind after reading your last comment yes
<mmuller>
yeah. The IPNS mount takes care of all of that for you.
<ion>
There's also the ipfs files API you might find useful.
<lgierth>
aaand you can point js-ipfs-api at the public gateway's api at https://ipfs.io/api
computerfreak has joined #ipfs
clownpriest has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jsrockss_ has quit [Ping timeout: 260 seconds]
Tv` has joined #ipfs
wuch has joined #ipfs
clownpriest has joined #ipfs
<daviddias>
dignifiedquire: sounds good, setting up the standards :D
<daviddias>
lgierth: we have a r+w gateway endpoint?
cketti has quit [Quit: Leaving]
<whyrusleeping>
arkadiy[m]: you around?
<lgierth>
daviddias: no
<whyrusleeping>
there is code that claims to perform that action
<lgierth>
whyrusleeping: rw?
<lgierth>
yes that code is there we just don't have it deployed
<whyrusleeping>
lgierth: yeah
<whyrusleeping>
right
<lgierth>
daviddias: so actually we do, yes
<lgierth>
ipfs daemon --writable or Gateway.Writable=true
<lgierth>
that config/daemon option is an example of how not to do these kind of switches haha
<lgierth>
it's not too bad, but eh
<dignifiedquire>
daviddias: does js-ipfs have offline add currently?
<daviddias>
dignifiedquire: yep
<dignifiedquire>
cool
<daviddias>
in fact, jsipfs cli is only doing the offline one
<daviddias>
till a PR that victorbjelkholm is working on gets merged
<joey89>
@lgierth thank you for the reply, i tried with js-api but i get an invalid key error, this is how i call object.get: ipfsNodeInstance.object.get('QmUx363UFtgiQqkHHsPK3TSDmwoALDo2hrbMWbcxjH2vFc','base58')
<lgierth>
joey89: sorry i can't help you much with it :( daviddias dignifiedquire ^
<daviddias>
joey89: base58 is an options object
<daviddias>
or, the 2nd argument is an options object
<dignifiedquire>
my suggestions for this first round, everything more will increase the scope too much I think
jsrockss has joined #ipfs
chevdor has joined #ipfs
computerfreak has quit [Remote host closed the connection]
<chevdor>
Currently writting the french localisation for webui, how can I switched language? I changed my browser locale already, I see no change. Hint?
gmcquillan__ has joined #ipfs
gmcquillan__ is now known as gmcquillan
<joey89>
daviddias, if i pass it as a buffer i get this error: "Error: key not found" (i also tried without encoding)
<Kubuxu>
so go-ipfs-api is not compatible with js-ipfs
zeroish has joined #ipfs
<Kubuxu>
remember that those are pretty small ops
<Kubuxu>
at least data flow wise
<dignifiedquire>
what do you mean not?
<dignifiedquire>
it is compatible, just not all cmds are there in js-ipfs
<whyrusleeping>
geoah: <3 gx
<Kubuxu>
there is no add?
erde74 has joined #ipfs
jsrockss has quit [Ping timeout: 250 seconds]
danielrf1 has quit [Remote host closed the connection]
danielrf1 has joined #ipfs
ygrek_ has joined #ipfs
wuch has quit [Quit: WeeChat 1.5]
wuch has joined #ipfs
<voxelot>
hey go frands! what's the easiest way to compile ipfs from source and have the bin not interfere with my already installed go-ipfs, won't the make file overwrite the $PATH ipfs bin?
espadrine has joined #ipfs
<whyrusleeping>
voxelot: 'make build'
AdrianG has joined #ipfs
AdrianG has left #ipfs [#ipfs]
<voxelot>
sweet thanks
<dignifiedquire>
Kubuxu: there is add but it is not yet on the http api and under files add instead of top level
<voxelot>
whyrusleeping: got ERROR: open package.json: no such file or directory when unzipping gx-go
<pinbot>
[host 4] failed to grab refs for /ipfs/QmSd7rE8qjihopcQpg7VXzcPX8X4FJ5XkXVkUQggmmWyvG: Post http://[fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001/api/v0/refs?arg=/ipfs/QmSd7rE8qjihopcQpg7VXzcPX8X4FJ5XkXVkUQggmmWyvG&r=true&encoding=json&stream-channels=true&: dial tcp [fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001: getsockopt: connection timed out
<pinbot>
[host 4] failed to grab refs for /ipfs/QmRg1gKTHzc3CZXSKzem8aR4E3TubFhbgXwfVuWnSK5CC5: Post http://[fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001/api/v0/refs?arg=/ipfs/QmRg1gKTHzc3CZXSKzem8aR4E3TubFhbgXwfVuWnSK5CC5&encoding=json&stream-channels=true&r=true&: dial tcp [fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001: getsockopt: connection timed out
<pinbot>
[host 4] failed to grab refs for /ipfs/QmR3KwhXCRLTNZB59vELb2HhEWrGy9nuychepxFtj3wWYa: Post http://[fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001/api/v0/refs?arg=/ipfs/QmR3KwhXCRLTNZB59vELb2HhEWrGy9nuychepxFtj3wWYa&encoding=json&stream-channels=true&r=true&: dial tcp [fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001: getsockopt: connection timed out
<whyrusleeping>
lgierth: are the gateways being weird?
rendar has joined #ipfs
<dignifiedquire>
I want to write all the things in rust.. http://aturon.github.io/blog/2016/08/11/futures/ they have implemented futures (promises) + streams of futures with effectively no runtime overhead over a hand wired statemachine interacting with epoll etc
<clownpriest>
dignifiedquire: i wish i had the patience to deal with the whole lifetimes/ownership model in rust. though it's way better than the nightmare that is c++
<clownpriest>
probably worth a shot though
<dignifiedquire>
clownpriest: it's hard, but also super rewarding
ianopolous has quit [Ping timeout: 252 seconds]
<clownpriest>
that's what i told myself about c++ for the last 3 years, the reward being speed and tight control over resources. can't describe how much pain it's put me through...idk how these systems devs handle large projects
<clownpriest>
but yeh, I'm sure rust is probably worth it
<geoah>
ok I'll try to break it up in as many self contained PRs as I can
<whyrusleeping>
i'm thinking there will probably be three
<whyrusleeping>
the key stuff, the datastore stuff, and the dht stuff
<whyrusleeping>
i've had people go overboard on breaking PRs into small self contained things before and found myself with 60 new open PRs, thats a bit much
* cjd
donates to tip4commit for ipfs
<geoah>
whyrusleeping: since you are here may I bug you?
<geoah>
I was playing around a bit more with the dht example to make it connect to the swarm and apparently my issue is that the swarm dialler filters out the bootstrap nodes. It thinks that my peer does not support the ipfs protocol. But I can't figure out how to make it think that I do.
<geoah>
When swarm dial tries to connect to a peer (eg /ip4/104.236.151.122/tcp/4001/ipfs/QmSoLj..) it checks that my peer has the same parts (ip4, tcp, ipfs)
<geoah>
but it doesn't think I actually support the ifps part
<pinbot>
now pinning /ipfs/QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn
<lgierth>
now watch the world burn
<pinbot>
[host 4] failed to grab refs for /ipfs/QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn: Post http://[fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001/api/v0/refs?arg=/ipfs/QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn&r=true&encoding=json&stream-channels=true&: dial tcp [fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001: getsockopt: connection timed out