Better HN
topnewbestaskshowjobs
Log inSign up

consteval

1,210 karma · joined Jul 19, 2024 (2y ago) · 1,613 submissions

Submissions

comment 2y ago · link · parent

> Most of weight loss actually happens in the kitchen, not the gym

This isn't really true. Or it doesn't have to be.

If you look at people with high muscle mass, you'll notice something. They eat a lot. Like... a lot.

Michael Phelps famously ate close to 10,000 calories a day. Now granted, he swam a lot. But did he burn 8,000 calories a day swimming and hitting the gym? No.

When you have more muscle, you burn more calories. Always, even when you sleep. So while a 20 minute run might only burn 150 calories... how many did you burn by running 20 minutes every day and building up leg muscles? Now it's harder to tell.

comment 2y ago · link · parent

> People are lazy, I get it

No I don't think you do.

We are dealing with a global crisis of obesity. We have a disease more prolific than ever before. There is something about the human brain that is wrong or imcompatible with the modern surplus of food. Something about our reward centers doesn't work. Not with modern society.

Addiction of this scale cannot be solved with individual actions. "Just stop" doesn't save an alcoholic, nor does it save a smoker. Fundamentally we need to rewrite how we view obesity.

We need solutions. Not more of this "try harder" fluff. Because it just doesn't work. If what you're saying is true, we wouldn't be in this mess. Obesity is more complex than we give it credit. It goes back to the food industry, health industry, advertisement. We can't just ignore everything and continue our "do nothing" approach.

This is not a discipline problem, this is a human problem. The solution MUST then target humans, not their actions. If that's a drug, for now, that's fine.

comment 2y ago · link · parent

> Artificial sweeteners can cause/aggravate insulin resistance

In regards to Aspartame this isn't true. Or, at least, the Jury is still out. There's competing evidence from studies.

comment 2y ago · link · parent

To be fair, semaglutide also lowers addiction to nicotine and alcohol, and maybe other drugs.

It seems to me some people have a broken reward system and some... don't. Some people can live life without ever seeking out a vice, and some people are unable to live without a vice.

Probably, from an evolutionary perspective, this made sense. But when you have a surplus of addictive things like sugar, nicotine, and alcohol, combined with mass society-wide manipulation to indulge via advertisement... well this functionality of the human brain makes less sense.

comment 2y ago · link · parent

I don't know why you're saying that like it's a bad thing.

Clearly, the self-discipline approach just doesn't work. Not on a soceital scale.

Less people dying and people feeling healthier is a good thing. For everyone, you and I included. It also helps that Ozempic also reduce addiction to nicotine, alcohol, and potentially other drugs.

The human condition is complex and it's becoming obvious, to me, the human body and brain were never meant to exist in the kind of society we have. A society of food surplus, sedentary work, and high stressors. Yes, we will adapt - but tools to aid our survival along the way I think could be good.

comment 2y ago · link · parent

The doctor will tell you to eat less calories overall, and reduce your consumption of sugar, by replacing it with better alternatives like calorie-free sweeteners.

comment 2y ago · link · parent

> To a Dorito buyer, the requirement is that it tastes good without immediately killing them.

To the FDA, the requirement is that it's safe for human consumption, has a serving that is normal for a healthy adult, and does not lie about its contents.

See, YOUR requirements and what the government is able to give you are different.

Yes, buyer's DO care about this stuff. Maybe you've never read a nutritional label in your entire life, I don't know. But I know I care. And everyone I know cares.

>you can try multiple different products at low cost and with ~no physical danger.

Multiple obvious problems here.

First, trying multiple products costs money and time. Again, people have jobs, families, what have you. Consumers don't have the will for this.

Second, the "no physical harm" part is BECAUSE of regulations.

Did we all just collectively forget why these regulations were instituted and why we are now a high-trust society?

Companies used to just lie, and people used to drop like flies. We stopped that.

In my opinion, people's understanding of a free market is not only not in line with reality, but it also hasn't been in over 100 years. Moreover, nobody actually wants a free market. They just think they do, until they consider it more and realize it would actually be pretty terrible.

Point being - NO, companies shouldn't be allowed to lie.

comment 2y ago · link · parent

Because some browser processes actually live outside of the sandbox. You need elevated privileges for a JIT.

