top 50 comments

sorted by: hot top controversial new old
[+] 205 points 2 years ago* (last edited 1 year ago) (29 children)
  • load more comments (18 replies)
    [–] 122 points 2 years ago (4 children)

    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.

  • source
  • hideshow 4 child comments
  • [–] 87 points 2 years ago

    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."

  • source
  • parent
  • load more comments (3 replies)
    [–] 97 points 2 years ago (7 children)

    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 :)

    @programming @nifty

  • source
  • hideshow 7 child comments
  • [–] 39 points 2 years ago (4 children)

    and therefore scales terribly ;;

  • source
  • parent
  • hideshow 4 child comments
  • [–] 11 points 2 years ago*

    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.

  • source
  • parent
  • load more comments (3 replies)
  • load more comments (1 reply)
    [–] 79 points 2 years ago (4 children)

    As a Rails engineer with 14 years experience, I can say the place that should be in the 3rd panel is Shopify. They employ so many ruby and rails core committers and directly fund a good many rails gems, and ruby community infrastructure it's insane. They're also directly funding the development of things like the YJIT and speed enhancements to MRI itself.

    Then there's all the other places I know or worked at built on Ruby where my other long tenured ruby friends work.

    • Gusto
    • Airbnb
    • Clearbit
    • Stripe
    • Github
    • Gitlab
    • Bold Penguin
  • source
  • hideshow 4 child comments
  • load more comments (2 replies)
    [–] 46 points 2 years ago (4 children)

    One of the most known programming tool is built on Ruby, Github.

  • source
  • hideshow 4 child comments
  • load more comments (3 replies)
    [–] 42 points 2 years ago

    So I know it's supposed to be an arm, but those language be dummy thicc

  • source
  • [–] 40 points 2 years ago (1 child)

    the perl monks have hidden away the monastic order safely until they are needed to fight the ai demons

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 40 points 2 years ago (2 children)

    Should be wordpress and not Facebook for php. Which still makes up the majority of websites.

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 31 points 2 years ago* (last edited 2 years ago) (2 children)

    @nifty I have nothing against Ruby and think it’s a nice flexible language. At the peak of RoR though, all the asshats were all over Ruby.

    My problem with Ruby wasn’t even RoR, it was with the way the asshats valued creativity “cleverness” which seemed to mean writing code in the most cryptic ways possible. These folks took what should be an expressive language and wrote scripts that rivaled Perl’s worst “read once and never again” scripts.

  • source
  • hideshow 2 child comments
  • [–] 15 points 2 years ago

    I never did Rails but I used Ruby for many personal projects in the 2000s.

    When showing stuff to my coworkers or friends, I often joked how I tried to make my code look like it was already gzipped.

  • source
  • parent
  • load more comments (1 reply)
    [–] 30 points 2 years ago (4 children)

    Hey Ruby debs, lookup Elixir. It's supposedly similar syntax but run on the Erlang VM instead. Lots of cool companies use it, and a great community. 🤗

  • source
  • hideshow 4 child comments
  • [–] 13 points 2 years ago

    I've written a non-trivial amount of Elixir. It's nice, but I wouldn't say it's like Ruby. It's more heavily functional, and it wants you to work with data in an immutable way. If you're coming from a language that doesn't force immutability, then you'll be miserable until you get your head around how to work that way.

    I really like it, though. Especially now that it's getting optional typing.

  • source
  • parent
  • load more comments (3 replies)
    [–] 30 points 2 years ago (4 children)

    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.

  • source
  • hideshow 4 child comments
  • load more comments (4 replies)
    [–] 28 points 2 years ago (9 children)

    I had to learn Fortran for my thesis because it's the industry standard in particle physics

  • source
  • hideshow 9 child comments
  • load more comments (7 replies)
    [–] 26 points 2 years ago* (1 child)

    I would say wordpress over Facebook for php

  • source
  • hideshow 1 child comment
  • [–] 10 points 2 years ago* (last edited 2 years ago)

    Yeah...

    Facebook hasn't used PHP for a long time. They use Hack which started as a language similar to PHP, but it's very different now - it's strongly-typed and has a bunch of advanced features, like the ability to annotate functions as pure (no side effects), which gets enforced by the type checker.

  • source
  • parent
  • [–] 22 points 2 years ago (1 child)

    Enterprise will keep the withered husk of Java EE crawling for eternity

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 22 points 2 years ago

    Rails: “No. Don’t worry Ruby.”
    Ruby: “Huh?”
    Rails: *Hugs Ruby
    Rails: “We’re becoming irrelevant.”

    Together forever!

  • source
  • [–] 21 points 2 years ago

    Ruby -> Rails.

    It just hasn't had a second revival.

  • source
  • [–] 20 points 2 years ago

    Goddammit, I'm feeling for an anthropomorphic programming language that I don't even know.

  • source
  • [–] 19 points 2 years ago (25 children)

    Is PHP becoming irrelevant? It still comprises the vast majority of web pages out there. Maybe that has been going down but with he amount of competing languages and systems out there, that is to be expected.

    Either way, it's an awesome language, happily been using it for decades now

  • source
  • hideshow 25 child comments
  • [–] 15 points 2 years ago (13 children)

    Either way, it’s an awesome language, happily been using it for decades now

    Mind taking a moment to share why you like it? I am not very familiar with it.

  • source
  • parent
  • hideshow 13 child comments
  • [–] 11 points 2 years ago (8 children)

    I'm not the one you asked, but what I like isn't really about PHP itself, but the fact that I can get dirt cheap hosting with PHP and MySQL. Every time I want to create a small "app" that makes some manual task easier it's very useful to create something I can access from the internet.

    Python is really useful for stuff like that too, but (in my experience) not as easy and cheap to use as an web app.

    For example I go to dinner with some friends every month and we always forget who's turn it is to choose and book a restaurant. So I just made this PHP page that shows the current and next 2 months with a name. So we always use that to see who's turn it is.

  • source
  • parent
  • hideshow 8 child comments
  • load more comments (8 replies)
  • load more comments (4 replies)
  • load more comments (3 replies)
    [–] 19 points 2 years ago (2 children)

    Those hentai games and visual novel games still keeping ruby lang relevant tho, rpgmaker game engine is one of examples

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [+] 18 points 2 years ago (9 children)
  • load more comments (8 replies)
    [–] 17 points 2 years ago (1 child)
    load more comments (1 reply)
    [–] 14 points 2 years ago (5 children)

    Shopify is built on Ruby on Rails

  • source
  • hideshow 5 child comments
  • load more comments (5 replies)
    [–] 11 points 2 years ago* (2 children)

    I wrote extensively in Ruby but for Rake - using Ruby as a build system. Can't say I liked the language although it was okay for how we used it. We have 20 sub projects with some very complex build targets and dependency scanning going on and the Rake syntax was okay. Personally I think its biggest shortcoming was the documentation was very poor and stuff like gems felt primitive compared to other package management systems. One thing I liked from the language was blocks could evaluate to a value which I really use a lot in Rust too.

    I think if I were doing an acyclic dependency build system these days I'd use Gradle probably.

    As for Rails I expect failed to catch on because even compared to Python, Ruby is a slow language. And Python isn't fast by any stretch. Projects that started with Rails hit the performance brick wall and moved to something else.

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 10 points 2 years ago (2 children)

    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...

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 10 points 2 years ago

    I don't use Ruby anymore, but I still use irb everyday as a command line calculator.

  • source
  • [–] 10 points 2 years ago

    Off to the Island of Misfit Toys then.

  • source
  • load more comments
    view more: next ›