<ehd>
If you use a broken hashing algorithm and a collision generation technique then yes, you might be able to create a self-referencing merkle dag object. One would hope that traversal guards against this kind of recursion
<madvas>
Guys, before I was using ipfs.io gateway for my own domain via dnslink. Now I've setup nginx with reverse proxy with SSL. But in browser I get error like "The certificate is only valid for the following names: *.ipfs.io, ipfs.io". Sometimes it works tho, but 90% of times I get that error. How is it possible, is it some kind of caching or? No idea how can my certificate issued with letsencrypt be allowed only for ipfs.io domain
traverseda has quit [Ping timeout: 240 seconds]
jkilpatr has joined #ipfs
m0ns00n_ has joined #ipfs
<m0ns00n_>
Hi guys!
<m0ns00n_>
Anyone here running websites on ipfs?
cxl000 has joined #ipfs
john has joined #ipfs
john is now known as Guest26727
traverseda has joined #ipfs
Guest60910 has quit [Ping timeout: 255 seconds]
<victorbjelkholm>
m0ns00n_: yeah, there are some. Any specific questions about it?
<victorbjelkholm>
madvas: I think what you're seeing is that our gateways are trying to use our own certificates since you're trying to access https... I'm sure lgierth knows more, t
<madvas>
victorbjelkholm: yea, but I'm not using ipfs.io gateway anymore. Domain points to my own gateway with nginx reverse proxy to handle ssl. But before I was using ipfs.io, so I don't know if browser caches those certificates somehow or what. Weird is that it sometimes starts working and 5 mins. later browser says it's invalid cert again.
<victorbjelkholm>
Oh, I see. Yeah, I would try to reproduce this again in a bit or from a different browser
<victorbjelkholm>
or from a different network
<m0ns00n_>
victorbjelkholm: No I wanna use IPFS to store Friend applications
<m0ns00n_>
Friend can share applications using public links
<m0ns00n_>
That allows people to access them without having a Friend account somewhere, and also without having to run the whole desktop
<m0ns00n_>
And with IPFS as the "database", we can do amazing things :)
<victorbjelkholm>
m0ns00n_: and those applications are just static websites basically?
<m0ns00n_>
Static javascript
<m0ns00n_>
And by using ipfs to write and read, you can put anonymous services there
<m0ns00n_>
All you need is a Friend server and Friend workspace to tunnell you in
<victorbjelkholm>
ah, sweet! Yeah, sounds like a good idea to me, you could bundle js-ipfs and use it with the applications as well :)
<m0ns00n_>
Friend is released open source this month MIT/LGPL/AGPLv3
<m0ns00n_>
Cool!
<m0ns00n_>
You should add #friendup to your "idle" channels :)
<m0ns00n_>
Friend will help the decentralized net with using the internet as a computer.
<m0ns00n_>
And with blockchain based file systems and databases, you can do completely without centralized hosts, and no server code, all application code runs in the browser.
<m0ns00n_>
Each Friend server has all the tools you need for backendless development
<m0ns00n_>
You can write web communities in pure javascript :)
<m0ns00n_>
And interchange Friend servers to access a blockchain.
<m0ns00n_>
Each Friend server just routes you to blockchain based resources.
jaboja has joined #ipfs
pawal has joined #ipfs
m0ns00n has quit [Quit: quit]
m0ns00n_ has quit [Quit: quit]
mahloun has quit [Ping timeout: 240 seconds]
madvas has quit [Quit: Page closed]
HID_System has joined #ipfs
<HID_System>
Is there any pinbot?
infinitesum has joined #ipfs
<HID_System>
Is there any pinbot in the channel?
mahloun has joined #ipfs
tgp has joined #ipfs
maxlath has quit [Ping timeout: 255 seconds]
cyanobacteria has quit [Ping timeout: 240 seconds]
HID_System has left #ipfs [#ipfs]
rcat has joined #ipfs
dignifiedquire has joined #ipfs
charley has joined #ipfs
maxlath has joined #ipfs
charley_ has joined #ipfs
charley has quit [Ping timeout: 255 seconds]
shizy has joined #ipfs
chris613 has joined #ipfs
chris613 has quit [Ping timeout: 240 seconds]
charley_ has quit [Remote host closed the connection]
detran has joined #ipfs
neurrowcat has quit [Quit: Deebidappidoodah!]
xSkyripper has joined #ipfs
<xSkyripper>
is object.data working on js-ipfs-api ?
<xSkyripper>
i'm calling it on a string multihash and the cb is never called
<xSkyripper>
on a locally added object.
shizy has quit [Quit: WeeChat 1.8]
<crankylinuxuser1>
I know Im shadowing on your question xSkyripper (which I cannot answer), but do you happen to have a good link to get started on js-ipfs?
<xSkyripper>
js-ipfs-api :D
<xSkyripper>
with the go-ipfs daemon
<xSkyripper>
i'm adding with the api, the multihash is correct
<crankylinuxuser1>
now, is it pure client-side, or does it use node.js backend?
<crankylinuxuser1>
Ive only used the go-ipfs client
<xSkyripper>
js-ipfs-api on client, go-ipfs daemon in a cordova thread
<xSkyripper>
the daemon works correctly
shizy has joined #ipfs
<xSkyripper>
i think that js-ipfs-api is faulty or am i doing something wrong ? :-?
m0ns00n has joined #ipfs
dimitarvp has joined #ipfs
m0ns00n has quit [Client Quit]
tgp has quit [Quit: tgp]
dconroy has joined #ipfs
jaboja has quit [Ping timeout: 240 seconds]
<victorbjelkholm>
xSkyripper: should be working. Are you sure that a) you are connected to peers and b) the peers you're connected to actually have the content you're looking for?
anewuser has quit [Read error: Connection reset by peer]
infinitesum has joined #ipfs
anewuser has joined #ipfs
dconroy has quit [Ping timeout: 240 seconds]
Aranjedeath has joined #ipfs
Boomerang has joined #ipfs
mahloun has quit [Ping timeout: 245 seconds]
sirdancealot has joined #ipfs
mahloun has joined #ipfs
elkalamar has quit [Ping timeout: 268 seconds]
ShalokShalom has joined #ipfs
sirdancealot has quit [Ping timeout: 245 seconds]
qjkxkcd has quit [Ping timeout: 240 seconds]
ulrichard has quit [Remote host closed the connection]
chungy has joined #ipfs
qjkxkcd has joined #ipfs
maxlath has quit [Ping timeout: 255 seconds]
charley has joined #ipfs
charley has quit [Ping timeout: 245 seconds]
maxlath has joined #ipfs
ShalokShalom has quit [Remote host closed the connection]
ShalokShalom has joined #ipfs
ShalokShalom_ has joined #ipfs
xSkyripper has quit [Quit: Leaving]
mildred1 has quit [Ping timeout: 260 seconds]
aedigix has joined #ipfs
charley has joined #ipfs
talis has joined #ipfs
ShalokShalom_ has quit [Remote host closed the connection]
ShalokShalom has quit [Remote host closed the connection]
ShalokShalom has joined #ipfs
charley has quit [Ping timeout: 240 seconds]
aedigix has quit [Remote host closed the connection]
cyanobacteria has joined #ipfs
aedigix has joined #ipfs
talis has quit [Quit: talis]
charley has joined #ipfs
droman has joined #ipfs
charley has quit [Ping timeout: 240 seconds]
charley has joined #ipfs
charley_ has joined #ipfs
charley has quit [Ping timeout: 255 seconds]
charley_ has quit [Remote host closed the connection]
anewuser has quit [Read error: Connection reset by peer]
m0ns00n has joined #ipfs
anewuser has joined #ipfs
zuck05 has quit [Ping timeout: 240 seconds]
talis has joined #ipfs
Boomerang has quit [Ping timeout: 268 seconds]
Boomerang has joined #ipfs
mahloun has quit [Ping timeout: 272 seconds]
charley has joined #ipfs
infinitesum has quit [Quit: infinitesum]
noffle has left #ipfs ["WeeChat 1.5-rc2"]
anewuser has quit [Ping timeout: 240 seconds]
jungly has quit [Remote host closed the connection]
infinitesum has joined #ipfs
cyanobacteria has quit [Ping timeout: 240 seconds]
kristjansson has joined #ipfs
maxlath has quit [Ping timeout: 272 seconds]
maxlath has joined #ipfs
jaboja has joined #ipfs
infinitesum has quit [Quit: infinitesum]
talis_ has joined #ipfs
talis has quit [Ping timeout: 268 seconds]
kristjansson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaboja has quit [Remote host closed the connection]
kristjansson has joined #ipfs
talis_ has quit [Ping timeout: 255 seconds]
jkilpatr has quit [Ping timeout: 240 seconds]
talis has joined #ipfs
akkad has quit [Excess Flood]
akkad has joined #ipfs
infinitesum has joined #ipfs
kthnnlg has joined #ipfs
Encrypt has joined #ipfs
jkilpatr has joined #ipfs
talis has quit [Quit: talis]
espadrine has quit [Ping timeout: 245 seconds]
talis has joined #ipfs
<cblgh>
files that i run ipfs add on, where do they end up on my computer?
<cblgh>
linux machine
<kthnnlg>
Hi All, I'm attempting to implement a purely functional data structure on top of ipfs. What I'm trying to understand is how to bridge between my serialization format, namely CBOR, and ipfs. Before, I was instructed that the correct method is to use `ipfs dag get/put`. However, I cannot seem to find the right format for this command. For example: `echo "���C" | ipfs dag put --format=cbor` yields `Error: invalid characte
<Mateon1>
kthnnlg: You can just pipe json into the IPFS dag api, and it will convert to cbor or whatever
<kthnnlg>
i'd prefer to avoid the json indirection, if possible, because the point of this data structure is to store large sequences of values across multiple machines
talis has quit [Quit: talis]
talis has joined #ipfs
<Mateon1>
Yep, but if you pipe json into `ipfs dag put`, it will convert it to CBOR automatically
<Mateon1>
If you want to pipe cbor into ipfs dag put, you need to use `--input-enc cbor` as an argument to dag put
<voker57>
cblgh: ~/.ipfs/blocks
<cblgh>
voker57: thx!
<voker57>
unless you use --nocopy
<kthnnlg>
ok super, thanks! this looks very helpful. the json format may be ok. i'll try what you suggest
<kthnnlg>
`echo "���C" | ipfs dag put --input-enc cbor Error: unrecognized input encoding: cbor `
<Mateon1>
Whoops, let me look at the source code then
<Mateon1>
It's --input-enc raw, that should really be documented somewhere...
<kthnnlg>
ok, so if i'm recalling correctly, i will need to use cbor tags to mark ipfs hash-code links
<kthnnlg>
basically, i will have a tree structure where the leaves store raw 32-bit ints and the interior nodes store ipfs links
<kthnnlg>
the medium of storage is what i call a chunk... just a pair of an integer weight value and a fixed capacity array of items (either raw int or ipfs links)
<kthnnlg>
aha, this worked `echo "���C" | ipfs dag put --input-enc raw zdpuAxKCBsAKQpEw456S49oVDkWJ9PZa44KGRfVBWHiXN3UH8`
Encrypt has quit [Quit: Quit]
<Mateon1>
When posting on IRC you might want to use hex representation, binary data doesn't transfer well over IRC
<Mateon1>
I see ???C as your data
<Mateon1>
The question marks are encoded as ef bf bd
maxlath has quit [Ping timeout: 255 seconds]
<kthnnlg>
ah yea, sorry. i need to figure out how to interpret the output of my ocaml-cbor encoder
<kthnnlg>
on my terminal, i see weird unicode chars
mahloun has joined #ipfs
jaboja has joined #ipfs
talis has quit [Quit: talis]
<kthnnlg>
if i understand correctly, ocaml-cbor outputs a string representing raw bytes of a given cbor code. that may explain the weird terminal output. what i think i need to do to pass valid input to `ipfs dag put` is a hex encoding of that byte string... but i'm not sure exactly what i need to get there
infinitesum has joined #ipfs
<Mateon1>
Nah, ipfs dag put will happily use raw binary input
<kthnnlg>
ok super
<Mateon1>
The hex encoding is useful if you want to share examples online, the commandline utility xxd can do that
<kthnnlg>
but how then can ipfs inspect a given dag object to extract ipfs links?
<kthnnlg>
would `ipfs dag put` recognize the raw bytes as valid cbor?
<Mateon1>
IPFS has a built in cbor parser, as well as a json parser and a protobuf parser. It knows how to extract links from any of these formats
<kthnnlg>
ok super, can you think of a simple way to test that ipfs recognizes links?
<kthnnlg>
aside from forcing a GC
espadrine_ has joined #ipfs
<kthnnlg>
many thanks, btw
<Mateon1>
You can do `ipfs dag put` and then `ipfs dag get` on the resulting hash, it should output JSON
talis has joined #ipfs
<Mateon1>
You can also follow a link to test it
<Mateon1>
ipfs dag get QmHash/link_name
<kthnnlg>
aha, very nice
<Mateon1>
Well, these will be CID hashes, so zdpuHash/link_name I guess
<kthnnlg>
is link_name also represented by a hash?
jaboja has quit [Ping timeout: 260 seconds]
<Mateon1>
Nah, it's the key that points to the link object in your cbor data
<Mateon1>
It's easier to explain in JSON. If your object is {"key":"somevalue","link_name_here":{"/":"Qm..."}}, you can follow the link with QmObjectHash/link_name_here
<kthnnlg>
right, that's clear
<kthnnlg>
what i'm stuck on is the serialized cbor format
<kthnnlg>
i see no place in the spec that mentions a key / value encoding
<kthnnlg>
;) yes, given that cbor is literally the binary representation for json, it makes good sense
jkilpatr has quit [Ping timeout: 268 seconds]
infinitesum has quit [Quit: infinitesum]
<mantycore[m]>
Hi! Can someone please explain me how orbit-db gets the latest state of the store after restart?
Guest26727 has quit [Ping timeout: 268 seconds]
john has joined #ipfs
john is now known as Guest80280
jkilpatr has joined #ipfs
mildred1 has joined #ipfs
jonnycrunch has quit [Ping timeout: 260 seconds]
jonnycrunch has joined #ipfs
kristjansson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charley has quit [Remote host closed the connection]
jmill has joined #ipfs
<mantycore[m]>
Oh, I guess I get it. On any append to the store, ipfs node publishes new heads, and restarted node gets them and merge.
charley has joined #ipfs
talis has quit [Quit: talis]
charley has quit [Remote host closed the connection]
infinitesum has joined #ipfs
talis has joined #ipfs
charley has joined #ipfs
maxlath has joined #ipfs
dimitarvp has quit [Quit: Bye]
charley has quit [Remote host closed the connection]
jmill has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dimitarvp has joined #ipfs
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
caladrius has joined #ipfs
ilyaigpetrov has joined #ipfs
<ilyaigpetrov>
Hi. I think long time ago I've seen prospects of getting paid for contributing to ifps -- is it still true?
stoopkid has quit [Quit: Connection closed for inactivity]
grumble has quit [Quit: *grumbles*]
grumble has joined #ipfs
kristjansson has joined #ipfs
infinitesum has quit [Quit: infinitesum]
Encrypt has joined #ipfs
jmill has joined #ipfs
infinitesum has joined #ipfs
espadrine has quit [Ping timeout: 258 seconds]
robattila256 has joined #ipfs
galois_d_ has joined #ipfs
galois_dmz has quit [Ping timeout: 260 seconds]
kristjansson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
markedfinesse has quit [Remote host closed the connection]
infinitesum has quit [Quit: infinitesum]
markedfinesse has joined #ipfs
jsgrant has joined #ipfs
kristjansson has joined #ipfs
kristjansson has quit [Client Quit]
ShalokShalom_ has joined #ipfs
ShalokShalom has quit [Ping timeout: 260 seconds]
jmill has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elkalamar has joined #ipfs
<mantycore[m]>
I am running orbit-textui locally and is connected on https://orbit.chat/. I join the channel with the same name in both. Why I cannot see messages from one in another?
ipfsrules has joined #ipfs
maxlath has quit [Ping timeout: 240 seconds]
<Mateon1>
mantycore[m]: Hm, might be peering issues, is the #ipfs channel the same on both? It's very well peered
<MaybeDragon>
The textui is connected to 'Orbit DEV Network'; is that the same network the orbit-chat web is connected with?
kristjansson has joined #ipfs
droman has quit []
<Mateon1>
Hm, speaking of, are there new messages on orbit.chat? All I see are messages from april, which I assume were locally cached for me
<MaybeDragon>
last message I see on orbit.chat is from 30.5.
<MaybeDragon>
and that's my own
<emunand[m]>
i remember seeing some messages on the same day, but they're gone now
<emunand[m]>
most likely because i ran garbage collection
<Mateon1>
Huh, that's weird
<Mateon1>
orbit.chat isn't working for me at all, it's stuck on connecting, and /ipns/orbit.chat loads, but it's only the cached messages from forever ago
<emunand[m]>
thats the opposite for me
<mantycore[m]>
Mateon1: I suspected peer issues, but do not know how diagnose. #ipfs channel syncs allright on web, but is empty on textui.
<Mateon1>
Huh, is my local orbit-db for orbit chat corrupt? I am crashing on some e.payload.value, trying to be parsed as JSON, but being raw text
kristjansson has quit [Remote host closed the connection]
<mantycore[m]>
What "network" means in context of orbit? I understand that there can be multiple Orbit networks, and orbit.chat and textui might be connected to different ones? How can I control which network I use?
ipfsrules has quit [Ping timeout: 268 seconds]
ipfsrules has joined #ipfs
jsgrant has joined #ipfs
akkad has quit [Excess Flood]
akkad has joined #ipfs
hoboprimate has joined #ipfs
Bat`O has quit [Ping timeout: 240 seconds]
Bat`O has joined #ipfs
espadrine_ has quit [Ping timeout: 240 seconds]
akkad has quit [Excess Flood]
espadrine has joined #ipfs
sirdancealot has joined #ipfs
yhwh has joined #ipfs
akkad has joined #ipfs
mahloun has quit [Ping timeout: 258 seconds]
jsgrant has quit [Ping timeout: 268 seconds]
jmill has joined #ipfs
charley has joined #ipfs
talis has quit [Quit: talis]
charley has quit [Ping timeout: 272 seconds]
elkalamar has quit [Ping timeout: 240 seconds]
pcre has quit [Remote host closed the connection]
Encrypt has quit [Quit: Quit]
sirdancealot has quit [Quit: Leaving]
sirdancealot has joined #ipfs
ShalokShalom_ has quit [Remote host closed the connection]
skeuomorf has joined #ipfs
jmill has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
galois_d_ has quit [Remote host closed the connection]
yhwh has quit [Remote host closed the connection]
galois_dmz has joined #ipfs
jsgrant has joined #ipfs
stoopkid has joined #ipfs
kristjansson has joined #ipfs
jkilpatr has quit [Ping timeout: 240 seconds]
ipfsrule1 has joined #ipfs
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
ipfsrules has quit [Ping timeout: 268 seconds]
sirdancealot has quit [Ping timeout: 240 seconds]
rcat has quit [Remote host closed the connection]
shizy has quit [Ping timeout: 245 seconds]
talis has joined #ipfs
caladrius has quit [Ping timeout: 255 seconds]
talis has quit [Ping timeout: 240 seconds]
jkilpatr has joined #ipfs
<mantycore[m]>
Well, I still do not understand that, but I checked and orbit.chat uses same 'Orbit DEV Network'
enzo has joined #ipfs
enzo is now known as Guest61724
jsgrant has quit [Quit: Peace Peeps. o/ If you need me asap, message me at msg([at])jsgrant.io & I'll try to get back to you within 24-to-36 hours.]
elkalamar has joined #ipfs
mahloun has joined #ipfs
sprint-helper1 has quit [Remote host closed the connection]
sprint-helper has joined #ipfs
Caterpillar has quit [Excess Flood]
gmoro has quit [Remote host closed the connection]
Caterpillar has joined #ipfs
gmoro has joined #ipfs
ericnoan_ has quit [Ping timeout: 260 seconds]
Stskeepz has joined #ipfs
Teeed_ has joined #ipfs
cblgh has quit [Disconnected by services]
cblgh_ has joined #ipfs
barnacs has joined #ipfs
ericnoan has joined #ipfs
mahloun has quit [Ping timeout: 260 seconds]
Teeed has quit [Write error: Broken pipe]
Edur has quit [Write error: Broken pipe]
Pessimist has quit [Excess Flood]
Guest61724 has quit [Excess Flood]
gde33 has quit [Excess Flood]
guybrush has quit [Excess Flood]
r04r has quit [Excess Flood]
guybrush_ has joined #ipfs
gde33 has joined #ipfs
Stskeeps has quit [Remote host closed the connection]
barnacs_ has quit [Remote host closed the connection]
Guest61724 has joined #ipfs
Pessimist has joined #ipfs
Mitar has quit [Ping timeout: 260 seconds]
fiatjaf has quit [Ping timeout: 260 seconds]
konubinix has quit [Ping timeout: 240 seconds]
ljhms has quit [Ping timeout: 240 seconds]
Edur has joined #ipfs
ericnoan has quit [Ping timeout: 240 seconds]
r04r has joined #ipfs
fiatjaf has joined #ipfs
ericnoan has joined #ipfs
Mitar has joined #ipfs
konubinix has joined #ipfs
ljhms has joined #ipfs
appa has joined #ipfs
Caterpillar has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
m0ns00n has quit [Quit: quit]
Teeed_ has quit [Quit: Reconnecting]
Teeed has joined #ipfs
droman has joined #ipfs
traverseda has quit [Ping timeout: 268 seconds]
Guest80280 has quit [Ping timeout: 245 seconds]
ipfsrule1 has quit [Ping timeout: 268 seconds]
ipfsrules has joined #ipfs
traverseda has joined #ipfs
jaboja has joined #ipfs
jmill has joined #ipfs
ipfsrules has quit [Ping timeout: 260 seconds]
ipfsrules has joined #ipfs
jmill has quit [Ping timeout: 272 seconds]
ipfsrules has quit [Ping timeout: 245 seconds]
ipfsrules has joined #ipfs
hoboprimate has quit [Quit: hoboprimate]
MaybeDragon has quit [Ping timeout: 240 seconds]
ipfsrules has quit [Ping timeout: 245 seconds]
ipfsrules has joined #ipfs
ipnoyl[m] has joined #ipfs
infinity0_ has joined #ipfs
infinity0_ has quit [Changing host]
infinity0 has joined #ipfs
infinity0 has quit [Killed (card.freenode.net (Nickname regained by services))]