<jbenet>
davididas: i've until 20:30 (15min). i can talk though, or keep reading through. up to you
<jbenet>
CaioAlonso: it's in my todos this week to plan this out
<CaioAlonso>
cool, things are moving faster than I thought
bedeho has quit [Ping timeout: 264 seconds]
<daviddias>
I'm afraid that we would naturally drag the conversation longer and I don't want to block you, do you know when will you be available again?
<jbenet>
daviddias: later tonight, prob around 11/00:00 ET -- sorry i said that yesterday and failed-- had a family visit.
simonv3 has joined #ipfs
<sonatagreen>
doesn't publishing to an ipns address involve doing a signature
dawny has quit [Read error: Connection reset by peer]
bedeho has joined #ipfs
<daviddias>
no worries jbenet, I'll be around late (my clocks kind of shifted, I've been up till later and waking close to noon), reviewing more of this and also working on WebRTC related stuff, so ping me when you come back, if you can of course :)
pfraze has quit [Remote host closed the connection]
<CaioAlonso>
whyrusleeping, thats what I was working on earlier when I mentioned the CORS thing
<achin>
CaioAlonso: amazing
<CaioAlonso>
:D
<giodamelio>
It seems to time out on loading ROM's for me. Gives me a "URL reading error: 0". If I load the link in a new tab and let it load, the gateway caches it then it loads fine.
<CaioAlonso>
yeah, I've been noticing that
<CaioAlonso>
the emulator doesn't wait enough
<spikebike>
I loaded asteroids
<giodamelio>
I just loaded it a few moments ago, so the gateway already had it.
<CaioAlonso>
loading a random rom a second time works
Leer10 has joined #ipfs
<spikebike>
are they supposed to be playable?
<giodamelio>
CaioAlonso: The joys of debugging timeout problems :)
<CaioAlonso>
spikebike, a lot of the obscure games are weird, bizarre and cryptic, but the featured ones are fully playable
<CaioAlonso>
giodamelio, tell me about it
<spikebike>
CaioAlonso: I tried asteroids, it's got rocks flying around, not sure how to do anything
<CaioAlonso>
arrow keys and space
<CaioAlonso>
try game reset
<CaioAlonso>
to start it
<spikebike>
how do you start? I see rocks but no ship
<CaioAlonso>
spikebike, my goal is to archive old games on IPFS, all of them
<spikebike>
heh, so the 2600 emulator is written in javascript?
<CaioAlonso>
ported from java to js, I think
<CaioAlonso>
the java version is much more advanced, including savestates etc
<spikebike>
impressive since despite the name they aren't particularly closely related
<CaioAlonso>
yeah
<spikebike>
seems like the atari 5200 was the first console that actually approximated the arcade experience
<CaioAlonso>
good times
<atgnag>
What is QmYgTz4w72hicHLhf9C8woXTEbt8uWv1ApYxfDNYUkZaNS?
<achin>
looks like the rom archive
<atgnag>
Okay.
<spikebike>
heh, missle command is kinda fun, even on the 2600
<spikebike>
couldn't figure out star raiders 8-(
Spinnaker has joined #ipfs
simonv3 has quit [Quit: Connection closed for inactivity]
domanic has quit [Ping timeout: 264 seconds]
od1n has joined #ipfs
ygrek_ has quit [Ping timeout: 264 seconds]
reit has joined #ipfs
pfraze has joined #ipfs
<richardlitt>
random aside, restarted Octobuild.com this year. My project this month is IPFS textbook. :D
simonv3 has joined #ipfs
<ipfsbot>
[go-ipfs] WeMeetAgain opened pull request #1776: fix http output to never have both transfer-encoding and content-length (master...fix/cat-http-output) http://git.io/vczXs
<CaioAlonso>
richardlitt, cool :D
pfraze has quit [Remote host closed the connection]
pfraze has joined #ipfs
<richardlitt>
CaioAlonso: :D
<richardlitt>
back tomorrow, sleeps
<kandinski>
I'm reading backroll. Does f2f mean face-to-face? Like the Debian rules for signing keys?
<kandinski>
Assuming so...
wemeetagain has joined #ipfs
<wemeetagain>
good evening all
od1n has quit [Ping timeout: 240 seconds]
<sonatagreen>
friend-to-friend
<sonatagreen>
i.e. you only directly connect to people you know and trust
rozap has joined #ipfs
hellertime has quit [Quit: Leaving.]
sseagull has quit [Quit: Lost terminal]
od1n has joined #ipfs
ygrek_ has joined #ipfs
<kandinski>
sonatagreen: I wondered about that, but decided to assume a stronger guarantee :)
<kandinski>
(I have many friends I trust who I've never met in person)
pfraze has quit [Remote host closed the connection]
<ipfsbot>
[node-ipfs-api] mappum pushed 4 new commits to master: http://git.io/vczQi
<ipfsbot>
node-ipfs-api/master 9e32341 Matt Bell: Updated 'vinyl-fs-browser' dependency
<ipfsbot>
node-ipfs-api/master 30a40b1 Matt Bell: Updated build
<ipfsbot>
node-ipfs-api/master 82732b8 Matt Bell: Compatibility with new vinyl-fs-browser, and 'followSymlinks' option
Not_ has joined #ipfs
kerozene is now known as HugsBison
legobanana has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest73396 has joined #ipfs
Spinnaker has quit [Ping timeout: 256 seconds]
legobanana has joined #ipfs
legobanana has quit [Client Quit]
apophis has joined #ipfs
<sonatagreen>
so it occurs to me that all ipfs sites share the same cookie scope
<sonatagreen>
this is suboptimal
<zignig>
sonatagreen: the ipfs gateways are just a way to get ipfs content available on the web , in the longer term you will use a local ipfs node running on your computer.l
<sonatagreen>
this is still the case when using my local node
<whyrusleeping>
yeah, sonatagreen we want to use subdomains to address the issue
<whyrusleeping>
i think, i'm not real big on http stuff
<sonatagreen>
doesn't that break all the things though
<zignig>
whyrusleeping: o/
<sonatagreen>
or, not all, but some of the things
<zignig>
sonatagreen: like what ?
<whyrusleeping>
zignig: heyo!
<sonatagreen>
you want to be able to link from /ipfs/hashxyz/foo.html to /ipfs/hashpqr/bar.html, using the syntax <a href="/ipfs/hashpqr/bar.html">
<sonatagreen>
because, like, canonical address
<sonatagreen>
cookie policy might be a thing for a/the browser extensions to do
Guest73396 has quit [Ping timeout: 240 seconds]
<zignig>
whyrusleeping: been messing with the arXiv repo from davidar , very cool.
<zignig>
sonatagreen: I see where you are coming from , but because it's content storage, you just include pqr in your xyz hash , it's not duplication because its the same content.
<zignig>
whyrusleeping: I have some patches to the go-ipfs-shell ( swarm , ping , etc ) that I should pull request.
<whyrusleeping>
zignig: please do! also note that its go-ipfs-api now
amstocker has joined #ipfs
<sonatagreen>
zignig, interesting point. however, this doesn't work if you want to link to an ipns site.
<zignig>
sonatagreen: indeed , but whyrusleeping would have to get ipns working first.
<zignig>
whyrusleeping: :PPPPP
<sonatagreen>
also it is not obvious to me how to actually do that
<sonatagreen>
without a lot of annoying duplication of files on my hard drive
<whyrusleeping>
zignig: check dah PR
<zignig>
sonatagreen: ipfs deduplicates ( which is the entire point ) , if you reference awesome.jpg from 50 differnt spots it only stores it once.
* zignig
should register github.om , I type it enough.
<sonatagreen>
in terms of the actual ipfs data store, sure. but if i'm deploying a site i have a copy of the files outside of that, the directory that i'll point ipfs at when i want to insert.
<sonatagreen>
or am i using it wrong?
<zignig>
you can do it like that, but you are correct there will be duplicates.
<zignig>
you can also update existing files and create a new hash ( the old one is still there )
<sonatagreen>
is there a way to avoid having these duplicates? i got the impression that storing my files directly in /ipns/local/ or wherever was a bad plan
<sonatagreen>
like, that is not where i should keep the primary copy of anything i want to keep
<sonatagreen>
?
<zignig>
sonatagreen: it is a the moment , it's still alpha.
<zignig>
ipfs is a _publishing_ platform , if you want to keep _your_ files forever , duplicates is a must...
<sonatagreen>
a convenient thing would be a degree of support for symlinks; if i can have do `ln -s /ipfs/hash1234 foo/bar; ipfs add -r foo' and have it work, that would be convenient
timgws has joined #ipfs
<zignig>
sonatagreen: I think that is in the works , ipfs is all symlinks ( except at the bottom where it is turtles all the way down )
<sonatagreen>
excellent
<zignig>
sonatagreen: what is your use case for ipfs ?
<zignig>
whyrusleeping: which PR ?
rschulman has quit [Ping timeout: 240 seconds]
<sonatagreen>
not 100% sure yet, but am currently leaning towards blogging and maybe posting some twine games
<davidar>
sonatagreen (IRC): i wouldn't mind some client-side stuff, so long as it isn't implementing a whole pdf viewer inside the browser (which kind of defeats the point)
<davidar>
i.e. an actual webpage, not a pdf pretending to be a webpage
<davidar>
if that makes sense :/
amstocker has quit [Ping timeout: 244 seconds]
<zignig>
sonatagreen: have a read of some LATEX source code.
<davidar>
zignig (IRC): yeah, tex as a language sucks, but is awesome at typesetting
<zignig>
davidar: normalizing is the way to go , but latex is good for typesetting.
<zignig>
snap !
<davidar>
zignig (IRC): basically i want latex typesetting, but for the web
<zignig>
markdown + svg + mathml ?
<davidar>
kind of saddens be that webbrowsers don't have any kind of native typesetting that even approaches tex
<davidar>
zignig (IRC): yeah, typesetting the math is easy
<davidar>
it's everything else that's the issue
<zignig>
how did you get all that data into ipfs ? a large spoon ?
<sonatagreen>
possibly part of the issue is that web pages have to deal with things like uncertain page/screen width
* zignig
thinks sonatagreen is a web designer.
<sonatagreen>
whereas latex outputs to a fixed page size
* sonatagreen
only dabbles.
<zignig>
a5 FTW !
amstocker has joined #ipfs
<davidar>
sonatagreen (IRC): lots of webpages are fixed-width these days anyway
<sonatagreen>
well, they shouldn't be
<davidar>
lol
<sonatagreen>
because phone dimensions on a desktop are silly and desktop dimensions on a phone are disastrous
<davidar>
sonatagreen (IRC): well, fixed width for a given device
<sonatagreen>
anyway, i should go to sleep
<zignig>
sonatagreen: gnite !
sonatagreen is now known as sonatasleep
<davidar>
night
<zignig>
davidar: like the arXiv archive, how did you go about uploading it ?
<davidar>
zignig: the metadata or the fulltext?
mildred has joined #ipfs
<zignig>
all those file , was it one big ipfs add -r , or did you break it up and build the hashes
Guest73396 has quit [Ping timeout: 246 seconds]
kvda has quit [Quit: x___x]
<davidar>
zignig (IRC): yeah, just one big add, took a few days :/
apophis has quit [Quit: This computer has gone to sleep]
<zignig>
ERK!
<jbenet>
daviddias: i'm around btw.
<jbenet>
sorry been back for a while but just remembered you wanted to talk
<davidar>
jbenet: know of any way to convert latex to html that looks as nice as pdf?
<multivac>
[WIKIPEDIA] Content-addressable storage | "Content-addressable storage, also referred to as associative storage or abbreviated CAS, is a mechanism for storing information that can be retrieved based on its content, not its storage location. It is typically used for high-speed storage and retrieval of fixed content, such as documents stored for..."
<davidar>
.w avalanche effect
<multivac>
[WIKIPEDIA] Avalanche effect | "In cryptography, the avalanche effect refers to a desirable property of cryptographic algorithms, typically block ciphers and cryptographic hash functions. The avalanche effect is evident if, when an input is changed slightly (for example, flipping a single bit) the output changes significantly (e.g..." | https://en.wikipedia.org/wiki/Avalanche_effect
crainbf has quit [Quit: crainbf]
tsenart has quit [Client Quit]
<_p4bl0>
eater: but you can use ipns to have a level of indirection if that is necessary
tsenart has joined #ipfs
<eater>
ah thats cool
<giodamelio>
It's not stable yet though, so for now the entrys only persist in the network for 24 hours.
<eater>
in theory, could I use this as a bitsync replacement? if I only add files/dirs and never change them
akhavr has joined #ipfs
crainbf has joined #ipfs
<giodamelio>
I guess, more like you would use IPFS as the transport to build somthing like Bitsync.
<eater>
cool, I guess I have something to do tomorrow then
<eater>
thanks
<SnakeDude>
I am building my own Operating System. What are you guys doing besides IPFS stuff?
<giodamelio>
eater: No problem
crainbf has quit [Client Quit]
Guest73396 has quit [Ping timeout: 255 seconds]
tsenart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jbenet>
!befriend davidar
<pinbot>
!befriend <name> <perm>
<jbenet>
!befriend davidar pin
<pinbot>
Hey davidar, let's be friends! You can pin
<DavidBurela>
woo. Got renewed today as a Microsoft Azure MVP (cloud computing).
<DavidBurela>
I keep lurking in #IPFS watching it devlop. Trying to figure out a way to incorporate it into .Net apps & Azure
<davidar>
cryptix: yeah, the bunny is cute, but it doesn't make me laugh as much ;)
<DavidBurela>
But at the moment, I think IPFS is still in the "lets get it working" phase. Not so much on the "lets get it working in apps"
<cryptix>
davidar: agreed it cant top the bird on the crazy-scale :)
<davidar>
cryptix: on a related note, it's awesome you can now just post links to videos and it just works without having to muck around with browser plugins
<davidar>
how did that take so freaking long to happen?!
<cryptix>
davidar: i'd like to make a service to increase this (gif->h264/webm etc) but i'm not sure how to redirect/index that
<cryptix>
davidar: personally working on something that adds waveforms to audio and enhances metadata (discogs links)
<jbenet>
DavidBurela: sort of-- depends on the desired features. Lots of it works really, really well now and people run it in prod.
<jbenet>
DavidBurela: but yes, lots of the fancier features still in dev.
<davidar>
cryptix: like gfycat?
<DavidBurela>
with the API bindings though, it assumes that you have the IPFS service running locally on your machine. Which is fine if you are a a linux developer. But I'm looking to use it *in* apps, just like how we just use HTTP in our apps. e.g. like normal apps on windows desktop
<davidar>
DavidBurela (IRC): easier than using torrents in apps though
Guest73396 has joined #ipfs
<cryptix>
davidar: yea, for instance
<davidar>
DavidBurela (IRC): as in, you'd just need to bundle the ipfs daemon with the app
<jbenet>
DavidBurela: the bindings use case is using like a database.
<DavidBurela>
ah that makes sense.
<DavidBurela>
Just need to find a way to get go libraries to work with .Net
crainbf has joined #ipfs
<jbenet>
DavidBurela: can make a static lib, but we're a bit busy to handle that atm.
<DavidBurela>
oh yeah totally understandable. I'm just lurking long term and keep tabs on it
<cryptix>
there is also the api bindings meta issue
* cryptix
wants a search index of all our issues.. gh is terrible for cross repo search :/
tsenart has joined #ipfs
<DavidBurela>
I've been thinking longer term how to get IPFS working in Win 10 easier (since that is the new base for Windows). Win10 apps are now "universal Windows Platform" apps that can run everywhere (desktop, tablet, phone). Within that, there are 2 app types: apps & helper services. (e.g. a helper service is something you install from the store that other apps can depend on, like a credit card reader service). If we build a
<DavidBurela>
Win10 helper service, put it into the Win10 store once, then all Win10 devs can just call into the one service.
<DavidBurela>
Means that everyone can just install apps from the marketplace, it sees the IPFS helper service app as a dependency. A super easy way of getting IPFS working for the largest range of app users on their desktop, tablet, etc.
<daviddias>
cryptix: there is a way to search the entire github issue db, but just for the IPFS org
<daviddias>
not the best thing, but it is something :)
<jbenet>
DavidBurela: awesome, that sounds great
<davidar>
cryptix (IRC): like what i linked earlier?
<DavidBurela>
which is why I'm lurking, and trying to figure out how get get it working cleanly with .Net ;-)
<DavidBurela>
Win10 apps can link to generic C++ libraries. BUT it needs to be as source code so that Visual Studio can compile it with special flags... Since it is GO that still isn't an option
<jbenet>
:/
<SnakeDude>
:^)
tsenart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<SnakeDude>
>using win10 un-ironically
tsenart has joined #ipfs
<SnakeDude>
ISHYGDDT
hellertime has joined #ipfs
<vrs>
SnakeDude: back to le 8chan please
<vrs>
you're on freenode, try to fit in
tsenart is now known as tsenart[away]
<SnakeDude>
vrs: :^(
tsenart[away] has quit [Client Quit]
crainbf has quit [Quit: crainbf]
crainbf has joined #ipfs
apophis has joined #ipfs
apophis has quit [Client Quit]
<CounterPillow>
>8gag
<SnakeDude>
CounterPillow: This is not a meme IRC. Please don't slperg out here about 4chan vs 8chan wars.
<SnakeDude>
Thanks.
<CounterPillow>
:)
<SnakeDude>
:^)
<cryptix>
daviddias: ah org:ipfs - nice! thx
* ion
upgrades one machine to a new distro release, copies everything from /var/cache/apt/archives to the others and then upgrades them to avoid a 3× slowdown in the download. Looking forward to IPFS making this transparent.
<cryptix>
ion: been there too :) i wonder which distro will support ipfs package repos first
<cryptix>
also: what about an index that enables md5/sha1 > ipfs hash lookups? so that you can find bash-x.z.z.tar.gz from its .sha1 on ipfs?
legobanana has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
voxelot has quit [Ping timeout: 252 seconds]
<SnakeDude>
4 bux vrs
<SnakeDude>
4 bux
<jbenet>
cryptix: yes that would be nice, and not too difficult.
Poefke has quit [Remote host closed the connection]
apophis has joined #ipfs
bashrc_ has quit [Ping timeout: 272 seconds]
bashrc has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
crainbf has quit [Quit: crainbf]
apophis has quit [Quit: This computer has gone to sleep]
<ion>
What can I do to kill my old local IPNS thing to work around the bug and publish a new name?
dignifiedquire has joined #ipfs
Bat`O has quit [Ping timeout: 244 seconds]
<ion>
Oh, huh. It just worked now. Did the interfering thing expire by itself some time after starting the new version?
Bat`O has joined #ipfs
ilyaigpetrov has joined #ipfs
Encrypt has joined #ipfs
<davidar>
cryptix (IRC): I'm betting on nixos
Spinnaker has joined #ipfs
voxelot has joined #ipfs
Quiark has joined #ipfs
tsenart has joined #ipfs
danslo has quit [Remote host closed the connection]
Spinnaker has quit [Ping timeout: 256 seconds]
Spinnaker has joined #ipfs
devbug has joined #ipfs
crainbf has joined #ipfs
ilyaigpetrov has quit [Remote host closed the connection]
crainbf has quit [Client Quit]
voxelot has quit [Ping timeout: 272 seconds]
devbug has quit [Ping timeout: 264 seconds]
<gendale__>
anyone know anything about running ipfs gateway through memcached?
<gendale__>
lgierth maybe?
<gendale__>
think it's worth it?
tsenart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SnakeDude has quit [Ping timeout: 240 seconds]
pfraze has joined #ipfs
tsenart has joined #ipfs
<CaioAlonso>
would it be possible to create a link on a webpage with an API call to pin something? like "click here to locally pin this content"
rschulman has joined #ipfs
<CaioAlonso>
or we'd have to wait for ipfs.js?
voxelot has joined #ipfs
tsenart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
NeoTeo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tsenart has joined #ipfs
NeoTeo has joined #ipfs
bedeho has quit [Ping timeout: 256 seconds]
danslo has joined #ipfs
jfis has joined #ipfs
voxelot has quit [Ping timeout: 240 seconds]
<DavidBurela>
CaioAlonso: yeah that is kind of possible right now. With javascript you can call the IPFS api on localhost:501/api Hmmm. although you can't do that until you enable CORS on the local instance. ok maybe not. And not sure you'd want random javascript on pages to call your API :-/
Soft has quit [Quit: WeeChat 1.4-dev]
krl has quit [Quit: WeeChat 0.3.8]
jfis has quit [Quit: s]
HastaJun has joined #ipfs
sseagull has joined #ipfs
tsenart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tsenart has joined #ipfs
Leer10 has quit [Remote host closed the connection]
jfis has joined #ipfs
Guest73396 has quit [Ping timeout: 264 seconds]
jfis has quit [Ping timeout: 264 seconds]
SMei has joined #ipfs
vanila has quit [Quit: Leaving]
<SMei>
hm. I just accidentally hid my menu bar. Can anyone give the shortcut to unhide it?
Quiark has quit [Ping timeout: 260 seconds]
<SMei>
Nevermind.
CaioAlonso has quit [Ping timeout: 240 seconds]
SMei has quit [Client Quit]
wopi has quit [Read error: Connection reset by peer]
wopi has joined #ipfs
<achin>
?
voxelot has joined #ipfs
neofreak has quit [Ping timeout: 264 seconds]
apophis has joined #ipfs
od1n has quit [Ping timeout: 268 seconds]
mildred has quit [Ping timeout: 252 seconds]
tsenart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<CaioAlonso>
a way to remove the friction from pinning things would go a long way
<DavidBurela>
I like the idea, makes total sense.
<DavidBurela>
But I wonder how you can do it without opening it up to automated abuse, stop from any arbitrary javascript on a page could just pin things without your consent.
wopi has quit [Read error: Connection reset by peer]
wopi has joined #ipfs
<ion>
CaioAlonso: Browsers that support IPFS could just have a button for pinning the content.
<CaioAlonso>
yeah, it needs some form of local support to ensure safety, like it currently works with addon installation
<CaioAlonso>
"are you sure? 3... 2.. 1... (enables the button)"
jjanzic has quit [Quit: WeeChat 1.0.1]
<sonatasleep>
maybe a bookmarklet?
apophis has quit [Read error: Connection reset by peer]
<sonatasleep>
if it can be accomplished with a single http get request e.g. to localhost:5001/whatever
pfraze has quit [Remote host closed the connection]
apophis has joined #ipfs
Pharyngeal has quit [Ping timeout: 272 seconds]
od1n has quit [Ping timeout: 264 seconds]
pfraze has joined #ipfs
pfraze has quit [Remote host closed the connection]
Pharyngeal has joined #ipfs
od1n has joined #ipfs
wking has quit [Remote host closed the connection]
wking has joined #ipfs
epitron has joined #ipfs
gordonb has joined #ipfs
voxelot has quit [Read error: Connection reset by peer]
<CaioAlonso>
sonatasleep, yeah, maybe that works
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
sonatasleep is now known as sonatagreen
pfraze has joined #ipfs
od1n has quit [Ping timeout: 240 seconds]
apophis has quit [Ping timeout: 246 seconds]
ygrek_ has joined #ipfs
od1n has joined #ipfs
nausea has joined #ipfs
nausea has joined #ipfs
Encrypt has quit [Quit: Quitte]
<ion>
daviddias: That was a nice talk. Too bad he had to rush through it.
<daviddias>
ion: IPFS talks are always kind of 'rushed', there is always so many cool things to talk about :D
od1n1 has joined #ipfs
wopi has quit [Read error: Connection reset by peer]
wopi has joined #ipfs
tsenart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
doei has joined #ipfs
<ipfsbot>
[go-ipfs] whyrusleeping pushed 1 new commit to fix/ipns-old-record: http://git.io/vcahG
<ipfsbot>
go-ipfs/fix/ipns-old-record 4105a6f Jeromy: record time each record was received...
epitron has quit [Ping timeout: 252 seconds]
epitron has joined #ipfs
mhhf has joined #ipfs
simonv3 has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
dignifiedquire has joined #ipfs
<mhhf>
Hey all
pfraze has quit [Remote host closed the connection]
<mhhf>
I have a question about a problem i run into:
<mhhf>
I have 2 ipfs nodes, one has added a file via 'ipfs add <file>' and returns a <hash>. The other node wants do access this file with `ipfs cat <hash>` but waits forever to do so.
<achin>
are your two nodes connected to each other?
<mhhf>
no
<achin>
any firewalls or other network gear in between them that might prevent a direct connection?
<mhhf>
No firewall and all. The interesting thing is if I load the file in the official gateway first via acessing 'gateway.ipfs.io/<hash>', I'm able to load it on all nodes.
<achin>
that's probably because all nodes generally bootstrap by connecting to the gateways
<mhhf>
Is there a process to find a node with a pinned file and connecting to it?
<achin>
so the gateway gets the file from your first node, and then all other nodes get the file from the gateway
<achin>
you can run "ipfs dht findprovs <hash>" to see who has a given hash. but you can't tell if they have it pinned or not
<mhhf>
Yeah, I don't think its a firewall problem because i'm able to access the file via the gateway
<achin>
i'm guessing this is a fairly boring problem where your two nodes can't (or haven't yet) connected to each other
<achin>
i don't think ipfs knows how to relay stuff between nodes
<achin>
what if you manually connect your peers?
<achin>
with "ipfs swarm connect" ?
<mhhf>
ok interesting: `error: routing: not found`
<mhhf>
on: ipfs dht findprovs Qmf34xWuPHtRdsH8RR4jYnbrBRBkJ6n9WfazX7Z65SCJ6V
<daviddias>
lgierth: do we have a tutorial written to explain how to quickly set up a node in a remote machine (cares to take, steps to make, if there are images or droplets available)??
<achin>
i see that QmR7NhQtxEHhagDeRiS4QtMJSjT69ubedBou1tPRks7p3K has this hash
<achin>
(how many peers are you connected to?)
<mhhf>
`ipfs swarm peers |wc -l` : 209
<mhhf>
QmR7NhQtxEHhagDeRiS4QtMJSjT69ubedBou1tPRks7p3K is correct. Its my first node
dignifiedquire has quit [Quit: dignifiedquire]
<achin>
(i admit i'm not totally sure what the "error routing: not found" message means. but i always see it at the end of findprovs, no matter what)
CaioAlonso has quit [Ping timeout: 250 seconds]
<mhhf>
Hmm. Ok. Querying with `ipfs dht findprovs` works to find the correct provider (QmR7NhQtxEHhagDeRiS4QtMJSjT69ubedBou1tPRks7p3K), but to connect to that peer I first have to know its multiaddr. Is there a query for this?
<Bat`O>
ho hai
<achin>
mhhf: ipfs id QmR7NhQtxEHhagDeRiS4QtMJSjT69ubedBou1tPRks7p3K
<Bat`O>
i'm building a F2F app on top of ipfs. Would that make sense to start a daemon especially for this app, event if a daemon is already running in the system ?
<mhhf>
achin: thank you for you'r help so far. Now I get an error if I try to connect to that node: `connect QmR7NhQtxEHhagDeRiS4QtMJSjT69ubedBou1tPRks7p3K failure: dial attempt failed: <peer.ID Vdi9AB> --> <peer.ID R7NhQt> dial attempt failed: context deadline exceeded`
<CaioAlonso>
whyrusleeping, anyone in particular that might be more familiar with it?
<sonatagreen>
I installed ipfs from source on debian; what's the command line to pull the latest version and upgrade in place?
bmcorser has quit [Quit: Connection closed for inactivity]
captain_morgan has quit [Ping timeout: 240 seconds]
edrex has joined #ipfs
<achin>
i think you'll just have to get the latest source and rebuild
<sonatagreen>
but i got the existing source with a mysterious go command
<achin>
"go get -u github.com/ipfs/go-ipfs/cmd/ipfs" perhaps?
<sonatagreen>
possibly
<sonatagreen>
looks about right
<achin>
i am not knowledgable in go, but i believe you just re-run that command
<sonatagreen>
ok, thanks
crossdiver has joined #ipfs
<ion>
“FLIF is a novel lossless image format which outperforms PNG, lossless WebP, lossless BPG and lossless JPEG2000 in terms of compression ratio.” http://flif.info/
captain_morgan has joined #ipfs
<doei>
sonatagreen, had the same question today, that go get command is the right one, -u flag means update
<sonatagreen>
so "go get -u flag" is the entire command? or "go get -u github.com/ipfs/go-ipfs/cmd/ipfs"?
<doei>
oh yeah you need the gitbub address
<sonatagreen>
do i put 'flag' in there somewhere? "go get -u github.com/ipfs/go-ipfs/cmd/ipfs" or "go get -u flag github.com/ipfs/go-ipfs/cmd/ipfs"?
<doei>
no, an option like "-u" in a command is called a flag
<sonatagreen>
ohhhh
<sonatagreen>
ok, thank you!
<doei>
go get -u github.com/ipfs/go-ipfs/cmd/ipfs was the right one, i was being redundant :p
voxelot has quit [Ping timeout: 246 seconds]
wopi has quit [Read error: Connection reset by peer]
wopi has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
bsm1175321 has joined #ipfs
<ipfsbot>
[go-ipfs] whyrusleeping force-pushed fix/ipns-old-record from 4105a6f to 17c2995: http://git.io/vcuQB
<ipfsbot>
go-ipfs/fix/ipns-old-record 17c2995 Jeromy: record time each record was received...
<bsm1175321>
What would happen if I used ipfs to live-stream to 1000000 people. Does ipfs scale?
<whyrusleeping>
bsm1175321: we dont have support for live streaming yet
<whyrusleeping>
its planned, but not yet implemented.
<whyrusleeping>
but ipfs can and does scale
<bsm1175321>
So what if 1000000 people are watching the same stored video, does that scale?
<bsm1175321>
But I guess it has to be uploaded, in its entireity, first?
<CaioAlonso>
bsm1175321, the file would be transmitted much like bittorrent
<CaioAlonso>
and each peer would help with the distribution of it for as long as they have the pieces locally
<bsm1175321>
Of course. Has a scale test like that been done? Would people have stutters?
<whyrusleeping>
we havent tested anything like that yet
<sonatagreen>
anyone know of a jurisdiction that doesn't recognize those?
<achin>
i think there needs to be a little more work done before ipfs is ready for a large stress test
<doei>
he got a few talks where he explains how it works to some extent
compleatang has joined #ipfs
<achin>
if you invent something that you believe is unencumbered from patents, i wonder if it might actually be a good idea to get a patent for the invention, and then grant a worldwide, royaltyfree, non-revokable license for the patent
compleatang has quit [Client Quit]
<doei>
is there an easy way to limit ipfs to a local network? the only thing i could think of is change the bootstrap peers to only computers inside it.
<doei>
i'd like to make something for me + housemates
<noffle_>
doei: a lot of people have asked for this :)
gordonb has joined #ipfs
<doei>
ah sorry
noffle_ is now known as nofflle
nofflle is now known as noffle
<noffle>
oh no, I didn't mean it was bad you asked!
rendar has quit [Ping timeout: 255 seconds]
jedahan has joined #ipfs
<doei>
yeah didn't really check if someone made a similar issue :p
<noffle>
lemme see if I can find the most recent post..
<CaioAlonso>
I keep getting Error: expired record when doing ipfs name publish, am I missing something?
NeoTeo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nrtga has joined #ipfs
NeoTeo has joined #ipfs
devbug has joined #ipfs
voxelot has joined #ipfs
legobanana has joined #ipfs
hellertime has quit [Quit: Leaving.]
<doei>
noffle actually i'd like to know if you can disable any non-LAN access
<whyrusleeping>
CaioAlonso: you updated to master today yeah?
<whyrusleeping>
if so, then the fix is in code review
<whyrusleeping>
should ship later today
<CaioAlonso>
whyrusleeping, thanks :D
<whyrusleeping>
sorry about that, master is generally pretty stable, but sometimes things get through.
* whyrusleeping
acquired a new coffee making device
Encrypt has joined #ipfs
<achin>
are you now running multiple coffee making devices in parallel?
<whyrusleeping>
uuuuuhhhh
<achin>
i just blew your mind, didn't i
<whyrusleeping>
lol
<whyrusleeping>
for past year or so i've been using a chemex to make coffee, and its really great and i was satisfied with it
<whyrusleeping>
but my roommate said 'wanna go in on a coffee siphon?'
<whyrusleeping>
and thats a really hard thing for me to say no to: "do you want to get a brand new coffee thing for only half of what you should pay for it?"
<noffle>
whyrusleeping: siphon coffee is awesome
* achin
looks up siphon coffees on youtube
<whyrusleeping>
noffle: i know, and thats why i couldnt say no :(
<whyrusleeping>
now we have two aeropresses, a drip machine, a chemex, a hario pourover, three grinders, and... a siphon
od1n has quit [Quit: This computer has gone to sleep]
<achin>
this looks amazing. so much science! i think i'd totally take up drinking coffee if i had one of these
jhulten_ has joined #ipfs
jhulten has quit [Ping timeout: 250 seconds]
<whyrusleeping>
achin: i'm really excited to try it, just need to find time to run to the store and grab alchohol for the burner
<jbenet>
whyrusleeping priorities on merging?
<whyrusleeping>
jbenet: finishing up the ipns fix right now
<achin>
whyrusleeping: it didn't come with fuel? bummer!
ygrek_ has quit [Ping timeout: 246 seconds]
<whyrusleeping>
achin: yeah, apparently shipping flammables and explosives is difficult
<whyrusleeping>
jbenet: i think the mfs stuff is ready?
<achin>
i see. i've ordered lamp fuel via amazon easily enough (and it didn't appear they had to do anything special with the packaging)
<achin>
anyway, sounds like a tasty weekend miniproject
ipfspics-Vincent has joined #ipfs
<Spinnaker>
is there a way to mesure bandwith used by IPFS ?
<whyrusleeping>
ipfs stats bw will give a rough approximation
<whyrusleeping>
but we've found that it doesnt match what your OS reports
<whyrusleeping>
not entirely sure why that is
<Spinnaker>
under 10% diff ?
<whyrusleeping>
i think around there on my machine
<whyrusleeping>
although others have reported vastly different numbers
<Spinnaker>
ok it's close enough for me :)
<Spinnaker>
oh
<Spinnaker>
oh well
<whyrusleeping>
try it, and also if youre on linux, run nethogs (or similar) alongside
<Spinnaker>
k
<achin>
for me, it's off by a factor of 10 or 100
<whyrusleeping>
achin: just to make sure, ipfs reports 'bytes' transfered, where most tools report bits
<whyrusleeping>
did you account for that?
<whyrusleeping>
(would explain ~10x diff, not 100)
<jbenet>
whyrusleeping: is the records thing fixed?
<achin>
good point, let me check
<whyrusleeping>
still finish the received time stuff we discussed
<achin>
yes, iftop is reporting in bytes. ipfs says 2 KB/s, iftop says 20 KB/s
<achin>
what sampling period does ipfs use in the output of "stats bw" ?
<achin>
maybe it's just too small to capture occational spikes of high bandwidth activity
Not_ has quit [Ping timeout: 246 seconds]
<jbenet>
whyrusleeping: ok-- make sure to verify sig + eol on put.
<jbenet>
whyrusleeping (let's define creator-set eol as "record-eol" and receiver-set lifetime (receive time + lifetime/cachetime constant) as "record-cache-time")
<jbenet>
these sound good? o/
<whyrusleeping>
jbenet: i named the struct field 'ReceivedTime'
<whyrusleeping>
is that okay?
<whyrusleeping>
i can change it to cacheTime
danielrf has quit [Ping timeout: 256 seconds]
* jbenet
whyrulseeping that's fine, i mean, the "cacheTime := receivedTime + CacheTimeout"
<whyrusleeping>
yeap
Encrypt has quit [Ping timeout: 250 seconds]
Encrypt has joined #ipfs
Eudaimonstro has joined #ipfs
<ion>
whyrusleeping: I'm pretty sure much of the discrepancy between what stats bw reports and what the OS reports comes from the ipfs daemon not accounting for packet overhead.
<whyrusleeping>
yeah, i dont account for any overhead
jonl has quit []
jonl has joined #ipfs
vijayee_ has joined #ipfs
<vijayee_>
whyrusleeping: is it possible to connect two nodes on the same machine if they are in separate running docker containers? I'm starting to receive "dial attempt failed: misdial to <peer.ID cfD64B> through /ip4/172.17.0.16/tcp/4001 (got <peer.ID >)" out of my service
ygrek_ has joined #ipfs
<sonatagreen>
are they listening on different ports?
<vijayee_>
sonatagreen: no...>_<
<whyrusleeping>
vijayee_: we have weird issues occasionally with docker nodes
<sonatagreen>
that's probably it, then.
<whyrusleeping>
like, our gateway nodes are running in docker
domanic has joined #ipfs
<whyrusleeping>
but they spam bizarre 172.[16,17] addresses that almost always fail to work properly
<sonatagreen>
it's trying to dial skynet
<vijayee_>
whyrusleeping: service we working fine until I actually tried to do something outside your example
<vijayee_>
sonatagreen: trying to build it
<whyrusleeping>
does my example build?
<vijayee_>
whyrusleeping: no, but I fixed the parts that didn't work
<whyrusleeping>
mind filing a PR?
<whyrusleeping>
pls
NeoTeo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<vijayee_>
whyrusleeping: oh.....wait I didn't know it was on github.....I followed from the site and typed it into my own structure