notduncansmith has quit [Read error: Connection reset by peer]
<lgierth>
if you're on hyperboria: /ip6/fc7f:3d04:419f:e9b0:526f:fc6a:576:cba0/tcp/4001/ipfs/QmeMFLjTA5BmPDWSsxjum5JJGeciwUhf6YgFgfhyTvT2Ne
rht_ has quit [Quit: Connection closed for inactivity]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
pfraze has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
rht_ has joined #ipfs
<whyrusleeping>
lgierth: i like that address :)
<lgierth>
quite aesthetically pleasing too
pfraze has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
williamcotton has quit [Ping timeout: 256 seconds]
<lgierth>
aha!
<lgierth>
bootstrap.go: // for now, we drop the "ipfs addr" part of the multiaddr. the rest of the codebase currently uses addresses without the peerid part.
<whyrusleeping>
lgierth: kinda, yeah
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<lgierth>
still needs to be a valid multihash
<whyrusleeping>
use nullspace: QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn
<tperson>
Did an empty directory just happen to give you that hash or did you nonce that?
<whyrusleeping>
thats just the empty directory hash
<whyrusleeping>
lol
<whyrusleeping>
no nonce
<tperson>
That is hilarious
Wallacoloo has joined #ipfs
<whyrusleeping>
i thought it was awesome
<lgierth>
i think that comment is outdated...
<lgierth>
nothing's being dropped there
<lgierth>
m := bp.Multiaddr()s := ma.Split(m)m = ma.Join(s[:len(s)-1]...)
<lgierth>
wat
<lgierth>
and then Addrs: []ma.Multiaddr{m},
Wallacoloo has quit [Ping timeout: 256 seconds]
<lgierth>
anyway
<lgierth>
with the netcat hackery it works
<lgierth>
good night
lgierth has quit [Quit: Ex-Chat]
acous has quit [Changing host]
acous has joined #ipfs
Wallacoloo has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
williamcotton has joined #ipfs
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
hellertime has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
Tv`: ive got the migration almost done
<whyrusleeping>
but for some reason the revert doesnt work
<Tv`>
whyrusleeping: okay. can i help?
<Tv`>
it looks simple
<whyrusleeping>
it should be
<whyrusleeping>
could you take a look?
<Tv`>
what part? e.g. only indirect going wrong?
<whyrusleeping>
so migrating to the new thing works fine
<whyrusleeping>
but migrating back loses all the pins
<whyrusleeping>
so i do ipfs init, and then run the migration
<Tv`>
do the keys end up set at all?
<whyrusleeping>
they are set as far as i can tell...
<whyrusleeping>
maybe not
<whyrusleeping>
i dont have much set up to verify though
<Tv`>
you dump out leveldb very nicely with the python bindings
<Tv`>
you should see bytearray(b'/local/pins/direct/keys') bytearray(b'["QmYoJKDEnocmJiBdyFN3hZwsbEg12sh3UzDYrXwVs3fvq1"]')
<Tv`>
etc
williamcotton has quit [Ping timeout: 256 seconds]
EricJ2190 has quit [Ping timeout: 258 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
www has quit [Ping timeout: 276 seconds]
williamcotton has joined #ipfs
hellertime has quit [Quit: Leaving.]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
tperson has left #ipfs ["Leaving..."]
tperson has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
williamcotton has quit [Ping timeout: 276 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
pfraze has quit [Read error: Connection reset by peer]
williamcotton has joined #ipfs
pfraze has joined #ipfs
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
williamc_ has joined #ipfs
williamcotton has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Wallacoloo has quit [Ping timeout: 256 seconds]
sharky has quit [Ping timeout: 264 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
sharky has joined #ipfs
pfraze has quit [Remote host closed the connection]
pfraze has joined #ipfs
Wallacoloo has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
Tv`: are the /local/pins/recursive/keys/XYZ things required?
<Tv`>
whyrusleeping: as far as I can tell they were write only
<Tv`>
looked like unfinished code
<Tv`>
they have the same data as the json
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
weird...
robsyme has joined #ipfs
<Tv`>
tell me about it, I had to dig through the codebase....
* whyrusleeping
has a moment of silence for Tv`s sanity
<whyrusleeping>
when i wrote this originally i tried to make it as basic as possible, and it was just the array of keys stored at a single key
<whyrusleeping>
and then other people started touching it
<Evermore>
The end of many a good codebase that died young
pfraze has quit [Remote host closed the connection]
<whyrusleeping>
Tv`: yeah, somethings weird
<whyrusleeping>
after the revert, all the keys are as they should be
<whyrusleeping>
read out via the python leveldb thing
<whyrusleeping>
but 'ipfs pin ls --type=all' shows nothing
<Tv`>
whyrusleeping: check out the stupid code that throws away pins on any error
<Tv`>
it's probably giving an error there, silently
pfraze has joined #ipfs
<Tv`>
grep NewPinner or something
<whyrusleeping>
oh cool
<whyrusleeping>
thats awesome
patcon has joined #ipfs
<whyrusleeping>
youre right
<Tv`>
yeah wanted to replace it first, get a good error for key not there, handle that one error right
<whyrusleeping>
wooot!
<whyrusleeping>
pinning migration works
sharky has quit [Quit: Leaving]
<whyrusleeping>
now in a few hours when jbenet wakes up he can finally merge all that shit
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
rht_ has quit [Quit: Connection closed for inactivity]
orzo has quit [Ping timeout: 265 seconds]
orzo has joined #ipfs
<robsyme>
Heya all. I'm a scientist looking at IPFS to help our group keep results more reproducible by having universal, shareable identifiers for datasets and workflows. Deduplication "for free" is also a great bonus. Is anybody else here using IPFS for similar things? You can find me on this username at most places on the web.
notduncansmith has joined #ipfs
notduncansmith has quit [Ping timeout: 252 seconds]
<robsyme>
The only sticking point we have at the moment is that some of our data is occasionally under MTAs and cannot be legally shared with the whole world, but I'd still like to be able to share with international collaborators. I suppose (as a non-crypto person) one option would be to encrypt the files and then 'ipfs add' them. When the embargo ends, we'd have to 'ipfs add' the unencrypted files and store both copies.
<robsyme>
Is there a clever way around this?
<Evermore>
I suppose in theory you could have a private swarm which only dials known peers but I don't know if they've got any config options for that
inconshreveable has joined #ipfs
<robsyme>
@Evermore: thanks. I'll have a tinker around.
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
pfraze has quit [Remote host closed the connection]
<robsyme>
It would be great to have the option of storing the blocks for either the encrypted or unencrypted file but and then being able to toggle the daemon to only serve only the encrypted version or only the unencrypted version or both. I suppose you'd have to encrypt the whole thing when adding and store the hashes for both versions. Again, I'm a simple biologist and understand very little about encryption.
pfraze has joined #ipfs
<Evermore>
Once you publish it you could probably delete the encrypted version to save on disk space.
<Evermore>
If it's always the same case of adding encrypted data, then replacing it with unencrypted, you can do that with regular pinning and unpinning I think
<robsyme>
I suppose, but then workflows that relied on the encrypted versions would break. That's probably no the end of the world though - ideally you'd want publish those again with the open data anyway.
<Evermore>
hm good point
pfraze has quit [Ping timeout: 272 seconds]
<Evermore>
Well you can use ipns to rename the data
<Evermore>
So instead of pointing to the unencrypted hash and having to change the hash, just point to the ipns URL
<Evermore>
s/unencrypted/encrypted
<robsyme>
That sounds like a good solution.
<robsyme>
If we had two daemons running (one connected to the wider network and one connected to specific peers), could they share the same $IPFS_PATH/datastore?
<Evermore>
In case you want to host some public data, on the private daemon, without some remote node having to join the public network?
<robsyme>
Yup. Would like to avoid accidentally having to store the same data twice.
<Evermore>
I think ipfs stores all its data in "leveldb". I'm looking at the readme and leveldb says it can only be accessed by one process at a time. I think there must be some way around it, and I don't know if they're going to stick with leveldb forever
inconshreveable has quit [Remote host closed the connection]
<Evermore>
Maybe you can have the private server forward data from the public one
<robsyme>
I'm not sure how to do that at the moment, but I'll read up and give it a shot.
<robsyme>
Thanks!
<Evermore>
I don't think the current version is designed for that kind of thing is what I mean
<robsyme>
Ah, ok.
<Evermore>
I hope it ends up working for you
<robsyme>
All of these workarounds provide great incentives for more open science!
<clever>
robsyme: what about using ipns to change the files within a hash?
<robsyme>
Is ipns all working now?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<robsyme>
Gar. I can't get at the docs as the university has decided to block ipfs.io as 'file-sharing'. Are the ipfs docs hosted on ipfs? If so, can somebody shoot me the hash?
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
flugsio has joined #ipfs
williamc_ has quit [Read error: Connection reset by peer]
williamcotton has joined #ipfs
sharky has joined #ipfs
besenwesen has quit [Quit: ☠]
besenwesen has joined #ipfs
besenwesen has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
flugsio has quit [Quit: WeeChat 1.2]
patcon has quit [Ping timeout: 258 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
kyledrake has quit [Ping timeout: 264 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
williamcotton has quit [Ping timeout: 252 seconds]
Wallacoloo has quit [Quit: Leaving.]
tilgovi has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Tv` has quit [Quit: Connection closed for inactivity]
inconshreveable has joined #ipfs
inconshreveable has quit [Remote host closed the connection]
tilgovi has quit [Ping timeout: 265 seconds]
Wallacoloo has joined #ipfs
cryPhone has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Wallacoloo has quit [Quit: Leaving.]
Wallacoloo has joined #ipfs
cryPhone has quit [Remote host closed the connection]
cryPhone has joined #ipfs
cryPhone has quit [Client Quit]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Wallacoloo has quit [Quit: Leaving.]
Wallacoloo has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
www has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Wallacoloo has quit [Quit: Leaving.]
headbite has quit [Ping timeout: 272 seconds]
mquandalle has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
headbite has joined #ipfs
EricJ2190 has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet>
robsyme: that (school blocking) really sucks. Can I get in touch with them? What school is this?
<robsyme>
curtin.edu.au
<robsyme>
(Australia)
<robsyme>
It looks like their intention is to block the gateway
<jbenet>
robsyme +1 to data identifiers. Also be aware of dat -- dat-data.com -- dat cares about this problem too.
<jbenet>
robsyme: interesting I wonder if people are using it for bad things -- or this is pre-emptive
<robsyme>
Yeah, the dat people are doing great work.
<jbenet>
robsyme on the encryption thing-- we will support encryption of objects directly so that you can then just hand out the keys without a link change-- though re-adding is not a big deal if you have an IPNS name to point to it (and yeah this isn't working 100% yet but almost there)
<robsyme>
So the node takes care of it?
<robsyme>
(or will take care of it eventually)
mildred has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet>
robmyers: right-- but the approach you suggested works today :)
<Luzifer>
yeah. the perfect saturday... reading and annotating contracts... (-_-")
lgierth has joined #ipfs
<robsyme>
jbenet: Thanks! I'm really excited by the project. The protocol looks like it will provide a wonderful platform that we can use to solve some serious problems of reproducibility in computational biology.
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet>
robsyme: indeed! I really care about this problem. It's huge. I wrote some thoughts a while back-- see juan.benet.ai -- (I should update that)
<jbenet>
robsyme: let me know if we (or dat) can be helpful at any point.
<robsyme>
jbenet: I think that a combination of ipfs + common-workflow-language will move things forward a long way. I'll let you know how we go.
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet>
Sounds good. I think common formats / specs are needed, with careful look at package management. Max cares about this a ton too. Maybe we can all sync up together some say
<jbenet>
Whatever feedback you have for all of us will help drive development of tools in the right direction.
<jbenet>
robsyme ogd
<jbenet>
o/
<jbenet>
lgierth the Internet here (kino) is realy bad. I wonder if there is are freifunk nodes nearby that we can bootstrap from. The map shows nodes about 3 blocks away. I'm thinking of going to get some wifi APs to connect to.
<jbenet>
lgierth are you around here yet?
<lgierth>
jbenet: if you can get on the roof there's a good chance
<lgierth>
nope, went to a club and overslept...
<lgierth>
when i was actually already about to go to sleep
<jbenet>
Nice :) I was late too.
<lgierth>
need run an few errands, bbiab
<jbenet>
So it would be really awesome to fix this internet problem here. I can go buy some wireless APs any model needed?
<lgierth>
nanostation m2 for the point-to-point, anything tp-link for the inside
<lgierth>
nanostation needs a power-over-ethernet adapter too
<lgierth>
i don't have any here unfortunately
<lgierth>
can you see any churches around?
<lgierth>
emmaus-kirche north at lausitzer platz, the tower of rathaus neukoelln (south), martin-luther-kirche (south), and zwingli-kirche (east) would be your best chances i guess
<lgierth>
bbiab
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet>
lgierth don't see churches. Hmmm I'll go get some APs. What's the nanostation m2? Link?
<jbenet>
Nikodemus kirche maybe
chriscool has quit [Ping timeout: 272 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
marklock has joined #ipfs
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
mildred has quit [Quit: Leaving.]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
chriscool has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<lgierth>
jbenet: yeah nanostation for point-to-point. but it'll be useless if there's no line-of-sight
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
robsyme has left #ipfs [#ipfs]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
kyledrake has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
void has joined #ipfs
void has quit [Client Quit]
inconshreveable has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
lgierth: ubiquity APs are so good
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<lgierth>
whyrusleeping: indeed!
henq has joined #ipfs
<lgierth>
unfortunately they stopped dedicating work towards support in openwrt
<lgierth>
so no people make it work on their own
<lgierth>
*now
<lgierth>
bbiab
lgierth has quit [Quit: Ex-Chat]
henq_ has joined #ipfs
<henq_>
is it okay to post newby questions here?
<cryptix>
henq_: please do
<cryptix>
henq_: if you dont want to, have a look at the faq but every kind of question is welcome here
<henq_>
okay, i tink i get the concept of ipfs. even have it installed and running on ubuntu. But my question is: if i reference an image from whithin my webpag <img src=“/static/cat.jpeg”> and this image is delteed by accident 9say), is there a mechanism to fetch the image from another node on 404 ? Sample code? Have to roll ones one?
<henq_>
(bit silly example)
<cryptix>
henq_: the ipfs node serving the webpage will keep looking for the image
<cryptix>
henq_: so if it got requested by another node before it can still serve it - no work on your part needed
<henq_>
okay, you answer means i dont understand it. how does serving out my webpage and ipfs ar glued together? i miss that part
<cryptix>
henq_: be aware though that you need relative links in your webpage to make it work nicely. lets say you have all the .html and .jpg and what ever in ./public - you 'ipfs add -r public' and get back the root hash. in your html you only link relativly like <img src='./img/cat.png'> where img is under public
<cryptix>
which will then link in ./img/cat.png which resolves to /ipfs/Qm123/img/cat.png
<cryptix>
sorry - maybe i should have started with this, every node opens a http gateway by default on localhost:8080
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<henq_>
you write “you can access the webpage by going to” … that confuses me . Say I have u wordpress site (with dynamically generated html) under Apache2. Can I still use ipfs to keep the images “backed up” so to speak? Or can ipfs only works seemless ias you described if it also serves out the html that references the images?
<whyrusleeping>
henq_: you can have apache serve out of ipfs, which means you do a reverse proxy to the local ipfs gateway on your machine
inconshreveable has quit [Remote host closed the connection]
<headbite>
that works with the menu links but it doesn't look "pretty". hash/site/postname as opposed to hash/site/?p=1
void has quit [Ping timeout: 244 seconds]
<headbite>
I'm not positive it works if your site has a CDN... there is a -D option in wget but the first site I tied it on wasn't my own and I got blocked by the robots.txt
inconshreveable has joined #ipfs
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
henq_ has quit [Quit: henq_]
henq has quit [Quit: henq]
rht_ has joined #ipfs
<whyrusleeping>
hrmmm
henq has joined #ipfs
henq_ has joined #ipfs
<henq_>
[I am back from eating ;-] I can grasp 2 concepts: (A) ipfs functions as a sort of dropbox, keeping real filesystem level directories synced. (B) emulating a virtual directory that is mounted into the filesystem, so that when a file is requested from that direcotry tree, the ipfs daemon is actually interrogated and (C) by some magic (module?) Apache (say) when an URL conforms to a certain format, the file is not requested from tjhe file system but piped from t
<henq_>
ipfs daemon.
<henq_>
Are this all 3 realistic approaches? Am I missing a conceptual solution? TIA
<henq_>
2-> 3
<Evermore>
I don't think it's like Dropbox, it's more like Git and Bittorrent
<Evermore>
I'm also wondering how I can use IPFS on my website, something like a gatway but only hosting pinned data
<whyrusleeping>
Evermore: a whitelist system for the gateways is planned
<whyrusleeping>
if people want it sooner rather than later i can reprioritize
<Evermore>
whyrusleeping: I feel like there's some unixy trick to get around it
<Evermore>
Maybe I can put a whitelist into nginx somewhere
<henq_>
okay, more lige git then dropbox, fine. But I still try to understand how an apache request for a static file that is missing locally can trigger instantaneously a fetch by the ipfs node.
void has joined #ipfs
<Evermore>
henq_: Well if Apache is looking inside the FUSE /ipfs dir then the kernel will route the request for that file through IPFS. Apache will just see it as a file
henq__ has joined #ipfs
<headbite>
at that point you're kind of like a ipfs gateway that only serves one site.
henq_ has quit [Read error: Connection reset by peer]
williamcotton has joined #ipfs
<Evermore>
headbite: I want to take advantage of the "permanent web" thing so I can pin the root of my site somewhere and know that it's backed up
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
patcon has joined #ipfs
void has quit [Ping timeout: 245 seconds]
<henq__>
i will try and set up a test page , served by apache , serving an image via fuse. let you guys know
void has joined #ipfs
Tv` has joined #ipfs
<headbite>
Evermore: I want to learn how the revision stuff works... seems like that would be sweet if a site ever got compromised. Just fall back to a date you knew you were good.
<Evermore>
headbite: Same way as in Git. Hashes don't change, so just keep the hash of the old site
<headbite>
o... that makes sense.. must of been over thinking it.
<Evermore>
There's a lot of applications I'm excited about. Like finally having a way to host HTML as good as Imgur hosts images
<Evermore>
Cause so many images should have been born HTML
<Evermore>
If I wanted to show someone some code that isn't working maybe I could use a script to pin it for just an hour then automatically expire it
<Evermore>
instead of pastebin
<Luzifer>
hmmm that brings an idea to my mind...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<Luzifer>
yepp... http://codeview.my.tld/#<IPFS hash goes here> using highlight.js to build and highlight code...
williamcotton has quit [Ping timeout: 245 seconds]
williamcotton has joined #ipfs
* Luzifer
puts that on his list
<Luzifer>
jbenet: would need #1272 for that. as well as for my api documentation in ipfs thing...
<Evermore>
I recently found out about pygmentize but the actual highlighting is orthogonal to ipfs, I just preferred not to use JS
<Luzifer>
Evermore: sure whole pages in ipfs would work too. I just thought about `cat main.go | ipfs add` and then give that to someone combined with that viewer
<Evermore>
yeah
<Luzifer>
nice thing about IPFS: endless solutions! \o/
<Evermore>
One of the few "You can do anything with it!" projects that actually seems useful
<henq__>
newby question #2: let’s say my cat.jpg image by accident shows a nipple -cat nipple gate. I want to edit the nipple away, but I do not want to change html <img src=./ipfs/cat.jpg> . So the newedite image , with a different hash, must replace the old one. This will work?
<henq__>
newedite -> new/edited
<Luzifer>
henq__: nope. it will get a new hash as soon as you change the file
<Luzifer>
you will have to replace the old hash to display your new cat
<Evermore>
You would end up changing all the hashes up to the root of the site, or until you hit ipns like "/ipns/editable-cat.jpg"
<henq__>
but when mounted via fuse i am looking at file system only, right? no hashes on that level
mildred has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<headbite>
fuse still uses /ipfs/hash and /ipns/hash
<Evermore>
ipns names are human-readable aren't they?
<Evermore>
or am I thinking of /ipns/hash/name
<headbite>
if I remember right after you ipfs name publish then it spits out a hash... the human readable thing is something with DNS
<Luzifer>
you still have the hashes in like headbite said. IIRC there is a special file (or dir?) named "add" as only writable point
<Luzifer>
(not using that fuse stuff because every time I touch any fuse fs my system goes boom and I have to glue the pieces together...)
headbite has quit [Quit: Leaving.]
luca has quit [Remote host closed the connection]
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
void has quit [Ping timeout: 256 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
Luzifer: yeah... fuse can be flaky
<whyrusleeping>
i've thought about writing a native kernel driver a ways down the road
<Luzifer>
whyrusleeping: for OSX too?
<whyrusleeping>
Luzifer: haha, probably not
<whyrusleeping>
i have an alright amount of filesystems experience on linux and freebsd
<Luzifer>
hmm why not? there are some ways for kernel extensions... but tbh I have not a minimal amount of clue about that :D
<whyrusleeping>
yeah, i'm not sure how open OSX is for hacking on
<Luzifer>
probably not much. and probably thats the main reason I like OSX... it just works and don't lead to much soldering below the surface like I did in my Gentoo / Ubuntu periods
<Luzifer>
now I only use PIs for really strange things... :D
<whyrusleeping>
yeah... i sometimes consider using OSX because it just works (tm)
<whyrusleeping>
but it doesnt ever work the way i want it to
<Luzifer>
being around with it since 8 years I'm quite used to it :D
<whyrusleeping>
so i'm okay with things working 95% of the time, to have it work exactly the way i want it to
<ipfsbot>
[go-ipfs] chriscool created t0040-stdin-add-tests (+1 new commit): http://git.io/vTQNc
<ipfsbot>
go-ipfs/t0040-stdin-add-tests ee3092f Christian Couder: t0040: test ipfs add with stdin...
<ipfsbot>
[go-ipfs] chriscool opened pull request #1285: t0040: test ipfs add with stdin (master...t0040-stdin-add-tests) http://git.io/vTQNz
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
inconshreveable has quit [Read error: Connection reset by peer]
chriscool has quit [Ping timeout: 264 seconds]
kyledrake has quit [Ping timeout: 250 seconds]
lgierth has quit [Ping timeout: 245 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
lgierth has joined #ipfs
void has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0/20150511103818]]
lgierth has quit [Read error: Connection reset by peer]
kyledrake has joined #ipfs
chriscool has joined #ipfs
luca has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<henq__>
Is this normal? ls / gives a strange rwx listing:
<henq__>
d????????? ? ? ? ? ? ipfs
<henq__>
d????????? ? ? ? ? ? ipns
tilgovi has joined #ipfs
lgierth has joined #ipfs
anshukla has joined #ipfs
lgierth has joined #ipfs
<lgierth>
jbenet: works. it is a chain now: https://paste.debian.net/182692/ i took out c9 though... the two little ones sit there, password 12345, wifi-psk hunter22. the bags and jacket are in the back by the fritzbox
chriscool has quit [Ping timeout: 244 seconds]
<lgierth>
bai
lgierth has quit [Client Quit]
rht_ has quit [Quit: Connection closed for inactivity]
williamcotton has quit [Quit: quit]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
patcon has quit [Ping timeout: 252 seconds]
lgierth has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
lgierth: if you were to buy a new router (or other hardware) for setting up a mesh network, what would you get?
mildred has quit [Quit: Leaving.]
www has quit [Ping timeout: 256 seconds]
<Tv`>
whyrusleeping: copy whatever an existing successful project is doing
<lgierth>
4 mb flash is hairy but ok, >= 8 mb is good
<lgierth>
once there's gcc-linaro 5.x, it's gonna be easier to package golang apps
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
<lgierth>
and yeah what Tv` said, look around :)
<lgierth>
there's an enormous amount of knowledge in the community network
<lgierth>
*networks
<Tv`>
... just not very well gathered together
<lgierth>
yep!
<Tv`>
also, providing wifi for >100 people is it's own special kind of hell
<henq>
guys, i have ipfs installed, fuse too, webui runs perfectly. /ipfs and /ipns are mounted. files added via webui. seems to work. so final step: how to reference cat image file via file system? /ipfs/Qmd28… nor ipns/local/Qmd28.. or variaions thereof seem to work. (and i want the .jpg extension in order for apache to make the right mime decision.)
<whyrusleeping>
henq: if you 'ipfs add -w img.jpg'
<whyrusleeping>
youll get what you want
<whyrusleeping>
or add a folder full of your images
<henq>
so if i drag and drop with webui it wojt work like i want?
tilgovi has quit [Ping timeout: 252 seconds]
<whyrusleeping>
it should
<whyrusleeping>
yeah
<whyrusleeping>
er, sorry, it probably wont
<whyrusleeping>
i'm working on some tools soon that will make building the directories within ipfs the way you want nicer
<cryptix>
re
<henq>
as long as i have the recipe, i dont mind if it is not quite straightforward. I have some right issues me thinks , as all else works
www has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<henq>
"Mounts": {
<henq>
"IPFS": "/ipfs",
<henq>
"IPNS": "/ipns",
<henq>
"FuseAllowOther": false
<henq>
},
<henq>
should I set FuseAllowOther to true?
Wallacoloo has joined #ipfs
<whyrusleeping>
uhm, i dont beleive so
anshukla has quit [Remote host closed the connection]
<cryptix>
henq: AllowOthers enables other useers of the OS to access your fuse mounts
<cryptix>
if apache is running as a different user you might have to but honestly i dont think its a good way to operate
<henq__>
I put www-data in fuse group
<cryptix>
if the node is going down or fuse hangs your apache might behave weirdly
<cryptix>
really, just set up apache to reverse proxy against the ipfs daemons http gateway
<henq__>
I try to cram ipfs in current workflow, like artists uploading their artwork via scp or webdav or whatever to the webserver
<henq__>
to a directory , i meant
<henq__>
I am very close, it seems. ;-)
patcon has joined #ipfs
<henq__>
industry workflows are not easyaltered. maybe infutre photoshop will have an ipfs plugin…
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
marklock has quit [Ping timeout: 246 seconds]
<cryptix>
well.. just trying to tell you how to use it to reduce pain
<cryptix>
have your normal incoming directory and then run a cron job that 'ipfs add's new stuff, records the hashes and cleans up
<cryptix>
multipart upload directly to the http api is another option
<cryptix>
running it through fuse (which only the ipns one is writable of - which also adds other stuff you basically dont need) really adds another moving layer thats not necessary
<cryptix>
whyrusleeping: do you know why /tcp/0 doesnt work for Addresses.API
<cryptix>
whyrusleeping: it opens up a random port but the cli is using the wrong one.. i guess it still dumply looks at the config, not the one that was actually opend
<henq__>
no, thats above my head.
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
<cryptix>
whyrusleeping: s/the wrong one/still uses 0 - which obv doesnt work
<henq__>
the only thing i see is that the ipns and ipfs directories rights get screwed as soon as daemon is started.
<henq__>
after mount:
<henq__>
d????????? ? ? ? ? ? ipfs
<henq__>
d????????? ? ? ? ? ? ipns
<cryptix>
henq: what platform are you on? i guess they wernt cleanly unmounted
<henq__>
ubuntu 14
<cryptix>
on linux you would run "fusermount -u /where/did/i/mount/ipfs" to clean that up
<henq__>
fusermount: entry for /ipfs not found in /etc/mtab
<henq__>
“sudo ls /ipns” works, but of course apache does not run under su
<henq__>
but i will listen to you ;-), pointer to this reverse proxy setup ?
<cryptix>
thanks :) its just messy to get fuse working right and... :) let me take a lookg at apache
<cryptix>
for basics.. play with this. create a directory anwyere, put some random data in it, 'ipfs add -r myDir' and access that by going to http://localhost:8080/ipfs/$theHashIgot/some/file/inside/the/dir/cats.png
<whyrusleeping>
cryptix: hmm... i dont know.
<whyrusleeping>
its oh
<cryptix>
henq: once you get a feeling for that..
<whyrusleeping>
well, the CLI needs to know what port to connect to
<whyrusleeping>
and if you set up the port as 0
<cryptix>
whyrusleeping: found it - its just priting the multiaddr it got from config
<cryptix>
corehttp.ListenAndServe doesnt return the address it actually listens on
<whyrusleeping>
ooooh, okay
<henq__>
that works already, thx. I want to embed image in html file, without port trickery
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<henq__>
@cryptix: thx a lot. (I do think the fuse route would make adoption much easier for average web guy); we’ll see; I like ipfs a lot , I think it will be big.
<cryptix>
henq: very welcome :) in theory - yes. i'm just not sure this is as stable as we want (its all alpha after all) and i just wanted to make sure you were getting a more direct access to what you want to do
<cryptix>
henq: also, let us know of any problem you run into
kyledrake has quit [Ping timeout: 252 seconds]
<henq__>
well , maybe the proxypassreverse can be standardized and could go in a .htaccess file that you drop in your website… II’ll give a try, now signing off , thx a lot
<cryptix>
np :) cya
<cryptix>
whyrusleeping: why?!
<cryptix>
whyrusleeping: cant you construct a multiaddr from like 'localhost:1234'?
<cryptix>
maybe i'm blind..
kyledrake has joined #ipfs
<whyrusleeping>
cryptix: huh?
<whyrusleeping>
you can construct that
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
but you would have to then go back and put the selected address in the config
<cryptix>
whyrusleeping: do you think that's desired behaviour to update the random port in the config? i mean - to get it working you need it of course.. but there is no clean way to set it back to zero. meaning, it would persist that rand port on the next startup
anshukla has joined #ipfs
<cryptix>
maybe i'm wrong and it doesnt even persist
anshukla has quit [Remote host closed the connection]
anshukla has joined #ipfs
kyledrake has quit [Ping timeout: 256 seconds]
www1 has joined #ipfs
<ipfsbot>
[go-ipfs] cryptix created feat/httpApiTcpPort0 (+1 new commit): http://git.io/vT7in
<ipfsbot>
go-ipfs/feat/httpApiTcpPort0 ece64e4 Henry: httpGw: make /tcp/0 work...
<ipfsbot>
[go-ipfs] cryptix opened pull request #1287: httpGw: make /tcp/0 work (master...feat/httpApiTcpPort0) http://git.io/vT7i4
www has quit [Ping timeout: 272 seconds]
<ipfsbot>
[go-ipfs] cryptix pushed 1 new commit to feat/httpApiTcpPort0: http://git.io/vT7i1
<ipfsbot>
go-ipfs/feat/httpApiTcpPort0 336a6d6 Henry: tcp0: use proper helper for multiaddr construction
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
okket has quit [Max SendQ exceeded]
okket has joined #ipfs
lgierth has quit [Ping timeout: 244 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet>
Huh it's not listed there-- the idea was to put a daemon file (in addition to repo.lock) that has a live api url.
tilgovi has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<cryptix>
jbenet: yea that makes more sense - to get that working easier we might want to open the listeners in one place and construct the corehttp server by just passing the listener down