lgierth changed the topic of #ipfs to: go-ipfs 0.4.3 has been released! what's changed: https://ipfs.io/blog/19-ipfs-0-4-3-released -- IPFS - InterPlanetary File System -- https://github.com/ipfs/ipfs -- FAQ: https://git.io/voEh8 -- Channel logs: https://botbot.me/freenode/ipfs/ -- Code of Conduct: https://git.io/vVBS0 -- Sprints: https://git.io/voEAh
structuralist has quit [Ping timeout: 264 seconds]
captain_morgan has quit [Ping timeout: 264 seconds]
structuralist has joined #ipfs
<whyrusleeping> lgierth: i am now
<lgierth> coolio
<lgierth> whyrusleeping: question about the new gx update -r thing
<lgierth> from what i understand it's purely within gx, and doesn't touch git repos eh?
<whyrusleeping> is that --with-deps ?
<lgierth> yeah that one
<whyrusleeping> yeah, its just within gx
<whyrusleeping> its a really experimental feature right now
<lgierth> so i spent most of this week figuring out proper cascading updates
<lgierth> and i think it boils down to "here's a directory with packages/git-repos, and here's the packages that i want to update recursively"
<lgierth> e.g. gx update-tree ~/workspace/ipfs go-multiaddr go-multihash
<lgierth> it'll publish these, then update their hash in the dependants, repeat until there's nothing more to do
<lgierth> sec i have some pseudo code
<lgierth> whyrusleeping: QmXo5YN93U3NaS2uieouXV73sKK9zEAJSZDmDki3uw5aDz
<whyrusleeping> so it updates *all* usages of those packages in workspace/ipfs?
<lgierth> yeah and the usages of the usages
<whyrusleeping> or, all usages recursively by the package we're currently in
<lgierth> no in that version ^ the working directory doesn't matter
<lgierth> it doesn't work on a package, but on a workspace of packages
soloojos has quit [Ping timeout: 258 seconds]
cubemonkey has quit [Ping timeout: 272 seconds]
<whyrusleeping> hrm...
structur_ has joined #ipfs
<lgierth> so that we can commit & push that
kvda has joined #ipfs
<lgierth> i get sad if i can't find the gx-published code on github
<whyrusleeping> yeah, me too
<lgierth> i'll clarify that pseudo code a bit
structuralist has quit [Ping timeout: 264 seconds]
anewuser has joined #ipfs
soloojos has joined #ipfs
soloojos has quit [Ping timeout: 258 seconds]
dmr has joined #ipfs
captain_morgan has joined #ipfs
captain_morgan has quit [Read error: Connection reset by peer]
captain_morgan_ has joined #ipfs
Boomerang has quit [Quit: Leaving]
cketti has quit [Quit: Leaving]
structur_ has quit [Ping timeout: 264 seconds]
computerfreak has quit [Remote host closed the connection]
matoro has quit [Ping timeout: 272 seconds]
soloojos has joined #ipfs
cemerick has joined #ipfs
<lgierth> whyrusleeping Kubuxu: facebook and whatsapp transports in go: https://github.com/matiasinsaurralde/transports
Akaibu has quit []
<whyrusleeping> lgierth: ooooooh, neato
bonesso has left #ipfs ["Leaving"]
dignifiedquire has quit [Quit: Connection closed for inactivity]
JesseW has joined #ipfs
anonymuse has quit [Remote host closed the connection]
ppham has joined #ipfs
ppham has quit [Remote host closed the connection]
wallacoloo has joined #ipfs
ppham has joined #ipfs
ygrek_ has quit [Ping timeout: 264 seconds]
ppham has quit [Remote host closed the connection]
ppham has joined #ipfs
uzyn has joined #ipfs
ppham has quit [Remote host closed the connection]
ppham has joined #ipfs
ppham has quit [Remote host closed the connection]
ppham has joined #ipfs
WardCunningham has joined #ipfs
WardCunningham has quit [Client Quit]
WardCunningham has joined #ipfs
mgue has quit [Quit: WeeChat 1.5]
DarkFox has quit [Changing host]
DarkFox has joined #ipfs
mgue has joined #ipfs
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anewuser has quit [Quit: anewuser]
kvda has joined #ipfs
shizy has joined #ipfs
sdgathman has quit [Ping timeout: 255 seconds]
uzyn has quit [Quit: uzyn]
wallacoloo has quit [Quit: wallacoloo]
cubemonkey has joined #ipfs
<A124> Umm... what is trickle-dag?
<A124> Tried to google but no luck. There should be some example or explanation of the difference against normal dag.
WardCunningham has quit [Quit: WardCunningham]
WardCunningham has joined #ipfs
ppham has quit [Remote host closed the connection]
<deltab> A124: if it's what I think it is, it's a DAG that gets extended over time as data becomes available, e.g. a live video stream in segments
captain_morgan_ has quit [Ping timeout: 272 seconds]
special_ is now known as special
special has quit [Changing host]
special has joined #ipfs
sdgathman has joined #ipfs
ppham has joined #ipfs
WardCunningham has quit [Quit: WardCunningham]
uzyn has joined #ipfs
Oatmeal has quit [Ping timeout: 272 seconds]
ppham has quit [Remote host closed the connection]
Tv` has quit [Quit: Connection closed for inactivity]
WardCunningham has joined #ipfs
shizy has quit [Ping timeout: 264 seconds]
WardCunningham has quit [Quit: WardCunningham]
<whyrusleeping> A124: its a tree layout/datastructure i came up with based on binomial heaps
WardCunningham has joined #ipfs
<whyrusleeping> optimized for streaming data
<whyrusleeping> but that still provides decent random access
<A124> whyrusleeping Thanks! For regular video, trickle or normal dag?
<whyrusleeping> I would say trickledag
<A124> You should publish a writeup on the topic, would benefit.
<whyrusleeping> Yeah, i'll push that up on my todo list
<A124> Zeronet is great, but documentation sucks.
<whyrusleeping> i still need to run some more serious benchmarks against it in the real world
<A124> And domain speculators... getting thousands of addresses...
<whyrusleeping> but running numbers based purely on math, it greatly outperforms the original
<A124> You know about instant.io?
<whyrusleeping> A124: yeah, been hoping someone would make a similar thing for ipfs
<whyrusleeping> it would be pretty trivial
<A124> Yeah, should be, javascript is not my domain though. Also it includes nodejs server plus a hybrid. My only instance I encountered it was slow.
<whyrusleeping> ah
<whyrusleeping> we should be able to do it fine with js-ipfs
<whyrusleeping> although we should start testing out go's websocket transport more...
<A124> I blame that on port forwards, or poor ISP. Anyway I recommended IPFS and he did indeed try, but ... not the best way.
<whyrusleeping> oh?
<A124> whyrusleeping https://bit.no.com:43110/1EMcXwk7qQdY3pbj86A98gZHjDBNRrscdL/?Post:28:Testing+the+Interplanetary+File+System
<whyrusleeping> ah
<whyrusleeping> using ipfs.pics is a decent start
<whyrusleeping> same with using ipfs.io
<A124> So I am trying to find best info. To provide. ... aside: the domain speculators: https://bit.no.com:43110/1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F/
<A124> Oh and the performance... with cgroups I am now able to run ipfs alltime. The only severe glitch I found is pinning (pinning one thing blocks the next pin)
<whyrusleeping> A124: mind reporting that one?
<whyrusleeping> we can probably get that fixed pretty readily
<A124> whyrusleeping Not sure what to write about that, and someone stole or somehow my credentials locked up, sorry.
WardCunningham has quit [Quit: WardCunningham]
<A124> My life is a string of single points of failure, that's why I am going all in into distributed.
<whyrusleeping> A124: okay, any other info on that then?
<whyrusleeping> i can report the issue for you if you want
thufir has quit []
Oatmeal has joined #ipfs
em-ly has quit [Quit: Connection closed for inactivity]
<A124> whyrusleeping You should test yourself first. Scenario: Linux, ipfs, pin add hash & (background). Doing that multiple times. The it seems one pin waits for other. So a recursive pin (default) on a tree of directories and files (some stuff missing and not online on network), then doing another pin at at same time for s single picture that is 100% resolvable and retrievable (and even likely already [...]
<A124> [...] cached as I viewed it) does nothing.
<whyrusleeping> oooooooh, i know whats going on
<whyrusleeping> the pin lock is being taken...
<A124> Had to kill the daemon, pin the image then pin again the recursive, which I believe hangs till today (did not check). So it might concern both better (parallel) handling of pinning, as well a way to postpone missing resources.
chris613 has quit [Read error: Connection reset by peer]
<A124> killing (sigterm) the pin add alone did not solve it.
uzyn has quit [Quit: uzyn]
WardCunningham has joined #ipfs
WardCunningham has quit [Quit: WardCunningham]
WardCunningham has joined #ipfs
captain_morgan has joined #ipfs
<kvda> i'd be interested in making the a version of instant.io type thing for ipfs
<kvda> *-the
<A124> kvda as in you would do it?
<kvda> yea it doesn't seem to do much client side, if js-ipfs-api can make the calls to a ipfs node it should be pretty simple
<kvda> i'm not sure if you'd want that functioanlity under a different domain, or just as a section of ipfs.io?
<kvda> drop.ipfs.io?
<kvda> new.ipfs.io?
<A124> kvda well if javascript is your thing. I would just focus on the code, making it, then solving next steps.
<A124> There is already the javascript ipfs player, maybe that also could be used
<A124> Oh, and one thing I was missing, Download button.
<kvda> A124, you're probably right, but it would be good to know where it would live, it might affect how it's designed
<A124> I had to run webtorrent-hybrid just to fetch the file. As the browser part supports websocket or something, that goes through instant.io servers? Or webRTC, not sure.
<kvda> but anyway yea the functionality will stay the same so i can work on that
<A124> And the only person seeding it was using webtorrent-hybrid without open bittorent port, so regulat client did not work.
<A124> kvda As a separate thing (on reddit) there was making pages autodetect local gateways, and then using protol handlers to select appropriate gateway, even without the need for the addons. Just a thought.
matoro has joined #ipfs
rgrinberg has quit [Ping timeout: 276 seconds]
ulrichard has joined #ipfs
IlanGodik has joined #ipfs
kode54 has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
herzmeister has quit [Ping timeout: 244 seconds]
kode54 has joined #ipfs
kaotisk has quit [Read error: Connection reset by peer]
kaotisk has joined #ipfs
lidel has quit [Remote host closed the connection]
lidel has joined #ipfs
mildred has joined #ipfs
rendar has joined #ipfs
cubemonkey has quit [Read error: Connection reset by peer]
peterix has joined #ipfs
matoro has quit [Ping timeout: 264 seconds]
_mak has joined #ipfs
JesseW has quit [Ping timeout: 264 seconds]
lidel has quit [Ping timeout: 272 seconds]
wuch has joined #ipfs
lidel has joined #ipfs
TheNain38 has joined #ipfs
<r0kk3rz> kvda: make an IPFS JS gateway, using something like mod_rewrite
robogoat has quit [Ping timeout: 276 seconds]
<A124> And now I got problem with video.
TheNain38 has quit [Quit: I'm going away]
<A124> Not sure if its incompatibility with video format, naming, or trickle dag, but the video player example does not work for my mp4 video
herzmeister has joined #ipfs
<kvda> A124 I think that example video player is a bit outdated, it hasn't worked for me either
<A124> Also when adding content it hangs without saying anything
<A124> added .... then nothing.
* A124 notes that the ipfs tube is a mere video embed, therefore it works.
<kvda> You video is working for me on ipfstube. It was slow to connect but not seems to be downloading fine
<kvda> The play example app is outdated like I said, it's doing something wrong.
<A124> it does use ipfs.io not gateway.
<kvda> gateway.ipfs.io is being dropped afaik
<kvda> you should be using ipfs.io/ipfs/
<A124> kvda Most links are to that address.
<A124> Do not drop that please. For backward compatibilitys sake.
<A124> The problem: https://gateway.ipfs.io/ipfs/<hash>/video.mp4
<A124> ... How can I create a directory from hashes?
<kvda> A124 i'm not directly involved with the project, i'm just sharing what i know
<kvda> i've read somewhere that gateway.ipfs.io is being phased out
ylp has joined #ipfs
lkcl has quit [Ping timeout: 240 seconds]
cemerick has quit [Ping timeout: 264 seconds]
lidel has quit [Quit: lidel]
lidel has joined #ipfs
zorglub27 has joined #ipfs
lkcl has joined #ipfs
* A124 notes: trickle dag used for video.
lkcl has quit [Ping timeout: 272 seconds]
ulrichard_ has joined #ipfs
zorglub27 has quit [Quit: zorglub27]
ulrichard has quit [Ping timeout: 264 seconds]
<kvda> how did you make it into a trickle-dag A124 ?
<A124> kvda ipfs add -t
<kvda> ahh :)
<A124> The catch is... hashing.
<kvda> so that's the preferred way of adding video it seems
<kvda> what do you mean?
<A124> The hashes are of wrapped chunks.
<A124> So if someone uploads same file with regular dag, but same chunk size it will have different hash.
<A124> Or maybe not, not sure, nevermind.
<A124> I asked about what it is and whyrus said it seems to perform better for streaming, so I used it, that's it.
Oatmeal has quit [Ping timeout: 272 seconds]
<kvda> The whole point of hashes are that they are different each time
lkcl has joined #ipfs
<A124> kvda No, the point is if data of the chunk are identical they should yield identical hash
<A124> Which might or might not be the case. As the hash is of a whole wrapper.
dignifiedquire has joined #ipfs
<damongant> A124 the files should yield the same hash, so if all you have to resolve is the tree it's not that much overhead at all
<kvda> That makes more sense for a filesystem..
lkcl has quit [Ping timeout: 244 seconds]
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
G-Ray has joined #ipfs
s_kunk has joined #ipfs
lkcl has joined #ipfs
toto42[m] has joined #ipfs
lkcl has quit [Ping timeout: 272 seconds]
zorglub27 has joined #ipfs
lidel has quit [Ping timeout: 272 seconds]
lidel has joined #ipfs
lkcl has joined #ipfs
mgue has quit [Ping timeout: 272 seconds]
lkcl has quit [Ping timeout: 265 seconds]
mgue has joined #ipfs
lkcl has joined #ipfs
Boomerang has joined #ipfs
ecloud has quit [Ping timeout: 244 seconds]
robogoat has joined #ipfs
lkcl has quit [Ping timeout: 272 seconds]
ecloud has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
computerfreak has joined #ipfs
duyaoo_pc has joined #ipfs
lkcl has joined #ipfs
kulelu88 has quit [Quit: Leaving]
Encrypt has joined #ipfs
duyaoo_pc has left #ipfs ["Leaving"]
soloojos has quit [Remote host closed the connection]
espadrine has joined #ipfs
<pawal> I am trying to figure out where the ipfs: URI has been finally published, is there a document actually describing it somewhere?
<pawal> This thread has been closed, but I don't see good reference to or from it anywhere: https://github.com/ipfs/go-ipfs/issues/1678
zorglub27 has quit [Quit: zorglub27]
zorglub27 has joined #ipfs
Boomerang has quit [Quit: Leaving]
Encrypt has quit [Quit: Quit]
Encrypt has joined #ipfs
<Kubuxu> Not yet, but the main URI that IPFS will be using is: `fs:/`
<Kubuxu> to provide compatibility between gateway, browser extension and canonical addressing
<lgierth> fs:
<lgierth> number of slashes makes a significant difference
<pawal> I know, I read that. But short term we also really need ipfs: - fs is way to generic for a lot of things.
<Kubuxu> ipfs: doesn't work with websites that work also on gateways
<Kubuxu> On gateways you have to use `/ipfs/Qm...AAA` form
<Kubuxu> which means that it doesn't work with `ipfs:` unless you introduce nasty ambiguities
<pawal> I know. But an app registered for ipfs: will take care of that if it uses a certain gateway (maybe its own)
<pawal> References to gateways till use HTTP URIs anyway.
<pawal> s/till/will/
chungy has quit [Ping timeout: 265 seconds]
<pawal> I want to specify ipfs: asap, based on RFC6920 and just be done with it. fs: seems like it might take some time...
<Kubuxu> I mean websites: for example bin.ipfs.ovh requests files as `/ipfs/QmAAA.AAA/file.c`, now if you place it under ipfs: you get ipfs:/ipfs/Qm...
<lgierth> this is the consensus of that issue ^ https://github.com/ipfs/go-ipfs/issues/1678#issuecomment-157478515
<lgierth> you also get ipfs:/ipns/bin.ipfs.ovh
<pawal> I know there is consensus, but I don't see much happening.
<lgierth> i'mm off for a bit with the dog
<Kubuxu> what do you want to see happening?
<pawal> specifications on the URI types
<pawal> just a very rough outline
<pawal> low hanging fruit: write a simple specification on ipfs: - then that can go to IANA
chungy has joined #ipfs
<pawal> examples that are in the IANA registry one could look at are magnet: spotify: - http://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
<pawal> thanks
<Kubuxu> our team just doesn't have bandwidth to do it, we have lots of things going on right now
<pawal> Sure, I may do ipfs: because I need it.
kenCode[m] has joined #ipfs
<kenCode[m]> hi all :) wow, nice looking chat
<DarkFox> Can we not have ipfs: and ipns: ?
<ion> Then we would need to create a new protocol for every IPFS-related future thing instead of just a top-level path component.
<DarkFox> And fs: is no better in that regard. Notably ipns still doesn't fit.
chungy has quit [Ping timeout: 272 seconds]
chungy has joined #ipfs
M-fs_IXlocWlFZHF has left #ipfs ["User left"]
<kenCode[m]> sorry, just getting acquainted with the ui here :)
<Kubuxu> DarkFox: it does: you use`fs:/ipns/Qm...AAA`
<Kubuxu> when IPLD comes in: `fs:/ipld/Qm...AAA`
<Kubuxu> when IPRS is created: `fs:/iprs/RECORDID`
<DarkFox> RS!?
<DarkFox> How many of these IP* are we creating now? :P
<Kubuxu> Record System, successor of IPNS.
<Kubuxu> lots
<DarkFox> Ha
<kenCode[m]> IPRS will replace IPNS?
<Kubuxu> we might layer IPNS as a representation of IPRS, same as unifs (what you access using /ipfs/Qm...AAA link`) will be layered on top of IPLD
<Kubuxu> s/unifs/unixfs
<demize> In that case you could just do ip:/fs/ et.c. :p
<DarkFox> demize: +1
<demize> Especially if software is going to treat it differently from just any filesystem URI at all.
<Kubuxu> ip can lead to confusion with Internet Protocol
zorglub27 has quit [Quit: zorglub27]
<Kubuxu> It was proposed and addressed in: https://github.com/ipfs/go-ipfs/issues/1678
<DarkFox> Kubuxu: Sure it could. And fs... *your* filesystem.
<DarkFox> But luckily that is at least file:///
<DarkFox> (Or file:\\)
<demize> or something like ma: if you're going to just support multiaddr strings.
cketti has joined #ipfs
<demize> I mean, fs: is fine as long as no software is ever expected to treat it as in any way related to ipfs
chungy has quit [Ping timeout: 272 seconds]
chungy has joined #ipfs
Encrypt has quit [Quit: Quit]
pinbot has quit [Ping timeout: 272 seconds]
pinbot has joined #ipfs
ulrichard_ has quit [Quit: Ex-Chat]
ulrichard has joined #ipfs
<keks> but I agree that fs doesn't make any sense at all. I mean the idea behing not using ipfs: is that we want to use non-fs stuff like iprs
<keks> and there is no fs in iprs
chungy has quit [Ping timeout: 272 seconds]
chungy has joined #ipfs
<Kubuxu> the point also is that in future you might have the `/ipfs` `/iprs` and so on mounted on your root filesystem
<Kubuxu> the same way today you have FUSE mount of /ipfs and /ipns
<DarkFox> Where is iprs defined?
<DarkFox> spec wise
<DarkFox> Thanks
<keks> I guess
<Kubuxu> The specs aren't finished, it is just an overview of what we want to get done.
<locusf> /75
<DarkFox> Right
captain_morgan has quit [Ping timeout: 272 seconds]
<kenCode[m]> is anyone "in charge" of maintaining the roadmap? we are working on some stuff for ipfs which may contribute to this.. https://github.com/ipfs/ipfs/blob/252d3f2a05995adb944707951f26ebed08ce1a32/ROADMAP.md
chungy has quit [Ping timeout: 272 seconds]
<DarkFox> kenCode[m]: Use /blob/master/ROADMAP.md (just in case you're behind)
<kenCode[m]> roger that thanx
_mak has quit [Ping timeout: 264 seconds]
peterix has quit [Ping timeout: 264 seconds]
sahib has joined #ipfs
lidel has quit [Ping timeout: 272 seconds]
lidel has joined #ipfs
_rht has joined #ipfs
ppham has joined #ipfs
ppham has quit [Remote host closed the connection]
chungy has joined #ipfs
lkcl has quit [Ping timeout: 272 seconds]
Encrypt has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
chungy has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
Qwertie has joined #ipfs
lkcl has joined #ipfs
ulrichard has quit [Quit: Ex-Chat]
ulrichard has joined #ipfs
ppham has joined #ipfs
ppham has quit [Remote host closed the connection]
ppham has joined #ipfs
anonymuse has joined #ipfs
ppham has quit [Ping timeout: 244 seconds]
Artazor has quit [Quit: Page closed]
ppham has joined #ipfs
rgrinberg has joined #ipfs
rgrinberg has quit [Client Quit]
PrinceOfPeeves has joined #ipfs
rgrinberg has joined #ipfs
ckwaldon has quit [Ping timeout: 265 seconds]
dmr has quit [Ping timeout: 272 seconds]
chungy has quit [Ping timeout: 272 seconds]
mariusz1 has quit [Quit: WeeChat 0.3.7]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
chungy has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
soloojos has joined #ipfs
chungy has joined #ipfs
<lgierth> pawal 404
<pawal> meh
<pawal> ah, this was better https://github.com/ipfs/specs/pull/139
<pawal> note that the ipfs.md is based on the uri schema registration process described in the RFC
<pawal> now I gotta go
chungy has quit [Ping timeout: 272 seconds]
wuch has quit [Quit: WeeChat 1.5]
peterix has joined #ipfs
peterix has quit [Remote host closed the connection]
chungy has joined #ipfs
peterix has joined #ipfs
<lgierth> awesome thanks! i'll take a look
<lgierth> have to come up with a talk proposal in the next couple of hours but afterwards i will :)
matoro has joined #ipfs
_mak has joined #ipfs
zorglub27 has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
kulelu88 has joined #ipfs
chungy has joined #ipfs
ppham has quit [Remote host closed the connection]
ppham has joined #ipfs
peterix has quit [Ping timeout: 264 seconds]
_mak has quit [Ping timeout: 272 seconds]
jedahan has joined #ipfs
<dignifiedquire> daviddias: I see you merged my PR :)
cemerick has joined #ipfs
zirpu has joined #ipfs
ppham has quit [Remote host closed the connection]
ashark has joined #ipfs
ruby32 has joined #ipfs
zirpu has left #ipfs [#ipfs]
shizy has joined #ipfs
ruby32 has quit [Ping timeout: 244 seconds]
<dignifiedquire> daviddias: new module for file locking :) https://www.npmjs.com/package/lock-me
<dignifiedquire> does the same thing as go-ipfs does
ppham has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
chungy has joined #ipfs
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chungy has quit [Ping timeout: 272 seconds]
chungy has joined #ipfs
ppham has quit [Remote host closed the connection]
zorglub27 has quit [Quit: zorglub27]
ppham has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
ppham has quit [Remote host closed the connection]
chungy has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
jedahan has joined #ipfs
WardCunningham has quit [Quit: WardCunningham]
rgrinberg has quit [Ping timeout: 272 seconds]
keks has quit [Ping timeout: 244 seconds]
Tv` has joined #ipfs
WardCunningham has joined #ipfs
bergie has quit [Ping timeout: 272 seconds]
bergie has joined #ipfs
matoro has quit [Ping timeout: 244 seconds]
ulrichard has quit [Remote host closed the connection]
chungy has joined #ipfs
ckwaldon has joined #ipfs
cemerick has quit [Ping timeout: 244 seconds]
chungy has quit [Ping timeout: 272 seconds]
kulelu88 has quit [Quit: Leaving]
<daviddias> dignifiedquire: I saw that one :D
<daviddias> if it calls the same syscall as go
mildred has quit [Quit: Leaving.]
<daviddias> nvm, thought went away
<dignifiedquire> it calls the same syscalls yes
chungy has joined #ipfs
keks has joined #ipfs
ylp has quit [Quit: Leaving.]
PseudoNoob has joined #ipfs
Guest64750 has quit [Remote host closed the connection]
Mateon1 has quit [Ping timeout: 272 seconds]
peterix has joined #ipfs
WardCunningham has quit [Quit: WardCunningham]
_mak has joined #ipfs
WardCunningham has joined #ipfs
rgrinberg has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
JesseW has joined #ipfs
gozala has quit [Ping timeout: 272 seconds]
peterix has quit [Ping timeout: 244 seconds]
rgrinberg has quit [Ping timeout: 272 seconds]
Encrypt has quit [Quit: Quit]
gozala has joined #ipfs
WardCunningham has quit [Quit: WardCunningham]
chungy has joined #ipfs
_mak has quit [Ping timeout: 264 seconds]
WardCunningham has joined #ipfs
sahib has quit [Ping timeout: 244 seconds]
chungy has quit [Ping timeout: 272 seconds]
keks has quit [Ping timeout: 272 seconds]
computerfreak has quit [Remote host closed the connection]
JesseW has quit [Ping timeout: 272 seconds]
Encrypt has joined #ipfs
chungy has joined #ipfs
peterix has joined #ipfs
rgrinberg has joined #ipfs
gmcquillan__ has joined #ipfs
gmcquillan__ is now known as gmcquillan___
sahib has joined #ipfs
rgrinberg has quit [Client Quit]
rgrinberg has joined #ipfs
_mak has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
_mak has quit [Ping timeout: 264 seconds]
peterix has quit [Ping timeout: 272 seconds]
chungy has joined #ipfs
keks has joined #ipfs
peterix has joined #ipfs
lidel has quit [Remote host closed the connection]
lidel has joined #ipfs
_mak has joined #ipfs
tidux has joined #ipfs
sahib has quit [Ping timeout: 244 seconds]
kobigurk has joined #ipfs
gmcquillan___ has quit [Quit: gmcquillan___]
_mak has quit [Ping timeout: 264 seconds]
peterix has quit [Ping timeout: 264 seconds]
keks has quit [Ping timeout: 264 seconds]
keks has joined #ipfs
anonymuse has quit [Read error: Connection reset by peer]
anonymuse has joined #ipfs
peterix has joined #ipfs
tidux has left #ipfs [#ipfs]
_mak has joined #ipfs
matoro has joined #ipfs
doesntgolf has joined #ipfs
s_kunk has quit [Ping timeout: 272 seconds]
chungy has quit [Read error: Network is unreachable]
chungy has joined #ipfs
palkeo has joined #ipfs
captain_morgan has joined #ipfs
WardCunningham has quit [Read error: Connection reset by peer]
WardCunningham has joined #ipfs
gmcquillan__ has joined #ipfs
gmcquillan__ is now known as gmcquillan___
Encrypt has quit [Quit: Quit]
chungy has quit [Ping timeout: 272 seconds]
G-Ray has quit [Remote host closed the connection]
WardCunningham has quit [Client Quit]
chungy has joined #ipfs
ec_ is now known as ec
matoro has quit [Ping timeout: 264 seconds]
erde74 has joined #ipfs
matoro has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
matoro has quit [Max SendQ exceeded]
matoro has joined #ipfs
ygrek_ has joined #ipfs
chungy has joined #ipfs
espadrine has quit [Ping timeout: 244 seconds]
matoro has quit [Max SendQ exceeded]
galois_d_ has joined #ipfs
galois_dmz has quit [Ping timeout: 264 seconds]
chungy has quit [Ping timeout: 272 seconds]
<kevina> whyrusleeping: you around?
<whyrusleeping> kevina: yeap!
<kevina> I'm a little confused on what you are after on https://github.com/ipfs/go-ipfs/pull/3255
<whyrusleeping> kevina: ah, i'll elaborate a bit more
<kevina> Okay, thanks do it on the pull request...
<whyrusleeping> yeap
chungy has joined #ipfs
cemerick has joined #ipfs
doesntgolf has quit [Ping timeout: 264 seconds]
matoro has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
keks has quit [Ping timeout: 272 seconds]
Pornmod has joined #ipfs
chungy has joined #ipfs
Peeves has quit [Ping timeout: 276 seconds]
Pornmod is now known as Peeves
<whyrusleeping> kevina: still typing, got distracted for a second
keks has joined #ipfs
lidel has quit [Ping timeout: 272 seconds]
lidel has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
<richardlitt> Any idea how to use xargs but to pause it if my command has a prompt, and give me the ability to respond?
<kevina> whyrusleeping: thanks, still not 100% sure, I am just going to implement something and see if it is what you hand in mind.
<whyrusleeping> kevina: what i'm really saying is that i don't want the linkservice and dagservice to be two separate objects
keks has quit [Ping timeout: 272 seconds]
keks has joined #ipfs
chungy has joined #ipfs
<kevina> I get that. I am just going to implement what I had in mind before I even asked you for clarification. I ping you when I am done in hour or so...
<whyrusleeping> lol, alright
<richardlitt> got it.
ulrichard has joined #ipfs
chungy has quit [Ping timeout: 272 seconds]
The_8472 has quit [Ping timeout: 248 seconds]
rgrinberg has quit [Ping timeout: 244 seconds]
The_8472 has joined #ipfs
Tadeusz has quit [Remote host closed the connection]
Encrypt has joined #ipfs
erde74 has quit [Quit: Verlassend]
chungy has joined #ipfs
twiscar has joined #ipfs
<kevina> whyrusleeping: in the GC function (https://github.com/ipfs/go-ipfs/pull/3255/files pin/gc/gc.go line 32) I need to construct an offline DagService...
<kevina> This is why I have LinkService as a separate object that does nothing but provides links.
<kevina> Not sure how to fix this, but maybe provide an Offline() method to dag service so that it will clone it self with an offline exchange.
<kevina> whyrusleeping: Any Ideas? If something is unclear let me know.
chungy has quit [Ping timeout: 272 seconds]
* whyrusleeping thinks
structuralist has joined #ipfs
chungy has joined #ipfs
<whyrusleeping> kevina: i think you just need to construct that pinner with your linkservice
<whyrusleeping> or....
<whyrusleeping> hrm
<whyrusleeping> because inside that GC function it constructs an offline dagservice
<whyrusleeping> but all it really needs is the linkservice
<kevina> All it really needs is a linkservice, but it has to be offline.
ulrichard has quit [Remote host closed the connection]
wak-work has quit [Remote host closed the connection]
<kevina> I'm not sure how to make what I think you what work. Without providing an Offline() or similar method.
<lgierth> the good thing about a night-heavy sleep schedule is... i can have super tasty cappuccino in the evening
wak-work has joined #ipfs
<kevina> whyrusleeping: if LinkService and DAGService is the same, than there is no way to construct an offline LinkService as the parts to construct it are not available....
<kevina> I hope this is making sense.
galois_d_ has quit [Remote host closed the connection]
galois_dmz has joined #ipfs
kyledrake has quit [Ping timeout: 272 seconds]
kyledrake has joined #ipfs
rgrinberg has joined #ipfs
zorglub27 has joined #ipfs
structur_ has joined #ipfs
soloojos has quit [Ping timeout: 258 seconds]
structuralist has quit [Ping timeout: 244 seconds]
<whyrusleeping> kevina: yeah, i get it now
<whyrusleeping> Alright, we should make it easy for the linkservice and the dagservice to be the same object. But they don't necessarily have to be
<whyrusleeping> because for the normal case of not having any special logic there, passing that around all over gets really funky
matoro has quit [Ping timeout: 244 seconds]
<kevina> whyrusleeping: you don't really need to pass linkservice around much, you can use the new GetLinks() method in the normal
<kevina> DAGService.
<whyrusleeping> right
cemerick has quit [Ping timeout: 272 seconds]
<whyrusleeping> but you want to make sure that the linkservice has the same method signature for getting links
<whyrusleeping> right now its just `Get` afaik
<whyrusleeping> it should be `GetLinks` to match the dagservice
zorglub27 has quit [Quit: zorglub27]
<kevina> okay, but the context will be unused
<whyrusleeping> only in your case
<whyrusleeping> other implementors of the linkservice will definitely want a context
<kevina> all right I will try again, and ping you in a bit :)
<whyrusleeping> woop! thanks :)
gmcquillan__ has joined #ipfs
<kevina> whyrusleeping: If I do what you suggest, how do we know for sure that the LinkService passed to the GC() function will be offline?
<kevina> someone could pass in a DAGService object and the GC() function won't know the difference.
gmcquillan___ has quit [Ping timeout: 264 seconds]
<kevina> unless I add an IsOffline() method it could call and check, or something similar.
soloojos has joined #ipfs
kobigurk has quit [Ping timeout: 244 seconds]
structur_ has quit [Remote host closed the connection]
akofink has joined #ipfs
Stebalien has joined #ipfs
Mizzu has joined #ipfs
krzysiek1 has quit [Read error: Connection reset by peer]
<kevina> whyrusleeping: okay so implementing something, IsOffline() is WithBlockservice() so that we can tell if the LinkService is part of the DAGService or more basic
synne has quit [Ping timeout: 244 seconds]
mildred has joined #ipfs
<Polychrome[m]> Huh, that was odd. I tried to visit https://ipfs.io/blog/0-hello-worlds/ and got a 404. Then I refreshed and there it was.
lidel has quit [Ping timeout: 272 seconds]
lidel has joined #ipfs
Stebalien has quit [Ping timeout: 245 seconds]
captain_morgan has quit [Ping timeout: 245 seconds]
<lgierth> mmh, maybe an IPNS glitch
Stebalien has joined #ipfs
matoro has joined #ipfs
matoro has quit [Max SendQ exceeded]
matoro has joined #ipfs
Stebalien has quit [Ping timeout: 264 seconds]
Stebalien has joined #ipfs
krzysiek1 has joined #ipfs
<whyrusleeping> kevina: hrm... do we really care if the gc routines have an offline or an offline dagservice?
<lgierth> offline dagservice as in read-only mode?
<whyrusleeping> lgierth: yeah
<whyrusleeping> i'm not sure how best to expose this interface honestly
<whyrusleeping> lgierth: any ideas?
<lgierth> nope :)
<lgierth> not before 23:59
<whyrusleeping> lgierth: lame, go have fun writing shit
Mizzu has quit [Quit: WeeChat 1.5]
<kevina> whyrusleeping: I think so, you don't want it to attempt to fetch anything from the net...
<kevina> I'm almost done...
<whyrusleeping> ooooh, right. because of the best effort roots stuff
keks has quit [Ping timeout: 264 seconds]
WardCunningham has joined #ipfs
<whyrusleeping> kevina: i also think that EnumerateLinks would be cleaner if the paramter passed in was a cid
<whyrusleeping> instead of some links
captain_morgan has joined #ipfs
keks has joined #ipfs
<whyrusleeping> kevina: and the gc ColoredSet and Descendants functions only need to take the dagservice
<whyrusleeping> er
<whyrusleeping> linkservice
<whyrusleeping> so I don't even think we need to construct an offline dagservice in Gc
ylp has joined #ipfs
oleavr has quit [Ping timeout: 272 seconds]
oleavr has joined #ipfs
WardCunningham has quit [Ping timeout: 264 seconds]
<kevina> If GetLinks() can be supplied via the normal DAG service we still need to be sure that what is passed to the GC() is not an online DAGService
<whyrusleeping> do we though?
<kevina> I thought we just established that for the BestEffort pins.
<kevina> And in any case it is a really good idea.
<whyrusleeping> yeah... i'm just not really sure that we need to make it a hard requirement like that
<whyrusleeping> (and by not sure, i really mean i could go either way)
<kevina> I don't want any think that is GarbageCollector to accidentally add more content
<kevina> or hang
<whyrusleeping> hahaha
<kevina> etc.
<whyrusleeping> "i ran a gc and it doubled the size of my repo"
<whyrusleeping> fine
<whyrusleeping> but can we guarantee that every implementation of the linkservice will be 'offline' as well?
<whyrusleeping> Because the current code only makes that distinction in a single place, you can pass an online dagservice into Descendants with 'best effort' set
<whyrusleeping> and it won't really be 'best effort' anymore
<kevina> whyrusleeping: I am almost done, let me post something before we discuss this more, okay :)
<whyrusleeping> pffft, fiiiiiiiine
* whyrusleeping angrily closes vim
anonymuse has quit [Remote host closed the connection]
<kevina> whyrusleeping: I'm sorry if I just annoyed you. :(
<kevina> whyrusleeping: I am just having a very hard time following what you are after.
<kevina> whyrusleeping: and I don't think what you want is exactly what I have in mind.
<whyrusleeping> kevina: lol, no i'm joking
<whyrusleeping> do your thing, i'm hacking on gx stuff in the meantime
mildred has quit [Ping timeout: 264 seconds]
<kevina> whyrusleeping: okay, thanks
gmcquillan__ has quit [Quit: gmcquillan__]
Encrypt has quit [Quit: Quit]
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kevina> Jump to merkledag/merkledag.go and pin/gc/gc.go for the relevant stuff
<kevina> whyrusleeping: and please read the comments for WithBlockService() method
matoro has quit [Ping timeout: 272 seconds]
Oatmeal has joined #ipfs
<whyrusleeping> Hrm.... okay
<whyrusleeping> maybe just 'Online' would be a better name? because a blockservice can be 'offline' as well
<whyrusleeping> its tricky
<kevina> so to be clear if WithBlockService() returns false than the link service is _not_ connected to a blockservice at all.
<kevina> whyrusleeping: ... it will not retrieve blocks, online or offline, if it does not have the links.
<whyrusleeping> Kubuxu: you around?
<whyrusleeping> your thoughts here would be helpful
krzysiek1 has quit [Ping timeout: 272 seconds]
<Kubuxu> yhmm?
<Kubuxu> Oh the local, offline ephemeral and so on?
matoro has joined #ipfs
computerfreak has joined #ipfs
computerfreak has quit [Remote host closed the connection]
<whyrusleeping> yeah
<whyrusleeping> and more specifically this interface we're working on here
<whyrusleeping> basically, we both agree that we want to separate a 'linkservice' abstraction out
<whyrusleeping> and its useful to know if the linkservice will use the network to resolve a path
<whyrusleeping> but i'm not sure how best to expose that
<Kubuxu> can we have a wrapper, that would make online service offline
<Kubuxu> and wouldn't change if it was already offline?
<whyrusleeping> that might be difficult, thoughts on what that would look like?
<kevina> Kubuxu: like an Offline() method to the DAGService()?
<kevina> I can implement that easilly
<kevina> The new DAGService now has two places it can get info. from: The (new) LinkService or the BlockService.
<Kubuxu> so you would just create new DAGService with nil/fake LinkService
<kevina> The LinkService (for now) is offline.
<kevina> It is more about creating a new BlockService with an offline exchange.
<Kubuxu> ahh, the blockservice fetches blocks
<Kubuxu> smgt, whyrusleeping ^^ ?
<kevina> So in summary GC() would get a LinkService and than simply call Offline() to make sure it is offline.
<kevina> There is no need for it to have full access to the DAGService(), it only cares about a Node's links...
<Kubuxu> yeah, that what I am thinking about, just make sure whyrusleeping is also on it
lkcl has quit [Ping timeout: 244 seconds]
<whyrusleeping> I think that SGTM as well
<kevina> okay, will implement...
<whyrusleeping> kevina: lol, sorry about changing this up so much
<whyrusleeping> its a hard interface to get right
<kevina> whyrusleeping: that's okay :)
<kevina> another implementation in just a bit
<whyrusleeping> Kubuxu: on the reuseport stuff
ashark has quit [Ping timeout: 272 seconds]
<whyrusleeping> is there any sort of a 'default' value? (re my comment)
<whyrusleeping> we're check if the file descriptor is one of two values
krzysiek1 has joined #ipfs
<Polychrome[m]> Is there some kind of a directory of public websites that can be visited on IPFS?
shizy has quit [Ping timeout: 244 seconds]
<whyrusleeping> Polychrome[m]: not exactly, but i've found googling 'site:ipfs.io' works pretty well
<Kubuxu> whyrusleeping: we are returned events, where the event struct contains 128bits of data we registered
<Kubuxu> I use 32bits of that data to store the fd.
structuralist has joined #ipfs
<Kubuxu> There can't be any other case, either EpollWait returns error, or it contains no events (n == 0) or we get some events
<Kubuxu> EventFD is spearate from epoll
<Kubuxu> hmm
<Kubuxu> ahh
<Kubuxu> this is singlerpoller
<Kubuxu> not singelepoller
<Kubuxu> but it is just one shot
Stebalien has quit [Ping timeout: 244 seconds]
<Kubuxu> also if we get both: the socket can be written to and the context is expired
<Kubuxu> we call it a success
<Kubuxu> and do not return the error
<Kubuxu> ask more if it is unclear
<Kubuxu> still
keks has quit [Ping timeout: 272 seconds]
wak-work has quit [Remote host closed the connection]
wak-work has joined #ipfs
keks has joined #ipfs
Stebalien has joined #ipfs
<whyrusleeping> Kubuxu: it makes sense now that you explain it
<whyrusleeping> but maybe want to add a 'default:' section to that switch with a comment explaining 'default == success!'
<whyrusleeping> (i'm really trying to help out the next poor soul that has to go mucking around with reuseport)
<Kubuxu> take a look now
captain_morgan has quit [Ping timeout: 272 seconds]
<whyrusleeping> Kubuxu: <3
<whyrusleeping> I can say with certainty that this codebase is much easier to get into now.
<whyrusleeping> good job
<dansup> kpcyrd, ping
<whyrusleeping> Kubuxu: looks like those changes don't build, lol
<whyrusleeping> don't you just love software engineering?
<Kubuxu> It is late...
<Kubuxu> fixed
zorglub27 has joined #ipfs
fleeky__ has joined #ipfs
<whyrusleeping> Story of my life Kubuxu
Foxcool has quit [Ping timeout: 276 seconds]
PseudoNoob has quit [Remote host closed the connection]
fleeky_ has quit [Ping timeout: 244 seconds]
Stebalien has quit [Ping timeout: 244 seconds]
Stebalien has joined #ipfs
<kpcyrd> dansup: pong
<dansup> kpcyrd, hey! I am getting pretty close with the ipfs support for icrypt, will you be on irc in a few hours?
<Kubuxu> right? and I totally forgot about it.
incog has joined #ipfs
alu has quit [Ping timeout: 264 seconds]
<kevina> whyrusleeping, Kubuxu: ok just pushed another commit ...
<kevina> Diff https://github.com/ipfs/go-ipfs/pull/2634/files, again see merkledag/merkledag.go and pin/gc/gc.go for the relevant stuff
<kevina> also see filestore/support/linkservice.go for how I implement a new LinkService/DAGService
rendar has quit [Quit: Leaving]
<kevina> If you are happy with this I will factor out the non filestore bits and push to https://github.com/ipfs/go-ipfs/pull/3255
pfrazee has quit [Remote host closed the connection]
captain_morgan has joined #ipfs
IlanGodik has quit [Quit: Connection closed for inactivity]
Stebalien has quit [Ping timeout: 272 seconds]
cketti has quit [Quit: Leaving]
Stebalien has joined #ipfs
gmcquillan__ has joined #ipfs
Stebalien has quit [Remote host closed the connection]
zorglub27 has quit [Quit: zorglub27]
<kpcyrd> dansup: sure
matoro has quit [Ping timeout: 244 seconds]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
ianopolous_ has joined #ipfs
ianopolous has quit [Ping timeout: 244 seconds]
kaotisk has quit [Read error: Connection reset by peer]
kaotisk has joined #ipfs
rgrinberg has quit [Ping timeout: 244 seconds]
Len has joined #ipfs
gmcquillan__ has quit [Ping timeout: 264 seconds]