HNHacker News
TopNewBestAskShowJobs

NickM

2,672 karma · joined May 4, 2009

submissionscomments
NickM··on Cooking items in your home are linked to cancer-causing chemicals
Great, good for you, but what's your point? Lots of folks do enjoy takeout, and it's absurd to blame the individual when the fault is clearly with the plastic manufacturers secretly poisoning people.
NickM··on Cooking items in your home are linked to cancer-causing chemicals
You're ignoring the fact that lots of people really like getting takeout. There's nothing inherently wrong with wanting to pay someone else to cook a nice meal for you.

The answer shouldn't be "nobody who likes takeout gets to enjoy it anymore without being poisoned," the answer should be "plastic manufacturers should be stopped from secretly poisoning people."

NickM··on Cooking items in your home are linked to cancer-causing chemicals
The article also cites plastic takeout trays as a problem though, which is harder to avoid unless you're willing to simply never order takeout from a large percentage of restaurants.
NickM··on Solving climate change by abusing thermodynamic scaling laws
The answer is an acre of solar panels produces 25-50 times more energy than corn.

This. It's widely underappreciated how much more efficient solar panels are than plants at harvesting sunlight.

Forget amino acids, those are hard; if we could even just create sugar directly from electrical energy we could save a shit ton of corn being grown and turned into HFCS.

NickM··on X redesigns water pistol emoji back to a firearm
Yeah, stuff like this just should not ever be changed in this way, IMO. It shouldn't have been changed in the first place, but two wrongs don't make a right either, it just makes the problem even worse.

If we have older communications that use an emoji, it can retroactively edit the meaning if that emoji renders to a fundamentally different object than it used to, so this kind of change has the side effect of rewriting history unless people take extra care to only use fonts that match the age of the document.

It's already hard enough to communicate clearly and effectively in the modern world without having the rug pulled out from under us with stuff like this.

NickM··on The sad state of property-based testing libraries
There are some tests where you’re right, but often the tricky part is shrinking failing cases. If you only want to generate sequences of state transitions that are considered “valid” then you typically have to have some sort of model state that dictates which test steps are valid for a given state, and you need to make sure that you don’t remove test steps during shrinking in a way that triggers a spurious failure by violating the preconditions that you followed to generate each step originally.

If any operation is valid in any state and you just want a totally random sequence of arbitrary operations, then yeah a stateful proptest framework may be overkill. But if you need to maintain a model state and specify preconditions for different operations, having a dedicated framework saves a lot of work.

I wrote a blog post about this stuff last year, if you’re interested in some more in-depth examples: https://readyset.io/blog/stateful-property-testing-in-rust

Also, as others have mentioned, parallel state machine testing is another really cool benefit you can get from having a dedicated framework, but it’s not the only benefit.

NickM··on Most investments are bad. Here's why
The headline thesis seems reasonable, but they lost me as soon as they started comparing USD to gold. Gold is just such a weird special-case thing in economics that it seems very hard to draw interesting conclusions about anything else when you're opening up the discussion with using gold as a benchmark.
NickM··on Tesla Cybertruck deliveries halted for 7 days
pretty trivial

It doesn't matter how trivial it is to override a stuck pedal, it's still a serious hazard, because even if you have the option to shift into neutral a driver may not think of that or may not react in time.

It's also trivial to override it in the Cybertruck: just press the brake pedal. Braking is hard-coded to cut off the accelerator, so if both pedals are pressed the brake wins and the accelerator is ignored. Still a big problem though.

NickM··on Physically attractive attorneys tend to have greater success in federal court
There was a great short story by Ted Chiang about the biases that surround physical attractiveness. In the story, people could have a brain implant to suppress the brain’s ability to judge other's beauty (or lack thereof). It was pretty thought-provoking and not the typical predicable dystopian parable that most brain modification stories fall into.

I find it fascinating that people seem to care so little about this particular bias when compared to other types of discrimination.

NickM··on U.S. imposes first-ever national drinking water limits on PFAS
Maybe RO becoming part of the standard set of things you buy (washing machine, vacuum cleaner etc.) is the way.

It just seems really sad that society is moving away from "let's fix it for everyone" toward just giving up and saying "the only solution is everyone for themselves." Like, surely it would be much more efficient and cost-effective to improve water filtration at the municipal level rather than expecting everyone to buy and maintain their own individual filtration systems....

NickM··on US court blocks EPA order to eliminate PFAS in plastic containers
you're saying this is a good thing

I don't think the parent comment said that. They just said that the rules were set this way deliberately, and that it's not just a loophole, which is an interesting and informative thing to point out.

I don't like the outcome, nor do I like the system that enabled it, but it's useful to have a deeper understanding of why things are the way they are.

