HNHacker News
TopNewBestAskShowJobs

montroser

3,626 karma · joined December 27, 2018

submissionscomments
montroser··on Driver livestreams on TikTok as she apparently hits and kills man in Chicago
Listen to the radio and use a map? Driving is a privilege, not a right. Or just don't run people over while livestreaming and you can keep your Apple Maps and Spotify.
montroser··on Driver livestreams on TikTok as she apparently hits and kills man in Chicago
Yeah, because it's just extra stupid and tragic. If kids are involved then the extra sentence should quadruple.
montroser··on Driver livestreams on TikTok as she apparently hits and kills man in Chicago
We now need an ignition interlock device for these people -- that will shut down the car if there's a phone inside that's not in airplane mode. Like they have for DUI doofuses.
montroser··on Friendly attributes pattern in Ruby
Ah, that's good to know! Yeah, he was wrong about a lot of stuff, so that adds up. He ended up in jail for a stint.
montroser··on Friendly attributes pattern in Ruby
This is...not for me. It follows a big pattern in Ruby/Rails culture where to understand the code, you first have to understand the magic. And, it's never all that obvious where to go to try and understand the magic, because the magic itself has been imported by magic.

I once was hackathoning with a colleague who was trying to get me excited about Rails, and he said, "look how great this is -- if you want the idea of '1 day', you can just write `1.day`!". I opened up a irb to try it out, and it didn't work. We were both confused for a bit until he figured out that it was a Rails thing, not a Ruby thing. That Rails globally punches date/time methods into integers, which he thought was cool, and I thought was abhorrent. I asked, "okay, if I came across this code, how would I be able to know that it came from Rails?" He said, there wasn't any way to really trace a method to its source definition, you just kinda have to know, and I decided this whole thing was too much of a conflict with my mental model for how humans and code and computers should work together.

montroser··on Meta projected 10% of 2024 revenue came from scams
Social media is hardly a public utility. Regulation could be part of the picture, but at some point the nanny state is the greater of evils.
montroser··on iOS 26.1 lets users control Liquid Glass transparency
So, so, much money, time, and resources poured into this update that only made things worse; and now again to roll it back...
montroser··on Websites Are for Humans
How do you know?
montroser··on How to turn liquid glass into a solid interface
These settings are only half interesting. In iOS it's not bad, but on desktop there's really no actually usable set of configuration parameters that result in a sane experience across the board.

It is amazing how much time and effort must have gone into developing this liquid glass and rolling it out across products and platforms, all for a worse outcome in the end.

montroser··on Incident with Webhooks
To run your github actions locally, we've had decent success with this tool: https://github.com/nektos/act

Just be warned if you try it out that if you don't specify which workflow to run, it will just run them all!

montroser··on Why many young adults turn on TV or movie subtitles, according to a new poll
The actual breakdown as to why is buried behind a click here: https://apnorc.org/wp-content/uploads/2025/09/CHART-2-3-1481...
montroser··on Cleaning house in Nx monorepo, how i removed unused deps safely
> I want a reproducible, deterministic result of a known state

Yes, that's `npm ci`.

With a fresh `npm install` you get the latest packages that satisfy dependencies in the ranges spec'd in package.json. That's basically a crap shoot because even if you specifically pin the versions of all your dependencies, chances are that at least some of your dependencies did not have the good sense to do the same for their dependencies. This is the path to hell.

With a fresh `npm ci` on the other hand, you get back exactly to the known state specified in package-lock.json, where everything is pinned, all the way down. This is the path to happiness.

montroser··on YAML document from hell (2023)
As the article points out with the `on` example, you really have to quote yaml keys as well, if you want the defense to work...
montroser··on Less is safer: Reducing the risk of supply chain attacks
This is obviously the way to do it, assuming you have the skills and resources to operate in this manner. If you don't, then godspeed, but you have to know going in that you are trading expediency now for risk later. Risk of performance issues, security vulnerabilities, changes in behavior, etc. And when the mess inevitably comes, at whatever inopportune time, you don't really get to blame other people...
montroser··on Less is safer: Reducing the risk of supply chain attacks
Yes, you are responsible for all the code you ship to your users. Not pinning dependencies is asking for trouble. It is literally, "download random code from the Internet and hope for the best."
montroser··on Twitter.com has a 302 redirect to X.com, Not a 301
Redirects of the 301 variety are inherently risky, since they are extremely hard to "undo". Browsers and proxies and everything else will (rightfully) cache 301's indefinitely and forevermore, since by definition, they are meant to be permanent. But "forever" is a very long time, and business objectives change, and fashion changes, and political and cultural climate changes... And so we tend to prefer to the 302 variety, even when it's a pretty sure thing.
montroser··on The Claude Code Framework Wars
It's kinda the same as real life project managers.
montroser··on Claude for Chrome
Hard pass, thanks. Claude code can be pretty amazing, but I need those guide rails -- being able to limit the scope of access, track changes with version control, etc.
montroser··on Is air travel getting worse?
Average passenger circumference has also increased.
montroser··on We keep reinventing CSS, but styling was never the problem
The solution is already here, and it's totally fine: Use utility classes just for layout (margin, padding, etc); use scoped styles for your components; use a small set of globally available classes for styling native elements (buttons, etc) -- and you're good!

