Better HN
topnewbestaskshowjobs
Log inSign up

array_key_first

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

Submissions

comment 1y ago · link · parent

My general experience is that homeschool children have self esteem and confidence issues precisely because they've been around 'hand picked' people... forever.

They've never experienced assholes, or people who think their personality is grating, or whatever. Thick skin needs to be built up, to a degree. I'm not saying bullying is good, but being exposed to the unwashed masses definitely can be.

comment 1y ago · link · parent

I mean from a static analysis perspective - type annotations in PHP actually do stuff, and you can type annotate pretty much everything. And people actually do it.

Also, you can just flip on strict typing in PHP, and you should know that.

comment 1y ago · link · parent

The main question we need to be asking ourselves is if we prefer these people do crack in those places, or on the street in makeshift camps.

The idea that if we just remove tools from poor people that they go away is patently insane. We want to... kick people while they're already down... and we expect that to help anyone?

comment 1y ago · link · parent

How the fuck would de-densifying cities help with housing costs? The denser housing is, the cheaper it is per unit.

Also, remote work doesn't work like that. You, yes YOU, rely on actual real people to do stuff for your community to make your life worth living.

That means construction, food service, sanitation, etc. Already, this type of work is not very viable in suburban or rural areas because they're too inefficient. Many rural areas are essentially subsidized by the cities around them - they couldn't afford to have roads or electricity otherwise.

If everyone is spread out everywhere, how do you provide them with the stuff they need in an economically viable way? That's the entire reason urbanism exists!

comment 1y ago · link · parent

