MurphyA/hacker-news huggingface dataset:
by madethemcry | 2025-10-07 18:38:36+00:00
> Just F#$%^& use Rails.

No, just no. Or maybe it depends. But if you want to provide a lovely, modern, interactive frontend, you can't just blindly ignore what evolved on the frontend ecosystem for the sake of your purity. It's arrogant and dismisses all the people who love to craft enjoyable frontends.

Following some thoughts about how to merge Rails and modern frontend approaches and how Inertia finally solved that question for me.

--

I consider myself more frontend focused but I have a deep love for Rails and some advanced experience, for sure less than in frontend though.

I tried hard following the route of hotwire, stimulus and friends knowing that DHH and the rest of the community loves those JS patterns.

Creating reusable stuff, cresting just a little bit more complex components, sharing those components through the UI.. it's just horrible cumbersome, repetitive and far, far away from all those best practices and patterns we've developed in the frontend.

I tried creating a diff viewer with comment functionality with stimulus. It worked, I was kind of proud but it was cumbersome the define components and share functionality. Maintainable? No way.

Then I wanted to create a double list where you can drag items from left to right. It was the hell to include css, js, manage the hierarchy and then I just gave up. I was demotivated by the constant nagging of my brain how much more simple this would have been with a single, simple react/vue component.

Then I went the wrong route: Rails API plus React. That's just giving up on most of what Rails gives you and I wasted ton of my time creating an additional auth layer on top of the session that Rails would give me. And then the horrible duplication of your state. One in Rails and then the same stuff in React. The same nagging in my brain now told me: That's wrong.

And then I found the holy grail of modern Rails development: Inertia.js. I heard about it very often but never at the right time. So I forced myself to try it out.

And here I am: I use Rails with Inertia Rails. I have the full pleasure of Rails but I can create React components that represent any page I like to write in React. Inertia will serialize and pass in the data from my controller. So no state. Just pure UI building.

If you love Rails and the frontend: Try out Inertia. It feels like I'm using the best of both worlds. The layer inertia creates is very shallow and optional. So the risk is low.
by RiverCrochet | 2025-10-07 18:38:40+00:00
> OK, you be you

I don't know what you mean by this.

> But please note that I did not list "online banking becoming impossible" as a likely outcome.

No, but it should be a likely and maybe even desired outcome, especially if a justification for surveillance is the prevention of online banking fraud among other crimes.

> Merely malware continuing to be state-sponsored, or certain communications to be surveilled.

Norms and mores change over time, so the only conclusion is that "certain communications" will become "all communications" at some point in the future. I'd love to be proven wrong.
by JumpCrisscross | 2025-10-07 18:38:44+00:00
> ICE is simply enforcing federal immigration laws

“From January to June, the average number of detainees per day in ICE custody rose 43 percent, to more than 57,000. But since July, when the [OBBA] funding was approved, the detainee population has increased only about 5 percent, to roughly 60,000, the latest statistics show.

The stream of social-media clips showing masked federal agents kicking down doors, raiding Home Depot parking lots, and pulling people from their car have kept up the appearance of an ever-expanding campaign. ICE’s own data show that the agency’s buildup stalled over the summer” [1].

Meanwhile, with first-year deportations around 400,000 [2], they stand to match what Obama did in 2012 [3], despite spending $40 to 70bn, or 10 to 15x, more [4][5].

Instead of enforcing our immigration laws, ICE is involved in domestic policing, partisan intimidation and the illegal detention of American citizens.

[1] https://www.theatlantic.com/politics/archive/2025/10/ice-imm...

[2] https://www.dhs.gov/news/2025/09/23/new-milestone-over-2-mil...

[3] https://docs.house.gov/meetings/GO/GO00/20200109/110349/HHRG...

[4] https://www.ice.gov/factsheets/budget2012 $5.8bn, FY2012, $8.2bn CPI adjusted to ‘25