Vue and others have had scoped styles for a long time. Now @scope is spec'd with improving browser support. All this pain in TFA is from people flailing with all of the many bad options that pervade the React ecosystem.

montroser··on My DIY modular charging station
What I really want is for all of my outlets to have one A/C and one retractable usb-c cable. So the cables are exposed when in use, but coiled back into the wall otherwise. When will my dream come true?
montroser··on Passkeys are just passwords that require a password manager
It's probably not a grand plot at this moment. But yeah, it seems like I'm going to eventually be forced to involve a third party in my login processes, and it will come with not much benefit to me, and will come with a bunch of risks and downsides.

It might actually be net positive across the Internet, especially for the most vulnerable people. But at the same time, it could also easily become yet another source of sweet behavioral data ripe for abuse by big tech and government

montroser··on Cucumber lets you write automated tests in plain language
Yeah, it basically just means that now you need both a business person /and/ a dev to hold their hand in order to write tests. Business people have business things to do and don't really want to spend their time writing tests anyway.
montroser··on Do not download the app, use the website
The author is not contesting that the app experience is better. Yeah, the web experience is worse -- because the product people are treating the entire web presence as a _marketing surface_ for the app. So, the web version is basically an ad for the app. This is true of Reddit, Yelp, and others. How could it not be worse?

It's too bad because it's not like the web is incapable of providing a beautiful ux for those products. But then so why do you think these companies employ massive teams of devs, for Android, and then again for iOS, reimplementing their functionality on every platform? All that to provide you with that sweet extra smooth native "feel", 2% nicer than the web could do? No, it's not for you...

montroser··on DaisyUI: Tailwind CSS Components
Yes to all you have written here. That helps me feel less insane.

If React had scoped styles like Vue has, I don't think tailwind would have gained such traction. Lack of scoped styles in native CSS has always been a fundamental shortcoming (always, except for the brief moment in like 2013 when @scope was spec'd and implemented, only to be snuffed out shortly thereafter). But it's coming for real now, maybe...

montroser··on Linux and Secure Boot certificate expiration
And what is the purpose of expiration in this case?
montroser··on Most RESTful APIs aren't really RESTful
Discoverability by whom, exactly? Like if it's for developer humans, then good docs are better. If it's for robots, then _maybe_ there's some value... But in reality, it's not for robots.

HATEOAS solves a problem that doesn't exist in practice. Can you imagine an API provider being like, "hey, we can go ahead and change our interface...should be fine as long as our users are using proper clients that automatically discover endpoints and programmatically adapt accordingly"? Or can you imagine an API consumer going, "well, this HTTP request delivers the data we need, but let's make sure not to hit it directly -- instead, let's recursively traverse a graph of requests each time to make sure this is still the way to do it!"

montroser··on Show HN: I made Logic gates using CSS if() function
Neat. But side note: do we really need if() in CSS? Like, the complexity that adds is going to be worth the functionality it brings? It's introducing a whole new paradigm to solve what real problem?
montroser··on Pet ownership and cognitive functioning in later adulthood across pet types
Isn't it hard to conclude that this is causal? How do we know we're not just seeing that the set of people who elect to take on the responsibility of walking, feeding, and socializing with a dog are likely to see a slower cognitive decline? That they take on dog ownership because they're sharp and capable -- not the other way round.

Intuitively, I do believe that being forced to walk a dog every day when you might not have otherwise exercised, will come with health benefits. And it does not seem implausible for their findings to be true. But did they actually prove anything here?

montroser··on Using an $8 smart outlet to avoid brainrot
I had the script call the phone, and set the phone to "emergency bypass" for that incoming number and set the ringtone to alarm bells
← PreviousPage 7 of 21Next →