logoalt Hacker News

Ruby website redesigned

256 pointsby psxuawtoday at 7:06 AM94 commentsview on HN

Comments

kshahkshahtoday at 2:09 PM

I used cursor over the past three weeks to update a 12 year-old Ruby on rails project. While it has been slightly updated throughout the years, this was my first proper modernization of the code base.

It’s been a real pleasure getting back into Ruby after so many years in typescript, python, and rust.

Happy to see the update. Real shame about the haters here, the Ruby community is a supportive and positive bunch that has shipped real products while others seem to worship at the altar of computer science alone… that’s about as counter snarky as I want to be here

show 2 replies
Kwpolskatoday at 10:37 AM

So many Web designers put zero thought into how their page looks when it is not loaded or not scrolled exactly past the trigger. So many sites say "0 happy customers", because someone thought showing incrementing numbers is cool. On this page, it opens up with a "100%" loading indicator, for a site that appears to have no interactivity that would require JS, just to show a pointless animation.

jarek83today at 12:07 PM

I like how it looks. I don't like to see how badly it is crafted tech-wise - not optimized images by size and deferring, JS for things that work natively in the browser, bloat of tailwind instead of nice clean and modern CSS.

Knowing ruby I can tell that the relaxed approach to the website does not correspond with sophistication in the language itself. If I wouldn't know ruby, that would be a put off for me, thinking that if they don't want to convince me tech-wise by their site, it might be similarly annoying to deep-dive into the language.

show 1 reply
Alifatisktoday at 12:45 PM

I like the new design, however, I strongly believe the website could've been optimized further and used much less JS. Opening the website with JS turned off makes the code examples not load and the front page freezes as "0%" loading.

What does it do exactly? It just fetches[1] to another part of site and retrieves static text[2] to be displayed. This part could've been kept as part of the html, no need for this artificial loading. It's not a webapp, it's a website.

1. https://www.ruby-lang.org/javascripts/try-ruby-examples.js

2. https://www.ruby-lang.org/en/examples/i_love_ruby

In this day and age, it is possible to have an appealing, responsive, lightweight website with no JS (maybe except for darkmode toggle).

show 3 replies
hessarttoday at 4:46 PM

Maybe it was vibe coded, considering that Claude is the #3 committer in the website's repo[1].

[1] https://github.com/ruby/www.ruby-lang.org/graphs/contributor...

show 1 reply
continuationaltoday at 9:20 AM

Not long ago I was looking through programming language sites to figure out how to best introduce the language I'm working on.

ruby-lang.com stood out with a text in a big font:

Ruby is...

Followed by a paragraph about what makes Ruby special. I think that was an exceptionally simple and natural way of introducing something as complex as a programming language.

librastevetoday at 4:49 PM

