<jbenet>
we _may_ opt to make it so arbitrary data counts as a node too, but that would mean coming up with a clever way to detect the link table. (maybe if the link table parses, it's a link table, else it isn't? that may work out ok, but it sure is a bit sketchy.
<dandroid>
is not used for that
<jbenet>
dandroid: nope, a "block" is just a serialized node.
notduncansmith has quit [Read error: Connection reset by peer]
dread-alexandria has quit [Quit: dread-alexandria]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
bedeho2 has joined #ipfs
bedeho has quit [Ping timeout: 255 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
www has quit [Ping timeout: 250 seconds]
PayasR has quit [Quit: Ex-Chat]
guest3435e3 has joined #ipfs
guest3435e3 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]
hellertime has quit [Quit: Leaving.]
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]
<tperson>
daviddias: is your work on node-ipfs online someplace?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Leer10 has joined #ipfs
<Leer10>
agh I forgot how to make ipfs websites
<Leer10>
namely, how do you check if a file is pinned
<Leer10>
also I'm gonna mirror a few sites from freenet that I love
<Leer10>
well more exactly a few web pages and link them to my site
<whyrusleeping>
Leer10: you can just ipfs add -r the website directories
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<Leer10>
already did that
<Leer10>
I just can't remember how to put it into the IPNS
<Leer10>
Actually I'm gonna go look around for some good website builders
<Leer10>
static, of course
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<daviddias>
tperson it is scattered a bunch some repos, like: https://github.com/diasdavid/node-multistreamhttps://github.com/indutny/spdy-transport which were the first two things we needed to tackle to get interop and now that we have spdy-transport interoping with spdystream (big props to indutny for being brilliant and a machine at shipping code), we will be
<Leer10>
it has localization support and a theme viewer
sharky has quit [Ping timeout: 256 seconds]
manu has quit [Ping timeout: 272 seconds]
sharky 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]
tilgovi has joined #ipfs
Wallacoloo has quit [Quit: Leaving.]
notduncansmith has joined #ipfs
pfraze has quit [Remote host closed the connection]
notduncansmith has quit [Read error: Connection reset by peer]
<Leer10>
I hope this will work on ipfs
temet has joined #ipfs
<temet>
Question: is there way to set up a file to provide a source of streaming data?
<jbenet>
temet not yet but working on it (pub sub) -- we could use some help implementing if you're interested
<temet>
ive been looking at the implementation but am too far behidn in comprehend completely how it's implemented.
<temet>
THat is to say, it'll take a while before I start grokking the specifics in the source code.
<temet>
I didn't find this is in the docs (or rather the command documentation) is there a way to retrieve what the original filename was tied to a an add? I find myself directory wrapping all my adds since simply adding them forces the extension to be lost and then the ability for the client to detect the mimetype correctly when they try opening through a gateway
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
tilgovi has quit [Ping timeout: 256 seconds]
mildred has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
patcon has quit [Ping timeout: 246 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<Leer10>
agh my brain is frying trying to get the localization working on index.html
<Leer10>
trying do do this for an hour
<jbenet>
temet wrapping is the way to do it. We have `add -w` for that purpose
<jbenet>
Leer10 what's the issue?
<Leer10>
trying a static website builder that claims to have localization but it isn't applying it to the home page
<Leer10>
still need to tweak things AKA remove search and RSS
<Leer10>
okay I think that's enough ipfs site meddling for now
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
elima has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<zignig>
jbenet: o/
<reit>
<jbenet> temet wrapping is the way to do it. We have `add -w` for that purpose
<reit>
oh cool, i was just about to ask about something like that
<reit>
that makes things easier
hellertime has joined #ipfs
<temet>
Another question, after adding a file, how does one remove it?
<zignig>
temet: you can't really, you can make alterations with ipfs object patch
<zignig>
or clear out all un pinned objects with ipfs repo gc.
<temet>
So i let .ipfs/ balloon and there's no real valid way to reclaim that space correctly
<temet>
i did run that
<temet>
nothing changed
<temet>
nothing's pinned
<temet>
same exact amount disk space used.
<reit>
ipfs pin ls -t all
<temet>
even though nothing is pinned?
<reit>
try running that
<temet>
i did
<jbenet>
temet nothing is pinned? And gc doesn't remove things?
<jbenet>
temet ipfs add pins by default so you would've had to remove pins
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet>
Else the pin ls isn't working
<temet>
yes nothing shows, nothing is removed
<temet>
and the version i used was the binary provided (x86) for Linux since grabbing from the github wouldn't work
<temet>
hrm
<temet>
Alright, in the meantime I guess i'll start working on a wrapper script that keeps track of mappings between Hashes (added by ipfs add) and their original content/metadata
<temet>
Would there be interest in that?
<temet>
A wrapper script that does accounting on the objects added, their space taken, and their mappings?
<temet>
Also note: http://ipfs.io/docs/commands/ the links on this page since the anchors on the links are broken. The base url is used ipfs.io, so clicking on it doesn't scroll down to the proper section, but instead tries to grab ipfs.io/#someanchor
<temet>
s/since/are
<temet>
Really weird, might be browser specific.
<reit>
i have a situation where i have a number of files with unique random filenames (to avoid conflicts) all stored in the same directory, but i want to ipfs add -w them giving them a specific name i have stored separately in a database, is this possible to do (without going through the trouble of moving them to a new directory, renaming them and then performing the add)?
<temet>
Right, so I'm not sure if it's because there's a difference between how the DTD was handled in earlier versions of the HTML spec
<temet>
but also fails to load properly on Opera/Firefox/Chromium on Ubuntu/Debian and a Kubuntu machine
<temet>
hrm, maybe make a hard link/symbolic link with the desired file name, adding it, then removing the link as part of a script
<temet>
I know that seems like more of a kludge than a fix.
<reit>
temet: i don't think that would help the situation much, i'd still have to create a new temp directory to store the link to avoid the risk of a conflict (the adds may happen in parallel)
<temet>
in paralles, as in a multithreaded situation?
<temet>
parallel*
<reit>
yes
<reit>
and some of the files may have the same name
<temet>
How about a lock on a semaphore so that only one thread can execute during that specific point
<temet>
?
<temet>
I don't know what language you're working with, so specifically I wouldn't know what else to say.
<reit>
could do, still a hack though
<temet>
True.
hellertime has quit [Quit: Leaving.]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Tv` has quit [Quit: Connection closed for inactivity]
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]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
kbala has quit [Quit: Connection closed for inactivity]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
JasonWoof has quit [Ping timeout: 264 seconds]
JasonWoof has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
ryepdx has quit [Ping timeout: 265 seconds]
ryepdx has joined #ipfs
<ehd>
has anyone made an ipfs-based docker registry? thinking of `docker pull <hash>`
<ehd>
you could probably make an HTTP proxy that proxied calls like `docker pull ipfs/<hash>` to ipfs ;)
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
zigguratt has joined #ipfs
zigguratt has left #ipfs [#ipfs]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has quit [Read error: Connection reset by peer]
<Blame>
how should one pick a high-numbered port "default" for network software? Just pick a number >8000 at semi random? is there a big listing of "claimed" ports?
<lgierth>
jbenet: i'll deploy go-ipfs master on the gateways ok?
warner has joined #ipfs
<jbenet>
lgierth
<whyrusleeping>
lgierth
<ipfsbot>
[go-ipfs] whyrusleeping force-pushed feat/netsim from a2d55ae to 35742de: http://git.io/vtSjz
<ipfsbot>
go-ipfs/feat/netsim cd0b1cf Jeromy: replace dialer with interface
<ipfsbot>
go-ipfs/feat/netsim 5bcccea Jeromy: use dialer interface in net
<ipfsbot>
go-ipfs/feat/netsim a9f7f56 Jeromy: prevent handshake from deadlocking on low connection buffers
<lgierth>
ah hey i could add a step that announces the deploy here. "<deploybot> deploying github.com/ipfs/go-ipfs/commit/74a331db9 on gateway.ipfs.io"
<lgierth>
lgierth
<lgierth>
who am i
<lgierth>
and how many
<jbenet>
hahaha
<jbenet>
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
atrapado has quit [Ping timeout: 272 seconds]
<lgierth>
jbenet: so was that a "hold off on that?"
<jbenet>
lgierth: oh, nope.
<lgierth>
oh mh maybe my weechat filtered that out. i just got "lgierth" "hahaha" and an empty line
<whyrusleeping>
jbenet: i dont understand at all how the networking layer works
* lgierth
too
<whyrusleeping>
somehow i'm making a connection to your node without calling the p2p/net/conn/dial.go Dial() method
<jbenet>
magic \o/
<jbenet>
whyrusleeping really? i think at this point my node may just be dialing you back.
atrapado has joined #ipfs
<jbenet>
whyrusleeping: block 127.0.0.1/32 and you should be able to test locally
<jbenet>
whyrusleeping just rebooted my node, too
patcon has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
chriscool has quit [Ping timeout: 272 seconds]
<lgierth>
krl: the webui bundle.js is pretty big
<lgierth>
heh pretty exactly 3 MB
therealplato has quit [Read error: Connection reset by peer]
<jbenet>
lgierth: cjdns memory usage?
<lgierth>
the js that goes over the wire to the browser
therealplato has joined #ipfs
<lgierth>
cjdroute takes 0.2 % of 994 MB on pluto :)
<lgierth>
i don't know if $current is codified somewhere
<whyrusleeping>
lgierth: its in the core/corehttp/webui.go i think
<lgierth>
whyrusleeping: ah thanks
<ipfsbot>
[go-ipfs] whyrusleeping created fix/addr-filter (+1 new commit): http://git.io/vt9c8
<ipfsbot>
go-ipfs/fix/addr-filter e7fd57f Jeromy: add filters from config to addr filter in swarm...
<whyrusleeping>
kyledrake: thats embarassing :/ i wasnt grabbing the items from the config and setting them in the swarm
<whyrusleeping>
the tests worked fine because it bypasses the whole config thing...
<lgierth>
whyrusleeping: so that's for redirecting an outdated to the current version, but it still needs to be pinned out-of-band, right?
<lgierth>
*an outdated request
<whyrusleeping>
lgierth: yeah, its pinned manually
<whyrusleeping>
we dont have a method for 'automated' pinning yet
domanic has quit [Quit: Leaving]
<ipfsbot>
[go-ipfs] whyrusleeping opened pull request #1433: add filters from config to addr filter in swarm (master...fix/addr-filter) http://git.io/vt9C8
domanic has joined #ipfs
e-lima has quit [Ping timeout: 264 seconds]
<jbenet>
kyledrake: in for CCC right?
<lgierth>
cryptix: battlemesh / ccc?
<whyrusleeping>
i'm writing an 'ipfs swarm filters' command to let you list/add/remove filters
therealplato has quit [Ping timeout: 248 seconds]
<lgierth>
btw the ipv6 filters make another use case possible, which is peering only via cjdns
notduncansmith has joined #ipfs
<jbenet>
lgierth oh yeah, that's nice.
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet>
okkkk we need examples of how to do all these things
cow_2001 has left #ipfs ["ASCII Muhammad - @o<-<"]
<Leer10>
woo embeds too
<Leer10>
pics only at the moment though
atrapado has quit [Ping timeout: 252 seconds]
<kyledrake>
jbenet Yeah sounds good
<kyledrake>
whyrusleeping ah, no worries! It happens.
tilgovi has quit [Ping timeout: 250 seconds]
void has joined #ipfs
<void>
Hello! A question for all devs: What is your development environment and how do you test the implementation of ipfs itself and its services (IPTB, VMs, multiple machines, other solutions)?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
void: i use iptb to check larger cluster behaviour type things
<whyrusleeping>
to test the implementation itself though, we mainly rely on go unit tests and sharness integration tests
<whyrusleeping>
i want to have a larged automated testbed to run large regression suites, but doing so is very time consuming
<void>
whyrusleeping: Do you have a recommended workflow for developing services on top of IPFS?
<whyrusleeping>
void: that would depend on the type of service, mind sharing a bit more on what youre doing?
<void>
I want to create some demos involving hardware access over IPFS, however, testing the services communication seems to require a more sophisticated setup, as the current IPFS implementation makes certain assumptions (e.g. you cannot give a command line argument to ipfs init)
<jbenet>
void but really, maybe "ipfs pipe" is what we should expose for this. cc whyrusleeping
<jbenet>
ipfs pipe is basically a way to get a stream to another ipfs id.
<whyrusleeping>
void: you can use iptb nicely for this
<spikebike>
void: ah, that kind of hardware. GPIO stuff. I do have a raspberry pi around.... interesting thought.
<whyrusleeping>
it allows you to request the peer ID of the nodes its running for you
<void>
jbenet: This documentation is a bit outdated (regarding some imports and functions, fsrepo.At() for example) I adapted it in my implementation
<zignig>
morning all o/
<whyrusleeping>
and it can automatically set your env vars for the node you want to control
<whyrusleeping>
zignig: heyo! the kangaroos didnt eat you!
<jbenet>
i think the interface that may be needed would be something like `ipfs pipe <channel-name>` so that can have many pipes between the same peerids
<zignig>
not yet.
<zignig>
;)
<jbenet>
this is getting into the realm of pub/sub, which is not yet specified
<zignig>
+1 for pub/sub.
<void>
yep
<zignig>
jbenet: if you have some time , I have done some serious polish on astralboot.
<zignig>
got direct ipfs booting going and much better logging.
<jbenet>
hey zignig-- yeah i've some time in a couple mins
<whyrusleeping>
zignig: you cant have jbenet, he needs to CR my GC schtuff
* zignig
is off to work
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
mquandalle has quit [Quit: Connection closed for inactivity]
<jbenet>
zignig: can you write me an issue on astralboot or another repo or on github.om/ipfs/notes ?
<whyrusleeping>
void: can you file bugs for out of date docs?
<void>
whyrusleeping: yep, will do
<whyrusleeping>
void: <3
<whyrusleeping>
i think when we get to working on the relay stuff, having a basic proxy command would be nice
notduncansmith has quit [Read error: Connection reset by peer]
hrjet has joined #ipfs
<jbenet>
whyrusleeping it may make sense to break a lot of this up into something like an "ipnet" command. a _lot_ of what we have to solve is p2p networking stuff that doesn't actually have that much to do with the ipfs merkledag itself.
<freedaemon>
a lot of people need to solve a lot of p2p networking stuff ;-)
<freedaemon>
muneeb here btw
notduncansmith has joined #ipfs
<lgierth>
InterPlanet Express
notduncansmith has quit [Read error: Connection reset by peer]