Better HN
topnewbestaskshowjobs
Log inSign up

array_key_first

2,281 karma · joined Sep 23, 2025 (1y ago) · 1,791 submissions

Submissions

comment 12mo ago · link · parent

Yes, but the inference cost of humans is extremely low. We're constantly making decisions and generating thoughts, most subconscious, while using extremely little energy. It's remarkable how energy efficient the human body and mind, and animals in general, are.

comment 12mo ago · link · parent

If you cheat, you should get a zero. How is this controversial.

Since high school, the expectation is that you show your work. I remember my high school calculus teacher didn't even LOOK at the final answer - only the work.

The nice thing was that if you made a trivial mistake, like adding 2 + 2 = 5, you got 95% of the credit. It worked out to be massively beneficial for students.

The same thing continued in programming classes. We wrote our programs on paper. The teacher didn't compile anything. They didn't care much if you missed a semicolon, or called a library function by a wrong name. They cared if the overall structure and algorithms were correct. It was all analyzed statically.

comment 12mo ago · link · parent

Right, in an ideal world we'd peer into the minds of people and compute what they know. But if we did that, our eyes would probably catch on fire like that lady in Kingdom of the Crystal Skull.

We need some way to distill the unbelievable amount of data in human brains into something that can be processed in a reasonable amount of time. We need a measurement - a degree, a GPA, something.

Imagine if in every job interview they could assume absolutely nothing. They know nothing about your education. They might start by asking you to recite your ABCs and then, finally at sunset, you might get to a coding exam. Which still won't work, because you'll just AI cheat the coding exam.

We require gatekeepers to make the system work. If we allow the gatekeepers to just rubber stamp based off of if stuff seems correct, that tells us nothing about the person itself. We want the measurement to get close to the real understanding.

That means AI papers have to be given a 0, which means we need to know if something is AI generated. And we want to catch this at the education level, not above.

comment 12mo ago · link · parent

The lower COL areas are lower because they're less economically viable, and therefore less desirable. The job opportunities and income will, more or less, match the lower COL.

Theres some exceptions, like rural doctors can make more more than city doctors due to high demand. But the less "physical" your job is, the rarer these exceptions become.

For software devs, you can move out of silicon valley. Maybe to Texas. And now those 1.5 million dollar homes are only 700,000 dollars. But your salary will reflect that.

comment 1y ago · link · parent

Non-tech firms are allergic to making software.

I don't know why. They have seemingly no problem keeping their accounting department in house, even though they're not an accounting firm.

If a core part of your business is software, you are a tech company. Congratulations. Yes banks, that means you too.

comment 1y ago · link · parent

For most software I've seen, it's a handful of (really complicated) requirements that balloon the cost by orders of magnitude.

Making a piece of software? Easy! Integrating with one external provider? Okay... yeah we can do that. Integrating with an arbitrary and ever-growing number of third parties?

Gulp.

comment 1y ago · link · parent

It's obvious to me the gains of our productivity is being siphoned up. The US economy is... very weird right now, and has been getting weird for a few decades. I wouldn't even consider the US a capitalist nation, what we have is something new.

Most companies don't do anything, most investors make money without putting in any labor, and money just... poof, appears. But not for us. Nothing really seems to make sense anymore.

Things that were trivial before, like having a receptionist to answer your phone, now seems economically impossible. And yet, our GDP continues to rise. We run companies with a tenth of the people we did before - everything is computerized, automated. But the wages are lower.

comment 1y ago · link · parent

Then you do not have an anxiety disorder, you just experience the emotion of anxiety.

Similarly, you can be sad, and not have depression. The thing that makes it depression is not being able to trivially drop it. If you 'have anxiety', and can flip it on and off at will, then by the clinical definition you do not have generalized anxiety disorder. That's very nice property of the DSM.

comment 1y ago · link · parent

> who chooses to live in SF

This one throwaway is basically holding up your entire argument. This is just an assumption, and one you won't be able to substantiate.

comment 1y ago · link · parent

It's very cheap to get food, mostly because we can put out cheap junk. Whether or not this qualifies as 'nourishment' is, frankly, debatable.

