jbenet changed the topic of #ipfs to: IPFS - InterPlanetary File System - https://github.com/ipfs/ipfs -- channel logged at https://botbot.me/freenode/ipfs/ -- Code of Conduct: https://github.com/ipfs/community/blob/master/code-of-conduct.md -- Sprints: https://github.com/ipfs/pm/ -- Community Info: https://github.com/ipfs/community/ -- FAQ: https://github.com/ipfs/faq -- Support: https://github.com/ipfs/support
<ipfsbot> [go-ipfs] lgierth created remove-jenkins (+1 new commit): http://git.io/vEOhe
<ipfsbot> go-ipfs/remove-jenkins 993cf6a Lars Gierth: ci: remove dead jenkins code...
Tera2342 has quit [Ping timeout: 272 seconds]
<ipfsbot> [go-ipfs] lgierth opened pull request #2114: ci: remove dead jenkins code (master...remove-jenkins) http://git.io/vEOhv
Tera2342 has joined #ipfs
domanic has joined #ipfs
ion has quit [Ping timeout: 245 seconds]
M-erikj1 has quit [Ping timeout: 260 seconds]
ion has joined #ipfs
M-erikj has joined #ipfs
elima has quit [Ping timeout: 256 seconds]
<ipfsbot> [go-ipfs] lgierth closed pull request #1975: placeholder pr to rerun the test on djdv path parser pr (master...djdv) http://git.io/v4XuL
Tera2342 has quit [Read error: Connection reset by peer]
reit has joined #ipfs
Tera2342 has joined #ipfs
<ipfsbot> [go-ipfs] lgierth closed pull request #1806: change Dockerfile order to create VOLUME under user ipfs (master...1804_ipfs_volume) http://git.io/vcNup
flounders has quit [Ping timeout: 246 seconds]
flounders has joined #ipfs
voxelot has quit [Ping timeout: 246 seconds]
leer10 has joined #ipfs
hoony has joined #ipfs
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
CarlWeathers has quit [Ping timeout: 250 seconds]
tinybike has joined #ipfs
CarlWeathers has joined #ipfs
leer10 has quit [Remote host closed the connection]
r04r is now known as zz_r04r
zz_r04r is now known as r04r
r04r is now known as zz_r04r
lmatteis has quit [Ping timeout: 255 seconds]
lmatteis has joined #ipfs
Kalon has quit [Quit: Kalon]
domanic has quit [Ping timeout: 256 seconds]
tinybike has quit [Remote host closed the connection]
tinybike has joined #ipfs
Kalon has joined #ipfs
<Qwertie> How long does gateway.ipfs.io store files?
devbug has joined #ipfs
cemerick has joined #ipfs
reit has quit [Read error: Connection reset by peer]
alhof has joined #ipfs
alhof has quit [Remote host closed the connection]
<tperson> Varies
<tperson> Last I heard the GC runs when disk capacity gets low.
tinybike has quit [Remote host closed the connection]
cemerick has quit [Ping timeout: 272 seconds]
hoony has quit [Quit: hoony]
lmatteis has quit [Quit: Connection closed for inactivity]
devbug has quit [Ping timeout: 250 seconds]
Tera2342 has quit [Ping timeout: 240 seconds]
reit has joined #ipfs
step21 is now known as step21_
Kalon has left #ipfs [#ipfs]
ygrek has quit [Ping timeout: 250 seconds]
aviatrix has quit [Remote host closed the connection]
Mehrdad has joined #ipfs
tidux has joined #ipfs
tinybike has joined #ipfs
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
Mehrdad has quit [Ping timeout: 265 seconds]
devbug has joined #ipfs
Elliott_ has joined #ipfs
simonv3 has quit [Quit: Connection closed for inactivity]
voxelot has quit []
voxelot has joined #ipfs
devbug has quit [Ping timeout: 260 seconds]
<thelinuxkid> whyrusleeping: jbenet: travis-fuse fork passing https://travis-ci.org/thelinuxkid/go-ipfs/builds/98252592. Working on OSX support.
reit has quit [Read error: Connection reset by peer]
Tera2342 has joined #ipfs
kvda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
disgusting_wall has quit [Quit: Connection closed for inactivity]
reit has joined #ipfs
go1111111 has joined #ipfs
kvda has joined #ipfs
Oatmeal has joined #ipfs
ulrichard has joined #ipfs
voxelot has quit [Ping timeout: 255 seconds]
tidux has quit [Quit: WeeChat 1.0.1]
pfraze has quit [Remote host closed the connection]
gunn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gunn has joined #ipfs
mildred has joined #ipfs
shyamsk has quit [Ping timeout: 250 seconds]
gunn has quit [Ping timeout: 246 seconds]
akaihola_ has quit [Quit: ZNC - http://znc.in]
Oatmeal has quit [Quit: TTFNs!]
hoony has joined #ipfs
hoony has quit [Client Quit]
Elliott_ has quit [Ping timeout: 260 seconds]
ygrek has joined #ipfs
ugjka has joined #ipfs
Heinz has joined #ipfs
ygrek has quit [Ping timeout: 256 seconds]
tinybike has quit [Ping timeout: 272 seconds]
tinybike has joined #ipfs
dignifiedquire has joined #ipfs
reit has quit [Ping timeout: 255 seconds]
zz_r04r is now known as r04r
reit has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
rendar has joined #ipfs
NeoTeo has joined #ipfs
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
<Kubuxu> lgierth: With 0 Go knowledge I've fixed it.
<Kubuxu> I will ask few questions when I create PR, if you have nothing against it.
voxelot has quit [Ping timeout: 276 seconds]
s_kunk has joined #ipfs
s_kunk has quit [Remote host closed the connection]
s_kunk_ has joined #ipfs
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
s_kunk_ is now known as s_kunk
s_kunk has quit [Changing host]
s_kunk has joined #ipfs
<ipfsbot> [go-ipfs] Kubuxu opened pull request #2116: namesys: Make paths with multiple segemnts work. Fixes #2059 (master...fix/#2059) http://git.io/vEsAe
Qwazerty has quit [Quit: WeeChat 1.2]
The_8472 has quit [Ping timeout: 264 seconds]
The_8472` has joined #ipfs
pokeball99 has joined #ipfs
The_8472` has quit [Ping timeout: 240 seconds]
voxelot has quit [Ping timeout: 272 seconds]
elima has joined #ipfs
dignifiedquire has joined #ipfs
Tera2342 has quit [Ping timeout: 272 seconds]
Encrypt has joined #ipfs
besenwesen has quit [Quit: ☠]
besenwesen has joined #ipfs
besenwesen has quit [Changing host]
besenwesen has joined #ipfs
Encrypt has quit [Client Quit]
<dignifiedquire> good morning everyone
The_8472 has joined #ipfs
fabiux has joined #ipfs
fabiux_ has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
fabiux_ has quit [Client Quit]
fabiux has quit [Quit: leaving]
M-kegan1 has quit [Quit: node-irc says goodbye]
M-kegan has joined #ipfs
M-matthew has quit [Remote host closed the connection]
M-hash has quit [Remote host closed the connection]
M-rschulman has quit [Remote host closed the connection]
M-nated has quit [Remote host closed the connection]
M-amstocker has quit [Remote host closed the connection]
M-davidar has quit [Remote host closed the connection]
M-prosodyContext has quit [Remote host closed the connection]
M-jfred has quit [Remote host closed the connection]
M-cryptix has quit [Remote host closed the connection]
M-fil has quit [Remote host closed the connection]
M-edrex1 has quit [Remote host closed the connection]
M-Peer2Peer1 has quit [Remote host closed the connection]
M-kegan has quit [Remote host closed the connection]
M-erikj has quit [Remote host closed the connection]
M-davidar-test has quit [Remote host closed the connection]
M-jgrowl has quit [Remote host closed the connection]
M-alien has quit [Remote host closed the connection]
eternaleye has quit [Remote host closed the connection]
M-osener1 has quit [Remote host closed the connection]
M-harlan has quit [Remote host closed the connection]
M-giodamelio has quit [Remote host closed the connection]
M-whyrusleeping has quit [Remote host closed the connection]
M-mistake has quit [Read error: Connection reset by peer]
M-staplemac has quit [Remote host closed the connection]
M-mubot has quit [Remote host closed the connection]
M-jbenet has quit [Remote host closed the connection]
M-oddvar has quit [Remote host closed the connection]
M-trashrabbit has quit [Remote host closed the connection]
M-victorm has quit [Remote host closed the connection]
M-rschulman1 has quit [Remote host closed the connection]
Sonata has quit [Remote host closed the connection]
mrflibble has joined #ipfs
<mrflibble> Hi guys! this sounds great, and similar to freenet without the anonymity
<mrflibble> I'm trying to run a node, but I'm having problems changing the datastore directory
<mrflibble> I've tried changing it via the webgui and also editing the config file, but the change seems to be ignored, even after restarting the daemon
<mrflibble> what am I missing?
screensaver has joined #ipfs
M-rschulman has joined #ipfs
<The_8472> there's an environment variable
zaggynl has joined #ipfs
<mrflibble> oh?
<The_8472> i think it's in the help somewhere
<tperson> I'm not even sure if you can move the datastore around independent of the .ipfs directory.
Encrypt has joined #ipfs
<mrflibble> hmm, any clue where? I can only see a mention of $EDITOR, nothing else
<mrflibble> that's a shame
<The_8472> ipfs help
<mrflibble> can i move .ipfs completely to another directory?
<tperson> Yes
<mrflibble> that would be preferable actually. right now it tries to use c:\users\username\.ipfs, which isn't ideal
<tperson> You can use IPFS_PATH to change where it looks
<mrflibble> ah great, i'll try that now...
<mrflibble> great! yes, that looks better
<mrflibble> yes, the clue was at the bottom of the ipfs help :)
<mrflibble> it wasn't immediately obvious
amstocker has quit [Ping timeout: 265 seconds]
<The_8472> was obvious to me when i saw it :P
<mrflibble> does that mean that right now, the config file isn't editable? I want to change the DS size from 10gb
<mrflibble> sorry, ive' only been using this for 20mins, and i thought editing "config" was the most obvious way....
<tperson> Looks like a bug for why you can't change the datastore path
<tperson> r.path probably should be r.config.DataStore.Path or at least check for it instead of just using r.path
<mrflibble> ah ok
elima has quit [Ping timeout: 260 seconds]
M-matthew has joined #ipfs
M-davidar has joined #ipfs
M-whyrusleeping has joined #ipfs
M-osener has joined #ipfs
M-jbenet has joined #ipfs
M-amstocker has joined #ipfs
M-eternaleye has joined #ipfs
M-oddvar has joined #ipfs
M-edrex has joined #ipfs
M-Sonata has joined #ipfs
M-trashrabbit has joined #ipfs
M-jfred has joined #ipfs
M-mistake has joined #ipfs
M-david has joined #ipfs
M-prosodyContext has joined #ipfs
M-hash has joined #ipfs
M-nated has joined #ipfs
M-cryptix has joined #ipfs
M-victorm has joined #ipfs
M-erikj has joined #ipfs
M-jgrowl has joined #ipfs
M-harlan has joined #ipfs
M-kegan has joined #ipfs
NeoTeo has quit [Quit: ZZZzzz…]
<Kubuxu> What IDE for Go are you using?
M-mubot has joined #ipfs
M-davidar-test has joined #ipfs
M-rschulman1 has joined #ipfs
M-giodamelio has joined #ipfs
M-alien has joined #ipfs
M-staplemac has joined #ipfs
M-fil has joined #ipfs
M-Peer2Peer has joined #ipfs
NeoTeo has joined #ipfs
<tperson> Nothing Kubuxu
<tperson> mrflibble: We'll see what people say tomorrow: https://github.com/ipfs/go-ipfs/issues/2117
<mrflibble> ah, nice one tperson !
elima has joined #ipfs
<mrflibble> i was just about to raise an issue, but you've done a better job :)
<Kubuxu> tperson: ok, I was having problems navigating the codebase but it has probably two reasons: 1. I don't know Go, I can read it and even write in it but I don't know all quirks 2. I don't know codebase.
<Kubuxu> Still symbol cross-reference would be useful.
Heinz has quit [Ping timeout: 240 seconds]
<tperson> Kubuxu: I use vim with a few plugins plus spot/ack/find/grep
Tera2342 has joined #ipfs
<Kubuxu> I also use vim, just switching from C where I have all header and linked files referenced directly in the file it was a bit confusing.
<tperson> You will probably want the vim-go plugin for vim then
<Kubuxu> thanks
Encrypt has quit [Quit: Quitte]
chiropterygious has joined #ipfs
<mrflibble> should ipfs connect to peers through NAT without needing inbound port forwarding?
<mrflibble> At the moment it's been running for about 30mins, but has 0 connections listed in the webgui
<mrflibble> (and my test to get cat.jpg doesn't seem to be doing much)
fazo has joined #ipfs
fazo has quit [Changing host]
fazo has joined #ipfs
<fazo> mrflibble: yes, it should work even without inbound connections and get at least fifty or so connections.
<mrflibble> hmm
<fazo> maybe your firewall is really evil and blocking outbound connections to port 4001 (which is the port most nodes use for inbound connections)
<mrflibble> all outbound ports are allowed
<fazo> you can try manually connecting to a node with "ipfs swarm connect <multiaddr>"
<fazo> if you want I can give you a multiaddr you can try
<tperson> Does ipfs swarm peers list anything?
<tperson> `ipfs swarm peers`
<fazo> sometimes people complain that the daemon is too heavy on NATs (which is true) but my 18€ (about 20 USD) router manages to keep up three nodes, each getting more than 100 connections in less than 1 minute after it starts (most are inbound since there's upnp)
<fazo> and my modem can't get more than 20 KB/s upload bandwidth.
<The_8472> fazo, it always depends on the the nat configuration. mainly timeouts and table entry limits. if i had control over mine i'd tweak it accordingly... but provider-owned router's NAT + CGNAT = no options
<fazo> yeah I know about that
<fazo> technically my router is also locked down. But it has a DMZ option and I can turn off wifi, so I connected my own router in series.
<The_8472> and it's not just the steady state (open connections), also the transient ones
<The_8472> doesn't help with CGNAT
<fazo> I wouldn't be surprised if the daemon couldn't handle wonky connections
<fazo> I guess when we start running js-ipfs in browsers, it'll need to handle that
<mrflibble> yes, ipfs swarn peers lists about 100
devbug has joined #ipfs
<mrflibble> fazo - could i try connecting to a multiaddr?
<fazo> yeah, I can give you a list of addrs I'm connected to
<fazo> one sec, need to start a node
<mrflibble> thanks
<fazo> I'll send you a bigger list as soon as it grows :)
<mrflibble> :) that should do for a test
<mrflibble> i tried the 50. address
<mrflibble> "connect QmNWKK5WWMZdoTQ7RwktQm4tM71sdbfCcGcNV6pUg89st5 success"
devbug has quit [Ping timeout: 260 seconds]
<fazo> cool. I guess you can't reach one of the bootstrap addresses
<mrflibble> oh
<fazo> if it works for you try adding it to your bootstrap list in ~/.ipfs/config
<mrflibble> connected peers is still showing 0
<tperson> Does the webui list anything?
NightRa has joined #ipfs
<tperson> Can you open the developer console in your browser and go to the network tab, do a filter for /api/v0/swarm/peers
<mrflibble> webui Connections screen is empty except for the double-arrow and "CONNECTED TO 0 PEERS" msg
chiropterygious has quit [Ping timeout: 250 seconds]
<tperson> and tell me if there is an error or anything? My guess is the webui is just broken
<mrflibble> ah ok
<mrflibble> i can try, is that port 8080?
<tperson> webui is served off of 5001
<tperson> If you are requesting it via 8080 it will not work as 8080 is not privilaged
<mrflibble> oh sorry, ok, that works:
<mrflibble> {"Strings":["/ip4/104.131.158.104/tcp/8001/ipfs/QmaKKS3BBhQhCGKKQB8JJic7M2ew3V6G5EzhqK3fEUPSbc","/ip4/104.131.26.125/tcp/4001/ipfs/QmWavS6ug2Nm2CHgmCyYgUt2PujRqNRnhzM7qmj7Pcmdf3","/ip4/104.131.53.68/tcp/4001
<mrflibble> ...
<mrflibble> there';s ~100lines of peer info i guess
wiedi has quit [Quit: ^Z]
<tperson> Okay, well it looks like you are fully connected.
<mrflibble> looks similar to "ipfs swarm peers" result
<mrflibble> ok, good
Paola has joined #ipfs
<mrflibble> should the cat.jpg file be available (http://ipfs.io/docs/getting-started/) ?
<mrflibble> my request still hasn;'t completed
Paola is now known as Guest50896
<tperson> It should be
<mrflibble> awww ;)
<tperson> Are you running 3.10/11 or 0.4.0?
<mrflibble> 3.10 i think - it's the windows 64bit release from https://gobuilder.me/github.com/ipfs/go-ipfs/cmd/ipfs?branch=release
<mrflibble> yes, it's 0.3.10
<tperson> `ipfs swarm peers | grep SoL` How many results show when running that?
Guest50896 has quit [Ping timeout: 272 seconds]
<mrflibble> should I be able to get the cat.jpg file using the following: http://localhost:5001/ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ/cat.jpg ?
<tperson> no, only certain hashes are allowed to be served over 5001
<mrflibble> I get 7 results, matching /ipsf/QmSoL......
<mrflibble> ah ok
<tperson> You'll want to use 8080 to see the cat pic
<mrflibble> ok
<mrflibble> ah, that worked :)
<tperson> 5001 is privilaged and the port for the API. So to view the webui you need to go through 5001, but all other gateway traffic is on 8080
<mrflibble> gotcha
<mrflibble> do u think I should try any get 0.4.0 running before I go much further?
<fazo> there's very few people using 0.4 because it hasn't been released yet
wiedi has joined #ipfs
<fazo> the people who use it are mostly developing cool stuff that requires 0.4 to work, like what I am doing: boards.ydns.eu
wiedi has quit [Client Quit]
<mrflibble> ooh, nice :) is that similar to what diaspora was trying to achieve?
<fazo> yeah :) this though has some differences
<fazo> for example diaspora is decentralized, not distributed. This one is actually distributed
<mrflibble> gotcha
<fazo> also diaspora has a very strong social focus, this one is a more simple platform, it's more meant as a way to share files, folders, posts, other data
<mrflibble> I joined a diaspora node, but it closed without warning - even though I had donated some money, which I was a bit annoyed about :(
<mrflibble> cool
<fazo> then, using the app, you can view said data and decide to seed it. If you want you can leave comments and allow other people to post on your boards
<mrflibble> I look forward to that!
<fazo> every single piece of information is stored on ipfs, even the app itself :) in fact you can see that the site I linked is a normal IPFS gateway
<mrflibble> nice!
<Kubuxu> fazo: how fast is IPNS in 0.4?
<fazo> I'm very close to something that really works, but I'll need another few months for it to be stable enough to be more than a prototype
<fazo> Kubuxu: a little bit faster, but the problem is that records expire after 24h so you need to republish often
<fazo> I think you can configure your go-ipfs node to automatically republish. But I'm not sure
<mrflibble> great!
<fazo> mrfibble: yeah the current thing I'm working on is getting it to be more user friendly and making it work without having go-ipfs installed (of course it would be read only)
<Kubuxu> I wanted to host my blog via IPFS/NS but the NS part is slow. I know that DHT is hard but here is some idea:
<mrflibble> i see
<fazo> Kubuxu: there's a trick you can use
CarlWeathers has quit [Read error: Connection reset by peer]
Obamatron has joined #ipfs
<Kubuxu> fazo: care to share?
<fazo> if you get a free dns from some provider like ydns.eu you can make your dns point to the latest version of your blog
<Kubuxu> I have my own DNS.
<Kubuxu> And I could just use /ipfs/ dnslink
<fazo> cool. you can set a TXT record to dnslink=/ipfs/<whatever>
<fazo> yeah that was the trick lol
<Kubuxu> I will probably do that
<fazo> of if you have a computer on all the time, as soon as 0.4 hits you'll be able to use IPNS. If it republishes often, it should be reliable.
<Kubuxu> I have dedi
Beverly has joined #ipfs
<Kubuxu> What if IPNS had two stage cache: long lasting and short. The long would be used when short one expired (it is currently a minute?) so some response is intimidate but at the same time that is update of it performed and written to the long and short one.
<mrflibble> Is there a public list of hashes play with? - apart from the cute cat :)
<Kubuxu> mrflibble: what do you mean, public list of files?
<mrflibble> yes, that kind of thing, or an index
Beverly has quit [Ping timeout: 246 seconds]
<Kubuxu> I didn't hear about any and this is idea that I had going around for a while.
<Kubuxu> Writing it down as we speak.
<Kubuxu> Is there any way to check how available hash/blocks are in the network?
<mrflibble> cool
<Kubuxu> eg. I have list of hashes (not mine) and I want to ping ones that might die soon?
dignifiedquire has joined #ipfs
<mrflibble> thanks for your help guys
<mrflibble> i'm going afk now. I'll need to portforward stuff in my router once i remember the password ;)
<mrflibble> I'll have a play with IPFS later, but I'll leave it running to see what happens.
Lanny has joined #ipfs
Lanny has quit [Ping timeout: 246 seconds]
hartor has joined #ipfs
hellertime has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
NeoTeo has quit [Quit: ZZZzzz…]
hoony has joined #ipfs
<ion> “IPFS has scheduled a live stream 18 hours ago: go-ipfs” https://www.youtube.com/channel/UCdjsUXJ3QawK4O5L1kqqsew
cow_2001 has joined #ipfs
<cow_2001> is there a 0.4 gateway? the same way http://ipfs.io/ipfs/ is used for 0.3
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
<fazo> cow_2001: I have one at ipfs.ydns.eu
<fazo> the / redirects to my app, but it's a normal gateway when you ask for /ipfs/ or /ipns/
<cow_2001> woah.
<fazo> Kubuxu: you can try `ipfs dht findprovs`
<fazo> you give it an hash and it should output the list of peers that have the hash
hoony has quit [Quit: hoony]
The_8472 has quit [Ping timeout: 240 seconds]
<cow_2001> fazo: many thanks!
The_8472 has joined #ipfs
Qwazerty has joined #ipfs
<fazo> you're very welcome :)
<Kubuxu> fazo: thanks
dignifiedquire has joined #ipfs
Senji has joined #ipfs
voxelot has quit [Ping timeout: 240 seconds]
rombou has joined #ipfs
NeoTeo has joined #ipfs
ruby32 has joined #ipfs
ruby32 has quit [Client Quit]
<Kubuxu> fazo: you have typo in the README in boards in 0.4 branch
<Kubuxu> 'go-iofs 0.4'
<fazo> lol
<fazo> thanks!
<Kubuxu> I was like: Hmm some new project from the ProtocolLabs? :P
Encrypt has joined #ipfs
pfraze has joined #ipfs
<fazo> well iofs does sound cool :P
hoony has joined #ipfs
hoony has quit [Client Quit]
hoony has joined #ipfs
<Kubuxu> Can you even imagine it? File System that has write and read options.
<ansuz> it'll never catch on
hoony has quit [Client Quit]
Tera2342 has quit [Ping timeout: 250 seconds]
Tera2342 has joined #ipfs
Tera2342 has quit [Ping timeout: 240 seconds]
elima has quit [Ping timeout: 246 seconds]
elima has joined #ipfs
benhylau_ has joined #ipfs
ulrichard has quit [Quit: Ex-Chat]
Kane` has joined #ipfs
rombou has quit [Ping timeout: 276 seconds]
voxelot has joined #ipfs
voxelot has joined #ipfs
<Kubuxu> Is any open pinning service still running?
<fazo> not that I know of, but I was planning on starting one.
<fazo> I only know about this: https://github.com/VictorBjelkholm/pincoop
<ansuz> > openipfs.xyz
<ansuz> I'll stick with my closedipfs
<Kubuxu> openipfs.xyz does not load for me :|
<ansuz> me neither
<ansuz> <?php
<ansuz> echo "HI";
<ansuz> ?>
<ansuz> (response body)
<ion> <?php echo "I bet even this code has a security hole" ?>
<pepesza> is there a project that attempts to do automatic mirroring of arbitrary www pages using IPFS?
<voxelot> <script>
<voxelot> window.alert('sup')
<voxelot> </script>
<ansuz> archive.org, I think
rombou has joined #ipfs
<ansuz> but I'm not sure where to get the hashes
<pepesza> 1) do mirror 2) publish front page under some name in ipns 3) profit?
mildred has quit [Quit: Leaving.]
mildred has joined #ipfs
voxelot has quit []
mildred has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ipfs
<fazo> :) you're very welcome
<pepesza> btw, very efficient approach (use wget, add all, replace links); gratz to author!
cemerick has joined #ipfs
<pfraze> cryptix:
<pfraze> whoop, wrong channel
anona has quit [Ping timeout: 260 seconds]
rombou has quit [Ping timeout: 260 seconds]
cemerick has quit [Ping timeout: 260 seconds]
anona has joined #ipfs
mrflibble has quit [Disconnected by services]
<fazo> I can't get ipfs 0.4 to have the read only api on the gateway
<fazo> I tried the gobuilder builds and from source (dev-0.4 branch)
<fazo> whyrusleeping: can you help please? :'(
someguy99 has joined #ipfs
<someguy99> Hi, could someone please give the HTTP request equivalent of "echo '{ "Data": "1" }' | ./ipfs object put" ?
<someguy99> The HTTP docs are very sparse, so I've been unable to make progress
<fazo> someguy99: you would need to ask daviddias or dignifiedquire, I've been using the HTTP API for a while but never tried `object`
<fazo> someguy99: what's your use case for object put? Maybe you can do it with other commands
<someguy99> I want to build my own merkle dags, I've made progress using the command line client, but now want to build them in python, using the HTTP API
<fazo> cool so it's there
<fazo> dignifiedquire: would you also happen to know about the read only api on the gateway in 0.4? lgierth told me it's there but I can't use it :( it works on 0.3.10 though
NeoTeo has quit [Quit: Teo is off. Bye :)]
<someguy99> It's still unclear, I tried /object/put?arg=(the data)
<someguy99> that fails
jager_ is now known as jager
<someguy99> is the command meant to be a GET?
<dignifiedquire> someguy99: yes needs to be get
<dignifiedquire> fazo: I’m afraid I haven’t looked at that yet
mesch has joined #ipfs
<someguy99> curl 'http://127.0.0.1:5001/api/v0/object/put?arg={"Data": "1"}'
<someguy99> this is giving me no response at all?
<fazo> someguy99: I think you have to figure out how js-ipfs-api does it
<someguy99> ah, the space broke it
<someguy99> curl 'http://127.0.0.1:5001/api/v0/object/put?arg={"Data":"1"}' File argument 'data' is required
<fazo> maybe put?data=
<someguy99> I've tried that as well
<someguy99> humble suggestion, I imagine unclear API documentation hurts people's willingness to build things on top of IPFS
<someguy99> especially since for example the python wrapper seems to be abandoned
<Kubuxu> Anyone found simple way to download fonts listed in the CSS?
ygrek has joined #ipfs
nonaTure has joined #ipfs
<fazo> someguy99: yeah, it's widely known that the api docs are not the best
<fazo> someguy99: look here: https://github.com/ipfs/api it's an ongoing effort to document the api. but it's still a work in progress
<someguy99> Right, I've been reading that, it assumes a lot of knowledge of how things work, I think a few more examples would help a lot.
<someguy99> Especially for writing data
s_kunk has quit [Ping timeout: 240 seconds]
<dignifiedquire> someguy99: I think object/put needs a post request with the data being sent as form/multipart
<dignifiedquire> and yes we are actively working on improving the documentation around this
troglodytical has joined #ipfs
<someguy99> Thank you, I got it to work
<someguy99> python:
<someguy99> print requests.post(api_url+'object/put', files={'data': ('data.json', json.dumps(dict(Data='abc')), 'text/json')}).text
<dignifiedquire>
someguy99 has quit [Ping timeout: 252 seconds]
eater has joined #ipfs
eater has quit [Read error: Connection reset by peer]
<Kubuxu> Looks like setting swarm on localhost is critical for it to start peering.
<Kubuxu> Has this behavior been reported?
eater has joined #ipfs
eater has quit [Read error: Connection reset by peer]
Encrypt has quit [Quit: Quitte]
anona has quit [Ping timeout: 260 seconds]
tinybike has quit [Ping timeout: 245 seconds]
eater has joined #ipfs
troglodytical has quit [Ping timeout: 256 seconds]
pokeball99 is now known as NSA-Kun
anticore has joined #ipfs
<whyrusleeping> yay! power is back
<whyrusleeping> fazo: wassup?
mildred has joined #ipfs
<fazo> hey, glad you got your power back :)
NSA-Kun is now known as poleball99
<fazo> I can't get the read only HTTP API to work on the gateway in 0.4
<fazo> it's just not there (404)
<whyrusleeping> hrm.... on the global gateways?
<whyrusleeping> or your local one?
<fazo> no, my own on my machine
<fazo> 0.3.10 has it
<whyrusleeping> okay, let me check
<fazo> thank you!
<whyrusleeping> fazo: what commands are you trying?
<whyrusleeping> huh, i get 404 on version as well. but i can use cat
<whyrusleeping> and the object commands
<fazo> uhm I remember trying cat too and it didn't work
<fazo> looks like just version is missing then :D
<fazo> oh you're right, cat works
<whyrusleeping> yeap, i need to rebase 0.4.0 soon
<whyrusleeping> was trying to put it off until closer to merge day
<whyrusleeping> but whatever, i'll try and get it done today or tomorrow
<fazo> wow, thanks a lot!
<whyrusleeping> yeeep! no problem
<whyrusleeping> me being lazy shouldnt invonvenience others
<Kubuxu> My blog stub is now fully hosted on IPFS: https://ipfs.io/ipns/ipfs7.kubuxu.ovh/
ygrek has quit [Ping timeout: 264 seconds]
<Kubuxu> It could have been faster though (IPNS takes long time and it looks like response is not cached or something)
<whyrusleeping> Kubuxu: yeah, ipns is getting faster. I have a few branches that will help
<whyrusleeping> i just need to get them merged in, 0.4.0 has been taking priority
<Kubuxu> ETag and local caching of gateway would also help
<Kubuxu> Hmm, we could even send IPFS hash as ETag
<whyrusleeping> i think we do that somewhere...
<whyrusleeping> but that doesnt work for ipns entries, as they can change at any time
resuscitant has joined #ipfs
<whyrusleeping> we do have an ipns caching scheme setup, and i *thought* we had that pushed out into http headers
<whyrusleeping> but maybe it didnt get merged
anona has joined #ipfs
<Kubuxu> Oh, ipns vs fs
nonaTure has quit [Ping timeout: 255 seconds]
resuscitant has quit [Ping timeout: 246 seconds]
nonaTure has joined #ipfs
<Kubuxu> whyrusleeping: .. but when ipns entry changes then ETag comparison does not pass and you send resource in whole with new ETag.
<whyrusleeping> fazo: that was pretty easy this time actually
<whyrusleeping> merry christmas ;)
<ipfsbot> [go-ipfs] whyrusleeping force-pushed dev0.4.0 from 5bf3a59 to 68b9745: http://git.io/vLnex
<ipfsbot> go-ipfs/dev0.4.0 68a6cc9 David Dias: update version...
<ipfsbot> go-ipfs/dev0.4.0 01e4896 Tommi Virtanen: pin: Guard against callers causing refcount underflow...
<ipfsbot> go-ipfs/dev0.4.0 24a0bfe Tommi Virtanen: sharness: Use sed in a cross-platform safe way...
<Kubuxu> I see no problem with that but still delay of resolving IPNS entry will be there (as 304 has to be sent).
<whyrusleeping> yeah
<whyrusleeping> the gateway itself should be caching the ipns entries
HoboPrimate has joined #ipfs
HoboPrimate has quit [Remote host closed the connection]
<whyrusleeping> its hard to get a good setting for how aggressive to make these caches
<Kubuxu> It is but I think it is not refreshing the cache when new request comes in but uses the old which expires after some time.
ticktock has joined #ipfs
<Kubuxu> So it is 10s, <1, <1, <1, <1, <1, <1, <1, <1, 10s ...
<Kubuxu> but with longer time spacing or something
<Kubuxu> but I might be wrong
<pjz> whyrusleeping: got a sec?
<whyrusleeping> pjz: i've got like, three or for
<pjz> whyrusleeping: does the refs command actually fetch the specified block ?
<richardlitt> dignifiedquire: Got any issues you want done on this sprint? https://github.com/ipfs/pm/issues/76
<whyrusleeping> Kubuxu: hrm, okay. i'll have to take a closer look at what its up to
<whyrusleeping> pjz: yes
<pjz> whyrusleeping: but not the pointed-to blocks, right?
<Kubuxu> whyrusleeping: thanks
<whyrusleeping> pjz: 'ipfs refs <hash>' will fetch just <hash>
<whyrusleeping> but 'ipfs refs -r <hash>' will fetch hash and everything below it
lmatteis has joined #ipfs
<pjz> whyrusleeping: oh? hmm.
<pjz> whyrusleeping: so once you've done a local 'ipfs refs -r <hash>', a pin of the same hash should be instantaneous?
<pjz> whyrusleeping: since the first one took the big download hit?
<whyrusleeping> pjz: yep!
amiller has quit [Ping timeout: 250 seconds]
<whyrusleeping> on 0.3.* it might not be instantaneous because it actually writes a pin entry for every subhash
<whyrusleeping> but on 0.4.0 it should be just the time it takes to verify every block below the given hash is local
<pjz> whyrusleeping: hmm, okay
hartor1 has joined #ipfs
<Kubuxu> whyrusleeping: I would just like to thank you and other devs of IPFS. You are doing awesome work and I, as a random guy from the internet, would like to say that I really appreciate it.
<Kubuxu> and merry Christmas
<fazo> whyrusleeping: woah what did you do to 0.4? :) merry christmas!
hartor has quit [Ping timeout: 260 seconds]
hartor1 is now known as hartor
ygrek has joined #ipfs
<fazo> I agree with Kubuxu. This development community is the best I've ever seen and you are all awesome.
Guest71119 has joined #ipfs
<fazo> I never see hostility to dumb questions
<pjz> there are no dumb questions, just insufficient documentation :)
fazo has quit [Read error: No route to host]
fazo has joined #ipfs
<whyrusleeping> thanks guys :) thats really great to hear.
fazo has quit [Changing host]
fazo has joined #ipfs
<whyrusleeping> ill pass it along to everyone else
<whyrusleeping> pjz: right on the dot
<whyrusleeping> if you have to ask a noob question its because we didnt do a good job making things easy enough to use
<pjz> whyrusleeping: okay, so how long does ipfs retry on a hash before giving up if it can't find it?
<whyrusleeping> pjz: uhm...
<whyrusleeping> it depends on the command
benhylau_ has quit [Quit: WeeChat 1.1.1]
<whyrusleeping> i think we have a default timeout set of like, 30 seconds
<whyrusleeping> but every command accepts a --timeout option
<whyrusleeping> so you can specify yourself
<pjz> whyrusleeping: oh! nice
<whyrusleeping> --timeout=60m
<whyrusleeping> --timeout=heatDeathOfTheUniverse
oguz has joined #ipfs
<whyrusleeping> i should actually make that last one a thing...
oguz is now known as ogzy
ogzy has quit [Changing host]
ogzy has joined #ipfs
<pjz> --timeout=4294967295
<ogzy> what s the purpose of integrating cjdns and ipfs, i am reading about cjdns and saw an issue at ipfs issues, how will be the ipfs working with cjdns?
<pjz> whyrusleeping: I think 'never' is a better synonym for that :)
<Kubuxu> ogzy: it is working, just uses cjdns as any link
<Kubuxu> some optimizations could be made.
<whyrusleeping> ogzy: i think the idea is that we would integrate cjdns directly into our p2p networking stack
<whyrusleeping> we really like what they are doing
<Kubuxu> eg. in cjdns you could drop crypto between peers
<whyrusleeping> yeah, and we get free NAT traversal
<whyrusleeping> (although i think our NAT traversal is better ;) )
<Kubuxu> in cjdns we just don't do NAT traversal :p
<Kubuxu> behind NAT, just create outgoing connections to your peers.
<pjz> whyrusleeping: if I run 'ipfs refs -r <hash>' (which is going to take hours b/c it's fetching a couple gigs) and then I kill that client process... will the server still fetch it?
aar-_ is now known as aar-
<whyrusleeping> uhm... probably not?
<whyrusleeping> it might right now
<whyrusleeping> but thats only because of a bug
<whyrusleeping> i see what youre looking for... and maybe it could be done with a special flag
<pjz> whyrusleeping: so the client has to hang out and wait for the response?
<whyrusleeping> yes
<tperson> ipfs --detach aka I don't care about the response.
<pjz> whyrusleeping: I'm okay with whatever behavior, it's just unclear to me what the current/desired behavior is
<tperson> Would be neat
<whyrusleeping> tperson: yeah, that would be pretty cool
<whyrusleeping> would have to have a way to disable it though, i don't want people to be able to start that on the gateways
<whyrusleeping> pjz: yeah, client waits for response
<whyrusleeping> there are no 'asynchronous' commands
<pjz> whyrusleeping: well, the import part is that, yeah, the server will *stop* if the client goes away
<whyrusleeping> yeah. and that will happen
<whyrusleeping> it sometimes doesnt, but thats fixed here: https://github.com/ipfs/go-ipfs/pull/2032
elima has quit [Ping timeout: 240 seconds]
niles has joined #ipfs
<pjz> right. I *want* it to, so I'll just fork() and hang out ;)
<Kubuxu> whyrusleeping: are there any IPFS talks on 32c3?
<pjz> hmm, and it's obviously fine if multiple refs fetches are going on simultaneously
* pjz is trying to figure out how to structure this thing
<whyrusleeping> Kubuxu: not that I know of
<whyrusleeping> all our talks got declined last i heard
<whyrusleeping> not sure why either :(
hartor1 has joined #ipfs
<Kubuxu> thanks for the info either way, so no IPFSnor cjdns (cjdns even didn't tried)
<ogzy> Kubuxu, what should i do to test cjdns with ipfs?
<Kubuxu> I almost went to the c3 but couldn't find a hotel in price I could pay.
<Kubuxu> Then someone said that he can couchsurf me but then tickets were out :/
<Kubuxu> ogzy: just install cjdns, peer up and it works.
hartor has quit [Ping timeout: 264 seconds]
hartor1 is now known as hartor
<Kubuxu> /ip6/fcca:a7e9:26d8:3aba:3376:5d75:bfb4:434e/tcp/4001/ipfs/QmZA6RTW4hKUH9PzhSwhvip8Z2kbTD5P9vv7Qxe2KLJBAB
<ipfsbot> [js-ipfs-api] Dignifiedquire created greenkeeper-rimraf-2.4.5 (+1 new commit): http://git.io/vEcaN
<ipfsbot> js-ipfs-api/greenkeeper-rimraf-2.4.5 169bd42 greenkeeperio-bot: chore(package): update rimraf to version 2.4.5...
uhhyeahbret has joined #ipfs
Peer3Peer has joined #ipfs
eater has quit [Read error: Connection reset by peer]
eater has joined #ipfs
ticktock has quit [Ping timeout: 260 seconds]
pedobaptist has joined #ipfs
cblgh has quit [Ping timeout: 260 seconds]
<patagonicus> I've been thinking a bit about how to properly generate an installable image for my boot-from-IPFS linux and I've yet to come up with a sane solution. As the goal is to run docker images I feel like using docker for the build process would be a good idea, however I need a way to install a bootloader/partition/create a filesystem, so that would mean using loop devices inside a container which is probably going
<patagonicus> to cause problems. Anyone got a better idea?
<patagonicus> (Also loop devices/mounting a fs would mean that the container has to be run in privileged mode)
<pjz> patagonicus: network boot from the internet?
<patagonicus> pjz: That's what I'm trying to build, but I want to automate the build. (It's easy-ish enough to build such an image by hand, but that's not going to be fun to upgrade.)
<pjz> patagonicus: if you're network booting, what needs to be installable?
eater has quit [Read error: Connection reset by peer]
cemerick has joined #ipfs
eater has joined #ipfs
cblgh has joined #ipfs
<patagonicus> I think I'm missing something. I basically want to go from a bunch of sources to foo.iso which is a bootable image and I want this to be a single command. I'm not network booting yet and I need to build the image that's going to be booted. (Plus the image won't be [directly] capable of building itself)
<pjz> ah
voxelot has quit [Ping timeout: 260 seconds]
compleatang has joined #ipfs
compleatang has quit [Client Quit]
<tperson> I don't think you'd have to mount it. You could just build it in a tar file right?
<tperson> ah nm
step21_ is now known as step21
<patagonicus> That works for the root fs that will be pulled from IPFS, but not for the small image that needs to be installed for that to work. I'll go with a privileged container for now.
<pjz> but you can build *that* and then netboot to it, no?
<pjz> pxe/bootp boot to it?
hartor has quit [Quit: hartor]
devbug has joined #ipfs
<patagonicus> I guess you could set up a PXE server to serve the image. But based on my current plan you'd have to make some changes. The image assumes that it can use the boot fs to store the IPFS repo, but you could easily move that to a tmpfs.
<pjz> patagonicus: also: does using loop devices in side a container really break things?
<pjz> patagonicus: you could automate your build using vagrant & etc instead of docker
<ogzy> Kubuxu, so the routing is done via cjdns?
reit has quit [Ping timeout: 245 seconds]
<patagonicus> pjz: It probably doesn't break things, but you have to use run --privileged which removes the (few) restrictions containers normally have and gives them raw access to all devices.
<lgierth> patagonicus: better use --cap-add to give specific privileges to the container
<lgierth> --privileged does also give the container the host's network stack
<lgierth> speaking of pxe, you might be interested in https://github.com/zignig/astralboot
<Kubuxu> ogzy: It just connect via cjdns
<Kubuxu> so routing is also done by cjdns
<Kubuxu> the integration could be more important when there are more IPFS capable nodes into Hype itself as then optimal peers could be selected
<patagonicus> lgierth: Looks like I'd need to add SYS_ADMIN, which still gives a lot of permissions, but it's better than using --privileged.
M-eternaleye has joined #ipfs
M-eternaleye has quit [Changing host]
M-eternaleye is now known as eternaleye
jhulten_ has quit [Ping timeout: 272 seconds]
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
<mafintosh> daviddias: remember that issue you opened up on multicast-dns a while back about using a separate udp socket for sending vs receiving? what was the reasoning for that again
mesch has quit [Quit: Connection closed for inactivity]
jhulten_ has joined #ipfs
dignifiedquire_ has joined #ipfs
<mafintosh> daviddias: found it, https://github.com/mafintosh/multicast-dns/pull/11. i'm getting some errors from other clients (dig fx) because of this since it checks that the origin port is the same dest port. could you check if the go impl still has trouble with o/
<The_8472> why would it send a query to itself? and even then, wouldn't enabling multicast loopback make it work?
<mafintosh> The_8472: it would query itself when running two multiple processes on the same host machine but yea multicast loopback should work in this case
<The_8472> that's probably a better fix than using different source ports
NeoTeo has joined #ipfs
elima has joined #ipfs
NeoTeo has quit [Client Quit]
NeoTeo has joined #ipfs
ulrichard has joined #ipfs
<mafintosh> The_8472: i agree
leer10 has joined #ipfs
<whyrusleeping> mafintosh: i think the go implementation is working fine now
<mafintosh> whyrusleeping: nice, i've released a major bump of multicast-dns with a fix
<whyrusleeping> ah, sweet. I'll make sure to let daviddias know if he doesnt end up reading irc
mesch has joined #ipfs
cemerick has quit [Ping timeout: 246 seconds]
<mafintosh> whyrusleeping: cool. since its a major bump it shouldn't affect any his stuff unless he explicitly pulls in the new version
anticore has quit [Remote host closed the connection]
disgusting_wall has joined #ipfs
* whyrusleeping just had his mind blown
<whyrusleeping> in fish shell (if anyone else uses it)
<whyrusleeping> you can use %NAME to get the pid of the named process
<whyrusleeping> so 'echo %ipfs'
<whyrusleeping> prints the pid of my daemon
simonv3 has joined #ipfs
<NeoTeo> nice. Faster than top | grep'ing it
<fazo> I remember using fish, but I switched to zsh because fish didn't support running bash scripts :(
fiatjaf has joined #ipfs
fazo has quit [Quit: fazo]
mrflibble has joined #ipfs
<patagonicus> fish is awesome. :)
mildred has quit [Ping timeout: 245 seconds]
pedobaptist has quit [Ping timeout: 260 seconds]
Tarquin has joined #ipfs
<patagonicus> Hmm. --cap-add SYS_ADMIN --cap-add MKNOD is not enough for losetup. It works with --privileged. Will investigate tomorrow, I need some sleep first.
tinybike has joined #ipfs
jhulten_ has quit [Ping timeout: 255 seconds]
ulrichard has quit [Read error: Connection reset by peer]
Peer3Peer has quit [Quit: Peer3Peer]
poleball99 has quit [Ping timeout: 250 seconds]
rabble has joined #ipfs
lmatteis has quit [Ping timeout: 240 seconds]
dignifiedquire_ has quit [Quit: dignifiedquire_]
poleball99 has joined #ipfs
lmatteis has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
amstocker has joined #ipfs
NeoTeo has quit [Quit: ZZZzzz…]
elima has quit [Ping timeout: 260 seconds]
step21 is now known as step21_
Tera2342 has joined #ipfs
elima has joined #ipfs
anticore has joined #ipfs
hellertime has quit [Quit: Leaving.]
tinybike has quit [Ping timeout: 265 seconds]
Tarquin has quit [Ping timeout: 240 seconds]
fiatjaf has quit [Remote host closed the connection]
anticore has quit [Quit: bye]
Matoro has joined #ipfs
Guest76192 has joined #ipfs
e-lima has joined #ipfs
leer10 has quit [Ping timeout: 240 seconds]
elima has quit [Ping timeout: 255 seconds]
<Qwertie> How do I enable cross origin on the ipfs daemon?