Live data from Hacker News

Ruby website redesigned

ruby-lang.org

181–190 of 224 posts

Re: Ruby website redesigned

#181

The number of times Matz is mentioned and depicted on the homepage is offputting. MINASWAN feels too close to WWJD for me. I can't think of another programming language community that does this, and I'm including Wolfram in that assessment.

In C++ we just constantly bash the committee for its bad decisions and pretend we would've done better than Stroustrup.

Seems like a more grounded and healthier approach to programming languages.

Re: Ruby website redesigned

#182
post #112

Earlier quoted context omitted.

Had the same exact thought. That DHH was included and Sandy was not really surprised me.

[flagged]

Not sure if you got the memo but we aren’t cancelling people for their political views anymore.

That’s not really a thing anymore.

Just because you don’t agree with his views doesn’t make it “not a good look”.

In fact, the ability to think outside of his cultural bubble and go against the grain is something that makes him great.

Re: Ruby website redesigned

#183
post #180

Bad branding community wise to quote DHH on the frontpage. Will immediately turn away many. He isn’t worth wasting the reputational loss that comes with printing his words.

I'm outta the loop; what did DHH do or say to invite the wrath of the Kraken?

He acknowledges that mass importing Muslims into the UK is killing the country.

For some reason there’s a large swath of people who really don’t like people saying that.

Re: Ruby website redesigned

#184
post #80

Earlier quoted context omitted.

Quickly followed by folks talking about a warm and welcoming community. Which in fairness, is true! DHH is the counterexample. Platforming him in 2025 seems nonsensical.

Why is platforming him in 2025 nonsensical?

Because he said things that some people on the internet interpreted as mean, so therefore he’s mean and we should never associate with mean people.

Re: Ruby website redesigned

#185
post #12
post #6

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?

> couple of lines of CSS This is bit too much to ask. Just check the source it is swollen with Tailwind.

Interesting, never seen "swollen" used to describe code bloat, but it creates powerful imagery now that I read your sentence.

Re: Ruby website redesigned

#186
post #180

Earlier quoted context omitted.

I'm outta the loop; what did DHH do or say to invite the wrath of the Kraken?

He acknowledges that mass importing Muslims into the UK is killing the country. For some reason there’s a large swath of people who really don’t like people saying that.

I assume you are quoting the Great Replacement theory, which is a whole bunch of far-right nonsense. Or maybe people extrapolated his statements to that, then the Kraken was unleashed.

Re: Ruby website redesigned

#187
post #170

Earlier quoted context omitted.

The decorative underlines under the headings on the home page are embedded as content ( tags)!!! Amateur hour.

I say this with love, compassion, grace, and all due respect: Who gives a shit?

It's a website for web devs. Web devs give a shit.

Re: Ruby website redesigned

#188
post #45

Earlier quoted context omitted.

> 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. care to elaborate?

Sure: - images: none are visible above the fold - all should be lazy loaded (like it is done with all conference images) and the pragdave.jpeg one does not need to be that large; - JS: navigation toggle, including chevron rotation can be done in CSS using :has combined with checkbox/radio input. Similarly for header-navigation and theme-toggle (here combined with cookie store). Then toc.js - seems like something easy…

I would generally caution against doing toggles with CSS. While it can be done, it often has surprising effects, and can be difficult to make properly accessible (for example in the case of opening the navigation, I don't believe it's possible to set the correct aria tags to indicate that the toggle is a button that is showing/hiding another element on screen).

Instead, for a brochure site like this, I'd rather have the links just always visible, because this is the reference site for Ruby and I imagine a lot of people find them by searching "Ruby", coving l clicking the homepage, and scanning for the link to the docs/downloads/etc.

Alternatively, if the show/hide feature is really that important, right now I would (a) explore whether it can be done accessibly using the new invoker API, so you don't need JavaScript at all (with a JS fallback), or (b) just do it in JavaScript directly, but with an accessible default if the JS doesn't get loaded properly.

But yeah, the rest I largely agree with. There's a bunch of stuff here that would have been simpler, and arguably also easier, if they'd taken a slightly different approach.

Re: Ruby website redesigned

#189

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…

Man. Haven’t thought about Raku for a while. Does it have a good web framework these days?

The leading web framework for Raku is Cro (https://cro.raku.org) . Cro has deep support for distributed architectures and middleware pipes and a nice templating language.

  my Cro $service; # geddit?
There are others, notably the more lightweight Humming-Bird https://raku.land/zef:rawleyfowler/Humming-Bird

Also, if you want a more opinionated, HTMX centric web application library, then https://harcstack.org was used to make the new https://raku.org site

Re: Ruby website redesigned

#190

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…

Man. Haven’t thought about Raku for a while. Does it have a good web framework these days?

that’s a name I haven’t heard in a while
Post reply on HN