captain_morgan has quit [Ping timeout: 240 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
cemerick has quit [Ping timeout: 268 seconds]
tinybike has quit [Quit: Leaving]
r1k0 has joined #ipfs
<ipfsbot>
[go-ipfs] whyrusleeping opened pull request #1848: order addresses to give certain address types priority (master...feat/dial-sorting) http://git.io/vC5YG
Wolf480pl has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
gordonb has joined #ipfs
voxelot has joined #ipfs
voxelot has joined #ipfs
gordonb has quit [Quit: gordonb]
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]
<ipfsbot>
[go-ipfs] whyrusleeping force-pushed feat/dial-sorting from 71474c4 to 49733f4: http://git.io/vC5Ys
<ipfsbot>
go-ipfs/feat/dial-sorting 49733f4 Jeromy: order addresses to give certain address types priority...
Guest73396 has quit [Ping timeout: 256 seconds]
simonv3 has quit [Quit: Connection closed for inactivity]
gaboose has quit [Quit: Connection closed for inactivity]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
xelra has quit [Ping timeout: 252 seconds]
xelra has joined #ipfs
<whyrusleeping>
anyone remember the notation for telling git rebase to rebase on the same commit you branched off of?
<whyrusleeping>
like, i want to rebase -i to edit some commits, but i dont want to put it on latest master yet
r04r is now known as zz_r04r
pfraze has quit [Remote host closed the connection]
zz_r04r is now known as r04r
<achin>
so you just want to squash or reorder some commits?
<whyrusleeping>
just squash some
<whyrusleeping>
i remember doing this before
<achin>
there's like 400 options to git-rebase, i'm sure one of them does it
<whyrusleeping>
i think --root is the one i want...
ygrek has quit [Ping timeout: 268 seconds]
od1n has joined #ipfs
infinity0 has quit [Remote host closed the connection]
<whyrusleeping>
maybe not
infinity0 has joined #ipfs
<whyrusleeping>
git rebase -i (git merge-base --fork-point master)
<whyrusleeping>
wait.
<whyrusleeping>
hmm
apophis has joined #ipfs
<achin>
i'd just find the commit via git-log and pass it manually to git-rebase :D
<whyrusleeping>
well git merge-base --fork-point master tells me that
<whyrusleeping>
ah, yeah. that all worked
<demize>
rebase has a --fork-point option as a shortcut as well, mmm...
od1n has quit [Ping timeout: 250 seconds]
<demize>
Another of those things that I wish I remembered when I have a use for it instead of doing it the long way.
<whyrusleeping>
lol
cemerick has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
r04r is now known as zz_r04r
domanic has quit [Ping timeout: 255 seconds]
<davidar>
This is the reason my command line flow is 80% madly Ctrl-R'ing
<spikebike>
hrm, hrm
<spikebike>
I was pondering an alternative to IPNS entries, I dislike dns for several reasons
<davidar>
spikebike (IRC): namecoin?
<spikebike>
seems like people could just publish entries in ipfs
<spikebike>
instead of foo.com why not sha256(foo.com/2015-10-15-00:00:00)
<spikebike>
problem with dns is there's no history
<davidar>
How would you assign names though?
<spikebike>
(not to mention it's centrally controlled)
<davidar>
*ownership
<spikebike>
have the record returned be signed by the public key holder
xelra has quit [Ping timeout: 252 seconds]
<davidar>
Yeah, but how do you know that public key owns foo.com?
<spikebike>
what you really need is a list of timestamps and ipfs ID's
notduncansmith has quit [Read error: Connection reset by peer]
* davidar
ponders making everyone read ipfs/archives as soon as they join irc
<davidar>
astrocyte (IRC): tor, yes (soon), so i2p probably
Guest73396_r has joined #ipfs
CustomWebAppsCom has left #ipfs [#ipfs]
<astrocyte>
Thank you. This project really seems like the perfect way to share files. I use bittorrent a lot but would like to use only DHT with no tracker.
Guest73396 has quit [Ping timeout: 272 seconds]
apophis has quit [Quit: This computer has gone to sleep]
xelra has quit [Ping timeout: 252 seconds]
od1n has joined #ipfs
xelra has joined #ipfs
<spikebike>
trackerless torrents are pretty common these days
<spikebike>
davidar: DNS should just be used for domainname -> public key
<spikebike>
then clients interested in updates could look for domainname/dirname/<timestamp>
<spikebike>
which of course would be signed by the right public key
<astrocyte>
oh, well i like how ipfs is better integrated into the web too :)
<astrocyte>
i wasnt aware that a torrent could be seeded without a tracker, thanks for the tip i am going to look into this because i would like to seed a whole bunch of things all at once without making the .torrent files
<spikebike>
piratebay for instance went completely trackerless
<spikebike>
.torrent != track or trackerless
<astrocyte>
well you still need a .torrent for the magnet
<spikebike>
right
<astrocyte>
ipfs removes that annoying task
<spikebike>
yeah, but for now there's a ton more torrent clients
<spikebike>
and ipfs handles versions/changes much better
voxelot has quit [Ping timeout: 255 seconds]
<spikebike>
think git + torrents ;-)
<astrocyte>
i want to seed a bunch of things on i2p, thought i might wait for ipfs to support that infrastructure
<astrocyte>
the TPP is probably worse than the DMCA from what i understand, so we need an anonymization layer for protection when sharing media
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<spikebike>
astrocyte: neither seem relevent to be honest
<spikebike>
99% of copywrite issues these days just skip the dmca since it's not profitable and go directly to blackmail
<spikebike>
pay $XXXX to avoid us ruining your life because some bot somewhere things that your IP = human
<spikebike>
davidar: doesn't IPNS = hash(NodeID) then allowing publishing (domainname/dirname+timestamp) make sense?
<spikebike>
hrm
<spikebike>
davidar: doesn't IPNS = hash(Node.PublicKey) then allowing publishing (domainname/dirname+timestamp) make sense?
<spikebike>
then ipfs add could just update the relevent timestamps.
<davidar>
spikebike (IRC): dnslink already handles your first case
<davidar>
Timestamps are tricky though
<spikebike>
?
<davidar>
I could say whatever timestamp I like
<spikebike>
sure
<spikebike>
but you'd update a couple, top of the hour, top of the day and top of the minute
<spikebike>
maybe top of the month
<davidar>
Ah, I think you're talking more about the proposal for ipns updates to be chained like git commits
<davidar>
Maybe? :/
<spikebike>
well just want to avoid DNS as much as possible, it's centrally controlled and not versioned
<spikebike>
and will eventually expire
<spikebike>
(or often does)
<davidar>
I don't see how you're avoiding DNS any more than we currently do?
<spikebike>
but once you know the public key for a domain you could query for all versions of the content in IPNS forever, assuming some ipfs client thought it was interesting enough to download
<spikebike>
well IPNS poitns to a checksum which is a single object that can't change and has no version, right?
Guest73396 has joined #ipfs
<spikebike>
so you can't say, show me yesterdays, or an hour ago.
<spikebike>
and you can't cache it and see what's new on the website tomorrow
<spikebike>
so all web content can be taken hostage by your registrar
<davidar>
Once chaining happens, you'll be able to ask, what did this ipns address point to previously?
Guest73396_r has quit [Ping timeout: 250 seconds]
<davidar>
Why can't you cache it?
<spikebike>
how would you ever find new cdontent?
Guest73396 has quit [Ping timeout: 244 seconds]
<davidar>
whyrusleeping (IRC): say something about ipns versioning
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<davidar>
spikebike (IRC): the only thing your registrar can break is the domain -> ipns address mapping
od1n has quit [Quit: This computer has gone to sleep]
<davidar>
Once you know the ipns address, DNS is no longer involved in pushing updates
sseagull has quit [Quit: Lost terminal]
<davidar>
spikebike (IRC): also, ipns isn't just a hash, it's a system for announcing updates
dysbulic has quit [Ping timeout: 256 seconds]
<bret>
daviddias: did you get to check out patchwork/scuttlebutt at all when Dominic was in town?
<bret>
just got it up and running
<bret>
super cool!
<spikebike>
davidar: ah, I obviously don't understand ipnfs, I'll read up on it more
notduncansmith has quit [Read error: Connection reset by peer]
<deltab>
codehero: initially, yes
<deltab>
if someone else received it from you (or added the exact same file themselves), then the file would also be available from them, as long as they kept their node on
<codehero>
ah. i see
<deltab>
if you know how bittorrent works, it's similar to that
<codehero>
yeah
Guest73396 has joined #ipfs
<deltab>
then if you turned your node off, the file would still be available from them
<deltab>
as long as there's at least one node online which has the file, it's available
<astrocyte>
how long until a file is purged?
<deltab>
that's up to the nodes holding it
Guest73396_g has joined #ipfs
<deltab>
if you want your node to keep something, use the pin command
<astrocyte>
whats the default behavior for keeping files?
jhulten_ has joined #ipfs
<astrocyte>
just until you run out of space i assume, then the oldest ones are overwritten?
<deltab>
if not pinned, they're kept until garbage collection, I believe
Guest73396_i has joined #ipfs
Guest73396 has quit [Ping timeout: 244 seconds]
Guest73396 has joined #ipfs
<spikebike>
deltab: last I checked garbage collection was enver
<spikebike>
you can manually do it, but it's not done by default
Guest73396_g has quit [Ping timeout: 256 seconds]
<deltab>
yeah, I've not heard anything about a limit
Guest73396_i has quit [Ping timeout: 246 seconds]
ygrek has joined #ipfs
<deltab>
unless it's changed recently: ipns publications last for 24 hours before needing to be refreshed, and only your node can do that
<astrocyte>
hmm using a blockchain ledger as a database?
<astrocyte>
cant a search engine just crawl and index DHT directly
<astrocyte>
nobody wants to pay to publish imo
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
sharky has quit [Ping timeout: 256 seconds]
<astrocyte>
decentralized search engine (such as YaCy) + IPFS might be a good combo. Then just search for certain file types just like when searching for torrents.
<mats_>
Signing out for now. Have explored IPFS for 6 or so hours, read a lot of the docs, created PR's for the problems I found, but it is way too unstable right now. Hope to come back at some future date and have another look.
mats_ has quit [Quit: Leaving]
<VictorBjelkholm>
just tried using the dht.findprovs via the js library and also via the curl command, and it seems to not return valid JSON... I would expect "curl localhost:5001/api/v0/dht/findprovs?arg=QmXFmCEhamPHvpbzQ3HMFABrpAXgE7D9jzp6QtvyC8Xp55" to return a array of objects, instead it just returns a list of objects without being in an array, which means it's not valid json... Could someone confirm that this is a bug?
<VictorBjelkholm>
also, findprovs always ends with the last object containing "routing: not found", is this correct?
jhulten_ has quit [Ping timeout: 272 seconds]
Encrypt has quit [Quit: Quitte]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<VictorBjelkholm>
Oh, tried updating to latest version but now I can't even install the new version... "imports runtime: C source files not allowed when not using cgo or SWIG:"
<VictorBjelkholm>
seems like I fucked up when updating from go 1.4 to 1.5. Nevermind
Guest73396 has joined #ipfs
rand_me has quit [Ping timeout: 268 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
cemerick has joined #ipfs
<davidar>
whyrusleeping (IRC): you're usually asleep long before now :)
cemerick has quit [Ping timeout: 250 seconds]
<davidar>
VictorBjelkholm (IRC): not a bug
<davidar>
.w json stream
<multivac>
[WIKIPEDIA] JSON Streaming | "JSON streaming are communications protocols to delimit JSON objects built upon lower-level stream-oriented protocols (such as TCP), that ensures individual JSON objects are recognized, when the server and clients use the same one (e.g. implicitly coded in)...." | https://en.wikipedia.org/wiki/JSON_Streaming
<VictorBjelkholm>
davidar, hm, I remember it used to work different... But ok
<VictorBjelkholm>
davidar, thanks for letting me know
<davidar>
VictorBjelkholm (IRC): np, I only know the answer because you aren't the first person to ask :)
<VictorBjelkholm>
ah, did some searches around the repos but couldn't find anything
<davidar>
VictorBjelkholm (IRC): botbot.me is also good to search
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
gaboose has joined #ipfs
dignifiedquire has joined #ipfs
dignifiedquire has quit [Client Quit]
<davidar>
But it's fine, all these things are way too spread out ATM to expect people to find :/
simpbrain has joined #ipfs
zeroish has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
od1n has joined #ipfs
od1n has quit [Client Quit]
zz_r04r is now known as r04r
sharky has quit [Ping timeout: 265 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
dignifiedquire has joined #ipfs
sseagull has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
dignifiedquire has quit [Quit: dignifiedquire]
Encrypt has joined #ipfs
jhulten_ has joined #ipfs
jhulten_ has quit [Ping timeout: 246 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamie_k_ has quit [Quit: jamie_k_]
Guest73396 has quit [Ping timeout: 246 seconds]
jamie_k_ has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
voxelot has quit [Ping timeout: 240 seconds]
NeoTeo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dignifiedquire has joined #ipfs
<ipfsbot>
[go-ipfs] chriscool pushed 2 new commits to sharness-coverage-script: http://git.io/vCdp9
<ipfsbot>
go-ipfs/sharness-coverage-script d2b57d4 Christian Couder: coverage_helper: log found commands...
<ipfsbot>
go-ipfs/sharness-coverage-script 43c8d8a Christian Couder: coverage_helper: refactor matching commands...
ianopolous has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has quit [Read error: Connection reset by peer]
cemerick has joined #ipfs
devbug has joined #ipfs
jhulten_ has joined #ipfs
locusf has quit [Remote host closed the connection]
devbug has quit [Ping timeout: 268 seconds]
jhulten_ has quit [Ping timeout: 260 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
locusf has joined #ipfs
hjoest has quit [Ping timeout: 260 seconds]
hjoest has joined #ipfs
cemerick has quit [Ping timeout: 265 seconds]
dysbulic has quit [Ping timeout: 240 seconds]
dysbulic has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
rehelmin has joined #ipfs
eater is now known as eaterofpatience
atrapado has joined #ipfs
eaterofpatience is now known as eater
dignifiedquire has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
edsilv has joined #ipfs
<edsilv>
hello?
<ipfsbot>
[go-ipfs] rht opened pull request #1852: Make `ipfs commands --flags` option (master...rht-commands-flags) http://git.io/vCFZf
pfraze has joined #ipfs
<edsilv>
I have a couple of newbie questions :-)
<achin>
go ahead and ask. there are a bunch of people who will be able to help, even if they are not here this very minute
<edsilv>
ok. I have an ubuntu server running on digital ocean. I used npm to install ipfs and have successfully added an image
<edsilv>
the image only resolved via gateway.ipfs.io after I ran the daemon - which makes sense
<edsilv>
I then stopped the deamon, and the image is still resolving. has the network already backed up the image?
dignifiedquire has quit [Quit: dignifiedquire]
<edsilv>
also, what's the recommended way to keep the deamon running (if this is necessary) when you are connecting remotely to a server via PuTTY
<achin>
the ipfs.io gateway will cache things it fetches for a while (i'm not sure how long)
<achin>
but it won't cache them forever, so if you want to ensure that your content remains available, you have to keep your daemon running
<achin>
personally, i run my daemon under tmux (or you could use screen)
<edsilv>
great, I will look into those. many thanks
grahamperrin has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jhulten_ has joined #ipfs
<ion>
edsilv: If your Ubuntu release is recent, it has systemd. If it's older, it has upstart. Both are able to launch a service on startup and make sure it keeps running.
<edsilv>
ok. it's too old for systemd (14.04) - looking at upstart
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<atrapado>
also crontab may be used for/from your user, edsilv
elima_ has quit [Ping timeout: 268 seconds]
hjoest2 has joined #ipfs
<revolve>
achin: why use tmux over screen?
<revolve>
i was considering switching earlier today
hjoest has quit [Ping timeout: 260 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
rehelmin has quit [Quit: Leaving.]
dysbulic has quit [Remote host closed the connection]
dignifiedquire has joined #ipfs
ksahin has joined #ipfs
ksahin has quit [Client Quit]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has quit [Read error: Connection reset by peer]
bobby_t has quit [Ping timeout: 246 seconds]
<ion>
I have had screen crash but I have never had problems with tmux. An anecdote from a single person is a useful metric, right?
<VictorBjelkholm>
davidar, thanks for the answer before. Any examples on how I can actually use this? Because what's returned from findprovs in the node library is actually just a stream... Any suggestions?
orzo_ has quit [Ping timeout: 240 seconds]
<ion>
screen implements a telnet client and a serial console, tmux doesn't. I'm not sure if tmux implements legacy–UTF-8 conversions either. You may find that great functionality or useless bloat. FWIW, I have used screen as just a serial console while using tmux otherwise.
<VictorBjelkholm>
and res was not readable so doesn't seem to be a stream...
<ion>
edsilv: Something like /etc/init/ipfs-daemon.conf: start on runlevel [23]; stop on runlevel [!23]; respawn; exec su -s /bin/sh -c 'exec "$0" "$@"' desired-username -- /path/to/ipfs daemon (replacing ;s with newlines). I might not remember the syntax correctly, check syslog for errors after writing the file. Then run as root: start ipfs-daemon
devbug has joined #ipfs
<revolve>
ion: ok cool
<revolve>
thanks
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
devbug has quit [Ping timeout: 252 seconds]
rehelmin has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
dignifiedquire_ has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
dignifiedquire_ is now known as dignifiedquire
dignifiedquire_ has joined #ipfs
dignifiedquire_ has quit [Client Quit]
rehelmin has quit [Quit: Leaving.]
grahamperrin has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
philm has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has quit [Read error: Connection reset by peer]
<dignifiedquire>
daviddias: are you around by any chance?
rehelmin has quit [Quit: Leaving.]
<gamemanj>
why on earth does the page source have "No" as the answer
<gamemanj>
that's silly, IPFS is awesome Javascript or no Javascript
hellertime has quit [Quit: Leaving.]
<dignifiedquire>
gamemanj: that’s the test so I quickly now if it worked :P
<whyrusleeping>
goood morning everyone
<dignifiedquire>
whyrusleeping: good evening :P
Encrypt has joined #ipfs
gamemanj has quit [Ping timeout: 244 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Nitori has quit [Ping timeout: 264 seconds]
<codehero>
huh? what's so awesome about the Awesomeness?
<codehero>
it's just a picture, isn't it?
<dignifiedquire>
codehero: yes, but it’s an image dynamically packaged in a component that does not know anything about ipfs and is then added into ipfs and then served from ipfs inside the html page
gamemanj has joined #ipfs
<codehero>
oh. that's pretty cool
<codehero>
so is it ipfs through js?
<dignifiedquire>
yes
<dignifiedquire>
on top of ipfs
<codehero>
ah. okay
<codehero>
i thought someone already implemented ipfs in javascript :D
<dignifiedquire>
there is an api for controlling ipfs through javascript yes, but that’s not what I’m trying to do, I’m just requesting files via standard http requests through the gateway from ipfs
<codehero>
ah. i see. that's still cool
<dignifiedquire>
so that an arbitrary website can be hosted on ipfs and request its resources from ipfs instead of a cdn
<codehero>
yeah. the only problem i see with that is that it's still dependent on the gateway
<dignifiedquire>
which has already been done as well, but I’m trying to improve/figure out limits/best practices
<dignifiedquire>
yes it is, but as long as I’m in the browser and the browser doesn’t support ipfs directly I will always have to do some sort of http based requests
<codehero>
yeah. well, i was thinking about websockets
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Nitori has joined #ipfs
<codehero>
if that works
<dignifiedquire>
but how does a websocket improve things at this point?
<codehero>
well. you can directly access the dht through js
<codehero>
if i'm not mistaken
<dignifiedquire>
but how would that help me if I just want to fetch a single/a couple of files?
<codehero>
well. it would help you if the gateway was overloaded or gone
<codehero>
i mean... just imagine posting that to reddit
<dignifiedquire>
but if the gateway is gone where to does my websocket connect?
<codehero>
if it hits the frontpage, i'm not sure if the gateway could hold up
<codehero>
it would use the ipfs protocol
<codehero>
and then you could use html5 local storage to store the objects
<codehero>
but i'm not sure if that works without adapting the go clients
<dignifiedquire>
there is a point of course of having a full blow ipfs node in the browser that can connect to the network like other nodes, but that would probably need webrtc to work and not just websockets
<codehero>
yeah
<dignifiedquire>
but for now I just want some reusable components hosted on top of ipfs and the gateway, so that people can easily reuse everything (or at least a lot) of what they are already using in terms of what the browser provides and build tools for sites etc
david__ has joined #ipfs
<codehero>
yeah :)
<gamemanj>
bitswap would not like it if you used websockets to connect with the ipfs protocol AFAIK
<codehero>
hm
<codehero>
now i actually wonder how much load the gateway can handle
<david__>
can anybody tell me how can i run a php webpage over ipfs ?
<dignifiedquire>
david__: not sure it can be easily done at the moment, but I might be wrong
<gamemanj>
clientside PHP... that would be a lovely way to brew confusion
<dignifiedquire>
I mean ipfs could serve your index.php but there is nothing that actually executes php
<dignifiedquire>
gamemanj: I’m sure someon has done it
<david__>
yes how can i make it execute the php script
<david__>
and how much ipfs local storage can hold ?
<codehero>
why would anyone want to use php?
<gamemanj>
(I think someone's confused about how IPFS works, you might want to switch from "potential possibilities" to "briefing on how it works")
<codehero>
david__: i think you're looking for maidsafe, which is made for p2p applications
<david__>
and how much ipfs local storage can hold ?
<dignifiedquire>
as much as your machine can
<codehero>
if i understand correctly, ipfs is just made for data with the nice side-effect that you can distribute js applications
<dignifiedquire>
you can distribute arbitrary applications with it, but js works because the browser gives you a runtime with it, when a php file lands in your browser he doesn’t know what to do with it except for displaying it as a text file
<david__>
now i got it :)
ianopolous has joined #ipfs
<codehero>
you could technically do everything you can do with php in javascript
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<codehero>
even authentication would work if you used public/private keypairs
<gamemanj>
Though uploading content could be a bit of a problem, except in the incredibly specific case of the webui
<codehero>
yeah
devbug_ has joined #ipfs
<codehero>
you still need some way to control that to prevent people from trashing things
Spinnaker has joined #ipfs
<gamemanj>
well, having other nodes fixing things should anything be wrong...
<gamemanj>
that might help
<codehero>
yeah. that should work
<gamemanj>
Maybe there could be a server, which you give a keypair, verification code, and a public key... the keypair is used to perform IPNS updates for relatively real-time communication, the verification code is used to check anything sent via that server, and the public key is so you can edit the verification code
<codehero>
a bitcoin-esque confirmation technique
devbug_ has quit [Ping timeout: 244 seconds]
<gamemanj>
hmm, that could also work. You could give all the clients the verification code and the IPNS keypair
<codehero>
that would be a cool experiment
<gamemanj>
A private key is only sacred if you say it is, right? :)
<codehero>
pretty much. although making the private key public messes up the encryption
<codehero>
however you can encrypt one file for multiple private keys
<codehero>
so that could work
Nitori has quit [Ping timeout: 268 seconds]
simpbrain has quit [Quit: Leaving]
Nitori has joined #ipfs
gritzko_ has quit [Ping timeout: 255 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<gamemanj>
What encryption? The keypair that you make public is for getting IPFS to do your biddi-- I mean, allow arbitrary access to a common node.
<gamemanj>
*IPNS
<codehero>
oh. right
wopi has quit [Read error: Connection reset by peer]
wopi has joined #ipfs
domanic has joined #ipfs
jamie_k_ has quit [Quit: jamie_k_]
hjoest2 has quit [Ping timeout: 260 seconds]
hjoest has joined #ipfs
hjoest2 has joined #ipfs
<ipfsbot>
[go-ipfs] whyrusleeping force-pushed feat/utp from ad67346 to 5ee2f4b: http://git.io/vcXyV
notduncansmith has quit [Read error: Connection reset by peer]
atrapado has quit [Quit: Leaving]
ygrek has joined #ipfs
devbug_ has quit [Remote host closed the connection]
pfraze_ is now known as pfraze
dignifiedquire has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
dignifiedquire has quit [Quit: dignifiedquire]
dignifiedquire has joined #ipfs
wopi has quit [Read error: Connection reset by peer]
wopi has joined #ipfs
reit has quit [Quit: Leaving]
reit has joined #ipfs
danielrf has quit [Quit: WeeChat 1.3]
domanic has quit [Ping timeout: 256 seconds]
domanic has joined #ipfs
<ianopolous>
G'day everyone
<whyrusleeping>
ianopolous: heyo!
<ianopolous>
quick question whyrusleeping: I'm trying understand what goes on under the hood when accessing /ipfs/QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D/home/Readme.md. Obviously the hash gives you an object, but then what does it do with the path exactly?
domanic_ has joined #ipfs
<ianopolous>
I'm just trying to finish up my slides for an IPFS talk tomorrow..
<whyrusleeping>
okay, so you request the hash QmTkz
<whyrusleeping>
and it gives you an object
<whyrusleeping>
you search that objects links for one names 'home'
<whyrusleeping>
and then request that links hash
<whyrusleeping>
then you search that objects links for one named 'Readme.md'
<ianopolous>
ah right, so the merkle links are named. I didn't realise that
<whyrusleeping>
yeap!
<whyrusleeping>
and once you have the object representing your file, you do an 'in order' tree traversal
<whyrusleeping>
reading out the data from each leaf as the files contents
domanic has quit [Ping timeout: 264 seconds]
<whyrusleeping>
(well, not *all* the data from the leaves, theres a small amount of protobuf metadata wrapping it)
<ianopolous>
awesome. thanks
<whyrusleeping>
yeap! no problemo
<ianopolous>
first day of redecentralize conference today was great
<whyrusleeping>
awesome!
<whyrusleeping>
where at?
<ianopolous>
London
<whyrusleeping>
ah, nice!
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ianopolous>
whyrusleeping: If you have a minute, I'd love any feedback on my slides. They're at QmbxvNc8cZZJ4EWRv8XSjrWpoJ5Vwy6uR3tWXj5tZxhr15
<ianopolous>
At the start I'm saying there are 3 major problems with the internet, fragility, decay, and slowness.
<whyrusleeping>
ianopolous: your slide about storage size increasing says storage speed instead of storage size
<whyrusleeping>
and the addressing scheme slide is a little off, RE discussion from a few minutes ago
<ianopolous>
ah good catch! :-)
domanic_ has quit [Ping timeout: 268 seconds]
domanic_ has joined #ipfs
carstn has joined #ipfs
carstn has quit [Client Quit]
<ipfsbot>
[go-ipfs] CaioAlonso opened pull request #1853: Adds the option to see the current git commit with `ipfs version --commit` (master...show-commit-hash) http://git.io/vCbrl
dysbulic has quit [Quit: ChatZilla 0.9.92 [Firefox 41.0.2/20151015172656]]
dignifiedquire has quit [Ping timeout: 265 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ianopolous>
whyrusleeping: How's the addressing slide in this version? QmeFfPXrpjVUMKVKDNe4x57H3rq9nmjLowTxhGj1VPj5JY
elima_ has quit [Ping timeout: 252 seconds]
<whyrusleeping>
yeah, that looks better
<whyrusleeping>
Luzifer: did you see my PR?
voxelot has joined #ipfs
voxelot has joined #ipfs
bedeho has quit [Ping timeout: 252 seconds]
ygrek has quit [Ping timeout: 268 seconds]
ygrek has joined #ipfs
pfraze has quit [Remote host closed the connection]
domanic_ has quit [Ping timeout: 250 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<daviddias>
dignifiedquire, I am now :)
voxelot has quit [Ping timeout: 250 seconds]
Encrypt has quit [Quit: Quitte]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]