News for hackers. Stuff that matters.
Re:Show HN: A Decentralized StatusPage on IPFS by foxhop on Wednesday January 31, 2018 @09:10AM (#16273912)
What if I wanted to always link to the latest, like from my normal HTTPS powered web site?

Is there a way to link to the head so that it always references the latest version?

Re:Show HN: A Decentralized StatusPage on IPFS by jstanley on Wednesday January 31, 2018 @09:23AM (#16274018)
The latest would be a link like /ipns/yourcompany.com, and you'd have a TXT record pointing at your node's IPNS hash (or an IPFS content hash directly) and you update it by either updating what your node's IPNS hash points to, or by editing the DNS record to point to the latest IPFS content hash.
Re:Show HN: A Decentralized StatusPage on IPFS by foxhop on Wednesday January 31, 2018 @09:56AM (#16274270)
Each time the page is updated, the TXT record would need to be modified with the latest IPNS hash?
Re:Show HN: A Decentralized StatusPage on IPFS by jstanley on Wednesday January 31, 2018 @11:18AM (#16274962)
No, if you put an IPNS hash in the TXT record you just update your IPFS node.

If you put an IPFS hash in the TXT record then you need to update that every time. I personally do this (domain name jes.xxx) because it means you don't need to leave your IPFS node running constantly in order for your IPNS name to be resolvable.

The record is:

    jes.xxx.		300	IN	TXT	"dnslink=Qme12vJPtMpeUwmG2NLG11Q47jy2unSonegNJxQb9QgYax"
And I have a small shell script to update it automatically.
Re:Show HN: A Decentralized StatusPage on IPFS by foxhop on Wednesday January 31, 2018 @09:38AM (#16274134)
Now I'm even more confused. I suppose I'll watch a talk on youtube or something.

Edit: currently watching this - https://www.youtube.com/watch?v=BA2rHlbB5i0 (10 minutes)

Re:Show HN: A Decentralized StatusPage on IPFS by StreamBright on Wednesday January 31, 2018 @05:27PM (#16278107)
So far we learned that the HTTP web is slow, impermanent and centralized.

This is why it can support billions of people daily in every corner on the planet and have services like https://archive.org/.

Time to move on I guess.

I wonder why do we need an http to IPFS gateway for that video he just uploaded though.

Re:Show HN: A Decentralized StatusPage on IPFS by mstade on Wednesday January 31, 2018 @09:19AM (#16273971)
I believe that's what the previous poster means, you get a namespace that points to the canonical version of your resource, whatever that may be. Kind of like how HEAD is an alias for the latest SHA on a branch in git. But I don't know, this is just how I understood the previous comment.