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

> However, if the agency has not even tried, I can't sit here and blame Texas judges or anyone else

Fair enough, I'm being overly cynical

comment 2y ago · link · parent

> The permissions checking is one-by-one checks

Not true, authorization can be done in middleware. You can deny requests automatically, even scenarios you never considered.

comment 2y ago · link · parent

They shouldn't have to - the architecture should be made in such a way that permission checks are done without you specifically having to call them every time. This is the entire reason middleware exists!

comment 2y ago · link · parent

> They do, they're `Entity`, always

Yes, technically, but in how they're used - no. They're a dynamic type.

> What you do tend to do in Bevy is adding/removing `Component`s to `Entity`s at runtime

Yes, this is dynamic typing. Or, at least, one way to look at it - and what allows games to be iterated on quick.

comment 2y ago · link · parent

Most C++ games aren't really OOP C++. They're more loosey-goosey maybe you use some OOP stuff sometimes C++.

The problem is C is far too low level. And everything you can do in C, you can do in C++. You just also get things like namespaces and RAII.

From a game making perspective, there's no rules anywhere saying you have to write good, readable, C++. You can, and often people do, make amalgamations and monstrosities. You can do this very quickly, and if there's little bugs here and there it's no biggie, because you're just making a game. A segmentation fault is really not the end of the world.

comment 2y ago · link · parent

I disagree, I think you can trace pretty much all self-destruct behaviors to negative emotions, particularly fear. Anger is just a higher-level presentation of fear.

comment 2y ago · link · parent

> According to CDC data, more than 150,000 people die from excessive alcohol consumption per year [1], which is about how many people died of heroin overdoses in the past 20 years [2]

Easy, everyone drinks, almost nobody shoots up. There you go, explained.

comment 2y ago · link · parent

Uber is objectively worse for every single party involved. Driver makes less, customer pays more, Uber has to coordinate a huge system.

Uber "won" because they cheated. They operated at a loss for almost 15 years, on the welfare of investors. Guess what, mom and pop running a taxi can't live on a negative wage.

comment 2y ago · link · parent

> sorry if I am reading this incorrectly

You are - obviously he's not saying "everyone" will get hit by a car. This is obvious, because that's clearly untrue. In fact, out of 8 billion people on Earth I don't think a single one would argue that "everyone" will get hit by a car.

What's more likely here, you misunderstood? Or you found someone 1 in 8 billion, someone truly one of a kind?

Right, so you misunderstood. Worse, you know you misunderstood but you proceeded anyway. That's dishonest - if you can't make your argument without lying and smearing your opponent, your argument doesn't deserve to be spoken.

comment 2y ago · link · parent

> Should semi trucks be banned because they are "dangerously oversized"?

Poor example, they already are. You require a special license. This is a tax, and a rather severe one. Never mind that those drivers are also directly responsible if their vehicle malfunctions. That's how some big rig drivers are able to get 150 years in jail because their brakes went out.

comment 2y ago · link · parent

> The agency has the power to fix this; All they have to do is propose a rule change, do the necessary notice and comment period and then implement

Theoretically. In practice I doubt it's this easy. Bought-out judges in Texas have had a field day since chevron is gone and you can easily say "well the law didn't say this!!!"

Our current regulations made the cut off. Going forward, I have much less faith in the agencies (or congress) to actually get anything done regulatory-wise. Which, frankly, has been the aim of the American right for at least 50 years.

comment 2y ago · link · parent

No, because your OS is using 4 gigs to sit idle. And then your chat app is using another gig to do nothing.

comment 2y ago · link · parent

You managed to ignore the rest of my comment, so appreciate the honesty.

I mean by "worst case" you could form an argument that says something like NYT is slightly center-left. And that's the best you can do.

The propaganda that the media is left-wing or left-wing extremists is just that, propaganda. On a related note, there are exactly 0 communist democrat candidates in the US.

In reality, most of our sources and policies on a federal level are strictly right-wing. This only gets more right-heavy when you consider that the US is the most right-leaning first world country.

What we, commonly, perceive as "right wing" is actually far-right politics. For example Fox News is not right-wing, they're far right. Trump isn't right-wing, he's far right. Biden isn't left-wing, he's center, etc.

comment 2y ago · link · parent

They're prisoners compelled to work.

If they don't work, they won't get parole. If they call out or otherwise don't work their 40 hours, they get reprimanded. They lose "good time" - no phone calls, no visits, no outside time, etc.

They don't earn minimum wage - much less, because the prison garnishes half of the wage for the opportunity to be forced to work.

Parole rate in Georgia is about 8%, and it's a tough on crime state. Their parole rate should be around 80%, but it's not. Getting 25 years for possession or other non-violent crimes, you have no choice but to participate in the South's modern-day slavery.

comment 2y ago · link · parent

I've never had a gnome extension not break between releases. They're basically plasma widgets, except not even made by the gnome devs. Terrific...

comment 2y ago · link · parent

