News for hackers. Stuff that matters.
Re:Finding Relationships Between Ruby’s Top Packages and The... by reducesuffering on Thursday October 20, 2022 @04:45PM (#33280436)
GitHub is actively transitioning away from Rails. Netflix is mostly Java / Node.js, they are not a significant Rails shop. Also, OP said "modern", probably to mean not companies that chose their tech stack a decade ago. New SaaS these days trend towards Next.js / Node (Supabase, Substack, Notion, Planetscale, Railway, Secureframe, Newfront, etc.), some Django, the occasional Rails or Phoenix.
Re:Finding Relationships Between Ruby’s Top Packages and The... by AlchemistCamp on Friday October 21, 2022 @02:02AM (#33284990)
Supabase wrote their backend in Elixir. AFIK, their offering started as essentially “various stuff common in Elixir systems, as a service for JS devs”.

More here: https://thinkingelixir.com/podcast-episodes/073-elixir-at-su...

Re:Finding Relationships Between Ruby’s Top Packages and The... by reducesuffering on Friday October 21, 2022 @03:29AM (#33285469)
Yes, some portion of their backend is Elixir/Phoenix: https://github.com/supabase/realtime

but most of their current stack and active development, frontend and backend, is Next.js, and not the Rails/Phoenix fullstack way: https://github.com/supabase/supabase

Re:Finding Relationships Between Ruby’s Top Packages and The... by kiwicopple on Friday October 21, 2022 @08:32AM (#33287326)
I just did a full write up on the Architecture becaase we have this question often: https://supabase.com/docs/architecture#architecture

> most of their current stack and active development, frontend and backend, is Next.js

This is only the Dashboard. We dogfood Supabase to build Supabase, so we use the tools in the doc above

Re:Finding Relationships Between Ruby’s Top Packages and The... by reducesuffering on Friday October 21, 2022 @12:57PM (#33290311)
No better clarification than the author! In my mind, I was thinking of just the web framework UI-for-CRUD comparison, where Next.js is supplanting what Rails is typically used for (like your Dashboard / GUI, and most of the core webapps for the previous 2010 Rails co's), but fair enough, you're probably leveraging a lot more of your own PostgREST, triggers, functions, & webhooks than a typical backend Next shop.
Re:Finding Relationships Between Ruby’s Top Packages and The... by jrochkind1 on Friday October 21, 2022 @08:13AM (#33287187)
> GitHub is actively transitioning away from Rails

Cite?

Re:Finding Relationships Between Ruby’s Top Packages and The... by reducesuffering on Friday October 21, 2022 @01:05PM (#33290416)
https://www.theregister.com/2018/08/16/github_rails_microsof...

"GitHub is about a third of the way through an architectural change that began last year. The company is moving away from Ruby on Rails toward a more heterogeneous, composable infrastructure. Ruby still has a place at GitHub – Lambert referred to the company as a Ruby shop, but he said there's more Go, Java and even some Haskell being deployed for services."

https://github.blog/2021-03-16-improving-large-monorepo-perf...

"We’re also in the middle of a significant refactoring effort, doing our part to decompose GitHub’s famous Ruby monolith, and writing a new microservice in Go"

Re:Finding Relationships Between Ruby’s Top Packages and The... by ericb on Sunday October 23, 2022 @07:15AM (#33306088)
He referred to the company as "a Ruby shop" so maybe that's a bit overstated?
Re:Finding Relationships Between Ruby’s Top Packages and The... by reducesuffering on Monday October 24, 2022 @02:09AM (#33313413)
No major company completely overhauls their tech stack overnight. I originally stated that they're transitioning away from Ruby so I don't think that's overstated, they are. Just like Twitter, LinkedIn, Soundcloud, Grab, Parse, Twitch, and Deliveroo have done before them, it's not unique.

It's 20 years ahead of Perl, but same fate. It doesn't have a niche besides web w/ Rails, which javascript/typescript is now dominating. It's the slowest and has the most well-known scale problems. The dev ecosystem is almost unanimously moving towards static types, a la Typescript and MyPy. It's symbols are not as transferable like more popular C-based langs: Javascript, Java, Python, Go. The only point devs will routinely point to in favor of it is "well, it just feels fun and nice to work with", while actually StackOverflow survey data shows Rust, Typescript, Python all leagues ahead in "loved", while Ruby is in majority dissatisfaction land right next to the monstrosities of C++ and Scala.

Re:Finding Relationships Between Ruby’s Top Packages and The... by ericb on Monday October 24, 2022 @12:26PM (#33318791)
* Ruby has static types (Sorbet)

* Most of the alternatives still don't come close to Rails for web app productivity--that's more than a gee it feels fun

* The pendulum of JS apps is swinging away from pointless SPA's and more toward hotwire and live-updating apps

* Ruby is as fast or faster than Python on most points