[5] https://www.snopes.com/fact-check/ice-budget-big-beautiful-b... $45 to 75 billion under OBBBA
by antonvs | 2025-10-07 18:38:56+00:00
There’s been plenty of progress. There’ve been three newer generations since the A53: the A55, then the A510, then the A520.

But what you think of as an old core design is in fact a mature, well-understood, well-tested, widely-supported, cost-effective core design. It also has some features such as in-order execution which none of the newer chips have. From an engineering perspective, it still can make a lot of sense in the right applications today.
by discoutdynamite | 2025-10-07 18:38:58+00:00
How to fix automotive repair:

1. The development and use of "rate books" is de facto price fixing. labor is a cost, and it has a price. Ban them by law.

2. Take the computers away from the engineers. There should be no ability to drag and drop assemblies to reshape them. No ability to make parts that are computed to barely meet requirements.

3. Patent licensing goes to a small flat fee per item per use. How about $1. A modern car can have upwards of 10,000 active patents for all components. All "Design Copyrights" are voided. A good design isnt created, it is recognized.

4. End nearly all "mandatory technologies" and features. Straight from Hayek et al, Incredible Bread Machine on wheels.

t. a Greasy Dirty Technician
by hylaride | 2025-10-07 18:39:03+00:00
Similar story with the infamous NYC case of Kitty Genovese in the mid 1960s, whom was sexually assaulted and murdered. The police claimed dozens of people heard and saw her screams, but nobody did anything. The truth was many people called the police, but nobody came. It was an essentially a coverup, but it did end up becoming a symbol of NYC’s moral decay. The narrative wasn’t officially challenged until many years later. (There is a recent is documentary out there where her brother digs into it all).
by mrshark | 2025-10-07 18:39:05+00:00
Hot take, rails is much better as an API only, and do something else for serving your frontend. It comes down to the fact that there is no clean and bulletproof solution for building responsive websites anywhere.

You could do the exact same breakdown describing the pieces of rails you need to learn to accomplish the same things, just because they are more separated libs in the front-end doesn't mean the problem is simpler if you solve it with rails' chosen tools vs the popular npm solutions.
by ksajadi | 2025-10-07 18:39:16+00:00
This is cute but fails to mention how many times in the life a rails application we have to go from bundler to webpacker to sporkets to Propshaft and importmaps to jsbundling. Or from autoloader to zeitwerk or from Turbo to Hotwire and god knows what else.