Literally nobody argued otherwise. All I said is that X is not a free speech platform as Musk claims, which is objectively true.

He, Musk, argues you can say whatever you want on X. This is not true plainly - he is lying. This isn't up for debate so don't bother trying.

comment 2y ago · link · parent

> the McDonald’s workers absolutely not

Absolutely yes, it's a whole program for coerced labor. Like I said, I bet you didn't know about it because this shit is absolutely under the table in regards to our media.

But yes, we do, to this day, have prisoners who are mostly black forced to work for well under minimum wage in private businesses, such as McDonald's, Wendy's, Golden Corral... sounds a lot like slavery when you put it like that.

comment 2y ago · link · parent

I didn't, and I said nothing of the sort.

I said the NYT, and other media outlets, are not "far right insane wackos". Some people then run with that and say they're left-wing. That's not the case.

NYT is center-right, maybe center, and absolute worst-case slightly center-left. Our perception is warped, because we compare it to the likes of Fox News. Which is so unbelievably far right, that just about anything looks left-leaning in comparison.

> went on a rant about what he perceived my views to be

This didn't happen. Please, reread my comment and you'll notice I said absolutely nothing about you or your beliefs. I spoke of extreme right-wing beliefs. Whether you identify with that or feel shame about that is not my problem. If you're privy to creating personal attacks to fuel a sense of victimhood, that's on you.

comment 2y ago · link · parent

Does that make a difference or are y'all just constantly moving goalposts to fuel the narrative that media is inherently left-leaning?

Because it's really not - especially not in the US. Go look through their articles. How many serve corporate interests? How many are fundamentally ultra-capitalists?

You guys act like these are commies. No, they're right-leaning, just not far right insane wackos (Fox News). You're right, they're not out here questioning how black Kamala is. No, that absolutely does not make them left wing.

comment 2y ago · link · parent

Right, to deliver their product over a tech channel to their many millions of customers. No, that's not easy. Yes, that's necessarily complex.

You and your buddies can build a crossword or whatever the hell in a weekend. You can't deliver is to 100 million people tomorrow, while also maintaining one of the US' largest newpapers online.

comment 2y ago · link · parent

These "X has it worse" arguments are tiresome and lack any sort of rigor.

There's modern day slavery in the world. Today. Even in the US we have compelled labor - it's a whole thing in the Georgia prison system. Those McDonald's burger flippers are essentially slaves, and I bet you didn't know that.

But if we subscribe to the ideology of "X has it worse" nothing would get done, ever.

The reality is even in seemingly prosperous industries workers, laborers, DO NOT have equal leverage in negotiations. Not even close. What you're describing is relying on the generosity of the corporations who employ them. A fine strategy, but hardly sustainable. They, too, can look to improve their situation.

comment 2y ago · link · parent

> If consumers desire something

Consumers are stupid. To most, computers are still Magic Box.

Free market dynamics like you, and others, describe only work IF the consumers are able to have the knowledge easily, cheaply, and instantly. You'll find in modern society, with complex products and supply chain, this is becoming harder to satisfy.

Look at the FDA. Why don't consumers just desire lower calorie products and go towards those, why does the FDA need to force serving size suggestions? Because Comsumers can't spent 10,000 dollar and hundreds of hours burning every single piece of food they buy to deduce the calories.

comment 2y ago · link · parent

> So then you need some kind of state management on the server

Yes. You might call this an application, lol. You will require this no matter what, unless you have a fully client-side application. Like photoshop or something.

comment 2y ago · link · parent

> There are plenty of people like that

No, no there aren't because fast refresh rate is painfully obvious. I'm talking within a second, maybe fractions of a second, you will notice. Because every single animation is affected.

It's one thing to say it's a small change, or not a big deal, or not worth it (I'd even agree). It's another to say you can't notice it. No... you can definitely notice it.

comment 2y ago · link · parent

Yeah these labeling requirements only work if you operate under the assumption companies will be truthful. But if they're truthful, we wouldn't require labels in the first place, they'd just do them. So it's dead in the water.

comment 2y ago · link · parent

It makes no sense to write ultra low-level code in Rust. You're gonna have to do unsafe operations and pointer arithmetic by design in those situations. Unsafe Rust is hardly ergonomic.

comment 2y ago · link · parent

Using Excel with 8 gigs of ram is really pushing it.

comment 2y ago · link · parent

Literally anyone picked off the street will notice jumping from 60hz to 120hz after maybe, I don't know, 2 seconds of swiping around.

You have it backwards. Nobody is pro gaming on an iPhone. That high refresh rate doesn't have a real, practical purpose. It just looks really really good and immediately grabs your eye - it's candy.

comment 2y ago · link · parent

Might have been true 5 years ago, but I don't think this is true now. Base systems with nothing open are using 3+ gigs of memory. Web pages use a ton, but even fairly standard apps will use a gig or more (thanks, electron).

The end result is super slow loading as stuff is swapped, apps crashing (at least on Windows), tabs reloading when you don't want them to.

1
394041
54