Shopify is built on Ruby on Rails
That explains a lot
Yeah but Shopify also runs on GraphQL and Remix which are way more modern.
This is like saying Twitter is RoRedit: no it’s not
I worked at Shopify up until a year ago. github.com/shopify/shopify repo powers almost every inch of Shopify’s infrastructure and is entirely a rails monolith. It is not the same as saying Twitter is still rails.
Thanks for the insight! I’ve seen so many gql queries in the UI and remix is blowing up so I figured it was at least similar.
Edit: Shopify engineering publishes some neat articles, particularly on scaling rails + other systems. E.g https://shopify.engineering/horizontally-scaling-the-rails-backend-of-shop-app-with-vitess
So is square IIRC
Off to the Island of Misfit Toys then.
Good
Enterprise will keep the withered husk of Java EE crawling for eternity
Medicine too.
An instrument in my lab is running jdk 1_8_131…and this is a recent/newish piece of equipment.
One of the most known programming tool is built on Ruby, Github.
GitLab also uses Ruby on Rails
And it’s a pile of shit.
git is great. GitHub blows chunks. The only reason it’s still big is that it sucks less than any other single platform.
@SpaceNoodle I’ll always be sad how GitHub helped popularise centralised workflows. Such an amazing opportunity for a big cultural shift, but it didn’t go anyway as far as it could have.
Git owes a lot of its popularity to github. Without it, there’s a good chance that mercurial would have taken over. In addition, the centralized workflow was what made both git and github popular. It simplified git usage enough to let a lot of novices get started.
I’m in no way a fan of centralization that github represents. But I think a decentralized workflow using git was a lost opportunity. People complain a lot about the git-email workflow. But I see no reason why it couldn’t have become as easy as using github if the effort spent on github was spent on git-email tools and user experience.
Homebrew
… is a package manager…
People make formulas (packages) and extensions in Ruby for it.
… just run this bash script straight from the internet, it’ll be fine …
hey can u tell me how
ok that sounds like what i need
Yesterday I would have argued that with the rails framework Ruby is a great way to rapidly develop a scalable application. Today I started having an intermittent failure in one of my API instances and when searching about it the only thing I could find was one obscure blogpost that boiled down to “yeah sometimes Ruby Ave active record just screws up the character set off a string” exact same string, different results. Excuse me Ruby? How the fuck can you sometimes screw up a character set? There should be no sometimes to any thing here.
I like Ruby most of the time, but honestly, I’m not surprised at “sometimes” behavior from the language created by someone who, when asked for the formal definition of something in the language, said he’s “not really a formal kind of guy.”
deleted by creator
I spent a few years with Ruby, and my experience is that Ruby and Rails couldn’t be more different in terms of programming approach, philosophy, and nature. I don’t trust Rails fully, but I do trust Ruby.
Haven’t Spring Boot in Kotlin with jib and cloud integration caught upto this in terms of development speed?
So I know it’s supposed to be an arm, but those language be dummy thicc
I really like ruby :(
Even in 2024, I say that Ruby is one of the best common languages available. While there are some weird syntax choices, and a lot of rope to hang yourself with when it comes to subjects like metaprogramming, it is a better Python than Python, in that it has a clean way to approach problems, and a simple structure to make coding clean and easy. The best part of Ruby is that its tooling is great at pushing best practices, like concise methods, good naming conventions, tests with single/aligned assertions, etc. I’ve taken many lessons from Ruby into other languages I use.
Rails, on the other hand, is totally different. Today, Zed Shaw’s essay on Rails is as accurate as ever, in that many Rails shops have just ignored years of best practices on the web, and opt to do things their way because it’s “better”.
The only place I’ve seen ruby used extensively is in environments with a lot of regular expressions and string manipulation. Still not entirely sure why I’ve only seen it used there. The regex tools in ruby are nice but they aren’t nice enough to justify a language switch in my opinion…
It’s the part of ruby that replaced perl. For whatever eldritch horror perl was it was very, very good at doing text manipulation, and IME the only language to really match that experience was ruby.
I have never been a fan of Perl, it seems like a patchwork of different styles, and the same with Ruby.
I have gotten the sales pitch for ruby and RoR so I know it has some strengths especially in web development.
Mastodon is written in Ruby. Nowhere near as big as Facebook or the ML field, but hey, it’s important to a couple of us at least :)
Hi there! Your text contains links to other Lemmy communities, here are correct links for Lemmy users: !programming@programming.dev
and therefore scales terribly ;;
It probably wasn’t a big deal when it was a niche project until Twitter imploded. Then all the public instances got overloaded with new users and the limits became obvious.
A better design is Lemmy which is written in Rust so it has far more scalability. It’s compiled and because it’s tokio / actix based, it can also do a lot more stuff asynchronously so it’s not spawning thousands of threads to cope with concurrent requests.
@pkill Yeah seems that way, judging by their scaling up documentation: https://docs.joinmastodon.org/admin/scaling/
Although hey, it all depends on a whole bunch of stuff written in super optimised (and kinda scary) C !
Those docs look pretty easy to scale mastodon. What am i missing?
@towerful I mainly program in Go, so when I see all that extra software I notice how much easier it is when I get to just rely on the Go runtime. It does a lot of the heavy lifting done here, but the resulting code is not as clean. Actually just today I read through Mastodon’s code to track down a bug in my in-progress ActivityPub service (in Go) and found the Ruby really easy to navigate!
Mastodon is written in Ruby. Nowhere near as big as Facebook or the ML field yet
FTFY ;)
I like ruby. Use it for a bunch of things at work.
RoR is too much magic for me. Getting started with any new code base is such a pain that I never want to do again. As a manager, I’ll avoid any job post that mentions Ruby. I have maintained projects written in Delphi, Centura, Java, C#, PHP and none of them even come close to the pain of RoR. Java and C# are notorious for ceremonial interfaces but that’s nothing compared to trying to figure out RoR automagics.
There is a lot of magic in Java. Try Spring Boot for example, and things magically connect together with annotations, or somehow methods get injected onto interface on the fly, or an http interface maps onto a function with parameters because the runtime is doing it. This is most evident when you set a break point in some class and there might be 4 or 5 mystery functions it passed through between it and where you thought it was calling from. Sl4j, Lombok, Hibernate are doing the same kind of thing.
deleted by creator
React can go fuck itself with a pineapple, fuck that piece of shit. Every project I’ve had to deal with that used React was an absurdly bloated mess because it imported fuckloads of React plugins and addons.
Oh. I didn’t know react had its own supply-chain sploit risk. T-I-L
I don’t use Ruby anymore, but I still use
irb
everyday as a command line calculator.the perl monks have hidden away the monastic order safely until they are needed to fight the ai demons