If a child is obese, they are not necessarily nourished. They might very well be deficient in multiple vital minerals and vitamins, and could be paying the price in terms of their thinking ability, strength, growth potential, and overall health.

The US is actually a perfect example of this. Our government subsidized food, a lot, but a lot of that is corn. Most ultra-processed corn products are essentially nutritionally worthless.

comment 1y ago · link · parent

But git is a distributed VCS system - there is no master copy. But there certainly is a main branch, which may have many copies on many machines.

comment 1y ago · link · parent

aaaand this is why you should be extremely wary if a company is asking you to upload sensitive information. Even if it's a big company.

I tried to tour an apartment complex, and they required me to use an online application for 'id verification. For a tour. A tour!

I'm sorry, but you do not require my social security number and pictures of my driver's license for me to use my eyeballs to see an apartment unit. What am I gonna do? Drive away with the apartment?

comment 1y ago · link · parent

Given what we know about how most Western nations feel about secure communications, what seems more likely?

The reality is that the west got very comfortable with a world where any and all communication can be trivially wire tapped.

Telephony, messaging, and even the internet - these were not only abused, but abused on such a scale that virtually no data could ever be safe from the eye of the state. Even printed media would leak it's location, etched in microscopic ink.

We, unceramoniously and rapidly, yanked this power out from underneath them. For the first time in a very long time, it is possible to have communication which cannot be surveilled.

Knowing what we know about how governments work, are we shocked that there is push back to this? Frankly, the only reason we aren't seeing more abuse is because the big dogs still permit absolute serveillance. I'm sure at the behest of the state.

Projects like grapheneos and signal represent an existential threat to the current model of citizen serveillance and crime solving. Starving dogs will bite.

comment 1y ago · link · parent

This is very subjective.

Their hardware is very good, but it's not as far ahead as you think. Intel makes SOC very comparable to M series in terms of compute and power efficiency. They're rare, but they exist.

And MacOS as an operating system is slipping in many ways to open source competitors. The UI is stagnant in a lot of ways, and actively regressing in others, while open source competitors truck forward. Mind you, the same is true for Windows and to a much larger degree, but still.

comment 1y ago · link · parent

Not easy per se, but definitely doable. It's a relatively new economy, there's no blood oath anywhere saying we have to allow it.

We've banned literally all tobacco ads and its... fine. I mean not for the tobacco company, but who cares?

I'm not gonna advocate making the world worse so some people stay employed. That's so counter productive. Who knows - maybe in a less shitty world, new jobs will emerge!

comment 1y ago · link · parent

This is just not true generally. It might seem stupid or incredibly obvious, but homelessness is mostly caused by housing prices.

In places with less affordable housing, there is more homeless people. The solution to homelessness is to build more housing.

That's the solution a 5 year old would come up with, too, but it's correct.

comment 1y ago · link · parent

No I think he's talking about Twitter. You can tell because this post is about Twitter.

comment 1y ago · link · parent

What you perceive as 'Redditesque' is just a severe lack of conviction on your part. It's a kind of cowardice so powerful it can disguise itself as reasonableness.

Even when faced with villiany beyond belief, you cannot find the strength to condemn. Do you need see the poetic level of pathetic-ness in that?

You're allowed to just say 'these people suck'. Doing so doesn't make you anti-intellectual. You don't have to do backflips and contort your soul in unimaginable ways to defend people who do not deserve it.

> What do you mean, "there is no alternative perspective to that."? Are you saying that people arguing that Trump is not a stain on humanity don't hold a perspective on that matter?

Kind of, I'm saying their perspective is either not genuine or does not matter.

Right, again, when people are defending actual pedophiles, we have to take a step back.

Why are they doing it? It's probably not genuine. It's for political reasons. They probably know, deep down, that this is bad. They do. But they ignore their true feelings and argue the opposite, because they want to win in some political sense. They are cowards to their own beliefs.

Also, I never said objectively. I said obviously.

You can argue diddling kids is not objectively bad. Whatever. But it's certainly obviously bad, at least to the human beings I have met.

comment 1y ago · link · parent

Wishing for liars to live terrible lives does not help your life. At all. It makes it worse.

