Monix
Phoenix
Monix | Phoenix | |
---|---|---|
7 | 113 | |
1,920 | 20,867 | |
0.0% | 1.4% | |
4.4 | 9.4 | |
11 days ago | 3 days ago | |
Scala | Elixir | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Monix
- Ask HN: What are some of the most elegant codebases in your favorite language?
-
Scala isn't fun anymore
The author is the creator of Monix and implemented the first version of cats-effect. He knows what he is doing.
-
How many of you are using Monix?
I haven't had the pleasure to use it personally, but will probably check it out once Monix switches to CE3. As far as I'm aware, this requires a major rewrite of the library: https://github.com/monix/monix/issues/1502
-
Alternative to RxJava/RxScala
The Observer is a bit different, it returns Future[Ack] for built-in back-pressure. We can Continue / Stop synchronously or asynchronously.
-
What languages have "implicit awaits" ?
cats-effect or monix or ZIO for Scala.
Phoenix
-
Why, after 6 years, I'm over GraphQL
> I seem to recall Meta/Facebook engineers on HN having said they have a tool that allows engineers to author SQL or ORM-like queries on the frontend and close to where the data is used, but a compiler or post-processor turns that into an endpoint.
I don't know about on-HackerNews but there's a discussion about their "all of Facebook optimizing compiler" infrastructure from when they did the site redesign in 2020: https://engineering.fb.com/2020/05/08/web/facebook-redesign/...
> perhaps not coincidentally, React introduced "server actions" as a mechanism that is very similar to [the above]
Yep - there's also the Scala framework LiftWeb (https://www.liftweb.net/), the Elixir framework Phoenix (https://www.phoenixframework.org/) and of course the system we're using right now (Arc) that do similar things. Scaling these kinds of UUID-addressed-closures is harder (because the client sessions have to be sticky unless you can serialize closures and send them across the network between servers).
-
Show HN: Wikipedia Golf – find the fewest clicks between two random wiki article
- The game uses iframe and fetches the pages from Wikipedia API. I think the usage of iframe may have a huge impact on performance.
[1]: https://www.phoenixframework.org/
-
Idempotent seeds in Elixir
A standard Phoenix app contains a priv/repo/seeds.exs script file, which populates a database when it is run, so that developers can work with a conveniently prepared environment.
-
Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
There was one in the Phoenix Framework (Elixir) about issuing certificates with an invalid end date: https://github.com/phoenixframework/phoenix/issues/5737
Interestingly, Azure had this bug some years ago too leading to an outage. https://azure.microsoft.com/en-us/blog/summary-of-windows-az...
-
Aplicando MVVM en Phoenix LiveView
Official website: https://www.phoenixframework.org/
-
Things I like about Gleam's Syntax
Since you mention Rails, have you seen https://www.phoenixframework.org/
-
Building Apps with Tauri and Elixir
Thus, we set out to build a desktop application using a LiveView from the Phoenix Framework in Elixir. For the uninitiated, a LiveView is a process that receives events, updates its state, and renders updates to a page as diffs. The LiveView programming model is declarative: instead of saying “once event X happens, change Y on the page”, events in LiveView are regular messages which may cause changes to its state.
-
Has anybody compared Phoenix Framwork vs. Blazor?
It seems though like Phoenix is similar like Blazor Server (using web socket), but Phoenix is: SEO friendly (first render is plain html) Light weight, scales well and concurrency is first class Easy to develop (runs a local server so you see live updates) Compiled With auth out of the box https://www.phoenixframework.org/
-
Ask HN: Why isn't Phoenix/Elixir more mainstream?
Sorry to hear this. Phoenix v1.7 changed how it structures files in disk and that broke quite some of the getting started material. However, the guides are always kept up to date, so you can give it a try: https://hexdocs.pm/phoenix/overview.html
You can also see the resources on this page listed by year: https://github.com/phoenixframework/phoenix/blob/main/guides... - the recent launched ones are most likely up to date.
-
Emoji Generator with AI
Yes! I love Elixir :) [Phoenix LiveView](https://www.phoenixframework.org/) is really amazing. I feel so fast working in it. I got hooked after watching Chris McCord's ['Build a real-time Twitter clone in 15 minutes'](https://www.youtube.com/watch?v=MZvmYaFkNJI&embeds_referring...), and things have improved a lot since then.
What are some alternatives?
ZIO - ZIO — A type-safe, composable library for async and concurrent programming in Scala
Django - The Web framework for perfectionists with deadlines.
Scala.Rx - An experimental library for Functional Reactive Programming in Scala
sugar - Modular web framework for Elixir
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
hotwire-rails - Use Hotwire in your Ruby on Rails app
RxScala - RxScala – Reactive Extensions for Scala – a library for composing asynchronous and event-based programs using observable sequences
kitto - Kitto is a framework for interactive dashboards written in Elixir
typed-actors - compile-time typechecked akka actors
trot - An Elixir web micro-framework.
Reactor-Scala-Extensions - A scala extension for Project Reactor's Flux and Mono
RIG - Create low-latency, interactive user experiences for stateless microservices.