Title. Long,short story: creating or editing files with nano as my non-root user gives (the file) elevated privileges, like I have ran it w/ sudo or as root. And the (only) “security hole” that I can think of is a nextdns docker container running as root. That aside, its very “overkill” security-wise (cap_drop=ALL,...
I change cookiebanners.service.mode to 1 from 0 and when I restart the browser, it resets to 0 again. It’s really annoying. Is there any fixes or is it a bug?
A simple if (false) will get optimized out by any modern C or C++ compiler with optimizations on, but the problem is that the compiler will still parse and spend time on what’s inside the if-block and it has to be legal code, whereas with the #if 0 trick the whole thing gets yeeted away by the preprocessor before even the compiler gets to look at it regardless of whether that block contains errors or not, it’s literally just a string manipulation.
I think you missed the whole point of my comment 😂. Regardless, the time spent compiling a small snippet of code is completely negligible. In the end, both #if 0 and if (false) have their complimentary uses.
Year on year only makes sense for economists, it doesn’t make sense for regular people, hence all the comments every time they report the numbers saying “Yeah well my grocery is up X%, rent is up Y%, gas Z%, that’s a whole lot more than what they’re reporting!”
People live inflation long term, not on a yearly basis and those who are lucky enough to be unionized negotiate their wage increase over multiple years, not every year, both numbers are important, it’s still dishonest to only report the year on year increase when people still have it fresh in mind that lettuce was 99 cents not too long ago and it’s been over 4$ for years now, to them inflation isn’t 3%, it’s 400% on lettuce, the fact that it’s stagnated for the last year means nothing on their budget when they suddenly had a hard time buying and they still have a hard time buying it.
Another example, housing is starting to stagnate if not depress in some markets, do you really think that people feel like they can trust economists when they’re told “There’s deflation in the housing market in your region.” when they look at the price of a house that was selling for 300k five years ago when they were ready to buy and couldn’t afford it and that’s now on the market for 800k instead of 850k line it would have been 6 months ago? Sure, year on year there’s deflation, it doesn’t mean shit when you’re trying to purchase a good that you want to own long term and all you see is that you still can’t afford it because wages have been stagnating.
Heck, take actual wages into consideration and inflation is a hell of a lot worse than what’s presented in the news! If prices stay the same but wages go down, it will get reported as inflation being 0% when in fact it’s positive!
D&D does have a daily living cost based on the characters’ backgrounds. Anything from wretched (inhumane conditions - 0 cost) or squalid (1 silver per day) up to wealthy (4 gold) or aristocratic (10gold minimum). But I don’t think anyone really keeps track in most campaigns.
The first time I just didn’t Get It™ and kept dying to uuuuh I think some scaly raptor doggos. But the damn good music and the monster designs lured me again and I gave it a try and among other things, I learned that the first time I tried I had been wandering into the Hard Mode section of the game, into which you can head at T=0 without warning. I guess that’s why I kept dying. Oh well.
That defo taught me to READ THE TEXT of the NPC dialogues and the item and quest descriptions and such. And the game is much better with that.
. F describes the temperature scale that humans interact with much better than C does.
Usually this silly argument is about 0-100 thing. But Yanks don’t seem to understand that you can do negative numbers, you don’t have to be within 0-100 range.
Only for those with medical issues or those being obstinate. It’s not a relevant data point when trying to agree on a scale. 99.9% of people will agree 0F = cold as fuck.
There are hundreds of millions of people who see negative double digits every year
So? The difference between 0F and -10F and -25F aren’t THAT significant. The VAST majority of people will treat those temperatures as similar unless they’re preparing for an outdoor adventure or something. But the difference between 65 and 75 is HUGE to most people that WILL impact how they prepare for interacting with the environment.
For daily use all temperature scales are arbitrary. Why not use one that’s useful?
This is just not accurate and is pure cope. A scale that’s 0-100 for the most important temperatures that humans interact with is an objectively good scale. With 10 degree bands that align pretty well to general human comfort and indicate the type of preparation required. Sure, some people might consider 60s t-shirt weather, but the point is the band is still relevant. 60-70, 70-80, 80-90. Those are useful, meaningful temperature ranges where the temperature inside those bands is similar enough
Yes, negative numbers exist, and numbers beyond 100. But they’re not that important. 0 is basically the lowest temperature that matters in day to day life. If it’s colder, you don’t do anything different unless you’re preparing for an outdoor adventure. Same with 100. 100 is the hottest temperature that makes a difference. Beyond 100 it only matters if you’re preparing for an outdoor adventure. The 100 degree scale is about describing the normal range that humans interact with their environment in. Even if it can get extreme beyond that, that doesn’t mean the 0-100 scale isn’t useful.
Yes, negative numbers exist, and numbers beyond 100. But they’re not that important.
They kinda are though lol.
The 100 degree scale is about describing the normal range that humans interact with their environment in
But what about sauna. What about really cold weather. What about cooking. Hell, what about my PC. What about when I have a fever. What about really hot weather… The temperatures are about much more than the fuzzy idea about normal-ish weather in certain places on earth.
Even if it can get extreme beyond that, that doesn’t mean the 0-100 scale isn’t useful.
It just means it doesn’t have much benefit to it at all. The whole argument for it is silly.
I WILL die on this hill. But preference is just what you do with the information, not the usefulness of the scale. 0-100 is the scale. Whether you wear jackets at 50-60 or 60-70 doesn’t mean that the scale isn’t objectively better.
Yes, negative numbers exist, and numbers beyond 100. But they’re not that important.
The 100 degree scale is about describing the normal range that humans interact with their environment in
“Well what about all these things outside of this range people use in their daily life?”
What about it?
LOL
And your examples of cooking and your PC are not what we’re talking about. We’re talking about human environmental temperature.
I’m making the case that your “human environmental temperature” is a shit reason to pick Fahrenheit because we have all these things that surprisingly don’t conform to it. So you’ll have to go outside the 0-100 range anyway. So you won’t get any “benefit” from it, even when the “benefit” was dubious to begin with.
But in fact, cooking is another good use for F. You generally only care about a few specific temps. 350F and 400F. Anything else is nuance but basically only matter on the 25 degree marks. So 375, 425. It’s actually a pretty great scale for cooking, with broiling generally maxing out at 500 (unless you’re talking very specific application, like pizza ovens or some shit)
Wait till you see international ovens and cooking manuals. It’s gonna blow your mind.
I’m making the case that your “human environmental temperature” is a shit reason to pick Fahrenheit because we have all these things that surprisingly don’t conform to it. So you’ll have to go outside the 0-100 range anyway. So you won’t get any “benefit” from it, even when the “benefit” was dubious to begin with.
It’s better to pick the scale that does conform to it for the vast majority of applications, and then just deal with the others. Either by using C or just dealing with it. For every 1 time you need to deal with temps of your computer, you’ll interact with the environmental temperature a thousand times. And neither C or F are inherently better for describing CPU temps.
Wait till you see international ovens and cooking manuals. It’s gonna blow your mind.
Oh, I forgot to pull out my cooking manual. Yeah C is MUCH better.
It’s better to pick the scale that does conform to it for the vast majority of applications, and then just deal with the others. Either by using C or just dealing with it. For every 1 time you need to deal with temps of your computer, you’ll interact with the environmental temperature a thousand times. And neither C or F are inherently better for describing CPU temps.
I mean neither conforms very well, that’s the whole point. And what’s the deal with 0-100, why is that so beneficial in your opinion?
And neither C or F are inherently better for describing CPU temps.
Well yeah, it was simply about the 0-100 thing.
Oh, I forgot to pull out my cooking manual. Yeah C is MUCH better.
Wait till you see the ovens. It’s incredible. There’s usually few temps you need to care about and it changes in 20 degree marks. Incredible, I know.
It gets way easier for “feel” of weather too! In most habitable places in the world, 0°C is around as cold as you’ll regularly see (also a handy number for when you need to watch for ice). Similarly, 40°C is around as high as most habitable places get, also a nice easy number to work with.
In fahrenheit, these numbers are 30 and 105, I mean I can get rounding down for ease of use but you’re moving the reference points a lot to make it 25 to 100 for what you usually see and that’s certainly not more intuitive than 0-40
You can't cd or ls in a folder if you have no +x permissions on it. That is all. I wasted 3 hours of my life.
Non-root user that (suddenly) has elevated privileges in a specific command (only). [Have I been hacked?]
Title. Long,short story: creating or editing files with nano as my non-root user gives (the file) elevated privileges, like I have ran it w/ sudo or as root. And the (only) “security hole” that I can think of is a nextdns docker container running as root. That aside, its very “overkill” security-wise (cap_drop=ALL,...
Firefox Nightly Android About:Config Does Not Save
I change cookiebanners.service.mode to 1 from 0 and when I restart the browser, it resets to 0 again. It’s really annoying. Is there any fixes or is it a bug?
advanced (lemmy.world)
counting (lemmy.world)
I did not ASCII that coming (lemmy.sdf.org)
Canada's inflation rate slows to 3.1% (www.cbc.ca)
Dungeons and Dr(ule)agons (mander.xyz)
toot
Which video game did you bounce off of at first, but then tried again later for it to become one of your favorites of all time?
measuring rule (lemmy.blahaj.zone)
Why? Are we not doing enough? (file.coffee)
by fedidb.org
"In light of the announcement that The Drew Barrymore Show will resume production, the National Book Foundation has rescinded Ms Barrymore's invitation to host the 74th National Book Awards Ceremony." (www.bbc.com)