Their requirements are fairly reasonable, too. Use a memory safe language or have processes in place to catch memory bugs. What that means exactly we'll have to wait to see. But I think given the nature of a web browser, that is an application that automatically executes code supplied over the internet, it not unreasonable.

comment 2y ago · link · parent

Orion on iOS blocks ads. It's made by Kagi. Not sure how they got away with it, and it's not firefox, but it's as close as you can get right now.

comment 2y ago · link · parent

Personally I think you can lower the cost by just making it difficult on the end-users side. If you put a scary pop up and require the password and bury it in the setting then boom, grandma who doesn't know the difference between wifi and the internet won't have issues.

comment 2y ago · link · parent

> intelligent market participant

If I put a gun to your head and gave you 1 year to find out what, exactly, goes into a bag of Doritos and what the nutritional content is, you couldn't do it.

People have lives. We don't have the time, knowledge, or expertise to assess our goods. Not anymore, that stopped a good couple hundred years ago.

If we had the expertise we'd simply do it ourselves, which is what people did. But we stopped doing that, because the goods became too complex.

> AWD car knowing full well it’s not 4WD. It’s still 100x better than 2WD on snow and gravel. I liked my AWD car - money well spent

Sure, but keep in mind you understand, maybe, a fraction of a fraction of 1% of your car. If you wanted to understand it more deeply that is a lifetime commitment. And, that's for one singular good. Extrapolate that and suddenly you'll need to be immortal to be an "intelligent market participant"

comment 2y ago · link · parent

This only works IF you work under the assumption consumers know, or even have the ability to know, if they're being lied to.

Well... they don't. Cars are incredibly complex machines, 99% of consumers do not have the knowledge to properly understand how a car works. They have jobs, they have a family, they have better things to do.

So they rely on the car manufacturer to be honest. You'll never see a consumer pop the hood and count the pistons to make sure their V6 is actually a V6. They just believe the manufacturer.

Your poisoning example only works because it's obvious. Imagine another food analogy. Imagine there is no FDA. How do you know what goes into the food you eat? Could you even find out? If you strived to find out the ingredients and nutritional content of your average grocery haul, how long will it take?

A few tens of thousands hours, perhaps. Right after you work like a dog to buy the equipment to burn the food. And then hire private investigators to stake out the factory. And then fly to Mexico to view what pesticides they use.

comment 2y ago · link · parent

Evidently not, because the US is neither autocratic or socialist

comment 2y ago · link · parent

> Agencies would have me grep for homicide threats between gangs

As an aside, it's terrifying that our texts can just be read and mass processed like this.

I'm sure, in the general sense, this information isn't used for evil. But certainly I think it can be, like those Ring Doorbell employees who used their access to stalk their victims.

The case for secure messaging services only grows stronger, even for the innocent.

comment 2y ago · link · parent

I agree 100%. Unfortunately my company is pretty tied to windows and windows server, which is a pain. Upgrading and sysadmin-type work is still very manual and there's a lot of room for human error.

I wish we would use something like Debian and take advantage of tech like systemd. But alas, we're still using COM and Windows Services and we still need to remote desktop in and click around on random GUIs to get stuff to work.

Luckily, SQL Server itself is very stable and reliable. But even SQL Server runs on Linux.

comment 2y ago · link · parent

I'm sure it exists when the problem itself is distributed. For example, I can imagine something like YouTube would require a complex distributed system.

But I think very few problems fit into that archetype. Instead, people build distributed systems for reliability and integrity. But it's overkill, because you bring all the baggage and complexity of distributed computing. This area is incredibly difficult. I view it similar to parallelism. If you can avoid it for your problem, then avoid it. If you really can't, then take a less complex approach. There's no reason to jump to "scale to X threads and every thread is unaware of where it's running" type solutions, because those are complex.

comment 2y ago · link · parent

It depends on the cost of complexity you're adding. Adding another database or whatever is really not that complex so yeah sure, go for it.

But a lot of companies are building distributed systems purely because they want this ultra-low downtime. Distributed systems are HARD. You get an entire set of problems you don't get otherwise, and the complexity explodes.

Often, in my opinion, this is not justified. Saving a few minutes of downtime in exchange for making your application orders of magnitude more complex is just not worth it.