Take a look at ads on rails newsletters and how many of them are professional services to upgrade your rails app.
by tbrockman | 2025-10-07 18:39:39+00:00
Not to comment on the rest of article or the author's goals, but it's absolutely possible to use a content script (dynamically injected into the `main` world, as opposed to the default `isolated`, for example: https://github.com/tbrockman/browser-extension-for-opentelem...) and Proxy's (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...) to hook (most? if not all) Javascript being executed in the webpage transparently.

Which for some functionality would have been a bit more portable and involved less effort.
by JumpCrisscross | 2025-10-07 18:40:20+00:00
> Why aren't they using the official lawful interception interfaces?

They may not want to leave a paper trail.

“To obtain a [legal] wiretap order, law enforcement must demonstrate probable cause to a judge” [1]. Given ICE has been arresting Americans, they probably aren’t bothering with cause. Legal intercepts also require “minimization procedures to limit the interception of conversations unrelated to the investigation,” which ICE may not want to do. And perhaps most importantly, “violations of 18 U.S.C. § 2511 are considered federal felonies,” with those convicted facing criminal penalties and being subject to civil liability.

I hate to make this analogy, but it’s akin to the Gestapo’s NBH obsession. They knew they were acting illegally, and didn’t want to leave the evidence that would convict them.

[1] https://legalclarity.org/what-is-wiretapping-and-when-is-it-...
by xwowsersx | 2025-10-07 18:40:22+00:00
You're totally right. I left out the important context. I'm learning linear algebra mainly for applied use in ML/AI. I don't want to skip the theory entirely, but I've found that approaching it from the perspective of how it's actually used in models (embeddings, transformations, optimization, etc.) helps me with motivation and retaining.

So I'm looking for resources that bridge the gap, not purely computational "cookbook" type resources but also not proof-heavy textbooks. Ideally something that builds intuition for the structures and operations that show up all over ML.
by derefr | 2025-10-07 18:41:36+00:00
> I'm not quite sure why you'd want to run Erlang on it, but the hardware exists.

https://nerves-project.org/#features has a decent pitch for why. (Most of the features listed here aren't features of Nerves-the-Elixir-IoT-runtime-codebase per se, but rather benefits of Nerves-the-toolchain enabling you to easily build lean, embedded Erlang [on Linux] firmware images.)
by ModernMech | 2025-10-07 18:41:39+00:00
Education is weird as a product, because you're delivering the same experience to students but they each pay a different bespoke price. Sometimes schools even pay their own customers!

When a rich person sends their kid to school they get charged full sticker price. Then schools use some of that money to subsidize the educations of the other students. Given those dynamics, there's really no reason for the tuition sticker price to ever go down unless the uber-rich can't afford it anymore, because the actual price anyone pays is floating and can be whatever it needs to be for them.
by dan000892 | 2025-10-07 18:41:44+00:00
> the first stage of the [Minotaur IV] was manufactured in 1966.

Was it? Minotaurs repurposed components of Peacekeeper missiles. Development of the SR118 first stage motor—reused as the first stage on Minotaur IV—didn’t start until 1978. [1, pg16]

[1]: https://ntrs.nasa.gov/api/citations/20120016230/downloads/20...
Show HN: Color Palette Pro – A synthesizer-style color palette generator
by royalfig | 2025-10-07 18:42:05+00:00
In 2023, I tried building dynamic color theming by programmatically rotating HSL values. The results weren't good—garish combinations, inconsistent luminosity, completely unusable for UI work.

That kicked off a two-year (sporadic) rabbit hole into color theory like Josef Albers' "Interaction of Color," perceptual color spaces (OKLCH vs sRGB), and effects like Bezold-Brücke. I learned that programmatic palette generation is genuinely hard. Nothing beats a trained eye.

But I carried on anyway and made the Color Palette Pro.

What it does: It generates 6 palette types (analogous, complementary, split complementary, triadic, tetradic, tints & shades) with 4 algorithmic variations each. The variations adjust for perceptual uniformity—things like how your eye perceives hue shifts at different lightness levels.

It's built on OKLCH color space, which is perceptually uniform unlike HSL/sRGB. Every state change updates the URL, so you can share exact configurations. There's also a UI mode that generates complete design system palettes (light + dark themes with surface/on-surface colors).

Technical bits: * Built with Color.js (the TS library by Lea Verou and Chris Lilley, who co-edit the CSS color spec) * Custom API for color naming that finds nearest matches from a compiled color name database (pizza based) * Eyedropper API support (where available) * Exports to CSS variables, images, or just copy individual values

What's different: Most palette generators either use naive HSL rotation, offer poor ergonomics, or both. This tries to balance algorithmic generation with perceptual adjustments while staying flexible. The "synthesizer" interface with knobs and variations lets you quickly explore options rather than regenerating from scratch (and it's fun!).

Not every palette it generates is great—like I said, this doesn't replace a trained eye. But it's a decent starting point.

Totally free, no ads, no pro AI features.

Try it: https://colorpalette.pro

Learn more -> https://ryanfeigenbaum.com/color-palette-pro/
by IshKebab | 2025-10-07 18:42:17+00:00
It's not so bad if you're doing it professionally because you pretty much set it up once and you're done. But yeah it's annoying for one-off projects or if web dev isn't your main job.

