xutopia

Joined 19 years ago

Karma
4,682
Submissions
1,398
Member since
Aug 6
Programmer and manager, father, amateur cook and volleyball player.
View on Hacker News

Recent submissions

Comment · 2 days ago
It's funny I don't live in the USA and my own neighbour sold his Tesla after the Nazi salute. The brand worldwide is suffering and sales are dropping everywhere, not just in the USA.
Comment · 3 days ago
I remember Steve Jobs saying something about how silly it would be.
Comment · 10 days ago
The HTTP layer is very much Axum. The Loco documentation doesn't explain Axum for that reason but really it takes a day or two to familiarize yourself with it.
Comment · 10 days ago
I have an and absolutely love it. Rails dev for 20+ years. The conventions are drop-in replacements for a Rails app. Aside from using different commands in a day-to-day it's pretty much the same thing but so much more performant.

One Rails app used ~700MB of RAM at peak (live speed dating events with emails and heavy Hotwire/Turbo Streams use). I converted it to Loco with HTMX and the app now uses about 60MB at peak and benchmarks show 30x the traffic possible on the same hardware.

What more my CI/CD pipeline runs about 5 times faster including my entire test suite (TDD with hundreds of tests and BDD setup with about 60 scenarios running headless chrome). On a day to day while doing development my unit tests feel nearly instant.

Also Rust isn't as pretty on the eyes as Ruby but me downgrading my VPS server from 4GB to 2GB is something I benefit from when I'm away from my computer.

If you're a Rails developer nowadays I don't see the benefit of the framework anymore.

Comment · 10 days ago
Josh is right. ActiveRecord, MVC, Front Controller(router + ActionDispatch), Template View(ERB) as well as a lot of what works under the hood in ActiveRecord comes from that book.

Though when I mean conventions I also mean where files are placed, how tables and fields are named, how migrations work and how DRY is part of the framework through and through.

A Loco app doesn't require fiddling with the database at all to replace its Rails counterpart. Hence why this naming of project confused me.

Comment · 10 days ago
Loco is a Rust framework that adopted all Ruby on Rails conventions and they're applied through and through. The naming of this project confused me.
Comment · 10 days ago
This has been less and less true for a while now. The jump from 5-6 and forward have been pretty smooth for big projects I maintained. From 2-5 was quite painful... especially from 2 to 3.
Comment · 10 days ago
Rails developer for 20+ years.

I converted 3 of 4 apps running on a 4GB VPS to Loco (short for Locomotive: a Rust framework using the Rails conventions).

I am really happy with the switch.

Heaviest app went from 700MB of RAM usage at peak to 60MB and can handle 30x traffic before it hits an I/O wall.

I save 20$ a month because I downgraded my VPS to 2GB and am now able to fit new projects that sat underplayed on my personal machine because I couldn't fathom paying for a larger VPS. I could easily run 4x the amount of projects on half the system I used before.

As a Rails developer for 20 years this is a bittersweet moment. Rails was truly wonderful in its heyday and I could run circles around larger teams and do in a day what could take months for them. This advantage was eroded as people opted for Javascript frontends and then accelerated with graphql.

The advantages were then nullified with LLMs taking over code generation. With RAM prices tripling in 18 months I think the web framework that is hungriest just won't make any financial sense over other systems. The only reason I stayed with Rails was because of the conventions and my love for Ruby. I'm sad to being reading Rust instead of Ruby now but it's a drop in the bucket of my considerations.

Comment · 25 days ago
What kind of machine does one need to run this model? What's the usual setup someone would have for running this?
Comment · 1 month ago
Wow those are some nice applications! Thanks for sharing this!
Comment · 1 month ago
You're right that some are way too acidic and astringent. Usually the kind that you'd age for longer and have more complexity would make poor juice but excellent wines.

There are plenty of varieties of grapes that do well as juice and wine. It's just the type of wine that you'd age very little because it would lose the acidity and temperament too quickly if aged.

Comment · 1 month ago
What's wrong with mentioning it?
Comment · 1 month ago
I find it ironic that I am attempting to read an article that says what it says while 80% of the screen is ads and asking me to register to their notifications.
Comment · 1 month ago
As stated by another comment Elon Musk's mother posted an AI-edited photo marked as such. It got edited right away to remove that label.

There are ample reasons to believe that Elon Musk is running his mother's account and that the photos weren't even real putting in question that he even had a birthday party.

If you ask Grok about what this means it will always take Elon's defence. It will vehemently deny that Elon would be capable or willing participant of such a thing even if you point out that he faked being a world class gamer, buying accounts that had done all the work and showing none of the skills when live-streaming.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton