No new posts available
Vishalxl's avatar
#

so I did git pull on rostra code, and then ran it on localhost. Its been now 5 mins and I see my localhost is not getting rostra.me posts, and vice versa. Not sure what may be up…

dpc's avatar
(Personal)#

Make sure to log in to both accounts at the same time. Your new node needs to bootstrap from somewhere, and initially it only knows about its own identity, which it needs to connect to get some idea about rest of the world.

Alternatively you can follow e.g. me on your new account (manually), and that should make it notice its own posts and sync using my identity (as I follow your Id).

Vishalxl's avatar
#

so I did git pull on rostra code, and then ran it on localhost. Its been now 5 mins and I see my localhost is not getting rostra.me posts, and vice versa. Not sure what may be up…

dpc's avatar
(Personal)#

Did it eventually sync?

dpc's avatar
(Personal)#

šŸ‘‹ What’s up? šŸ˜€

dpc's avatar
(Personal)#

Huh. Recently rust-analyzer added a hint that will change variable to be mutable, at the place it is used as such. Much better.

dpc's avatar
#

Huh, I think I finally found a BFT Consensus algo that I really like and is actually simple. Other ones that say are simple, are not, while I think this one I would be able to implement myself if needed: Simplex.

There’s a paper with pseudo-Pascal, but it is actually quite easy to follow. And on top of it there’s a website explaining it in even simpler terms.

https://simplex.blog

What I like about it:

  • actually simple to understand - I’d say simpler than Raft,
  • partial-synchrony not a problem for me,
  • works for any number of peers,
  • fast finality (in network latency terms),
  • logically atomic commits: there is no ā€œsubmitted, but still pending reaching consensusā€ stuff,
  • there’s a Go implementation that should clarify anything unclear: https://github.com/ava-labs/Simplex

dpc's avatar
(Professional)#

I guess now I won’t be able to resist to implement it…

dpc's avatar
(Professional)#

Huh, I think I finally found a BFT Consensus algo that I really like and is actually simple. Other ones that say are simple, are not, while I think this one I would be able to implement myself if needed: Simplex.

There’s a paper with pseudo-Pascal, but it is actually quite easy to follow. And on top of it there’s a website explaining it in even simpler terms.

https://simplex.blog

What I like about it:

  • actually simple to understand - I’d say simpler than Raft,
  • partial-synchrony not a problem for me,
  • works for any number of peers,
  • fast finality (in network latency terms),
  • logically atomic commits: there is no ā€œsubmitted, but still pending reaching consensusā€ stuff,
  • there’s a Go implementation that should clarify anything unclear: https://github.com/ava-labs/Simplex

dpc's avatar
(Personal)#

Busy weekend, like always.

dpc's avatar
(Personal)#

I should post more on Rostra.

I’m not very motivated recently, but I added bunch of under the hood improvements.

dpc's avatar
#

Load ā€œUFOā€: https://youtube.com/?v=6qiCUH1dPFQ&si=c4H-kRauOMGrexQ-

dpc's avatar
(Personal)#

Load ā€œDreamerā€: https:/youtube.com/?v=EAgOWN7Yu9k&si=0YRX8zgFyhZQGGWU

dpc's avatar
(Personal)#

Load ā€œUFOā€: https://youtube.com/?v=6qiCUH1dPFQ&si=c4H-kRauOMGrexQ-

dpc's avatar
(Personal)#

Load ā€œLullabyā€: https://youtube.com/?v=sgH6emB4UdY&si=EVXZuO_nm1h9ZbZ-

dpc's avatar
(Professional)#

All right everyone, I’ve deployed a cool feature to https://rostra.me, though it might potentially be confusing.

Since Rostra is a public social network, anyone can (at least potentially) just log into any node with any identity, and have it download and present all the data for that it.

Thus, I’ve configured the demo instance to default to present things as my own identity.

This also allows publicly sharing your Rostra posts. The new # mark on a post is exactly for that. You can share it around from a public instance, and as long as my own identity on the public instance has downloaded it, it will just work.

fredix's avatar
#

could you tag a version in your github repo ?

dpc's avatar
(Personal)#

I should do that indeed. :)

fredix's avatar
#

You should post a link to your project on hacker news https://news.ycombinator.com

dpc's avatar
(Personal)#

I did, but I don’t think it got noticed. 🤷

fredix's avatar
#

It seems I’m alone 😭

dpc's avatar
(Personal)#

Aren’t we all?

dpc's avatar
(Personal)#

Omnia mea mecum porto