HNHacker News
TopNewBestAskShowJobs

atwood22

927 karma · joined June 27, 2022

submissionscomments
atwood22··on Two Mexican drug cartels came to dominate America’s fentanyl supply
The cartels are also extorting avocado farmers for a cut of their profits. It turns out that, if you have a lot of bad people in power, they find ways to do bad things for personal enrichment.
atwood22··on Germany’s €9 train tickets scheme ‘saved 1.8m tons of CO2 emissions’
> - public transportation being free also means that it will be used even in cases where it is both economically and ecologically a suboptimal solution. This is a problem because more usage means higher costs. E.g. someone now might take a bus instead of cycling.

That’s really reaching. Presumably people would do the thing that bear fits their circumstances after weighing the costs and benefits.

atwood22··on What does it take to be a good programmer?
Being a good programmer can also be situation dependent. The ideal author for code that powers a nuclear reactor may be different from the ideal programmer making a consumer product.
atwood22··on Slack’s free plan change is causing an exodus
Reddit is pretty much dead IMO. There seems to be a few substantial posts, if that, per day. Discord is way more active.
atwood22··on German digital signage ban prompts confusion
> Think of advertising as a way of companies to say "Hey! here's something we're proud of -- please have a look.

Do you like being approach on the street by solicitors? Personally, I hate it. When I’m walking, I appreciate undisturbed personal space. I feel the same way about advertising. I don’t care that the company is proud. I want my personal space undisturbed. You can show me something if I ask, but to assume I care to see anything you have to offer is rude.

atwood22··on Too many Americans live in places built for cars – not for human connection
Are you advocating for returning to the way people lived millennia ago? You’re free to do that. I’m going to keep enjoying penicillin.
atwood22··on Too many Americans live in places built for cars – not for human connection
The kids may not like the car, but I’m sure they like the lifestyle it affords them.
atwood22··on Too many Americans live in places built for cars – not for human connection
I find it extremely condescending to say you understand and empathize with something you have no direct experience with. Like put your money with your mouth is. Instead of telling people to live a certain way, live that way yourself and get back to me. Imagine we were talking about something else, say race, instead of of child rearing. Would you really consider the opinion of a white person saying “I understand the experience of black people in America because I have a lot of black friends” valid? Sounds pretty crazy to me.
atwood22··on Orcas are breaking rudders off boats in Europe
Well, there haven't been many deaths that we know of. However, the behavior of the orcas seems to be a learned behavior. Obviously they're doing this for a reason. Who knows, maybe this pod of whales has developed a taste?

There are a few ways I could see this happening. Perhaps they found a lone sailor, or maybe a small boat of migrants coming from Morocco made an easy target.

atwood22··on Ask HN: CEO wants us to fill out NOT ANONYMOUS survey that only he can read
Just so you know, surveys are rarely truly anonymous at companies. Feedback may be anonymized, so, for instance, a manager can receive more honest feedback from their direct reports. But if you include a racist tirade in your feedback, it's very likely HR will be able to track you down.
atwood22··on Too many Americans live in places built for cars – not for human connection
Sorry, you don't have kids so you just don't get it. I didn't get it either before I had a kid. All of the reasons you listed, bad public transport, dangerous biking, safety, etc. have nothing to do with why I want to buy an SUV. There are just so many items involved with raising a child. Yes, you might be able to take public transit so your kid can see the doctor, as long as you time it to be at an off-peak time, but there are so many other cases where you need a large car. A very basic example: You have a young child in NYC and you want to spend the weekend with your parents who live in Westchester. Without a kid, getting on Metro North with a small duffel bag of clothes would be trivial. With a kid, you need to bring a crib, toys, stroller, diapers, multiple changes of clothes, and maybe even a high table with you. Good luck getting all of that on the train, especially with a screaming kid!

The failure in your reasoning is that you see parents on the train, so you think that's their only mode of transportation. Yes, you can take the kid on the train for certain errands. Other times, however, having a car is 100x more convenient. And that is true everywhere.

atwood22··on Too many Americans live in places built for cars – not for human connection
And yet, the most expensive places to live in dense areas are single family homes. Like how much does a brownstone in Greenwich Village cost? 15 million? Clearly in any environment, a single family home is the most desirable option. People may be willing the settle for a different option in exchange for some other benefits like having a lot to do, but given the choice they’ll still pick a single family home.
atwood22··on Too many Americans live in places built for cars – not for human connection
> Why are cars and phones giant these days? Is it because nobody wants smaller ones, or because perverse market incentives have distorted offerings in a chase for product growth?