That said you can avoid it. I wrote a website using Fresh (https://fresh.deno.dev/) and that was the only thing I needed. Incredibly simple compared to the usual Node/Webpack mess. Plus you're writing in Typescript, and can use TSX.

I probably would set up ESLint if multiple people were working on the project. But you can definitely start without anything else.
by Tepix | 2025-10-07 18:42:21+00:00
Perhaps as a consumer i don't want the risk of these fluctuating prices. See what happened in Texas…

That said, I do have 2kWh of battery for my balcony solar (it cost only a few hundred euros and prices are coming down even further), so I can spread the usage of the generated power over a longer timespan, not just during peak sunshine.

Of course, balcony solar is only for small installations. For home owners, you'll probably want something like 10+ kWp of solar panels and 10+ kWh of battery. Both of which are no longer very expensive(§). Once enough households have this, we only need those gas power stations for those rather rare periods where there is neither wind nor sun. We can also use EVs as batteries for the grid once V2G finally arrives (that's something the big utilities are stalling).

--

(§) See what CATL is doing: $40 per kWh in the near future: https://www.nextbigfuture.com/2025/08/catl-sodium-ion-batter...
by jama211 | 2025-10-07 18:42:23+00:00
Speak for yourself, I tried again to switch to Linux last year with standard Ubuntu and had multiple issues, the machine wouldn’t wake from sleep, would lock up with a grey graphics glitched login screen when locked, I tried to upgrade the OS and it broke all my graphics drivers, after I spent another few hours trying to fix it (and seeing a lot of very unfriendly and unwelcoming “help” from the Linux community), and running into other issues I didn’t list here, I gave up and switched back.

I’ve been a multi-os user for years, tried Linux on and off, but for now I have a windows machine I just use for gaming and a mac that I use for development and everything else. The truth if I struggled as much as I did and I’m a software developer with years of experience with this stuff, the dream of the general public using Linux is doomed. Every few years I hope Linux has gotten its act together so that it can actually grow again, but it’s still behind the times.

But my experiences aside, the truth is 99% of people would rather just make a Microsoft account than have to learn and switch to a whole new OS. It might be the breaking point for you, but that doesn’t mean it’s the breaking point for many. If the Linux community continues to stay blind about this and about the very real problems people experience that they insist aren’t problems, then they’ll continue to have a tiny market share, that’s all there is to it.
by __MatrixMan__ | 2025-10-07 18:42:31+00:00
Why not?

If you're trying to compete with some country who can do things that you can't and there's nobody to be found who knows how to do the thing, isn't teaching your people the obvious thing to do?

The cost of not doing so will be cumulative, so sooner or later the ROI will be there. It's just a matter of how bad things need to get first. That is, unless there's something else we've got going for us that we can fall back on, but I'm not sure what that thing might be--we've been busy dismantling contenders for the job lately.
by incomingpain | 2025-10-07 18:43:27+00:00
I couldnt tell you what am radio channels are available near me. I expect that's pretty true for the majority of people.

I consider, is it really essential anymore? I suppose I own an emergency solar powered radio but if a hurricane happened. does that reallyt change anything?

Instead, we should deregulate AM radio. Make it free to use. Government is squashing it into non-existence most likely to free it up for other usage.
by johnfn | 2025-10-07 18:43:45+00:00
> (John runs a single command. The app boots instantly, working forms, instant loading times, blazing fast navigation.)

Sure it does. If you're not using Vite, how are you bundling? Oh, you're not bundling? I guess that means you're not using TypeScript? Interesting, how do you catch errors? Oh you just let things crash in production? How do other engineers understand the intent behind your code? Oh they don't I see. If you're not using React, what are you using? Vanilla JS? Have you considered that it's a statistical fact that every single person who has said "I don't need React, it's just a big complex mess, I'll just invent it myself" ends up creating an informally-specified, bug-ridden, slow implementation of half of React? Oh you don't use Prettier? OK, how are you formatting your code? Oh you're not, it's just a giant mess? Oh you're not using ESLint, interesting, how do you keep code consistent across your team? Oh that's not a concern? Hm.