NickM··on Tesla releases Q1 2024 deliveries: disastrous results
Yeah, I think that's a great idea, I would love to see that happen.
NickM··on Recreating the Flying Toasters screen saver for the Vision Pro
Couldn't help noticing the app size is ~150MB - not sure if this is something you can avoid, or if maybe all AVP apps automatically include a lot of extra cruft, but it feels like surely an app this simple shouldn't have to be that big?
NickM··on Tesla releases Q1 2024 deliveries: disastrous results
Yeah, I mean sure, maybe that's all there is to it, but he's been a high-profile asshole for years now. He's definitely changed, but that change happened years ago, it's not a new problem.

I guess it's possible that maybe it's just taken this long to catch up with him though.

My two cents are that it's more important to support the company that's building the best EVs, and the positive impact Tesla has on the world is way bigger than whatever negative effects Elon's tweets are having, but I can definitely relate to folks' discomfort. I wish we had the old Elon back.

NickM··on Tesla releases Q1 2024 deliveries: disastrous results
Right, of course, $40k is not cheap in absolute terms. But for a luxury long-range AWD electric crossover, it's significantly cheaper than the competition (at least here in the US), and also much cheaper than the same car cost a year ago.

My main point is that if prices have come down a lot, yet Tesla is now selling fewer cars than before, then it seems like there must be other factors in play besides price.

NickM··on Tesla releases Q1 2024 deliveries: disastrous results
FWIW they had some insane discounts toward the end of March, to the extent that I'm not sure high prices is the problem. I bought a new long-range AWD Model Y myself a couple weeks ago because between the discounts and tax credits I ended up paying under $40k (would've been around $36k but even after sales tax and fees and stuff it was still only around $39k).

At those prices I'm not sure how they aren't selling more cars. For the amount of range and functionality you get, that kind of deal blows the competition out of the water; no other EV I'm aware of comes close. (That said, I have no idea if they still made much of a profit off that car or if they were just desperate to clear out space.)

NickM··on Cancer signs could be spotted years before symptoms, says new research institute
Cells mutate and become cancerous all the time, but the immune system is usually able to recognize this and shut down the errant cells before it becomes a problem. It's only when the cancer gets lucky with the right site of mutations that it's able to evade the immune system and grow unchecked.

Early diagnosis would obviously be a good thing if we can reliably tell which cancers will become a problem. My concern is that most patients may have a hard time understanding this distinction, and we may end up with people demanding screenings and treatments that they'd be better off without.

In case anyone thinks these fears are unfounded, keep in mind this is already a problem with thyroid cancer. Thyroid cancer is very common and frequently harmless, but increased screening is leading to more people being treated for it, and it's unclear whether this is a net benefit.

NickM··on How have you found purpose in your life?
So you're saying that there cannot possibly be any other purpose in our lives outside of biology because we have a lot of DNA in common with monkeys?

I just don't see how that follows. It's like saying "computers are useless for any applications outside of pure mathematics because every operation a CPU executes is mathematical in nature" or something.

NickM··on How have you found purpose in your life?
This seems like a pretty controversial statement to be making with no additional context or justification. Why do you believe this?
NickM··on How have you found purpose in your life?
We all die eventually, but if you dedicate your life to something bigger than yourself, then you can feel like your life was for something and that a part of you will live on.

Historically, many people have gotten this sense of "something bigger" from things like kids/church/patriotism/etc. But you don't necessarily need things external things like this. I used to feel a sense of purposelessness like you, but I've gotten a lot of satisfaction from trying to live my life according to a set of higher principles.

What frustrates you in life? If conflict bothers you, try to find ways to foster peace and cooperation between others. If ignorance bothers you, try to find ways to teach others, and spread knowledge that you feel is important. If inequality bothers you, find ways to help effect change in the world. These are just examples; I have my own things I care about, but that's not important, as you might be completely different.

The possibilities are endless, so don't expect to figure out what works for you right away. It takes time to figure out what principles resonate with you, and it's not trivial to create a personal code to live by, but I believe it's totally worth it.

NickM··on Violent crime is dropping fast in the U.S. – even if Americans don't believe it
It is really scary that peoples' perceptions of reality seem to be getting less accurate over time, especially in regards to important issues like crime levels and the health of the economy.

The success of democracy depends on people being able to elect effective representatives, and if people can't even accurately perceive what's happening around them in the world right now then I just don't see how we can expect people to make remotely informed decisions at the voting booth :-(

If I had to guess, I feel like this problem is stemming from social media, both due to it spreading misinformation and due to it acting as an echo chamber that amplifies negative sentiments in general. I don't know if this is really what's going on though or if there's some other explanation for this phenomenon. I wish there was something I could do.