Do you have kids? If you did, you’d know that many people want bigger cars. I drive one of the smallest cars you can buy in the U.S. Now that I have a kid, I’m going to buy a big SUV. Kids require a lot of stuff. Taking them on public transport is a huge pain. Even if you don’t have kids, I’m sure you’ve been annoyed by a stroller on the subway.

atwood22··on Can Types Replace Validation?
That’s an interesting idea. You could define a custom type that has the type of [number, number] and combine it with Omit to remove methods that allow extending the array.
atwood22··on Can Types Replace Validation?
Have you seen the library runtypes for TS? It lets you specify types using a library rather than pure TS type syntax. The library code looks very similar to the normal TS type syntax, but when you use the type you get input validation for free. And of course the type TS thinks the type is matches what you’d expect based on your type definition.

Also, TS let’s you specify things like ”this type is an array of 4 numbers”. Obviously TS isn’t perfect, but it’s pretty good!

atwood22··on Ask HN: How do you and your spouse handle big income differences?
To me, it’d be pretty weird to enter a lifelong agreement with someone to share everything, but then as soon as you hit the lotto you start to squirrel things away on the side.
atwood22··on Ask HN: How do you and your spouse handle big income differences?
Do you have a prenup? If not, I think it’s important to understand that half of what she earns is yours and half of what you earn is hers. If you don’t have a prenup, you should really be pooling your money. If not, you’re asking for trouble later. Like if you get divorced and she conveniently forgets about the buyout money during the settlement. Also, she could be spending it or investing it in things you might not be comfortable with.

If you have a prenup, then just keep doing what you’re doing.

atwood22··on Why do arrays start at 0?
From your own link on countable sets:

> Equivalently, a set S is countable if there exists an injective function f : S → N from S to N; it simply means that every element in S corresponds to a different element in N.

Defining N is usually done via a successor set, on which case 0 makes no sense to include.

atwood22··on Why do arrays start at 0?
No, the mathematical definition of counting (i.e. whether or not a set is countable) involves mapping to the natural numbers, which doesn’t include 0.
atwood22··on Why do arrays start at 0?
Do you know the definition of countable? A set S is countable if there is a one-to-one mapping from S to N where N is the natural numbers. Do you know that 0 is not a member of the natural numbers? We literally start counting at 1 by definition of countable.
atwood22··on Why do arrays start at 0?
No, it doesn’t carry an implicit 0 index. Measuring age (in the West) is like measuring distance. You start at 0, but that doesn’t mean the first item is at index 0.
atwood22··on Why do arrays start at 0?
No, it just means we have a different notion of what a year is in regards to age. Similar to how different cultures can use different units of measurement for length, mass, etc.
atwood22··on Why do arrays start at 0?
No, we don't count from 0. That's like saying we start counting a baker's cup from 0 because you can have half a cup.
atwood22··on Why do arrays start at 0?
N days or N months depending on how old the baby is.
atwood22··on Ask HN: How do you get references without alerting management?
> You can't. At least in infosec the managers at the place you are applying to will call up your current manager and as many of your coworkers as they can about you. The last place I interviewed at, even before the interview random coworkers were asking me about it.

That seems extremely unprofessional. I wouldn't work at such a place. It seems like a tactic to force you to move.

atwood22··on Why do arrays start at 0?
No, birthdays are 1 indexed. Your Nth birthday is the day you turn N years old. When you're 1 year old, you've been alive for 1 year, not 2 years.
atwood22··on H1B rejected – builds unicorn back home
They earn above the tech average wage, or they earn above average wage in the country? If they work in tech, but earn below the average tech wage, then they’d actually be bringing the average wage down when you consider the opportunity cost.
atwood22··on TypeScript is terrible for library developers
> because have you tried googling "what does <T=...> in Typescript mean"?

Search “typescript generics syntax” and you get the excellent TypeScript docs on generics as the first result. It covers generic constraints.

atwood22··on H1B rejected – builds unicorn back home
Do H1Bs really earn above average wage? Haven’t seen that. Overall, H1Bs increase the labor supply, which decreases the price of labor.
atwood22··on Perfluorocubane is (as you would expect) weird
Wouldn’t having an ion like this be useful? I’m not an expert in Chemistry, but most ions will either return or gain an electron at the first opportunity. This compound, on the other hand, likes having an extra electron.
Page 1 of 10Next →