That's because many smaller cities and suburban or rural areas are economically defunct, so property is cheap because it's essentially worthless (you can't make money off of it).

Property is expensive in, say, NYC because you can use that property to do A LOT of economic activity. Property is cheap in Ponder, Texas because you can use that property to do fuck all, so you better take what you can get.

You can choose to live in Ponder, Texas, but the economics of that aren't too hot.

comment 1y ago · link · parent

Yes, it turns out computers are extremely fast when we're not doing backflips through networks and servers all over the country to do simple tasks.

comment 1y ago · link · parent

Nowadays it's done by uploading something to Google drive and then sharing the link so someone can then download it.

Expensive, overly complex, and stupidly slow.

comment 1y ago · link · parent

Your definition of metabolic syndrome matches mine, I think you're talking past me. It's the clustering of metabolic diseases, like heart disease and obesity.

> Mass consumption of meats processed with nitrites (producing nitrates as a byproduct) goes back at least several centuries, maybe a millennium.

Incorrect, at least in what you mean by 'mass'. We eat significantly more meat now than 50 years ago.

> However, people with metabolic syndrome who switch to an all-meat diet, even if the meat is factory-farmed, tend to improve rather than worsening.

There's a few huge, glaring problems here:

1. You made this up, this isn't actually the conclusion of any study anywhere.

2. Any restrictive diet, yes ANY, can and will cause you to lose weight and therefore work against 'metabolic syndrome' (which, again, is not a disease, it's a syndrome). Yes, eating less calories WILL cause you to lose weight. You can achieve the same thing by eating only sugar, or only bread, or only cheese.

3. We know, for a fact, that diets with high meat consumption are correlated with obesity, heart disease, etc. We know diets LOW in meat consumption, particularly red meat or meat high in saturated fats, are correlated with lower CVD risk and longer longevity. Do with that what you will.

And, if you still don't buy many decades of studies on this, you can also just use your intuition.

Look around the world at where we see obesity and where we don't. We see it in the UK, Canada, the US. We don't see it in Japan, parts of Asia, and the Mediterranean. What's the difference?

Those places have a culture of eating significantly less meat, especially red meat. They also have a culture of eating smaller portions. Many of them have a culture of walking. Many of them still eat processed foods.

And, none of this even touches on the carcinogenic factors of red meat. We know, for sure, red meat is carcinogenic - it's classified the same as alcohol and tobacco.

Really what's going on is people are trading off stuff they think might be bad for stuff we know is bad.

There's a lot of people who won't drink a diet coke because it's 'poison' but will happily eat bacon. When we know bacon causes cancer, but we don't know if aspartame does, despite us studying it to death.

It's a form of self destruction. People think to be healthy you must deprive yourself, you must suffer. It's just not true.

comment 1y ago · link · parent

Okay but this answers almost nothing, because cancer is not heart disease. Also, 'causing cancer' is a huge scam.

The top of the carcinogen scales is alcohol, tobacco, and red meat. Almost everything else falls into categories that 'might' cause cancer.

comment 1y ago · link · parent

I guess the question is, how does leaves in your lungs cause your blood vessels in your, say, legs, to get damaged? Makes no sense.

The answer is, probably, nicotine. We know, for sure, nicotine contracts blood vessels and raises blood pressure. And we know high blood pressure over time damages blood vessels.

comment 1y ago · link · parent

I don't understand how this is more bug prone. The nesting is a HUGE problem because it's extremely unreadable. The arrow is much more readable, and array functions are very simple too.

comment 1y ago · link · parent

Making a language more complex often leads to simpler code. Keeping a language too simple often forces overly complex code.

comment 1y ago · link · parent

PHP typing is most definitely stronger than python overall.

Yes array is the evil collection type of everything, but that's how it's meant to work. Array is the quick and dirty 'throw everything in there' thing. PHP has classes and they're very full featured and offer lots of type safety - use those.

comment 1y ago · link · parent

C, as a language, is very simple. Which leads to horribly complex and monsterous code, especially in large projects. The language makes even simple paradigms impossible to represent, forcing you, instead, to just remember what to do and then do that every time, forever.

comment 1y ago · link · parent

Performing an experiment yourself means literally nothing. You're just a dude, and your mental state is your mental state. Not all mental state.

For people with certain conditions, like ADHD, the obvious best thing for 'brain fog' is not lifting weights. I'm sure it helps, but that's not top of the list.

Also, lifting weights is just one type of exercise. A lot of studies are actually focused on exercise as a whole, and some only aerobic exercise. I'm sure lifting weights is great, but is it better than, say, running? I'm not convinced.

comment 1y ago · link · parent

Most smokers actually don't die of lung cancer. I think it's something like only 15% of lifetime smokers get lung cancer?

They die of heart disease, mostly, which is caused by... drumroll please... prolonged nicotine use! At least, in part. It's actually more complicated and we don't know for sure.

comment 1y ago · link · parent

There are no sources because nobody is really studying this, he's just speculating. Which he is allowed to do, since he didn't say it was a true thing. To me, it read very clearly that he was just speculating.

comment 1y ago · link · parent

So, so many glaring problems here:

1. Consumers can't just 'not use something' because of network effects, and you know that. Don't play stupid with me.

2. The service is scummy because they lie. That's the scummy part. Sit back and read what I wrote. I'm not saying services CAN'T commit crimes against humanity. They can! I'm saying they must DO IT HONESTLY.

If this is about choice, and you want users to choose what they want, then you have to be on my side. It's not optional. IF what you're saying is true, and consumers have the choice "not sign up service that scummy", THEN they must know if the service is scummy. Necessarily!

You are literally agreeing with me!

comment 1y ago · link · parent

Uh, no, not in the same way. You have absolutely zero proof that you NEED to fuck users up the ass to make the service work.

Many services worked without the ass fucking. We did it for a very long time.

> but most people prefer free with ads to paid without ads.

No, you can't actually say this, because part of the deal is that nobody actually knows HOW or WHAT they are giving up for this free service.

Things like GPDR or consent, again, do not outlaw the actual thing. Ads are still legal, personalized ads are still legal, tracking is still legal. It just forces you to ask consumers. If what you're saying is true, then GPDR is fantastic!! All the users should click 'accept all cookies', because that's what they actually want right?

Unless, wait, you think... maybe that's not what they want? And they're only agreeing to the current situation because they don't know what they're agreeing to? Hmm... what a conundrum!

comment 1y ago · link · parent

I don't recall anyone saying, ever, anywhere, that laws are a panacea. I don't think that means though that we should stop doing laws.

No... I like laws. They're nice, for the most part.

comment 1y ago · link · parent

How?

comment 1y ago · link · parent

I mean, we know for a fat that processed red meats cause 'metabolic syndrome' - that being, the associated diseases of heart disease, diabetes, and others. One of the best ways to lower your CVD risk is to reduce your red meat consumption.

And, since I know it's inevitably coming, 'humans have been eating meat forever!' - no they absolutely have not:

1. Processed meats are a new thing. There is a difference between eating a cow, and taking cow meat and chemically changing it forever.

2. Farmed meat is a new thing. Prehistoric humans ate meat that is nothing like the meat we eat.

3. Eating meat is a new thing. For almost all of human history, until maybe ~50 years ago, humans ate very little meat. Even today, only the West eats high amounts of meat. We also only see metabolic syndrome in obesity in the West/the developed world. Do with that information what you will.

comment 1y ago · link · parent

No, moderatism or centrism is legitimately a fallacy. The idea or intuition that, given two endpoints, the most correct position is one in the middle, is a fallacy. It depends entirely on the endpoints.

For example: the three fifths compromise. Turns out, bad. The correct answer was emancipation all along, and the 'centrist' answer was just bad. Because, well, one of the endpoints was slavery. If you 'halfway' slavery, that's still bad. There's no merits or 'well what about's when it comes to slavery.

That doesn't mean centrists or moderates are wrong - they're often right. But it DOES mean that just taking a middle of the road approach isn't reasonable. You need to actually understand why you're doing that, and why the middle makes the most sense. In some parts of the world, right now, as in right now right now, the 'both sides' argument is pro-genocide. In the past it's been pro-slavery, pro-colonialism, pro-holocaust, whatever. Plenty of really bad stuff.

So, you can't hide behind 'both sides'. You need to justify WHY 'both sides' and why in the middle is best for this particular case.

comment 1y ago · link · parent

If companies really wanted to fire people for posts, they would start with firing people for vaguely anti-capital sentiment. Not saying racist things or whatever.

We need to be careful what we ask for. Who is effectively doing the censorship matters. Powerful people are probably not going to be censoring based on 'good morals' - because they themselves do not have good morals.

comment 1y ago · link · parent

It's not disinformation at all, there's a lot of hurdles to this.

In the link you posted, it even says Amazon can't actually tell if you're leaving AWS or not so they're going to charge you the regular rate. You need explicit approval from them to get this 'free' data transfer.

comment 1y ago · link · parent

> For a tinkerer who's focused on the infra, then sure, hosting your own can make sense.

... or for a big company. I've worked at companies with thousands of developers, and it's all been 'self hosted'. In DCs, so not rinky dink, but yes, and there's a lot of advantages to doing it this way. If you set it up right, it can be much easier for developers to use than AWS.

comment 1y ago · link · parent

Right, and does that use Apple's servers? This is a rhetorical question, we both know it goes through Google, both literally and figuratively. Google effectively controls RCS - if Apple just implemented RCS 'per spec', it would not work. So, there is no spec, it's as if it doesn't exist. That's how that works.

comment 1y ago · link · parent

Well he is saying something here, because as pointed out, many people approach this from an ideological place.

comment 1y ago · link · parent

Right, and that sucks major fucking ass. It's bad and literally nobody likes it.

If it went away overnight, I would not lose sleep. I don't think I'm alone in that.

If you want to run a business that relies on gathering obscene amounts of data on people and then using it in aggregate to commit crimes against humanity, then fine. But at least make them consent to you fucking them up the ass. I don't think that's too much to ask for.

1
394041
60