Distributed systems solve distributed problems. They're overkill if you just want better uptime or crisis recovery. You can do that with a monolith and a database and get 99.99% of the way there. That's good enough.

comment 2y ago · link · parent

To be fair, at the small scales you're talking about (maybe 1-2 machines) systemd does the same stuff, just better with less complexity. And there's various much simpler ways to automate your deployments.

If you don't have a distributed system then personally I think k8s makes no sense.

comment 2y ago · link · parent

No, you still do. You just replace those sysadmins with AWS dev ops people. But ultimately your concerns haven't gone down, they've changed. It's true you don't have to worry about hardware. But, then again, you can use coloco datacenters or even VPS.

comment 2y ago · link · parent

True, but what people should understand about databases is they're incredibly mature software. They don't fail, they just don't. It's not like the software we're used to using where "whoopsie! Something broke!" is common.

I've never, in my life, seen an error in SQL Server related to SQL Server. It's always been me, the app code developer.

Now, to be fair, the server itself or the hardware CAN fail. But having active/passive database configurations is simple, tried and tested.

comment 2y ago · link · parent

Solution: don't build a distributed system. Just have a computer somewhere running .NET or Java or something. If you really want data integrity and safety, just make the data layer distributed.

There's very little reason to distribute application code. It's very, very rare that the limiting factor in an application is compute. Typically, it's the data layer, which you can change independently of your application.

comment 2y ago · link · parent

Even plasma 5 and 6 are pretty legible. At least, much more so than Gnome-land. The UI is dense, there's lines and separators, buttons are outlined.

comment 2y ago · link · parent

Well, for starters, you get hardware acceleration and device pass through. So you can use your webcam and stuff under linux and you get animations, smooth video playback, etc.

Also you can access your linux files directly from chrome os, and vice versa.

comment 2y ago · link · parent

The better the KPIs are the more abstract they become, eventually being impossible to measure.

These are rough, rough approximations of the human condition. The idea is that you can lossily compress 40 hours of work into 1 number, about a centimeter across on a computer screen. You WILL lose a lot of data.

comment 2y ago · link · parent

Pitting your employees in a hunger games-esque charade is sure to have unintended consequences.

Surely, if I was an employee here, self-preservation would be of the utmost importance. If I fix something to make my job easier, I will keep it to myself. If I have the opportunity to sabotage a teammate, I would. If I can lie easily, I will.

comment 2y ago · link · parent

Yes those langs have large runtimes. But even for compiled native languages, if you have a lot of dependencies you will require containers sooner or later. Go doesn't really have the huge dynamic-linking ecosystem. But, if you do and then project X and project Y diverge on versions... you have a problem.

Also containers can automate deployment easier. Like the line from bare server -> full deployment is much faster if you use containers.

comment 2y ago · link · parent

There's levels to this.

Certainly "compiled" is one reward (although a blank file fits that...) Another is test cases, input and output. This doesn't work on a software-wide scale but function-wide it can work.

In the future I think we'll see more of this test-driven development. Where developers formally define the requirements and expectations of a system and then an LLM (combined with other tools) generates the implementation. So instead of making the implementation, you just declaratively say what the implementation should do (and shouldn't).

comment 2y ago · link · parent

Laws are not based off the specific wording, they're based off the spirit. At least in the US.

The clean air act says the EPA can determine what is/is not a pollutant based off whether it can harm the public. That, to me, means the law covers CO2. I don't understand how you can interpret it otherwise.

comment 2y ago · link · parent

This current supreme court is addicted to rolling back anything and everything that is opposed to a conservative position.

The clean air act was already ruled to include greenhouse gasses. It's not under dispute, this court just disputes it because they have the power and ultimately are playing an end game of fostering a conservative government, i.e. they have long term political interests.

comment 2y ago · link · parent

It's detailed more in the heritage foundation's Project 2025. The idea is to have an academy for grooming and selecting those political appointees. Essentially, they would have to pledge their allegiance to conservative values (and the president) and pass exams about what they should/should not believe in order to work in the bureaus. This would include vowing to believing climate change isn't a problem.

Of course, that's the short term "republican makes it into office" solution. Past that, to other presidents, I don't know. In my personal opinion, I think they're banking on never having to get there.

1
495051
54