I thought it would be interesting to try the showcase examples in Raku (since I am always saying how good Raku's imitation of Ruby is)...

  - https://glot.io/snippets/he42jpfm27
  - https://glot.io/snippets/he42trx6w6
  - https://glot.io/snippets/he434b6ryj
Obviously Raku leans more to `{}` and `my $var` than Ruby - but otherwise I think it does a credible job. Obviously these are carefully chosen Ruby snippets to highlit its unique abilities in strings, "array math" and classes. On the string interpolation, I would say that Raku has the slight edge (and has the whole Q-slang for a lot of fine grained control). On the array math, I had to apply the (built in) Raku set diff operator ... so I guess that Ruby is a little more natural for this (rather quirky) feature. On the class stuff, again very close. Raku has much more powerful OO under the hood ... multi-inheritance, role-composition, punning, mixins, MOP, and yet is a delight to use in this lightweight way.
aristofuntoday at 1:58 PM

I don't know what others are complaining about here, it loads for me as fast as this HN, but looks nicer.

mabedantoday at 12:25 PM

Loading percentage in the middle? I haven’t seen one of those since Micromedia flash days.

show 1 reply
elcapitantoday at 8:11 AM

Meta, but it's kind of ironic that the main Ruby language website shows a "0%" Ruby symbol with javascript deactivated, and doesn't even show the code examples, which are all just links to some sandbox anyway.

show 1 reply
novoreorxtoday at 11:06 AM

Refreshing and delightful! I know how the home page looks doesn't reflect the programming itself, but this design really makes me want to try Ruby again :)

show 1 reply
Hackbratentoday at 10:44 AM

I wonder why Sandi Metz is missing in the testimonial section. One of the most influential persons in software analysis and design in the Rubyverse.

yoan9224today at 5:41 PM

The site looks great visually but the technical implementation is disappointing. Here's what's wrong:

1. Code examples are fetched via JS instead of being in the HTML. They're static text - there's zero reason for this.

2. The "0%" loading spinner blocks everything. It's literally just displaying a download button and some text.

3. With JS disabled, you get nothing. A language website should be the poster child for progressive enhancement.

The irony is that Ruby itself has always emphasized developer happiness and doing things "the right way." This site feels like it was built with the modern JS framework mindset rather than the Ruby philosophy.

Still, huge improvement over the 2005-era design. Just wish they'd optimized it properly.

djoldmantoday at 3:48 PM

Is there a manifesto out there saying that one should build with html and only if needed add css then svg then js?

It seems this site doesn't work so well without JS.

show 1 reply
t1234stoday at 5:21 PM

I'm glad to see they didn't use wordpress.

tiffanyhtoday at 3:40 PM

The old site as a comparison.

https://web.archive.org/web/20251113164224/https://www.ruby-...

show 1 reply
ifndbdbtoday at 9:45 AM

wow that loads slow

I like the design and content. Being able to immediately try a language online is huge

But there has to be a way to load that content in a progressive manner. Loading a static version first and then hydrating the content if you need interactive actions

Syzygiestoday at 8:14 AM

Nice! There is a Japanese feel to the lead graphic, their prevalence of cartoon imagery, that one might not recognize without having traveled in Japan.

Is the design debate public? I'd imagine it would make great reading.

show 1 reply
jrochkind1today at 2:49 PM

So much better. The website was looking like abandonware, which was not helpful in projecting ruby as an actual thriving ecosystem.

mindaslabtoday at 3:04 PM

Feels like base camp website.

weiwenhaotoday at 10:57 AM

Very nice, my nature-lang references the old ruby design, now maybe I can reference the new one.

Hendriktotoday at 12:47 PM

Very form over function, with JS for everything, including static content, and bad performance. This signifies what’s wrong with “modern” webdev.

mindaslabtoday at 3:04 PM

Looks like base camp website.

mkl95today at 12:23 PM

The Lighthouse report is telling. It scores 100% for Best practices and SEO, but 54% for Performance. Pages like these used to be caricatures of the modern web, but are now acceptable. DHH's statement doesn't help either.

show 2 replies
Someonetoday at 11:52 AM

On my iPad, without scrolling, the screen shows almost nothing, just a download button and some text that, I think users will ignore. I think that’s a waste of valuable screen estate.

Also, apart from a quote from David Heinemeier Hansson the home page doesn’t even mention that ruby is a programming language.

For comparison, the following all mention that above the fold, with a short phrase indicating what you would want to use the language.

- https://www.python.org/ has “Python is a programming language that lets you work quickly and integrate systems more effectively. Learn More”

- https://www.perl.org/ has “Perl is a highly capable, feature-rich programming language with over 37 years of development”

- https://www.php.net/ has “A popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.”

- https://www.swift.org/ has “Swift is the powerful, flexible, multiplatform programming language. Fast. Expressive. Safe.”

hit8runtoday at 12:06 PM

Ruby is GOATED. You can say what you want but Ruby coupled with Rails is the most productive web stack period.

Why you might ask? - Omakase Stack - high level is good for business processes - modern concepts without JS ecosystem churn - great testing capabilities - great ecosystem - highly effective stack for LLMs (conventions)

Is it fast in Benchmark Games - not by any means. Will you be able to finish projects and make money with it? Absolutely.

show 1 reply
asmortoday at 2:57 PM

DHH praising himself in the testimonials, funny.

zhismetoday at 9:41 AM

Well well well. Now can we stop arguing about ruby death? It is even got a site redesign! What a fresh look. Previous design was from 2005?

troupotoday at 8:30 AM

So, in order to show a single download link it needs to load an animation with visible loading progress even on a gigabit connection. It takes a few seconds to appear. All to show a scaling animation that can be achieved with a couple of lines of CSS.

Same for absolutely static code examples that take a few seconds to load and shift the content away.

Why?

show 2 replies
rubiiitoday at 1:14 PM

Putting DHH right next to Matz must be some kind of sick joke

show 1 reply
ngsowntoday at 1:55 PM

[dead]

tovejtoday at 11:44 AM

[flagged]

phoronixrlytoday at 9:24 AM

[flagged]

ngcazztoday at 11:37 AM

[flagged]

notpachettoday at 1:56 PM

[flagged]

Sparkytetoday at 8:10 AM

[flagged]

show 2 replies
artursapektoday at 2:07 PM

not a serious language, not a serious website. very fitting

show 1 reply
anonnontoday at 11:46 AM

[flagged]

show 3 replies
auxidetoday at 12:44 PM

This is just straight-up unappealing, really gaudy, if that's the right word. Otherwise I can't put it into words well.

mindaslabtoday at 3:05 PM

Lol, it does not load when JavaScript is disables. I wonder if Ruby still sticks to Free Software principles.

pmkarytoday at 2:49 PM

I loved the old website. It was one of the few "good old things" I used to check out when I got nostalgic. What a waste...