1,210 karma · joined Jul 19, 2024 (2y ago) · 1,613 submissions
comment 2y ago · link · parent
The biggest problem with JavaScript is that it's an extremely footgunny language. IMO, of the C++ variety, but probably worse.
1. The type system is unsound and complicated. Often times things "work" but silently do something unexpected. The implicit type conversion thing is just one example, but I know you've seen "NaN" on a page or "Object object" on a page. Things can pass through and produce zero errors, but give weird results.
2. JS has two NULLs - null and undefined. The error checking around these is fragile and inherently more complex than what you'd find in even C++.
3. JS has an awful standard library. This is footgunny because then basic functionality needs to be reimplemented, so now basic container types have bugs.
4. JS has no sane error handling. Exceptions are half-baked and barely used, which sounds good until you remember you can't reliably do errors-as-values because JS has no sane type system. So it's mostly the wild wild west of error handling.
5. The APIs for interacting with the DOM are verbose and footgunny. Again things can look as though they work but they won't quite. We develop tools like JSX to get around this, but that means we take all the downsides of that too.
6. Typescript is not a savior. Typescript has an okay-ish type system but it's overly complex. Languages with nominal typing like C# are often safer (no ducks slipping through), but they're also easier to work with. You don't need to do type Olympics for most languages that are statically typed, but you do in TS. This also doesn't address the problem of libraries not properly supporting typescript (footgun), so you often mix highly typed code with free-for-all code, and that's asking for trouble. And it will become trouble, because TS has no runtime constraints.
comment 2y ago · link · parent
By dismantling the moral perspective as incorrect, because it is, I dismantle the entire anti-choice landscape. Which is really the trouble with moral arguments to begin with.
There CAN be other arguments here. Arguments of personhood. But nobody does those, because those require more thinking. The supreme court certainly didn't. Fetuses aren't considered people, and yet they are granted one (1) right purely to satisfy the anti-choice crowd.
comment 2y ago · link · parent
What the fuck do you guys think GLP-1 inhibitors do? Why even bother posting if you don't understand the most surface level of what I'm saying.
> drinking habits
GLP-1 inhibitors have also been shown to reduce drinking and smoking. It's essentially an anti-addiction drug.
It's very easy to sit on a throne when you don't have a food addiction. For those who do, it's not as simple as "durrr eat better". Come on guys we have to start putting that meat sack between our ears to use.
We've been trying, and ONLY been trying, the "discipline" approach for the entirety of the obesity epidemic. And it is not working. Point blank, this is not an effective method of treating obesity or diabetes.
If that's your suggestion, it's obvious you don't actually know what's going on. Which is fine, but then perhaps silence would do you some good. Less embarrassment that way.
comment 2y ago · link · parent
Is this some kind of joke? A bad diet doesn't cause overeating - overeating IS the bad diet. Also not moving doesn't cause overeating, because how could it? What, I sit down and suddenly a burrito appears in my hands?
The cause of overeating is a propensity to overconsume, i.e. you have an addiction. Diet and exercise address the SYMPTOMS, but not the ROOT CAUSE. You STILL have an addiction. In the exact same way someone who is sober is STILL an alcoholic.
Because drinking alcohol is not actually the root cause of alcoholism. The root cause is an addiction to alcohol. You can't get rid of the addiction, but you can treat the symptoms - by never drinking, by being sober. But you did not address the root cause.
By my logical analysis, I conclude GLP-1 inhibitors better address the root cause than diet and exercise. To further strengthen my point, you've more or less admitted this by pointed out you've been obese "multiple times". If you had addressed the root cause this would be impossible! But you did not address the root cause but merely the symptoms via diet and exercise. You still had the addiction, so when you slipped you became obese again. This cannot happen while taking a GLP-1 inhibitor because you no longer have the extreme desire to eat. Even when you lost weight, you still had the extreme desire to eat.
comment 2y ago · link · parent
I would just like to say I wholeheartedly disagree.
A LOT of the much older people I know are struggling really, really bad. I'm talking conspiracies, abject misery, downright delusion. The trouble with "broken minds" is that you can't see it. If you could, your mind wouldn't be broken!
comment 2y ago · link · parent
Also, sidenote: but for small stuff you can just deploy in your home. I've done it before. It's really not that scary, and odds are you have a computer laying around. The only "spooky" part is relying on my ISP router. I don't trust that thing, but that can be fixed.
comment 2y ago · link · parent
The whole point of specifications is trying to extract the most requirements in the least amount of time. With more "top level" interfaces and tools like DI you can do that, but certainly you can take it too far. A single function, I'd say, is way too far.
comment 2y ago · link · parent
The human diet has been a very, very small minority meat. Because meat is hard to get.
And prehistoric game meat is also not the same as farm meat. Beef and pork contain high amount of saturated fat, but game antelope would contain much less and would have unsaturated fat. Meat of that time is really closer to avocado than meat of our time.
> Regardless of what you "think", that is the reality
I'm glad to see everyone is being civil.
But if we come back down to Earth, you'll realize diabetes is reversed 95% of time when Ozempic is used.
Do those people eat carbs? Yes, they do. Is 95% a higher success rate than whatever pathetic adherence rate a miserable existence like ketosis has? Yes, it is.
If for 99.9999% of all of human history our diets consisted of almost exclusively carbohydrates, I don't think we're following the right path here.
Just because ketosis reversed diabetes DOES NOT mean it address the root cause. It could be purely incidental. And it's also a piss-poor treatment. Because it sucks, and nobody wants to do it, so they try it and then lose a foot or two.
We should stick to real medications, such as insulin and Ozempic. The granola-brained can continue their keto.
comment 2y ago · link · parent
Consider: GPL-1 inhibitors are actually root-cause solutions, and diet/exercise are not root cause solutions.
That's because the cause of obesity is not eating. The cause of obesity is a propensity to overeat. The cause begins in your brain and automatic responses, not on the table or the gym.
That's why you and I can eat, be satisfied, and not be obese.
Diet/exercise doesn't address the root cause. It fixes the symptom - obesity. But those people are still addicts, and if they fall off then they're off and will become obese again, much like an alcoholic. This diet "rubber banding" is extremely common.
Ozempic and others address the root cause, by lowering the desire or propensity to eat, perhaps closer to that of someone with a normal brain and normal regulation.
comment 2y ago · link · parent
The implication here is that somewhere along the way in the last 50-ish years people just lost the ability to have discipline. All at once. Across the entire globe.
Does that sound reasonable to you? Keep in mind 50 years ago almost everyone smoked.
Personal responsibility has not changed. I don't understand how people can say this when the problem is to such a widespread degree.
comment 2y ago · link · parent
comment 2y ago · link · parent
Prehistoric humans however (that is, before the agricultural revolution) consumed most of their carbs through fruits, nuts, and vegetables. It's estimated their diet probably consisted of around 100 grams of fiber a day, as opposed to the typical 2 grams people eat today. Fiber slowly the blood glucose elevation by quite a lot.
I don't think simply cutting out carbs is the answer or even sustainable. I think it makes much more sense to gravitate towards a diet of more whole food, which contain more fiber and thus don't raise blood glucose as severely. Carbs are important, and we've been eating them forever.
comment 2y ago · link · parent
Well the ozempic helps you do the discipline and hard work. You don't take ozempic, eat everything, and get skinny. No, it makes it easier to diet and exercise.
For some they don't need the "motivation". For others, their mind is constantly under attack and pushed to eat, like an addict. For them it can be very helpful.
comment 2y ago · link · parent
If you don't care much for food then you don't mind eating the carrots and you don't mind losing the chips. If your entire life is food, then you do mind.
comment 2y ago · link · parent
Being born with worse attributes doesn't mean those attributes are out of the equation. A lot of people die much younger than they should just by poor luck, with little or no control on their end.
If you happen to have higher bone density and higher muscle mass just because you have higher testosterone, you're still better off. Sometimes people just get the short end of the stick. That doesn't necessarily mean BMI doesn't work.
I've even met smokers, smokers! Who have better cardiovascular health than me and are skinnier. Which really fucking sucks for me.
comment 2y ago · link · parent
comment 2y ago · link · parent
If anything, healthcare and insurance have almost completely perpendicular incentives. No wonder then we have the world's most inefficient system.
comment 2y ago · link · parent
I think we already have this, it's marketing and advertising. People are happy to report on things they care about, even burning money to report on it. It's just that the reason they care is because it's their thing, and they want you to buy it.
comment 2y ago · link · parent
From the employer standpoint it makes absolutely no difference if you got to a cheap place or an expensive place, because the rule is X amount. So you'd be stupid to go to a cheap place.
And the concept of having to eat it is stupid on the surface.
What happens if you get full, and you have to take some home? Are you now fired? No, right? But you broke the rules?
You require some amount of leniency. If you follow rules hard and fast, it will backfire. It also creates perverse incentives. Like I said, I'm incentivized to buy as much food as possible and as expensive as possible.
I agree some of these employees probably did deserve to be fired. I don't think Meta handled it well though, and I do think this ultimately hurts them orders of magnitude more than anyone else. Often, we justify self-destruction because we're right. Nobody really cares how right you are when you hurt yourself.