This comment and mindset is self-destructive. Yes, bad things happen - but nothing is ruined. There is no such thing as ruining, only changing. The relationship changes, the people change, and your understanding changes.

Desperately vying for any sense of sameness, and forcing yourself to continue a life that is not true, doesn't serve you or anyone.

Things can be good. You can get divorced and that can be a better outcome. Things can change.

comment 1y ago · link · parent

Also consider the possibility that things can just suck, and pretending things don't suck doesn't solve problems, it actually does the opposite.

comment 1y ago · link · parent

> You are making it like they are doing human crime level hitler or some shit

I mean, yeah, Facebook directly caused a genocide because of their pursuit of ads. Do with that what you will.

But either way, it's like you're pulling every fallacy you can think of out of your ass!

Even if it's not a big deal, that doesn't mean we shouldn't do anything. That's stupid.

And the idea that 'oh well we don't need to think of solutions, because the magical solution fairy would've already done it' is also stupid.

How do you think stuff gets done? Who's doing it? Us! The conversation we're having is that! It's the "born already" you're talking about!

comment 1y ago · link · parent

The state, as like a concept, doesn't 'inherently' want anything, because there's infinite ways to form a state. The organization of human being in which every person has a voice or say, does tend to operate in a certain way.

The main difference between the public sector and the private sector is that the public sector is somewhat of a democracy, and the private sector is much closer to a monarchy. Obviously our democracy is not perfect, but it's a lot better than "the dictator (board and CEO) makes the decisions, you are cog, please comply".

There's market forces to mitigate that, just like we can say there's foreign affairs to mitigate dictatorships in nations, but that doesn't work if you have a lot of power. Exhibit A: Russia. Russia was supposed to be discouraged from invading the Ukraine, but ultimately, there's nothing stopping the King from doing that.

Let's look at Tesla. Elon Musk is supposed to be discouraged from doing a Nazi Salute because free market, but ultimately there's nothing stopping the king from doing that.

For our government, it makes decisions with the coordination of thousands of people, many of them poor and will experience the direct consequences of those decisions. The further we stray away from that core principle, the worse it gets. Just in general, when we talk about human organization.

comment 1y ago · link · parent

Suburbs cause more pollution per capita than cities, and you know that. Because, again, obviously, suburbs are just less efficient. Moving, say, water 100 miles to reach 100 people is worse than moving water 1 mile to reach 100 people.

> That's exactly how we solved the problem of industrial pollution.

It's not, at all. We 'solved' it by just pushing it somewhere else, and then we actually helped it by making more efficient processes.

It's not that by you living in the suburbs you have no pollution. No, the pollution is made in the city, and then we just transport the end result sometimes thousands of miles to your house so you don't have to see it. That process is horribly inefficient - which is why it's fair to say that suburbs are essentially on the welfare of the cities around them.

Everything you have - water, concrete, food, electricity - is coming from denser centers. You don't actually pay enough in taxes to cover that, but it's fine, because that's the cost of typical American culture.

And, speaking of American culture - what you're advocating is very much the status quo. The US is extremely distributed compared to the rest of the developed world, and we pay a high price for it. We use absurd amounts of water, energy, and money to maintain our suburban lifestyle.

comment 1y ago · link · parent

If you don't want to release the Epstein files, then yeah, you're bad.

If you're 'both side'-ing fucking pedophilia, take a step back and ask yourself - what the fuck are we doing here?

Sometimes people, and this includes republicans, are just pieces of shit. Sometimes someone is OBVIOUSLY wrong, and someone is OBVIOUSLY right. You are allowed to diverge from the fucking hivemind and say 'you know what, this republican sucks'.

Trump sucks man. He's a legitimately bad person and a stain on humanity. There is no alternative perspective to that. If you try to argue one, that's suspicious!

comment 1y ago · link · parent

Uh, no, I was responding to the notion of 'both sides ism' which I called centrism or moderatism, which is, in fact, a fallacy.

That DOES NOT mean that both sides can't do X or Y, or that moderates are wrong. What it means is there is a particular kind of person who will hide behind middle-road nothing burger perspectives, because they intuitively believe middle of the road must be reasonable.

It's not guaranteed to be reasonable. That's the fallacy. I didn't say YOU did the fallacy, I'm just explaining what 'both sides ism' is.

