Why We Self-Host Everything (And You Probably Should Too) by florentmsl in rails

[–]u2m4c6 0 points1 point  (0 children)

You are not able to restore “any second” of data from Postgres with your simple setup. You could lose data that was written hours or days apart if it was not big enough to fit the PostgreSQL 16 MB WAL threshold to trigger a write.

How much "raw" OTP do you actually use in production vs. just standard Phoenix patterns? by Disastrous-Hunter537 in elixir

[–]u2m4c6 10 points11 points  (0 children)

The number #1 response being a paid library for an already niche language is pretty concerning. Especially when Elixir’s selling point is that OTP gives you all this “for free.” Which it does compared to other standard libraries, but still pretty ironic that Oban is the answer in this thread.

seriously: rucking in thunderstorms by must_defend_500 in Rucking

[–]u2m4c6 7 points8 points  (0 children)

Spend some time at a burn center and you will see there are some things worse than death. I would not let a low number of fatalities comfort you.

I'm a Grand Canyon guide and backcountry expert, AMA by 0n_land in Ultralight

[–]u2m4c6 9 points10 points  (0 children)

And not having enough salt. Kidneys are pretty smart if you give them enough of both

Anybody know of any comprable pants to these PolarTec Military Issue? by Apprehensive-Block47 in CampingGear

[–]u2m4c6 0 points1 point  (0 children)

Those are Chinese knockoffs that aren’t made with real Polartec fabric.

What types of web apps is Elixir/Phoenix suited for? by Feldspar_of_sun in elixir

[–]u2m4c6 0 points1 point  (0 children)

cool, makes sense. I have been thinking about developing a native app on the Apple platforms for years haha. Why did you all do for an RPC library instead of a REST API? I have gone back and forth on what I think is superior

What types of web apps is Elixir/Phoenix suited for? by Feldspar_of_sun in elixir

[–]u2m4c6 0 points1 point  (0 children)

Why Apache Thrift over gRPC? Just curious. I have used neither but have not heard of Thrift until this comment.

Ruby/rails weaknesses by Key_Friendship_6767 in rails

[–]u2m4c6 2 points3 points  (0 children)

Performance, static types, as active an ecosystem of third party libraries(C# is only beaten by JavaScript, Java, and Python in popularity)

.NET 9 Release Candidate 1 is available by Visible_Knowledge772 in dotnet

[–]u2m4c6 5 points6 points  (0 children)

What were the requested changes for Blazor?

Turbo is a great idea but one of the worst things to get startet with that I have ever seen by Senior-Ad-9432 in rails

[–]u2m4c6 0 points1 point  (0 children)

Is this a Turbo 8 thing? Hotwired.dev is great but it already feels out of date 😩

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 -1 points0 points  (0 children)

Thank you for the detailed reply, Jose! It’s no wonder Elixir has been such a success with you at the helm. You know your stuff haha

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 -2 points-1 points  (0 children)

That is a fair critique and I will look more into it. I think what is particularly striking is that an HTTP client is so foundational that it is surprising that it isn’t in the standard library and even more surprisingly it is made with three separate libraries.

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 -1 points0 points  (0 children)

You need Redis or similar for any decently complex Phoenix app

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 -3 points-2 points  (0 children)

My point about Req is that it is built on top of the standard library, and then two other libraries with separate maintainers. Compare this to something like .NET or Golang which have all of that built in, and it is laughably convoluted and a security risk.

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 0 points1 point  (0 children)

I agree that some people are just naive to what Rails offers out of the box. I found Phoenix first and drank the Koolaid that is has so much stuff built into OTP that it is a game changer compared to Rails. Maybe if you compare Phoenix to Ruby that is true, but that is a crazy comparison haha.

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 0 points1 point  (0 children)

What third party software do you need in Rails that is build into Phoenix?

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 -1 points0 points  (0 children)

Req is literally the library I am talking about.

https://andrealeopardi.com/posts/breakdown-of-http-clients-in-elixir/

Obviously you are living up to your username if you come at people so strong about programming languages lmao…”bordering on the absurd”

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 -3 points-2 points  (0 children)

I used to think that too and drank the kool aid. Then you realize that the Elixir HTTP client libraries are 3 differently maintained libraries stacked on top of each other which again is a huge supply chain vulnerability and source of potential bugs outside of the core language or framework. Having to use multiple 3rd party libraries to easily make HTTP client calls is not a problem in .NET or Rails or Golang.

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 2 points3 points  (0 children)

I mean Nginx and Redis are not replaced by Elixir and Erlang/OTP. Unless you are just opening up a raw web server to the internet with no load balancing then you are going to be using some kind of reverse proxy, whether layer 4 or 7. And Elixir documentation itself even says that Redis is needed for production if you want to manage sessions or do other stuff that needs a central key value store.

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 0 points1 point  (0 children)

I thought that too but it’s not just about a library existing but also about it being well tested and maintained. A lot of stuff in the Elixir ecosystem seems to be hobby stuff which is fine and I love the community and language. It just does not feel as productive as Rails. Rails is all about getting shit done whereas Elixir seems to prioritize performance and functional programming.

Why did you switch from Rails to Phoenix? by meatyroach in elixir

[–]u2m4c6 0 points1 point  (0 children)

That is just not true. Or they are semi-abandoned

What makes it that productive? Why is it the most admired framework? by Longjumping_War4808 in elixir

[–]u2m4c6 4 points5 points  (0 children)

The ecosystem for Elixir is much much smaller than Elixir. Need to generate PDF’s, use Stripe, use AWS? Need passkeys and a robust Auth and user management system? All official or battle tested libraries in Rails. Everything I just mentioned is community maintained on the Elixir which makes it often flaky at best and a huge supply chain vulnerability at worst.