<someguy99>
Hi, if I am viewing a directory on IPFS, is there an easy way to get the link multihash of an object in the directory, thru the web interface? Rather than just having an inner path of hash/inner_file ?
optimusbrine has joined #ipfs
someguy99 has quit [Quit: Page closed]
ianopolous has joined #ipfs
nonaTure has quit [Ping timeout: 265 seconds]
niekie has quit [Quit: No Ping reply in 180 seconds.]
niekie has joined #ipfs
<optimusbrine>
if you pin an object, does IPFS follow its links recursively and protect all linked data from collection as well?
<ion>
By default, yes.
<optimusbrine>
ok good good. Also, what is the best way to use 'ipfs object patch'. I was playing around with it (not running a daemon) and it seems to generate a hash for the new object, but the object cannot be later referenced, it says "merkeldag: not found".
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
<ion>
I’m afraid I haven’t used object patch. achin: any ideas?
<achin>
optimusbrine: can you show me an example?
Oatmeal has quit [Ping timeout: 255 seconds]
<achin>
for example, if you do `ipfs object patch QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n set-data "hello world"` you'll get back QmU1Sq1B7RPQD2XcQNLB58qJUyJffVJqihcxmmN1STPMxf
<achin>
you should then be able to do anything with that hash, like `ipfs object get QmU1Sq1B7RPQD2XcQNLB58qJUyJffVJqihcxmmN1STPMxf`
<achin>
(this will work both when the daemon is running and not running)
<optimusbrine>
https://notehub.org/tinqo heres my little experiment. this is with 0.3.9 from the nixos package
<optimusbrine>
bah, it cut out the returned object's hash
<optimusbrine>
let me just try again to make sure
<achin>
where did you get "QmYNZSphEdbAGHcGukPsWYVFoguWVkEPusdGLfAyBahENL"
<achin>
that's not the hash returned by that patch-add-link you ran
<optimusbrine>
it is
<optimusbrine>
it got cut out of the paste though
simonv3 has quit [Quit: Connection closed for inactivity]
<optimusbrine>
that is the result of ipfs object patch QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n add-link last QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n for me
rauros has quit [Remote host closed the connection]
Oatmeal has quit [Ping timeout: 240 seconds]
jhulten_ has quit [Ping timeout: 255 seconds]
<optimusbrine>
https://gist.github.com/optimusbrine/633c12c75cde627b16c3 yeah I have tried this like 30 times now and have not gotten any different results. At least i know it's /supposed/ to work. I'll just try building from source
Oatmeal has joined #ipfs
wiedi has joined #ipfs
<lgierth>
.ask dignifiedquire geoip definitely wasn't on castor -- if at all, it's pinned on the gateways. i'm getting a funny EOF error requesting it
<multivac>
lgierth: I'll pass that on when dignifiedquire is around.
<multivac>
lgierth: 2015-12-23 - 19:31:18 <daviddias> ask lgierth if he knows something about QmQQ3BUpPjgYiTdhp4H9YWSCtoFXs8t91njhpvXNNLd3yB (the geoip dataset ) and if it is pinned/stored somewhere
<lgierth>
daviddias: ^
<lgierth>
btw it's fine to just highlight me if i'm in the channel
<lgierth>
.ask dignifiedquire pretty sure krl knows more about geoip :)
<multivac>
lgierth: I'll pass that on when dignifiedquire is around.
<lgierth>
achin: :) /me zzz
<optimusbrine>
achin: OK yeah it works when building from source, there is something specifically wrong with go1.5-go-ipfs-2015-10-30 in nixos-unstable's binary cache
<achin>
do you happen to know what version of go was used to build that version? i think you can tell with "ipfs sys diag"
<optimusbrine>
well it does not recognize the sys command, so theres that
<lgierth>
diag sys
<optimusbrine>
oh
<achin>
my bad
<lgierth>
:)
<optimusbrine>
it says go1.5.2
<lgierth>
ok good night o.
<lgierth>
o/
zugz has joined #ipfs
zugzwanged has quit [Ping timeout: 240 seconds]
prim1 has quit [Ping timeout: 272 seconds]
prim1 has joined #ipfs
reit has quit [Ping timeout: 272 seconds]
jaboja has joined #ipfs
ralphtheninja has quit [Quit: leaving]
Tera2342 has joined #ipfs
<jaboja>
Is IPFS anonymous?
ygrek has quit [Ping timeout: 264 seconds]
rexen has quit [Remote host closed the connection]
Guest41565 has joined #ipfs
astrocyte has joined #ipfs
<optimusbrine>
jaboja: nope. At least not on purpose, and not reliably so
<jaboja>
Are there any tools to get known who owns which file or is it like bitcoin (not realy anonymous but determining which account is whose is a bit tricky
<jaboja>
?
<optimusbrine>
from my understanding, if i am the sole provider of some object, and you try to fetch it, the network will route you to me, and we will directly connect to each other
Tera2342 has quit [Ping timeout: 245 seconds]
Tera2342 has joined #ipfs
astrocyte has quit [Quit: Leaving]
astrocyte has joined #ipfs
<optimusbrine>
achin: i got bored and wrote a script to walk backwards through the commit history of master, rebuild and compare the hashes for 'ipfs object patch', and it seems to have changed at e90bd93 for go1.5.2
<achin>
e90bd93 is an ipfs commit?
<optimusbrine>
yes
<optimusbrine>
its a merge commit for pr #1928
<achin>
(btw, do you know about git bitsect?)
<optimusbrine>
no, i know very little about git
<optimusbrine>
i just did git checkout HEAD^ until it broke
<achin>
it lets you do a binary search, which is much faster than testing each individual commits
<optimusbrine>
OK, but to be clear, that is where it got 'fixed' not where it broke. Before that point, it was producing the bad hash for quite a while
astrocyte has left #ipfs ["Leaving"]
leer10 has joined #ipfs
pfraze has joined #ipfs
pfraze has quit [Remote host closed the connection]
pfraze has joined #ipfs
kharpeet has joined #ipfs
Tera2342 has quit [Ping timeout: 260 seconds]
leer10 has quit [Ping timeout: 240 seconds]
pfraze has quit [Remote host closed the connection]
pfraze has joined #ipfs
pfraze has quit [Remote host closed the connection]
pfraze has joined #ipfs
ianopolous has quit [Read error: Connection reset by peer]
ianopolous has joined #ipfs
pfraze has quit [Ping timeout: 255 seconds]
pfraze has joined #ipfs
NightRa has joined #ipfs
keorn has joined #ipfs
jaboja has quit [Remote host closed the connection]
<ion>
It’s hard to overstate how much faster O(log n) is than O(n)
<ion>
Yes, that is what every associates 420 with.
pfraze has quit [Remote host closed the connection]
pfraze has joined #ipfs
pfraze has quit [Ping timeout: 265 seconds]
<ogzy>
i had asked yesterday but let me repeat: last night i tried ipfs with cjdns, i configured the gateway as the ipv6 address and with a port, i was able to reach the content via http://ipv6address:9090/ipfs/some_hash but then i tried it at my localhost's ipv6, i couldn't reach it, should't it be reachable from other node's addresses also?
<ion>
If the gateway address is no longer 127.0.0.1, I don’t think it will still listen on 127.0.0.1.
r04r is now known as zz_r04r
ianopolous has quit [Read error: Connection reset by peer]
ianopolous has joined #ipfs
mildred has joined #ipfs
<ansuz>
ogzy: configuring it to bind to :: should make it bind to both 127.0.0.1 and your ip address
<ansuz>
:: is the same as 0.0.0.0
<ansuz>
otherwise, your OS might be screwing with you
<ansuz>
chrom(e|ium) won't open ipv6 addresses if it doesn't detect native ipv6, I think it phones home to check
<ansuz>
a few screwy linux distros configure firefox not to use ipv6 by default (mint, and a few others iirc)
<ansuz>
and afaik windows and mac have been seen to Do The Wrong Thing
<multivac>
dignifiedquire: 2015-12-24 - 01:31:00 <lgierth> ask dignifiedquire geoip definitely wasn't on castor -- if at all, it's pinned on the gateways. i'm getting a funny EOF error requesting it
<multivac>
dignifiedquire: 2015-12-24 - 01:32:39 <lgierth> ask dignifiedquire pretty sure krl knows more about geoip :)
<dignifiedquire>
lgierth: thanks, tried reaching out to krl, but no feedback ye
<dignifiedquire>
*yet
s_kunk has quit [Ping timeout: 240 seconds]
<daviddias>
that is pretty cool
<daviddias>
Rust is great in general to use and be used by other languages
<daviddias>
I never had found a language that has FFI on its first and main book
<daviddias>
I saw the article today morning and got really excited too :)
<haad>
NeoTeo: nice! :) merry christmas to you too!
<nicolagreco>
ahah NeoTeo, merry xmas to you too
hoony has joined #ipfs
ianopolous has quit [Ping timeout: 272 seconds]
<NeoTeo>
:)
wowaname has quit [Quit: <3]
wowaname has joined #ipfs
<M-davidar>
krl: multivac is just a glorified answering machine :p
dignifiedquire has joined #ipfs
<dignifiedquire>
krl: some of the geoip blocks are missing
<dignifiedquire>
so it's not usable atm
<Codebird>
I've configured my house-wide adblocking squid-cache to redirect everything addressed to gateway.ipfs.io to my local node. Now I get to place less demand on the big one, and enjoy the latency of fetching objects from half the internet.
<M-davidar>
NeoTeo (IRC): needs more deduplication :p
<NeoTeo>
M-davidar yeah, but they are unique packages :)
<krl>
dignifiedquire: that's weird, pinbot was on it
Encrypt has joined #ipfs
<dignifiedquire>
krl :/ sounds like pinbot didn't like them any more :(
<krl>
dignifiedquire: i'll try regenerating them
<dignifiedquire>
lgierth, whyrusleeping any ideas, how pinned objects went missing? maybe sth todo with migration to 0.4.0?
<krl>
dignifiedquire: 2% done and counting...
<dignifiedquire>
krl. thanks, also if you could put links to the source files in the issue so we can regen them as well
<krl>
however, trying to import now, i get: { Message: 'open /home/krl/.ipfs/blocks/1220fb7f/1220fb7f4c0307397d2c9ad2bc69d9054841ed02079a45321de9344ebab64862e801.data: too many open files',
<krl>
Code: 0 }
dignifiedquire has quit [Remote host closed the connection]
<haad>
krl: try increasing the ulimit?
zz_r04r is now known as r04r
anticore has joined #ipfs
r04r is now known as zz_r04r
cemerick has joined #ipfs
ralphtheninja has joined #ipfs
zz_r04r is now known as r04r
wowaname is now known as Cholby
Cholby is now known as wowaname
livegnik has quit [Quit: No Ping reply in 180 seconds.]
wowaname has quit [Changing host]
wowaname has joined #ipfs
livegnik has joined #ipfs
r04r is now known as zz_r04r
zz_r04r is now known as r04r
prim1 has quit [Ping timeout: 265 seconds]
prim1 has joined #ipfs
wowaname is now known as opal
NightRa has joined #ipfs
trock2 is now known as trock
<lgierth>
.ask dignifiedquire well too bad, turns out it isn't pinned anywhere -- checked with `ansible gateway -m shell -a 'docker exec -i ipfs ipfs pin ls | grep QmQQ3BUpPjgYiTdhp4H9YWSCtoFXs8t91njhpvXNNLd3yB'`
<multivac>
lgierth: I'll pass that on when dignifiedquire is around.
<lgierth>
tl;dr next time, pin it :)
<mrflibble>
Codebird: what crawler are you using?
keorn has quit [Read error: Connection reset by peer]
keorn has joined #ipfs
<pskosinski>
Happy Koliada!
anticore has quit [Remote host closed the connection]
hoony has quit [Ping timeout: 240 seconds]
dignifiedquire has joined #ipfs
<dignifiedquire>
<multivac>
dignifiedquire: 2015-12-24 - 15:21:20 <lgierth> ask dignifiedquire well too bad, turns out it isn't pinned anywhere -- checked with `ansible gateway -m shell -a 'docker exec -i ipfs ipfs pin ls | grep QmQQ3BUpPjgYiTdhp4H9YWSCtoFXs8t91njhpvXNNLd3yB'`
<dignifiedquire>
lgierth: interesting, thanks for checking
mildred has quit [Ping timeout: 250 seconds]
Encrypt has quit [Quit: Quitte]
dignifiedquire has quit [Quit: dignifiedquire]
kaliy has joined #ipfs
mildred has joined #ipfs
cemerick has quit [Remote host closed the connection]
cemerick has joined #ipfs
step21_ is now known as step21
mildred has quit [Ping timeout: 265 seconds]
Guest41565 has quit [Ping timeout: 272 seconds]
overdangle has joined #ipfs
sloom has joined #ipfs
step21 is now known as step21_
mildred has joined #ipfs
keorn has quit [Read error: Connection reset by peer]
keorn has joined #ipfs
mildred has quit [Ping timeout: 265 seconds]
disgusting_wall has joined #ipfs
hoony has joined #ipfs
wiedi has quit [Ping timeout: 240 seconds]
pinbot has quit [Ping timeout: 255 seconds]
diffalot has quit [Ping timeout: 255 seconds]
pinbot has joined #ipfs
diffalot has joined #ipfs
diffalot has quit [Changing host]
diffalot has joined #ipfs
diffalot has quit [Ping timeout: 240 seconds]
diffalot has joined #ipfs
diffalot has quit [Changing host]
diffalot has joined #ipfs
ygrek has joined #ipfs
ralphtheninja has quit [Quit: leaving]
nonaTure has quit [Quit: Leaving.]
Tera2342 has joined #ipfs
mildred has joined #ipfs
fragMental has quit [Quit: WeeChat 1.3]
Tera2342 has quit [Ping timeout: 256 seconds]
* optimusbrine
is so out of touch he actually had to check his calendar to make sure the 24th wasn't christmas
<Kubuxu>
optimusbrine: In my country main celebration is on 24ths
cemerick has quit [Ping timeout: 255 seconds]
ygrek has quit [Ping timeout: 272 seconds]
overdangle has quit [Ping timeout: 256 seconds]
<Kubuxu>
fazo: how content is delivered to administrations in your boards?
<Kubuxu>
fazo: because I have problem with imagining how to show/get random peoples' data.
ygrek has joined #ipfs
lucidly has joined #ipfs
<Kubuxu>
.ask fazo Have you solved problem of showing random people's content? If yes then how?
<multivac>
Kubuxu: I'll pass that on when fazo is around.
gaboose has joined #ipfs
nonaTure has joined #ipfs
<fazo>
Kubuxu: Haha! I am here
<multivac>
fazo: 2015-12-24 - 19:23:40 <Kubuxu> ask fazo Have you solved problem of showing random people's content? If yes then how?
<fazo>
well, there are two ways
<fazo>
either the administration informs the clients that they should look into a user's profile (because he in the whitelist of allowed posters for example)
reit has joined #ipfs
<fazo>
or the client just pulls random profiles looking for data if the administration allows everyone to post
<fazo>
then I thought about people actually including lists of people with content in a board in their own profiles so they can help the search, but this part isn't documented. For now I'm focusing my efforts in making scenarios with a set list of allowed posters in a board to work
<fazo>
which is already quite useful
<Kubuxu>
It is
<fazo>
administrations can set a whitelist and blacklist, plus they can allow single posts or comments to appear. Then, they can tell clients to only look through whitelist + approved lists or look everywhere but exclude everything in the blacklist
<fazo>
for example whitelisting already works
<fazo>
that's pretty much the only part actually tested
<fazo>
approved lists are implemented, kind of, but I never tested the code
<Kubuxu>
I think Web of Thrust/Knowledge approach would work great in case of IPFS
<Kubuxu>
Hmm. I might try writing spec for such a thing, allowing various metadata to be included in it.
<ansuz>
better call it content, or else it's fair game for the NSA
<ansuz>
> just metadata
<Kubuxu>
let's call it content :p
<Kubuxu>
This way, if we had standardized WoT then other applications could perform searches more easily.
<ansuz>
:+1:
<Kubuxu>
WoT with multiple levels and tags. So one could separate groups at least partially.
<Kubuxu>
but it still doesn't solve a problem of random stranger leaving message at a door step
<Kubuxu>
:/
<ansuz>
how many hops in a WoT makes you a random stranger?
<ansuz>
as many directors as it takes to fill your cjdns header?
<Kubuxu>
In theory it is just chain of 7 friends to reach every human.
<ipfsbot>
[js-ipfs-api] Dignifiedquire created greenkeeper-karma-0.13.16 (+1 new commit): http://git.io/vEzrX
<ipfsbot>
js-ipfs-api/greenkeeper-karma-0.13.16 db3bb56 greenkeeperio-bot: chore(package): update karma to version 0.13.16...
reit has joined #ipfs
dignifiedquire has quit [Ping timeout: 264 seconds]
cemerick has joined #ipfs
dignifiedquire has joined #ipfs
dignifiedquire_ has joined #ipfs
rendar has quit [Ping timeout: 260 seconds]
rendar has joined #ipfs
opal is now known as wowaname
wowaname is now known as opal
grahamperrin has joined #ipfs
grahamperrin has left #ipfs [#ipfs]
keorn has quit [Ping timeout: 260 seconds]
<fazo>
Kubuxu: commenting works, but it's quite limited for now
<fazo>
Kubuxu: for example either you are allowed to comment (you are in a whitelist), your comment was approved (it is in the approved comments list) or you risk that clients will never see your comment because they can't find it
<fazo>
however I'm planning a collaborative indexing system that will help finding content.
<fazo>
but that has to wait until I implement other things first
cemerick has quit [Ping timeout: 246 seconds]
<ion>
“<ansuz> how many hops in a WoT makes you a random stranger?” Six is probably the upper bound because even if the “six degrees of separation” theory were not accurate, it's probably on the same order of magnitude.
abstraktz has joined #ipfs
abstraktz has left #ipfs [#ipfs]
hartor has quit [Remote host closed the connection]
keorn has joined #ipfs
ygrek has quit [Ping timeout: 265 seconds]
Looking has joined #ipfs
keorn has quit [Ping timeout: 260 seconds]
mildred has quit [Ping timeout: 250 seconds]
ygrek has joined #ipfs
Looking has quit [Quit: Leaving]
<optimusbrine>
trying to understand how persistence works in local storage. If i insert objects into IPFS, its put into my local storage. Without pinning it, what can cause this data to 'fall out of local storage' aside from 'repo gc'?
<dignifiedquire>
richardlitt: added some more issues to the webui ;)
<ion>
optimusbrine: IIRC dev0.4.0 already has automatic GC.
<ion>
optimusbrine: In any case, it’s coming.
<optimusbrine>
My concern is adding an object, and then it falling out of local storage and disappearing from existence before i get a chance to pin it, or if pinning is really even necessary if im mostly concerned with manipulating the local store
<optimusbrine>
and this of course is assuming things aren't pinned automatically when you add them, which I intuited from something I added yesterday not showing up in pin ls today
<Confiks_>
/join #32c3-assembly
<Confiks_>
All spaces must die
<Kubuxu>
optimusbrine: I haven't pinned manually anything and there is lots of stuff pinned in my instance.
<optimusbrine>
OK, so then Its that assumption tripping me up
<optimusbrine>
i think its something to do with me messing around with two different version of ipfs looking at the same local store. they appear to not agree on what is pinned. I just need to clear my store and decide on one of them to use
dignifiedquire_ has quit [Quit: dignifiedquire_]
dignifiedquire has quit [Ping timeout: 240 seconds]