Hacker News new | past | comments | ask | show | jobs | submit | lucidstack's comments login


While checking out the app I was thinking that Elixir&Phoenix is the perfect tool for this.


Merry Crisis!


Sunken cost fallacy, I presume


Horde [0] is a really interesting Elixir library for distributed, self-healing state using CRDT

[0]: https://github.com/derekkraan/horde


Horde is indeed a really interesting Elixir library. It's based on the CRDT library, DeltaCrdt [0], also by Derek Kraan. He discusses DeltaCrdt here [1] and Horde here [2].

BTW, Horde is a distributed supervisor, i.e. analogous to what regular Elixir OTP supervisors do, except that it can restart processes on different cluster nodes. It also provides a distributed process registry.

Daniel Azuma of Google gave a great 39 minute talk at ElixirConf 2018, "Docker and OTP: Friends or Foes?" [3], where he shows Horde (and DeltaCrdt) in action to keep a multi-player tank video game going while the Docker container it's running in gets killed and and the Elixir processes get respawned on another container. The state is persisted across Elixir nodes in other containers in an instance of DeltaCrdt.

(Again, the talk is really good -- if the above sounds interesting, you'll want to check it out [3]).

[0] https://github.com/derekkraan/delta_crdt_ex

[1] https://moosecode.nl/blog/how_deltacrdt_can_help_write_distr...

[2] https://moosecode.nl/blog/introducing_horde

[3] https://www.youtube.com/watch?v=nLApFANtkHs


The first excellent episode of British TV series Inside No. 9 revolves around a game of Sardines. Wholeheartedly recommended, for pitch-perfect Brit dark humour


Just watched it now. Gosh that was weird and strangely captivating. Also, literally every single person spoke with their own uniquely wonderful accent and mannerism - odd thing to notice and comment on but it made it that much better. Looking forward to the rest of this series.


Whole series is totally amazing!


Good old normalization of deviance: https://www.ncbi.nlm.nih.gov/m/pubmed/25742063/


Thank you for this comment! As someone who fell in love with Derek Jacobi's voice since recently watching Kenneth Branagh's Henry V (my favourite opening ever), that's definitely something for me!


Perhaps not as technically impressive, but this [0] other short game/experience from the same creator is extraordinarily charming and well produced!

[0]: https://alexanderperrin.com.au/paper/shorttrip/


That was absolutely beautiful! Props to OP.


I feel like this was a part of a chrome experiment in the early days of html5.


Love it


> Kinda like a cheap girl :P Wow, nice use of sexism to annihilate any quality that could be attributed to your comment.

Please don’t.


Sorry for that. Couldn't resist sharp metaphor.


Software should be designed for ease of reading, not ease of writing.

- John Ousterhout


It's funny to see the creator of Tcl (where nearly everything is a string, including lists, and blocks of code) quoted in a thread praising type safety.

Could it be that adding type safety isn't always an improvement to readability?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: