pfrazee has quit [Remote host closed the connection]
kholdstayre has quit [Ping timeout: 264 seconds]
computerfreak has quit [Remote host closed the connection]
Qwertie has quit [Ping timeout: 250 seconds]
G-Ray has quit [Remote host closed the connection]
pfrazee has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
tidux has joined #ipfs
<tidux>
so instead of just grumping on github about the odd build system, I'm working on a shell script to clean up the imports with hardcoded filesystem paths to allow bootstrapping
<apiarian>
well file names aren't particularly meaningful in ipfs, are they?
<apiarian>
perhaps you could use that list and then inspect the link names on the hashes?
corvinux has quit [Ping timeout: 264 seconds]
kholdstayre has joined #ipfs
G-Ray has joined #ipfs
corvinux has joined #ipfs
Dekker3D has joined #ipfs
<Dekker3D>
Hey all. I'm wondering how difficult it would be to use an IPFS implementation in a Unreal Engine 4 game (which, as far as I know, requires C++. Does IPFS have a C++ port?)
<Kubuxu>
Dekker3D: someone would have to make IFPS API binding for C/C++
<Dekker3D>
Kubuxu, thanks. So unless I do it myself, I could wait a looong time, right?
rardiol has joined #ipfs
<Kubuxu>
depends also what range of functionalities you want from IPFS
<Kubuxu>
if it is only fetching files, it is just as simple HTTP request.
<Dekker3D>
Nah, it would be nice if the client would be able to share that data as well.
<Dekker3D>
Though I suppose I'd only need to fetch it on the smartphone version, and could include the Go-based daemon in the desktop version
<Dekker3D>
Does this "simple HTTP request" use a gateway that could complain about getting far too many download requests, or does it interact with the actual network?
<apiarian>
you can run a node somewhere on your network, then talk to it over the API
Dekker3D has quit [Read error: Connection reset by peer]
<Dekker3D>
So, back to my earlier question.. would it be possible to compile the IPFS Go implementation to a DLL of some sort?
<Dekker3D>
apiarian, I've seen that. Though I missed the bit about building C callable libraries since Go 1.5
ashark has joined #ipfs
<apiarian>
couldn't you use the existing go-ipfs implementation, build it, and then do a system call from your program to start a daemon if you have to have it bundled with your program?
<apiarian>
then talk to the daemon over the http api, and maybe even give the user the option to use their own daemon if they want?
<Dekker3D>
Well, I'd like to use it with Unreal Engine 4, on mobile platforms too. I don't think I'll be able to start the daemon easily on a smartphone app. I could be wrong though, feel free to correct me :)
<apiarian>
ah, that i don't know at all
<Dekker3D>
Apparently it can work with any binary library, like a Windows DLL or such. So I might just go with that
<Dekker3D>
Anyway, thanks. I have a lead now :)
Foxcool has quit [Ping timeout: 240 seconds]
A124 has joined #ipfs
Foxcool has joined #ipfs
zorglub27 has quit [Ping timeout: 240 seconds]
corvinux has quit [Ping timeout: 276 seconds]
Dekker3D has quit [Quit: Leaving]
corvinux has joined #ipfs
rardiol has quit [Ping timeout: 264 seconds]
avastmick has joined #ipfs
jaboja has quit [Read error: Connection reset by peer]
PrinceOfPeeves has joined #ipfs
kanej has joined #ipfs
kanej has quit [Client Quit]
avastmick has quit [Quit: avastmick]
avastmick has joined #ipfs
G-Ray has quit [Ping timeout: 260 seconds]
avastmick1 has joined #ipfs
Stebalien has joined #ipfs
avastmick has quit [Ping timeout: 265 seconds]
avastmick1 is now known as avastmick
zorglub27 has joined #ipfs
avastmick has quit [Quit: avastmick]
<ipfsbot>
[go-ipfs] whyrusleeping created fix/stdin-zero-panic (+1 new commit): https://git.io/v6se5
<ipfsbot>
go-ipfs/fix/stdin-zero-panic 8a75a8c Jeromy: commands: fix panic when stdin is empty for string args...
<ipfsbot>
[go-ipfs] whyrusleeping opened pull request #3050: commands: fix panic when stdin is empty for string args (master...fix/stdin-zero-panic) https://git.io/v6seF
Akaibu has joined #ipfs
corvinux has quit [Ping timeout: 264 seconds]
<ipfsbot>
[go-ipfs] whyrusleeping pushed 2 new commits to master: https://git.io/v6svk
<ipfsbot>
go-ipfs/master 3069adf zramsay: boot2docker-cli is deprecated, removed from README...
avastmick has quit [Remote host closed the connection]
palkeo has joined #ipfs
<emschwartz>
Sorry if this is a silly question but could someone explain the differences between multistream and regular stream multiplexing? When would you want to use one vs the other?
zorglub27 has quit [Ping timeout: 252 seconds]
espadrine has joined #ipfs
Oatmeal has joined #ipfs
espadrine has quit [Ping timeout: 264 seconds]
<ipfsbot>
[go-ipfs] whyrusleeping created doc/manual-building (+1 new commit): https://git.io/v6sJa
<ipfsbot>
go-ipfs/doc/manual-building 1581265 Jeromy: readme: add notes on building for uncommon systems...
<ipfsbot>
[go-ipfs] whyrusleeping opened pull request #3051: readme: add notes on building for uncommon systems (master...doc/manual-building) https://git.io/v6sJo
evernite- has quit [Quit: ZNC 1.6.1 - http://znc.in]
<whyrusleeping>
emschwartz: multistream and regular stream multiplexing coexist
<whyrusleeping>
you use multistream to signal to the other side what the purpose of the stream youre opening it
<whyrusleeping>
is*
ashark has quit [Ping timeout: 250 seconds]
<emschwartz>
got it, thanks
IlanGodik has joined #ipfs
Stebalien has quit [Remote host closed the connection]
silotis has quit [Remote host closed the connection]
kanej has joined #ipfs
kanej has quit [Client Quit]
silotis has joined #ipfs
j12t has joined #ipfs
j12t has quit [Remote host closed the connection]
j12t has joined #ipfs
j12t has quit []
<pfrazee>
does anybody curate a list of site published on ipfs?
<Mateon1>
Hi, I'm new to IPFS, I've seen some talks and I'm really interested
<Mateon1>
I have a few questions
<Kubuxu>
Mateon1: go for it
<Mateon1>
How would a company seamlessly integrate IPFS into their application? Even if just for distributing static content. In order to be transparent to the user, the application has to use a gateway, which mostly defeats the point of IPFS.
<Mateon1>
I'm also interested about the details of the human readable naming system - how can I own a name like /ipns/example.com?
<Kubuxu>
There are browser plugins that rewrite ipfs.io to local gateways.
ugjka has joined #ipfs
<Kubuxu>
also you could try doing something like: link: `web+fs:/ipfs/Qm...AAA/image.png` and check if web+fs:/ path uri is handled, if not register local handler in the page that redirects to https://ipfs.io
<Mateon1>
Kubuxu: Hm, I guess that could be done nicely with a service worker.
<Kubuxu>
the /ipns/example.com: you can create dns record: _dnslink.example.com TXT dnslink=/ipfs/QmdZxfvkju1saNawPDSBnU6CoFYor2hP8114g4etqwnRTz
<Kubuxu>
checkout: `dig +short _dnslink.maps.ipfs.io TXT` and `dig maps.ipfs.io`
<Mateon1>
Gah, not on a linux machine, I wish I could dig on windows
<Kubuxu>
friends that use Windows say that it is awesome.
<dansup>
it is
<dansup>
was a bit risky to use it during the beta
<dansup>
s/was/is
<Mateon1>
I've used WSL on my main PC, and I'm mostly satisfied. I say mostly, since it doesn't support the syscalls for GHC Haskell
Encrypt has joined #ipfs
<demize>
If you don't use W10 you can use SUA, which worked pretty well, just that they stopped supporting the tooling so the community around it died.
<Mateon1>
Also, I know Javascript, and basic Go concepts. How can I contribute to IPFS?
<demize>
Anyway, GHC has Window support, doesn't it?
<brendyn>
I want to meld IPFS with other projects like GNU so a IPFS can options to serve files via alternatives to the public DHT, creating a GUI manager type thing more fancy than a bit torrent client for managing pinned files and where they are served. You could add networks like "my private tinc network" or "only serve this on cjdns network
<Mateon1>
demize: It does, but a lot of Haskell libs rely on POSIX behavior. It's incredibly annoying
<demize>
Fair.
<brendyn>
Because many organisations will start data pillaging the DHT
<demize>
Mateon1: Did you ever try GHC on SUA?
<brendyn>
Basically: 1) frankenstein all the good stuff other people have done together, 2) ... 3) profit.
<Mateon1>
I'm not sure what SUA is, I'll google
<brendyn>
Oh, and then some kind of filecoin thing
<demize>
Subsystem for UNIX-application. Window's old POSIX subsystem.
<demize>
Also known as Interix.
<demize>
They made it a separate download in W8 and dropped it completely in W10.
<dansup>
im working on a gnu/social clone that will store media on ipfs
<demize>
It had a rather nice community, but MS stopped supporting the userspace tools, so the community died out, sadly.
<dansup>
the tweet data is already federated using ostatus/activitystreams
<brendyn>
Nice
<demize>
But then again, there's things like MSYS2 that even use pacman.
<Mateon1>
demize: That sounds cool, I wish I'd known it back in my XP-Win7 days
<Mateon1>
demize: I currently use MSYS2, but it's in no way POSIX compliant. I'd need cygwin for those haskell libs to compile, but I heavily dislike cygwin
<demize>
Yeah, it's not meant to be.
<demize>
Well, MSYS2 is based on Cygwin, but mainly tries to build things using native APIs.
ashark has joined #ipfs
ashark has quit [Ping timeout: 244 seconds]
jaboja has joined #ipfs
<Mateon1>
By the way, is it possible to take a bunch of IPFS data and pin/archive it? I don't want to archive just what I visit.
<demize>
Do you mean a specific set, or just a random set of objects?
<Mateon1>
Just a random set
<Mateon1>
My current idea is to grep all peer IDs from `ipfs swarm addrs` and see which ones point at something with ipns, since I don't have the resources to dig through all DNS TXT records
<Mateon1>
But that's not really a random set
HostFat has quit [Quit: Leaving]
<demize>
That might be the best you can do.
<demize>
Or just randomly querying the DHT.
<demize>
But might be interesting to have a service where you can register interesting objects that it will publish a list of, then you could chose a random subset of that, hmm.
<santamanno>
guys a quick question does gateway.ipfs.io resolve to the closest peers to my IP address?
<fiatjaf>
santamanno: no, it resolves to ipfs.io, which is a normal server running a ipfs node.
<demize>
Technically it just resolves to the same list of servers, which could theoretically be different, but currently isn't.
<demize>
Mateon1: Problem with things like this is that with distributed things like this there's no centralized list of all things. ;p
<demize>
Closest thing that would be useful would probably to do something that's currently running in this channel, where you have a bot that accepts objects to be pinned, and then sends the request for the pinning to a set of nodes.
<santamanno>
fiatjaf wouldn't it be more "distributed" if it resolved to the closest nodes listening on port 80?
<santamanno>
just wondering
<fiatjaf>
santamanno: the idea is that it should resolve to your own peer, on your own machine.
<demize>
santamanno: That's tricky to do, but in generally the gateways are more of an escape hatch, you're supposed to have a local node.
<santamanno>
I know, but in the transition time
<santamanno>
when clients are adopting IPFS
<santamanno>
how do you guarantee that it is truly distributed?
<santamanno>
even DNSlink on IPNS just resolves to the gateway
<fiatjaf>
if you have one of the ipfs browser extensions and a running ipfs node, ipfs.io urls will be switched for your localhost node.
<fiatjaf>
to*
<santamanno>
fiatjaf I know, but let's say the client does not have ipfs installed
<santamanno>
and I would like to transparently serve files to it
<fiatjaf>
why not
<fiatjaf>
he should!
<demize>
"DNSlink on IPNS just resolves to the gateway"?
<santamanno>
demize that is my understanding, right? gateway, with Host: header then redirects to ipns/domain
<santamanno>
maybe I got it wrong
<Mateon1>
I wonder if it's possible to write a service worker that tries to detect a local IPFS instance, and if that fails, initializes a js-ipfs node
<fiatjaf>
point him to ipfs.io, that works good enough.
<fiatjaf>
Mateon1: it is possible.
<santamanno>
fiatjaf it will eventually collapse ipfs.io bandwidth, or am I missing something?
rsync has joined #ipfs
<fiatjaf>
santamanno: they have a lot of bandwidth there.
ashark has joined #ipfs
<fiatjaf>
they will add more if more people start using it.
<santamanno>
ok sorry about the naive questions
<fiatjaf>
but if we reach a point of such massive usage, people will start running local ipfs nodes.
<santamanno>
but that also adds SPOF
<demize>
santamanno: That's something that gateway.ipfs.io supports, sure, but it's irrelevant to IPFS itself.
<demize>
Anyway, the only practical solution for resolving to the closest instance of something is anycast, which requires your own AS number, IP range, and hardware, in all locations.
<santamanno>
plain old geo IP data?
<santamanno>
isn't it an option?
erde74 has quit [Quit: Verlassend]
<demize>
Sort of, though then they also need to run their own patched DNS resolvers.
<demize>
Also, seems buyvm.net supports anycast, which is rare.
<demize>
(Though which also limits you to their DCs.)
<santamanno>
demize I was thinking about something like TorDNSEL, that returns a list of IPs that can reach your public IP
<demize>
I'm not sure how that is relevant?
<santamanno>
when I hit gateway.ipfs.io with a DNS query, it should round robin one of the closest nodes to your IP
<santamanno>
just would like to avoid SPOF and relying on ipfs.io for all requests
cryptix has joined #ipfs
<demize>
TorDNSEL seems to have nothing to do with geodns in any way.
<demize>
And it's hardly a single point.
<demize>
Currently it's 8 nodes
<demize>
Either way, no one is making you use the gateway run by the ipfs devs.
<Mateon1>
So... Is QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn a null object? It doesn't seem to have any links nor data
<Mateon1>
Everything seems to resolve to it
<demize>
Unless you mean that the ipfs devs are supposed to somehow get a list of all ipfs nodes, and then check if any of them are running a public gateway, and if so automatically adding it to their list without prior consent. Would be theoretically possible, but not really that feasible.
<demize>
QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn is an empty dir, yeah
santaman_ has joined #ipfs
<santaman_>
demize yes I know, I can setup my own node with huge bandwidth and go through that right?
<demize>
Sure.
<demize>
Not that you exactly need a large amount of bandwidth most of the time.
santamanno has quit [Ping timeout: 240 seconds]
<santaman_>
depends on the clients... but I can always LB between IPFS nodes throughout the globe
<santaman_>
for instance I can have my own CDN based on IPFS nodes spread around the globe
<santaman_>
then when they query ipfs.mydomain.com
<santaman_>
I serve the closest IP
santaman_ is now known as santamanno
zabirauf has joined #ipfs
jaboja has quit [Read error: Connection reset by peer]
palkeo has quit [Quit: Konversation terminated!]
ashark has quit [Ping timeout: 276 seconds]
cryptix has quit [Ping timeout: 244 seconds]
ashark has joined #ipfs
<demize>
Mateon1: objects are protobuff encoded btw, and if you do `ipfs object data QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn` you will get the raw protobuf encoded version of an empty unixfs dir.
<Mateon1>
demize: I explored it in the DAG explorer in the Web UI - it said the object has "no links" and "no data"
<demize>
(in this case it's the bytes `08 01`. The 08 byte means that the first field of the protobuf schema is a varint, and the 01 is just a 1, meaning that the first field is a 1, which if you look at https://github.com/ipfs/js-ipfs-unixfs/blob/master/protos/unixfs.proto means that it is a directory.
<demize>
But it's a directory with nothing else attached.
<demize>
It has no data defined.
<Mateon1>
I wish I could take a screenshot, but I don't have Greenshot installed on my laptop
<Mateon1>
But yeah, the raw object data is 0x 08 01; but the web UI claims no data
<demize>
As it should.
<demize>
It's an empty directory. Of course it has no data in it.
<demize>
What data would an empty directory list?
<Mateon1>
But it doesn't truly have no data, and the webUI does list data for directories and split files. This object has truly no data: QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n
<demize>
What data does it list for other directories that the empty dir would have?
<Mateon1>
Okay, I'm sorry. I'm either a dumbass or the webui has changed
jaboja has joined #ipfs
<Mateon1>
I swear the data field showed the raw protobuf for directories/split files