Now, on to you, specifically:

> Both sides are mostly full of it, full stop.

This is a nothing burger perspective. It's not interesting, or thoughtful, or intellectual, and it's barely worth the bits it's encoded in.

Yes, politicians lie. And? So what? That doesn't tell anyone anything about, well, anything.

Also, when certain politicians are lying about certain things and you say 'well everyone lies!' - you are making it worse.

You can bet your fucking ass that the reason people like Trump are able to railroad your constitutional rights is because there's droves of useful idiots who will say 'well democrats do the same thing!'

Okay? But they're not doing it right now, right? And that little tidbit doesn't magically make everything okay, right? So what have we achieved? In our quest to find the right answer, we've just justified and defended behavior that we know is bad for us. That's just self destruction.

comment 1y ago · link · parent

> Construction, food service, sanitation and so on are _cheaper_ to do in suburban areas. Why? Because of the planning overhead. Materials cost less than planning.

> They work _better_ in suburban areas. That food truck owner in Manhattan can't afford to live there, so they likely spend hours every day to commute. In a suburban area, they can afford to buy/rent a house nearby.

> This is not a theory, btw

You're right, it's not a theory, it's literally just wrong. Like, obviously so.

The idea that people in the suburbs commute less is patently insane. It's just so obviously not true that I legitimately cannot believe someone could think this. Have you lived anywhere, ever, for any period of time?

The more rural the area you are in, the longer your commute will be, because where you live has no economic activity. So you have to drive somewhere that does.

Consider sanitation: why don't we have this in the suburbs? Because turning 1 sanitation facility into 100 distributed sanitation facilities across 100x more land, all while servicing the SAME AMOUNT OF PEOPLE, is insane. So we don't do that. So then you drive.

It is indisputable that density brings efficiency. From computer chips, to transit, to cities.

> If you want to change a sewer main in Manhattan, you'll spend several years getting all the permits, creating temporary infrastructure to pump the sewage while you're working, then spending several months carefully digging through the streets to avoid severing unmarked pipes carrying who-knows-what.

Okay, this is a perfect demonstration.

If you change 1 mile of sewer in Manhattan, you've serviced 100,000 people. If you change 1 mile of sewer in the suburbs, you've serviced 100 people. Are you seeing the problem?

Yes, there is obviously more friction to getting stuff done, but the amount of stuff you need to get done to impact the same people is orders of magnitude less. The cost ends up being much, much, much lower. This only works if you're comparing like and like though.

A lot of people will compare dense areas to the suburbs and they won't compare the same amount of people. Yeah, that's cheating. NYC has about as many people as north Texas. When you put it that way, then it seems clear that the efficiency of NYC is orders of magnitude higher than your average suburban hellscape.

comment 1y ago · link · parent

The COL goes up in cities because they continue to be more productive, and that's just how money works. I don't know what to tell you, there's just no way around that. Opting to anarchist mode implode the economy so you get slightly cheaper housing is insane.

comment 1y ago · link · parent

I don't know, I think it's really fine. It's very typical to compose a bunch of array functions together and, honestly, I think that's good form most of the time. This makes that a little bit easier.

comment 1y ago · link · parent

Kind of but not really. Even without strict types, functions will throw a type error if you give them the wrong thing for almost all types, except primitives, which will be automatically coerced. Strict types turns that coercion off.

Really, that's probably enough for a lot of cases, because PHP doesn't have operator overloading. Yes, you can add '10' + 10 and get 20, but not if either of those go into any function. If you have a function that needs to do string stuff, you take string stuff in, and you don't have to worry about string operations or coercing ints or anything.

comment 1y ago · link · parent

Public school is not dysfunctional, per se.

And, to be clear, EVERY workplace will have people you don't like. Every. Single. One. No exceptions.

Kids needs to be taught resiliency and healthy mindsets, to a degree. They need to learn to live and let go, to learn their value isn't derived from what people think of them, to learn that embarrassment is self inflicted.

You just can't do that if you're only around people who don't challenge you. If you're in a nice, cushy, social bubble, you will develop self esteem and confidence issues.

1
383940
60