Almost every technology in the article exists for good reason, and solves a real issue[1]. Maybe not an issue the author has encountered, but the author shows no understanding of the issues they are solving, and the final "punchline" implies that anyone could just toss all this tech out and improve their developer experience. "Learn the rules before you break them" applies here.

This is an uncurious article which mocks at abstractions rather than taking the effort to understand why they exist.

[1]: OK, I do think some abstractions are more trouble than their worth. But why did the author choose all the reasonable ones, like React? Why not dunk on Angular, I mean come on!
by pansa2 | 2025-10-07 18:43:47+00:00
IIRC Brendan Eich has talked about this - if he’d adopted Lua in 1995 instead of creating JavaScript, it wouldn’t have been Lua 5.x but Lua 2.x.

Lua has improved substantially from version to version because it’s been able to break compatibility. That wouldn’t be possible in the browser, so today we’d still be stuck using (an augmented version of) the outdated Lua 2.x.
by ludicrousdispla | 2025-10-07 18:44:07+00:00
My experience with G/T programs, both as a student and as a parent, has been:

1. the teachers have much more freedom in developing the curriculum which I assume is because their incoming students have a fairly high baseline proficiency in all of the required subjects.

2. bad teachers often get assigned to the G/T classes under the assumption that they can't do as much damage (which I can guarantee you is not the case.)
by burkaman | 2025-10-07 18:44:11+00:00
No, she would not have any success. Take a look at this list and think about the sheer number of companies she would need to sue: https://artificialanalysis.ai/text-to-video/arena?tab=leader.... You'll see Google, one of the richest companies on the planet, and OpenAI, the richest private company on the planet. You'll see plenty of Chinese companies (Bytedance, Alibaba, Tencent, etc.). You'll also see "Open Source" - these models can't be sued, and removing them from the internet is obviously impossible.

The most these lawsuits could hope to do is generate publicity, which would likely just encourage more people to send her videos. This direct plea has that risk too, but I think "please don't do this" will feel a lot less adversarial and more genuine to most people than "it should be illegal for you to do this".
by schoen | 2025-10-07 18:44:14+00:00
It's difficult to entrench things. In the UK they have often said "one Parliament can't bind another Parliament", and in the U.S. it's also sometimes said "one Congress can't bind another Congress".

The most obvious mechanism is a constitutional amendment, but in the U.S. the only amendment to be drafted and adopted in modern times is the 26th amendment (1971), 54 years ago. (The 27th amendment had a weird status where it was belatedly adopted with a 200-year delay.) It's hard to imagine many constitutional amendments actually being passed now because it's been challenging to find consensus on many things within U.S. politics lately.

I don't know that the EU at a supranational level has any mechanism at all to ban future EU directives. Maybe they could decide to remove something from the list of areas of competence of the EU? But Chat Control is under the "Area of Freedom, Security and Justice" and I can't imagine the EU deciding that that should be abandoned as an area of Union competence.

Edit: The international human rights treaties, at least in regulating law enforcement, have tended not to follow the idea that some kind of regulation or law enforcement power is completely off-limits, but just that they need procedural safeguards -- especially for surveillance and investigatory powers. In this case, Chat Control opponents (including me) would like it to be completely off-limits, but the human rights instruments arguments might more naturally go into "did they create enough surrounding rules and mechanisms about how it's used and how it's regulated?" rather than "can we just say governments just can't make this rule?".
by sharts | 2025-10-07 18:44:16+00:00
If customers just start bugging Microsoft devs directly as though they are customer support (which…technically they should be since they built the product) then maybe productivity would grind to a halt. When all the MBAs running the show start seeing all their JIRA dashboards full bad news then perhaps they’ll think twice?

Heck if the McDonald’s CEO and family were required by law to eat their own McDonald’s product for 80%+ of daily caloric/macro intake, then we would probably see things change quickly.

Companies that can’t run at a particular scale should definitely not be enabled to do so. But sadly, we seem to not hold them accountable, directly.