calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hellertime has joined #ipfs
fiatjaf has joined #ipfs
calavera has joined #ipfs
tmg has joined #ipfs
inconshreveable has quit [Ping timeout: 250 seconds]
reit has joined #ipfs
fiatjaf has quit [Ping timeout: 264 seconds]
ipfsrocks has quit [Ping timeout: 276 seconds]
calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
disgusting_wall has quit []
calavera has joined #ipfs
disgusting_wall has joined #ipfs
<M-davidar>
Boomerang: here
<Boomerang>
Hey davidar! I've been working on the Haskell API implementation and I wanted to see if you were interested in what I've done. And I wanted to discuss some design choice :)
<Boomerang>
I guess I could just do a pull request, but I've already changed quite a bit and intend on doing more. So maybe I'll wait before doing a pull request
<M-davidar>
awesome, I'll have a look
Encrypt has quit [Quit: Sleeping time!]
inconshreveable has joined #ipfs
r04r is now known as zz_r04r
metacoin has quit [Quit: Leaving]
ylp has quit [Ping timeout: 260 seconds]
fiatjaf has joined #ipfs
ruby32 has joined #ipfs
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
<M-davidar>
Boomerang: looks great to me so far :)
<M-davidar>
what design choices did you want to discuss?
<Boomerang>
What data to expose, I think for some of the functions it would make sense to return a Node or a Link (right now they're not in an exposed module).
<Boomerang>
Wait let's module to pm :)
<Boomerang>
*move
Boomerang has quit [Remote host closed the connection]
Boomerang has joined #ipfs
ygrek_ has joined #ipfs
<M-davidar>
jbenet: around?
ygrek has quit [Ping timeout: 260 seconds]
rongladney has joined #ipfs
fiatjaf has quit [Ping timeout: 252 seconds]
conway has joined #ipfs
crankylinuxuser has quit [Ping timeout: 264 seconds]
fiatjaf has joined #ipfs
<whyrusleeping>
M-davidar: he's likely busy, need something?
<whyrusleeping>
M-davidar: hes likely busy, need something?
<whyrusleeping>
dammit irc
<M-davidar>
whyrusleeping: I was just wondering whether there's a rough timeline for when ipfs is going to be moving to ipld?
<whyrusleeping>
M-davidar: 'after 0.4.0
<whyrusleeping>
'
<M-davidar>
hehe, I assumed that much :p
flobs has joined #ipfs
conway has quit [Ping timeout: 248 seconds]
<whyrusleeping>
if youre interested in the current progress, check out ipfs/go-ipld
screensaver has quit [Ping timeout: 260 seconds]
sahib has quit [Ping timeout: 248 seconds]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
conway has joined #ipfs
calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lgierth>
whyrusleeping: don't know, i tried it without -u first -- it's with an empty fresh gopath. i assume i need a pre-gx ipfs-api?
<whyrusleeping>
lgierth: eh, it should work.
<whyrusleeping>
you'll have to install ipfs first though
<whyrusleeping>
it relies on you having installed deps that way
<lgierth>
aha! ipfs master? cause iirc v0.3.11 is pre-gx
<whyrusleeping>
yes
<whyrusleeping>
whoops
<whyrusleeping>
although...
<whyrusleeping>
no, yeah
<whyrusleeping>
it uses post-gx go-ipfs-api
<whyrusleeping>
blech
<whyrusleeping>
(i used ipfs-update to install v0.3.11)
calavera has joined #ipfs
<lgierth>
i can do that too -- if i don't have a local daemon it'll use ipfs.io right?
<whyrusleeping>
you should be running an 0.3.11 daemon locally
<whyrusleeping>
when you run the tool
<lgierth>
yeah, oh i'm still in the installing the tool phase
<lgierth>
make install'ing go-ipfs master now, to get the gx deps
<whyrusleeping>
lol, i might just gx'ify it then...
<whyrusleeping>
should be easier
conway has quit [Ping timeout: 248 seconds]
<lgierth>
i'd like to see a "why codes" episode where you take an existing go codebase and gxify it
<lgierth>
:)
<lgierth>
that might actually be really useful for the general public right now
<lgierth>
gotta take care of your following :P
mkelly has quit [Remote host closed the connection]
jaboja has quit [Remote host closed the connection]
<whyrusleeping>
lol, we can do that next week
<whyrusleeping>
but i cheat a little
<whyrusleeping>
'gx-go import --help'
ipfsrocks has quit [Ping timeout: 248 seconds]
<lgierth>
"all of its dependencies"
<lgierth>
oh wow how have i missed this
<lgierth>
if that has been present for ~long, i really didn't notice it when import'ing prometheus client_golang
<lgierth>
i was grepping through it looking for all its dependencies, and their dependencies
<lgierth>
then got distracted by other stuff
<whyrusleeping>
lol
<whyrusleeping>
its been there since before i even touched ipfs with gx
<lgierth>
nice
<lgierth>
iirc it just wasn't obvious from import's output that it also takes care of the deps
<whyrusleeping>
oh, yeah
<whyrusleeping>
its recursive
<whyrusleeping>
i definitely didnt document it well
<lgierth>
so it's actually really simple
<lgierth>
<3
<whyrusleeping>
:D
<lgierth>
that's great because i have that metrics PR sitting there for go-ipfs
<lgierth>
which paves the road for more than just ipfs_p2p_peers
<lgierth>
i've compiled a little list of stuff that i want measured
<whyrusleeping>
i'm going to work on better troubleshooting tools and docs soon
<slothbag>
Error: connect Qm<mynode> failure: dial attempt failed: <peer.ID QmQ7Xn> --> <peer.ID QmertJ> dial attempt failed: no dialer for /ip4/<myinternetip>/udp/61475/utp
<whyrusleeping>
what version of ipfs?
<slothbag>
latest master as of a few hours ago
<whyrusleeping>
on both?
<slothbag>
yup
<slothbag>
actually.. one might not be
* whyrusleeping
investigates
<whyrusleeping>
oh good
<slothbag>
ive updated 2 of 3
<whyrusleeping>
i really hope so
<whyrusleeping>
because i was certain i fixed that exact error message
bitspill has joined #ipfs
emk has quit [Ping timeout: 240 seconds]
emk has joined #ipfs
<slothbag>
ok, all 3 compiled, LAN 1 can manually connect to LAN 2, and they swap content.. External node still not able to get content, will give it 10 minutes to register on DHT
_rht has joined #ipfs
akkad has joined #ipfs
<slothbag>
i'm seeing large traffic on my ipfs nodes lately. 200KB/sec upload.. thats pretty much my entire upload bandwidth
<ipfsbot>
[js-ipfs-api] dignifiedquire created greenkeeper-babel-eslint-5.0.1 (+1 new commit): https://git.io/vVebL
<ipfsbot>
js-ipfs-api/greenkeeper-babel-eslint-5.0.1 2ff5b62 greenkeeperio-bot: chore(package): update babel-eslint to version 5.0.1...
fingertoe has joined #ipfs
<slothbag>
well, I finally got my content from Node A -> B -> C, but I had to issue manual swarm connect commands on each node to get it to work.. not sure if there is a bigger issue or just me
<ipfsbot>
[js-ipfs-api] dignifiedquire created greenkeeper-babel-eslint-6.0.0 (+1 new commit): https://git.io/vVebK
<ipfsbot>
js-ipfs-api/greenkeeper-babel-eslint-6.0.0 ab1dfe8 greenkeeperio-bot: chore(package): update babel-eslint to version 6.0.0...
diocles has quit [Ping timeout: 264 seconds]
O47m341 has joined #ipfs
Oatmeal has quit [Ping timeout: 260 seconds]
diocles has joined #ipfs
O47m341 has quit [Ping timeout: 240 seconds]
treaki_ has joined #ipfs
<ipfsbot>
[js-ipfs-api] dignifiedquire created greenkeeper-gulp-bump-2.1.0 (+1 new commit): https://git.io/vVeNv
<ipfsbot>
js-ipfs-api/greenkeeper-gulp-bump-2.1.0 592fdc6 greenkeeperio-bot: chore(package): update gulp-bump to version 2.1.0...
ruby32 has left #ipfs ["Leaving"]
treaki has quit [Ping timeout: 260 seconds]
ipfsrocks has joined #ipfs
<ipfsbot>
[js-ipfs-api] greenkeeperio-bot opened pull request #234: gulp-bump@2.1.0 breaks build
hugooconnor has quit [Remote host closed the connection]
hugooconnor has joined #ipfs
O47m341 has joined #ipfs
fingertoe has quit [Remote host closed the connection]
ygrek_ has quit [Ping timeout: 244 seconds]
reit has quit [Quit: Leaving]
mkelly has joined #ipfs
fingertoe has joined #ipfs
fingertoe has quit [Remote host closed the connection]
<ipfsbot>
[js-ipfs-api] greenkeeperio-bot opened pull request #235: Update babel-eslint to version 6.0.0
fingertoe has joined #ipfs
gordonb has joined #ipfs
<ipfsbot>
[js-ipfs-api] dignifiedquire created greenkeeper-stream-http-2.2.1 (+1 new commit): https://git.io/vVeAV
<ipfsbot>
js-ipfs-api/greenkeeper-stream-http-2.2.1 b0c3b72 greenkeeperio-bot: chore(package): update stream-http to version 2.2.1...
gordonb has quit [Client Quit]
hugooconnor has quit [Ping timeout: 244 seconds]
afternuun is now known as nuun
ipfsrocks has quit [Ping timeout: 244 seconds]
calavera has joined #ipfs
<ipfsbot>
[js-ipfs-api] greenkeeperio-bot opened pull request #236: stream-http@2.2.1 breaks build
ygrek_ has joined #ipfs
chriscool1 has joined #ipfs
Aeonwaves has quit [Remote host closed the connection]
Aeon has joined #ipfs
<ipfsbot>
[webui] greenkeeperio-bot opened pull request #304: Update eslint to version 2.5.0
mkelly has quit [Remote host closed the connection]
calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
herzmeister has quit [Ping timeout: 248 seconds]
hjoest2 has joined #ipfs
fingertoe has quit [Remote host closed the connection]
hjoest has quit [Ping timeout: 244 seconds]
IlanGodik has joined #ipfs
Arakela007 has joined #ipfs
hjoest has joined #ipfs
hjoest has quit [Read error: Connection reset by peer]
reit has joined #ipfs
reit has quit [Client Quit]
hjoest2 has quit [Ping timeout: 244 seconds]
hjoest has joined #ipfs
Akaibu has quit [Quit: Connection closed for inactivity]
hjoest has quit [Read error: Connection reset by peer]
hjoest has joined #ipfs
disgusting_wall has quit [Quit: Connection closed for inactivity]
bedeho has quit [Ping timeout: 246 seconds]
tay has quit [Ping timeout: 264 seconds]
tay has joined #ipfs
cemerick has joined #ipfs
Arakela007 has quit [Remote host closed the connection]
bedeho has joined #ipfs
rendar has joined #ipfs
ygrek_ has quit [Ping timeout: 252 seconds]
devbug has quit [Ping timeout: 268 seconds]
devbug has joined #ipfs
fingerto_ has joined #ipfs
fingert__ has joined #ipfs
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 268 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 250 seconds]
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 250 seconds]
fingerto_ has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
<ipfsbot>
[js-ipfs-api] greenkeeperio-bot opened pull request #237: babel-eslint@5.0.1 breaks build
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 276 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 248 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 276 seconds]
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 264 seconds]
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
slothbag has quit [Read error: Connection reset by peer]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 264 seconds]
fingert__ has joined #ipfs
crankylinuxuser has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
conway has quit [Ping timeout: 276 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 268 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 260 seconds]
inconshreveable has quit [Remote host closed the connection]
fingertoe has quit [Ping timeout: 260 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 268 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 240 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 268 seconds]
inconshreveable has joined #ipfs
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 264 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
ugjka has joined #ipfs
dignifiedquire has joined #ipfs
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
zorglub27 has joined #ipfs
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
Codebird has joined #ipfs
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
<Codebird>
Is there a good description anywhere of how IPRS works?
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 252 seconds]
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 252 seconds]
fingertoe has joined #ipfs
cemerick has quit [Ping timeout: 246 seconds]
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 276 seconds]
<Codebird>
I can't find much information on it, though I gather IPRS is sort of a replacement for IPNS, one designed from the beginning to actually work with ersioning and without the need to reinsert at regular intervals?
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
zorglub27 has quit [Remote host closed the connection]
fingerto_ has quit [Ping timeout: 276 seconds]
fingerto_ has joined #ipfs
fingert__ has joined #ipfs
devbug has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fingertoe has quit [Ping timeout: 264 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
inconshreveable has quit [Remote host closed the connection]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 264 seconds]
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 264 seconds]
fingerto_ has joined #ipfs
fingert__ has quit [Ping timeout: 246 seconds]
apiarian has quit [Ping timeout: 244 seconds]
fingert__ has joined #ipfs
fingertoe has quit [Ping timeout: 252 seconds]
fingertoe has joined #ipfs
fingerto_ has quit [Ping timeout: 252 seconds]
fingerto_ has joined #ipfs
apiarian has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
herzmeister has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
Encrypt has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingert__ has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
sahib has joined #ipfs
fingertoe has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
jinxz has joined #ipfs
fingert__ has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingert__ has quit [Ping timeout: 276 seconds]
fingert__ has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
fingert__ has joined #ipfs
fingerto_ has quit [Ping timeout: 264 seconds]
treaki_ has quit [Read error: Connection reset by peer]
fingerto_ has joined #ipfs
fingertoe has quit [Ping timeout: 248 seconds]
fingertoe has joined #ipfs
Monokles has quit [Ping timeout: 240 seconds]
fingert__ has quit [Ping timeout: 268 seconds]
fingert__ has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingertoe has quit [Ping timeout: 244 seconds]
fingertoe has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
fingert__ has joined #ipfs
fingerto_ has quit [Ping timeout: 244 seconds]
fingerto_ has joined #ipfs
fingertoe has quit [Ping timeout: 264 seconds]
fingertoe has joined #ipfs
fingert__ has quit [Ping timeout: 244 seconds]
tmg has quit [Ping timeout: 248 seconds]
fingerto_ has quit [Ping timeout: 244 seconds]
fingertoe has quit [Ping timeout: 244 seconds]
Encrypt has quit [Quit: Quitte]
Arakela007 has joined #ipfs
MahaDev has quit [Quit: Leaving]
hjoest has quit [Read error: Connection reset by peer]
hjoest has joined #ipfs
ugjka has quit [Quit: Leaving]
ugjka has joined #ipfs
O47m341 has quit [Quit: TTFNs!]
apiarian has quit [Ping timeout: 246 seconds]
zorglub27 has joined #ipfs
hjoest has quit [Ping timeout: 244 seconds]
apiarian has joined #ipfs
ugjka has quit [Quit: Leaving]
Mitar has quit [Ping timeout: 276 seconds]
Mitar has joined #ipfs
ugjka has joined #ipfs
hjoest has joined #ipfs
reit has joined #ipfs
hjoest has quit [Read error: Connection reset by peer]
reit has quit [Client Quit]
hjoest has joined #ipfs
reit has joined #ipfs
tmg has joined #ipfs
hjoest has quit [Ping timeout: 244 seconds]
Kubuxu has quit [Ping timeout: 240 seconds]
Magik6k has quit [Ping timeout: 276 seconds]
Monokles has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
hjoest has joined #ipfs
ed_t has joined #ipfs
<ed_t>
is there a tutorial on how to use ipfs in its recent incarnation? I have .040-rc3 installed
<ed_t>
.40-rc3
hjoest has quit [Ping timeout: 244 seconds]
Boomerang has joined #ipfs
Dhole_ has joined #ipfs
Dhole has quit [Ping timeout: 260 seconds]
hjoest has joined #ipfs
zorglub27 has quit [Remote host closed the connection]
zorglub27 has joined #ipfs
ugjka has quit [Quit: Leaving]
hjoest has quit [Remote host closed the connection]
hjoest has joined #ipfs
Kubuxu has joined #ipfs
Magik6k has joined #ipfs
zz_r04r is now known as r04r
computerfreak has joined #ipfs
ugjka has joined #ipfs
herzmeister has quit [Quit: Leaving]
<ed_t>
is arch mirrored in ipfs?
herzmeister has joined #ipfs
zorglub27 has quit [Ping timeout: 276 seconds]
<demize>
ed_t: Not currently, to my knowledge.
<demize>
Wouldn't be hard to do though, if you have enough disk space..
<demize>
Maybe I will when I set up my next server.
<ed_t>
would think arch would be an ideal place to really get an idea of what ipfs can do. How much space do you think it would take?
<patagonicus>
I looked at providing an alpine mirror, but even for that IPFS was too slow to keep it up to date in a useful manner. Figuring out which files where added outside of IPFS and only ipfs-adding those would help, but even then it took very long.
apiarian has quit [Ping timeout: 276 seconds]
protocol_under has quit [Ping timeout: 248 seconds]
protocol_under has joined #ipfs
apiarian has joined #ipfs
ed_t has quit [Quit: Leaving]
hjoest2 has joined #ipfs
ed_t has joined #ipfs
crankylinuxuser has quit [Read error: Connection reset by peer]
ugjka has joined #ipfs
hjoest has quit [Ping timeout: 244 seconds]
protocol_under has quit [Ping timeout: 260 seconds]
protocol_under has joined #ipfs
<geir_>
Hi! This might exist, so please tell me if it does. But what do you guys think of a transparent http proxy that "rewrites" pages to use ipfs. So that your local network (or mesh in my case) can use existing web sites and have ipfs as a cdn
<lgierth>
the chrome addon needs a bit more work to be up to par with the firefox addon
<geir_>
lgierth: I'll check it out. But this does not "rewirte" normal web pages does it=
<geir_>
?
<apiarian>
a helpful addition to $PS1 when dealing with iptb shells: `[[ $IPFS_PATH ]] && echo "ipfs:$IPFS_PATH" | sed "s|$HOME|~|"`
<geir_>
lgierth: The web sites would have to link to ipfs content for this plugin to work. What i propose is a proxy that works like a transparent proxy and puts content into ipfs if it's not already there
Arakela007 has quit [Ping timeout: 260 seconds]
<ed_t>
anyone know anything about ipfs-boards
<ed_t>
it keeps telling me I am in limited mode
<ed_t>
a full ipfs 0.40-rc3 node is running on localhost:5001
<ed_t>
but it does not seem to see it using the demo link
<lgierth>
geir_: ah got what you wanna do -- i'm not sure you can easily just rewrite anything
<lgierth>
for completely static pages, yes, but for slightly more dynamic stuff?
<lgierth>
i'll be back in a bit, getting some coffee
<geir_>
lgierth: I mean only for the static stuff like images, libs and so on. Should be pretty strait forward to implement. And a big bandwidth save for big networks
rmi7 has quit [Excess Flood]
jaboja has joined #ipfs
rmi7 has joined #ipfs
protocol_under has quit [Ping timeout: 252 seconds]
sahib has quit [Ping timeout: 246 seconds]
<lidel>
geir_, we are planning to add "host to ipfs" feature to the addon
<lidel>
when that is done, it should be easy to add option to automatically add every visited page
<lidel>
not sure how addon would do lookups tho
<lidel>
(meaning, how do i know the multihash of the page, how do we handle ipfs-cache expiration when page gets updated, etc)
<geir_>
lidel: I see, thanks for the info. I still like the idea of a transparent proxy so every user/device on the network will use the "cdn" automatically
<lidel>
perhaps we could start with mirroring static assets that have SRI hash (https://www.srihash.org/)
<lidel>
and come up with a way for doing SRI2IPFS lookups
protocol_under has joined #ipfs
<geir_>
I'm on a boat and almost home so I'll be logging off in a short while. I'll see if I cant get something implemented :)
<lgierth>
geir_: how would you wire the proxy into the usual workflow of logging into wifi?
<lgierth>
i imagine something like doing it on the router?
<lgierth>
some iptables rule to pipe port 80 through squid or so
<lgierth>
that won't work with ssl of course
<lgierth>
i wanna figure this kind of stuff out myself too
<lgierth>
also for the mesh network use case
fingertoe has joined #ipfs
<lidel>
there will be less and less resources on 80, everyone is moving to https
<lidel>
doing these things in addon is our only chance in the long run
Kubuxu has quit [Read error: Connection reset by peer]
Kubuxu has joined #ipfs
Magik6k has quit [Ping timeout: 276 seconds]
Magik6k has joined #ipfs
<geir_>
lgierth: I'm back. Yes as you assumed but no squid, I'm write that part myself
<geir_>
lidel: Yes a lot of stuff will not work with this since it's https, but there is still a lot of content thats non-ssl like newspapers and so on
<lgierth>
oh i can only recommend to not write an http proxy yourself
<lgierth>
i just did that
<lgierth>
with whyrusleeping
<lgierth>
and it's a lasting pain :)
calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<geir_>
lgierth: I'll wirte it in go, should not be that hard :) And I don't see another way of doing it
<lgierth>
"should not be that hard" :')
<lgierth>
can i quote you on that? :)
<geir_>
haha maybe I'll regret that comment :P
<lgierth>
go for it ;)
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
chriscool1 has quit [Read error: Connection reset by peer]
chriscool has joined #ipfs
fingertoe has quit [Remote host closed the connection]
fingertoe has joined #ipfs
fingertoe has quit [Remote host closed the connection]
fingertoe has joined #ipfs
<Bat`O>
it's a bit weird that argument are passed to the http API as "arg" instead of named parameters
ylp has quit [Ping timeout: 260 seconds]
<Bat`O>
if you have multiple argument, you have to call ?arg=...&arg=...&arg=... instead of ?root=...&name=...&ref=...
<Bat`O>
if you don't, it says "Argument 'root' is required"
ylp has joined #ipfs
jjanzic has joined #ipfs
<lgierth>
Bat`O: yeah it's a bit hairy at times at the moment -- the idea is to have the http api and cli be as close to each other as possible
<lgierth>
`arg` is an unnamed argument on the cli
<lgierth>
e.g. ipfs pin add -r /ipfs/Qmfoobar = /api/v0/pin/add?arg=/ipfs/Qmfoobar&r=true
fingertoe has quit [Remote host closed the connection]
ylp has quit [Ping timeout: 260 seconds]
ylp has joined #ipfs
<Bat`O>
lgierth: ha, i see
<Bat`O>
thx
<Boomerang>
I was wondering, the public key you find with "ipfs id" is not a multihash, is it?
<Boomerang>
I know about multihash, I'm using the haskell implemetation rightnow :)
<lgierth>
great :)
<Boomerang>
but the public key is the only hash I found that can't be decoded
<lgierth>
but yeah Qm is sha256 in base58
<Boomerang>
So I'm guessing the public key is just a hash, not a multihash
<lgierth>
mh no it's uspposed to be a multihash
<Boomerang>
if it is then it's Base64, my public key finishes with '='
<lgierth>
yeah that's rsa padding
<lgierth>
the public key itself itself is base64 i think
palkeo has joined #ipfs
<lgierth>
you can check it in .ipfs/config
<lgierth>
or the private key, rathe
<lgierth>
r
<Boomerang>
Mmmh thanks for your help I'll see if I can decode it properly
<Boomerang>
:)
hjoest2 has joined #ipfs
ylp has joined #ipfs
hjoest has quit [Ping timeout: 244 seconds]
<Boomerang>
lgierth: Is there RSA padding at the beginning of the public key? I can decode if I just skip the first 2 bytes
ylp has quit [Ping timeout: 260 seconds]
jaboja has joined #ipfs
<lgierth>
the first two bytes are Q and m eh?
<lgierth>
that's the ones that signify sha2-256 and base58
<lgierth>
or rather, hash function and digest size
<lgierth>
<1-byte hash function code><1-byte digest size in bytes><hash function output>
<lgierth>
the haskell multihash should take care of that
<Boomerang>
it works for all the hashes but the public/private keys. If I decode with base64 the first few bytes of my public key are [8, 0, 18, 166...] 18 corresponds to sha1 and 166 to the size of the digest
<Boomerang>
I don't know what the first two bytes mean..
<Boomerang>
I working on the Haskell IPFS api by the way (hence why I try to do that), but maybe decoding public/private keys isn't needed
<lgierth>
the first two bytes are not part of the basewhatever
<lgierth>
you read the first byte to know what you're dealing with, then the second to know how much hash data to read, then use the knowledge from the first byte to decode the hash data
<Boomerang>
That makes sense, is there a standard to see what encoding is used (base58, base64...) ?
<Codebird>
I've got some perl code that does hex/binary/base58 translation, if that's any help to you?
<Boomerang>
Yeah I was just wondering if the public/private keys were also encoded with multihashes, maybe they're not
<Boomerang>
The base58 I have works fine thanks :)
<Codebird>
They aren't hashes.
<Boomerang>
well they're not checksum type of hashes, but they're still hashes, no? base64 and sha256
<Codebird>
Just check the length of one.
tmg has quit [Ping timeout: 252 seconds]
<Codebird>
If it's a power of two, not a multihash. If it's a power of two plus a little more, it's a multihash.
<Boomerang>
I'll try thanks! :)
cemerick has quit [Ping timeout: 264 seconds]
fingertoe has joined #ipfs
ylp has quit [Ping timeout: 264 seconds]
sahib has joined #ipfs
computerfreak has quit [Remote host closed the connection]
jaboja has quit [Ping timeout: 248 seconds]
fingertoe has quit [Remote host closed the connection]
saoe has joined #ipfs
fingertoe has joined #ipfs
fingertoe has quit [Remote host closed the connection]
jaboja has joined #ipfs
saoe has quit [Quit: WeeChat 0.4.2]
rendar has quit [Ping timeout: 260 seconds]
rendar has joined #ipfs
maxlath has joined #ipfs
zorglub27 has quit [Ping timeout: 268 seconds]
maxlath is now known as zorglub27
ianopolous has quit [Remote host closed the connection]
mildred has joined #ipfs
sahib has quit [Ping timeout: 276 seconds]
inconshreveable has quit [Read error: Connection reset by peer]
calavera has joined #ipfs
lukeeeebennett has joined #ipfs
Not_ has quit [Quit: Leaving]
lukeeeebennett has quit [Client Quit]
Ronsor` has quit [Ping timeout: 264 seconds]
Ronsor` has joined #ipfs
Ronsor` has quit [Ping timeout: 276 seconds]
Ronsor` has joined #ipfs
onlnr has joined #ipfs
jaboja has quit [Ping timeout: 240 seconds]
Ronsor` has quit [Remote host closed the connection]
Ronsor` has joined #ipfs
Oatmeal has joined #ipfs
devbug_ has joined #ipfs
Senji has quit [Ping timeout: 240 seconds]
<fil_redpill>
probably a dumb question, but why no MD5 in multihash?
<Boomerang>
I think it's because md5 is broken, you could generate hash collisions
<lgierth>
it's not fully broken yet
<lgierth>
but it's only a matter of time
<Boomerang>
There are rainbow tables easily available for md5, so it helps breaking it
<geir_>
lgierth: I've been thinking about this problem we discusses on how you can know the hash of a object linked to on a random site. What do you think of something like DNS. A trusted tracker that can translate links to hashes
<lgierth>
geir_: you mean for example.net => /ipfs/Qmfoobar lookups?
<ipfsbot>
[js-ipfs] xicombd pushed 2 new commits to feature/object-patch: https://git.io/vVvhV
<ipfsbot>
js-ipfs/feature/object-patch 66f5786 Francisco Baio Dias: Add /object/patch/add-link to http-api
<ipfsbot>
js-ipfs/feature/object-patch 433eccd Francisco Baio Dias: Add ipfs object patch add-link to cli
devbug has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<geir_>
lgierth: Yes but I would like it to be for static objects like cdn.example.net/blablabla.jpg => /ipfs/HASH
<fil_redpill>
yes I know but 1) it could help to migrate a legacy sytem out of md5 2) there is an issue about the idea of allowing identity in multihash (and identity is not a safe crypto
<lgierth>
fil_redpill: not sure i understand what you mean with identity
<fil_redpill>
anyway I don't care that much but like to see it documented in an issue or in comments
<lgierth>
geir_: an http api for a dictionary, so to speak
<lgierth>
fil_redpill: make one :)
<geir_>
lgierth: Yes, I think that would be a nice thing to have.
<lgierth>
geir_: also check the ipfs/notes repo, maybe someone wrote down a few ideas already
<lgierth>
if there's none yet, write yours down :)
nuun is now known as afternuun
calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apiarian>
i guess the ipfs/ipns interactions i could handle with api calls to the go-ipfs node, but how to attach to its node-id for libp2p swarm connections?
<dignifiedquire>
whyrusleeping: you around?
<dignifiedquire>
or any other people who have decent knowledge of C?
<Codebird>
I know a bit of C.
<dignifiedquire>
I'm tryint to understand what exactly this operation does
<dignifiedquire>
yes as said above it's a pointer to a Bytef
<dignifiedquire>
and dictLength is the length of dictionary
<ion>
It would help if we knew the definitions of the data structures involved.
<Codebird>
is s->w_size the length of an element in the dictionary?
<whyrusleeping>
dignifiedquire: not really
<Codebird>
It's obvious what the command does. But without knowing how the data structures involved are supposed to work, it's hard to divine the purpose.
<Codebird>
I think it's finding the address of the last element in the dictionary? Maybe?
computerfreak has joined #ipfs
<whyrusleeping>
dignifiedquire: its says 'go to the end of the dictionary, and then step back one record'
<whyrusleeping>
dictlength is the size of the entire dictionary
<dignifiedquire>
yes
<whyrusleeping>
and s->w_size is the size of a single record
<dignifiedquire>
s->w_size is the size of my window, and the goal is to fit dictionary into the window
<dignifiedquire>
the main thing I'm struggeling with is that dictionary afterwards is then a pointer to what exactly?
<Codebird>
It's a pointer to the final record within the dictionary.
<dignifiedquire>
right of course -.-
<dignifiedquire>
arghhh too tired
<Codebird>
Assuming it started out as a pointer to the first record.
<dignifiedquire>
thanks everyone for helping me with my noob questions
<ion>
I would avoid using the word "tail" when not talking about the part of a linked list following the head element.
<dignifiedquire>
I didn't write the code..just trying to understand it