NickM··on Claim: the ideal PR is 50 lines long
Okay, let's try for a more concrete example. Suppose you're writing a new feature, and the bulk of your PR is a one-off 1,000-line function that does ten different things in sequence.

If you can factor out that big long function into ten smaller functions that are each useful in isolation, then your code is probably going to be a lot easier to understand, regardless of how your structure your commit history. Future code reuse is also easier. Testing each function in isolation may be simpler as well.

Once you do all of that, putting each of the standalone functions in its own commit is trivial, and each commit can have a more focused commit message. Reviews are easier too, since you can easily view each function and its associated docs/tests/etc separately.

Local optimization on these sorts of metrics are pretty much always going to lead to perverse outcomes.

Again, this is a straw man. Nobody is saying to blindly optimize to the metrics, or that this is a black-and-white thing where every commit needs to fit within a hard line limit. But, all else being equal, I've personally found that my code quality improves when I try to break things into smaller independent changes. I also find it much easier to review PRs where other people do that.

NickM··on Claim: the ideal PR is 50 lines long
Lots of commenters seem to be arguing against straw men. The article doesn't say "you need to follow this exact rule on all your PRs"; it doesn't frame any of this as a hard limit or a "best practice", it's just saying that small PRs are easier to understand and review. This doesn't seem terribly controversial to me. The fact that the article actually includes data in support of this thesis is icing on the cake.

Now, yes, it can be a bit more work to split up big PRs into smaller standalone changes that can be merged in isolation, but it seems plausible that the benefits might outweigh the extra work in many cases. The whole idea of a version control system is to create a useful history of changes over time; making each individual changeset simpler and easier to understand seems like an admirable goal.

NickM··on I'm sorry, but omnidirectional treadmills can't work and here's why
The article addresses this exact question.
NickM··on Syphilis microbe's family has plagued humans for millennia
This all sounds great as a “just so” story but then you have species like Bonobos that are one of humanity’s closest relatives and they are pretty much the opposite of monogamous. So clearly it’s not naturally inevitable that intelligent species with complex social structures end up with monogamy as the norm.
NickM··on [dead]
Is there actually anything special about 1.5°C specifically? Sure, if there's more warming it will be bad, and if there's less it will be less bad. But is there some magical threshold at 1.5 or is that just something people came up with because they thought it might be achievable?

It feels like we keep setting arbitrary limits/deadlines for ourselves and then people get demoralized when we miss those limits, and then we set a new limit and the cycle repeats. So like, I'm really not sure if continuing to push these specific goals in terms of PPM or °C or whatever is actually helping anything, or if it just makes people feel helpless and want to give up when it turns out that the current aspirational benchmark-of-the-day might not be met.

NickM··on Backing up the power grid with green methanol
I've definitely wondered about doing similar things with renewable methane generation, which has the advantage of being able to also reuse existing natural gas infrastructure (and therefore lets people keep their precious gas stoves, among other things).

Methane does have the downside though of exacerbating climate change if it leaks into the atmosphere, and it takes a lot of energy to cool it down to a liquid, so I can definitely see how methanol might have the edge for grid-scale storage like this.

NickM··on Electric Car Owners Confront a Harsh Foe: Cold Weather
Most of the country is not as dense as NYC, and the less dense the area, the less public transit makes sense.

This is true from both an economic and an environmental standpoint: not only is it expensive to run public transit when fewer people use it, it’s also less environmentally friendly because you have big heavy buses and trains spending a lot of time driving around with few people riding them.

That said, I would certainly like to see better public transportation in many areas, but it’s not a silver bullet. The idea that EV infrastructure is a waste of money because we just need more public transportation is pretty preposterous, IMO.

NickM··on Hertz to sell 20k EVs in shift back to gas-powered cars
Yeah that’s also a great point, I hadn’t thought of that, but it does blow a pretty big hole in the argument.
NickM··on Hertz to sell 20k EVs in shift back to gas-powered cars
Right but the part of the argument I quoted had nothing to do with repair costs: they were making the point that changes in FMV due to EV prices going down in general were forcing them to recognize bigger losses in salvage situations, since they have to re-value the car post-salvage based on current market prices.

So in this case they are basically writing off more value “for free”, because the loss is coming from a genuine loss in value of the asset, but since the asset is a car that may still provide the same amount of value back to Hertz and still last the same amount of time, it’s sort of a weird corner case where you could argue they haven’t really lost anything.

Of course that loss is offset by lower depreciation losses in the future, so it’s not like it’s coming out of nowhere.

← PreviousPage 2 of 21Next →